Commit graph

1684 commits

Author SHA1 Message Date
Gauthier Roebroeck
43e6895ba2 refactor: replace measureTimeMillis by measureTime 2020-05-03 15:22:43 +08:00
Gauthier Roebroeck
08e7f5dbf2 feat(docker): persist artemis data in /config 2020-05-03 15:22:43 +08:00
Gauthier Roebroeck
3c332e947d test(tasks): test tasks deduplication 2020-05-03 15:22:43 +08:00
Gauthier Roebroeck
1a31c89712 feat(tasks): background tasks persistency
tasks are persisted on disk and will survive a restart
2020-05-03 15:22:43 +08:00
Gauthier Roebroeck
3e081f2885 test: change JMS queue emptying afterEach 2020-05-03 15:22:43 +08:00
Gauthier Roebroeck
37590dd912 feat(scan): add configuration to disable startup scan
scan at startup is disabled by default
2020-05-03 15:22:43 +08:00
Gauthier Roebroeck
60ce87a25d feat(tasks): replace background tasks management
Use of Apache Artemis message queue instead async methods with executors.
Tasks are submitted to TaskReceiver, and handled by TaskHandler.
The Artemis queue is configured with last-value, which automatically remove duplicate tasks in the queue.
2020-05-03 15:22:43 +08:00
semantic-release-bot
e7f4e203fb chore(release): 0.27.7 [skip ci]
## [0.27.7](https://github.com/gotson/komga/compare/v0.27.6...v0.27.7) (2020-04-20)

### Bug Fixes

* **swagger:** fix incorrect Pageable schema ([14bee56](14bee566b3))
2020-04-20 02:09:06 +00:00
Gauthier Roebroeck
14bee566b3 fix(swagger): fix incorrect Pageable schema 2020-04-20 09:44:26 +08:00
Gauthier Roebroeck
9bf37db38d refactor(swagger): remove redundant annotations 2020-04-20 09:44:26 +08:00
semantic-release-bot
4fe300e4bb chore(release): 0.27.6 [skip ci]
## [0.27.6](https://github.com/gotson/komga/compare/v0.27.5...v0.27.6) (2020-04-18)

### Bug Fixes

* **swagger:** better pageable support ([6401dc9](6401dc9b9b))
2020-04-18 07:26:34 +00:00
Gauthier Roebroeck
b6549db684 docs(dockerhub): add docker start command 2020-04-18 15:02:45 +08:00
Gauthier Roebroeck
6401dc9b9b fix(swagger): better pageable support
page, size and sort are optional
sort is hidden on operations where it is ignored
2020-04-18 14:26:15 +08:00
semantic-release-bot
3174baf31d chore(release): 0.27.5 [skip ci]
## [0.27.5](https://github.com/gotson/komga/compare/v0.27.4...v0.27.5) (2020-04-18)

### Bug Fixes

* set default forward headers strategy to framework ([b24fbe3](b24fbe3a1e))
2020-04-18 06:23:50 +00:00
Gauthier Roebroeck
b24fbe3a1e fix: set default forward headers strategy to framework
fixes Swagger not loading properly behind a reverse proxy
2020-04-18 13:59:51 +08:00
Gauthier Roebroeck
c2d846025b refactor(swagger): remove redundant mediaType for thumbnails 2020-04-18 13:59:51 +08:00
semantic-release-bot
d6f252ef41 chore(release): 0.27.4 [skip ci]
## [0.27.4](https://github.com/gotson/komga/compare/v0.27.3...v0.27.4) (2020-04-16)

### Bug Fixes

* **analyzer:** better rar5 detection ([b07e9b9](b07e9b9728))
* **swagger:** correct response type for thumbnails and file ([07f634e](07f634e658))
2020-04-16 14:46:12 +00:00
Gauthier Roebroeck
07f634e658 fix(swagger): correct response type for thumbnails and file 2020-04-16 22:22:05 +08:00
Gauthier Roebroeck
b07e9b9728 fix(analyzer): better rar5 detection
update to tika-core: 1.24 which can detect the rar version in mediaType
rar5 is now marked as unsupported instead of error
2020-04-16 22:22:05 +08:00
Gauthier Roebroeck
d86d3427bb test(analyzer): test various archive formats 2020-04-16 22:22:05 +08:00
semantic-release-bot
cbfbde39d7 chore(release): 0.27.3 [skip ci]
## [0.27.3](https://github.com/gotson/komga/compare/v0.27.2...v0.27.3) (2020-04-16)

### Bug Fixes

* **analyzer:** regression in RAR handling ([b8462f3](b8462f3568))
2020-04-16 10:38:52 +00:00
Gauthier Roebroeck
b8462f3568 fix(analyzer): regression in RAR handling
tika 1.24 changed the mediaType detection, breaking the RAR analyzer
2020-04-16 18:14:23 +08:00
semantic-release-bot
43d61d5d81 chore(release): 0.27.2 [skip ci]
## [0.27.2](https://github.com/gotson/komga/compare/v0.27.1...v0.27.2) (2020-04-15)

### Bug Fixes

* **webreader:** stretched images on Safari with fit to Width ([74f9305](74f9305e16))
2020-04-15 14:48:28 +00:00
Gauthier Roebroeck
74f9305e16 fix(webreader): stretched images on Safari with fit to Width 2020-04-15 22:24:35 +08:00
semantic-release-bot
01c9ffe818 chore(release): 0.27.1 [skip ci]
## [0.27.1](https://github.com/gotson/komga/compare/v0.27.0...v0.27.1) (2020-04-15)

### Bug Fixes

* **swagger:** fix duplicated mapping key error ([face321](face321b08))
2020-04-15 01:47:25 +00:00
Gauthier Roebroeck
02ee0eb408 build: update dependencies 2020-04-15 09:21:49 +08:00
Gauthier Roebroeck
face321b08 fix(swagger): fix duplicated mapping key error 2020-04-15 09:21:49 +08:00
Gauthier Roebroeck
f033ff1585 build: update gradle version 2020-04-15 09:21:49 +08:00
semantic-release-bot
450ae90a9c chore(release): 0.27.0 [skip ci]
# [0.27.0](https://github.com/gotson/komga/compare/v0.26.3...v0.27.0) (2020-04-13)

### Bug Fixes

* **api:** libraries are not sorted for restricted users ([1d58322](1d583229ee)), closes [#140](https://github.com/gotson/komga/issues/140)

### Features

* **swagger:** update to OpenAPI 3 ([c9de7c8](c9de7c8074))
2020-04-13 12:36:35 +00:00
Gauthier Roebroeck
1d583229ee fix(api): libraries are not sorted for restricted users
Closes: #140
2020-04-13 20:15:22 +08:00
Gauthier Roebroeck
c9de7c8074 feat(swagger): update to OpenAPI 3
migrate from Springfox to Springdoc
2020-04-13 20:15:22 +08:00
semantic-release-bot
b900227c83 chore(release): 0.26.3 [skip ci]
## [0.26.3](https://github.com/gotson/komga/compare/v0.26.2...v0.26.3) (2020-04-12)

### Bug Fixes

* **epub:** add support for opf:role for authors ([30bf7f4](30bf7f469f)), closes [#139](https://github.com/gotson/komga/issues/139)
* **epub:** match artist and illustrator roles to penciller ([b7fe4bd](b7fe4bde74))
2020-04-12 04:38:49 +00:00
Gauthier Roebroeck
30bf7f469f fix(epub): add support for opf:role for authors
closes #139
2020-04-12 12:18:01 +08:00
Gauthier Roebroeck
b7fe4bde74 fix(epub): match artist and illustrator roles to penciller 2020-04-12 12:18:01 +08:00
semantic-release-bot
7c09a3d8d7 chore(release): 0.26.2 [skip ci]
## [0.26.2](https://github.com/gotson/komga/compare/v0.26.1...v0.26.2) (2020-04-11)

### Bug Fixes

* **swagger:** paging and sorting parameters showing incorrectly ([1e9407c](1e9407cfe2))
2020-04-11 03:58:18 +00:00
Gauthier Roebroeck
1e9407cfe2 fix(swagger): paging and sorting parameters showing incorrectly 2020-04-11 11:37:30 +08:00
semantic-release-bot
3bc6ddad72 chore(release): 0.26.1 [skip ci]
## [0.26.1](https://github.com/gotson/komga/compare/v0.26.0...v0.26.1) (2020-04-10)

### Bug Fixes

* **swagger:** parameters were not showing for claim method ([e5a0841](e5a084144d))
2020-04-10 13:06:30 +00:00
Gauthier Roebroeck
87aa0bc032 refactor(opds): mark user-agent parameter as optional 2020-04-10 20:45:38 +08:00
Gauthier Roebroeck
e5a084144d fix(swagger): parameters were not showing for claim method 2020-04-10 20:45:38 +08:00
Gauthier Roebroeck
ef67269c4c build: add run config for dev,claim 2020-04-10 20:45:38 +08:00
semantic-release-bot
2023f24036 chore(release): 0.26.0 [skip ci]
# [0.26.0](https://github.com/gotson/komga/compare/v0.25.1...v0.26.0) (2020-04-10)

### Bug Fixes

* **comicinfo:** avoid reading the file twice ([1dab826](1dab826622))
* **epub:** some EPUB files would not be parsed correctly ([f0ff785](f0ff785d66))
* **swagger:** ignore non-functional parameters ([d1c8b23](d1c8b23f44))

### Features

* **metadata:** retrieve EPUB metadata ([a4f5015](a4f5015435))
* **scan:** force rescan of existing series to pickup EPUB files ([854f090](854f090415))
* support for EPUB format (comics only) ([0a06a6f](0a06a6f799)), closes [#119](https://github.com/gotson/komga/issues/119)
2020-04-10 07:11:11 +00:00
Gauthier Roebroeck
b628c993d8 test: remove irrelevant tests
following changes in c5d9f10e92 and 888a988a0a
2020-04-10 14:50:07 +08:00
Gauthier Roebroeck
854f090415 feat(scan): force rescan of existing series to pickup EPUB files 2020-04-10 11:52:30 +08:00
Gauthier Roebroeck
f0ff785d66 fix(epub): some EPUB files would not be parsed correctly 2020-04-10 11:52:30 +08:00
Gauthier Roebroeck
a4f5015435 feat(metadata): retrieve EPUB metadata 2020-04-10 11:52:30 +08:00
Gauthier Roebroeck
888a988a0a refactor: don't sort pages in Media
pages are sorted by the extractor directly
2020-04-10 11:52:30 +08:00
Gauthier Roebroeck
0a06a6f799 feat: support for EPUB format (comics only)
closes #119
2020-04-10 11:52:30 +08:00
Gauthier Roebroeck
c5d9f10e92 refactor(analyzer): sort pages in extractors instead of analyzer 2020-04-10 11:52:30 +08:00
Gauthier Roebroeck
b724a21256 refactor: change toString format 2020-04-10 11:52:30 +08:00
Gauthier Roebroeck
1dab826622 fix(comicinfo): avoid reading the file twice 2020-04-10 11:52:29 +08:00