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
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
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
814b390034
reformat: remove quotes in enum keys
2020-05-30 02:48:39 +02:00
Xymorot
47e77339fa
refactor: change databasePath to databaseDir
2020-05-14 22:13:12 +02:00
Xymorot
5b4444822b
fix: fix typo
2020-04-25 18:42:28 +02:00
Xymorot
288deee56f
refactor: use a new database for the store
...
BREAKING CHANGE: old file-based store data is lost
2020-04-22 02:06:02 +02:00
Xymorot
9e5abaeb42
fix: fix typos
2020-04-22 02:06:02 +02:00
Xymorot
60eb8fb9fa
feat: enable caching in typeorm connection options
...
The cache still needs to be explicitly used in each query, this commit only enables the orm to do so.
2020-04-22 02:06:01 +02:00
Xymorot
b202c270bc
fix: add JoinTable annotation to ManyToMany relations in library entities
...
BREAKING CHANGE: this commits deletes the existing migration
2020-04-21 01:07:00 +02:00
Xymorot
27c252cd0c
fix: fix typo
2020-04-21 00:48:01 +02:00
Xymorot
9f411cf6c8
refactor: fix typo (unsave -> unsafe)
2020-04-10 15:54:38 +02:00
Xymorot
cfa7ba12da
update: update prettier to major version 2, reformat code accordingly
2020-04-10 05:27:32 +02:00
Xymorot
8fb0b1375e
update: run npm update and reformat code accordingly
2020-04-10 05:27:32 +02:00
Xymorot
aeff7f7b51
feat: update typeorm entities and reset database migrations
...
BREAKING CHANGE: this commits deletes old database migrations
2020-04-10 05:27:31 +02:00
Xymorot
080d71f1e8
update: upgrade electron to major version 8 and spectron to major version 10
2020-03-03 23:44:44 +01:00
Xymorot
60413e9ee7
update: run npm update and fix resulting eslint import/order errors
2020-03-02 23:21:10 +01: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
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
d83660ee30
remove: remove rateable trait from book entity
2019-12-01 15:12:41 +01:00
Xymorot
442174e462
refactor: remove @Entity annotation from abstract entities
2019-11-26 22:51:55 +01:00