Aria Moradi
907adea73f
Migrate to H2 v2
2022-11-07 14:10:33 +03:30
Valter Martinek
2ac5c1362c
add batch download api ( #436 )
...
* Add POST /downloads endpoint for creating multiple
* Fix review notes
* Add chapter id to API endpoints
* Rewrite batch chapter download to use chapter id instead of mangaId+chapterIndex combination
* Change EnqueueInput format to be more futureproof
* Change endpoint path
* Change endpoint path
2022-11-07 01:02:18 +03:30
Mitchell Syer
8b20e2b48f
Add request body to documentation ( #435 )
2022-11-06 23:19:11 +03:30
Valter Martinek
c2a9820fc1
POST variant for /{sourceId}/search endpoint ( #434 )
...
* Add POST variant for `/{sourceId}/search` endpoint which handles body data as list of FilterChanges
* Revert changes to existing endpoint and create new route and change the interface
* Update doc
* Rename api endpoint
2022-11-05 20:48:20 +03:30
Valter Martinek
a9e5bc0c95
Pre-load meta entries for all chapters for optimization ( #432 )
...
Load meta entries for all chapters in one query to prevent N+1 queries
2022-10-30 20:18:27 +03:30
Valter Martinek
0fa2834d25
add MangaTable.lastFetchedAt and ChapterTable.chaptersLastFetchedAt ( #431 )
...
* Add lastFetchedAt and chaptersLastFetchedAt columns to manga
* Update lastFetchedAt columns when data are fetched from source
* Add age and chaptersAge fields to MangaDataClass
* Replace two migrations with single migration
2022-10-30 20:16:23 +03:30
Valter Martinek
23f0876c00
Add cache control header to manga page response ( #430 )
2022-10-29 22:19:19 +03:30
Anurag
6d88d90659
Fix: Error handling for popular/latest api if pageNum was supplied as zero ( #424 )
...
* fix: handle and throw proper error if pageNum is zero for popular/latest api, fixes #75
* chore: replace if-else with kotlin require which throws IllegalArgumentException and add comment
* fix: remove comment as exception message is enough
2022-10-28 14:34:22 +03:30
Mitchell Syer
a3c366c360
Lint ( #423 )
2022-10-22 15:38:14 +03:30
Mitchell Syer
3bef07eeab
Update dependencies ( #422 )
...
* Update dependencies and lint files
* Revert lint
2022-10-22 03:33:07 +03:30
Aria Moradi
d029e65b8e
include list of mangas missing source in restore report ( #421 )
2022-10-20 00:20:39 +03:30
Aria Moradi
f305ac6905
remove BuildConfig as extensions now use AppInfo
2022-10-19 23:08:08 +03:30
Aria Moradi
4d4a46d2a5
move Tachiyomi's BuildConfig to kotlin dir
2022-10-19 22:44:00 +03:30
Aria Moradi
8218f2f830
ktlint
2022-10-19 16:22:07 +03:30
Mitchell Syer
06eff55210
Updater cleanup and improvements ( #416 )
2022-10-11 19:57:15 +03:30
Mitchell Syer
71730fddad
Documentation cleanup ( #417 )
2022-10-11 12:54:45 +03:30
Mitchell Syer
f2d1c6e3cb
Fix downloader memory leak ( #418 )
2022-10-11 12:52:10 +03:30
Marco Ebbinghaus
7ae837ca3c
Remove support for Sorayomi web interface ( #414 )
...
fixes #392
2022-10-07 22:26:26 +03:30
Mitchell Syer
bdf3a7014f
Improve DocumentationDsl, bugfix default values and add queryParams ( #378 )
...
* Improve DocumentationDsl, bugfix default values and add queryParams
Adding `queryParams<Int>("mangaId[]")` would allow something like this: `http://127.0.0.1:4567/api/v1/download/manga?mangaId[]=1&mangaId[]=2 `
* Remove extra comma
* Make QueryParams not nullable and use default value if empty
* Allow nullable again
2022-07-30 17:59:27 +04:30
Mitchell Syer
5b0426a94c
Docs improvements ( #359 )
...
* Use Array since Javalin OpenAPI requires it to read the list generics
* Use custom Pager class for documentation
2022-05-21 14:42:10 +04:30
Mitchell Syer
a6d012abd9
Fix documentation errors ( #358 )
2022-05-20 15:54:06 +04:30
Aria Moradi
5bbc1dedef
fix formatting by kotlinter
2022-05-06 17:52:16 +04:30
Aria Moradi
39b468ef06
fix copymanga ( #354 )
2022-05-06 17:45:05 +04:30
Mitchell Syer
fe17176b31
document all endpoints ( #350 )
...
* Document all endpoints
* Forgot about global endpoints
2022-04-27 16:01:39 +04:30
abhijeetChawla
84f701c4ab
add ChapterCount to manga object in categoryMangas endpoint ( #349 )
...
* adds ChapterCount to the Manga returned when accessing the array of Manga is a category
* removed a conflicting expresssion
2022-04-24 13:13:35 +04:30
Mitchell Syer
047f8c176f
document manga endpoints ( #348 )
2022-04-24 13:08:33 +04:30
Mitchell Syer
d82e79b680
Add displayValues json field for select filter ( #347 )
2022-04-24 13:06:19 +04:30
Aria Moradi
320d1ae9d8
add support for alternative web interfaces ( #342 )
...
* add support for alternative web interfaces
* fix naming
* won't bundle sorayomi zip
* clean diff
2022-04-16 21:09:36 +04:30
Aria Moradi
a8892143a2
fix Applications dir dependency ( #344 )
2022-04-16 20:58:12 +04:30
Aria Moradi
50f4532406
add support for changing downloads dir ( #343 )
2022-04-16 20:20:57 +04:30
Fidel Selva
844454053d
handle solid RAR archives ( #339 )
...
* Upgrade junrar version to 7.5.0 and set unrar.extractor.thread-keep-alive-seconds to 30 (default is 5)
* #338 Read whole archive in case RAR file is solid (it is, it can't be decompressed at an arbitrary location).
2022-04-16 18:24:03 +04:30
Mitchell Syer
db5c5ed534
Save categories when manga is unfavorited ( #335 )
...
Fixes non-library manga with categories in backups
2022-04-08 06:10:39 +04:30
Aria Moradi
5a32ccfa7a
fix auth not actually blocking requests ( #333 )
2022-04-06 21:30:38 +04:30
Mitchell Syer
31a624db51
Add last bit of code needed for Extensions Lib 1.3 ( #330 )
2022-04-02 05:02:26 +04:30
Mitchell Syer
f5006cac7d
Add thumbnail support for stub sources ( #320 )
2022-03-22 15:51:58 +04:30
Mitchell Syer
152b193ad5
Improve source handling, fix errors with uninitialized mangas in broken sources ( #319 )
2022-03-22 15:51:07 +04:30
Mitchell Syer
a27af0b642
Fix sources list of one source throws an exception ( #308 )
2022-03-20 19:24:09 +03:30
Aria Moradi
44ffed3f7c
add support for tachiyomi extensions Lib 1.3 ( #316 )
...
* closes #315
* provide real values
* add support for tachiyomi extensions lib 1.3
2022-03-19 02:36:42 +03:30
Aria Moradi
fa035ad9be
fix meta update changing all keys ( #314 )
2022-03-18 00:14:22 +03:30
Aria Moradi
8fb1a0bb1f
fix filterlist bugs ( #306 )
2022-03-05 01:13:48 +03:30
Aria Moradi
05513bf8b9
support array filter changes ( #304 )
...
* support array filter changes
* typo
* better formating
2022-03-05 00:06:55 +03:30
Aria Moradi
4bbe51331f
remove gson ( #295 )
...
* remove gson
* also remove kotson
* fix build
2022-02-19 05:12:20 +03:30
Aria Moradi
c289786dfa
auto-remove duplicate chapters ( #294 )
...
* auto-remove duplicate chapters
* Apply suggestions from code review
Co-authored-by: Mitchell Syer <Mitchellptbo@gmail.com >
* Update Chapter.kt
Co-authored-by: Mitchell Syer <Mitchellptbo@gmail.com >
2022-02-19 04:44:17 +03:30
Aria Moradi
9a9752a6a1
no online fetch on backup ( #293 )
...
* no online fetch on backup
* Revert "no online fetch on backup"
This reverts commit 09af582b1a .
* alternative solution
2022-02-19 02:57:03 +03:30
Mitchell Syer
b714abddae
Handlers must return a result ( #282 )
2022-01-07 17:03:35 +03:30
Mitchell Syer
63ca189907
Update Gradle and Dependencies ( #281 )
2022-01-07 17:03:01 +03:30
Aria Moradi
f0edc676fc
fix compile erorr
2021-12-13 17:16:03 +03:30
Aria Moradi
b68fdb0772
ignore non image files ( #269 )
...
* ignore non image files
* Update server/src/main/kotlin/eu/kanade/tachiyomi/source/local/LocalSource.kt
Co-authored-by: Mitchell Syer <Mitchellptbo@gmail.com >
Co-authored-by: Mitchell Syer <Mitchellptbo@gmail.com >
2021-12-03 20:53:18 +03:30
Sascha Hahne
76c7bdd604
Add Route to stop and reset the updater ( #260 )
2021-12-01 23:18:32 +03:30
Mitchell Syer
205101568e
Improve documentation with Http codes ( #261 )
...
* Improve documentation dsl with Http codes
* Fix plaintext requiring T
2021-12-01 23:17:41 +03:30