Commit graph

5260 commits

Author SHA1 Message Date
04d0003963
chore: Sync project [skip ci] 2024-10-02 10:30:48 +07:00
0f96f4dbe1
refactor(backup/creator): Use injectLazy 2024-09-27 06:50:44 +07:00
ec5e86942a
chore(backup/creator): Temporarily disable setForeground 2024-09-27 06:41:57 +07:00
a6f697199d
revert: "Explicitly bind app to Application class"
This reverts commit a8b3d97b14.
2024-09-26 13:35:02 +07:00
6c1dba1831
fix(GestureDetector): Prevent crashes caused by firstEvent being null on some devices 2024-09-26 08:14:43 +07:00
f838dcb243
fix: Don't try to auto backup if battery is too low 2024-09-25 11:51:56 +07:00
dbd007127d
feat: Option to prune finished workers 2024-09-24 08:40:32 +07:00
7719847106
refactor: Simplify code 2024-09-24 06:51:10 +07:00
83a8abe07c
refactor: Extension method for WorkManager 2024-09-24 06:46:29 +07:00
233758b219
fix: Library refresh state didn't update right away 2024-09-24 06:34:32 +07:00
a5a5ce8797
fix(backup/creator): Set backoff criteria 2024-09-24 05:30:35 +07:00
186d95fcf9
fix: Backup failed trying to get foreground info 2024-09-23 07:12:37 +07:00
a8b3d97b14
fix: Explicitly bind app to Application class
Also bound app to Context class
2024-09-21 20:21:42 +07:00
58c5a17c50
refactor(settings/data): Simplify backup code
* Remove picker argument, it's permanently false now
* Simplify backup file path retrieval
* Remove unused code
2024-09-20 08:24:57 +07:00
61870c1115
fix(backup/creator): Better error message
The previous error message is way too vague, the actual error is caused
by UniFile unable to retrieve a path or the path didn't lead to a file.
So it's probably safe to assume UniFile failed create an empty backup
file (somehow).
2024-09-20 07:22:52 +07:00
775829e28b
refactor(backup/creator): Some clean up
* Don't try to auto backup if restorer is running
* Return early if file path is null
* Set to foreground before attempting to create a backup
* Added separate function to retrieve auto backup directory instead
  using injectLazy
2024-09-20 07:20:16 +07:00
e248de76d7
refactor: Retrieve auto backup directory from Uri argument 2024-09-20 07:12:49 +07:00
Ahmad Ansori Palembani
9d858cc810
refactor: Replace Injekt with Koin (Experiment) (#191)
* refactor: Use Koin

An experiment, aims to ditch Injekt and replace it with Koin while providing Injekt API facade for extensions

* fix: Mimic "InjektScope"

* fix: Mimic more classes

Completely fixed source search

* refactor(deps): Use Injekt-Koin library

* fix(r8): Keep Koin
2024-09-19 13:18:02 +07:00
AntsyLich
bc65f17f60
chore(crashlytics): Remove unnecessary permission and disable unnecessary features 2024-09-19 05:45:53 +07:00
MajorTanya
33ec0d0f91
fix: Kitsu synopsis nullability
This time, the Kitsu API docs are silent on whether this field (or
any other field) can be null/undefined/etc, but it can happen and
caused an error during search and update. This change just ensures the
attribute is nullable and is set to an empty String when it is null.
2024-09-17 18:07:43 +07:00
NGB-Was-Taken
353a002eb5
chore: Show toast for app restart when User-Agent is changed 2024-09-09 08:09:38 +07:00
nzoba
942ca851d5
chore: Use "Page x of y" instead of "x pages left" 2024-09-05 08:33:49 +07:00
38db95b6de
fix(kitsu): It's Int? not String? 2024-09-05 08:11:40 +07:00
34ffc2dd85
chore: Sync project 2024-09-05 07:08:10 +07:00
3ac6c551d6
chore(log/crashlytics): Only send error 2024-09-04 19:53:40 +07:00
b26b526b1e
fix(DiskUtil): Fixed NPE crashes trying to get directory size 2024-09-04 07:24:24 +07:00
bf1f258455
style: Actually set chapter info text color
Apparently it is done programmatically
2024-09-03 11:20:35 +07:00
0ee76b9a50
style: Less contrast chapter info 2024-09-03 10:50:13 +07:00
bede8460e7
docs: Sync changelog 2024-09-03 10:29:25 +07:00
MajorTanya
93738ffaa3
refactor: Use DTOs to parse tracking API responses 2024-09-03 10:09:58 +07:00
Smol Ame
6ee9a41587
chore: Enable 'Split Tall Images' by default 2024-09-03 06:53:45 +07:00
5a1a7063b2
feat: Verbose logging 2024-09-02 09:40:54 +07:00
1925a503d9
refactor(reader): Simplify code 2024-09-01 10:35:04 +07:00
153268052a
fix(ImageUtil): Throw an exception instead 2024-08-31 21:57:46 +07:00
c1dd80bd71
fix(reader): Return the original image if split bitmap failed 2024-08-31 21:52:45 +07:00
03043ef01b
fix(reader): Don't use coil pipeline if image size can't be extracted 2024-08-31 21:36:57 +07:00
84f4a35180
fix(reader): Abort split attempt if the app can't read bitmap size 2024-08-31 21:11:32 +07:00
59f9e556ec
fix: Prevent NPE crashes on touch event 2024-08-31 12:14:39 +07:00
08b629d1f5
fix: Actually stop it from showing duplicate entries 2024-08-30 21:12:20 +07:00
91a9e081d7
fix(library): Duplicate entries on Ungrouped library
Fixes GH-176
2024-08-30 20:02:00 +07:00
a27c0edf13
refactor(recents): Fully migrate recents to use SQLDelight, for real this time 2024-08-27 13:47:18 +07:00
0d9ffc2206
fix(recents): Partially revert SQLDelight migration
getAllRecentsTypes query is too cursed, will need some refactoring
2024-08-27 10:01:17 +07:00
6e3eaad481
fix(sql): Union issue
It doesn't like history.*
2024-08-27 09:50:32 +07:00
354ed7ce8a
refactor(recents): Fully migrate recents to use SQLDelight 2024-08-27 08:23:11 +07:00
79929b395e
fix: Tell splash state to stop being lazy
We need the class as soon as possible. It being lazy might be the reason why there's a race condition.
2024-08-26 15:33:18 +07:00
3d7b6b88be
fix(archive): Move common code to android
Since these codes still relies heavily on java and iOS doesn't have java support.
2024-08-26 15:25:01 +07:00
84ee9213be
refactor(library/item): Injekt lazily 2024-08-26 14:59:18 +07:00
94567a37fa
refactor(tracker): Check if tracker is EnhancedTrackService from the function itself 2024-08-26 14:47:32 +07:00
da99cf5cfa
refactor(extension/repo): Refactor the ExtensionRepoService to use DTOs
Co-authored-by: MajorTanya <39014446+MajorTanya@users.noreply.github.com>
2024-08-26 14:10:20 +07:00
c7405e0b33
chore(network): Sync doh provider with upstream
Also, actually use all the DoH providers. Not sure why only up to Quad9 is actually being implemented.
2024-08-26 08:02:07 +07:00