* Arrange code as used in FilterList
just to improve readability
also kept related things together (like OriginalLanguage related methods)
* Match default Sort with what frontend uses
Searching on the website uses /manga?order[relevance]=desc
This commit matches to that
* Arrange lang sources alphabetically
atleast makes it a bit easy to see if a language exists
* Remove MangaDex (Other)
its been throwing HTTP Forbidden Error since locale checks were added
for translatedLanguages. There are no plans to actually support them in
the future nor are there users using it (since there were no reports)
* Add MangaDex (Latin)
newly created chapter language
has only two (April Fools) translated chapters for now
* Add a section on Manga Status in MangaDex Readme
* Increment mangadex.extVersionCode
* move more regexes into companion object
* Remove wildcard domain intent
too many issues. Might as well have the extension only support
mangadex.org links
* Increment mangadex.extVersionCode
* MangaDex: Clean manga descriptions
Closes#10610
* Incrememnt mangadex.extVersionCode
* Remove bbcode cleanup utility
Since bbcode has been replaced with markdown. So, this is no longer
required
* Don't forgot to unescape html characters
bbcode might be gone but &hearts still need to be converted to ♥
* Update `cleanString` method description
* Remove trailing newlines
Using Trim takes cares of whitespace too
* Move regex to companion object
so that they dont get instantiated everytime
* Revert "Incrememnt mangadex.extVersionCode"
This reverts commit 73c89933cc36cb41fd6691641c75acf0b6f49c45.
Will be added back in a separate minor PR
* 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
* 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
* 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`
* 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
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.
* 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>
* Added originalLanguage filters
* add content preference in chapter list
* Remove zero width space
* change default originLanguagepref to false
* made originLang work in browse too
* actually fixed nsfw chapter list maybe
* added new MangaDex icons
* filter all chapters with external links
* change browse sort to followCount
* add origin language filtering to browse and properly set default filter values
* add all contentRating queries to the actual chapterlist request no matter what