mihon/app/src/main/java/eu/kanade/tachiyomi/data/database
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
..
mappers Implement Anilist API v2 (closes #1159) (#1383) 2018-05-05 14:05:02 +02:00
models Implement Anilist API v2 (closes #1159) (#1383) 2018-05-05 14:05:02 +02:00
queries Add a new screen to help migrating manga from sources 2018-01-12 22:02:05 +01:00
resolvers Add a new screen to help migrating manga from sources 2018-01-12 22:02:05 +01:00
tables Implement Anilist API v2 (closes #1159) (#1383) 2018-05-05 14:05:02 +02:00
DatabaseHelper.kt Rewrote Backup (#650) 2017-04-04 17:42:17 +02:00
DbExtensions.kt Remove deprecated calls and fix a potential race condition 2016-07-18 21:01:51 +02:00
DbOpenHelper.kt Implement Anilist API v2 (closes #1159) (#1383) 2018-05-05 14:05:02 +02:00
DbProvider.kt Database queries are now separated by table. Improve how the app creates downloads 2016-05-02 22:36:10 +02:00