arkon
bff98ca768
Clean up chapter item composables a bit
...
Might help with #9043 ?
2023-02-08 22:17:40 -05:00
arkon
32b9b261f0
Rename Security settings to Security and privacy
...
Closes #9049
2023-02-08 21:47:57 -05:00
arkon
23432e4405
Prioritize finding selected chapter when deduping reader chapters
...
Fixes #9054
2023-02-08 21:47:57 -05:00
Ivan Iskandar
34a586ce48
Scaffold: Fix snackbar bottom inset ( #9052 )
2023-02-08 09:37:12 -05:00
Ivan Iskandar
ad762f8303
Remove FAB extra padding in DownloadQueueScreen ( #9053 )
2023-02-08 09:37:04 -05:00
arkon
389b039679
Update version check for library update job migration
...
Forgot to bump as part of fixing merge conflict for last commit.
2023-02-07 23:22:56 -05:00
Ivan Iskandar
ef9dacde79
Fully utilize WorkManager for library updates ( #9007 )
...
No more trampolining, and stuff.
It's pretty much straight copy-paste from the service, with
some changes related to cancellation handling. Manual updates
will also runs with workman job so auto update work
scheduling need some adjustments too.
Bumped version code to re-enqueue auto update job with the
new spec.
Co-authored-by: arkon <arkon@users.noreply.github.com>
2023-02-07 22:37:20 -05:00
0x7673
13bb45b4be
Fix crash in library when selected category is deleted ( #9044 )
2023-02-07 22:19:46 -05:00
Two-Ai
bd2cb97179
Replace RxJava in DownloadQueue ( #9016 )
...
* Misc cleanup
- Replace !List.isEmpty with List.isNotEmpty
- Remove redundant case in MoreScreenModel
- Drop no-op StateFlow.catch
- From lint warning:
> SharedFlow never completes, so this operator typically has not
> effect, it can only catch exceptions from 'onSubscribe' operator
* Convert DownloadQueue queue to MutableStateFlow
Replace delegation to a MutableList with an internal
MutableStateFlow<List>.
In order to avoid modifying every usage of the queue as a list, add
passthrough functions for the currently used list functions. This
should be later refactored, possibly by inlining DownloadQueue
into Downloader.
DownloadQueue.updates was a SharedFlow which updated every time a
change was made to the queue. This is now equivalent to the queue
StateFlow.
Simultaneous assignments to _state.value could cause concurrency
issues. To avoid this, always modify the queue using _state.update.
* Add Download.statusFlow/progressFlow
progressFlow is based on the DownloadQueueScreenModel implementation
rather than the DownloadQueue implementation.
* Reimplement DownloadQueue.statusFlow/progressFlow
Use StateFlow<List<T>>.flatMapLatest() and List<Flow<T>>.merge() to
replicate the effect of PublishSubject.
Use drop(1) to avoid re-emitting the state of each download each time
the merged flow is recreated.
* fixup! Reimplement DownloadQueue.statusFlow/progressFlow
2023-02-07 22:13:19 -05:00
stevenyomi
0d8f1c8560
Tweak Response.parseAs() to utilize intrinsics ( #9047 )
2023-02-07 22:10:28 -05:00
ssantos
29fa629886
Translated using Weblate (Portuguese)
...
Currently translated at 74.5% (185 of 248 strings)
Translation: Aniyomi/aniyomi-strings
Translate-URL: https://hosted.weblate.org/projects/aniyomi/aniyomi-strings/pt/
2023-02-06 22:40:26 +01:00
Miraculeux Doris
b669f58ef2
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 68.5% (170 of 248 strings)
Translation: Aniyomi/aniyomi-strings
Translate-URL: https://hosted.weblate.org/projects/aniyomi/aniyomi-strings/zh_Hans/
2023-02-05 22:28:07 +01:00
Cliff Heraldo
9f3f84380d
Translated using Weblate (Indonesian)
...
Currently translated at 100.0% (248 of 248 strings)
Translation: Aniyomi/aniyomi-strings
Translate-URL: https://hosted.weblate.org/projects/aniyomi/aniyomi-strings/id/
2023-02-05 22:28:07 +01:00
arkon
477e3d9b94
Release v0.14.4
2023-02-05 10:35:15 -05:00
arkon
3c16082636
Don't show SourceNotInstalledException name in error snackbar
2023-02-05 10:23:30 -05:00
arkon
29aee68ec7
Revert "Show no pinned sources message when attempting to migrate/search"
...
This reverts commit 6bb3070c57
.
This doesn't quite work correctly, so reverting for now.
We'll have to have more robust states or something to deal with this in the
future.
2023-02-05 10:20:19 -05:00
arkon
75e23299b4
Bump desugaring libs
2023-02-05 10:02:20 -05:00
Weblate (bot)
935ff1ee98
Translations update from Hosted Weblate ( #8960 )
...
Weblate translations
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/ar/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/de/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/es/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/fa/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/fr/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/gl/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/hr/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/id/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/ko/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/nl/
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/th/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/uk/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/zh_Hans/
Translation: Tachiyomi/Tachiyomi 0.x
Co-authored-by: Abou <aboozar.gh.r@gmail.com>
Co-authored-by: Alba Paz <albapazpi@gmail.com>
Co-authored-by: Ali Aljishi <ahj696@hotmail.com>
Co-authored-by: Blue <bluestuffish@gmail.com>
Co-authored-by: Dan <denqwerta@gmail.com>
Co-authored-by: FTDaily <farrell05june2005@gmail.com>
Co-authored-by: Gabriel Lebis <gableb@hotmail.fr>
Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Co-authored-by: Lyfja <yassinelaoud@gmail.com>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: Shippo <Shipox@users.noreply.hosted.weblate.org>
Co-authored-by: Swyter <swyterzone@gmail.com>
Co-authored-by: The Ghost <marcc2018@gmail.com>
Co-authored-by: ZiomaleQ <r.partyka30@gmail.com>
Co-authored-by: altinat <altinat@duck.com>
Co-authored-by: jinu147 <nesqea20@gmail.com>
Co-authored-by: stevenlele <stevenlele@outlook.com>
2023-02-05 10:00:14 -05:00
renovate[bot]
c672cb81ec
Update dependency com.android.tools.build:gradle to v7.4.1 ( #9024 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-05 09:56:17 -05:00
Miraculeux Doris
a6ff2e9647
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 49.1% (122 of 248 strings)
Translation: Aniyomi/aniyomi-strings
Translate-URL: https://hosted.weblate.org/projects/aniyomi/aniyomi-strings/zh_Hans/
2023-02-01 20:51:52 +01:00
K d
90373358cb
Translated using Weblate (Turkish)
...
Currently translated at 50.4% (125 of 248 strings)
Translation: Aniyomi/aniyomi-strings
Translate-URL: https://hosted.weblate.org/projects/aniyomi/aniyomi-strings/tr/
2023-02-01 20:51:51 +01:00
Eduardo
0cbdf147d7
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 75.8% (188 of 248 strings)
Translation: Aniyomi/aniyomi-strings
Translate-URL: https://hosted.weblate.org/projects/aniyomi/aniyomi-strings/pt_BR/
2023-02-01 20:51:50 +01:00
JL Pilgram
d8d81c4a81
Translated using Weblate (Italian)
...
Currently translated at 22.5% (56 of 248 strings)
Translation: Aniyomi/aniyomi-strings
Translate-URL: https://hosted.weblate.org/projects/aniyomi/aniyomi-strings/it/
2023-02-01 20:51:50 +01:00
Cliff Heraldo
06e3f93c9c
Translated using Weblate (Indonesian)
...
Currently translated at 100.0% (248 of 248 strings)
Translation: Aniyomi/aniyomi-strings
Translate-URL: https://hosted.weblate.org/projects/aniyomi/aniyomi-strings/id/
2023-02-01 20:51:49 +01:00
stevenyomi
7559c133c0
Call.await(): copy exception message when preserving error stack ( #9013 )
2023-02-01 11:09:35 -05:00
stevenyomi
589bdba0b1
Show exception class in snackbar message ( #9006 )
...
* Show exception class in snackbar message
* omit IOException too
2023-01-31 22:36:53 -05:00
Two-Ai
aca65f13bb
Misc Service cleanup ( #9005 )
...
* Simplify DownloadService wake lock handling
_isRunning is only modified in onCreate/onDestroy, so the listener
job is redundant.
* Drop superclass calls to Service.onCreate/onDestroy
From https://developer.android.com/guide/components/services
> Note: Unlike the activity lifecycle callback methods, you are not
> required to call the superclass implementation of these callback
> methods.
2023-01-30 17:25:54 -05:00
renovate[bot]
7bf30a094a
Update dependency androidx.compose.material:material to v1.4.0-alpha05 ( #8997 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-29 10:35:19 -05:00
renovate[bot]
5454279a8e
Update dependency com.google.android.material:material to v1.8.0 ( #8999 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-29 10:31:41 -05:00
renovate[bot]
006bcdf934
Update dependency androidx.core:core-ktx to v1.10.0-alpha02 ( #8998 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-29 10:27:48 -05:00
Andreas
b00f00730d
Set InsertPage status to Ready ( #9001 )
...
Fixes insert page just loading
2023-01-29 09:03:12 -05:00
K d
b75a292572
Translated using Weblate (Turkish)
...
Currently translated at 30.6% (76 of 248 strings)
Translation: Aniyomi/aniyomi-strings
Translate-URL: https://hosted.weblate.org/projects/aniyomi/aniyomi-strings/tr/
2023-01-29 08:03:29 +01:00
Cliff Heraldo
bb9c81543d
Translated using Weblate (Indonesian)
...
Currently translated at 100.0% (248 of 248 strings)
Translation: Aniyomi/aniyomi-strings
Translate-URL: https://hosted.weblate.org/projects/aniyomi/aniyomi-strings/id/
2023-01-29 08:03:29 +01:00
K d
32842beb0b
Translated using Weblate (Turkish)
...
Currently translated at 22.5% (56 of 248 strings)
Translation: Aniyomi/aniyomi-strings
Translate-URL: https://hosted.weblate.org/projects/aniyomi/aniyomi-strings/tr/
2023-01-28 13:48:15 +01:00
arkon
f2c48480b6
Move some interactors to domain module
2023-01-27 22:37:17 -05:00
arkon
1730dd6af1
Move more things around
2023-01-27 22:31:12 -05:00
Andreas
2501fef9e4
Split UpdatesGridGlanceWidget into smaller bits ( #8991 )
...
- Renamed Composables
- Moved Constants to core module
2023-01-27 14:49:57 -05:00
Hosted Weblate
b04626c60f
Update translation files
...
Updated by "Remove blank strings" hook in Weblate.
Translation: Aniyomi/aniyomi-strings
Translate-URL: https://hosted.weblate.org/projects/aniyomi/aniyomi-strings/
2023-01-27 14:46:39 +01:00
Eduardo
e0eda782de
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 69.3% (172 of 248 strings)
Translation: Aniyomi/aniyomi-strings
Translate-URL: https://hosted.weblate.org/projects/aniyomi/aniyomi-strings/pt_BR/
2023-01-27 14:46:35 +01:00
manuel kristo
df872cce51
Translated using Weblate (Indonesian)
...
Currently translated at 27.8% (69 of 248 strings)
Translation: Aniyomi/aniyomi-strings
Translate-URL: https://hosted.weblate.org/projects/aniyomi/aniyomi-strings/id/
2023-01-27 14:46:35 +01:00
gallegonovato
be21f6e02a
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (248 of 248 strings)
Translation: Aniyomi/aniyomi-strings
Translate-URL: https://hosted.weblate.org/projects/aniyomi/aniyomi-strings/es/
2023-01-27 14:46:35 +01:00
Andreas
12e41b6e6f
Move Glance Widget to seperate module ( #8989 )
...
Move Widget to seperate module
- Create a core module for presentation. Widget and App will share some resources and hopefully composables
2023-01-26 17:53:24 -05:00
beerpsi
c892c793a8
[BackupRestorer] Handle uncompressed backups ( #8988 )
...
[Backups] Handle uncompressed backups
2023-01-26 09:14:18 -05:00
Two-Ai
3a82b4d924
Don't crash on timeout in renewCache() ( #8986 )
...
Fixes #8962 .
withTimeout throws a TimeoutCancellationException if the timeout
expires. To avoid crashing renewalJob when there are no extensions,
use withTimeoutOrNull which does not throw on timeout.
2023-01-25 18:18:17 -05:00
Two-Ai
b4b3a4d286
Fixup HttpPageLoader _loadPage ( #8984 )
...
Fixup for e4bc8990
(#8955 )
HttpSource.fetchImage() uses Call.asObservableSuccess(), which
cancels the call on unsubscribe. This causes the call to be cancelled
before it is used, leading to a "java.net.SocketException: Socket is
closed" when trying to use the response in putImageToCache().
To fix this, use Call.awaitSuccess() via a new HttpSource.getImage()
suspending function. This addition to source-api is only intended for
app use, so it will not be added to the extensions-api stubs.
2023-01-25 18:18:12 -05:00
Aozora
1fdec9ba26
Translated using Weblate (Spanish)
...
Currently translated at 62.9% (156 of 248 strings)
Translation: Aniyomi/aniyomi-strings
Translate-URL: https://hosted.weblate.org/projects/aniyomi/aniyomi-strings/es/
2023-01-25 14:59:44 +01:00
gallegonovato
d0be30a3f0
Translated using Weblate (Spanish)
...
Currently translated at 62.9% (156 of 248 strings)
Translation: Aniyomi/aniyomi-strings
Translate-URL: https://hosted.weblate.org/projects/aniyomi/aniyomi-strings/es/
2023-01-25 14:59:43 +01:00
stevenyomi
448702e5be
OkHttp Call: split await() and awaitSuccess() ( #8980 )
2023-01-24 22:34:31 -05:00
Aozora
3b0f992764
Translated using Weblate (Spanish)
...
Currently translated at 35.0% (87 of 248 strings)
Translation: Aniyomi/aniyomi-strings
Translate-URL: https://hosted.weblate.org/projects/aniyomi/aniyomi-strings/es/
2023-01-25 02:00:51 +01:00
Aozora
3734d98e72
Translated using Weblate (Spanish)
...
Currently translated at 29.8% (74 of 248 strings)
Translation: Aniyomi/aniyomi-strings
Translate-URL: https://hosted.weblate.org/projects/aniyomi/aniyomi-strings/es/
2023-01-24 23:50:38 +01:00