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
arkon
600fbb2ef8
Update files to use unix line endings
...
cmd: `find . -type f -print0 | xargs -0 dos2unix`
2020-01-05 14:43:07 -05:00
inorichi
3d1afe7cf2
Show manga with no installed source. Based on PR #1345
2018-06-30 19:55:46 +02:00
Ken Swenson
51144aa45e
Implement Anilist API v2 ( closes #1159 ) ( #1383 )
...
* Implement Anilist API v2 (closes #1159 )
Switches to using the Anilist v2 API.
Login is now done by implicit grant and tokens are good for one year.
Users will need to login again after token expiration.
"clientId" on line 289 of AnilistApi.kt should be changed to Tachiyomi's
own client ID number.
* Code style formatting
Revert to kotlin 1.2.30
Use correct client ID
Rename AnilistApi.login to AnilistApi.createOAuth to reflect changed implementation
Rename json mimetype variable from json to jsonMime for clarity
Don't read response if it's ignored
Remove unused parameters from api requests
* Close netResponse after read
* Refactor remote_id into media_id and library_id
* DB: Refactor RemoteId
Refactor RemoteId into library_id and media_id
Implement function to fetch library_id if user is migrating rom APIv1
* Remove logging interceptor
* Compatability and sql simplification
* Fix score and minor improvements
* Revert changes to Kitsu API
2018-05-05 14:05:02 +02:00
Carlos
cf5c816483
fix restore from old backup to updated trackimpl. ( #1269 )
...
* fix restore from old backup to updated trackimpl.
added backup of tracking url for new backups
* assignment not needed
2018-02-22 21:54:05 +01:00
inorichi
1875047638
Forgot the backup manager isn't injected
2018-02-18 20:16:06 +01:00
inorichi
fa4d61eaf0
Run periodic backups without launching services
2018-02-18 20:14:12 +01:00
Bram van de Kerkhof
e745836404
Restore tracking on backup ( #1097 )
2017-12-04 22:55:57 +01:00
Bram van de Kerkhof
d1d1d60c30
Fix automatic backups ( #1074 )
...
* Fix automatic backups
* Small fixes
* small fixes
2017-11-28 22:55:50 +01:00
inorichi
c437a33f2a
A few fixes and dependency updates
2017-11-11 15:31:32 +01:00
inorichi
4ae00c80ca
Fix many compilation warnings
2017-10-28 19:12:17 +02:00
inorichi
f3689f09cd
Use gradle's new dependencies API. Update a few dependencies
2017-10-28 16:10:51 +02:00
inorichi
73d1a1a05e
Fix backup issue. Closes #806
2017-05-24 11:15:40 +02:00
inorichi
67678cd49e
Add an option to refresh all tracking metadata
2017-05-17 13:36:42 +02:00
inorichi
ff190e02d4
Preferences with conductor ( #792 )
...
* Settings with conductor WIP
* Add downloads preference controller. Implement source/track login
* Improve settings controllers
* Backup settings controller
* Delete preferences xml
* Remove keys from xml
* PreferenceKeys is now an object
* Remove now unused dependency
2017-05-14 00:45:14 +02:00
len
8df3080e0d
Pass backup uri as parcelable to restore service
2017-04-25 16:29:39 +02:00
len
a4313d388d
Fix activity leaks in backup, restore dialogs and properly handle db transactions
2017-04-06 17:26:24 +02:00
Bram van de Kerkhof
0642889b64
Rewrote Backup ( #650 )
...
* Rewrote Backup
* Save automatic backups with datetime
* Minor improvements
* Remove suggested directories for backup and hardcoded strings. Rename JSON -> Backup
* Bugfix
* Fix tests
* Run restore inside a transaction, use external cache dir for log and other minor changes
2017-04-04 17:42:17 +02:00
inorichi
94ee4e7fb5
Experimental Anilist and Kitsu support ( #586 )
...
* Tracking tab with anilist support
* Rename MangaSync to Track
* Rename variables and methods to track
* Kitsu implementation
* Variables refactoring
* Travis fix?
2016-12-18 22:56:28 +01:00
len
b418169c20
Exclude backup empty fields
2016-11-06 13:31:01 +01:00
len
237af4b07d
Fix dependency injection and use custom models extending DB ones
2016-06-14 15:17:37 +02:00
inorichi
da44dc3fb5
Support backups
2016-03-29 20:48:28 +02:00