* Add slug to Share URL
cleans up the title and adds it as a slug to the end of the url that can
then be shared without any issues
Co-authored-by: Henrik <22085664+henrik9999@users.noreply.github.com>
* Check for Japanese Romanized titles
ko-ro and zh-ro also exist but arent that readable compared to ja-ro
personally. And those have a confirmed en title (or fallbacks) anyways
* Increment mangadex.extversioncode
* Linting by Android Studio build process
* Actually use the correct lang code
it's `ja-ro` not `jp-ro`
* Support verified deeplinks (A12+)
* Replace intent host to wildcard hosts
helps with A12 link verify
Ref https://github.com/tachiyomiorg/tachiyomi-extensions/pull/9993
Co-authored-by: funkyhippo <52957110+funkyhippo@users.noreply.github.com>
* Make `titleToSlug` more idiomatic
perhaps java.text.Normalizer could have helped but didnt want to add an
import just for that :d
Co-authored-by: Henrik <22085664+henrik9999@users.noreply.github.com>
Co-authored-by: funkyhippo <52957110+funkyhippo@users.noreply.github.com>
* Replace "Abandoned" with "Cancelled"
was replaced in the Api few months back as well
* Refactor externalURL filtering to use pages attr
* Add mangahot to list of external linked groups
* Refactor group blocking
- Block external linked groups separately
This block is now only done in Latest section (uses /chapter) since
filtering them out in /manga/ID/feed is done by `createChapter` helper
already
- No default UUIDs set in groupBlock setting - external linked groups
and their UUIDs arent exposed to Users
* Increment mangadex.extversioncode
* Remove unneeded empty string check for ch.attr.externalUrl
Co-authored-by: Mitchell Syer <Mitchellptbo@gmail.com>
Co-authored-by: Mitchell Syer <Mitchellptbo@gmail.com>
* Add uploader block to Dex extension
* Sort the list to aid Varnish Caching
"For sake of caching, sort User configurable input query params.
Varnish caching cannot know that it's a list that's safe to re-sort etc.
Use like alphabetical UUID sorting"
* Bump MangaDex.extVersionCode
* Update MadaraGenerator.kt
* Fixed some icons in Madara
* Replace with icons that work on website
* Fixed Some more icons
* some more icon fixes
* miss placed that
* this to
* Put them in right location this time
* Add (somewhat) working group blocking
blocks an input scanlator group
doesn't seem to block official/external-link groups
* Fine tuning adjustments*
- sanitise inputs as much as possible
- add to summary a bit more
- `setDefaultValue` looks to set once and never again. So even if
EditText receives an empty String, it is still valid...
Not sure if I could do it better
* Increment mangadex.extversioncode
- Update kotlinter
- Opt in to serialization API to avoid IDE warnings
- Replace some deprecated OkHttp function usages
- Remove some unnecessary Android version checks/targets
* 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 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
* LANraragi: Mark status as Completed
* LANraragi: Use API for Random (first pass)
No longer need a unique client.
No header shenanigans, straight from source.
* LANraragi: Fix tag display
API response no longer spaces them out.
* LANraragi: Warn on 401
* LANraragi: Use API for Random (second pass)
Unify the Random helper functions.
Inline what was canShowRandom().
Use new /files (GET) endpoint as /extract (POST) is now deprecated.
Remove 404 handling from fetchMangaDetails() (as the 401 handling should cover it).
Include headers for isnew DELETE.
* LANraragi: Update icons
* LANraragi: IOException on 401 instead
Temporary measure till new parser is made for the front end update in v36, this fix will likely break eventually, v36 retains the same backend as v35 so are the exact same from user perspective
* Migrate to new api endpoint + Implement Required Changes
* Update endpoints and response parsing to reflect API changes
* Restore search/filter functionality
* Add genre exclusion and search result sorting
* Comick.fun now specifies language with ISO639 compliant language codes instead of country codes
* 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>
* Add French to MangaPlus
* Add French to MangaPlus
* Update src/all/mangaplus/src/eu/kanade/tachiyomi/extension/all/mangaplus/MangaPlusFactory.kt
Co-authored-by: Alessandro Jean <alessandrojean@gmail.com>
Co-authored-by: Alessandro Jean <alessandrojean@gmail.com>
Some manga somehow has romaji title tagged as "jp" language. So also use
altTitles list and use extension language as the base language when
searching while keeping english as fallback.
This reduces the possibility of this extension returning empty title.
* DNS fix and allow non 9000 port
* Query only top-level titles
* Display input on settings page
* List nested chapters and sort with Mango API
* Bump version number
* 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>
* added Missing sort options
* Update build.gradle
* Improved latestUpdatesRequest
latestUpdatesRequest does not require the previous work around anymore as latestUploadedChapter sort order was added to the api
* Fixed Typo
* fixed sorting issues
Fixed "Sort by Most Follows" since it was no longer the default, and added relevance sorting to the list of possible sorts
* Fixed Mangadex sorting when browsing
* Changed default sort to Most Followed manga
* Fixed it so that the "Number of follows" is the default sorting filter selected instead of "Manga created at"
* When sorting by ascending for Number of follows, returns manga with the fewest follows instead of default search with no sort
Co-authored-by: nayan <TheOneMaster@users.noreply.github.com>