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.
[FIX] Remove hardcode image path condition
Rather than hardcoded conditons for determining image path's first subdomain,
the extension now dynamically load the condition by parsing the condition from
Hitomi.la's common.js. This should keep the cat and mouse chase a little bit longer.
[REFACTOR] Simplify regular expression for id extraction
* add checks to the uploaded chapters in order to determine if the (publication) completed manga has been fully scanlated
* consolidate case entries
* Add language to aggregate call
* [hitomi.la] Update image url path logic and implement filter
[FIX] Update image url path logic
[FEAT] Add Filter for searching with popularity support
[FIX] Replace the used json library with kotlinx.serialization
[FIX] Deeplink now support all type and can actually display result
[FEAT] Add common word detection to avoid large search result
* Fix HitomiActivity query pattern
* [hitomi.la] Update image url path logic and implement filter
[FIX] Update image url path logic
[FEAT] Add Filter for searching with popularity support
[FIX] Replace the used json library with kotlinx.serialization
[FIX] Deeplink now support all type and can actually display result
[FEAT] Add common word detection to avoid large search result
* Fix HitomiActivity query pattern
* Update extVersionCode
* switch to kotlinx
* use baseurl in referer
* remove default sort cause we don't use at this time
update build.gradle
* Use correct field when parsing manga pub status
* Use current language if available in description map.
* potentially fix md@host refresh issue
* add default sort back since that's by number of follows
* use work around for webview credit @Nar1n
Co-authored-by: animusfracto <50589737+animusfracto@users.noreply.github.com>
Co-authored-by: Alessandro Jean <alessandrojean@gmail.com>
* Replace Gson in Foolslide, Wpmangastream, Gigaviewer and Bilibili.
* Replace Gson in Wpmangareader and Cubari.
* Replace Gson in MangaAdventure and NaniScans.
* Fix missing pages at Wpmangastream (closes#7395).
* Replace Gson in Webtoons and WebtoonsTranslate.
* Update Mango.kt
Added chapter numbers based on index order (same way they appear on the web client)
* Update build.gradle
* Update Mango.kt
Adds chapter number to the beginning of the chapter name
* Update Mango.kt
The last page of the chapter no longer repeats at the beginning
* Update build.gradle
* Update Mango.kt
Added chapter numbers based on index order (same way they appear on the web client)
* Update build.gradle
* Update Mango.kt
Adds chapter number to the beginning of the chapter name
* fix crossdressing tag id
the crossdressing id was using the ninja tag id "489dd859-9b61-4c37-af75-5b18e88daafc" when it should be "9ab53f92-3eed-4e9b-903a-917c86035ee3", as seen in https://api.mangadex.org/manga/tag
* Match tag names, and remove ecchi
spelling of tag names have been changed to match the api.
ecchi has been removed.
* Update build.gradle
* MangaDex: remove empty tag, fix genre typo
- remove empty tag caused by null/empty publicationDemographic/other from nonGenres if its null/empty
- fix typo genre uuid
* better method removing empty tag
Co-Authored-By: Carlos <2092019+CarlosEsco@users.noreply.github.com>
* revert pt-br changes
Changing it to pt-br instead of pt-BR changed the id of the source and made the Mangadex in Brazilian Portuguese to be separed from the other Brazilian extensions (that uses pt-BR as lang)
Co-Authored-By: Alessandro Jean <14254807+alessandrojean@users.noreply.github.com>
* Update build.gradle
* String updates to support standard HTTPS in MD@H node selection
* Code updates to only use nodes with standard HTTPS in MD@H node selection
* Update build.grade to indicate new version
* fix preferences and langs
* low md@home to refresh host sooner
* add content rating by default preferences(defaults to safe and suggestive)
* throw error for page list parsing instead of trying to continue
* clean up string
Co-authored-by: Riztard <riyanluqman@gmail.com>
Co-authored-by: Alessandro Jean <14254807+alessandrojean@users.noreply.github.com>
Co-authored-by: fourquestionmarksokay <83817943+fourquestionmarksokay@users.noreply.github.com>
* initial v5 stuff
* more v5 stuff
* slight changes
* add search
* clean up search some
* change athome parsing
clean up filters
* add Status options for search
* update to use batch author endpoint
* add more filters
* small fixes
* more fixes
* change error message
* Create Webtoons.kt
* Added Webtoons Generator and translate
* Updated Vesion numbers
* Update WebtoonsTranslateGenerator.kt
* Added Icons and ovverides
* Removed non split files
* Update WebtoonsGenerator.kt
* Added id overrides for a few languages
* Added ID Override for Indonesian
* Fixed backwards compability
* Fix backward compability
* LANraragi: Category to own function and observe on io
Move category retrieval to own function for init and refreshing when FilterList is reset (for the next one...) to maintain sync without restarting.
Observe on io instead of mainThread to avoid exception for "large" requests.
Also considered: callbacks.
* LANraragi: Clean up getArtist and getDateAdded
* LANraragi: Safer getRandomID
* LANraragi: Improve Random item visibility
Previously a server with a dirty DB would have conflicting numbers and need to run a clean to fix them.
That's still the case but that's not the extension's problem and those numbers are no longer considered.
Switched to a querySize check to remain only on the initial Browse page.
Remove previous Latest query smuggling due to above.
* LANraragi: Ignore DNS over HTTPS
Fixes#6341
Similarly not act without a configured server.
I miss you, return early...
* LANraragi: Init random ID observe on io
Drop mainThread entirely.
* CCC webcomic: support multi-image chapters
most of the chapters are only a single image long, whoops
* whoops
* fix issue where chapters past 280 are spanish
Co-authored-by: az4521 <“az4521@users.noreply.github.com”>
* LANraragi: Introduce Random item.
Appears as the first item under Browse when there's no meaningful filtering.
Maintain Latest flow at the cost of an extra query param.
* LANraragi: Get and use the Random ID.
Helper functions to get a new random ID.
Helper functions to get the ID from weird spots.
Separate network client to not follow redirects, saving server-side extracts.
* LANraragi: Obtain random ID on init.
To save one entire refresh for that quality user experience.
The call is still to a 301 that is not followed.
* LANraragi: Unset isnew on archives.
More obvious since Latest was hooked up.
Separate from actual reading progress.
This was happening indirectly before the previous extension version swapped to API endpoints for metadata.
* LANraragi: Bump extension version
* LANraragi: AZ detection for ID.
Due to how it updates info and chapters independently leading to an expected race condition.
When detected avoid the race by accessing the ID via thumbnail.
Always using the thumbnail moves the race to non-AZs instead.
* Revert "LANraragi: AZ detection for ID."
This reverts commit 28541d8d0daf989c129884090311e49148f05112.
* Update imhentai domain
* Update version
* Change mangabat and mangairo domains to correct website
* Revert "Change mangabat and mangairo domains to correct website"
This reverts commit 5c770535848fc99dbb56e32fb0f668df5fc09247.
* Add Mango extension first pass
Has browse, chapters, and searching.
The api endpoint is just the whole entire library, so searching is done locally.
Requires login, so will need to view the webview first to login, then everything works as expected.
https://github.com/hkalexling/Mango/
* Added automatic authentication
* Sort based on time since there is no chapter number in the api.
* Requested changes.
* Adds NoxSubs to WPMangaStream
- Adds source to generator
- Overrides SimpleDateFormat language
* Updates MMRCMS
- Removes NoxSubs
- Updates a few other url due to domain changes.
* N-Z
* MZuki-N
* kbatch-mzuki
* remove madara
* remove wildcard
* nsfw
* pkg name
already got it from class name
* forgot className
* this too
* fix arangScans chapter and timestamp
* add mangaEffect
* add mangaGreat
* mangazuki.club multiLang
* forgot this line :v
* New extension for Luscious.net
* Improve page fetch performance using caching
* Fix wrong tri state fitler logic
* Make all language disabled by default
* Fix language not being applied and adjust default sort option
* New extension for HentaiHand.com
* Set containsNsfw flag as true in build.gradle
Co-authored-by: scb261 <65343233+scb261@users.noreply.github.com>
* Add @Nsfw annotation
Co-authored-by: scb261 <65343233+scb261@users.noreply.github.com>
* Add missing nsfw import
* Split into language sources
* Reimplement ID lookup mechanism using RxJava
Co-authored-by: scb261 <65343233+scb261@users.noreply.github.com>
* LANraragi: Handful of filters.
- Descending/new/untagged toggles
- Starting page override
- Namespace sorting
- Categories
* LANraragi: Upgrade chapterListRequest to API.
Use the metadata endpoint.
Preserve WebView for i.e. management.
Pull out the date_added tag for date_upload.
* LANraragi: Verify if a category is selected.
* LANraragi: Hook up Latest.
With some new preferences.
* LANraragi: Switch Category filter from CBs to Dropdown
Soon: LRR has multi-category drifting.
Pins are indicated in the dropdown.
Correct types in Category. I'm blind.
* LANraragi: Change date_upload null check to let.
* LANraragi: Empty string compare to isNotBlank
* LANraragi: Preferences tidying.
* LANraragi: Cleanup Starting Page filter.
RIP the dream of indicating the number of items returned by search without pressing the Reset button.
* LANraragi: More preferences tidying.
* LANraragi: Pagination offset improvements
Previously going back pages from the end would result in the wrong size.
Include stats in the filter option when available to help with manual pagination.
* Fixed A-Z and Totally sort and added Z-A sort
* Added Genres, Status, Origin and removed stars, styles and demographic
* Update build.gradle
* Improved Status Filter
* Added hidden genres
These Genres(award_winning, youkai, uncategirized) give out results in the search query but are listed nowhere on bato.to
* Added More Sort Options
* add voidscans.com to madara
* remove PTScans from comiccake
* voidscans.com does not support search
* voidscans supports search, but results are limited
* update FMReader for new theme
* fix kissLove
* clean thing after update factory
* revert parseChapterDate to private
* almost forgot this
for substring chapter name
* add arabic for parsing date
* make chapter new banner selector to value
* fix atikrost chapter name and time issue
* fix mangaArabTeam chapter time issue
* replace mangaKitsu with mangaCrimson
* fix astralLibrary reversed chapter order issue