* Updated ComickFun API URL
Addresses #14788 . Does not yet implement the slug and hid changes
* Filters out null urls from the API
Fixes#14786
* Bumped version
* Updated to new API search and hid
Will need to be re-visited to change the internal url stored by tachiyomi to use the hid instead of slugs once ext-lib 1.4 is released.
* Reverted a bug in fetchMangaDetails
* Updated to use kotlinx.serialization
* Renamed the slug fetching method
most data in dex should be more stable than when this code was written
this is also how their Front-end does it
next refactor will be when the alt-title/title rework
* LANraragi: 0.8.8 support
Basic fix for API key change while supporting pre-0.8.8. In the future this could be done with the Archive model.
Remove irrelevant draw key.
* LANraragi: Improve var usage
* LANraragi: Consolidate New Only's default value
* LANraragi: Encode the API Key once
* LANraragi: Refactor checkbox + Clear New toggle
Previous behavior was always clear. Now it can be toggled.
* Revert "LANraragi: Encode the API Key once"
This reverts commit 17128421cf7754cffd143a80cebbdf48281112d7.
* LANraragi: Redundant comment
* pageListRequest now returns a correct url
This method was apparently not called in previous versions but it does now in the preview version (r5254) when downloading thus failing because was returning a wrong url.
* Changelog and bumped version
* Update MangaDex to use API v5.7.5.
* Remove unused line.
* Fix list type string.
* Make usage of `authorOrArtist` in deeplink.
* Use proper custom serializer for `LocalizedString`.
* Use actual enums for manga properties.
* Fix list search not working.
Co-authored-by: nicki <72807749+curche@users.noreply.github.com>
Co-authored-by: nicki <72807749+curche@users.noreply.github.com>
* Add option to attempt to use first volume cover on MangaDex.
* Fix missing first volume covers and remove logical symbols.
* Reinforce isOneShot check and reword preference.
* Mangadex Spanish translations start
* MangaDex Spanish translations: Settings done
* MangaDex Spanish translation: Content, Format, Genre, Theme done
* MangaDex Spanish translation: rest of setting done
includes Tag Mode, Sort, hasAvailableChapters, unable to process chapter
request, uploaded by $users, and no group
* Android Studio: replace deprecated `capitalize`
uses `replaceFirstChar` as a replacement (honestly suprising how Android
Studio managed that refactor all by itself)
* Add template to fill in Russian translations
* Added MangaDex Russian Translation
* Adding missing Spanish translation for Sort by Rating
and also co-author credit for all the other Spanish translations as well
Co-authored-by: kouyo <46226504+kouyo-quotient@users.noreply.github.com>
* Add missing Russian translation for `intl.sortRating`
Also, add co-author credit for all Russian translations
Co-authored-by: Grannix1337 <115176186+Grannix1337@users.noreply.github.com>
* increment MangaDex.extVersionCode
Co-authored-by: kouyo <46226504+kouyo-quotient@users.noreply.github.com>
Co-authored-by: Grannix1337 <115176186+Grannix1337@users.noreply.github.com>
Co-authored-by: kouyo <46226504+kouyo-quotient@users.noreply.github.com>
Co-authored-by: Grannix1337 <115176186+Grannix1337@users.noreply.github.com>
* Rewritten the entire extension to improve readability, speed and pave the way for future upgrades
* Request changes
* Move date formatter to a constant to avoid being recreated every chapter
* Code clean
* Changed chapter url
* Changed chapter url again and change split method for substring
Co-authored-by: sergiohabitant <sergio.malagon@habitant.es>
* Refactored code and removed hack to make search work
- Added queryfield to MetadataDto.kt
- Changed how we encode volumes in chapter_number in chapterFromVolume (tracking)
* Implemented query in filter
Removed PDFs, Epubs from format filter
Added Year Release filter
Added time to read Sort
Refactored some variables
Bumped version
* Changelog and bump version
* Add Pepper&Carrot
* better language support, caching, launcher icons
* update launcher icons
* add artwork entries
* show language key in title
* no search prompt
* add ProtoBuf note comment
* use constant for source name
* move lang pref to filters, improve title and chapter number parsing
* disable artwork chapter number parsing
* MangaReader.to: refactor, fixes and improvements
* rewrite image descrambling interceptor
* add changelog
* use contains to check dupe number instead of endsWith
* memoize calculation result instead of using lookup table
* make SeedRandom private
* add some line breaks to better align diffs
* fix media type
* use the same buffer to reduce memory allocations
* Review changes and inline stuff
* get rid of the hassle of calculating piece count
* Fixes "lateinit property title not initialized"
* Updated CHANGELOG.md
* Comment a bit more the logic for single-file volumes
Co-authored-by: ThePromidius <chronocraft.mygs@gmail.com>
* MyReadingManga Updates
* Adds New Filter: Sort By
* Fixes "lateinit property title has not been initialized"
* Replaces deprecated capitalize
* Update Sort Order
Updates sort order. Matches default popular sort (random) on open.
* Add Sandra and Woo source
* Simplify numbering in chapter titles
* Override mangaDetailsParse to prevent the exception being thrown
* Make source class abstract, have English source derive from it
* Change cover art to one I like a little more
* Update publication status based on comments on the most recent chapter
Co-authored-by: Khuldraeseth <khuldraeseth@gmail.com>
* Add LittleGarden
* Fixed multiple problems described by contributors in pull request #12885
* Update LittleGarden.kt
Forgot to remove a random verbose log
* Arrange code as used in FilterList
just to improve readability
also kept related things together (like OriginalLanguage related methods)
* Match default Sort with what frontend uses
Searching on the website uses /manga?order[relevance]=desc
This commit matches to that
* Arrange lang sources alphabetically
atleast makes it a bit easy to see if a language exists
* Remove MangaDex (Other)
its been throwing HTTP Forbidden Error since locale checks were added
for translatedLanguages. There are no plans to actually support them in
the future nor are there users using it (since there were no reports)
* Add MangaDex (Latin)
newly created chapter language
has only two (April Fools) translated chapters for now
* Add a section on Manga Status in MangaDex Readme
* Increment mangadex.extVersionCode
* add basic auth support
* update version
* refactored settings load
* wrong var in pair
* Update src/all/tachidesk/src/eu/kanade/tachiyomi/extension/all/tachidesk/Tachidesk.kt
Co-authored-by: Alessandro Jean <14254807+alessandrojean@users.noreply.github.com>
* use kotlin forEach
* refactor headersBuilder to use credentials
* removed credentials()
Co-authored-by: Alessandro Jean <14254807+alessandrojean@users.noreply.github.com>
* Use Gradle version catalog to simplify dependencies
* Changes based on review comments
* Remove libs variables in buildScript
- Not needed in this Gradle version
Also adds some missing languages.
Closes#9472.
Co-Authored-By: Alessandro Jean <14254807+alessandrojean@users.noreply.github.com>
Co-authored-by: Alessandro Jean <14254807+alessandrojean@users.noreply.github.com>
* 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
* 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
- Update kotlinter
- Opt in to serialization API to avoid IDE warnings
- Replace some deprecated OkHttp function usages
- Remove some unnecessary Android version checks/targets
* 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 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
* 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
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
* 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
* 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>
* 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
* 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>
* 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
* 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
* MangaDex: Chapter URLs deeplink to series page in Tachiyomi
* Changes to getMangaIdFromChapterId:
* Remove FORCE_NETWORK from request
* Decode to ChapterDto instead of manually parsing json
* Make exception on unsuccessful response more verbose
* Use constant instead of "manga" literal
* Fix for Cubari API response not containing chapter release_date
Cubari API responses don't contain release_date information when the Cubari source is Imgur.
The minor change made with this commit makes the existence of the release_date json property for the parsing process optional.
* Fix for Cubari volume "null" and cleaned up chapter name generation
If the volume is set to null in the json, it's now recognized as not specified.
Also cleaned up the chapter name concatenation.