* refactor(reportErrorToUser): enhance reportErrorToUser
* refactor(DataExtractor): add unexpectedErrorCatchingLazy
Makes it easier to quickly find and fix unexpected errors
* refactor(BookDetail): attempt at making BookDetail more extensible
Also fixes a rare bug that would throw a NoSuchElementException when the status or origin fields weren't found in the details table.
* refactor(mangaDetailsParse): refactor mangaDetailsParse to follow BookDetail's refactor
* chore(reportErrorToUser): Review reportErrorToUser messages
* refactor(Search): completely separate simple and smart search
create SmartBookSearchHandler as an attempt to speed up search by wasting less resources on unnecessary multiple normalization and reinitialization of resources via ThreadLocal
* chore(build): bumped extVersionCode to 3
* refactor(activities): Add activities to handle /book and /read URLs
Create a MangasPage with only a single Manga present (unfortunately needs to fetch manga details as title can't be inferred just by bookid)
Group activities in "activities" package for clarity
* fix(KDoc): fix Cannot resolve symbol
* chore: Update README and CHANGELOG
* chore: Add a bit of documentation to SmartBookSearchHandler
* feat: Handle /book and /read urls as search query
* chore(CHANGELOG): entries incorrectly listed as PUBLISHING_FINISHED now are correctly listed as COMPLETED
* chore(README): expanded README
* build(gradle)!: Migrate ProjectSuki build.gradle to kotlin dsl
* feat: Add PathPattern
* feat: Add DataExtractor
* feat: Add ProjectSukiAPI
* feat: Add ProjectSukiFilters
* refactor!: migrate to new API and cleanup extension
Completely replace NormalizedURL with HttpUrl, remove PS.kt, PSBook.kt and PSFilters.kt
* chore(naming): rename pattern properties to be consistent
* refactor(preferences): Centralize and cleanup preferences
* chore(preferences): remove Android Preference import
* refactor(everything): Fix most of everything
Now apk builds, and correctly fetches books, chapters and images, including thumbnails.
* revert(gradle): revert to build.gradle.kts to be consistent with other extensions as context receivers are still unusable
* feat(url-activity): enhance
Needs to be tested, got distracted
* feat(preferences): Enhance preferences by providing more robust constructs
* feat(filters): Update and enhance filters
* feat(site-api): add search request data request and response parse
* refactor: replace require and error with reportErrorToUser in PathPattern
* refactor(core): Enhance everything
Now extension will show browse results on popular, main page on latest, will default to actually-useful search (with naive option on older devices) while still allowing old search.
Enhance user interaction by capturing or preventing almost all errors and alerting the user on what went wrong and what to do.
* chore: Suppress warnings
* docs: Document everything
Add documentation and revise pretty much everything.
* docs: Add CHANGELOG.md
* docs: Add README.md
* refactor(search-mode): Combine Naive/Full Site/Strict search options into single filter
* revert(manifest): Remove android:icon
it's set in the core AndroidManifest.xml
* chore(lang): switch extension language to "all"
explicitly set id: 8965918600406781666
* fix(preferences): fix blacklisted languages id
was the same as whitelisted
* fix: Fix bugs and more
Change Naive to Simple, provide more understandable description, make it possible to use Simple mode on any Android version if one wishes to do so.
Provide better regex for Simple search.
Test chapter filtering, download (single chapters and multiple), all searches, chapter view.
* docs: Update README and CHANGELOG
* refactor(url-activity): Refactor Url Activity from kotlin to java
Process kept complaining about java.lang.ClassNotFoundException: kotlin.jvm.internal.Intrinsics
* revert(url-activity): Avoid kotlin Intrinsics
* Finish migration to filters v2
* Implementation for smart filters
* Subtle cleanup
* Localization tests
* Fix 404 for latest update
* Filter out epubs
* Fixed Filter out epubs and optimization of 20 results per page
* Changelog and bump version
* Localization implementation
* Add localization keys
* Fix pub status not displaying. Closes#16318
Co-authored-by: FYannK <fanch.kerguelen@gmail.com>
* Hande exceptions and add version requirements
* Make fetch implementation with error handler.
Added/improved some comments
Added some more translation
* Update changelog
* Updated localization
---------
Co-authored-by: FYannK <fanch.kerguelen@gmail.com>
* MyReadingManga: Add WebP image support
Fix issue where manga published with webp images can not displayed correctly in Tachiyomi.
* MyReadingManga: Fix older release images does not parsed
* MyReadingManga: Bump version
* Add setting for Score positioning
Localization support for settings
* Simplify score position evaluation
Reformat code
* Include backup domain in Manifest
* Refine logic for picking the first volume cover
* Officially moved their main TLD
* Fallback to default value instead of empty string
* Avoid stray hyphen on chapter title if it has no name
* Fix typo and add explanation to README
Remove CHANGELOG
* Check and ignore empty string passed as Volume number
* Add Score to the description
Add option to keep the first cover
* Check to prevent the extra call
* Swap from ★☆ to ●◐○ to make use of the half-symbol
Because the half-star character (⯪) is too new and doesn't show up properly
* Missing Override
* Back to the stars on rating.
No half-symbols but makes more sense and is consistent with the site's usage of the ⭐ star emoji
* update urls again
* small update to filters
* remove unnecessary function and add short title preference
short title stolen from Nhentai ext
* default off
* add magazine info to description
* add description from site
* unify popular and search parsing
* auto update cdn url
* projectsuki initial commit
* update preferences
* non-lazy client
* buildMap -> mapOf
Co-authored-by: Alessandro Jean <14254807+alessandrojean@users.noreply.github.com>
* inline constants
* switched from custom NormalizedURL to HttpUrl
* band-aid fix for "No results found"
Has edge case where current page has 30 results and next page has 0 results.
* update remote & strip debug Log statements
---------
Co-authored-by: Alessandro Jean <14254807+alessandrojean@users.noreply.github.com>
* Simplify Manifest data entries
* Map MD and MU tags to genres
* Switch separator for Ignored Groups setting
From comma to newlines for better readability
* Make MU Tags optional via preferences
Because they might contain spoilers.
- Include demographic \ target audience into genres
* Switch from flattening list to a builder
* Remove unneeded Listener
* Switch migration check to preference boolean
Rename muTags parameter to includeMuTags
* Rename a couple variables
More in line with their context
* fix spelling for villainess in en translations
* custom user agent + more md@h logging
adds a custom user agent setting primarily intended for testing
do note that spoofing to be a different browser might fetch you trouble
as MangaDex's new hotlink/bot abusers can kick in action
also add logging to figure out which MD@H node users are hitting
as currently, the fallback was not observed to be changing even after
a while; leading to user's keep failing to fetch images
* more improvements
make the `Extra` header more verbose
use a `customUserAgent` sharedpreferences variable so that code looks
cleaner
move the useragent logic into an interceptor so that there is no
need for restarting the app after every useragent change
* completely switch to useragent interceptor
removes builder header modification
remove additional logging while testing (didn't really work as
expected since I kept hitting uploads.mangadex.org anyhow,
+ the interceptor logs weren't useful otherwise)
switch to hardcoding version code in header since it wasn't working
as expected...
add linting from android studio gradle release build
* increment extVersionCode
* oopsie be careful of comments
* properly close unsuccessful requests to mdah node
need to ensure this so that it doesn't crash (which has happened before)
inb4 this is why the fallback url never works....
* Add ComicFury Extension
Signed-off-by: Theray Tharow <TharowT@Tharow.net>
* Change pt to pt-BR as per alessandrojean
Updated Request Builders as per alessandrojean
added fun getMangaUrl to point to the archive page instead of the detail page to help with nfsw comic requiring to click accept on the archive page to allow tachiyomi to read the chapter/comic list
Signed-off-by: Theray Tharow <TharowT@Tharow.net>
* Use new siteLang as override for lang code for Manga Search as suggested by alessandrojean
Change notext lang to No-Text as commented by alessandrojean
Signed-off-by: Theray Tharow <TharowT@Tharow.net>
* Change No-Text lang to other-notext as suggested by alessandrojean
now shows up as Other (NOTEXT)
Signed-off-by: Theray Tharow <TharowT@Tharow.net>
* correct implementation misunderstanding and use extraName for the No text source, based on https://github.com/tachiyomiorg/tachiyomi-extensions/pull/6337
Signed-off-by: Theray Tharow <TharowT@Tharow.net>
---------
Signed-off-by: Theray Tharow <TharowT@Tharow.net>
Co-authored-by: Theray Tharow <TharowT@Tharow.net>
* increment extVersionCode
closes https://github.com/tachiyomiorg/tachiyomi-extensions/issues/17456
* add filtering to `list:`
* prefer using the constant instead
* revert to fallback url if MD@H node fails
* handle edge case in accessing list entries
mostly just to ensure the Retry message doesn't happen
* finish off TODO as manga redirects work fine nowadays
* linting
* add missing headers
this helps add the necessary tachiyomi ua and other stuff
* fix getMangaUrl
* Novelcool
very shit source
* use better selector to filter novels
* fix genre fetching in search
* add parsing logic for popular/latest as well
in case they break the app api
* Add support to better internationalization with a new lib.
* Add info about `lib-i18n` in the contributing guide.
* Use lib-i18n in M+ as well.
* Change properties files to UTF-8.
* use the assets/ folder instead of the res/ folder
files under assets/ are addressible by name
* mangadex: add string invalid_manga_id
* M+: Add translations for Vietnamese
* m+: Add Vietnamese to list of available languages
* mangadex: remove duplicate declarations
---------
Co-authored-by: Alessandro Jean <14254807+alessandrojean@users.noreply.github.com>
* lib-randomua
* NHentai: Random mobile ua
* Madara random UA overhaul
* MangaThemesia random UA overhaul
* MangaHub random UA overhaul
* build errors and warnings
* remove preference from Constellar
* change to singleton object
* network.client
* fix copy paste and chapter deep link
* exit early
* use data class and enum options
* missing import
* suggested changes
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
* re-add empty check to filters
* convert to interceptor
* update comment
Co-authored-by: Alessandro Jean <14254807+alessandrojean@users.noreply.github.com>
* update error message
* initialize client by lazy
* dont check on excluded Filters
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
* newlines
* move preference helper function into lib
* move preference helper function into lib x2
* move check to lib too
* move defaultRandomUserAgentType to constructor
* rename the interceptor
* organize the interceptor and preference stuff in different files
* hide custom ua setting when random ua is enabled
* English
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
* catch specific exception
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
* setVisible()
fresh stuff
* setVisible()
fresh stuff
* change summary
* workaround
* Update error message
Co-authored-by: Alessandro Jean <14254807+alessandrojean@users.noreply.github.com>
* Update comment
Co-authored-by: Alessandro Jean <14254807+alessandrojean@users.noreply.github.com>
---------
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
Co-authored-by: Alessandro Jean <14254807+alessandrojean@users.noreply.github.com>
* Add support to better internationalization with a new lib.
* Add info about `lib-i18n` in the contributing guide.
* Use lib-i18n in M+ as well.
* Change properties files to UTF-8.
* [Mangadex] Add setting to show alternative titles in manga description
Uses same-language and romanized titles only
* [Mangadex] Bump build.gradle for previous
* Only include romanized version of originalLanguage