Commit Graph

6 Commits

Author SHA1 Message Date
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
arkon baaee5cf21
Update linter (#15317) 2023-02-11 14:21:03 -05:00
arkon 1905256b08
Refactor to use app-provided rate limiting interceptors (#12089) 2022-06-05 17:51:18 -04:00
Alessandro Jean 82a59cb6d5
Bypass CF in HT (closes #11176). (#11179) 2022-03-20 13:11:44 -04:00
Alessandro Jean 219bf0b1d2
Add support to string l10n in Madara (#10814)
* Localize the Madara strings.

* Lint some overrides.

* Add missing comma.

* Fix build error due to final in multilang sources.

* Fix typo in author string.

* Fix a merge conflict.
2022-02-28 16:37:21 -05:00
Alessandro Jean 5d7f7e202a
Add a new source to Madara (closes #10535). (#10541) 2022-01-22 09:48:19 -05:00