Commit Graph

16 Commits

Author SHA1 Message Date
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 d2b772a899 config: disable object-literal-sort-keys
The main reason is that its option 'match-declaration-order-only' doesn't work with type inheritance.
2019-12-07 00:56:51 +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 c769e06366 doc: make comment more generic to secure it against architectural changes 2019-11-20 23:21:24 +01:00
Xymorot 03026f1cdd feat: run typeorm database migrations on app start 2019-11-20 23:21:23 +01:00
Xymorot f334b68108 feat: create error service to centralize the handling of errors 2019-11-20 23:21:22 +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 6d82b16d5c feat: implement simple filesystem store 2019-07-26 22:34:25 +02:00
Xymorot 4c6037f72a refactor: prepare code for more than one database 2019-07-05 22:51:05 +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 0b5cc6a2cb set CSP headers (inline and in session) 2019-06-18 00:34:21 +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