1323 Commits

Author SHA1 Message Date
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