60 Commits

Author SHA1 Message Date
arkon
2a7801e876
Move package namespace declarations out of manifests (#17581) 2023-08-18 08:58:52 -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
Buhbbl
4c13a20634
NHentai: Remove hardcoded User-Agent (#15727)
Fixes Issue #15719
2023-03-15 22:29:53 -04:00
arkon
e1f59a845e
Update jsoup (#15321) 2023-02-11 22:22:32 -05:00
arkon
baaee5cf21
Update linter (#15317) 2023-02-11 14:21:03 -05:00
Alessandro Jean
5093e6a5fa
Update to extensions-lib 1.4 (#15298)
* Update to extensions-lib 1.4.

* Fix a syntax error in NM.

* Add UpdateStrategy to Nana as well.
2023-02-11 10:44:48 -03:00
Vetle Ledaal
471a45ba95
NHentai: set User-Agent to get past Cloudflare (#13130) 2022-08-22 12:31:19 -03:00
MatchaSoba
991004a098
nhentai: Fix favourites selector and add offset filter (#12746) 2022-07-26 13:43:41 -03:00
arkon
d33f0fe903 Bump versions for individual extension with URL handler activities 2022-06-06 21:03:06 -04:00
arkon
341d067afc
Refactor to use app-provided rate limiting interceptors (#12087) 2022-06-05 16:33:49 -04:00
Basara-Hatake
3102383317
nhentai remove id check (#11721) 2022-05-03 17:53:46 -03:00
Basara-Hatake
1a77eee1aa
nhentai fixes (#11020)
* fix nhentai images

* increase version

* fix popularmanga for all languages

* dont include popular now in latest

* fix empty query
2022-03-05 12:26:47 -05:00
nicki
0ce1eee2d5
NH, Hitomi: Move lang Other to lang All (#10430)
* NH: Move 'Other' to 'All'

* hitomi: move 'Other' to 'All'
2022-01-11 09:59:20 -05:00
arkon
6a75de9261
Remove usage of @Nsfw annotation in favor of extension-level flagging (#9368) 2021-10-04 16:44:32 -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
Arraiment
8bb02faff1
nhentai: Filtering by pages (#8260)
* Added page filter

* Updated version
2021-07-26 07:29:33 -04:00
arkon
50bf2a56e5
Update dependencies; drop Android 4.x support (#6742) 2021-04-28 15:38:05 -04:00
arkon
209db287a3 Fix URL intent handler manifest entries 2020-12-20 22:59:04 -05:00
Aria Moradi
33f136d2ae
Fix Android Studio "Duplicate content roots" error (#5203)
* comply with #5214

* rm not needed AndroidManifest.xml

* [CI SKIP] add info about AndroidManifest.xml

* Update CONTRIBUTING.md

Co-authored-by: arkon <arkon@users.noreply.github.com>
2020-12-20 22:31:12 -05:00
arkon
016653bdc0
Update Kotlin, coroutines, kolinter (#4363)
* Update kolinter, address some build warnings

* Update to Kotlin 1.4.10, coroutines 1.3.9
2020-09-13 18:33:59 -04:00
jobobby04
908d2e9d09
NHentai - add a "other" language for those who want to use NHentai unfiltered (#4084) 2020-08-12 00:04:28 -04:00
arkon
656f74cbc5 Annotate more sources as NSFW 2020-08-10 11:44:39 -04:00
arkon
149bda765b
Add ability to flag extension as NSFW (#4053) 2020-08-08 15:59:03 -04:00
Mike
14ce7017e8
NHentai - fix shortened titles (#3918) 2020-07-26 21:32:19 -04:00
Mike
cb5865ffb7
NHentai - safe call (#3677) 2020-07-03 01:59:29 -04:00
arkon
023c26b4a0 Make "Tachiyomi" app name prefix implicit 2020-06-25 22:46:15 -04:00
Rama Bondan Prakoso
991704be0b
NHentai: More filters (#3599)
* NHentai: More filters

Signed-off-by: Rama Bondan Prakoso <ramanarubp@gmail.com>

* NHentai: Add space
2020-06-24 16:39:13 -04:00
arkon
8444b4c008 NHentai: handle ID searches 2020-06-17 23:00:30 -04:00
arkon
5087fdbf61 NHentai: add rate limiting 2020-06-13 19:40:34 -04:00
arkon
eb5185c4e2 NHentai: use default headers 2020-06-13 16:32:59 -04:00
arkon
396c203047 NHentai: fix tag parsing 2020-06-09 09:15:14 -04:00
Mike
7a0b545316
NHentai - fix pages (#3455) 2020-06-09 02:38:48 -04:00
arkon
efc1877172
Move common app-provided dependencies to common.gradle (#3214) 2020-05-17 16:50:53 -04:00
arkon
dbcb0117cd Remove preference-stub (moved into extension-lib 1.2) 2020-05-09 11:43:41 -04:00
arkon
5d5c6016ea Lint fixes 2020-04-25 10:29:23 -04:00
arkon
de48a293a5 NHentai: fix sorting (fixes #2608) 2020-04-10 09:40:02 -04:00
arkon
906d76a9aa NHentai: use genre for tags, support favorites filter when logged in 2020-04-04 12:01:52 -04:00
Mike
f93f28cbd4
NHentai - sort filter (#2440)
NHentai - sort filter
2020-03-18 08:17:49 -04:00
arkon
98df581cfd
Add support for AndroidX preferences (#1971)
* Add stubs for AndroidX preferences

* Update extensions for AndroidX preferences
2020-01-05 11:16:12 -05:00
Mike
f6c80ee3a4 NHentai update (#1809) 2019-11-22 17:48:04 -05:00
Eugene
b81d7ad2aa
NHentai: switch to SourceFactory 2019-10-27 17:46:54 -04:00
Eugene Cheung
e267352b13
Revert module changes (closes #1129) 2019-05-24 23:03:28 -04:00
Eugene
084960736e
Merge ratelimit/urlhandler libs, set okhttp as compileOnly (#1130) 2019-05-23 21:44:15 -04:00
Eugene
b48900b8b7
Abstract URL handling intent logic to library (#1128) 2019-05-23 17:45:35 -04:00
Eugene
336a9be09f
NHentai: add ID intent (#1127) 2019-05-22 21:57:07 -04:00
Eugene
2702a755c5
NHentai: fix thumbnails (closes #1088) (#1125) 2019-05-21 19:07:49 -04:00
Eugene
e8b8a9e515 NHentai: fetch thumbnails directly from page response, add version to user agent (#953)
NHentai: fetch thumbnails directly from page response, add version to user agent
2019-03-20 20:20:35 -04:00
Eugene
6c46cc395c NHentai: update user agent, introduce artificial delay for fetching images (fixes #938) (#947)
NHentai: update user agent, introduce artificial delay for fetching images (fixes #938)
2019-03-20 04:33:00 -04:00