* 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
* adjusted search to be lower in navview
* close drawer on search
moved search and reset to bottom
* switched sort icon to arrow
* allow secondary drawer to swipe open and close
* fixed click to collapse for sortgroup, and group item
updated to rc4 flexibleadapter
* added header to drawer
* changed string to Search filters
* collapsed sort group
* fixed arrow size
* added divider line
* fixed vector size
* add divider id and tools text
* adds long click to copy details per inorichi/tachiyomi#1127
* Added the latest update date for inorichi/tachiyomi#1098 and possible fix for inorichi/tachiyomi#1141
* cleanup some mistakes I left
* adds modifications to full name display for inorichi/tachiyomi#1141 and click to search on various information pieces for inorichi/tachiyomi#860
* This modifies how the full title shows up in the info pages and also properly ellipsizes the titles in the catalogue/library list views
* Changes full title layout in horizontal mode
* Adds the tags in using AndroidTagGroup library
* reverting the sdk version in the gradle build
* code cleanup
* added back status update
* Global Search
* Cards are now independent of design by use of recycler.
* Added local
* Some attribute fixes + moved onclick to controller.
* Lots of improvements to code
* Reversed some stuff. Thanks API 16
* Code fixes
* Performance improvements
* Moved adapter creation to constructor
* Small changes
* Removed sources settings from settings menu. Added OnChangeListener in catalogue. Made setting icon visible if room.
* bug fix
* Code review part uno
* Code review part uno-2
* Single recycler approach
* Add last source used
* Fix scroll state and some layout issues
* Fix wrong item binding
* Use data class for items
* Calculate item position and count while binding
* Fix background color with slices
* Reuse slices. Fix card background. Flatten constraint layout
* Fix global_search scroll issue
* Store last state with global search
* Minor changes
* Remove catalogue toolbar spinner. Persist catalogue across process restarts
* Save view state of recycler views. Set toolbar title with current query
* 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
* add local source
* small fixes
* change Chapter to SChapter and and Manga to SManga in ChapterRecognition.
Use ChapterRecognition.parseChapterNumber() to recognize chapter numbers.
* use thread poll
* update isImage()
* add isImage() function to DiskUtil
* improve cover handling
* Support external SD cards
* use R.string.app_name as root folder name
* Now show snackbar when adding from catalogue
* Code cleanup + added manga favorite event to update favorite drawable when added via snack
* Update SettingsAdvancedFragment.kt
Forgot to check optimize import. I think(hope) I got them all ;).
* Now uses PublishRelay. Manga favorite is now handled in info presenter
* Update MangaInfoFragment.kt
* Implement language switching using BaseActivity
* Add requested changes
* Cleanup App.kt Imports and add pref_language_key
* Acutally use @string for key
* Use string resource for language preference title