arkon
2368c50ebb
Add menu shortcut to source settings in BrowseSourceScreen
...
Adapted from TachiyomiSY.
Co-authored-by: jobobby04 <jobobby04@users.noreply.github.com>
2 years ago
Two-Ai
0505906e7a
Move all DownloadService.stop calls to Downloader ( #9146 )
...
Downloader.stop is now the sole responsible for stopping the
DownloadService. This will help cleanly removing
DownloadService.stop when migrating to coroutines.
2 years ago
arkon
4efca04765
Avoid crashing in SourcePreferencesScreen if source can't be loaded
2 years ago
arkon
b12c7cf963
Avoid crash in DeleteLibraryMangaDialog
...
No clue why it ever gets a -1 index though.
2 years ago
arkon
487622c592
Close source filter dialog when filtering
2 years ago
arkon
26d422b0ae
Avoid uncaught exceptions from OkHttp interceptors crashing entire app
2 years ago
Weblate (bot)
79a7b68837
Translations update from Hosted Weblate ( #9107 )
...
Weblate translations
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/ar/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/es/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/es_419/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/fil/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/ko/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/ne/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/pl/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/pt/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/sq/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/zh_Hant/
Translation: Tachiyomi/Tachiyomi 0.x
Co-authored-by: Amjad Ali <playeroid96@gmail.com>
Co-authored-by: FateXBlood <zecrofelix@gmail.com>
Co-authored-by: Geovani Amaral <geovani.af4@gmail.com>
Co-authored-by: InfinityDouki56 <ced.paltep10@gmail.com>
Co-authored-by: Juan <benitesjn@gmail.com>
Co-authored-by: Lzmxya <lzmxya@gmail.com>
Co-authored-by: MedRAM <mohammad7ram@users.noreply.hosted.weblate.org>
Co-authored-by: gnu-ewm <gnu.ewm@protonmail.com>
Co-authored-by: jinu147 <nesqea20@gmail.com>
Co-authored-by: seew3l <luisrleccar@hotmail.com>
Co-authored-by: stevenlele <stevenlele@outlook.com>
Co-authored-by: whales <mololet277@aosod.com>
Co-authored-by: 朔夜月 <a03175ii0@gmail.com>
2 years ago
Ivan Iskandar
63048d2f0b
Fix banners-related issues ( #9143 )
...
This is most likely Compose issue so these changes will
be reevaluated when new Compose ver is out.
2 years ago
Two-Ai
79662a5866
Misc Downloader state cleanup ( #9145 )
...
* Replace Downloader CompositeSubscription with nullable Subscription
* Derive Downloader.isRunning from subscription
Also simplify usages of isRunning
* Move DownloadNotifier.paused to Downloader.isPaused
* Remove unused DownloadNotifier.errorThrown
2 years ago
Two-Ai
ed6809fa28
Simplify filter logic ( #9141 )
...
* Remove unnecessary else branch
* Add TriStateFilter applyFilter
* Simplify filterFnTracking filter logic
2 years ago
Two-Ai
86b9262a7e
Make DownloadManager the sole entry point for DownloadService ( #9140 )
...
* Rename functions for DownloadService internal use
* Call DownloadService.start via DownloadManager
* Inline DownloadService.stop into pauseDownloads
* Inline DownloadService.stop into clearQueue
NotificationReceiver will now also stop the DownloadService when
receiving ACTION_CLEAR_DOWNLOADS.
* Provide DownloadService.isRunning via DownloadManager
2 years ago
arkon
7ec87e76db
Migrate TriState usages to TriStateFilter enum
2 years ago
arkon
a0e76d2fd9
Bump dependencies
2 years ago
Ivan Iskandar
ec3ce74af8
TrackDateSelectorScreen: Use M3 date picker ( #9138 )
2 years ago
Two-Ai
83a4e34095
Remove redundant Downloader isNotification argument ( #9139 )
...
DownloadQueue.clear() already sets QUEUE downloads to NOT_DOWNLOADED.
2 years ago
arkon
84a0044d51
Remove some unused resources
2 years ago
arkon
92132c59f5
Migrate source filter sheet to Compose ( #9135 )
2 years ago
Ivan Iskandar
36ae388332
Bump compose-bom version 2023.02.00-beta02 ( #9137 )
2 years ago
arkon
bd47eafeec
Fix per-category sort/display affecting the wrong category
2 years ago
arkon
9432d2d06a
Bump dependencies
2 years ago
Two-Ai
fa61c8fe6f
Convert downloadChapter to suspend function ( #9127 )
...
1:1 translation from the RxJava implementation, should match the
previous behavior.
Dropped the return value from functions of the form
```
fun foo(t: T, ...): Observable<T>
```
where the Observable produced the original argument `t`.
The caller already has the result if necessary.
While this conversion is not flow-based overall, some sections use
flows to use the flatMapMerge and retryWhen operators.
Removed RetryWithDelay as it was only used here.
Inlined fetchAllImageUrlsFromPageList instead of converting it to a
suspending equivalent. fetchAllImageUrlsFromPageList is no longer
used in the app, but was not removed as it is part of source-api.
(However, it does not seem to be used exposed in extensions-lib or
used in tachiyomi-extensions.)
runBlocking is used as a temporary stop-gap.
2 years ago
arkon
92bd98e45f
Consolidate all theme colors to presentation-core module
2 years ago
arkon
fd7c993b0b
Move CheckboxState to core module
2 years ago
Two-Ai
779df32e98
Fix download queue page count display bug ( #9126 )
...
When restarting a download, the page count would display as 0 until
the first page download completion, after all the existing pages were
rechecked.
To fix, calculate downloadedImages from pages instead of relying on
the downloader to reset and increment the count.
2 years ago
arkon
f4e843f114
Fix package names
2 years ago
arkon
c0e2eb211d
Fix occasional crash when opening library settings sheet
...
See https://stackoverflow.com/questions/47648689/sealed-classs-objects-mysteriously-becoming-null-when-referenced-by-other-compa
2 years ago
arkon
0bd56ab77c
Fix height shift when scrolling through themes
2 years ago
Ivan Iskandar
6b03dca5f4
Use Compose Foundation's flow layout ( #9123 )
2 years ago
Ivan Iskandar
bd7b21337c
Add minLines to comfortable grid item title ( #9122 )
2 years ago
Ivan Iskandar
60a3ba5a5c
Use non-stable Compose BOM ( #9120 )
2 years ago
arkon
7c2eb0b881
[skip ci] add link to FAQ in issue templates
2 years ago
arkon
93523ef50b
Remove dependency injection from core module and data module from presentation-widget module
...
Includes side effects:
- No longer need to restart app for user agent string change to take effect
- parseAs extension function requires a Json instance in the calling context, which doesn't necessarily need to be the default one provided by Injekt
2 years ago
arkon
10d7349506
Move more components to presentation-core module
2 years ago
arkon
3d7c136320
Avoid crash when loading invalid extension package
2 years ago
arkon
a6d6a5ed87
Merge branch 'patch'
...
# Conflicts:
# app/build.gradle.kts
# app/src/main/java/eu/kanade/presentation/browse/BrowseSourceScreen.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt
2 years ago
arkon
b690de55e5
Release v0.14.5
2 years ago
arkon
83fda20078
Avoid crashes if headers can't be built for usage in WebView
...
(cherry picked from commit ec49411bee
)
2 years ago
arkon
f656a37045
Avoid crashing if getChapterUrl is not implemented
...
Fixes #9105
(cherry picked from commit ceaf579cb0
)
2 years ago
Ivan Iskandar
c58b495433
MainActivity: Avoid navigator-related crash when handling onNewIntent ( #9104 )
...
(cherry picked from commit d3dadf71e8
)
2 years ago
arkon
242aeb6a68
Avoid crashing if opening browse with unavailable source
...
(cherry picked from commit 0ef7650c1a
)
2 years ago
Two-Ai
d9969cea8a
Fix ID type mismatch in MigrateSearchScreenModel ( #9090 )
...
`it.id` is the source ID of the source being sorted.
`state.value.manga!!.id` is the manga ID of the selected manga.
`state.value.manga!!.source` is the source ID of the selected manga.
(cherry picked from commit dc2eaf0788
)
2 years ago
arkon
d61db5931e
Move reader preloading to IO scope
...
Maybe fixes #8440
(cherry picked from commit e052bdef96
)
2 years ago
arkon
0ea3ac9807
Avoid preload download check if chapter is already loaded or loading
...
Maybe fixes #8953 , #9060
(cherry picked from commit d522d6d545
)
2 years ago
Ivan Iskandar
f9e43f574f
MangaCoverDialog: Disable memory cache ( #9066 )
...
(cherry picked from commit 1671a56f42
)
2 years ago
arkon
5ef11e61d0
Prioritize finding selected chapter when deduping reader chapters
...
Fixes #9054
(cherry picked from commit 23432e4405
)
2 years ago
Ivan Iskandar
48546c3db4
Scaffold: Fix snackbar bottom inset ( #9052 )
...
(cherry picked from commit 34a586ce48
)
2 years ago
Ivan Iskandar
4d87ed496c
Remove FAB extra padding in DownloadQueueScreen ( #9053 )
...
(cherry picked from commit ad762f8303
)
2 years ago
0x7673
06d12e6562
Fix crash in library when selected category is deleted ( #9044 )
...
(cherry picked from commit 13bb45b4be
)
2 years ago
arkon
ec49411bee
Avoid crashes if headers can't be built for usage in WebView
2 years ago
arkon
3f7911235c
Use unique keys for all screens to avoid crashes
...
Fixes #9008
Fixes #9110
2 years ago