* Tsumino: bypass email protection
* Rewrite cfDecodeEmail
Use less magic, safety is kept in mind for the key and data.
Invalid key returns an empty string, invalid data is skipped.
Returns not null since the Element.text() function validates
that the input is not null -- and it's probably a useless
distincion anyways.
* further kotlin-ify cfDecodeEmails
* Add URL intent
* A better pathPattern to reduce accidentally trigger the intent
* Explicitly ignore zadankai submissions
* Fixed set url after search by slug
* Reverts #10368
* Fixes to some manga entries where failsafe is not needed
* 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
* 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
* Update DbMultiverse.kt
* Update DbMFactory.kt
* Delete DbMultiverseEN.kt
* Update build.gradle
* Add mssing language
* Forgot a , while adding a new lang
* 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
* 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>
* 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>
* 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>
* 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
* 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
* Tapas: Bugfix in author's notes
Sometimes a word would get cut off
* Tapas: Bump version for buxfix
* Webtoons: Bump version for Author's Notes PR
* Webtoons: Optional author's notes @end of chapters
Previous implementation of this feature into Tapas: https://github.com/tachiyomiorg/tachiyomi-extensions/pull/10366
* 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
When downloading NicovideoSeiga image, the saved file extension has become wrong type. This commit addresses the issue by fixing following errors.
- Images is determined the type by file header. The logic has wrongly assumed Byte.toInt() returns unsigned integer, but it actually returns signed value.
- The server returns application/octet-stream as Content-Type header. But the logic only worked when header is empty.
- Update kotlinter
- Opt in to serialization API to avoid IDE warnings
- Replace some deprecated OkHttp function usages
- Remove some unnecessary Android version checks/targets
Manga names can get awfully long, leading to chapter titles being
so absurdly long that you do not know what you are reading.
This commit simply removes 'span.manga-name' from the urlElement before
extracting the text from it.
* 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`
* Add Order By to Mangahasu.kt searchMangaRequest
Mangahasu recently implemented this query, without the query it
lists manga alphabetically.
* Increment extVersionCode for Mangahasu
* Fix lint
* Make OrderByFilter a Filter.Sort
* 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>
* 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
* added source: Aurora to fulfill #9985
* Update src/en/aurora/src/eu/kanade/tachiyomi/extension/en/aurora/Aurora.kt
added headers to the get request
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
* Update src/en/aurora/src/eu/kanade/tachiyomi/extension/en/aurora/Aurora.kt
removed a filter
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
* Update src/en/aurora/src/eu/kanade/tachiyomi/extension/en/aurora/Aurora.kt
removed filter
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
* used client.newCall instead of Jsoup to fullfill code review of #9986
* chapters to mangas and pages to chapters to fix automatic updates. #9985
* added automatic status fetching when a chapter (in form of a manga) is updated
* added the name of the manga/comic in front of the chapter name so it can be more easily differenciated from other manga
* Update src/en/aurora/src/eu/kanade/tachiyomi/extension/en/aurora/Aurora.kt
removed some regex stuff
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
* Update src/en/aurora/src/eu/kanade/tachiyomi/extension/en/aurora/Aurora.kt
removed some logging that isn't needed anymore
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
* Apply suggestions from code review
accepted some code review changes
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
* implemented some more code review suggestions
* Apply suggestions from code review
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
1. Update image server
2. Fix only first page is displayed in searching
3. Fix searchMangaNextPageSelector
4. Fix HTTP error 404 when no filter is selected
5. Add manga status and genre
* Manga-Raw.club: Fix Chapter list & Manga details error
* Manga-Raw.club: removed unnecessary chapterListParse function
* Manga-Raw.club: Updated build.gradle after merging of #9908
* Manga-Raw.club: Fix thumbnail not showing
* 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
* [EN] manga-raw.club extension implementation
* Added nsfw tag
* Change to get correct description and if date parse fails returns 0
* update extension version number
* Date is now parsed always with English Locale
* Fixed Status to show correctly
* Fix thumbnail not showing
* Update Build Version
* Manga raw club fixed missing pages
manga-raw.club has been changing its website structure so I made the pages images search to not be as specific to the website.
Also made the description search to not be as specific as well so it wont throw null on element.text().
Added R-18 genre to the tag search
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
* First commit Mahnwa-Latino Extension.
* manhwa-latino: Implementing find function
TODO: only works with text, filter not implemented yet
* manhwa-latino Add Parser to finde the information of Manhwa-Latino
The parser 'ManhwaLatinoSiteParser.kt' make the whole magic to find the
information of the Website.
Mudularize The code and adding documentation
* manhwa-latino: Adding Logos der Extension
TODO: I am not to happy, i will check it later.
* manhwa-latino: Adding Tags to Genre Combobox
* manhwa-latino: Adding Headers to prevent error 404
The headers are necesary to prevent error 403 by downloading images.
* manhwa-latino: Tags addded into Manga Description Page
Status from Manga readed from Tags
* manhwa-latino: Modularize Code
* manhwa-latino: Adding Uploaddate for Chapters
* manhwa-latino: Bug to get Chapter Number fixed
* manhwa-latino: Logo 0.2
* manhwa-latino: Versionb 1.2.10
Adding Comments to ManhwaLatinoSiteParser
* manhwa-latino: Remove logo_model directory
* manhwa-latino: Show Seconds after Release a new Chapter
* manhwa-latino: Fix for Cloudflare
* manhwa-latino: Try to fix Cloudflare ByPass
Adding isNsfw to build.gradle
* manhwa-latino: Update from parser after website update
* manhwa-latino: Deactivate lastest manga and new Client
The new website from Manhwa-Latino doesnt show lastest mangas.
* manhwa-latino: Adding Manifest to load url-adress
The extesion will bi able to open and find mangas with the url.
TODO: first version. NOT READY YET.
* manhwa-latino: Fix to find Manga Status information
* Manhwa-Latino: The Extension can open a Link
Now the extension can recognize a link from Manhwa-Latino and
show the manga from the link in the app.
* Manhwa-Latino: Modularize Code and Activity for Url added
* Manhwa-Latino: Add Constant-File.
This file contain all contants for this extension.
Co-authored-by: Luis Beroiza <luisalberto.beroizaosses@intern.osp-dd.de>
Co-authored-by: AlberyKous <extreme_rvd@hotmail.com>
* Add MikuDoujin
* Add MikuDoujin V.1.2.1
* Update MikuDoujin.kt
* Update MikuDoujin
* Add ability to search using genre
* Add Rh2PlusManga
* Add Rh2PlusManga V.1.12.2
* Use Madara multi-source themes
* Change MikuDoujin gradle and Add Rh2PlusManga generator.
* update file to suggestion.
* add Rh2PlusManga to MadaraGenerator.kt.
* Fix Thai Madara source time format and MikuDoujin pages selector.
* add Thai relative time wordlist to Madara parseRelativeDate.
* change Rh2PlusManga and Mangauptocat date format.
* change Mangauptocat base url.
* change MikuDoujin pageListParse selector.
* Fix MikuDoujin Chapter number.
* fix MikuDoujin when try to fetch chapter name with non numeric ending word.
* Add MangaDeemak Source.
* add MangaDeemak source to madara multisrc.
* Fix Mikudoujin when open Manga with Non single chapter.
* scrap both data-src and src attribute from img if available.
* Added Doujindesu(ID)
* Fixes some of small typos
* Apply suggestions from code review
Co-authored-by: Alessandro Jean <alessandrojean@gmail.com>
* Apply private vals for the Data format
Co-authored-by: Alessandro Jean <alessandrojean@gmail.com>
* First commit Mahnwa-Latino Extension.
* manhwa-latino: Implementing find function
TODO: only works with text, filter not implemented yet
* manhwa-latino Add Parser to finde the information of Manhwa-Latino
The parser 'ManhwaLatinoSiteParser.kt' make the whole magic to find the
information of the Website.
Mudularize The code and adding documentation
* manhwa-latino: Adding Logos der Extension
TODO: I am not to happy, i will check it later.
* manhwa-latino: Adding Tags to Genre Combobox
* manhwa-latino: Adding Headers to prevent error 404
The headers are necesary to prevent error 403 by downloading images.
* manhwa-latino: Tags addded into Manga Description Page
Status from Manga readed from Tags
* manhwa-latino: Modularize Code
* manhwa-latino: Adding Uploaddate for Chapters
* manhwa-latino: Bug to get Chapter Number fixed
* manhwa-latino: Logo 0.2
* manhwa-latino: Versionb 1.2.10
Adding Comments to ManhwaLatinoSiteParser
* manhwa-latino: Remove logo_model directory
* manhwa-latino: Show Seconds after Release a new Chapter
Co-authored-by: Luis Beroiza <luisalberto.beroizaosses@intern.osp-dd.de>
* 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
* Fix not found error and add all api types
* Update build.gradle
* Disable latest feature and use popular as latest instead
* Add logic to prevent duplicate projects
* Clear fetched list each time fetching from page 1
* Fix search logic
* Fix invalid genre joining
* 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>
* new extension for the site https://waymanga.ru/
* Update src/ru/waymanga/src/eu/kanade/tachiyomi/extension/ru/waymanga/WayManga.kt
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
* fixed bugs
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
* Created a standalone extension for TCBScans due to layout changes
* Updated TCBScans version code
* Updated extension due to site changes
* Added search functionality and migrate message
* Update extension version
* Update TCBScans search manga list filtering
Co-authored-by: Alessandro Jean <alessandrojean@gmail.com>
* Using headersBuilder instead of Headers.headersOf
Co-authored-by: Alessandro Jean <alessandrojean@gmail.com>
* Changed migrate message to a constant
Co-authored-by: Alessandro Jean <alessandrojean@gmail.com>
* Regex created as a constant
* Refactor pageListParse
Co-authored-by: Alessandro Jean <alessandrojean@gmail.com>
* 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>
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.
* 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
* CopyManga: Allow passing in null for decrypt password.
When we end up with a decrypt password of null (that is, there is no manga-
specific decryption password), fall back to the default password.
Previously, we ended up passing in null instead of a default password.
Also update the default password.
Fixes#9114
* CopyManga: bump extVersionCode.
* 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>
* 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
* 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>
* TMO ratelimit options
rate limit of images variates, the maximum is not 10, added extra values
* Update TuMangaOnline.kt
* Update TuMangaOnline.kt
Changed Parameters from 1 to 100
* 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
* 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
* [zh-copymanga]fix chapter list and manga load failed
* remove test code
* Set chapter's date_upload to current time, which would make the updated manga displayed in the "Recent updates" section
* fix typo
* use System.currentTimeMillis() instead
* optimize imports
* Revert "optimize imports"
This reverts commit 6514e517
* revert useless import changes and remove java.util.Date import
* fix wrong timestamp
* fix an issue that only display the default chapters
* LectorManga - fix paginated page parsing
Fix issue where the first image of a chapter is displayed n times when `paginated` is the current page preference.
Also, add another image CDN URL for rate limiting.
* LectorManga - bump ver
* 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
* 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