Commit Graph

71 Commits

Author SHA1 Message Date
arkon
66baf01e43 Localize "No chapters found" error 2020-09-04 15:21:09 -04:00
arkon
64bdfabbd8
Revert ktlint update, unrevert Gradle and PR build workflow reverts (#3681) 2020-08-15 16:44:46 -04:00
arkon
4a136ef2aa Automatic linting fixes 2020-08-13 09:02:15 -04:00
arkon
b1fb401f63 Warn before restoring backup if trackers aren't logged in 2020-08-05 22:46:37 -04:00
arkon
ec56c27071 More core-ktx usages 2020-07-31 10:29:32 -04:00
arkon
6713a7ae3c Include source ID if name not found in restore error log (closes #3018) 2020-07-16 22:36:01 -04:00
arkon
4bc2288806 Allow category names with different casing (fixes #3465) 2020-07-14 09:04:15 -04:00
arkon
bf5065d16b Minor cleanup, remove some usages of ArrayList 2020-05-30 23:42:11 -04:00
arkon
9a082d4df1 Fix being unable to restore backups if there's no categories 2020-05-25 16:41:53 -04:00
arkon
5f9df78ab0 Localize tracker not logged in error 2020-05-16 11:33:41 -04:00
arkon
a00d11701f Warn about missing sources before restoring backup 2020-05-16 11:29:55 -04:00
arkon
e4ea5d0344 Don't throw exception to stop restore job 2020-05-12 09:11:52 -04:00
arkon
530daeaa3a Move notification logic out of LibraryUpdateService 2020-05-10 18:14:43 -04:00
arkon
63f3180dff Move DB transaction blocks to only the DB portions of restore logic 2020-05-09 09:57:03 -04:00
arkon
521ebf0678 Remove redundant DB call in library settings (closes #3128) 2020-05-08 22:32:12 -04:00
arkon
40776bdc8d Concurrently refresh trackers 2020-05-08 19:04:45 -04:00
arkon
fb97ac47bc Replace restore completion string with plurals 2020-05-08 18:07:21 -04:00
arkon
b4c7992726 Minor cleanup of wakelocks, extension ID backup 2020-05-07 09:14:52 -04:00
arkon
bd45cc2024 Only alert once for backup/restore progress notifications 2020-05-03 20:08:29 -04:00
arkon
0a6de2b3ea Fix backup failing when source isn't installed 2020-05-02 10:24:37 -04:00
arkon
abf2d4b718 Start storing extension ID/source name mapping in backup files 2020-05-01 21:25:23 -04:00
arkon
2661700d9a Split out backup/restore notifications into separate channels for progress/completion 2020-04-29 22:30:33 -04:00
arkon
f97f4c68ba Hide titles in restore notification based on preference 2020-04-27 18:21:12 -04:00
arkon
6ef59a5949 Remove redundant DB transaction function 2020-04-26 16:45:23 -04:00
arkon
d19d787f6e Refactor backup service 2020-04-26 16:07:07 -04:00
arkon
9d22a9e664 Move some restore notification logic into service 2020-04-25 18:59:12 -04:00
arkon
96c55db7ca Consider individual manga as transactions rather than entire restore job (closes #2482) 2020-04-25 18:50:44 -04:00
arkon
0f48563e29 Some restore code refactoring 2020-04-25 16:00:08 -04:00
arkon
7c014292d2 Localize some restore strings 2020-04-25 15:55:49 -04:00
arkon
19507d1837 Return success/failure result for backup job 2020-04-25 14:55:55 -04:00
arkon
3f63b320c4 Linting fixes 2020-04-25 14:24:45 -04:00
arkon
aa1d927da6 More FlowPreference migration 2020-04-24 11:58:16 -04:00
arkon
d98b7275d1 More FlowPreference migration 2020-04-23 23:21:44 -04:00
arkon
6de00b1f21 Make restore a foreground service 2020-04-22 23:09:24 -04:00
arkon
f69f78db34 Move restore progress dialog to notification 2020-04-21 21:53:15 -04:00
arkon
fc2c465bac Prevent multiple concurrent backups/restores 2020-04-21 21:34:22 -04:00
arkon
bb064a1ba7 Change restore error log extension to txt 2020-04-19 15:13:02 -04:00
TacoTheDank
415df2357c
JDK8, lint fixing (#2888)
* Use Kotlin JDK8

* Satisfy a ton of lints

* Run res/layout files (and manifest) through reformatter
2020-04-18 14:47:22 -04:00
arkon
6da350aee6 Minor extension update cleanup, default to on 2020-03-20 22:59:59 -04:00
arkon
b3daf7d760 Replace deprecated Gson JsonParser usages 2020-03-13 18:16:38 -04:00
arkon
8b6268966e Pass context to get WorkManager instance 2020-03-07 13:06:06 -05:00
arkon
a3dd5c1e92 Tweak WorkManager task cancellation, add flex times 2020-03-02 19:04:57 -05:00
arkon
d873d653d0 Migrate to WorkManager 2020-03-01 13:22:16 -05:00
arkon
0f2d480036 More linting fixes 2020-02-26 18:12:44 -05:00
arkon
043e3784e8 Run linter 2020-02-26 18:03:34 -05:00
arkon
3ecc883944 Run default Android Studio formatter on code 2020-02-17 17:23:37 -05:00
arkon
47f5ea881f Reorganize other util files 2020-02-02 22:22:54 -05:00
arkon
13ea1342fb Optimize imports 2020-01-28 22:47:57 -05:00
arkon
83d5e458ca
Update to SDK 29 (Android 10) (#2468) 2020-01-09 20:31:27 -05:00
arkon
5cddb269d6 Minor code cleanup 2020-01-07 20:17:07 -05:00