Commit Graph

19 Commits

Author SHA1 Message Date
Xymorot fea3f53681 reformat: use correct type (fix eslint warning) 2021-01-24 20:12:10 +01:00
Xymorot 6b2824daab feat: add work serialization (and basis for the other entities) and an example ipc channel to get a work entity
This commit also adds language codes and a migration which inserts them all into the database.

BREAKING CHANGE: redoes the initial database migration
2021-01-24 19:11:45 +01:00
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 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 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 597f9aaee0 feat: implement progress bar (os-level API) for getting favorites 2021-01-05 03:14:36 +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 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 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 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 fc391a02e5 feat: make services gettable and injectable by simple strings and not needing to call Symbol.for every time 2020-08-08 18:23:29 +02:00
Xymorot 115782061d update: upgrade eslint to major version 7 and rework the application to fit new rules 2020-07-25 02:02:37 +02:00
Xymorot 8fb0b1375e update: run npm update and reformat code accordingly 2020-04-10 05:27:32 +02:00
Xymorot 60413e9ee7 update: run npm update and fix resulting eslint import/order errors 2020-03-02 23:21:10 +01:00
Xymorot 00ebd0e5c8 refactor: re-do source structure with InversifyJS (dependency injection) and adjust meta processes 2020-02-08 23:26:57 +01:00