* 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
* initial commit
changed tracking info screen
added ability to click logo to launch website
* added publishing status and type to description.
adjusted layout some
* added start date to track info
* tweaked layout
* tweaked layout
* tweaked layout
* code review changes
* code review changes part 2
* code review changes
* Added scanlator for Batoto on chapter list
* adjusted item_chapter layout for scanlator
adjusted so db chapters get updated if scanlator does not match source scanlator
* adjusted item_chapter layout for scanlator
adjusted chapter holder to dynamically set title max lines depending on if scanlator exists
* fixed excess blank line
* changed scanlator to be instantiated instead lateint to prevent toast message erro when viewing chapters by catalog
* changed item_chapter.xml to constraint layout
* removed accidental changes to catalog
* cleaned up code.
* fixed issue where long title was running into 3 dot menu
fixed issue where no scanlator for manga was causing date to not be bottom lined
fixed general chapter layout to be more similar to existing
* allow scanlator to be null
* fixed merge issue
* fixed merge issue
* attempt to fix whitespace carriage return issue
* attempt to fix whitespace carriage return issue
* attempt to fix whitespace carriage return issue
* 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
* Saving to SD working
* Rename imagePath to uri
* Handle android < 21
* Minor changes
* Separate downloader from the manager. Optimize folder lookups
* Persist downloads across restarts
* Fix for #511
* Updated ReactiveNetwork. Add some documentation
* More documentation and minor fixes
* Handle persistent notifications. Other minor changes
* Improve downloader and add documentation
* Rename pageNumber to index in Page class
* Remove unused methods
* Use chop method
* Make sure dest dir is created
* Reset downloads dir preference
* Use invalidate options menu in download fragment and fix wrong condition
* Fix empty download queue after application restart
* Use addAll method in download queue to avoid too many notifications
* Inform download manager changes