1334 Commits

Author SHA1 Message Date
Alessandro Jean
ae81ee5ded
Remove the try-catch wrapping in MangaDex. (#18716) 2023-10-25 16:05:10 -03:00
bapeey
10f75db080
MangaDex: Fix fallback url (#18685)
* Fix fallback url

* Use chain.proceed instead newCall

* Use dropWhile

* Handle data-saver
2023-10-23 23:07:16 -03:00
nicki
fc7598bdcf
more QoL fixes for MangaDex (#18672)
* fix spelling for villainess in en translations

* custom user agent + more md@h logging

adds a custom user agent setting primarily intended for testing
do note that spoofing to be a different browser might fetch you trouble
as MangaDex's new hotlink/bot abusers can kick in action

also add logging to figure out which MD@H node users are hitting
as currently, the fallback was not observed to be changing even after
a while; leading to user's keep failing to fetch images

* more improvements

make the `Extra` header more verbose
use a `customUserAgent` sharedpreferences variable so that code looks
cleaner
move the useragent logic into an interceptor so that there is no
need for restarting the app after every useragent change

* completely switch to useragent interceptor

removes builder header modification
remove additional logging while testing (didn't really work as
expected since I kept hitting uploads.mangadex.org anyhow,
+ the interceptor logs weren't useful otherwise)
switch to hardcoding version code in header since it wasn't working
as expected...
add linting from android studio gradle release build

* increment extVersionCode

* oopsie be careful of comments

* properly close unsuccessful requests to mdah node

need to ensure this so that it doesn't crash (which has happened before)

inb4 this is why the fallback url never works....
2023-10-23 13:45:32 -03:00
Alexandre Journet
8a49605cf2
Suwayomi: Add timeout (2min) waiting for Suwayomi staff to fix the problem (#18655)
* add huge timeout waiting for suwayomi to fix

* update versionCode

* fix: import TimeUnit and use MINUTES instead of SECONDS

---------

Co-authored-by: Alexandre JOURNET <alexandre.journet@axopen.com>
2023-10-23 13:44:27 -03:00
RePod
32e3c05c0f
LANraragi: Base64 NO_WRAP (#18649) 2023-10-21 13:38:58 -03:00
bapeey
691bf0030c
Fix MangaToon (#18533)
Fix Mangatoon
2023-10-13 14:13:09 -03:00
nicki
1c8478fcca
Don't think of mangadex chapter names as markdown (#18434)
* fix an edge case on chapter name cleaner

maybe closes https://github.com/tachiyomiorg/tachiyomi-extensions/issues/18407

* forgot about alt titles

* update javadoc to match the function usage
2023-10-08 18:47:05 -03:00
nicki
1d28b6dc89
Add missing magazine labels to mangaplus (#18433)
* Fixup adding more magazine labels

* increment ext.extVersionCode
2023-10-08 03:46:59 -03:00
Alessandro Jean
6b64899c4d
Fix an edge case in MangaPlus (#18427)
Fix an edge case in MangaPlus.
2023-10-07 22:50:41 -03:00
Alessandro Jean
9c595b3333
Add missing magazine to MangaPlus (#18372)
Add missing magazine to MangaPlus.
2023-10-04 17:16:02 -03:00
Alessandro Jean
42a3e238fe
Update MangaPlus to handle the subscription changes (#18367)
* Update MangaPlus to handle the subscription changes.

* Update the FAQ for MangaPlus.

* Remove unused import.
2023-10-04 13:58:39 -03:00
BrutuZ
ba7391e17a
[Comick] Make the group filtering case-insensitive (#18196)
Make the group filtering case-insensitive
* Remove redundant RegEx escaping
* Reformat code
2023-09-30 11:32:52 -03:00
BrutuZ
39f41520e0
[Comick] Added option to ignore user-defined groups (#18120)
Add a preference to ignore user-defined groups
2023-09-23 19:56:43 -03:00
Solitai7e
5e96403f74
Pixiv: fix chapter numbers and series details (#18113) 2023-09-23 19:56:36 -03:00
Vetle Ledaal
f0402f1f47
Xinmeitulu: skip ads (#17975) 2023-09-16 11:38:17 -04:00
AwkwardPeak7
0154639645
999h update url (#17900)
* 999h update urls

* manifest url
2023-09-11 22:43:05 -04:00
Basara-Hatake
06c931e48a
imhentai fix new images (#17879) 2023-09-10 15:45:11 -03:00
arkon
dc237650ea Revert to extensions-lib 1.4.2
Better to just wait for 1.5 to do the RxJava migration changes together for all APIs.
2023-09-08 22:47:40 -04:00
arkon
3da0424b9d
Update to extensions-lib 1.4.3 (#17781) 2023-09-02 23:23:30 -04:00
Theray Tharow
b06865f0c4
Add Comic Fury Extension (#17479)
* Add ComicFury Extension

Signed-off-by: Theray Tharow <TharowT@Tharow.net>

* Change pt to pt-BR as per alessandrojean
Updated Request Builders as per alessandrojean

added fun getMangaUrl to point to the archive page instead of the detail page to help with nfsw comic requiring to click accept on the archive page to allow tachiyomi to read the chapter/comic list

Signed-off-by: Theray Tharow <TharowT@Tharow.net>

* Use new siteLang as override for lang code for Manga Search as suggested by alessandrojean
Change notext lang to No-Text as commented by alessandrojean

Signed-off-by: Theray Tharow <TharowT@Tharow.net>

* Change No-Text lang to other-notext as suggested by alessandrojean

now shows up as Other (NOTEXT)

Signed-off-by: Theray Tharow <TharowT@Tharow.net>

* correct implementation misunderstanding and use extraName for the No text source, based on https://github.com/tachiyomiorg/tachiyomi-extensions/pull/6337

Signed-off-by: Theray Tharow <TharowT@Tharow.net>

---------

Signed-off-by: Theray Tharow <TharowT@Tharow.net>
Co-authored-by: Theray Tharow <TharowT@Tharow.net>
2023-09-02 20:06:36 -03:00
korafu
6812743bd9
fix(EveriaClub): update everia selectors (#17745)
* fix(EveriaClub): update tags selector #17743

* fix(EveriaClub): remove unrelated images from galleries #17744

* chore(EveriaClub): bump `extVersionCode`
2023-08-31 17:20:51 -04:00
arkon
a86ed92214
Remove usages of rxandroid (#17688) 2023-08-26 10:22:01 -04:00
AwkwardPeak7
9ba4cd8bc3
Holonometeria (#17638)
HOLONOMETRIA
2023-08-23 13:03:59 -03:00
korafu
2a73ba92c1
fix(EveriaClub): fix latest posts selector (#17632)
* fix(EveriaClub): update `latestUpdatesSelector`

* chore(EveriaClub): bump `extVersionCode`
2023-08-23 13:03:51 -03:00
AwkwardPeak7
7c9f020569
999Hentai: update cdn (#17617)
update cdn
2023-08-23 13:03:27 -03:00
AwkwardPeak7
36504841ee
Comick: nullable lang in chapter (#17611)
possible due to bad data
2023-08-20 12:23:30 -03:00
Alessandro Jean
9579b5f145
Minor improvements to the MangaDex code (#17573)
* Some minor improvements to the MangaDex code.

* Change capitalization of some other tags.
2023-08-19 11:56:14 -03:00
arkon
2a7801e876
Move package namespace declarations out of manifests (#17581) 2023-08-18 08:58:52 -04:00
AwkwardPeak7
1ef336b1ef
NovelCool: correctly parse api reponse on search (#17463)
correctly parse api reponse on search
2023-08-11 14:59:34 -03:00
nicki
d19e67ed2d
MangaDex: Add filtering to list search (#17460)
* increment extVersionCode

closes https://github.com/tachiyomiorg/tachiyomi-extensions/issues/17456

* add filtering to `list:`

* prefer using the constant instead

* revert to fallback url if MD@H node fails

* handle edge case in accessing list entries

mostly just to ensure the Retry message doesn't happen

* finish off TODO as manga redirects work fine nowadays

* linting

* add missing headers

this helps add the necessary tachiyomi ua and other stuff

* fix getMangaUrl
2023-08-11 14:59:21 -03:00
AwkwardPeak7
562e7fa256
Novelcool (#17430)
* Novelcool

very shit source

* use better selector to filter novels

* fix genre fetching in search

* add parsing logic for popular/latest as well

in case they break the app api
2023-08-09 14:55:27 -03:00
AwkwardPeak7
fc9a363934
999Hentai (#17425)
* 999Hentai

Coomer brain

* 999Hentai: small changes

* 999Hentai: refactor

* 999Hentai: put dates in preference

* 999Hentai: page number filter

* 999Hentai: image quality setting

* 999Hentai: fix null medium images...

* 999Hentai: remove useless helper file

* 999Hentai: small changes

* 999Hentai: fix deep link

* format filter

* exclude tags filter

* move around filters

* remove non-functional filter option
2023-08-07 16:32:07 -03:00
Alessandro Jean
7b48737ba8
Fix original language filter in MangaDex (#17369)
* Fix original language filter in MangaDex.

* Add new languages.
2023-08-05 10:30:45 -03:00
AwkwardPeak7
11eb5915ca
Comick: refactor code (#17364)
- fix filters not resetting
- add origination to genres
2023-08-03 14:35:06 -03:00
beerpsi
c367e3b126
Add a new lib-i18n to make message translation easier (#17336)
* Add support to better internationalization with a new lib.

* Add info about `lib-i18n` in the contributing guide.

* Use lib-i18n in M+ as well.

* Change properties files to UTF-8.

* use the assets/ folder instead of the res/ folder

files under assets/ are addressible by name

* mangadex: add string invalid_manga_id

* M+: Add translations for Vietnamese

* m+: Add Vietnamese to list of available languages

* mangadex: remove duplicate declarations

---------

Co-authored-by: Alessandro Jean <14254807+alessandrojean@users.noreply.github.com>
2023-08-02 14:52:00 -03:00
Solitai7e
31ae3fc43a
Pixiv: support partial tag matches (#17330) 2023-07-31 14:38:05 -03:00
Solitai7e
2a47132cf9
Pixiv: fix chapter dates (#17289) 2023-07-28 22:31:34 -04:00
AwkwardPeak7
ffd04a5671
Simply Cosplay (#17291) 2023-07-28 22:31:24 -04:00
iD-666
93e5bcf56b
Fix HTTP error 400 Status Filter (#17283)
* Change value from empty string "" to "0"

* Update build.gradle
2023-07-27 16:32:58 -03:00
Solitai7e
ef403d0381
Pixiv: fix users filter (#17281)
Pixiv: Fix users filter
2023-07-27 16:32:45 -03:00
Solitai7e
e8dce7f5e7
Pixiv: LruCache fix (#17279)
* Pixiv: LruCache fix

* requested changes
2023-07-27 13:53:56 -03:00
iD-666
ab0d6aceab
Add a Status search filter and remove 1 deleted sort in Comick (#17269)
* Add a Status filter and remove 1 deleted sort

* Add Status filter

* Update build.gradle
2023-07-27 09:34:10 -03:00
Solitai7e
2df5bdfa68
Pixiv: new filters, group-by-series support (#17256)
* Pixiv: new filters, group-by-series support

* requested changes

* whoops

* requested changes #2
2023-07-27 09:33:41 -03:00
Alessandro Jean
a59ef3a817
Refactor the MangaDex code a bit (#17267)
* Refactor the MangaDex code a bit.

* Bump the extension version.
2023-07-26 16:18:12 -03:00
Alessandro Jean
3a36568ed9
Add Vietnamese language to MangaPlus (#17233)
Add Vietnamese language to MangaPlus.
2023-07-23 12:47:31 -03:00
Vetle Ledaal
630c947027
Bato.to: remove broken mirrors, add new mirrors (#17211)
* Bato.to: remove broken mirrors

* Bato.to: add more mirrors

* create MIRROR_PREF_ENTRY_VALUES from MIRROR_PREF_ENTRIES
2023-07-22 09:47:35 -04:00
iD-666
d5afad1fdb
ComicK: Add new sort: "Newest" (#17188)
* ComicK: Add new sort: "Newest"

* ComicK: Update extVersionCode
2023-07-20 22:13:35 -04:00
AwkwardPeak7
5ce08316b0
NH: option to enable/disable random UA (#17156)
* NH: add option to disable random UA

* bump
2023-07-17 07:25:46 -04:00
AwkwardPeak7
50b5d33614
Random User-Agent Refactor (#17059)
* lib-randomua

* NHentai: Random mobile ua

* Madara random UA overhaul

* MangaThemesia random UA overhaul

* MangaHub random UA overhaul

* build errors and warnings

* remove preference from Constellar

* change to singleton object

* network.client

* fix copy paste and chapter deep link

* exit early

* use data class and enum options

* missing import

* suggested changes

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>

* re-add empty check to filters

* convert to interceptor

* update comment

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

* update error message

* initialize client by lazy

* dont check on excluded Filters

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>

* newlines

* move preference helper function into lib

* move preference helper function into lib x2

* move check to lib too

* move defaultRandomUserAgentType to constructor

* rename the interceptor

* organize the interceptor and preference stuff in different files

* hide custom ua setting when random ua is enabled

* English

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>

* catch specific exception

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>

* setVisible()

fresh stuff

* setVisible()

fresh stuff

* change summary

* workaround

* Update error message

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

* Update comment

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

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
Co-authored-by: Alessandro Jean <14254807+alessandrojean@users.noreply.github.com>
2023-07-15 19:52:35 -03:00
Alessandro Jean
dd0a128de0
Revert lib-i18n addition (#16990)
* Revert "Add a new `lib-i18n` to make message translation easier (#16942)"

This reverts commit 4e17c228cad1e789ca74ad592924d8bed6d925ea.

* Bump the versions.
2023-07-02 18:42:03 -03:00