Commit Graph

42 Commits

Author SHA1 Message Date
nicki 951ca60b56
New Lib: Text Interceptor (#13859)
* move TextInterceptor to `lib`

to be used for author notes, image alt texts and what not

* refactor Tapastic to use `lib:extensions-lib`

* Refactor Webtoons to use `:lib-textinterceptor`

this turned out to be more complicated than I thought it'd be
TextInterceptor was used for Author Notes which, looking at previous messages,
was only intended to be added to Webtoons Source and not the entire webtoons
multisrc (i.e. WebtoonsTranslate and DongmanManhua don't seem to be making use
of the Show Author's Notes setting). This was in my favor, since having
to deal with additional.gradle to add dependencies to multisrc files doesn't
seem to work... I'll ask previous contributors just in case

* Fix `json` access

missed this while copying over code from `generated-src` to `multisrc/{overrides,src}`

* remove unused import

* make HOST name more clear

couldve used a better schema but that's something for some other time
also put the HOST in the lib itself so that one doesn't lose track of it in the extensions

* use android provided methods instead of hardcoding

based on https://github.com/tachiyomiorg/tachiyomi-extensions/pull/13859/files#r996276738
that suggested the following SO answer: https://github.com/tachiyomiorg/tachiyomi-extensions/pull/13859/files

* remove unused import

* move url generation to helper function

* fix error

oops sorry for that
happened when I was copy pasting back and forth between two sources and one generated source

Co-authored-by: Navaneeth M Nambiar <nmnambiar@hornbill>
2023-01-11 14:34:06 -03:00
pratyush3757 144d9bb004
Replaced CryptoJS with javax.crypto for Comico (#13572) 2022-09-24 23:34:07 -03:00
pratyush3757 6147a40686
BatoTo: Replace CryptoJS use with javax.crypto (#13562)
* Replace CryptoJS use with javax.crypto

* Migrated BatoToCryptoUtils to a lib module

* Replaced CryptoJS with javax.crypto for Mangapark
2022-09-24 15:53:39 -03:00
stevenyomi 445af0f144
Move unpacker lib to extension repo (#13565)
It was hosted at https://github.com/stevenyomi/unpacker
2022-09-24 12:01:52 -04:00
arkon 1905256b08
Refactor to use app-provided rate limiting interceptors (#12089) 2022-06-05 17:51:18 -04:00
arkon e443af81b7
Update Gradle and AGP (#12075) 2022-06-05 10:47:25 -04:00
Andreas 5145eec280
Re: Use Gradle version catalog to simplify dependencies (#10953)
* Use Gradle version catalog to simplify dependencies

* Changes based on review comments

* Remove libs variables in buildScript

- Not needed in this Gradle version
2022-02-28 07:25:23 -05:00
arkon 985f285fc7 Revert "Use Gradle version catalog to simplify dependencies (#10938)"
This reverts commit c83960aaef.
2022-02-27 09:53:18 -05:00
Andreas c83960aaef
Use Gradle version catalog to simplify dependencies (#10938)
* Use Gradle version catalog to simplify dependencies

* Changes based on review comments
2022-02-27 09:49:41 -05:00
arkon 39b7fe8c4e
Move Duktape stub to extensions-lib (#9954)
* Move Duktape stub to extensions-lib

* Formatting fixes

* Address build errors
2021-11-28 13:00:39 -05:00
arkon 4f59751cb0
Remove explicit build tools version (#9013) 2021-09-09 08:57:15 -04:00
arkon 3d0af119ce
Compile to SDK 30, update lib dependencies (#7187) 2021-05-22 16:04:17 -04:00
arkon 50bf2a56e5
Update dependencies; drop Android 4.x support (#6742) 2021-04-28 15:38:05 -04:00
Aria Moradi 0ce4416f09
Multisrc bugfix and genkan refactor (#5707)
* themesource bugfix, refactor genkan

* revert 3da46570aa
2021-02-08 16:37:48 -05:00
arkon 3da46570aa Move annotations and Duktape stub into core module 2021-02-06 18:16:04 -05:00
Oldwangtouchtouchdoge b77d42a941
<zh-dmzj>Add ratelimit to fix HTTP 429 and return webpage url to "Open in browser" and "Share manga". (#5537)
* <zh-dmzj>Add ratelimit to fix HTTP 429 and return human readable webpage url to "Open in browser" and "Share manga".

* Add ratelimit interceptor that only handle specific url host.
2021-01-25 07:29:10 -05:00
arkon d84a4c90b1
Project reorganization (#5096)
* Rename AndroidConfig to Config

* Move base AndroidManifest.xml

* Make fallback icons into an Android module

* Add example of how to only load a single extension in Gradle project
2020-12-11 09:41:48 -05:00
arkon be6c269621
Use Kotlin DSL for library gradle files (#3628) 2020-06-27 14:02:46 -04:00
arkon 3bd98888ee Use Kotlin DSL for Duktape stub gradle file
- Update to Java 8
- Move stub to common.gradle
2020-06-26 09:08:00 -04:00
Mike 7e9bb52cbc
Manga Ship extension, DataImageInterceptor (#3177)
* Manga Ship extension, DataImageInterceptor

* tweak regex
2020-05-18 22:30:26 -04:00
arkon dbcb0117cd Remove preference-stub (moved into extension-lib 1.2) 2020-05-09 11:43:41 -04:00
arkon 9fe99e58cb Update build tools for lib-ratelimit 2020-04-25 10:29:23 -04:00
arkon 9f706ad4bc Remove unused file 2020-03-29 12:24:51 -04:00
happywillow0 08907a0896
Revert last four commits (#2337)
Revert last four commits
2020-03-01 19:03:22 -05:00
arkon 37f61f602b Update to SDK 29 in ratelimit module 2020-03-01 18:05:05 -05:00
arkon 9e56e96d72 Remove unused extension lib module 2020-03-01 15:23:15 -05:00
ObserverOfTime e23b69f8a7
More HTTPS upgrades (#2057) 2020-02-22 23:35:13 -05:00
DitFranXX 44c1ebba51
Update Preference Stubs & Update Manamoa extension (#2087)
* Add TwoStatePreference and CheckBoxPreference stubs

* Add setEnabled on Preference, Formatting again.

* Remove isEnabled. Thanks to API difference between androidx and v7 libs

* Initial support of their new site announcing algorithm.

What the heck is DDOS-GUARD

* Apply changes of announcing algorithm that can work with tachi >_<

It will uses main thread that cause temp freeze when enter browse

* Clean up codes little bit.

* Simplify Decoder

* Finalize update.

* Try-Catch on req failed.
* Update build.gradle

* Use regular network client.
2020-01-31 23:12:34 -05: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
arkon f335365b01
Update to build tools v29.0.2 (#1920) 2019-12-26 12:52:26 -05:00
arkon 9ff7da20e5
Add tachiyomi-extensions-lib as module (#1919) 2019-12-26 12:34:43 -05:00
Edgar Mejía ee91ca7c1f Fix TMO, again. (#1183)
Fix TMO, again. #1166
2019-06-11 07:19:04 -04:00
Edgar Mejía 5fda10228b Fix TMO error. (#1175)
Fix TMO error #1166
2019-06-09 20:35:47 -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 5ea7a40919
Move rate limit interceptor logic to module (#1100) 2019-05-11 11:30:15 -04:00
DitFranXX 9105f9aef8 Update MSM Extension. (#1061)
* Improve Preference-stub

* Re-arrange some stubs to correct class.
* Add `EditTextPreference`.

* Update MSM extension.

* Update filter.
* Fix image fetch due to site changes (v4 -> v11)
* Add BaseUrl Override for site domain changes.
  - Korean sources are change domain every 1-2 weeks due to internet censorship.

* Add missing file `EditTextPreference.java`

* Fix tags.
2019-04-27 10:40:07 -04:00
Alessandro Jean cc8b28d7c9 Add MangaPlus by Shueisha (#755)
Add MangaPlus by Shueisha
2019-01-31 10:23:11 -05:00
Eugene 71806a3d1d Use compileOnly instead of provided in Gradle files (#438)
Use compileOnly instead of provided in Gradle files
2018-08-05 15:51:58 -04:00
Carlos 4266908f14
mangadex: r18 property support, add title during json, add [END] tag (#323)
* mangadex: r18 property support

* removed log statement

* fixed browse/latest not updating on property change

* clean up formatting

* Mangadex:
adds [END] tag back on final chapter.
Assign title during details parse

* move to preference-stub

* add summary

* fixed finished status
2018-05-20 20:23:13 -04:00
len 0c26d11846 Update bundled sources. Add duktape stub lib. Update gradle 2017-06-01 17:49:38 +02:00