33 Commits

Author SHA1 Message Date
Aiman
dcb8be1157
Komga: Update to extension-lib 1.4 ()
* Komga: Update to extension-lib 1.4

* Simplify OkHttp responses
2023-03-05 16:44:22 -05:00
Gauthier
df601fdade
[Komga] don't display password in plain text, custom source name ()
* don't display password in preference summary

* add preference for source display name
decouple title from key for preferences
2023-01-20 10:12:20 -05:00
Gauthier
04f8307fd9
move date formatters to KomgaHelper ()
apply UTC timezone to formatters
return time as 0 if parsing fails
2023-01-17 06:24:20 -05:00
Alessandro Jean
997b3e2e68
Fix requests failing in Komga. () 2022-10-03 18:35:31 -03:00
Gauthier
a4d0c214d8
[Komga] fix default sort and readlist sort ()
* fix(komga): default sort broken since Komga 0.155.1

* fix(komga): proper sort criteria for readlists

* update CHANGELOG.md

* bump version
2022-07-29 23:01:07 -04:00
Aiman
5d6e61eb2a
Komga: Improve status parsing ()
* 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 () 2022-06-05 11:49:11 -04:00
Gauthier
2a793c16ac
feat: prepend series title in front of book name for read lists () 2022-02-15 07:38:30 -05:00
jopejoe1
b7a1f920fa
Komga: Added README file ()
* 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 ()
* 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 () 2021-12-14 05:52:52 -05:00
Gauthier
0a0b8bd7a3
[Komga] rework the load of filter values at startup ()
* 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 ()
* 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 ()
* 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 ()
* 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 () 2021-07-16 06:23:22 -04:00
Gauthier
5876f259c8
fix user-agent () 2021-06-25 08:45:53 -04:00
Gauthier
380b7594f5
filter series by in progress and read () 2021-06-04 07:38:57 -04:00
Gauthier
aeae87d57f
search for in progress and unread when unread only is selected () 2021-05-21 08:38:58 -04:00
Gauthier
c4f382f0dc
fix readlist chapters sort () 2021-05-10 06:52:45 -04:00
Gauthier
3cd9bb0abb
[Komga] fix restoring backup & tags in filter panel ()
* 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 () 2021-03-29 07:04:40 -04:00
Gauthier
1ac4721780
fix: logs and try/catch ()
exception catching while building filter list ()
error logs whiloe loading filter values ()
2021-03-07 22:10:53 -05:00
Gauthier
7a667d78ed
feat: browse readlists and collections () 2021-03-02 10:43:12 -05:00
Gauthier
6a813c9ab8
feat: filter by authors () 2021-03-01 07:27:37 -05:00
Gauthier
b24fa5b9b6
[Komga] Display book aggregated data on Series screen ()
* display Series summary from books if no summary exists for Series

closes gotson/komga#391

* display Series authors

closes 
2021-01-25 07:27:53 -05:00
Gauthier
89cea3e023
use metadata.releaseDate or fileLastModified for chapter date () 2020-10-22 08:35:43 -04:00
Gauthier
61f16d26e9
filter by genres, tags and publishers () 2020-10-08 17:56:45 -04:00
Gauthier
6e5772ecfd
filter by genres, tags and publishers () 2020-08-26 06:20:47 -04:00
Gauthier
fcff37890d
[Komga] metadata update ()
* 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 ()
* 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) () 2020-07-15 06:01:46 -04:00
Gauthier
1556685031
filter by collection ()
add CHANGELOG.md

closes 
2020-06-26 13:43:31 -04:00