28 Commits

Author SHA1 Message Date
Aiman
5d6e61eb2a
Komga: Improve status parsing (#12728)
* Komga: Improve status parsing

* Set null as default value for totalBookCount

* Apply suggestion

* Update changelog
2022-07-27 14:12:08 -03:00
arkon
a8cb5c2794
Mark self-hosted sources as unmetered (#12077) 2022-06-05 11:49:11 -04:00
Gauthier
2a793c16ac
feat: prepend series title in front of book name for read lists (#10831) 2022-02-15 07:38:30 -05:00
jopejoe1
b7a1f920fa
Komga: Added README file (#10566)
* Update CHANGELOG.md

* Create README.md

* Update build.gradle

* Update CHANGELOG.md
2022-01-24 07:47:32 -05:00
Gauthier
7719c36305
[Komga] add support for image/jxl (#10194)
* feat: add support for image/jxl

* update changelog and version
2021-12-22 08:16:15 -05:00
Gauthier
d718c8a10f
feat(komga): display book translators as chapter scanlator (#10099) 2021-12-14 05:52:52 -05:00
Gauthier
0a0b8bd7a3
[Komga] rework the load of filter values at startup (#9386)
* rework the load of filter values at startup

* Update CHANGELOG.md
2021-10-07 07:14:08 -04:00
nicki
c04984b89b
[Komga] Fix link to WebView/Share (#9361)
* use the correct link for viewing in browser

api url on browser just provides a json. For viewing in browser,
we need the normal url instead

* just use `substringAfter`

was trying out another way using `substringAfterLast` but dropped that.
Now `substringAfterLast` isn't required and `substringAfter` suffices

* make fetchMangaDetails not use mangaDetailsRequest

internally, `fetchMangaDetails` uses `mangaDetailsRequest` to create a
new call. However, since `mangaDetailsRequest` is now fixed to use a
normal browser URL rather than the API URL, it no longer works for
`fetchMangaDetails`. So, it needs to be manually overriden to make its
own call

* use hardcoded ID values instead of computing

this was done because of the following:
 - IDs are same as before
 - no need to rely on calculation to be correct everytime
 - avoids unnecessary copy of base class code
 - sets it in the constructor itself

* increment komga.extVersionCode

also update CHANGELOG with list of changes

* linting and remove unused imports

* Revert "linting and remove unused imports"

This reverts commit e13396badef53fced2700266182bbf53a67124cf.

* Revert "use hardcoded ID values instead of computing"

This reverts commit 44f063904d5969fb6d90c9ffad5c33aff50b995f.

* refactor `mangaDetailsRequest`

Do it in a simpler manner without having to create another variable

Co-authored-by: Gauthier <gotson@users.noreply.github.com>

Co-authored-by: Gauthier <gotson@users.noreply.github.com>
2021-10-06 06:06:37 -04:00
nicki
95ad8cb431
[Komga] replace gson with kotlinx.serialization.json (#9107)
* annotate komga data classes

annotate @Serializable to relevant data classes. this is the first step
to replace gson/kotson with kotlinx.serialization

* switch to kotlinx.serialization.json

replaces gson/kotson usage in komga extension
big thanks to gotson for already switching to data classes
made the conversion very simple

Co-authored-by: Gauthier <gotson@users.noreply.github.com>

* linting

* increment komga.extversioncode

also update changelog

* use .string() instead of toString()

since we actually need the object in memory as a string rather than the
content

* apply plugin to generate Serializable

this makes serializers for all data classes that are annotated as
Serializable

Co-authored-by: Gauthier <gotson@users.noreply.github.com>
2021-09-18 05:39:18 -04:00
Gauthier
a80e03cf4e
[Komga] show readlist summary, search and display series aggregated tags (#8489)
* display and search aggregated book tags at series level

* display readlist summary

* bump version
2021-08-09 06:57:38 -04:00
Gauthier
3ff3a4f82f
filter deleted series and books (#8132) 2021-07-16 06:23:22 -04:00
Gauthier
5876f259c8
fix user-agent (#7865) 2021-06-25 08:45:53 -04:00
Gauthier
380b7594f5
filter series by in progress and read (#7446) 2021-06-04 07:38:57 -04:00
Gauthier
aeae87d57f
search for in progress and unread when unread only is selected (#7141) 2021-05-21 08:38:58 -04:00
Gauthier
c4f382f0dc
fix readlist chapters sort (#6944) 2021-05-10 06:52:45 -04:00
Gauthier
3cd9bb0abb
[Komga] fix restoring backup & tags in filter panel (#6736)
* fix: set full url for manga so restoring a backup can work

* fix: only show series tags in the filter panel
2021-04-28 08:43:55 -04:00
Gauthier
7655bf6483
feat(komga): ignore dns over https (#6335) 2021-03-29 07:04:40 -04:00
Gauthier
1ac4721780
fix: logs and try/catch (#6092)
exception catching while building filter list (#6074)
error logs whiloe loading filter values (#6047)
2021-03-07 22:10:53 -05:00
Gauthier
7a667d78ed
feat: browse readlists and collections (#6038) 2021-03-02 10:43:12 -05:00
Gauthier
6a813c9ab8
feat: filter by authors (#6014) 2021-03-01 07:27:37 -05:00
Gauthier
b24fa5b9b6
[Komga] Display book aggregated data on Series screen (#5550)
* display Series summary from books if no summary exists for Series

closes gotson/komga#391

* display Series authors

closes #5481
2021-01-25 07:27:53 -05:00
Gauthier
89cea3e023
use metadata.releaseDate or fileLastModified for chapter date (#4682) 2020-10-22 08:35:43 -04:00
Gauthier
61f16d26e9
filter by genres, tags and publishers (#4519) 2020-10-08 17:56:45 -04:00
Gauthier
6e5772ecfd
filter by genres, tags and publishers (#4211) 2020-08-26 06:20:47 -04:00
Gauthier
fcff37890d
[Komga] metadata update (#4194)
* clarify changelog

* remove the 1000 chapters limit

* remove old dto (was required before Komga 0.48.0)
align to new metadata model (Komga 0.58.0)
add description and genre for Series
2020-08-24 07:14:32 -04:00
Gauthier
4406f91f7e
[Komga] change chapter display to use title string instead of title number (#4121)
* change chapter display to use title string instead of title number

* version bump and changelog
2020-08-14 07:56:26 -04:00
Gauthier
7a9de141d2
compatibility for the upcoming version of Komga which have changes in the API (IDs are String instead of Long) (#3792) 2020-07-15 06:01:46 -04:00
Gauthier
1556685031
filter by collection (#3620)
add CHANGELOG.md

closes gotson/komga#211
2020-06-26 13:43:31 -04:00