Commit graph

3448 commits

Author SHA1 Message Date
Gauthier Roebroeck
d81d3f797b add test to validate thumbnails are using the correct file (failing - reproducing issue faced in prod) 2019-08-22 13:55:36 +08:00
Gauthier Roebroeck
19c117b8a1 added documentation about rescans 2019-08-22 10:20:38 +08:00
Gauthier
d98460a010
add installation section 2019-08-22 08:43:30 +08:00
Gauthier
733c0eea4a
sample docker-compose.yml 2019-08-22 08:41:51 +08:00
Gauthier Roebroeck
a188cf9598 moved natural sorting directly in Serie (for books) and BookMetadata (for pages) 2019-08-22 08:09:49 +08:00
Gauthier Roebroeck
db7e5e3c53 default sort for books by name ignoring case
removed natSort of books during scan, as order get messed up anyway with updates
fixed serie that was not persisting fileLastModified date on rescans
2019-08-21 23:07:06 +08:00
Gauthier Roebroeck
7e26f85159 added README 2019-08-21 15:51:00 +08:00
Gauthier
3761c6eeda
Create LICENSE 2019-08-21 15:46:13 +08:00
Gauthier Roebroeck
04351224e0 default sort series by name ignoring case 2019-08-21 10:41:25 +08:00
Gauthier Roebroeck
43daabde6b catch async exceptions 2019-08-21 10:40:46 +08:00
Gauthier Roebroeck
c0fc4aba0e simple config for users password 2019-08-21 08:07:15 +08:00
Gauthier Roebroeck
ac8afa4d50 changed parseBookTaskExecutor pool size based on empiric tests 2019-08-20 19:46:39 +08:00
Gauthier Roebroeck
5619661d95 added endpoint for serie thumbnail 2019-08-20 19:45:47 +08:00
Gauthier Roebroeck
cb867ff519 added async management for book parsing 2019-08-20 18:19:23 +08:00
Gauthier Roebroeck
1c298221f8 better logging of time spent in tasks 2019-08-20 17:32:21 +08:00
Gauthier Roebroeck
656b89dba4 add endoint to get latest series 2019-08-20 16:52:12 +08:00
Gauthier Roebroeck
bddf0b46ab prevent eventlistener and scheduler to run at the same time 2019-08-20 16:51:49 +08:00
Gauthier Roebroeck
70cc75da72 properly close streams to avoid file/folder locking 2019-08-20 16:51:13 +08:00
Gauthier Roebroeck
89c3b50bb0 remove unused annotation 2019-08-20 15:35:07 +08:00
Gauthier Roebroeck
5dc73c268a restore bidirectional relationship between Serie and Book 2019-08-20 15:27:01 +08:00
Gauthier Roebroeck
6087d312eb add run configurations 2019-08-20 15:03:10 +08:00
Gauthier Roebroeck
f3cbb5a960 use mutable entities
add audiability for Book and Serie
changed Serie to Book relationship to unidirectional for now
2019-08-20 15:02:52 +08:00
Gauthier Roebroeck
1c674916ce added flyway for db migrations 2019-08-19 17:56:26 +08:00
Gauthier Roebroeck
fbb93b7266 cleanup profiles 2019-08-19 16:13:22 +08:00
Gauthier Roebroeck
5c153bf539 added thumbnail generation 2019-08-19 15:09:12 +08:00
Gauthier Roebroeck
f38660b45c added basic search by name for Series 2019-08-19 14:38:45 +08:00
Gauthier Roebroeck
4bf32fe332 exhaustive JPA names for tables and columns 2019-08-19 14:21:37 +08:00
Gauthier Roebroeck
d900318b42 fixed incorrect mediaType returned for book pages 2019-08-18 22:16:59 +08:00
Gauthier Roebroeck
264be393b8 store each page mediaType during parsing
return mediaType of pages in API
simplify getting stream of Page since the mediaType is already available
parse books at startup
by default don't return books that are not ready in API
2019-08-18 17:52:15 +08:00
Gauthier Roebroeck
990e443f77 use entityManager to clear data between tests 2019-08-18 13:38:55 +08:00
Gauthier Roebroeck
5e06462e48 remove sample test 2019-08-18 13:38:35 +08:00
Gauthier Roebroeck
3751522b1c don't load scheduling during tests 2019-08-18 13:38:09 +08:00
Gauthier Roebroeck
6de0bb287d don't load swagger during tests 2019-08-18 13:37:54 +08:00
Gauthier Roebroeck
7fde944708 make URL as String in DTOs 2019-08-18 08:32:02 +08:00
Gauthier Roebroeck
390baf15bb zip/rar extractors filter out non-image files 2019-08-16 22:00:06 +08:00
Gauthier Roebroeck
77b691e49d use java.util.zip instead of zip4j 2019-08-16 21:26:07 +08:00
Gauthier Roebroeck
3c4d1b3c28 exclude directories from rar files listing 2019-08-16 21:25:29 +08:00
Gauthier Roebroeck
10f5917d1c exclude directories from zip files listing 2019-08-16 19:51:03 +08:00
Gauthier Roebroeck
aa4d62738a sort Books in Serie with natural comparator 2019-08-16 19:50:25 +08:00
Gauthier Roebroeck
08c78f6a92 added cbr/rar support
archive entries are sorted using natural sort comparator
2019-08-16 18:03:11 +08:00
Gauthier Roebroeck
f88279b29b add run configurations in repo 2019-08-16 17:05:47 +08:00
Gauthier Roebroeck
52168815d4 added content detection for archives and archive content
zip archives support
reviewed JPA entities
added logs
2019-08-16 17:05:26 +08:00
Gauthier Roebroeck
e1af34778e rescan and persist, conserving ids 2019-08-15 11:38:19 +08:00
Gauthier Roebroeck
b83b1d0925 added tests to validate rescan logic (failing for now, implementation to come) 2019-08-13 18:09:12 +08:00
Gauthier Roebroeck
57bfc54863 added updated time to Serie and Book (maxOf(creation time, last modified time)) 2019-08-13 17:03:38 +08:00
Gauthier Roebroeck
9243ab50d1 rework FileSystemScanner.kt to use java.nio instead of java.io 2019-08-13 16:37:28 +08:00
Gauthier Roebroeck
b16d66a7b1 fix FileSystemScanner.kt which would return Series with no books
added test user
2019-08-10 15:56:40 +08:00
Gauthier Roebroeck
6b0d849d25 initial commit 2019-08-08 17:55:56 +08:00