Commit graph

658 commits

Author SHA1 Message Date
Ivan Iskandar
73c9df9c43 Use Coil (#4870)
* Use Coil

* Remove coil-transformations lib

* Add MangaCoverFetcher

* Remove Glide

* MangaCoverFetcher: Allow skipping custom cover usage

* Adjust coil caching policy for some non-library items

* Allow coil to use RGB565 only on low ram devices

* Fix image loading progress view not showing

a

* Increase coil crossfade duration

Same as default glide duration

* Add back request clearing

(cherry picked from commit 93e61367958e280689423b7692cd98cda59805e9)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/App.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/glide/FileFetcher.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/glide/TachiGlideModule.kt
#	app/src/main/java/eu/kanade/tachiyomi/network/NetworkHelper.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/SourceComfortableGridHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/SourceGridHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/SourceListHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryComfortableGridHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryCompactGridHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryListHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/pager/PagerPageHolder.kt
2021-05-04 14:13:17 -04:00
arkon
b4a226157c Drop support for Android 5.x
(cherry picked from commit 89619b7836145130b4bf5d92ebc0f6fe70de7233)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt
2021-05-04 14:13:14 -04:00
arkon
f45fdca168 Remove app update check on Android 5.x
(cherry picked from commit 13324dd1a1f52dfeaa551d34d2a0c57d6be3940d)
2021-04-28 14:01:22 -04:00
arkon
f1a8132307 Remove "Locked" orientation, replace with explicit orientations
Portrait/Landscape allow sensor, Locked Portrait/Landscape don't.

(cherry picked from commit e8d8621f06751a6aa099931cba1d8f4e4f28ddb6)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt
2021-04-26 18:00:36 -04:00
arkon
aa56698dac Clean up controller viewbinding creation
Based on https://github.com/Jays2Kings/tachiyomiJ2K/blob/master/app/src/main/java/eu/kanade/tachiyomi/ui/base/controller/BaseController.kt

(cherry picked from commit cab919d74c2a00fd450c915a4d7fddc29c44927e)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/SourceController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt
2021-04-19 14:56:08 -04:00
Jobobby04
780c1e68a6 Rename debug function 2021-04-14 19:01:41 -04:00
Jobobby04
5af0e7e847 Nullable source name for manga type 2021-04-14 18:16:53 -04:00
Jobobby04
142bdd14b7 Add debug function to fix reader toast crash 2021-04-14 18:16:23 -04:00
Jobobby04
a3c26c63d4 LoginSource changes 2021-04-13 18:52:57 -04:00
Jobobby04
8a9f2cce10 More inset fixes 2021-04-11 20:56:50 -04:00
Jobobby04
5df0eb7ed1 Convert EHentai Login controller to a activity 2021-04-11 20:43:21 -04:00
arkon
828944950b Add Google DoH provider
(cherry picked from commit b2d4e5ab846bcb5807785a0d1bfb82e9c5caeec6)

# Conflicts:
#	app/build.gradle.kts
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsAdvancedController.kt
2021-04-11 18:46:37 -04:00
Jobobby04
6b08889c15 Use a Enum for MigrationStatus 2021-04-06 13:39:25 -04:00
Jobobby04
367d95c825 Logging fixes and lint 2021-03-31 14:29:27 -04:00
Jobobby04
12962b3486 Minor cleanup 2021-03-22 20:25:46 -04:00
Jobobby04
f02e3ae28f More blocking fixes 2021-03-22 20:11:15 -04:00
Jobobby04
5558790e15 Fix Sync Favorites 2021-03-19 15:16:42 -04:00
Jobobby04
a1a9b4b812 Lint 2021-03-18 21:55:25 -04:00
Jobobby04
aac2fcb7d4 Catch more mangadex exceptions 2021-03-18 19:48:06 -04:00
Jobobby04
67310ada53 Move depercated logging to the bottom of the file 2021-03-18 17:06:19 -04:00
arkon
7164f686d4 Add reading mode toggle
(cherry picked from commit 1e58b05ead62e68373775afb309fcad8b28df957)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt
#	app/src/main/res/layout/reader_activity.xml
2021-03-18 15:10:53 -04:00
Jobobby04
21240cad06 Cleanup 2021-03-11 22:39:46 -05:00
Jobobby04
84abe044a3 Remove Hentai Cafe Delegation 2021-03-11 19:10:33 -05:00
Jobobby04
04200bb590 Cleanup 2021-03-11 19:10:33 -05:00
Jobobby04
5dace4fd74 Fix Mangadex Login, Fix Mangadex tracking, Set Mangadex track status to Reading on tracked 2021-03-11 19:10:32 -05:00
Jobobby04
ccdae6bb9a Deprecate throwable logging function, produces bad log 2021-03-11 19:10:31 -05:00
Jobobby04
0fd9b2a8f6 Fix migration not running sometimes 2021-03-11 19:10:31 -05:00
Jobobby04
da3681e602 Dont throw a exception if the request fails for mdlist tracking 2021-03-07 13:04:53 -05:00
Jobobby04
d64a8907eb Many small changes
- Remove unused gridlayout dependency
- Add RECIEVE_BOOT permission for EH updater
- Some suspending db IO calls
2021-03-07 02:47:48 -05:00
Jobobby04
7e91ae02f1 Upgrade logging, now maps timber to XLog, new logging functions 2021-03-07 00:23:23 -05:00
Jobobby04
3601968342 Cleanup data saver 2021-03-04 19:10:07 -05:00
Jobobby04
9694c8310c Make sure some toasts are used in the main thread 2021-02-24 17:26:08 -05:00
Jobobby04
079ca1d0b3 Small cleanup 2021-02-24 16:16:47 -05:00
Jobobby04
50a5ec45b3 Do a bit of optimization and cleanup, remove old EH startup code 2021-02-14 21:24:26 -05:00
Jobobby04
eb5469d362 Get MDList working with merged manga 2021-02-11 17:02:48 -05:00
Jobobby04
227de5d838 Separate MDList from Mangadex manga, allowing it to be used with other sources(not implemented) 2021-02-11 16:41:23 -05:00
Jobobby04
86c228243d Fix merged manga chapterlist not updating, fix merge chapter downloads 2021-02-10 16:39:11 -05:00
Carlos
88690008f7 use super high quality on mangaplus
(cherry picked from commit 2074fbc192b9cfe9475643583d3d77f3cd9e4b4c)
2021-02-07 23:39:51 -05:00
Carlos
4388e7bc3a fix more descriptions
(cherry picked from commit 2f69b74f3429ab94aaee0e55eefbb64047a9737c)
2021-02-07 23:39:41 -05:00
Jobobby04
d7eac12eee Use some core ktx 2021-02-06 19:02:35 -05:00
Jobobby04
1eb8ee502e Optimize imports 2021-01-26 23:47:44 -05:00
Jobobby04
2b845ec01f Cleanup MetadataViewPresenter 2021-01-26 23:47:26 -05:00
Jobobby04
dc6aa11bc7 Revert "Run more db queries inside the IO pool, convert some RxJava references to Coroutines"
This reverts commit 18f02a85ac.

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsEhController.kt
2021-01-26 23:36:03 -05:00
Jobobby04
628eedf15a Remove duplicate raised search metadata code 2021-01-26 23:33:51 -05:00
Jobobby04
5d600166ea Move EnhancedSource helper functions to SourceHelpers 2021-01-26 20:26:31 -05:00
Taco
ec1fe205ad Update Okio, use more KTX stuff (#4353)
* Update Okio to 2.10.0

* Use some more KTX extensions

(cherry picked from commit 5f7e34b6a1cbda755db6f943a87da16cfc51e6e4)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/database/mappers/CategoryTypeMapping.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/database/mappers/MangaTypeMapping.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/database/resolvers/MangaFavoritePutResolver.kt
2021-01-26 16:11:02 -05:00
Jobobby04
295af5306b Handle delegated source id lists better using a LisenterMutableMap
Better source id comparisons
2021-01-26 13:31:22 -05:00
Jobobby04
18f02a85ac Run more db queries inside the IO pool, convert some RxJava references to Coroutines 2021-01-26 13:31:20 -05:00
Jobobby04
64eeab7c5e Use a Enum for genre color 2021-01-26 13:31:18 -05:00
Jobobby04
a088e1ffc2 Cleanup removeArticals extension function 2021-01-26 13:31:17 -05:00
Jobobby04
0b7f8da84e Cleanup EHentai Description extension 2021-01-26 13:31:14 -05:00
Jobobby04
9f2e582281 Cleanup view extensions 2021-01-26 13:31:14 -05:00
Jobobby04
02e3b49dc7 Move StringBuilderExtensions to utils 2021-01-26 13:31:12 -05:00
Jobobby04
003e916ab0 Fix app crash if mangadex logout dialog has a issue 2021-01-21 18:46:54 -05:00
Jobobby04
34f8407983 Fix MangaPlus chapters for MangaDex 2021-01-21 14:47:03 -05:00
Jobobby04
0a4fcb480d Small cleanup and optimizations, add a coroutine version of insertFlatMetadata 2021-01-20 21:00:23 -05:00
Jobobby04
3b364c91f1 Do quite a bit of code cleanup 2021-01-17 22:17:15 -05:00
Carlos
e713340ced switch off kotson for chapter deeplink
(cherry picked from commit 6b545e84aba0d5657a09a8c00735f9f9d4ee28bb)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/source/online/handlers/ApiMangaParser.kt
#	app/src/main/java/exh/md/handlers/serializers/ApiChapterSerializer.kt
2021-01-15 22:59:37 -05:00
Carlos
5fefefcb23 Mark manga complete on mangadex when all chapters are marked in mdlist
(cherry picked from commit b95cca91fc19fedb42fce895e0a5f062e342dc21)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/track/mdlist/MdList.kt
2021-01-15 22:52:44 -05:00
Carlos
4a268de6dc fix more descriptions
(cherry picked from commit a04a0f534f679a9f908ffaf6f8bcff0018d742be)
2021-01-15 22:38:32 -05:00
Jobobby04
80c7abe098 Fix chapters not updating correctly on mdlist 2021-01-15 22:38:16 -05:00
Jobobby04
37787f040c Mangadex code cleanup 2021-01-15 22:29:57 -05:00
Jobobby04
f29ad69534 Remove uneeded preferences from a Mangadex file 2021-01-15 22:18:59 -05:00
Jobobby04
05793d8a60 Remove a uneeded .asObservable call 2021-01-15 22:18:23 -05:00
Carlos
85425a66a2 fix chapter deeplink
(cherry picked from commit f0dd30587a98c27bca59088f119d85f2fc044f25)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/source/online/handlers/ApiMangaParser.kt
2021-01-13 19:49:14 -05:00
Jobobby04
a0ac2daad1 Deal with SY for the coroutine function changes 2021-01-10 19:36:24 -05:00
Jobobby04
cda886ecb3 Unknown source compile fix 2021-01-10 18:12:14 -05:00
Carlos
57c4ead5fb fix a description
(cherry picked from commit c1a603c68bf5a9fb34e2681862e4769e157a5966)
2021-01-10 17:33:07 -05:00
Carlos
3a5182103a fix manga plus entries
(cherry picked from commit 1b5624a601144b4ccdebf379d53a2b4c5f90c2f6)

# Conflicts:
#	app/src/main/java/exh/md/handlers/ApiChapterParser.kt
2021-01-10 17:32:53 -05:00
Carlos
85853b159d fix descriptions
(cherry picked from commit 74a06675d4b42cd700fdbe210cf2e281dfae7d45)
2021-01-10 17:29:43 -05:00
Jobobby04
a04f848ad1 Unknown source error for Deeplink 2021-01-10 17:28:52 -05:00
Jobobby04
73e861ec9e Mangadex replace list of langs with just the source lang 2021-01-10 17:28:20 -05:00
Carlos
6bb7b676bd fix mdlist
(cherry picked from commit ebf5e492ca8dcc6771349b631ebf7661dfbb7d44)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/source/online/handlers/FollowsHandler.kt
#	app/src/main/java/exh/md/utils/FollowStatus.kt
2021-01-10 17:21:08 -05:00
Carlos
35936e3c9a finish transition to api v2
(cherry picked from commit 4039f6927e627279cf1b324279a2d817a007d29b)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/source/online/handlers/ApiMangaParser.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderPresenter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderSettingsSheet.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/chapter/ReaderChapterSheet.kt
#	app/src/main/java/exh/md/handlers/MangaHandler.kt
#	app/src/main/java/exh/md/utils/MdUtil.kt
#	app/src/main/res/layout/reader_activity.xml
#	app/src/main/res/layout/reader_chapters_sheet.xml
#	app/src/main/res/menu/reader.xml
2021-01-09 16:11:15 -05:00
Jobobby04
fca7dad7b0 Address coroutine scope leaks for SY 2021-01-07 23:14:08 -05:00
arkon
a68f18d180 Use lifecycleScope directly
(cherry picked from commit b18a794eca05f4c4befb8606b9af8913d7520215)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt
2021-01-07 22:22:27 -05:00
inorichi
c8dd2190ba Minor fixes regarding leaks
(cherry picked from commit 36f81b4a623ede11f10049f5869de5b6efa7803a)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt
2021-01-07 14:27:22 -05:00
Jobobby04
a6d4644713 Cleanup 2021-01-07 00:55:00 -05:00
Carlos
c9062cc089 switch to v2 and api server + old style chapter urls for delegation
(cherry picked from commit b79c1572470fea4568708d3526f5170868a0c3c1)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/source/online/handlers/ApiChapterParser.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/online/handlers/FollowsHandler.kt
#	app/src/main/java/exh/md/handlers/SearchHandler.kt
2021-01-07 00:32:12 -05:00
Carlos
ac2301e4be fix group serializer
(cherry picked from commit e47d84f1af1eebe63b3dfc618daee29e18ee4156)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/source/online/handlers/ApiMangaParser.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaDetailsController.kt
#	app/src/main/res/raw/changelog_release.xml
#	buildSrc/src/main/kotlin/Configs.kt
2021-01-06 22:48:22 -05:00
Carlos
c073f71ec1 fix v2 api call for groups
(cherry picked from commit 01903e341be6cd5ae50ce6eee88be6ad40fd1835)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/source/online/handlers/ApiMangaParser.kt
2021-01-06 22:46:07 -05:00
Carlos
f1a65edd3a Mangadex api v2 for manga info
(cherry picked from commit 38ec991a15d2eebc7ebd0522f8615c2d8dd7003b)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/source/online/handlers/ApiMangaParser.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/online/handlers/serializers/CoversSerializer.kt
#	app/src/main/java/exh/md/handlers/MangaHandler.kt
#	app/src/main/java/exh/md/handlers/SearchHandler.kt
#	app/src/main/java/exh/md/handlers/serializers/ApiMangaSerializer.kt
#	app/src/main/res/drawable/manga_info_more_gradient.xml
2021-01-06 22:42:55 -05:00
Jobobby04
68c12d79ee CoroutinePresenter changes 2021-01-06 00:54:11 -05:00
Jobobby04
ce0726d863 Update SY fetchMangaInfo and getchChapterList to use the new 1.x functions 2021-01-02 16:36:13 -05:00
Jobobby04
28fca8c839 Make internal and delegated sources able to use getMangaDetails, getChapterList, and getPageList properly 2021-01-02 03:28:03 -05:00
Jobobby04
8e659f3355 Remove usage of retrofit in similar manga pull 2020-12-31 17:07:03 -05:00
Jobobby04
e078e34ab0 Add chapter deeplink, make MangaDex use it 2020-12-26 16:13:55 -05:00
Jobobby04
1a609e557b Refactor and cleanup 2020-12-26 16:12:52 -05:00
Jobobby04
f33a4e2ecc Also do the last commit for SY 2020-12-26 00:31:38 -05:00
Jobobby04
78f48d28c3 Convert SmartSearch channel to SharedFlow 2020-12-26 00:06:52 -05:00
Jobobby04
bbc70801db Fix weird MangaDex login dialog fill-in 2020-12-25 20:07:06 -05:00
Jobobby04
644140b617 Make a coroutine presenter 2020-12-21 14:21:43 -05:00
Jobobby04
d302a0fbc7 Cleanup 2020-12-21 14:21:43 -05:00
Jobobby04
f1a4811030 In batch add and deeplink, only use enabled sources 2020-12-21 14:21:42 -05:00
Jobobby04
78ffd9d56e Cleanup 2020-12-21 14:21:41 -05:00
Jobobby04
ba6bcc82b6 More dialog fixes 2020-12-21 14:21:36 -05:00
she11sh0cked
a8c6474f5e
Use a different title for japanese manga vs other manga (#181)
* Use a different title for japanese manga vs other manga

* Revert wildcard import
2020-12-21 14:20:49 -05:00
Jobobby04
958b6d4b71 Release 1.4.0 2020-12-12 13:27:13 -05:00
Jobobby04
6f712c7f17 Lint 2020-12-12 12:36:29 -05:00
Jobobby04
8fbc6aa29b Convert intercept activity to a stateflow 2020-11-30 20:34:48 -05:00
Jobobby04
ee18f94788 Convert Favorites sync to a StateFlow 2020-11-30 20:22:29 -05:00
Jobobby04
9a2ed755b7 Cleanup EH and AZ preferences 2020-11-30 15:11:58 -05:00
Jobobby04
5e5b155992 Run getRecs in IO 2020-11-30 13:19:28 -05:00
Jobobby04
dacc5502fc Fix community recommendation stalling 2020-11-30 13:19:02 -05:00
Jobobby04
e7169bda19 Fix exclude from deletion 2020-11-30 13:02:47 -05:00
Jobobby04
8110a2cabd Cleanup 2020-11-29 20:38:36 -05:00
Jobobby04
1118fe7cf7 More recs cleanup 2020-11-29 20:38:22 -05:00
Jobobby04
5b54fc8885 Localize the similar manga no results error 2020-11-29 20:38:07 -05:00
Jobobby04
2e75cc0cc9 Add title to similar manga header 2020-11-29 20:35:46 -05:00
Jobobby04
9bad33930a Fix weird recs map sort 2020-11-29 18:52:32 -05:00
Jobobby04
ede4f40133 Cleanup rec changes 2020-11-29 17:13:44 -05:00
she11sh0cked
2cefc93797
Rework code to enable UI rendered error messages (#172) 2020-11-29 16:24:25 -05:00
arkon
9d16b0efd2 Replace more Kotlin synthetics
(cherry picked from commit 019a0f31c767c496bcc569485d5daf57fcc947eb)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/SourceComfortableGridHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/SourceItem.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryComfortableGridHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryCompactGridHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryItem.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryListHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/widget/preference/LoginDialogPreference.kt
2020-11-29 00:23:09 -05:00
Jobobby04
643aa377bf Update XLog 2020-11-26 19:12:00 -05:00
Jobobby04
92970bb812 Log to file cleanup 2020-11-25 15:13:06 -05:00
arkon
b25e604bc2 Set preview/experimental compiler flags instead of using annotations
(cherry picked from commit 781971ee813b9c3a71558c268365e9495dbc41c2)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt
2020-11-25 14:52:06 -05:00
Jobobby04
9985646e58 Lint 2020-11-21 16:54:33 -05:00
Jobobby04
1e98b09f24 Use more core-ktx 2020-11-21 16:24:16 -05:00
Jobobby04
2bece67f6e Fix Mangadex random button not showing results for some manga because they have no chapters 2020-11-13 22:48:08 -05:00
Jobobby04
7978dc9d2c Fix Mangadex random button returning the same result multiple times 2020-11-13 22:48:08 -05:00
Jobobby04
0594efb1c8 Cleanup 2020-11-11 17:30:38 -05:00
Jobobby04
a35e7871e8 Enhance file logging 2020-11-11 17:28:54 -05:00
Jobobby04
67aafab46a Forgot to commit this 2020-11-08 15:11:42 -05:00
Jobobby04
89a20be7ef Fix E-H Sync favorites getting stuck 2020-11-08 15:02:26 -05:00
Jobobby04
803ee3d547 Fix mangadex login dialog crash 2020-11-06 18:19:11 -05:00
Jobobby04
acefd33e2e Cleanup 2020-11-06 14:24:28 -05:00
Jobobby04
079dd953bd Replace elvis operators with .orEmpty where possible 2020-11-04 22:10:13 -05:00
Jobobby04
015c610205 Use stable versions of RxUtil functions 2020-11-04 21:44:08 -05:00
Jobobby04
7cbd7bd419 Cleanup 2020-11-01 19:19:57 -05:00
Jobobby04
98bfe34e18 Update lewd manga checker with new sources and tags 2020-10-31 17:33:59 -04:00
Jobobby04
95c331b8b4 Convert all SY specific things to use ViewBindings instead of synthetics 2020-10-29 23:43:24 -04:00
Jobobby04
3b5249c8bc Convert java threads to kotlin coroutines 2020-10-29 15:29:43 -04:00
Jobobby04
46998d81f4 Do a bit of cleanup 2020-10-29 15:28:48 -04:00
Jobobby04
406b5a89c8 Fix smart background for real this time, fix issues with theme not changing 2020-10-29 00:37:07 -04:00
Jobobby04
4881571293 Big refactor for the E-Hentai config builder, I sucked when making my additions, now its better 2020-10-29 00:13:25 -04:00
Jobobby04
9cba544ffd Refactor and cleanup a bunch of code 2020-10-27 23:05:53 -04:00
Jobobby04
114fb723dc Trim Mangadex descriptions, fixes extra blank lines 2020-10-27 17:59:21 -04:00
Jobobby04
079405c17e More tweaks to delegated manga views 2020-10-26 19:23:59 -04:00
Jobobby04
05269c557d Make TF happy, cleanup the more info menu 2020-10-26 14:28:56 -04:00
Jobobby04
eb3a987826 Implement Neko similar manga, Mangadex only recommendations 2020-10-26 02:13:02 -04:00
Jobobby04
e9cef78d19 Filter scanlators on delegated manga 2020-10-25 20:24:30 -04:00
Jobobby04
32232c80aa Extra info updates 2020-10-25 20:19:02 -04:00
Jobobby04
112bbdfcf7 Remove outdated comment 2020-10-25 18:12:36 -04:00
Jobobby04
2a24f659d2 Disable things that dont work how I want them to 2020-10-24 23:56:40 -04:00
Jobobby04
484cb86ca9 Cleanup 2020-10-24 22:53:43 -04:00
Jobobby04
a75cf8ec53 Attempt a new way to move chapters between EH manga versions 2020-10-24 21:59:56 -04:00
Jobobby04
b252a9e060 Fixed EH update helper crashes 2020-10-24 19:41:16 -04:00
Jobobby04
fa7c6716f4 Remove EH legacy code 2020-10-24 19:07:46 -04:00
Jobobby04
c049ce9018 Convert E-Hentai Update helper to Flows 2020-10-24 16:44:20 -04:00
Jobobby04
1a0109df1d Cleanup 2020-10-24 15:44:52 -04:00
Jobobby04
c999229700 Use bundleOf everywhere I can 2020-10-24 14:28:03 -04:00
Jobobby04
01496ab34c Cleanup some merged manga code 2020-10-24 13:38:25 -04:00
Jobobby04
1dfe3890a9 Add intercept activity source choosing 2020-10-19 18:41:41 -04:00
Jobobby04
a8b1e8fdb0 Switch to the Mangadex extension for the low quality covers setting 2020-10-19 15:47:14 -04:00
Jobobby04
9945752667 Support the short title setting in NHentai 2020-10-19 15:46:08 -04:00
Jobobby04
c3a5439d26 Fixes for delete if in category 2020-10-15 11:27:30 -04:00
Jobobby04
c789203ff8 fix some mangadex manga not being marked as complete in status 2020-10-14 17:48:12 -04:00
Carlos
7f73094bb4 follows sort yolo
(cherry picked from commit 097d44ef35b021ba11e164f45234356fd8395540)

# Conflicts:
#	app/src/main/java/exh/md/handlers/FollowsHandler.kt
2020-10-14 17:43:40 -04:00
Jobobby04
f3fc479020 Revert temp fixes, add serialization progurd rules
This reverts commit 543e089982.
2020-10-13 13:49:28 -04:00
Jobobby04
b67db6a25e Manually deserialize saved searches, fix NHentai 2020-10-13 11:34:29 -04:00
Jobobby04
405b0580fc Implement exclude categories from deletion 2020-10-12 22:11:16 -04:00
jobobby04
445878794c
Make a protobuf based backup system (#112)
* Make a protobuf based backup system, restore not tested

* Fix a number

* Remove uneeded change

* Remove more uneeded changes

* Use 1.x style models, backup should be 100% compatible with the 1.x backups

* Fix restore service not running

* Fix offline chapter restore
Cleanup saved searches restore(untested)

* Implement onlione/offline option, fix merged manga restore online, fix restore total

* Allow setting auto backup to use a full backup

* Fix for saved searches restore

* Edit some comments

* Convert flows back to observables

* Fix a model

* Fixes and comment only the SY specific things

* Move SY values range to 600 from 60

* Combine legacy and full backup services into one
Deduplicate a lot of code
Simplify a lot of stuff
Modify comments

* Cleanup

* Remove unneeded protobuf config edit because its now the default

* Migrate to kotlinx.serialization for backup saved searches

* Cleanup saved searches more, move gson type adapters to the legacy package
2020-10-12 14:41:56 -04:00
Jobobby04
f3365cef67 Convert SY specific usages of Gson to Kotlin Serialization
Cleanup saved searches a bit
Cleanup json parsing
2020-10-12 14:20:54 -04:00
Jobobby04
4f864152ea Cleanup some code 2020-09-30 19:48:26 -04:00
Jobobby04
c501c9ecc3 Modify the looks of the extra info for a few sources 2020-09-30 19:29:44 -04:00
arkon
26557b3257 #3520 Searchable Settings (#3683)
* Adding class stubs for settings search, UI elements.

* -  implement searchable settings
- `SettingsController.setupPreferenceScreen` must return a PreferenceScreen

* Remove unneeded SettingsControllerFactory.

* Set query hint, clean up code smell.

* Add search button to MoreController, stop infinite recursion.

* - initialize SearchResultCollection once in Activity.onCreate

* - implement prefernce highlighting after settings search

* - Ensure all Preferences have a key set or else the highlighting effect will have no effect on it.
- remove ExtensionFilterController and SourceFilterController from settingControllersList in SettingsSearchHelper, since those are related to Extensions and not Settings

* Limiting search to settings menu only, localized breadcrumb string, and code cleanup after code review.

* - moved call to SettingsSearchHelper.initPreferenceSearchResultCollection() into SettingsSearchController

* Code review cleanup and refactoring.

* Inlined non-reused key strings.

* Adding more UI polish, add comments for future enhancements.

* - retain search query when navigating *away* from SettingsSearchController
- keep `searchItem` in `expandActionView` state until user goes back (fixes the empty view in `SettingsSearchSearchController` issue)

Co-authored-by: mpm11011 <markuscicero5@gmail.com>
Co-authored-by: lmj0011 <9396189+lmj0011@users.noreply.github.com>
(cherry picked from commit 766f9e37b52873080c58d73dfaff42c5add24dc0)

# Conflicts:
#	app/build.gradle
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/SourceFilterController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/more/AboutController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsAdvancedController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsLibraryController.kt
2020-09-24 09:09:45 -04:00
Jobobby04
9ee712aea4 Fix some mangadex login imports 2020-09-17 10:41:41 -04:00
Jobobby04
11fbc1faf9 Use XLog in more places 2020-09-17 09:05:19 -04:00
Jobobby04
de05f88d5f Fix Mangadex 2 factor auth
Fix Backups with merge manga breaking(I think)
Tweak preload settings, make the max 20, defaults to 10
Add tag based sorting
2020-09-15 13:00:40 -04:00
arkon
8d5b2f40b3 Use Kolinter Gradle plugin for linting instead of ktlint directly
(cherry picked from commit 76f6fe46010b235ee59962c94c790428870fc23e)
2020-09-13 23:08:52 -04:00
Jobobby04
02e6eaae12 Cleanup and fix a few compiler warnings 2020-09-13 22:24:03 -04:00
Jobobby04
bb6932ff80 Mangadex follows, tell browse there are no more pages 2020-09-12 13:51:54 -04:00
Jobobby04
b93298c411 Add MangaDex only implementation of Mangadex Follows list
Add login dialog that pops up whenever you are not logged in when trying to browse MangaDex
Remove attempts at porting over chapter read history from older galleries to new ones
Disable latest for ExHentai, it was browse without buttons anyway
2020-09-11 23:12:13 -04:00
Jobobby04
f62d277894 Opps, forgot to push these changes 2020-09-08 12:04:53 -04:00
Jobobby04
f20e5d864d Move from kizitonwose time to kotlin duration 2020-09-06 16:24:43 -04:00
Jobobby04
1fdbae5bf8 Cleanup 2020-09-05 18:17:48 -04:00
Jobobby04
a1d54880c3 Merged manga implementation, man this took forever to make and bugfix, its not even done 2020-09-05 18:17:33 -04:00
Jobobby04
d21a652944 Remake the merged database, has support for future features 2020-09-04 17:31:35 -04:00
Jobobby04
41b8786415 Cleanup some mangatype logs 2020-08-25 02:07:40 -04:00
Jobobby04
0a502fcf31 Cleanup merged source code so I can modify it easier later on 2020-08-24 17:28:14 -04:00
Jobobby04
80960d87f2 Cleanup 2020-08-24 17:25:10 -04:00
Jobobby04
b8836b9b6f Update firebase 2020-08-23 21:57:06 -04:00
Jobobby04
79e4e3d2a0 Add chapters bottom sheet for reader 2020-08-22 17:37:42 -04:00
Fahad1998
fae290cf22
data saver fix (#85)
Co-authored-by: Fahad1998 <f1998>
2020-08-22 17:35:50 -04:00
Jobobby04
9ecf83f842 Delegate mangaplus so that it doesnt crash the app, it is literally just a copy of the extension with no extra features, but at least the app doesnt crash when you use it now 2020-08-21 16:27:01 -04:00
Jobobby04
f594962731 Cleanup 2020-08-21 15:32:42 -04:00
Jobobby04
048eecf655 Optimize and cleanup data saver 2020-08-21 15:32:29 -04:00
Jobobby04
0deb6f6b8d Finish some more advanced mangadex delegation features, more to come later 2020-08-20 20:50:37 -04:00
Jobobby04
294ade035e Rename LewdSource to MetadataSource to account for that Metadata will not always be for lewd sources 2020-08-19 18:45:56 -04:00
Jobobby04
64bb34b50d Delegate Mangadex (Part 1) 2020-08-19 18:20:05 -04:00
Jobobby04
9efb1482f9 Updated delegation system to account for custom headers 2020-08-19 18:19:22 -04:00
Jobobby04
a6b98e24dc Undo linting 2020-08-15 15:57:07 -04:00
Jobobby04
eeb0f76cce Cleanup 2020-08-14 18:41:21 -04:00
Jobobby04
84b9b4db55 Cleanup 2020-08-14 18:41:21 -04:00
Jobobby04
d3603a664c Un-break XLog network logging, code contributed from Neko 2020-08-14 18:41:21 -04:00
Jobobby04
7ccaea0d72 Remove unused hitomi class 2020-08-14 18:41:20 -04:00
Jobobby04
bc549c56d6 Automatic linting fixes 2020-08-14 18:41:20 -04:00
Jobobby04
7d82be964c Add long click to copy on the special manga views 2020-08-12 22:34:20 -04:00
Jobobby04
525c3f84e4 Enable click to copy to clipboard in the more info 2020-08-12 22:32:13 -04:00
Jobobby04
0d033c7080 Cleanup some delegation code 2020-08-12 18:46:05 -04:00
Jobobby04
3e1804da8a Lazily instantiate some variables in EHSourceHelpers 2020-08-12 14:20:32 -04:00
Jobobby04
3fa5322133 Delegate NHentai, to continue using NHentai download the extension, SY requires NHentai version 1.2.28 2020-08-12 00:23:18 -04:00
Jobobby04
5a1bc6e25b Delegate Perv Eden, to continue using it download the extensions(there is a English extension and a Italian extension) 2020-08-12 00:21:29 -04:00
Jobobby04
51d0a67908 Account for custom delegated image requests, fixes Hitomi pages 2020-08-11 15:20:11 -04:00
Jobobby04
8b53568fc8 Cleanup some hitomi leftovers 2020-08-10 23:47:26 -04:00
Jobobby04
9a3fdc23e6 Delegate hitomi, it is now the first fully delegated factory source. To continue using hitomi please download the extension. This comes with a lot of fixes for future delegated factory sources 2020-08-10 23:29:10 -04:00
Jobobby04
f8efe5d189 Make a new debug function to help delegation 2020-08-10 21:15:48 -04:00
Jobobby04
aae23f5ef3 Delegate 8Muses, please manually migrate over your comics to the extension, as the old version of the 8Muses comics cannot support the new comics format 2020-08-10 21:15:08 -04:00
Jobobby04
c2adf2fe0a Copy smart background from J2k 2020-08-06 16:11:00 -04:00
Jobobby04
2de87f8d29 Cleanup 2020-08-06 14:57:54 -04:00
Jobobby04
61094edeed Cleanup some code 2020-08-05 22:46:04 -04:00
Jobobby04
bb87392eef Code cleanup 2020-08-04 22:51:56 -04:00
Jobobby04
4f803494ff Update the EH search engine to fix issues with the current search features 2020-08-03 17:21:10 -04:00
Jobobby04
cce1b135c9 Tweak HBrowse migration 2020-08-02 15:08:47 -04:00
Jobobby04
b344a3944e Fix certain HBrowse manga 2020-08-02 15:06:49 -04:00
Jobobby04
e346d95b0e Delegate HBrowse 2020-08-02 00:50:52 -04:00
Jobobby04
06e57b790e Blacklist the nHentai extension non-english sources, and a few debug function edits 2020-07-30 16:15:38 -04:00
Jobobby04
ff48e89161 Now really fix internal sources download badges not showing up, plus some refactoring and testing debug functions 2020-07-30 15:56:18 -04:00
Jobobby04
a6cba5c87d Add special view for browsing E/Exhentai! All the important info is now in front of your face when browsing, it is on by default and can be toggled off in the E-Hentai settings. Let me know if you find any errors 2020-07-28 16:55:33 -04:00
Jobobby04
f5b6fc5b54 Cleanup 2020-07-27 13:33:42 -04:00
Jobobby04
23b0c3305d Parse more info when browsing E/ExHentai 2020-07-26 17:29:16 -04:00
arkon
72f3ebb70d Replace custom visibility extension functions
(cherry picked from commit 9e51d82154c3b72b710e1efcee5d4bde73a000e3)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/search/SearchController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/sources/SourceHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/SourceHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryCompactGridHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryListHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt
2020-07-25 22:11:44 -04:00
Jobobby04
3e9c8dbfd2 Add a special view to replace descriptions for integrated and delegated sources!
As the integrated and delegated websites don't actually have descriptions, just info, I decided to make a special view for them! with all the info you need available to you in front of your face, there is now no need to go searching through the description! This is likely the most work I have put into 1 feature in the whole time I have been developing TachiyomiSY!
2020-07-25 21:04:13 -04:00
Jobobby04
a311a3b497 Fix auto captcha opening when you dont have the option enabled (temp fix) 2020-07-24 12:36:20 -04:00
Jobobby04
a8f2f03562 Tsumino is now supported by the new tag display, you may have to refresh your Tsumino manga for them to work properly. Also Set the groundwork for more special features 2020-07-16 22:37:33 -04:00
Jobobby04
8b95d93a96 Add custom tag view for namespaced sources (E-Hentai, nHentai, Hitomi.la, and Pururin) 2020-07-16 17:27:36 -04:00
Jobobby04
362f0a6671 Made almost all the strings SY uses translatable! If people would like to help translate, feel free to join the Tachiyomi discord server (https://discord.gg/tachiyomi), and jump in the tachiyomi-az-sy channel and I can give you a rundown on how to do it 2020-07-15 19:16:21 -04:00
Jobobby04
0ca87a3763 Use androidx preferenceManager for EHLogLevel 2020-07-14 01:50:17 -04:00
Jobobby04
923f5213cd Add author and artist wrapping if a EH based source 2020-07-12 23:27:35 -04:00
Jobobby04
372e570fac Use Tachi previews info + chapters manga page, plus of course SY features integrated into it
Add missed invert tap settings
Add missed extension open in settings overflow menu option
Cleanup
2020-07-12 19:21:29 -04:00
arkon
c0a4f4e93a Add ability to sort library by date added (closes #1287)
(cherry picked from commit 1813dbbf590447861591f41c225007a451bb3e83)

# Conflicts:
#	app/build.gradle
#	app/src/main/java/eu/kanade/tachiyomi/data/database/DbOpenCallback.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/search/SearchPresenter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/BrowseSourcePresenter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryPresenter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibrarySettingsSheet.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibrarySort.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChaptersPresenter.kt
2020-07-12 16:08:15 -04:00
Rani Sargees
a839372d9f fix batch add log
(cherry picked from commit 629bca4100243d61cf07bbb0f47f6a1ed84031cb)
2020-07-12 15:16:52 -04:00
Jobobby04
2e033356aa Manga info edit will now not break everything 2020-07-11 15:22:11 -04:00
Jobobby04
044c638079 Very basic manga info edit, currently will break everything if used, tags and cover edit not working 2020-07-11 14:53:59 -04:00
az4521
16933df164 fix nhentai not loading galleries with gifs
(cherry picked from commit a8ddd91343fd11f7d90adf6282298b04adf67e4f)
2020-07-09 15:56:07 -04:00
Jobobby04
b225baf64e Lewd manga filter update(more source filtering) 2020-07-06 22:17:42 -04:00
Jobobby04
ea8d251e24 Pururin fix url error 2020-07-05 21:42:22 -04:00
Jobobby04
b4e39448fc Cleanup saved search copy debug function 2020-07-01 15:13:48 -04:00
Jobobby04
3e5d0b7d1b Use automatically generated EHTags file (wow, already 1 new tag since I added the file)
Scraper located here: https://github.com/jobobby04/Scraper
2020-06-30 21:48:46 -04:00
Jobobby04
50eef307f4 Add autocomplete tag search in filters for E/Exhentai 2020-06-30 13:36:14 -04:00
Jobobby04
bf209896ed Fix a typo that likely goes back all the way to EH 2020-06-27 19:21:21 -04:00
Jobobby04
ad82dc1c90 Delegate Mangadex
Features that are now usable because of this:
- Batch add mangadex manga
- Open mangadex manga into TachiyomiSY(skipping the extension)
2020-06-25 19:35:44 -04:00
Jobobby04
9a2af8ac42 Add saved search copying between E-Hentai and ExHentai in the debug menu 2020-06-22 18:09:30 -04:00
Jobobby04
7581c8e519 Fix e-Hentai misc category default state configuration 2020-06-22 15:15:31 -04:00
Jobobby04
0d6cfb88a7 Remove uselss log in batch add 2020-06-21 00:44:24 -04:00
Jobobby04
70c98e9c2b Fix batch add delegated sources 2020-06-21 00:44:04 -04:00
Jobobby04
6bd564823a More comments and simple tweaks 2020-06-20 16:55:05 -04:00
Jobobby04
4ef72194bb Cleanup resources and put comments where SY code is different from preview code 2020-06-19 20:50:16 -04:00
Jobobby04
bb6d3780c0 Rename Smartsearch layout 2020-06-19 15:44:41 -04:00
Rani Sargees
b90a2ab22d add hcaptcha to captcha detection
(cherry picked from commit 7c01082270aa98a4840af3b0c1bfd6534570682d)
2020-06-11 22:12:21 -04:00