Commit graph

3322 commits

Author SHA1 Message Date
Shadowfied
efe2021bdc
feat(webui): dark theme
closes #179
2020-07-25 09:08:39 +08:00
primetoxinz
1885f32416
feat(webreader): add shortcut information menu 2020-07-25 09:05:06 +08:00
semantic-release-bot
40c1ca53e4 chore(release): 0.48.1 [skip ci]
## [0.48.1](https://github.com/gotson/komga/compare/v0.48.0...v0.48.1) (2020-07-21)

### Bug Fixes

* fix database migration errors ([f84ba17](f84ba17079)), closes [#239](https://github.com/gotson/komga/issues/239) [#238](https://github.com/gotson/komga/issues/238) [#237](https://github.com/gotson/komga/issues/237) [#240](https://github.com/gotson/komga/issues/240)
2020-07-21 08:03:19 +00:00
Gauthier Roebroeck
f84ba17079 fix: fix database migration errors
fix the H2 database before attempting a migration. This solves the following errors:
- [SQLITE_CONSTRAINT_PRIMARYKEY]  A PRIMARY KEY constraint failed (UNIQUE constraint failed: READ_PROGRESS.BOOK_ID, READ_PROGRESS.USER_ID)
- [SQLITE_CONSTRAINT_NOTNULL] A NOT NULL constraint failed (NOT NULL constraint failed: MEDIA_PAGE.NUMBER)

closes #239, closes #238, closes #237, closes #240
2020-07-21 15:36:27 +08:00
Gauthier Roebroeck
1c28a9496b chore: normalize line feeds
closes #243
2020-07-21 10:19:16 +08:00
semantic-release-bot
b69c4f62a2 chore(release): 0.48.0 [skip ci]
# [0.48.0](https://github.com/gotson/komga/compare/v0.47.0...v0.48.0) (2020-07-16)

### Features

* change database from H2 to SQLite ([20b2b39](20b2b39d36)), closes [#218](https://github.com/gotson/komga/issues/218)
2020-07-16 01:04:16 +00:00
Gauthier Roebroeck
9d5b9d292d ci: fix dockerhub push 2020-07-16 08:53:54 +08:00
Gauthier Roebroeck
20b2b39d36 feat: change database from H2 to SQLite
This is a major change, but done transparently.

At startup, a migration from H2 to SQLite will be triggered:
- if the H2 database is a file (not in memory)
- if the H2 database has not been migrated yet
- if the SQLite database is newly minted

All the data will be transferred from H2 to SQLite before the startup of the application (before the API can serve any requests).
After the migration, an empty file will be stored next to the H2 database file (same name with ".imported" suffix).

The H2 database files will be automatically removed in a later version.

A new configuration key is available to customize the file path of the SQLite database: `komga.database.file`

The database backup feature has been removed. It might be re-added later on using a different logic.

The IDs of entities have been changed from number to string in the API.

closes #218
2020-07-16 07:54:53 +08:00
Gauthier Roebroeck
1965415c00 refactor: load pdf from file instead of inputstream 2020-07-16 07:48:30 +08:00
Gauthier Roebroeck
3105fc4ef4 ci: deploy pre-releases 2020-07-16 07:47:25 +08:00
semantic-release-bot
23e1240f8d chore(release): 0.47.0 [skip ci]
# [0.47.0](https://github.com/gotson/komga/compare/v0.46.0...v0.47.0) (2020-07-14)

### Features

* **webui:** change internals for shortcuts. add new shortcuts for settings ([b402817](b402817edb)), closes [#172](https://github.com/gotson/komga/issues/172)
2020-07-14 01:32:28 +00:00
primetoxinz
b402817edb
feat(webui): change internals for shortcuts. add new shortcuts for settings
Closes #172
2020-07-14 09:05:46 +08:00
semantic-release-bot
5e30e9dcd5 chore(release): 0.46.0 [skip ci]
# [0.46.0](https://github.com/gotson/komga/compare/v0.45.2...v0.46.0) (2020-07-13)

### Features

* **webui:** add simple next/previous book buttons to reader toolbar ([e428115](e4281156f5)), closes [#233](https://github.com/gotson/komga/issues/233)
2020-07-13 12:53:17 +00:00
primetoxinz
e4281156f5
feat(webui): add simple next/previous book buttons to reader toolbar
PR #233
2020-07-13 20:27:10 +08:00
dependabot[bot]
35fb4010a3 build(deps): bump npm from 6.13.7 to 6.14.6
Bumps [npm](https://github.com/npm/cli) from 6.13.7 to 6.14.6.
- [Release notes](https://github.com/npm/cli/releases)
- [Changelog](https://github.com/npm/cli/blob/latest/CHANGELOG.md)
- [Commits](https://github.com/npm/cli/compare/v6.13.7...v6.14.6)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-08 10:16:03 +08:00
semantic-release-bot
6db14c93d6 chore(release): 0.45.2 [skip ci]
## [0.45.2](https://github.com/gotson/komga/compare/v0.45.1...v0.45.2) (2020-07-05)

### Bug Fixes

* **webui:** browse collection should show all series ([8629ea9](8629ea9936)), closes [#226](https://github.com/gotson/komga/issues/226)
2020-07-05 09:43:03 +00:00
Gauthier Roebroeck
8629ea9936 fix(webui): browse collection should show all series
closes #226
2020-07-05 17:16:09 +08:00
semantic-release-bot
2063bede25 chore(release): 0.45.1 [skip ci]
## [0.45.1](https://github.com/gotson/komga/compare/v0.45.0...v0.45.1) (2020-07-05)

### Bug Fixes

* **webui:** read button link underline on hover ([863258d](863258d8be))
2020-07-05 05:23:51 +00:00
Gauthier Roebroeck
863258d8be fix(webui): read button link underline on hover 2020-07-05 12:57:52 +08:00
semantic-release-bot
e04ad3c844 chore(release): 0.45.0 [skip ci]
# [0.45.0](https://github.com/gotson/komga/compare/v0.44.0...v0.45.0) (2020-07-05)

### Features

* **api:** claim status ([47dd2f6](47dd2f66e0)), closes [#207](https://github.com/gotson/komga/issues/207)
* **webui:** claim server from login screen ([d4810bd](d4810bdc80)), closes [#207](https://github.com/gotson/komga/issues/207)
2020-07-05 04:26:20 +00:00
Gauthier Roebroeck
d4810bdc80 feat(webui): claim server from login screen
closes #207
2020-07-05 12:00:00 +08:00
Gauthier Roebroeck
47dd2f66e0 feat(api): claim status
remove the claim profile
added noclaim profile that will create initial user accounts if none exist

related to #207
2020-07-05 11:59:20 +08:00
semantic-release-bot
c98bcb0036 chore(release): 0.44.0 [skip ci]
# [0.44.0](https://github.com/gotson/komga/compare/v0.43.4...v0.44.0) (2020-07-03)

### Bug Fixes

* **webui:** make card title as link ([d6e4b80](d6e4b807db)), closes [#224](https://github.com/gotson/komga/issues/224)
* **webui:** reset edit book dialog to first tab on reopen ([5760a06](5760a06b7a))

### Features

* generate collections from ComicInfo SeriesGroup ([277cdcd](277cdcd4e3)), closes [#210](https://github.com/gotson/komga/issues/210)
* **api:** metadata import settings per library ([6824212](6824212514)), closes [#199](https://github.com/gotson/komga/issues/199)
* **webui:** metadata import settings per library ([521cc42](521cc42858)), closes [#199](https://github.com/gotson/komga/issues/199)
2020-07-03 09:13:21 +00:00
Gauthier Roebroeck
277cdcd4e3 feat: generate collections from ComicInfo SeriesGroup
optional behavior that can be set per library

closes #210
2020-07-03 16:45:51 +08:00
Gauthier Roebroeck
0d20c2a464 build(webui): fix failing web build 2020-07-03 15:45:09 +08:00
Gauthier Roebroeck
7003d8a687 build(webui): run lint on pre-commit
run linter in production mode
2020-07-03 15:44:00 +08:00
Gauthier Roebroeck
521cc42858 feat(webui): metadata import settings per library
ability to edit libraries
move library add dialog to global instance

closes #199
2020-07-03 15:03:43 +08:00
Gauthier Roebroeck
6824212514 feat(api): metadata import settings per library
ability to edit a library
fix filepath returned by API for Windows paths
series metadata import is now looking at all the files from all books, instead of being imported for each book separately

related to #199
2020-07-03 15:01:21 +08:00
Gauthier Roebroeck
5760a06b7a fix(webui): reset edit book dialog to first tab on reopen 2020-07-02 16:30:17 +08:00
Gauthier Roebroeck
d6e4b807db fix(webui): make card title as link
so it can be clicked using SHIFT or CTRL to open in new tab

closes #224
2020-07-02 10:51:21 +08:00
semantic-release-bot
a3c6872954 chore(release): 0.43.4 [skip ci]
## [0.43.4](https://github.com/gotson/komga/compare/v0.43.3...v0.43.4) (2020-07-01)

### Bug Fixes

* properly expand home dir in config ([5d86d3e](5d86d3ea0b)), closes [#195](https://github.com/gotson/komga/issues/195) [#203](https://github.com/gotson/komga/issues/203)
2020-07-01 12:18:36 +00:00
Gauthier Roebroeck
5d86d3ea0b fix: properly expand home dir in config
using Spring Boot's placeholder replacement syntax
changed the default log file to ~/.komga/komga.log

closes #195, closes #203
2020-07-01 19:49:55 +08:00
Gauthier Roebroeck
94a1f706c8 refactor: use ifBlank instead of if isBlank 2020-06-30 21:45:38 +08:00
semantic-release-bot
55b6e86326 chore(release): 0.43.3 [skip ci]
## [0.43.3](https://github.com/gotson/komga/compare/v0.43.2...v0.43.3) (2020-06-30)

### Bug Fixes

* **api:** add missing sort fields for Books ([797535d](797535d71f))
2020-06-30 08:32:49 +00:00
Gauthier Roebroeck
797535d71f fix(api): add missing sort fields for Books 2020-06-30 15:30:22 +08:00
semantic-release-bot
5b12c8a288 chore(release): 0.43.2 [skip ci]
## [0.43.2](https://github.com/gotson/komga/compare/v0.43.1...v0.43.2) (2020-06-30)

### Bug Fixes

* **api:** exception on unpaged empty content ([2cc27f2](2cc27f244c))
2020-06-30 01:06:41 +00:00
Gauthier Roebroeck
2cc27f244c fix(api): exception on unpaged empty content 2020-06-30 08:40:49 +08:00
Gauthier Roebroeck
4ed35d2764 docs: add portable guide as sponsor 2020-06-30 07:17:12 +08:00
semantic-release-bot
08ed06db6e chore(release): 0.43.1 [skip ci]
## [0.43.1](https://github.com/gotson/komga/compare/v0.43.0...v0.43.1) (2020-06-29)

### Bug Fixes

* **webui:** clear selection when reloading search results ([7d808c5](7d808c5dee))
2020-06-29 14:31:44 +00:00
Gauthier Roebroeck
7d808c5dee fix(webui): clear selection when reloading search results 2020-06-29 22:05:22 +08:00
semantic-release-bot
472ff1e20c chore(release): 0.43.0 [skip ci]
# [0.43.0](https://github.com/gotson/komga/compare/v0.42.0...v0.43.0) (2020-06-29)

### Bug Fixes

* **webui:** lazy load collections on browse series ([d89533d](d89533ded6))

### Features

* **webui:** sort/filter settings are persisted per library ([bf737de](bf737de910)), closes [#190](https://github.com/gotson/komga/issues/190)
2020-06-29 12:30:54 +00:00
Gauthier Roebroeck
bf737de910 feat(webui): sort/filter settings are persisted per library
stored in cookies and restored if no query parameters are specified

closes #190
2020-06-29 17:02:36 +08:00
Gauthier Roebroeck
d89533ded6 fix(webui): lazy load collections on browse series
also adjusted layout for smaller screens
2020-06-29 11:37:26 +08:00
semantic-release-bot
938c9239d6 chore(release): 0.42.0 [skip ci]
# [0.42.0](https://github.com/gotson/komga/compare/v0.41.1...v0.42.0) (2020-06-29)

### Bug Fixes

* **webui:** incorrect count of collections in browse collections screen ([2254929](22549291d8))
* **webui:** lazy http call for CollectionEditDialog ([4716a1b](4716a1b22b))

### Features

* **webui:** collection edition on card in browse collections ([e45389d](e45389d77b))
* **webui:** collection edition on card in search results ([68fe4fd](68fe4fd23d))
* **webui:** enable edit on books and series cards in search screen ([32dad62](32dad62777))
* **webui:** multi-select in dashboard page ([8e33be7](8e33be78e2))
* **webui:** multi-select in search results page ([c5417ac](c5417ac8da)), closes [#213](https://github.com/gotson/komga/issues/213)
2020-06-29 01:25:03 +00:00
Gauthier Roebroeck
c3a091477c test: fix failing tests
following change in a09d3f65e4
2020-06-29 08:57:54 +08:00
Gauthier Roebroeck
a3cc66d6aa build: update gitignore 2020-06-28 21:49:20 +08:00
Gauthier Roebroeck
8e33be78e2 feat(webui): multi-select in dashboard page 2020-06-28 21:49:20 +08:00
Gauthier Roebroeck
c5417ac8da feat(webui): multi-select in search results page
closes #213
2020-06-28 21:49:20 +08:00
Gauthier Roebroeck
22549291d8 fix(webui): incorrect count of collections in browse collections screen 2020-06-28 21:49:20 +08:00
Gauthier Roebroeck
a1cb186a28 refactor(webui): carve out multi-select bars 2020-06-28 21:49:20 +08:00