* 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
* Added Github link to about.
* Added github link to About page (Fixed)
Fixed based on jogerj's comment in #1389
* Changed Github link to correct URL.
* Balanced brackets
* 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 page down and page up key event. Have it always on since page down and page up buttons are only on readers or keyboards
* moved code to different method
* added spaces back to comments
* Update basic filter for sources that include space between numbers
Wasnts matching on vol. 1 ch. 10 previously so mangadex last chapter was showing volume number.
* Don't show last chapter number when there are 0 chapters or chapters with no numbers.
This prevents one shots from showing with -1 as last chapter and instead just leaves it blank
* added else to be Unknown instead of blank
* removed empty line
added test case
* switched to null safe ?.
* Revert "switched to null safe ?."
This reverts commit 97a9300d1bedc8e01efb439c180eced8eaa1da5b.
undo
* switched to null safe ?.
* 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
* [SettingsBackupController] Handle ActivityNotFoundException
When using `Intent.ACTION_CREATE_DOCUMENT` on SDK >= Lollipop there is no
guarantee that the ROM supports the built in file picker such as MIUI
* [SettingsBackupController] Add import for ActivityNotFoundException
* Add additional handlers to Android document intents
* Requested review changes
Move `try {`s to top of block
Replace version numbers with `Build.VERSION_CODES.LOLLIPOP`
Break out custom file picker intent to Context extention `Context.getFilePicker`
Rename `val i` to `val intent` to be more clear with variable names
* Add version check to custom file picker after exception
* 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
* update mangafox parsing to read chapter title also if it exists.
* updated chapterImpl to force update chapters if chapter name changes. This allows for chapter name changes from the source to update in app
* switched from : to - since other sites that already have title use - so it provides consistency across sources.
* fixed spacing for -
* fixes license status for manga fox
if manga is licensed no chapters will be shown.
* 1. changed equality in chapterImp back to just the url (removed scanlator, and name comparison)
2. Removed extra line of code assigning mangaFox title twice
3. Modified ChapterSourceSync for scanlator/title/url comparison.
* cleaned spaces, added comment, incorporated toChange code from other pull request
* throw exception instead of returning empty list when licensed
* space fix
* 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
* added option to open manga directly from library update
added covers for manga in library update
added ability to click covers to open manga directly from library update
* Removed 3 dot option to open manga
Adjusted covers to circles and material standard for recent chapter
* fixed potential null pointer on cover click
* adjusted circle imageview size for recently read
* Allow multiple sources in each extension source apk
Minor code cleanup
* Add runtime defined sources functionality
* Undo extensions library major version number bump