* 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