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
f6190db213
update: upgrade uuid to major version 7
2020-03-02 23:31:50 +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
Xymorot
0ac84df449
refactor: remove options from one-to-many relations because it is not necessary
2019-11-26 22:51:54 +01:00
Xymorot
34bd46d376
feat: add indexable multi-name entities, add check constraints to rateable and multi-named entity mixin
...
BREAKING CHANGE: delete old migrations for a new initial_migration
2019-11-26 22:51:54 +01:00
Xymorot
2006815b2b
feat: refactor entity classes to use mixins, add rateable mixin to book and copy
2019-11-26 22:51:53 +01:00
Xymorot
c2179ac580
update: run npm update
2019-11-20 23:21:35 +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
b72e608280
doc: add comment to uuid function
2019-11-20 23:21:32 +01:00
Xymorot
0bec8a8a76
fix: make style util function work when a style only has true as value
2019-11-20 23:21:31 +01:00
Xymorot
caf1460139
fix: do not filter style properties in style object with value 0
2019-11-20 23:21:29 +01:00
Xymorot
cd22df6f07
test: add test framework (spectron + mocha), combined with refactoring of the directory structures
2019-11-20 23:21:24 +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
f4c17b9d36
update: run npm update and upgrade electron from 5 to 6
2019-11-20 23:21:22 +01:00
Xymorot
28cfe93d73
refactor: remove webpack aliases
2019-11-20 23:15:22 +01:00
Xymorot
254e4216e6
refactor: make IpcEvent an interface (from type)
2019-11-20 23:15:22 +01:00
Xymorot
9d39632b73
fix: wrap 2 static texts in translate method
2019-11-20 23:15:22 +01:00
Xymorot
8115a1b1ee
fix: return unmount function in onMount handler
2019-11-20 23:15:22 +01:00
Xymorot
6b1b995c9c
remove: delete Divide pattern until there is a clearer idea of the UI
2019-11-20 23:15:20 +01:00
Xymorot
3079c33d37
feat: use uuid to get the correct ipc response only in the promise call that the request came from
2019-07-30 23:58:58 +02:00
Xymorot
763d954775
fix: remove syntax error
2019-07-30 23:57:13 +02: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
862bac30b3
fix: change root styles to global
2019-07-02 22:23:07 +02:00
Xymorot
1927106d55
doc: add new commit type
2019-07-02 22:08:12 +02:00
Xymorot
c0fbc4fce4
adjust prettier config
2019-06-30 02:00:26 +02:00
Xymorot
35b778bd0b
implement nhentai login
2019-06-30 01:18:21 +02:00
Xymorot
bafc84183a
rename files to kebab-case
2019-06-24 21:36:28 +02:00
Xymorot
19dc7bd11e
add noImplicitAny back to tsconfig (fixing utils.ts in the process)
2019-06-23 23:11:26 +02:00
Xymorot
8559a6b85e
add root font-family (sans-serif)
2019-06-23 22:23:47 +02:00
Xymorot
414e11cdb9
rename definitions folder to declarations
2019-06-23 19:45:51 +02:00
Xymorot
b67924532e
refactor entity folder structure
2019-06-23 17:30:51 +02:00
Xymorot
69147d6ecc
update initial migration and entities
2019-06-23 15:35:57 +02:00
Xymorot
cd7aaf9ad7
move main api code to new controllers folder
2019-06-23 03:37:43 +02:00
Xymorot
f2d30d00f6
add database migrations
2019-06-23 03:33:48 +02:00
Xymorot
74f76a83fb
install sqlite3 and typeorm together with electron-rebuild, create first entities
2019-06-23 02:30:24 +02:00
Xymorot
3ca66d6958
simplify Divide component to only set total on mousedown on divider
2019-06-22 21:58:48 +02:00
Xymorot
a9a0eb207f
simplify ipc api
2019-06-19 00:15:16 +02:00
Xymorot
4d62eceb70
extend divide component to be nestable
2019-06-18 23:32:29 +02:00
Xymorot
d5d84aed78
set defaults
2019-06-18 20:12:56 +02:00
Xymorot
b6e4d4e941
implement divide svelte component
2019-06-18 00:36:51 +02:00
Xymorot
5b9e054197
reformat main.ts
2019-06-18 00:36:32 +02:00
Xymorot
4b0277f950
implement frontend utility functions for classes and styles
2019-06-18 00:36:19 +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
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
Xymorot
9ef5b80980
decide on sveltejs/sapper as framework
2019-06-07 00:35:19 +02:00
Xymorot
67aeb46aab
install express
2019-06-05 00:47:05 +02:00
Xymorot
39be993c63
change output directory from out to dist
2019-06-04 23:55:26 +02:00
Xymorot
be90b513b2
install tslint and prettier with stuff around to make them work together
2019-06-04 22:54:56 +02:00
Xymorot
bc34a68b02
initial commit
2019-03-10 20:16:18 +01:00