Commit Graph

27 Commits

Author SHA1 Message Date
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 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 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 485cbf9043 fix: remove throwing of error in uncaughtException handler 2020-11-04 21:47:47 +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 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 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 1f920796e0 feat: implement install functionality (under windows, using electron-squirrel-startup) 2020-02-09 20:25:05 +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
Xymorot f290cac744 config: configure import/core-modules setting of the import eslint plugin to include 'electron'
This makes it possible to not have to ignore the 'import/no-extraneous-dependencies' rule every time electron is imported.
2019-12-15 15:23:24 +01:00
Xymorot a8b9ccf832 refactor: replace tslint with @typescript-eslint/eslint-plugin as tslint will be deprecated in 2020
Some code refactoring and slight rule changes are done in this commit.
2019-12-15 01:14:39 +01:00
Xymorot 5f3da78721 feat: only open development tools in development mode (add new service to determine dev mode) 2019-12-11 14:24:00 +01:00
Xymorot e02e0d97e0 feat: use userData electron path for database (subfolder with version)
This has the side effect of no more ormconfig.yml file, and the database connections are now only loaded on demand (as well as running the migrations).

BREAKING CHANGE: there is no migration for the old database
2019-12-10 23:33:48 +01:00
Xymorot fce8e95a0e feat: install and use fs-extra instead of fs, implement groundwork for more sophisticated error reporting
also add tests and mocking framework
2019-11-20 23:21:34 +01:00
Xymorot a7d125bfaf refactor: use handlebars template engine to render the index html conditionally 2019-11-20 23:21:33 +01:00
Xymorot 389df67605 feat: implement nhentai login and refactor large pieces of code in the process 2019-07-26 23:05:29 +02:00
Xymorot 35b778bd0b implement nhentai login 2019-06-30 01:18:21 +02:00
Xymorot cd7aaf9ad7 move main api code to new controllers folder 2019-06-23 03:37:43 +02:00
Xymorot 74f76a83fb install sqlite3 and typeorm together with electron-rebuild, create first entities 2019-06-23 02:30:24 +02:00
Xymorot a9a0eb207f simplify ipc api 2019-06-19 00:15:16 +02:00
Xymorot 5b9e054197 reformat main.ts 2019-06-18 00:36:32 +02:00
Xymorot be39755762 uninstall electron-forge, switch to manual webpack for frontend/tsc for backend, install eslint 2019-06-16 00:41:43 +02:00
Xymorot 609803ff23 add some more code for general architecture 2019-06-10 10:47:26 +02:00
Xymorot 8124d2c066 add button component and some basic styling 2019-06-09 06:07:05 +02:00
Xymorot 19f4f303eb update folder structure, apply security fixes, apply ts and tslint adjustments 2019-06-09 02:47:46 +02:00
Xymorot 55f1b585e9 put typescript and svelte back in the mix 2019-06-08 05:06:21 +02:00
Xymorot 09bd286db7 switch to electron 2019-06-08 00:53:51 +02:00