Commit Graph

328 Commits

Author SHA1 Message Date
Xymorot ca1f8a7b4e meta: remove line for TOC 2021-01-07 22:21:47 +01:00
Xymorot 4d7996c2e1 refactor: re-name NhentaiLogin.svelte component to NhentaiSaveFavorites.svelte 2021-01-07 22:19:14 +01:00
Xymorot d1b2b97f76 refactor: re-organize components folder structure 2021-01-07 22:14:31 +01:00
Xymorot 0a2a266176 feat: add functionality to get a work entity from a nhentai gallery id
This is more of a vertical slice of the intended functionality and needs to be extended.
2021-01-07 04:53:17 +01:00
Xymorot 799b7271e3 meta: remove superfluous slashes in test:fast npm script 2021-01-07 02:13:48 +01:00
Xymorot 4141b31349 meta: ask for code review in CONTRIBUTING.md 2021-01-07 01:14:54 +01:00
Xymorot b764346c88 meta: provide better type declaration for svelte modules 2021-01-06 14:53:10 +01:00
Xymorot 09dc14726d meta: change naming convention of interfaces and use importsNotUsedAsValues: 'error' in tsconfig for clearer imports 2021-01-06 02:35:46 +01:00
Xymorot a807c6f2be meta: replace google links with duckduckgo 2021-01-06 02:34:13 +01:00
Xymorot 571f3c5402 meta: specify electron version in webpack.config.js and add electron updating info to CONTRIBUTING.md 2021-01-06 01:06:33 +01:00
Xymorot 657ec825ab update: upgrade webpack to version 5 and cleanup a bit of renderer code 2021-01-06 00:58:12 +01:00
Xymorot 0e58f115b4 update: run npm update and reset @types/node to version 12 2021-01-06 00:02:21 +01:00
Xymorot e2008a8588 feat: add some crude wait time optimization to safe-loading URLs in an URL app window 2021-01-05 23:16:53 +01:00
Xymorot 9c2adbb626 meta: turn off prefer-promise-reject-errors rule for test files 2021-01-05 23:15:34 +01:00
Xymorot 8125b8b8a4 meta: specify prefer-destructuring to only apply on variable declaration, not assignment 2021-01-05 23:15:33 +01:00
Xymorot c0eff54795 meta: increase the typescript config separation of main and renderer files 2021-01-05 16:59:02 +01:00
Xymorot ac7eb61515 meta: specify stricter @typescript-eslint/naming-convention rule
The current codebase already is compliant.
2021-01-05 16:51:05 +01:00
Xymorot 597f9aaee0 feat: implement progress bar (os-level API) for getting favorites 2021-01-05 03:14:36 +01:00
Xymorot 9a7bd1d688 fix: reset mutex on closing a site app window, freeing the lock 2021-01-05 02:29:01 +01:00
Xymorot 4e15730858 meta: remove wrong explanation 2021-01-05 01:45:16 +01:00
Xymorot d711e39ce5 meta: add eslint rule "curly" because it makes git commits cleaner 2021-01-04 23:41:12 +01:00
Xymorot 82a97d0f40 fix: implement mutex for the nhentai app window so multiple calls to getting the favorites just do the thing one after another
This commit also fixes some other bugs and cleans up related code.
2021-01-04 23:40:15 +01:00
Xymorot 72bac8e06a refactor: implement safe download method for url app window 2021-01-04 23:35:01 +01:00
Xymorot 02df7e739a fix: make it possible to cancel the selecting of folder when getting nhentai favorites 2021-01-04 22:12:37 +01:00
Xymorot 995101ebec refactor: extract dialog functionality of electron into a service so it can be developed centrally 2021-01-04 22:11:14 +01:00
Xymorot d889a466c8 meta: nani? 2021-01-04 21:41:29 +01:00
Xymorot c6dd4855be meta: add information on how to run typeorm commands with better-sqlite3 built for electron 2020-12-28 23:37:58 +01:00
Xymorot d5697540a8 update: upgrade dependencies and fix tests
- remove spectron
- use electron-mocha to run mocha test suites inside electron
2020-12-28 19:58:20 +01:00
Xymorot 4c169178d9 meta: fix typo 2020-12-28 17:26:02 +01:00
Xymorot 5300207498 update: upgrade electron-rebuild to version 2 2020-11-12 21:28:23 +01:00
Xymorot 974e47ff04 meta: remove orphaned eslint override 2020-11-12 21:21:13 +01:00
Xymorot b9378219e9 meta: move separate eslintrc files into the main one with extends rules
The reason is my IDE likes it better this way.
2020-11-12 21:19:07 +01:00
Xymorot 7278d902c1 meta: move javascript files for building etc. into a scripts folder 2020-11-12 21:09:43 +01:00
Xymorot 8c56b89f0c meta: update version in package-lock.json by running npm install 2020-11-11 22:21:27 +01:00
Xymorot 841f19af53 refactor: rename all interface files to *.d.ts so that no unnecessary js files are created 2020-11-10 21:42:12 +01:00
Xymorot 8d91b5fb3c refactor: use new typescript types to to able to remove eslint-disable comment 2020-11-10 21:39:19 +01:00
Xymorot 2cd9531f3b meta: change productName in package.json to Renai-dev to avoid conflicts when developing the app on system on which it is installed productively 2020-11-10 21:29:26 +01:00
Xymorot 846a64f993 refactor: use type which is closer to pre-defined typescript type for answer.ts 2020-11-10 21:18:33 +01:00
Xymorot 09d609f414 update: upgrade electron to version 10 (and spectron to 12) 2020-11-10 20:50:52 +01:00
Xymorot a0ccd70709 meta: add missing entry to exclude directive in .nycrc.yml 2020-11-10 20:50:01 +01:00
Xymorot 588486f4da meta: add infos about better-sqlite3 and typeorm config 2020-11-09 20:30:28 +01:00
Xymorot 8551c1ea6a update: upgrade typescript to version 4, together with eslint plugins 2020-11-09 19:44:07 +01:00
Xymorot dd4d9685e2 update: run npm audit fix 2020-11-09 19:07:57 +01:00
Xymorot be62c15dfb refactor: use better-sqlite3 instead of sqlite3
https://github.com/JoshuaWise/better-sqlite3/issues/262
2020-11-09 18:44:58 +01:00
Xymorot ea9b1e6055 update: run npm update 2020-11-09 18:30:30 +01:00
Xymorot 913d2653bb test: fix importing of electron 2020-11-09 18:24:16 +01:00
Xymorot 1618ac552b feat: remove web-crawler and use electron (chromium) itself as crawler, implementing a function to download nhentai favorite torrents 2020-11-09 18:15:30 +01:00
Xymorot f54edba6fc test: refactor some methods out of main.spec.ts and add rules to exclude test folders in eslint and forge 2020-11-09 18:11:43 +01:00
Xymorot 0354d645c5 meta: allow constant conditions in loop
This allows the pattern of a while loop with the condition 'true' and break in the body.
2020-11-06 00:17:42 +01:00
Xymorot 485cbf9043 fix: remove throwing of error in uncaughtException handler 2020-11-04 21:47:47 +01:00