223 Commits

Author SHA1 Message Date
FlaminSarge
55b2eac827
[Mangadex] Update originalLanguage pref to use MultiSelectListPreference (#9671)
The zh-hk workaround is done during query param building rather than being stored in the preference value
2021-10-30 12:29:30 -04:00
FlaminSarge
f3b3995174
[Mangadex] Update content rating to use MultiSelectListPref (#9670) 2021-10-30 09:56:35 -04:00
Alessandro Jean
31e563c9ab
Fix wrong language in originalLanguage tag. (#9600) 2021-10-24 13:39:21 -04:00
FlaminSarge
b143713590
[Mangadex] Handle empty title case, where title is romaji-only (ja) or otherwise missing, by picking whatever value is in title field as a last resort (#9598) 2021-10-23 07:37:24 -04:00
arkon
6a75de9261
Remove usage of @Nsfw annotation in favor of extension-level flagging (#9368) 2021-10-04 16:44:32 -04:00
Ivan Iskandar
f92453cdcf
MangaDex: Title fetching improvement (#9238)
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.
2021-09-26 08:23:14 -04:00
TheOneMaster
965aecc006
Changed mangadex default sort to most follows (#9155)
Co-authored-by: nayan <TheOneMaster@users.noreply.github.com>
2021-09-20 17:37:16 -04:00
Johannes Joens
d8bcdd11c7
Mangadex: add missing sort options (#9043)
* 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
2021-09-16 09:28:59 -04:00
loocool2
62af1c06ab
MangaDex: Turned off including Upcoming Future Updates in the Latest feed (#9048)
* Turned off including Future Updates

* fixed tags not showing up in MangaDex
2021-09-13 11:20:51 -04:00
nicki
fb87b363e6
Update Mangadex to new chapterListDto and MangaListDto following deprecation (#9046)
* update chapterListDto

* update MangaListDto

* increment md.extvercode
2021-09-12 15:19:57 -04:00
loocool2
bc8b461ab7
Fixed erotica and porn not showing in latest (#9039) 2021-09-11 15:03:54 -04:00
loocool2
df42ef37cc
changed originLang filtering to filter at request time and moved relationships (#9036) 2021-09-11 13:07:06 -04:00
TheOneMaster
fc204bd93a
Fixed Mangadex sorting issues when filtering (#9020)
* 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>
2021-09-11 07:15:53 -04:00
arkon
2a3d88cea0
Target SDK 31 (#9022) 2021-09-09 18:25:46 -04:00
arkon
bc7d8c8672
Default libVersion to 1.2 (#9014) 2021-09-09 08:58:17 -04:00
loocool2
75bdb0bec5
Added support for OriginLanguage filtering in latest and browse, fixed porn chapters too (#8993)
* 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
2021-09-08 15:38:29 -04:00
loocool2
465b6e05af
Filtered comikey chapters (#8888) 2021-08-30 08:04:16 -04:00
loocool2
f77b170e45
Properly process chapters without a group name (#8785)
* Fixed MangaDex content rating preferences being swapped

* Properly process anonymous chapters

* Remembered to account for empty string
2021-08-24 10:55:26 -04:00
loocool2
4d1bc517f2
Fixed MangaDex content rating preferences being swapped (#8784) 2021-08-24 06:42:31 -04:00
nicki
ac49213658
Fix typo in word Original in Mangadex Settings+ (#8285) 2021-07-26 14:04:38 -04:00
FourTOne5
bf119937ff
MangaDex Cover Qulity Setting (#8268)
* Update MDConstants.kt

* Update MangaDex.kt

* Update MangaDexHelper.kt

* Update build.gradle

* Update MangaDex.kt

* Update MangaDexHelper.kt

* Update MangaDexHelper.kt

* Update MDConstants.kt
2021-07-26 06:40:18 -04:00
lord-ne
233746b94d
MangaDex: Make chapter URLs deeplink to series page in Tachiyomi (#8205)
* MangaDex: Chapter URLs deeplink to series page in Tachiyomi

* Changes to getMangaIdFromChapterId:
* Remove FORCE_NETWORK from request
* Decode to ChapterDto instead of manually parsing json
* Make exception on unsuccessful response more verbose

* Use constant instead of "manga" literal
2021-07-21 11:20:09 -04:00
Carlos
5a8287c1fa
Fix latest mangadex order, and missing manga, and follows users default content rating (#8161)
* Fix latest mangadex order, and missing manga, and follows users default prefs for content rating

* update gradle
2021-07-17 15:45:28 -04:00
Jared Irwin
955c0891f8
Make MangaDex load images more consistently (#8102)
* Make fetching the md@h url less likely to break

* import TimeUnit
2021-07-13 19:35:35 -04:00
Carlos
1cc39ff6e0
fix mangadex titles having "" (#8037) 2021-07-09 18:04:08 -04:00
Carlos
b3aaf136c2
MangaDex fix deeplinking, parsing, clean up dto's, add latest chapter (#8035)
* MangaDex fix deeplinking, parsing, clean up dto's, add latest chapter

* change wording for sort
2021-07-09 16:39:34 -04:00
animusfracto
84f2e19495
Add in error handling to handle malformed responses from the aggregate endpoint. addresses #7697 and #7678 (#7709) 2021-06-17 18:18:02 -04:00
animusfracto
16ffd5f695
Implement Completed and Cancelled statuses (#7671)
* add checks to the uploaded chapters in order to determine if the (publication) completed manga has been fully scanlated

* consolidate case entries

* Add language to aggregate call
2021-06-15 12:39:38 -04:00
Alessandro Jean
6991d96d59
Remove last Gson usage at MangaDex (#7656)
* Remove last Gson usage at MangaDex.

* Use ImageReportDto instead of buildJsonObject.
2021-06-15 11:11:03 -04:00
Carlos
761e467896
update to use includes to reduce api calls (#7603) 2021-06-10 21:11:54 -04:00
Carlos
49c930d622
MangaDex: Switch to serialization, use lang descriptions if available, fix open in webview, fix publication status, possibly fix md@home retry (#7540)
* switch to kotlinx

* use baseurl in referer

* remove default sort cause we don't use at this time
update build.gradle

* Use correct field when parsing manga pub status

* Use current language if available in description map.

* potentially fix md@host refresh issue

* add default sort back since that's by number of follows

* use work around for webview credit @Nar1n

Co-authored-by: animusfracto <50589737+animusfracto@users.noreply.github.com>
Co-authored-by: Alessandro Jean <alessandrojean@gmail.com>
2021-06-08 20:58:56 -04:00
Alessandro Jean
2fb79d4a2c
Fix referer in MangaDex. (#7397) 2021-06-02 19:48:15 -04:00
Alessandro Jean
d191a78d97
Add Referer header to MangaDex. (#7393) 2021-06-02 16:28:31 -04:00
Carlos
6822315dfd
use dex covers for everything (#7291) 2021-05-29 20:26:29 -04:00
Carlos
5f10f155d9
MangaDex use translatedLanguage and an alt cover source(#7180)
* fix locales, add back bone for covers, use alt cover url

* dont change url

* update gradle
2021-05-22 11:16:31 -04:00
Baptiste Leduc
cffc0157a6
Use correct field name for MD@H report endpoint (#7066)
* Use correct field name for MD@H report endpoint

* Bump build.gradle version
2021-05-17 14:09:10 -04:00
Carlos
56d9d913f3
update mangadex at home reporting (#7038)
* fix reporting for md@home

* dont show safe rating

* dont show safe rating

* update gradle
2021-05-15 20:08:28 -04:00
INSANEMODE
85bf0c87d9
[Mangadex]fix crossdressing tag id (#6954)
* fix crossdressing tag id

the crossdressing id was using the ninja tag id "489dd859-9b61-4c37-af75-5b18e88daafc" when it should be "9ab53f92-3eed-4e9b-903a-917c86035ee3", as seen in https://api.mangadex.org/manga/tag

* Match tag names, and remove ecchi

spelling of tag names have been changed to match the api.
ecchi has been removed.

* Update build.gradle
2021-05-11 18:27:55 -04:00
Carlos
618c557f19
Update MangaDexHelper.kt (#6934)
typo fix
2021-05-09 19:20:22 -04:00
Carlos
185a0b4c37
Mangadex bug fixes and remove piedpiperfb (#6928)
* fix ongoing typo
fix original language filtering
fix filipino language

* remove piedpiperfb

* add chapter sort order

* add volume to the sort also
2021-05-09 19:07:06 -04:00
Carlos
86d0c8eb12
update to new ssl variable (#6917)
update wording for content rating prefs
2021-05-08 21:00:38 -04:00
FlaminSarge
4424edf879
[Mangadex] Fix authorMap being empty (#6905)
* [Mangadex] Fix authorMap being empty

* Revert build.gradle version
2021-05-08 12:01:29 -04:00
arkon
8a13a17a52 Add support for SwitchPreferenceCompat 2021-05-08 09:35:03 -04:00
Carlos
deec443983
More Dex Updates (#6900)
* MangaDex: remove empty tag, fix genre typo

- remove empty tag caused by null/empty publicationDemographic/other from nonGenres if its null/empty
- fix typo genre uuid

* better method removing empty tag

Co-Authored-By: Carlos <2092019+CarlosEsco@users.noreply.github.com>

* revert pt-br changes

Changing it to pt-br instead of pt-BR changed the id of the source and made the Mangadex in Brazilian Portuguese to be separed from the other Brazilian extensions (that uses pt-BR as lang)

Co-Authored-By: Alessandro Jean <14254807+alessandrojean@users.noreply.github.com>

* Update build.gradle

* String updates to support standard HTTPS in MD@H node selection

* Code updates to only use nodes with standard HTTPS in MD@H node selection

* Update build.grade to indicate new version

* fix preferences and langs

* low md@home to refresh host sooner

* add content rating by default preferences(defaults to safe and suggestive)

* throw error for page list parsing instead of trying to continue

* clean up string

Co-authored-by: Riztard <riyanluqman@gmail.com>
Co-authored-by: Alessandro Jean <14254807+alessandrojean@users.noreply.github.com>
Co-authored-by: fourquestionmarksokay <83817943+fourquestionmarksokay@users.noreply.github.com>
2021-05-08 07:27:08 -04:00
FlaminSarge
8744b25170
[Mangadex] Add Dex v5 artists (#6879)
* Add Dex v5 artists

* Revert Mangadex build ver
2021-05-07 07:47:15 -04:00
Carlos
9a45dc2f8e
Dex fixes (#6856)
* fix some langs

* dex bug fixes

* add temp cover

* local for languages, clean and capitalize demo/rating, fix tags not showing
2021-05-06 00:11:51 -04:00
Carlos
715bdcccc1
Dex V5 (note: their are no covers currently, you will need to migrate from dex to dex) (#6843)
* initial v5 stuff

* more v5 stuff

* slight changes

* add search

* clean up search some

* change athome parsing
clean up filters

* add Status options for search

* update to use batch author endpoint

* add more filters

* small fixes

* more fixes

* change error message
2021-05-05 19:55:50 -04:00
arkon
50bf2a56e5
Update dependencies; drop Android 4.x support (#6742) 2021-04-28 15:38:05 -04:00
OncePunchedMan
addce58067
changed rate limit to 2/sec (#6122) 2021-03-10 06:02:27 -05:00
Johannes Joens
9e41b7016c
[Mangadex] add language for chapters with out specified language (#6062)
* Add othere languege to Mangadex

* Update build.gradle
2021-03-04 08:20:02 -05:00