Commit Graph

3 Commits

Author SHA1 Message Date
Cuong M. Tran
43659aeaf6
Update GalleryAdults (#3416) 2024-06-05 17:21:41 +05:00
Cuong M. Tran
155b2d08ac
Update theme GalleryAdults (#2911)
* Organizing code

* remove unnecessary files

* improve base class

- allow override search’s uri
- add shared method to get description & page count
- base class’s request for gallery’s all pages now support all sources without needs to override (almost)
- extract method to parse JSON

* Avoid request for more pages when no needed

* auto add more tags to filter while viewing manga;
add spit-tag

* filter for getting Random manga

* Always add page=1 to uri so it will exclude some non-latest mangas from homepage, happened with some sources.

* reorganize code

* Allow source which doesn't need shortTitle to hide it.

* Extract default advanced search's Uri
change base class's galleryUri value

* Fix getInfoPages

* Fix missing category filter

* open for override

* bump base class version
2024-05-12 09:36:48 +05:00
Cuong M. Tran
1b93df87e0
add multi-src: GalleryAdults (#2553)
* Convert AsmHentai into multisrc GalleryAdults

Also convert some selector into function

* Move HentaiFox to theme GalleryAdults

* GalleryAdults: Fix search

* MangaFox: fix TagFilter

* fast page load & preference for slowly parsing image’s URL

* AsmHentai: change shortTitle reference from list to swith

* HentaiFox: add Korean

* move HentaiFox from en to all

* fix build

* fix search: convert space to +

* Request for tags list from site

* Fix request for user’s favorites

* - Optimize popular/latest request

- Improve ‘page’ param
- AsmHentai: support Latest/Popular

* add SortFilter

* Support multiple tags filter

* Support exact match query

* getTime

* Fix Lang when searching

* fix searchById

* add language companion

* Fix URL action

* renovate

* Support parsing json for page list

Fix generating page if less than 10 pages
HentaiFox: Random server selection

* Migrate IMHentai to GalleryAdults

* Preferences to support all methods for page querying

* IMHentai: tagList

* Expose some filters to child class, add more space to description

* Fix Factory lang

* Support browsing tags, speechless & favorite

* IMHentai:

- support favorite browsing (require login)
- tag filter with queried popular tags
- advanced search for artist, group, character, parody, tag (include/exclude)
- remove language filters
- Fix language search

* Move advance search to multi-src

* Fix: hide speechless when not supported

* add Hint to use comma

* split code to Filters & Utils

* bump version all 3 extensions

* fix getTime

* fix lint

* Fix alternative name

* improve cleanTag

* move out of Object

* move Regex out

* remove RandomUA

* fix build

* remove images parsing setting, pick a default one

* fix build

* Move shortTitle to base clash

* HentaiFox: add language keyword to search query

* if all mangas in current searching page is of other language then include at least 1 entry so it can request for next page

* Alternative methods for images parsing
Revert "remove images parsing setting, pick a default one"

This reverts commit e49e3aaeb7.

# Conflicts:
#	lib-multisrc/galleryadults/src/eu/kanade/tachiyomi/multisrc/galleryadults/GalleryAdults.kt
#	src/all/asmhentai/src/eu/kanade/tachiyomi/extension/all/asmhentai/AsmHentai.kt
#	src/all/imhentai/src/eu/kanade/tachiyomi/extension/all/imhentai/IMHentai.kt

* Fall back if failed to decode JSON

* remove supportLatest from base class

* Remove preference for parsing page by page, switch to override val instead.

* Split searchRequest into parts

* Don't using generic Filter.Text to avoid other kind of text field which extensions might have
2024-04-28 11:51:04 +05:00