arkon
a61e2799db
Abstract ChapterSettingsDialog for reuse elsewhere
2022-12-08 23:15:50 -05:00
arkon
1009e15aa6
Reuse basic theme preview annotation
2022-12-08 22:45:17 -05:00
zbue
01c6e46a71
Show empty screen when a category is empty ( #8690 )
...
* Show empty screen when a category is empty
* Review changes
* Review changes #2
Co-authored-by: arkon <arkon@users.noreply.github.com>
2022-12-08 09:15:10 -05:00
arkon
ed5e013874
Use proper category when getting random item
...
Fixes #8700
2022-12-08 09:01:37 -05:00
arkon
f8e4153dbf
Disable Jetifier
2022-12-07 23:06:25 -05:00
Ivan Iskandar
f7a92cf6ac
Replace reader's Presenter with ViewModel ( #8698 )
...
includes:
* Use coroutines in more places
* Use domain Manga data class and effectively changing the state system
* Replace deprecated onBackPress method
Co-authored-by: arkon <arkon@users.noreply.github.com>
2022-12-07 23:00:01 -05:00
arkon
e748d91d4a
Bump dependencies
2022-12-07 22:44:09 -05:00
stevenyomi
2c4ddca38e
Migrate Accompanist SwipeRefresh to Compose PullRefresh ( #8106 )
2022-12-07 22:40:57 -05:00
Two-Ai
6ca32710be
Cleanup Page status ( #8696 )
...
* Cleanup Page statusSubject and statusCallback
* Convert Page status from Int to enum
2022-12-07 18:28:38 -05:00
Ivan Iskandar
f05e251991
GlobalSearchScreen: Add unique key ( #8693 )
...
Avoids crash when an old screen is being replaced by a new one
2022-12-07 08:27:54 -05:00
arkon
a3f3f9d562
Avoid some crashes
2022-12-06 22:21:04 -05:00
zbue
410fcb73c5
Fix appbar back button in global search screen ( #8689 )
2022-12-06 22:20:57 -05:00
arkon
b6d6de6b9f
Avoid crashing when clearing cookies for invalid source URLs
...
e.g. Komga sources with no URLs set
2022-12-05 22:18:19 -05:00
arkon
09cebf20f3
Handle intent after navigator is initialized
...
Fixes crash if opening from widget or notification when activity isn't already launched.
2022-12-05 17:16:16 -05:00
arkon
a8c732d67b
Fix opening download notification only going to More tab
2022-12-05 16:09:55 -05:00
arkon
843c9c7e57
Fix migrate options dialog not being selected when tapping text
2022-12-05 15:12:16 -05:00
arkon
c88b79fa17
Minor cleanup
2022-12-05 14:14:50 -05:00
arkon
3f9820ac79
Always show library tabs and counts when searching
...
Closes #8680
2022-12-05 10:06:41 -05:00
Ivan Iskandar
c288e6b8fa
Fix ANR when opening from notification/widget ( #8683 )
2022-12-05 09:00:30 -05:00
Ivan Iskandar
8945ef8880
Change source preference theming fix ( #8679 )
2022-12-05 00:10:11 -05:00
arkon
99a717f849
Hide webtoon reader scrollbars
...
Fixes #8676
2022-12-04 18:09:37 -05:00
arkon
4622b18c99
Fix local source detail JSON files not being read if .noxml was created
...
Fixes #8549
2022-12-04 14:00:23 -05:00
arkon
4f5270cb7d
Fix unusable categories when content is filtered out
...
Fixes #8675
Effectively reverts #8633 , which introduces weird edge cases
2022-12-04 13:39:53 -05:00
arkon
719d427956
Truncate long nav bar/rail items
...
Fixes #8670
2022-12-04 12:58:59 -05:00
arkon
d7a21771a5
Tweak manga cover dialog UI
...
Closes #8654 , although it's just a workaround. The cover itself doesn't appear within the inset areas when zoomed.
2022-12-04 12:55:58 -05:00
Ivan Iskandar
be854b3e90
Fix appbar back button in Settings screen ( #8674 )
2022-12-04 10:27:14 -05:00
Ivan Iskandar
47f079891f
Track sheet fixes ( #8673 )
...
* Fix Track sheet not being disposed properly
* Change insets handling
2022-12-04 10:27:02 -05:00
arkon
696dc59ea5
More domain model migrations
2022-12-03 22:54:18 -05:00
Two-Ai
5f6666a438
Migrate Download to domain model ( #8664 )
2022-12-03 22:30:30 -05:00
AntsyLich
373463e995
Change Updates icon badge to show new updates count ( #8659 )
...
* Change Updates icon badge to show new updates count
* Fix reference
* review changes
* Lint
2022-12-03 14:44:30 -05:00
Ivan Iskandar
7be9b49143
Fix BrowseSourceScreen list/grid unnecessary reloads ( #8661 )
2022-12-03 14:43:52 -05:00
Ivan Iskandar
1a70ebe7ea
Fix crash when opening chapter from BrowseSourceScreen ( #8657 )
2022-12-03 00:26:11 -05:00
arkon
beda99bbe0
Replace RxJava in ReaderChapter and reader transitions
2022-12-02 23:36:33 -05:00
arkon
bb1e7816e1
Replace some usages of RxJava in reader
2022-12-02 23:11:42 -05:00
arkon
b0dc20e00c
Remove some dead code
2022-12-02 22:48:08 -05:00
Ivan Iskandar
3d66eaea83
Merge Voyager screens ( #8656 )
...
* Merge Voyager screens
* cleanups
2022-12-02 22:35:30 -05:00
arkon
5313a5d5d2
Remove unnecessary base Nucleus classes
...
The reader still uses it, but we just move stuff to there.
2022-12-02 13:23:26 -05:00
Ivan Iskandar
5b189a909b
Use Voyager on Source Preference screen ( #8651 )
2022-12-02 13:14:18 -05:00
arkon
75a687138d
Migrate to Accompanist M3 theme adapter
2022-12-01 23:08:04 -05:00
AntsyLich
ba91b483a0
Delayed Tracking Update related fix ( #8642 )
...
* Delayed Tracking Update related fix
* Lint
2022-12-01 23:01:24 -05:00
arkon
3a8b5e1b5e
Fix default category name being shown with empty library
2022-12-01 23:00:34 -05:00
Ivan Iskandar
94d1b68598
Use Voyager on BrowseSource and SourceSearch screen ( #8650 )
...
Some navigation janks will be dealt with when the migration is complete
2022-11-30 23:05:11 -05:00
arkon
8eda4df71f
Fix refreshing state for extensions tab
...
Fixes #8644
Also add an extra delay in case it's super fast.
2022-11-29 09:25:22 -05:00
AntsyLich
8ad9337863
Fix Stub Source migration screen broken ( #8643 )
...
* Fix Stub Source migration screen broken
* Lint
2022-11-29 09:06:52 -05:00
Ivan Iskandar
cd13e187cf
Use Voyager on Downloads screen ( #8640 )
2022-11-28 09:23:11 -05:00
Ivan Iskandar
bcc21e55bd
Complete Settings migration to Voyager ( #8639 )
...
Now the Controller wrapper can be yeeted anytime
2022-11-28 09:21:18 -05:00
arkon
5fbecfd7b7
Don't remove queued downloads when deleting manga after chapter deletion
2022-11-27 17:12:45 -05:00
arkon
3480b45098
Minor cleanup
2022-11-27 17:12:45 -05:00
arkon
44366ac058
Minor global search UI tweaks
2022-11-27 15:16:08 -05:00
arkon
4f2a794fba
Remove dead code
2022-11-27 15:09:37 -05:00
Dexroneum
fe6aa4358f
Show toolbarTitle depending of size ( #8633 )
2022-11-27 14:57:52 -05:00
Andreas
f99b62a069
Use Compose on Global/Migrate Search screen ( #8631 )
...
* Use Compose on Global/Migrate Search screen
- Refactor to use Voyager and Compose
- Use sealed class for state
- Somethings are broken/missing due to screens using different navigation libraries
* Review changes
2022-11-27 14:56:21 -05:00
arkon
ac1bed38f9
Show empty library message properly
...
Fixes #8632
The `library` map still contains the default category even when "empty".
2022-11-27 10:43:38 -05:00
Ivan Iskandar
217b03a292
Fix library not loading when not logged in to any tracker ( #8629 )
2022-11-26 21:37:22 -05:00
AntsyLich
3d7591feca
Implement simple stats screen ( #8068 )
...
* Implement simple stats screen
* Review Changes
* Some other changes
* Remove unused
* Small changes
* Review Changes 2 + Cleanup
* Review Changes 3
* Cleanup leftovers
* Optimize imports
2022-11-26 15:50:26 -05:00
Ivan Iskandar
e14909fff4
Use Voyager on Library tab ( #8620 )
2022-11-26 15:48:57 -05:00
arkon
37118088d4
Remove usage of PublishRelay in DownloadQueue
2022-11-26 10:07:51 -05:00
arkon
5c9e9bd2c4
Use Voyager between more screens
2022-11-26 09:34:06 -05:00
Andreas
db35ba53b1
Use Voyager between supported screens in Extension package ( #8616 )
...
- Minor state behavior changes
2022-11-26 09:14:11 -05:00
AntsyLich
758d223776
Disable generating ComicInfo.xml on download ( #8619 )
...
* Disable generating ComicInfo.xml on download
* Remove unused import
2022-11-26 09:13:08 -05:00
arkon
a54d9912d0
Fix Kavita interceptor crashing app + minor cleanup
2022-11-25 23:03:42 -05:00
arkon
7e74949d38
Explicitly add READ_APP_SPECIFIC_LOCALES permission
...
Some devices are throwing a SecurityException (calling getApplicationLocales) for some reason.
2022-11-25 23:03:42 -05:00
Andreas
a8c5780963
Use Voyager on Migrate Manga screen ( #8611 )
2022-11-24 22:25:36 -05:00
Ivan Iskandar
f4ac754d02
Use Voyager on Browse tab ( #8605 )
2022-11-23 22:28:25 -05:00
AntsyLich
0347d3970a
Cleanup [Downloader.ensureSuccessfulDownload] ( #8602 )
2022-11-23 09:23:29 -05:00
Ivan Iskandar
acc2312384
Use Voyager on Updates tab ( #8603 )
...
* Use Voyager on Updates tab
* Fix back press
* Fix selection
2022-11-23 09:22:20 -05:00
Ivan Iskandar
7d34ff214c
Change settings screen to object ( #8604 )
2022-11-23 09:14:55 -05:00
arkon
e2179a6669
Avoid concurrency issues when reordering categories
...
Maybe fixes #8372
2022-11-22 23:12:23 -05:00
arkon
5c37347cec
Delete empty source folder when deleting all downloads for a manga
...
It previously only attempted this after deleting a list of chapters, so it wasn't applicable
when deleting from Library or after unfavoriting an entry.
Closes #8594
2022-11-22 09:25:00 -05:00
Joseph Olugbohunmi
ef3a6c80a7
Implement copying of Manga URL to Clipboard ( #8587 )
...
feat: Implement copying of Manga URL to Clipboard
2022-11-21 23:09:23 -05:00
arkon
2a2c6cee5f
Allow zooming in WebView
...
Note that this does not force-enable zooming on pages with set viewports (which typically implies proper mobile scaling).
Closes #8588
2022-11-21 18:39:16 -05:00
Andreas
7dff3cc6cb
Remove unused resources ( #8578 )
2022-11-20 15:29:08 -05:00
arkon
8c1171a722
Don't attempt to check chapter download status for local chapters
...
Fixes #8541
2022-11-20 15:28:51 -05:00
arkon
2c850d0e33
Fix invert tapping dropdown not updating checked state in reader
...
Fixes #8566
Should ideally just Compose-ify it all some day.
2022-11-20 15:12:51 -05:00
Andreas
f1b85ff39d
Use Voyager on Extension Details screen ( #8576 )
2022-11-20 14:36:03 -05:00
arkon
2d86f69caa
Add reindex downloads description
...
Closes #8546
Also disable sound for the notification and cancel running indexing job if invalidating.
2022-11-20 14:29:56 -05:00
arkon
e22896a956
Use current timezone when setting tracker dates
...
Fixes #8553
2022-11-19 22:40:17 -05:00
arkon
be5802e473
Add back track icon onClick and title onLongClick actions
...
Closes #8565
Closes #8536
2022-11-19 22:37:48 -05:00
arkon
eb6ba96b57
Limit parallelism for Coil image loading
...
Reference: https://www.reddit.com/r/androiddev/comments/xbeizp/comment/io4ytdv/
Co-authored-by: ivaniskandar <ivaniskandar@users.noreply.github.com>
2022-11-18 22:57:54 -05:00
arkon
5325e590ec
Fix url sharing
...
Maybe fixes #8539
Based on f52785cbbd
Co-authored-by: jobobby04 <jobobby04@users.noreply.github.com>
2022-11-18 22:49:54 -05:00
AntsyLich
3f34fa1f58
Tweak library selection ( #8513 )
...
* Tweak library selection
Also use the new `fast*` extensions functions in other places of library presenter
* Cleanup
2022-11-18 22:33:38 -05:00
arkon
d12ea86b55
Add shecan DoH provider
...
Closes #8557
2022-11-18 22:28:08 -05:00
AntsyLich
ba2a528886
Fix related to cancelling queued chapters ( #8528 )
...
Tachi removes the downloaded chapter (if it exists) when you just cancelled a download from queue.
PR fixes that
Also removes redundant return
2022-11-18 22:27:39 -05:00
Ivan Iskandar
d60367768b
Fix monochrome launcher icon not applied when non-round shape is used ( #8552 )
2022-11-17 12:23:48 -05:00
arkon
db6528d3fa
Show toast when no next chapter found in library
...
Closes #8522
Will probably become a snackbar at some point.
2022-11-14 22:47:07 -05:00
arkon
f5873d70c6
Don't rely on cache when deleting empty manga folders
...
In case the cache hasn't actually been indexed yet. Maybe fixes #8438 .
2022-11-14 22:42:36 -05:00
arkon
10e349f76e
Retain previous selected state when updating list states
...
Fixes #8417
2022-11-13 22:35:52 -05:00
arkon
b1ccebf329
Minor cleanup
...
Mostly just addressing comments from #8452
2022-11-13 12:24:59 -05:00
Andreas
3407eb84c5
Make padding names neutral ( #8531 )
2022-11-13 12:11:51 -05:00
arkon
6017229d1b
Clean up ComicInfo stuff a bit more
2022-11-13 12:01:19 -05:00
arkon
4f00af3173
Change long press on downloaded chapter icon to open menu
...
Seems like silently deleting things is confusing to some people.
2022-11-13 11:55:34 -05:00
arkon
9da232dcd8
Adjust download cache to ignore irrelevant files
...
Fixes #8530
2022-11-13 11:52:11 -05:00
Ivan Iskandar
acd43005df
SearchToolbar: Better physical keyboard support ( #8529 )
...
Make enter keys behave like search key of on-screen keyboard
2022-11-13 10:59:23 -05:00
AntsyLich
51c964de3a
Fix download not working on sd card ( #8527 )
...
Also create comicinfo file inside chapter folder instead of manga folder since it also contains some chapter specific data
2022-11-13 10:40:33 -05:00
arkon
262f8449b4
Resolve proper chapter URL for ComicInfo "Web" field
...
Requires extensions to be updated to lib 1.4 to have proper URLs for some of them, which will
happen soon in the future.
2022-11-12 09:54:32 -05:00
Andreas
bdf035d60a
Use Voyager on Source Filter screen ( #8511 )
2022-11-12 09:47:19 -05:00
Andreas
0270878748
Use Voyager on Extension Filter screen ( #8503 )
...
- Use sealed class for state
- Minor changes
2022-11-11 16:57:31 -05:00
arkon
6ada3c90ff
Clean up ComicInfo stuff a bit
2022-11-11 16:34:18 -05:00
Shamicen
4e628fe6de
Create ComicInfo Metadata files on chapter download ( #8033 )
...
* generate ComicInfo files at the chapter root and inside CBZ archives on chapter download.
* Update app/src/main/java/eu/kanade/tachiyomi/source/LocalSource.kt
Co-authored-by: Andreas <andreas.everos@gmail.com>
* Improvements suggested by @ghostbear
* now creates ComicInfo files in normal chapter folders as well
use manga directly instead of converting it to SManga
truncate old files before overwriting them
Co-authored-by: Andreas <6576096+ghostbear@users.noreply.github.com>
* remove empty line after resolving merge conflict
* fixes Serializer for class 'ComicInfo' is not found error
* some changes to comments and variable names
* Revert leftover changes to archiveChapter() function
* minor cleanup
* Changed Chapter to SChapter
Co-authored-by: Andreas <andreas.everos@gmail.com>
Co-authored-by: Andreas <6576096+ghostbear@users.noreply.github.com>
2022-11-11 16:16:37 -05:00
arkon
a8eebd824a
Remove duplicate pinned sources setting
...
I guess it's simpler to just have 1 entry in the list (other than the last used duplicate).
This helps ensure that the list is as short as it can be.
2022-11-11 15:35:10 -05:00