1120 Commits

Author SHA1 Message Date
arkon
bc7d8c8672
Default libVersion to 1.2 (#9014) 2021-09-09 08:58:17 -04:00
nicki
11b5df29a7
DragonBallMultiverse hotfix: fix pages (#9016)
* fix chapter url

should just stick to using `setUrlWithoutDomain` everywhere possible

* increment dbm.extversioncode
2021-09-09 08:50:42 -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
nicki
f91e5f6b41
Update DragonBallMultiverse to new site layout (#9006)
* update link to manga

Closes https://github.com/tachiyomiorg/tachiyomi-extensions/issues/8568

* bump dbm.extvercode

* add more titles to ext

* add fetchMangaDetails override

so that refreshing manga works

* update chapterListSelector

so that it works on all titles, old and new

* refactor parsing chapter lists

since the selector was changed

* remember chapter currentTimeMillis

kind of a hack for setting `chapter.date_upload` cleverly so that it
doesn't update itself during library update
refer tachiyomiorg@50859e7

* refactor chapterFromElement again

because name inside SChapter.create().apply{} was ambiguous. made it
explicit to `chapter.name`

* fix value set to `chapter.chapter_number`

* revert chapterListParse

remembering currentTimeInMillis doesn't really work for now. Can just
add it if requested later

This commit reverts 459057829

* remove unused add override for chapterFromElement()

* create absolute links instead of fetching them

so that I can set the chapter names correctly
2021-09-07 19:47:22 -04:00
nicki
47f5ac549f
CommitStrip: fix parsing single page entries (#8951)
* Fix pages that can be null

* bump commitstrip.extvercode
2021-09-04 13:59:23 -04:00
nicki
4dae303049
Fetch language explicit chapters links for CommitStrip (#8922)
* fix Ext icon in Extensions list

replaces android-studio-created image assets that lead to blank images in
Extensions list (in app and in https://tachiyomi.org/extensions as
well). Usually due to there being fg bg and xml files and not just a
single png file

Co-authored-by: as280093 as280093@gmail.com

* fix chapters not parsed for single page archive

latest archives (as of writing, 2021) can just have one page in which
case parsing to find total no of pages doesn't really work. In these
cases, just send a single request and that'd be all

* use lang specific chapter links

be default each chapter gives a link like this:
 https://www.commitstrip.com/2020/03/23/a-mask-for-everyone/
which then is redirected to the lang by remembering browser state
instead we can force the link to be the lang specific one i.e.
 https://www.commitstrip.com/{en,fr}/2020/03/23/a-mask-for-everyone/

* fix link to WebView

sets the correct to be opened when using Open in WebView or Share

* Revert "fix chapters not parsed for single page archive"

This reverts commit 4722790a8db905ba18259758cbf9ed47890e9eff.
Didn't really work like I expected. Time to try another route

* bump commitstrip.extversioncode
2021-09-01 08:01:31 -04:00
loocool2
465b6e05af
Filtered comikey chapters (#8888) 2021-08-30 08:04:16 -04:00
nicki
e7369b1b38
Add extension CommitStrip (#8878)
* the journey to a commitstrip ext begins

copies over skeleton code from reallifecomics and renames files and
folders to match new extension

also creates a sourcefactory since the site has both en and fr variants

* generate SManga entries

since the site is able to show comics by year, we'll create one SManga
entry for every year.

Also aware of siteLang since it has brings some changes

Archive years start from 2012 to current year

* update build.gradle with commitstrip details

uses CommitStripFactory

* add chapter list selector and parse it

comic entries don't really have a numbering in the website except for
their dates so we'll just keep our own numbering

needs to be reversed because the website shows the latest one first

need to add paging

* use better logo url

* parse chapter from Element

gets the url, regexes the url to find a date, and sets a name using a
selector on the chapter element

still didnt attempt paging yet btw

* use correct selector for chapter pages images

* fix package info

actually forgot abt the things at top
also made `siteLang` private because android studio recommended that

* actually use the correct logo link for thumbnail...

* use `lang` instead of `siteLang` at some places

`siteLang` is used when creating URLs and for extension stuff like
creating SManga object, it's better to use `lang` I feel.
In the end, it doesn't matter in this case because both are the same for
this extension.

* remote `private val` as per speculation

constructor parameter is never used as a property
and so `val` can be removed
this avoids more memory use due to unnecessary use
 - android studio

* Add ext app icon

The entire image assets placed in `res` folder. Made possible by their
actual logo (small version), which for some reason refused to work as
`SManga.thumbnail_url`

* linting

* adjust `baseUrl` usages

rather than having `siteLang` inside the `baseUrl`, better to have it
explicitly used everytime.

also fixes `thumbnail_url` because the link to the logo is broken when
you include `siteLang` in `baseUrl`

* create `manga.url` explicitly

since fetchChapterList will be overridden and its easier to have a full
url to make a client.newCall rather than setUrlWithoutDomain

* `thumbnail_url` doesn't need `siteLang`

and I forgot abt that

* add pagination for fetchChapterList

tried to reuse whatever I already had to support pages

might be slow because I do one extra request for Page 1 and some manga
have too many pages (like 11) each with 20 comics

* rewrite how pages are obtained

since I changed `manga.url`, that changes `chapter.url` and so that
implied a change to the page list as well.

* maybe optimize chapterList a bit

still a bit slow because some of them have a lot of pages but wanted to
reduce an extra request just to get total no of pages.

* just use your own links for the logo

can't get the logo to load from the link even though it worked. Might as
well get your own links to the logo. While I was searching, also found a
cool logo in FR so I kept that.

Both logos taken from the webcomics' Kickstarter and Ulule fundraisers

* Revert "maybe optimize chapterList a bit"

This reverts commit 672db52460cf597f28a80f24de3a7659f4c7a939.
because that didn't work. at all..

* remove unused variable
2021-08-30 08:03:45 -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
mountfox
67bde7f28c
Stop overwriting request user-agent when bypassing Cloudflare (#8771)
* Bypass cloudflare WAF using webview

* MyReadingManga: remove single cookie when bypassing Cloudflare

* Don't overwrite request header when bypassing Cloudflare
2021-08-23 07:21:18 -04:00
Arraiment
1e6d92e0a5
Add url intent and id search for IMHentai (#8700)
* Add url intent and id search

* Slight refactoring and fix image loading
2021-08-22 10:37:42 -04:00
Aria Moradi
dd07318201
Tachidesk: fix crash issues (#8735)
* fix tachidesk crash issues

* re-format file
2021-08-22 10:36:26 -04:00
Aria Moradi
070ef60753
add compatibility with Tachidesk-Server v0.4.7 (#8717)
* better baseUrl pref name

* add compatibility with Tachidesk-Server v0.4.7
2021-08-21 19:37:18 -04:00
happywillow0
8bfbfe7f43
Fix NineMangaEn (#8709)
- Ignore subdomain completely for en site.
2021-08-21 13:33:02 -04:00
Alessandro Jean
f3a4f33666
Fix inspector build exception (again). (#8619) 2021-08-17 21:55:33 -04:00
Alessandro Jean
51ff911e0e
Escape entities in Bato.to (#8613) 2021-08-17 21:17:46 -04:00
Alessandro Jean
b25fce871a
Fix inspector build exception. (#8612) 2021-08-17 21:16:40 -04:00
mountfox
10c2dc0395
Bypass cloudflare WAF using webview in MyReadingManga (#8562)
* Bypass cloudflare WAF using webview

* MyReadingManga: remove single cookie when bypassing Cloudflare
2021-08-17 17:45:28 -04:00
Arraiment
24b583ac6a
Ninehentai json migration and other changes (#8552)
* Migration to kotlinx.serialization

* Refactoring and changed search implementation

* Add url intent

* Small fixes
2021-08-14 05:46:43 -04:00
Arraiment
aa2b301ac1
Hitomi.la issue fixes (#8554)
* Fix page url requests

* Add keyword search url encoding
2021-08-14 05:45:28 -04:00
Alessandro Jean
4c8e27c1ec
Add Russian to MangaPlus. (#8513) 2021-08-10 14:04:25 -04:00
Gauthier
a80e03cf4e
[Komga] show readlist summary, search and display series aggregated tags (#8489)
* display and search aggregated book tags at series level

* display readlist summary

* bump version
2021-08-09 06:57:38 -04:00
Arraiment
6470dd5245
Migrating 3 sources to kotlinx.serialization (#8463)
* HentaiHand: Migration to kotlinx.serialization

* SimplyHentai: Migration to kotlinx.serialization

* Kangaryu: Migration to kotlinx.serialization
2021-08-08 11:38:14 -04:00
Alessandro Jean
ed8266fb68
Fix Duktape decoding not working in MangaPlus. (#8444) 2021-08-07 11:59:47 -04:00
Alessandro Jean
97b59f6623
Update MangaPlus API endpoints. (#8421) 2021-08-06 14:17:21 -04:00
CVIUS
0ec75f451d
MPv3: replace icon with better one (#8387)
* mpv3: replace icon with better one

* bump version
2021-08-04 07:16:18 -04:00
Arraiment
633ebe7e7c
Comick.fun: Fixes genre missing for some manga (#8390)
* Fix json parsing for genre tags

* Updated version
2021-08-04 07:15:10 -04:00
Aria Moradi
94915eeb0f
add Tachidesk extension (#8361)
* add Tachidesk extension

* rewrite with kotlinx-serialization

* apply suggestions by @ObserverOfTime

* linter must lint

* map Tachidesk MangaStatus to SManga constants

* raise exception when baseUrl is empty

* defensive programming

* print Exception to Log.e instead

* cesco asked for this...
2021-08-03 10:13:00 -04:00
nicki
ac49213658
Fix typo in word Original in Mangadex Settings+ (#8285) 2021-07-26 14:04:38 -04:00
Arraiment
8bb02faff1
nhentai: Filtering by pages (#8260)
* Added page filter

* Updated version
2021-07-26 07:29:33 -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
Alessandro Jean
58e83d29cb
Make rate limit more harsher in Brazilian sources (#8208)
* Make rate limit more harsher in Brazilian single sources.

* Make rate limit more harsher in Brazilian multisrc sources.
2021-07-21 11:25:36 -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
E3FxGaming
b87a5935b8
Cubari release_date fix + volume null fix (#8163)
* Fix for Cubari API response not containing chapter release_date

Cubari API responses don't contain release_date information when the Cubari source is Imgur.
The minor change made with this commit makes the existence of the release_date json property for the parsing process optional.

* Fix for Cubari volume "null" and cleaned up chapter name generation

If the volume is set to null in the json, it's now recognized as not specified.
Also cleaned up the chapter name concatenation.
2021-07-18 06:29:43 -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
Seishirou101
aea0eb6daf
fix cubari upload date (#8126)
* fix upload date

* change sketchy method
2021-07-17 14:52:25 -04:00
Gauthier
3ff3a4f82f
filter deleted series and books (#8132) 2021-07-16 06:23:22 -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
Charles Lee
f098832504
Update firstSubdomainFromGalleryId in hitomi.la (#8092)
Updated with latest logic from ltn.hitomi.la/common.js
2021-07-13 09:27:17 -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
Johannes Joens
03850d43a7
nHentai.com switch to kotlinx and add support for multilang (#7990)
* Create NHentaiCom.kt

* Create NHentaiComFactory.kt

* Create NHentaiCom.kt

* Delete NHentaiCom.kt

* Create build.gradle

* Create AndroidManifest.xml

* Added Icons

* Remove Single Lang files

* Added (unoriginal) back to naming

* Changed name back to (unoriginal) ending

* Removed Langues

* Update NHentaiComFactory.kt

* Update NHentaiCom.kt

* change from try to runCatching
2021-07-07 05:52:33 -04:00
FourTOne5
774b0a3de4
MangaPark v3 Genre Search Fix (#7938)
* Update build.gradle

* Update MangaPark.kt

* Update MangaPark.kt
2021-07-02 08:16:06 -04:00
h-hyuuga
72fd4cc564
Comick.fun: Fix parsing issue for nullable chapter numbers (#7902) 2021-06-28 05:50:09 -04:00
Gauthier
5876f259c8
fix user-agent (#7865) 2021-06-25 08:45:53 -04:00
arkon
0640b31137 Fix linting errors 2021-06-20 12:06:27 -04:00
h-hyuuga
759a2123c1
Kotlinx.serialization migration for several sources (#7723)
* en.MangaPark: kotlinx.serialization migration

* Bato.to: Kotlinx.serialization migration

* Dynasty: Kotlinx.serialization

* ReadM: kotlinx.serialization migration

* Bato.to: Comment out code that was untested
2021-06-20 08:28:26 -04:00
vulpes310
2e062b2929
[Hitomi.la] Remove hardcode image path condition (#7724)
[FIX] Remove hardcode image path condition

Rather than hardcoded conditons for determining image path's first subdomain,
the extension now dynamically load the condition by parsing the condition from
Hitomi.la's common.js. This should keep the cat and mouse chase a little bit longer.

[REFACTOR] Simplify regular expression for id extraction
2021-06-18 05:52:48 -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