Commit Graph

333 Commits

Author SHA1 Message Date
Xymorot 8d6d7dc6d8 fix: tune the cloudflare logic to work with hcaptcha, remove timeout for the test possibly needing to solve a captcha 2021-01-24 19:06:14 +01:00
Xymorot 31945cac08 fix: fuck cloudflare 2021-01-17 19:40:24 +01:00
Xymorot 523bc7e75e refactor: remove unneeded dependency @types/node-fetch 2021-01-15 22:26:09 +01:00
Xymorot 5f354a2f60 refactor: uninstall unused dependency node-fetch 2021-01-07 23:24:41 +01:00
Xymorot 359aea8968 refactor: move shared types and services into a "shared" folder inside "src" 2021-01-07 23:21:03 +01:00
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