Commit Graph

130 Commits

Author SHA1 Message Date
Xymorot 9512210624 meta: integrate vite, remove webpack 2021-07-25 20:39:59 +02:00
Xymorot 4bb6e5c166 feat: implement entity API and reactive store-like modules in frontend
Also does a bunch of other stuff.
2021-05-30 18:57:43 +02:00
Xymorot fea3f53681 reformat: use correct type (fix eslint warning) 2021-01-24 20:12:10 +01:00
Xymorot 8eac33e231 refactor: change most eslint rules to only warn the user, re-enable some eslint rules and change code accordingly 2021-01-24 19:48:06 +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 359aea8968 refactor: move shared types and services into a "shared" folder inside "src" 2021-01-07 23:21:03 +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 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 657ec825ab update: upgrade webpack to version 5 and cleanup a bit of renderer code 2021-01-06 00:58:12 +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 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 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 4c169178d9 meta: fix typo 2020-12-28 17:26:02 +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 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 588486f4da meta: add infos about better-sqlite3 and typeorm config 2020-11-09 20:30:28 +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 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 485cbf9043 fix: remove throwing of error in uncaughtException handler 2020-11-04 21:47:47 +01:00
Xymorot e862d15d75 meta: update invalid class comment 2020-11-04 21:21:41 +01:00
Xymorot 2e0bfa3260 fix: define icon path relative to app path 2020-10-31 23:12:00 +01:00
Xymorot 992fcdda84 feat: bind logger service first 2020-10-31 15:24:50 +01:00
Xymorot 2179e0e06c fix: add missing JoinTable statement
BREAKING CHANGE: This commit replaces the initial typeorm migration.
2020-08-18 00:59:21 +02:00
Xymorot cc2365dc26 feat: add explicit defaults for non-nullable columns and improve typings for nullable columns
BREAKING CHANGE: This commit replaces the initial typeorm migration.
2020-08-18 00:30:25 +02:00
Xymorot 40618ce65c feat: allow multiple works per work character
BREAKING CHANGE: This commit replaces the initial typeorm migration.
2020-08-08 18:59:55 +02: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 9672c9b5ed feat: implement a logger service and make it log uncaught exceptions, make unhandled rejections throw an exception, fix spectron test 2020-08-05 22:48:00 +02:00
Xymorot 8b9936a4f8 meta: add prefer-destructuring eslint rule 2020-07-29 16:44:19 +02:00
Xymorot 38e8a1f4af meta: fix typo in comment 2020-07-26 00:46:39 +02:00
Xymorot f39c033a45 update: upgrade electron to major version 9 with spectron to 11 and associated changes 2020-07-25 22:30:00 +02:00
Xymorot 0baba65686 fix: do not load mocks in container.ts since they are not available in the built app 2020-07-25 22:28:55 +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 8bb0a0220b remove: remove class and style utility functions (use Element.classList and HTMLElement.style instead) 2020-06-07 16:40:32 +02:00
Xymorot 642ae830a6 test: split compiled classes string into array for technically correct assertion 2020-06-07 02:38:14 +02:00