- Update kotlinter
- Opt in to serialization API to avoid IDE warnings
- Replace some deprecated OkHttp function usages
- Remove some unnecessary Android version checks/targets
Manga names can get awfully long, leading to chapter titles being
so absurdly long that you do not know what you are reading.
This commit simply removes 'span.manga-name' from the urlElement before
extracting the text from it.
* Move chapter images data to atHome Response
Updates ChapterDto and AtHomeDto as per Deprecation notice
* Use new atHome response to fetch chapter pages
this commit does the following:
- updates the Dtos as per deprecation notice
- creates a call to `/at-home/server/` in `pageListRequest`
- made sure to track of how old chapter token is as was previous
practice
- `pageListParse` no longer has the 204 response. Instead we get a 404
response (not sure about the 504 response for /at-home/server too but
have to check again. If its not used now, then it could be removed
- since `atHomeRequestUrl` was necessary for `getValidImageUrlForPage`,
tried to fetch it from the response. As per their docs and our
usecase, it should be fine hopefully
Ref:
https://square.github.io/okhttp/4.x/okhttp/okhttp3/-response/request/
- since /chapter/ no longer has `data` attribute, the additional
check for external chapters was removed
- tested on 0.12.3 (on Mi A2, running Android12): read few
chapter/oneshots without issues
* Increment mangadex.extVersionCode
essentially a Christmas present from MD (for its servers :d)
* remove redundant isSuccessful check
essentially dead code since the check is done by `fetchPageList` before
it calls `pageListParse`
* Add Order By to Mangahasu.kt searchMangaRequest
Mangahasu recently implemented this query, without the query it
lists manga alphabetically.
* Increment extVersionCode for Mangahasu
* Fix lint
* Make OrderByFilter a Filter.Sort
* Add Chinese to Bilibili (closes#9150).
* Refactor the extension and class names.
Co-authored-by: FourTOne5 <59261191+FourTOne5@users.noreply.github.com>
Co-authored-by: FourTOne5 <59261191+FourTOne5@users.noreply.github.com>
* search Manga from a group using their id
* add group deeplink support
* linting
* increment mangadex.extVersionCode
* respect `dexLang`
eg: MangaDex (EN) needn't show a group's non-EN releases
* you cannot use filters on chapter endpoint
fixes HTTP 400 while trying to filter on chapter endpoint
* rewrite to use /manga endpoint instead of /chapter
ends up removing a lot of stuff I had previously but that's a good thing
* add check for valid UUID
if a UUID wasn't being provided, then the group queryParameter wouldn't
work and end up throwing Error 400. Might as well prevent that