* Add LibraryUpdateRanker
This class provides various functions to generate Comparators that can
be used to order the manga to update.
One such ordering is by relevance:
It prioritises manga that were updated more recently.
Another Ordering is by lexicographic order:
This is the default behaviour.
* Use relevanceRanking scheme
Instead of default(noRanking/lex ranking) now mangaList is sorted with
relevanceRanking.
* Add UI and associated variables & strings for Update Ranking.
* Use user preferences to determine update ranking scheme.
* Refactor relevanceRanking to latestFirstranking.
This name seems to better reflect the ranking scheme and frees up the
name relevanceRanking for future use.
* Set latestFirst scheme as default.
(Changing over from lexicographic scheme)
* Fix 1
[Convert LibraryUpdateRanker to a object.](./files/82f263749f0ae775385b23dd919f1865360db969#r287513539)
[Nitpick: Add lines](./files/82f263749f0ae775385b23dd919f1865360db969#r287540256)
[Replace Java comparator](./files/82f263749f0ae775385b23dd919f1865360db969#r287539976)
[Nitpick: Add local variable](./files/82f263749f0ae775385b23dd919f1865360db969#r287514805)
* Fix 2
[Weird import](./files/82f263749f0ae775385b23dd919f1865360db969#r287513709)
[Default value](./files/82f263749f0ae775385b23dd919f1865360db969#r287540064)
[Use existing Strings](./files/82f263749f0ae775385b23dd919f1865360db969#r287514476)
[Use Library update order](./files/82f263749f0ae775385b23dd919f1865360db969#r287540204)
* Delete old reader
* Add utility methods
* Update dependencies
* Add new reader
* Update tracking services. Extract transition strings into resources
* Restore delete read chapters
* Documentation and some minor changes
* Remove content providers for compressed files, they are not needed anymore
* Update subsampling. New changes allow to parse magic numbers and decode tiles with a single stream. Drop support for custom image decoders. Other minor fixes
* 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
* 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
* 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
* 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
* [WIP] Custom color filter for reader
* Improvements
* temp image to prevent build error
* Shift all the bits
* Some improvements. Removed DiscreteSeekBar
* Improvements
* API 16 + fixes
* Reduced lag. Fixed brightness value being reset to 0
* Small fixes
* Complete auto updates checker
* Use GcmTaskService for the periodical updates checker
* Persist task across reinstalls
* Hide setting instead of disabling
* Minor refactor
* Added in the ability to view the library as a list
* reverted LibraryAdapter and renamed libraryToggleViewEvent to LibraryToggleViewEvent for consistency
* removed LibraryToggleViewEvent and directly subscribed to option change
* fixed the toggleView subscription
* Made the library list item layout more compliant with material design
* Changed unread text style and removed background