Commit Graph

309 Commits

Author SHA1 Message Date
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
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 64466943c9 meta: rename watch script to dev in package.json and documentation 2020-10-31 21:47:18 +01:00
Xymorot 992fcdda84 feat: bind logger service first 2020-10-31 15:24:50 +01:00
Xymorot 34ada21cc7 meta: add HentaiNexus to sites.md 2020-09-26 01:18:02 +02: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 bbc04d4467 refactor: remove unnecessary type alias 2020-08-08 18:25:30 +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 6c0456fa0d refactor: rename and add http status codes according to https://www.iana.org/assignments/http-status-codes 2020-08-08 17:40:42 +02:00
Xymorot 19c6807ef0 meta: adjust doc comments for http.d.ts 2020-08-06 23:46:06 +02:00
Xymorot ae30e504e6 meta: add rating/ranking discussion file to workspace 2020-08-06 23:32:00 +02:00
Xymorot 2ab530e95c update: run npm update and npm audit fix 2020-08-06 23:11:08 +02:00
Xymorot 96454170f7 meta: adjust EditorConfig file comments to my taste 2020-08-06 23:05:54 +02:00
Xymorot ab559371df meta: only run build script after linting and format checking pre-commit script 2020-08-05 22:50:45 +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 28c26ff258 meta: only audit production packages in forge script 2020-07-30 21:54:55 +02:00
Xymorot 8b9936a4f8 meta: add prefer-destructuring eslint rule 2020-07-29 16:44:19 +02:00