Commit Graph

1188 Commits

Author SHA1 Message Date
ThePromidius 818bedc955
Kavita: Bug fixes and changes for tracking (#10904)
* Fixed filters not populating if user was not admin

* Updated search, changes needed for tracking and changes in login

* Bump ext version
Updated Changelog
Updated Readme

* changed url query to proper HttpUrl builder

Co-authored-by: Vetle Ledaal <vetle.ledaal@gmail.com>

* changed url query to proper HttpUrl builder

Co-authored-by: Vetle Ledaal <vetle.ledaal@gmail.com>

Co-authored-by: Vetle Ledaal <vetle.ledaal@gmail.com>
2022-02-23 04:46:32 -05:00
Gauthier 2a793c16ac
feat: prepend series title in front of book name for read lists (#10831) 2022-02-15 07:38:30 -05:00
Basara-Hatake 0f854ff5cc
imhentai fix some images not loading (#10724)
* imhentai fix some images not loading

* cleanup

* typo
2022-02-05 20:27:07 -05:00
jopejoe1 b9bc7e324a
Luscious: Change default resolution to `Original` (#10718)
* Change default resolution to Original

* Update README.md

* Update CHANGELOG.md

* Update build.gradle
2022-02-05 17:03:02 -05:00
ObserverOfTime 54c55117c8
Izneo: fix missing chapters (#10711) 2022-02-05 12:44:51 -05:00
ObserverOfTime 9f83a8a6ee
Tappytoon: fix image downloads (#10710) 2022-02-05 12:44:44 -05:00
nicki a60274e18b
MangaDex: Remove wildcard deeplinking (#10688)
* move more regexes into companion object

* Remove wildcard domain intent

too many issues. Might as well have the extension only support
mangadex.org links

* Increment mangadex.extVersionCode
2022-02-04 18:13:01 -05:00
jferdous70 2a180832e7
Added Cloudflare client to Lanraragi (#10675)
* Added Cloudflare client

* Bumped ext version
2022-02-04 05:28:28 -05:00
nicki 81e98ae6ae
MangaDex: Clean manga descriptions (#10674)
* MangaDex: Clean manga descriptions

Closes #10610

* Incrememnt mangadex.extVersionCode

* Remove bbcode cleanup utility

Since bbcode has been replaced with markdown. So, this is no longer
required

* Don't forgot to unescape html characters

bbcode might be gone but &hearts still need to be converted to ♥

* Update `cleanString` method description

* Remove trailing newlines

Using Trim takes cares of whitespace too

* Move regex to companion object

so that they dont get instantiated everytime

* Revert "Incrememnt mangadex.extVersionCode"

This reverts commit 73c89933cc36cb41fd6691641c75acf0b6f49c45.
Will be added back in a separate minor PR
2022-02-04 05:26:31 -05:00
jopejoe1 f4928ebd7e
Add HentaiHand multisrc (#10664)
* Delete src/all/hentaihand directory

* Delete src/all/nhentaicom directory

* Delete src/en/readmanhwa directory

* Add HH multisrc

* Update version numbers

* Update HentaiHandGenerator.kt

* Add overrides and icons
2022-02-03 06:07:16 -05:00
jopejoe1 cb1cf8f2d8
Dragon Ball Multiverse fix Chapter list (#10620)
* Update DbMultiverse.kt

* Update DbMFactory.kt

* Delete DbMultiverseEN.kt

* Update build.gradle

* Add mssing language

* Forgot a , while adding a new lang
2022-01-31 07:11:46 -05:00
Alessandro Jean 0a1cd70a45
Fix 401 error in Bilibili (closes #10622). (#10631) 2022-01-31 07:10:20 -05:00
Alessandro Jean 121b012a34
Add ability to read already paid chapters in Bilibili (#10593)
* Add ability to read already paid chapters in Bilibili.

* Add a README to the extension.
2022-01-29 06:29:29 -05:00
jopejoe1 ef91dafd50
Add README files for various extensions (#10567)
* Updatte Komanga readme

Co-authored-by: Andreas <6576096+ghostbear@users.noreply.github.com>

* Add Readme to LANraragi

* Add ReadME to LANraragi

* Update build.gradle

* Update Komga readme

* Add Kavita ReadMe

* Update build.gradle

* Update README.md

* Add Cubari Readme

* Update build.gradle

* Add changelog to Cubari

* Add Changelog to Kavita

* Add LANraragi Changelog

* Add Readme to Bato.to

* Update build.gradle

* Add Changelog to Bato.to

* Update CHANGELOG.md

* Update src/all/lanraragi/README.md

Co-authored-by: Andreas <andreas.everos@gmail.com>

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

Co-authored-by: Andreas <6576096+ghostbear@users.noreply.github.com>
Co-authored-by: Andreas <andreas.everos@gmail.com>
2022-01-28 00:49:56 -05:00
Alessandro Jean 0b177c3183
Add a README file to Manga Plus. (#10579) 2022-01-28 00:49:25 -05:00
FourTOne5 47591d528c
Fix broken links. (#10570) 2022-01-24 13:04:17 -05:00
jopejoe1 b7a1f920fa
Komga: Added README file (#10566)
* Update CHANGELOG.md

* Create README.md

* Update build.gradle

* Update CHANGELOG.md
2022-01-24 07:47:32 -05:00
jopejoe1 b08c6d90b7
Put the files in worng folder in last Pr (#10565)
* Delete CHANGELOG.md

* Delete README.md

* Delete build.gradle

* Delete AndroidManifest.xml

* Delete src/all/src/eu/kanade/tachiyomi/extension/all/luscious directory

* Put files in right place this time

* Update build.gradle
2022-01-24 06:01:04 -05:00
ThePromidius 59380ed6f4
Add Kavita extension (#10241)
* Trying out git
Sorry in advance if this messes up.
Trying to work on my extensions fork to develop a new extension

So far Mangas are listed Successfully.

* Added Kavita Icons

* Added Kavita ParseDetails. All data is retrieved the first time SManga is created, but reimplemented since it retrieves info from backup

* Added Chapter List

      "chapters": [
        {
          "id": 750,
          "range": "1.1",
          "number": "11",
          "pages": 16,
          "isSpecial": false,

        },
        {
          "id": 767,
          "range": "001.jpg",
          "number": "0",
          "pages": 5,
          "isSpecial": true,

        },
        {
          "id": 818,
          "range": "1.3",
          "number": "13",
          "pages": 8,
          "isSpecial": false,

        },
        {
          "id": 817,
          "range": "1.4",
          "number": "14",
          "pages": 12,
          "isSpecial": false,

        },
        {
          "id": 768,
          "range": "002.jpg",
          "number": "0",
          "pages": 5,
          "isSpecial": true,

        },
<- extracted json
see how when isSpecial, number = 0
Needs to be fixed

* Delete .github/ISSUE_TEMPLATE directory

* Checklist:
 ✓ It Lists the library
 ✓ It Lists the chapters of a serie
 ✓ Clicking on a chapter shows the image

* New Icons & login finished
Added token isvalid else relogins
Login should be confirmed of not having problems

* Changed Defaults to Kavita Wiki's

* Added Search Manga Feature

* Removed User Authentication. Leaving only token Behind

* Refactored out login credentials and rewrote the authentication for joining. user now just puts in base path and api key

* Cleanup some of the code and re-arange to keep related code together.

* Cleanup some of the code and re-arange to keep related code together.

* Still WIP, stream lined creation of Series and Series detail. Chapters are a bit broken.

* Series generation with metadata is done. Working on chapter code.

* Code to properly label chapters is done

* Revert "Delete .github/ISSUE_TEMPLATE directory"

This reverts commit 8d5740c4

* Reset editor Config

* Removed Input token

* Cleaned Unused code and files

* Readded Search
Removed token again

* Modified all imports to avoid lintcheck errors -> deleted all wildcards

* Integrated format filter with latest backend code

* Refactored authentication to now grab it from solely the address field.

* Refactored authentication to now grab it from solely the address field.

* Refactored authentication to now grab it from solely the address field. Auth token is fetched when needed without requiring user to restart their session.

* - Fixed duped Pages on main
- Fixed Chapters going backwards
- Fixed last chapter getting duped

* - Fixed login with new opds url setting.

* Cleaned commented code

* Cleaned commented code

* Added isLogin. IOException if invalid apikey

* Fixes Volume Naming

Previously All Volume Number was displayed as '0', It fixes that bug.

* Removed Gson usages

* Updated the filter Dto for all methods

* Merged Http err Handling

* Added debug option to see 400 error

* 1.2.3. Commented debugRequest

* Crappy code warning: Added first filtering support

* Manga details fixed:
Artist,Author,Summary, ¿genres? should be displayed properly now

* Pushing nothing changed

* - Fixed 500 error when reset filter
- Added reading status filter
- Cleaned some spaghetti code that was redundant

* Code cleanup

* Format Filter is almost readt. Majora finish it.

* Added library filter

* More code cleanup. Authentication request only sent once.

* People filter Added

* Added collection,character and translator filters
Remaining filters:
- Rating
- Format

* Fixed displayed chapter number.
Cleaned chapter title.

* - Fixed #12
- Reworked Login
- Added Logs
- Added more errors handlers

* Added format filter
Added check for url (must start with http/s)
Fixed filters getting disabled when scrolling further (request for new pages did not have filters)
Code cleanup

* updated extVersionCode ->5 - ready for release

* updated extVersionCode ->6 - pull request to tachiyomiorg/ext

* removed release folder from git and removed unwanted modifications in the project

* removed release folder from git and removed unwanted modifications in the project

* unwanted modification

* Update src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/Kavita.kt

Co-authored-by: Alessandro Jean <alessandrojean@gmail.com>

* Update src/all/kavita/build.gradle

Co-authored-by: Alessandro Jean <alessandrojean@gmail.com>

* removed unused import

* Changed icons to be more consistent with other extensions.

* QuickFix: format filter wrong default.

* Added webview support (Needs to be tested thoroughly)
Refactored baseUrl to apiUrl
baseURl is now only "Server:Port" (without  trailing slashes.)
Closes #14

* Fixed Json Decode error when genres,people or artists are empty.
Solution to #15 is to use tachiyomi `sort by chapter number` feature.

* Added publication status filter

* Added sort filter

* Bump extVersionCode

* Updated cover artist serial name in SeriesMetadataDto

* Added user rating filter

* Removed other people filter

* Removed other people filter
Fixed filtering suddenly not applying

* Filters that are not populated won't show

* Added new preferences options to customize filters showing in filter list

* Added more configurable sources to have multipe kavita instances

* Code Cleanup

* Fixed ReadStatus

* Changed order of preference setting

* Added more checks and log exceptions
v0.5+ is required message added

* Added more checks and log exceptions
v0.5+ is required message added

* Fixed Cover Artist filter preference not working

* Changed extVersionCode to 1

* Fixed Tags filter not populating

* Added toast to restart app when source name is changed

* Forgot to stage this file. Fixes tags filter not populated

* Added one more error message. v0.5+ required

* Fixed having to restart twice the app after preference changes
Changed setupLogin order
Fixed some log messages.

* Changed more log messages
Some cleanup.

* Fixed Unexpected JSON token in manga details

* Fixed search was creating a Smanga with url = series ID instead of complete url

* Fixed search was creating a Smanga with url = series ID instead of complete url

Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Co-authored-by: Shashank Pujari <shashank-p@users.noreply.github.com>
Co-authored-by: Alessandro Jean <alessandrojean@gmail.com>
2022-01-24 05:23:34 -05:00
jopejoe1 26b48d0736
Made Luscious into only one extension (#10563)
* Update Luscious.kt

* Delete multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/luscious directory

* Delete multisrc/overrides/luscious directory

* Made in to singel source

* Update CHANGELOG.md

* Update build.gradle
2022-01-24 05:22:15 -05:00
jopejoe1 b6602ec955
Update lang codes in a few extensions (#10562)
* Update WebtoonsTranslateGenerator.kt

* Update WebtoonsTranslateFactory.kt

* Update BatoToFactory.kt

* Update build.gradle

* Update MangaParkFactory.kt

* Update build.gradle

* Update WebtoonsTranslateFactory.kt

* Update WebtoonsTranslateGenerator.kt

* Update BatoToFactory.kt

* Update MangaParkFactory.kt

* Update BatoTo.kt

* Update MangaPark.kt

* Update BatoTo.kt

* Update MangaPark.kt

* Update ToomicsFactory.kt

* Update build.gradle

* Update NHentaiComFactory.kt

* Update NHentaiCom.kt

* Update build.gradle

* Update BatoToFactory.kt

* Update BatoTo.kt

* Update MangaPark.kt

* Update MangaParkFactory.kt
2022-01-23 16:43:20 -05:00
Andreas ca9645288f
Add extension fields for hasReadme and hasChangelog (#10469)
* Add extension fields for hasReadme and hasChangelog

* Dump Komga extVersionCode
2022-01-22 09:48:52 -05:00
jopejoe1 8ee10c86e6
Genkan.io add language support (#10538)
* Update GenkanIO.kt

* Add Factory file

* Update build.gradle

* Update GenkanIOFactory.kt

* Update GenkanIO.kt
2022-01-21 14:14:10 -05:00
nicki a84a3e275f
MangaDex: Add Slug to Share url, Prefer `jp-ro` titles and Verify host link intents (#10539)
* Add slug to Share URL

cleans up the title and adds it as a slug to the end of the url that can
then be shared without any issues

Co-authored-by: Henrik <22085664+henrik9999@users.noreply.github.com>

* Check for Japanese Romanized titles

ko-ro and zh-ro also exist but arent that readable compared to ja-ro
personally. And those have a confirmed en title (or fallbacks) anyways

* Increment mangadex.extversioncode

* Linting by Android Studio build process

* Actually use the correct lang code

it's `ja-ro` not `jp-ro`

* Support verified deeplinks (A12+)

* Replace intent host to wildcard hosts

helps with A12 link verify
Ref https://github.com/tachiyomiorg/tachiyomi-extensions/pull/9993

Co-authored-by: funkyhippo <52957110+funkyhippo@users.noreply.github.com>

* Make `titleToSlug` more idiomatic

perhaps java.text.Normalizer could have helped but didnt want to add an
import just for that :d

Co-authored-by: Henrik <22085664+henrik9999@users.noreply.github.com>
Co-authored-by: funkyhippo <52957110+funkyhippo@users.noreply.github.com>
2022-01-21 14:13:43 -05:00
Alessandro Jean 2e5a28d854
Add more languages to Bilibili (#10494)
* Add more languages to Bilibili.

* Review some Indonesian strings.
2022-01-18 10:34:27 -05:00
nicki 60751ea39a
MangaDex: Group Blocking improvements (#10481)
* Replace "Abandoned" with "Cancelled"

was replaced in the Api few months back as well

* Refactor externalURL filtering to use pages attr

* Add mangahot to list of external linked groups

* Refactor group blocking

- Block external linked groups separately
  This block is now only done in Latest section (uses /chapter) since
  filtering them out in /manga/ID/feed is done by `createChapter` helper
  already
- No default UUIDs set in groupBlock setting - external linked groups
  and their UUIDs arent exposed to Users

* Increment mangadex.extversioncode

* Remove unneeded empty string check for ch.attr.externalUrl

Co-authored-by: Mitchell Syer <Mitchellptbo@gmail.com>

Co-authored-by: Mitchell Syer <Mitchellptbo@gmail.com>
2022-01-17 10:07:02 -05:00
nicki b38bcd4f0b
MangaDex: Block Uploaders (#10433)
* Add uploader block to Dex extension

* Sort the list to aid Varnish Caching

"For sake of caching, sort User configurable input query params.
Varnish caching cannot know that it's a list that's safe to re-sort etc.
Use like alphabetical UUID sorting"

* Bump MangaDex.extVersionCode
2022-01-12 13:02:04 -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
jopejoe1 1e3332d805
Bato.to reworked fetchSearchManga class (#10427)
* Update BatoTo.kt

* Update build.gradle
2022-01-11 07:53:49 -05:00
jopejoe1 22ce75ab3f
Turned NyaHentai multisrc into single source (#10424)
* Remove Files

* Remove more files

* Add nyahentai as normal source
2022-01-10 11:58:27 -05:00
jopejoe1 de19d11727
Updated some icons to be more consistent (#10419)
* Update MadaraGenerator.kt

* Fixed some icons in Madara

* Replace with icons that work on website

* Fixed Some more icons

* some more icon fixes

* miss placed that

* this to

* Put them in right location this time
2022-01-10 06:44:45 -05:00
jopejoe1 605f137756
Added Everia.club (#10397)
* Get origin

* i

* Added Everia.Club

* Added misisng nsfw flag
2022-01-09 14:35:57 -05:00
jopejoe1 ea45420e97
Added Buondua (#10402)
* Init

* a

* Added buondua

* Update build.gradle
2022-01-09 14:35:44 -05:00
jopejoe1 47423f7ab3
Added Junmei tu (#10411)
* Init

* init

* Added Junmei Tu
2022-01-09 14:35:29 -05:00
jopejoe1 6146e0fd83
Bato.to added alternative chapter list and one more filter (#10393)
* Added alternate chapter list and one more filter

* Update build.gradle
2022-01-09 11:24:56 -05:00
jopejoe1 4bd847a509
Bato.to added more filters (#10382)
* Added more filters

* Update build.gradle

* Update BatoTo.kt
2022-01-07 09:23:23 -05:00
nicki 97458d6998
MangaDex: Scanlation Group blocking (#10376)
* Add (somewhat) working group blocking

blocks an input scanlator group
doesn't seem to block official/external-link groups

* Fine tuning adjustments*

 - sanitise inputs as much as possible
 - add to summary a bit more
 - `setDefaultValue` looks to set once and never again. So even if
   EditText receives an empty String, it is still valid...
   Not sure if I could do it better

* Increment mangadex.extversioncode
2022-01-06 13:59:49 -05:00
ObserverOfTime 2dd71d66f6
Tappytoon: fix chapter numbers (#10324) 2022-01-04 05:43:59 -05:00
Vetle Ledaal 24d2ca27de
Add mirror Mycdhands.com to Bato.to extension (#10325) 2022-01-04 05:43:50 -05:00
arkon 542c28875d Minor project updates
- Update kotlinter
- Opt in to serialization API to avoid IDE warnings
- Replace some deprecated OkHttp function usages
- Remove some unnecessary Android version checks/targets
2022-01-02 18:47:56 -05:00
ObserverOfTime 27d26f2814
Comick.fun: fix chapter numbers (#10293) 2022-01-01 07:19:47 -05:00
Basara-Hatake b1d92188ab
hitomi speed fix (#10290) 2021-12-31 12:13:39 -05:00
Basara-Hatake b2bbc6a803
hitomi avif support (#10288) 2021-12-30 21:49:34 -05:00
Basara-Hatake f0d794b58a
fix hitomi images (#10286) 2021-12-30 12:28:34 -05:00
ObserverOfTime 8e2aa23cb4
Comico: reverse chapter order (#10281) 2021-12-30 12:28:13 -05:00
Basara-Hatake 9aec9e3af1
Hitomi fix images (#10273)
* fix hitomi images

* Update build.gradle

* use var
2021-12-29 17:36:19 -05:00
Alessandro Jean aa98af8907
Add a new filter and fix missing Bilibili chapters in MD. (#10253) 2021-12-27 14:17:14 -05:00
Alessandro Jean 1175d23ac7
Refactor the MangaPlus code. (#10225) 2021-12-27 06:06:14 -05:00
nicki 1f9be45238
Mangadex: Use updated /at-home/server/ endpoint for pages (#10221)
* Move chapter images data to atHome Response

Updates ChapterDto and AtHomeDto as per Deprecation notice

* Use new atHome response to fetch chapter pages

this commit does the following:
 - updates the Dtos as per deprecation notice
 - creates a call to `/at-home/server/` in `pageListRequest`
 - made sure to track of how old chapter token is as was previous
   practice
 - `pageListParse` no longer has the 204 response. Instead we get a 404
   response (not sure about the 504 response for /at-home/server too but
   have to check again. If its not used now, then it could be removed
 - since `atHomeRequestUrl` was necessary for `getValidImageUrlForPage`,
   tried to fetch it from the response. As per their docs and our
   usecase, it should be fine hopefully
   Ref:
   https://square.github.io/okhttp/4.x/okhttp/okhttp3/-response/request/
 - since /chapter/ no longer has `data` attribute, the additional
   check for external chapters was removed
 - tested on 0.12.3 (on Mi A2, running Android12): read few
   chapter/oneshots without issues

* Increment mangadex.extVersionCode

essentially a Christmas present from MD (for its servers :d)

* remove redundant isSuccessful check

essentially dead code since the check is done by `fetchPageList` before
it calls `pageListParse`
2021-12-25 10:52:17 -05:00
ObserverOfTime 842225ad83
Comico: new extension (#10210) 2021-12-24 07:59:43 -05:00
Gauthier 7719c36305
[Komga] add support for image/jxl (#10194)
* feat: add support for image/jxl

* update changelog and version
2021-12-22 08:16:15 -05:00
jopejoe1 4ed8ceabe1
Updated icons to be more consistent (#10181)
* Update ZMangaGenerator.kt

* Updates Icons

* Update more Icons

* Update even more icons

* Update more icons again

* Update ReaderFrontGenerator.kt

* Update MonochromeGenerator.kt

* Update MadaraGenerator.kt

* Update FoolSlideGenerator.kt

* Update build.gradle
2021-12-21 07:48:54 -05:00
Alessandro Jean cb22cf119e
Fix the Chinese translation in Bilibili (#10136)
* Fix the Chinese translation in Bilibili.

* Rename the Chinese source class name.
2021-12-19 07:05:07 -05:00
jopejoe1 74ef573bd3
Added Support for Bato.to Mirrors (#10137)
* Update AndroidManifest.xml

* Update BatoToUrlActivity.kt

* Added Mirror Support

* Update build.gradle

* Added missing url path
2021-12-19 07:04:44 -05:00
arkon 55b5b8585e Bump versions for Gson-migrated extensions 2021-12-18 16:30:36 -05:00
Alessandro Jean ea29bd30b1
Fix Bilibili URL intent (#10104)
* Fix Bilibili URL intent.

* Add chapter image format preference.

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

* Remove isNsfw from extension.

Co-authored-by: FourTOne5 <59261191+FourTOne5@users.noreply.github.com>
2021-12-14 22:34:15 -05:00
Alessandro Jean 4f208803da
Add Chinese to Bilibili (#10098)
* Add Chinese to Bilibili (closes #9150).

* Refactor the extension and class names.

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

Co-authored-by: FourTOne5 <59261191+FourTOne5@users.noreply.github.com>
2021-12-14 11:14:30 -05:00
Gauthier d718c8a10f
feat(komga): display book translators as chapter scanlator (#10099) 2021-12-14 05:52:52 -05:00
nicki b210902b2c
Mangadex: View all Manga by a Group (+handle group links) (#10060)
* search Manga from a group using their id

* add group deeplink support

* linting

* increment mangadex.extVersionCode

* respect `dexLang`

eg: MangaDex (EN) needn't show a group's non-EN releases

* you cannot use filters on chapter endpoint

fixes HTTP 400 while trying to filter on chapter endpoint

* rewrite to use /manga endpoint instead of /chapter

ends up removing a lot of stuff I had previously but that's a good thing

* add check for valid UUID

if a UUID wasn't being provided, then the group queryParameter wouldn't
work and end up throwing Error 400. Might as well prevent that
2021-12-13 14:08:33 -05:00
arkon fa6be0f1c9
Replace usages of Gson (#10080) 2021-12-12 16:33:20 -05:00
arkon 1f6027dd67
Replace usages of Gson (#10079) 2021-12-12 13:17:34 -05:00
FlaminSarge bc39d9ae8f
[Mangadex] Fallback to uploader name for uploads that are missing group info entirely (#10023)
This also filters out the legacy MDv3 'no group' entity
2021-12-09 06:59:52 -05:00
nicki 3f884c8248
Mangadex: Filter Popular to show only Manga TLd in that particular lang (#10033)
* show only manga TLd in `dexLang` in Popular

* increment mangadex.versioncode
2021-12-08 05:55:20 -05:00
funkyhippo d5ba305575
Add wildcard hosts for invalid hosts in intents. (#9993) 2021-12-05 12:21:10 -05:00
nicki 8f22b785d6
Mangadex: Add nepali and forgotten Other (#10002)
* add the forgotten `Other`

* add nepali to mangadex factory

* bump mangadex.extVersionCode
2021-12-05 12:20:54 -05:00
ObserverOfTime 21f6f747ed
LANraragi: fix null tags (#9997)
* Fix nullpo

* Replace GSON with kotlinx

* Minor optimisations
2021-12-05 12:20:46 -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
Alessandro Jean f64f6d0a8b
Change CheckBox to Switch and reword the setting in MangaPlus. (#9915) 2021-11-23 17:40:18 -05:00
RePod 41994b164a
LANraragi: 0.8.2 support and fixes (#9905)
* LANraragi: Mark status as Completed

* LANraragi: Use API for Random (first pass)

No longer need a unique client.
No header shenanigans, straight from source.

* LANraragi: Fix tag display

API response no longer spaces them out.

* LANraragi: Warn on 401

* LANraragi: Use API for Random (second pass)

Unify the Random helper functions.
Inline what was canShowRandom().
Use new /files (GET) endpoint as /extract (POST) is now deprecated.
Remove 404 handling from fetchMangaDetails() (as the 401 handling should cover it).
Include headers for isnew DELETE.

* LANraragi: Update icons

* LANraragi: IOException on 401 instead
2021-11-23 08:31:40 -05:00
Jaykoerner 7fd3d5fd5e
reverted base URL to legacy v35 server (#9851)
Temporary measure till new parser is made for the front end update in v36, this fix will likely break eventually, v36 retains the same backend as v35 so are the exact same from user perspective
2021-11-20 08:45:05 -05:00
ObserverOfTime 8c16b03bb9
xkcd: add more translations (#9793)
* Spanish

* French

* Russian

* Korean
2021-11-12 08:40:55 -05:00
ObserverOfTime d95e9e6fcd
xkcd: add Chinese translation (#9772) 2021-11-09 13:18:24 -05:00
ObserverOfTime d0e8f185ab
izneo: new extension (#9664) 2021-11-01 07:31:45 -04:00
Basara-Hatake 7a76a2756f
fix hitomi images (#9687)
* fix hitomi images

* Update build.gradle
2021-11-01 07:30:31 -04:00
ObserverOfTime e6a9517a44
Tappytoon: unblock page list (#9668) 2021-11-01 07:29:44 -04:00
FlaminSarge 55b2eac827
[Mangadex] Update originalLanguage pref to use MultiSelectListPreference (#9671)
The zh-hk workaround is done during query param building rather than being stored in the preference value
2021-10-30 12:29:30 -04:00
FlaminSarge f3b3995174
[Mangadex] Update content rating to use MultiSelectListPref (#9670) 2021-10-30 09:56:35 -04:00
ObserverOfTime 4a05bf1fea
NETCOMICS: new extension (#9662) 2021-10-29 05:18:11 -04:00
Alessandro Jean 31e563c9ab
Fix wrong language in originalLanguage tag. (#9600) 2021-10-24 13:39:21 -04:00
rzmeu 262a20b7a8
Update SimplyHentai extension to display all images, currently only first 12 images are shown. (#9607) 2021-10-24 13:38:30 -04:00
FlaminSarge b143713590
[Mangadex] Handle empty title case, where title is romaji-only (ja) or otherwise missing, by picking whatever value is in title field as a last resort (#9598) 2021-10-23 07:37:24 -04:00
h-hyuuga 551cc08849
Comick.fun: Fix search result paging (#9570)
* Fix search result paging

* Refactor ratelimiting
2021-10-21 06:44:42 -04:00
ObserverOfTime 9e6aee7aa4
EroCool: fix search pagination (#9545) 2021-10-19 13:40:50 -04:00
ObserverOfTime 3e922f4101
Tappytoon: reverse chapter order (#9529) 2021-10-19 08:44:39 -04:00
ObserverOfTime 9ed009d908
EroCool: new extension (#9534) 2021-10-19 08:44:06 -04:00
h-hyuuga ab7e3bcede
Comick.fun: Migrate to new API (#9280)
* Migrate to new api endpoint + Implement Required Changes

* Update endpoints and response parsing to reflect API changes

* Restore search/filter functionality

* Add genre exclusion and search result sorting

* Comick.fun now specifies language with ISO639 compliant language codes instead of country codes
2021-10-13 08:19:58 -04:00
ObserverOfTime 0c171c680b
Hennojin: new extension (#9450) 2021-10-13 08:19:39 -04:00
ObserverOfTime 64ba1e6ba4
League of Legends: new extension (#9463) 2021-10-13 08:19:01 -04:00
ObserverOfTime 6fd52b09de
Tappytoon: new extension (#9428) 2021-10-12 06:33:26 -04:00
ObserverOfTime 7cbc1cf990
YaoiMangaOnline: fix pagination (#9404) 2021-10-09 05:53:50 -04:00
ObserverOfTime d2f1d094d4
YaoiMangaOnline: new extension (#9400) 2021-10-08 08:12:39 -04:00
Gauthier 0a0b8bd7a3
[Komga] rework the load of filter values at startup (#9386)
* rework the load of filter values at startup

* Update CHANGELOG.md
2021-10-07 07:14:08 -04:00
nicki c04984b89b
[Komga] Fix link to WebView/Share (#9361)
* use the correct link for viewing in browser

api url on browser just provides a json. For viewing in browser,
we need the normal url instead

* just use `substringAfter`

was trying out another way using `substringAfterLast` but dropped that.
Now `substringAfterLast` isn't required and `substringAfter` suffices

* make fetchMangaDetails not use mangaDetailsRequest

internally, `fetchMangaDetails` uses `mangaDetailsRequest` to create a
new call. However, since `mangaDetailsRequest` is now fixed to use a
normal browser URL rather than the API URL, it no longer works for
`fetchMangaDetails`. So, it needs to be manually overriden to make its
own call

* use hardcoded ID values instead of computing

this was done because of the following:
 - IDs are same as before
 - no need to rely on calculation to be correct everytime
 - avoids unnecessary copy of base class code
 - sets it in the constructor itself

* increment komga.extVersionCode

also update CHANGELOG with list of changes

* linting and remove unused imports

* Revert "linting and remove unused imports"

This reverts commit e13396badef53fced2700266182bbf53a67124cf.

* Revert "use hardcoded ID values instead of computing"

This reverts commit 44f063904d5969fb6d90c9ffad5c33aff50b995f.

* refactor `mangaDetailsRequest`

Do it in a simpler manner without having to create another variable

Co-authored-by: Gauthier <gotson@users.noreply.github.com>

Co-authored-by: Gauthier <gotson@users.noreply.github.com>
2021-10-06 06:06:37 -04:00
arkon 6a75de9261
Remove usage of @Nsfw annotation in favor of extension-level flagging (#9368) 2021-10-04 16:44:32 -04:00
arkon 93988e8990
Close instances of Duktape (#9363) 2021-10-04 13:03:21 -04:00
Gauthier 1c53f50265
[Komga] change language to `all`, add more logs (#9360)
* change lang to all, but keep existing id

* properly close response bodies
add more logs
2021-10-04 07:31:52 -04:00
ObserverOfTime 421fde6d82
Use SimplyHentai API (#9306) 2021-10-02 17:39:29 -04:00
Alessandro Jean 8a32ad1961
Remove Gson workaround and add rate limiting to MangaPlus. (#9295) 2021-10-01 05:36:14 -04:00
Narin cb56951fd5
BatoTo: Update Manga Summary Selector (#9273) 2021-09-29 15:02:11 -04:00
o01210o 17c02bfec4
Add French to MangaPlus (#9245)
* Add French to MangaPlus

* Add French to MangaPlus

* Update src/all/mangaplus/src/eu/kanade/tachiyomi/extension/all/mangaplus/MangaPlusFactory.kt

Co-authored-by: Alessandro Jean <alessandrojean@gmail.com>

Co-authored-by: Alessandro Jean <alessandrojean@gmail.com>
2021-09-27 10:12:03 -04:00
FourTOne5 b40ee5e463
MangaPark v3: Fix #9251 (#9253)
* Bump

* Change stuff so that it actually returns null.
2021-09-26 19:57:39 -04:00
FourTOne5 82438450d0
MangaPark v3: Fix #9240 (#9247)
* Bump Version

* Remove unnecessary /
2021-09-26 13:43:25 -04:00
Ivan Iskandar f92453cdcf
MangaDex: Title fetching improvement (#9238)
Some manga somehow has romaji title tagged as "jp" language. So also use
altTitles list and use extension language as the base language when
searching while keeping english as fallback.

This reduces the possibility of this extension returning empty title.
2021-09-26 08:23:14 -04:00
Alex Ling a0873ea677
Mango: List nested chapters and more (#9239)
* DNS fix and allow non 9000 port

* Query only top-level titles

* Display input on settings page

* List nested chapters and sort with Mango API

* Bump version number
2021-09-26 08:22:19 -04:00
FourTOne5 b8308a3ace
MangaPark v3: Rewrite (#9210)
* Rewrite and Update to v3.3

* Fix build.gradle
2021-09-26 06:41:29 -04:00
TheOneMaster 965aecc006
Changed mangadex default sort to most follows (#9155)
Co-authored-by: nayan <TheOneMaster@users.noreply.github.com>
2021-09-20 17:37:16 -04:00
Aria Moradi 585b4c1968
Tachidesk: sync implementation with >= v0.5.0 (#9132) 2021-09-19 13:17:35 -04:00
nicki 95ad8cb431
[Komga] replace gson with kotlinx.serialization.json (#9107)
* annotate komga data classes

annotate @Serializable to relevant data classes. this is the first step
to replace gson/kotson with kotlinx.serialization

* switch to kotlinx.serialization.json

replaces gson/kotson usage in komga extension
big thanks to gotson for already switching to data classes
made the conversion very simple

Co-authored-by: Gauthier <gotson@users.noreply.github.com>

* linting

* increment komga.extversioncode

also update changelog

* use .string() instead of toString()

since we actually need the object in memory as a string rather than the
content

* apply plugin to generate Serializable

this makes serializers for all data classes that are annotated as
Serializable

Co-authored-by: Gauthier <gotson@users.noreply.github.com>
2021-09-18 05:39:18 -04:00
Johannes Joens d8bcdd11c7
Mangadex: add missing sort options (#9043)
* added Missing sort options

* Update build.gradle

* Improved latestUpdatesRequest

latestUpdatesRequest does not require the previous work around anymore as latestUploadedChapter sort order was added to the api

* Fixed Typo
2021-09-16 09:28:59 -04:00
XdarkX 72ca3d3781
[MangaPark v3] Update extension version code (#9074)
Updates the extension version code to take advantage of the latest
extension changes to the chapter endpoint.
2021-09-15 14:11:47 -04:00
FourTOne5 9c7a36166c
MangaPark v3: Update chapter endpoint. (#9063) 2021-09-14 11:05:16 -04:00
loocool2 62af1c06ab
MangaDex: Turned off including Upcoming Future Updates in the Latest feed (#9048)
* Turned off including Future Updates

* fixed tags not showing up in MangaDex
2021-09-13 11:20:51 -04:00
nicki fb87b363e6
Update Mangadex to new `chapterListDto` and `MangaListDto` following deprecation (#9046)
* update chapterListDto

* update MangaListDto

* increment md.extvercode
2021-09-12 15:19:57 -04:00
loocool2 bc8b461ab7
Fixed erotica and porn not showing in latest (#9039) 2021-09-11 15:03:54 -04:00
loocool2 df42ef37cc
changed originLang filtering to filter at request time and moved relationships (#9036) 2021-09-11 13:07:06 -04:00
TheOneMaster fc204bd93a
Fixed Mangadex sorting issues when filtering (#9020)
* fixed sorting issues

Fixed "Sort by Most Follows" since it was no longer the default, and added relevance sorting to the list of possible sorts

* Fixed Mangadex sorting when browsing

* Changed default sort to Most Followed manga

* Fixed it so that the "Number of follows" is the default sorting filter selected instead of "Manga created at"

* When sorting by ascending for Number of follows, returns manga with the fewest follows instead of default search with no sort

Co-authored-by: nayan <TheOneMaster@users.noreply.github.com>
2021-09-11 07:15:53 -04:00
arkon 2a3d88cea0
Target SDK 31 (#9022) 2021-09-09 18:25:46 -04:00
Alex Ling d058e32c2c
DNS fix and allow non 9000 port (#9019) 2021-09-09 10:57:43 -04:00
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