Commit Graph

72 Commits

Author SHA1 Message Date
FlaminSarge a096e6b337 Library View: Add latest chapter sorting and revert last updated sorting changes
Latest chapter is as it sounds
Last update is now any changes to the chapter list (addition, removal, rename, etc.)
2020-02-02 23:16:42 -08:00
arkon 13ea1342fb Optimize imports 2020-01-28 22:47:57 -05:00
arkon 600fbb2ef8 Update files to use unix line endings
cmd: `find . -type f -print0 | xargs -0 dos2unix`
2020-01-05 14:43:07 -05:00
arkon 78689e7443 Migrate to AndroidX (#2424)
* Migrate to AndroidX (automatic conversion by Android Studio)

* AndroidX dependency code updates

* Fix source preference reparenting

* fixes the androidx prefererences icon spacing issue

(cherry picked from commit b76a15d960ec2cdf771be16377db0348b66b3179)

* Fix source preference screen heading size/list padding

Co-authored-by: Carlos <cargo8005@gmail.com>
2020-01-05 11:29:27 -05:00
FlaminSarge 7c6478fe6b Force Migration to display titles from source rather than from local DB, and update local titles when migrated (#1670) 2019-04-29 18:38:59 +02:00
inorichi aeaf4d78f8 Bundle SQLite. Fixes tachiyomi not working on KitKat. Making a backup before using this version is recommended, but everything should work. 2018-11-26 13:05:42 +01:00
inorichi 36aabf23e1 Optimize library query 2018-11-09 11:59:17 +01:00
inorichi 788cb843fc Minor fixes when updating the manga viewer 2018-10-09 14:27:00 +02:00
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
Carlos cf5c816483 fix restore from old backup to updated trackimpl. (#1269)
* fix restore from old backup to updated trackimpl.
added backup of tracking url for new backups

* assignment not needed
2018-02-22 21:54:05 +01:00
Carlos 40b222f8bc Improve tracking search results (#1178)
* 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
2018-02-17 13:04:49 +01:00
inorichi a75457ad88 Add a new screen to help migrating manga from sources 2018-01-12 22:02:05 +01:00
inorichi f88c86c799 Download count shouldn't be stored as a database field 2017-10-21 23:43:46 +02:00
inorichi 60ac27e401 Add library manga class 2017-10-21 20:13:41 +02:00
inorichi d0567de4e6 Download badge 2017-10-21 17:08:49 +02:00
len 71fc6fc257 Revert chapter equals method 2017-08-26 12:50:52 +02:00
len e8b432485d Minor changes 2017-08-15 15:06:21 +02:00
Carlos a12a34e3bb Add Batoto Scanlator to Chapter view (#789)
* 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
2017-08-15 15:05:41 +02:00
Carlos 1089c25b8f allow sorting by total chapters for library view (#811)
* allow sorting by total chapters for library view

* allow sorting by total chapters for library view

* Changed to remove query per manga.
2017-05-31 21:50:21 +02:00
inorichi 2eeac0bf8b UI with Conductor (#784) 2017-05-06 15:49:39 +02:00
Carlos e838bb43d2 Deleting categories hides manga until switch from and to library #686 (#769)
* Fixed bug 686
https://github.com/inorichi/tachiyomi/issues/686

* Fixed bug 686
https://github.com/inorichi/tachiyomi/issues/686

* undo previous changes to resubscribe
add table to mangaQueries to update on table category change

* cleaned up formatting
2017-04-27 20:16:05 +02:00
Bram van de Kerkhof 0642889b64 Rewrote Backup (#650)
* 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
2017-04-04 17:42:17 +02:00
len 68724752f8 Separate some changes unrelated to backup from PR 2017-03-26 11:26:10 +02:00
len 4d7b188999 Fix #636. Minor improvements. Dependency updates 2017-02-23 22:30:43 +01:00
len e8912c5dc9 Local chapter url relative. Other minor changes 2017-01-29 20:51:11 +01:00
len 706163e7a6 Move source and network outside data 2017-01-20 21:24:31 +01:00
inorichi dd56d7c0bb Initial support for external sources 2017-01-08 18:12:19 +01:00
inorichi 94ee4e7fb5 Experimental Anilist and Kitsu support (#586)
* Tracking tab with anilist support

* Rename MangaSync to Track

* Rename variables and methods to track

* Kitsu implementation

* Variables refactoring

* Travis fix?
2016-12-18 22:56:28 +01:00
Bram van de Kerkhof 79ab9d80f2 Improved last_read sorting (#576) 2016-12-13 21:36:26 +01:00
Bram van de Kerkhof aba528b227 Added option to sort library (#536)
* Initial code

* Added all sort options

* Fixes

* Removed sort by added. Some renaming

* Removed date added database calls

* Fixes
2016-12-04 20:22:12 +01:00
inorichi 6f297161de Download manager rewrite (#535)
* 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
2016-11-20 11:20:57 +01:00
len 71fac76e3d Rename bookmark column val 2016-11-06 13:35:12 +01:00
Bram van de Kerkhof 125f1ae34c Added option to bookmark single chapter (#496)
* Added option to bookmark single chapter

* Fixes
2016-11-06 13:33:00 +01:00
len 8f83f497d5 Update history custom put resolver 2016-07-23 15:41:47 +02:00
len 1090c04fe3 Remove deprecated calls and fix a potential race condition 2016-07-18 21:01:51 +02:00
len 3680eb0bf5 Recently read improvements: Open next chapter if read, local date formatting 2016-07-03 17:58:39 +02:00
len 589160242e Rewrite database models in Kotlin 2016-06-14 15:11:23 +02:00
len 7039216eae Manual mappings. Code generation on java classes (better compilation times) 2016-06-06 16:27:24 +02:00
Bram van de Kerkhof 7ba898f701 Added recently read tab (#316) 2016-06-06 15:26:56 +02:00
len 11262f86f9 Release 0.2.2 2016-06-06 14:43:02 +02:00
len 6687c80b2d Minor changes 2016-06-05 11:14:40 +02:00
len 18cdddf433 Minor improvements for sync services 2016-05-31 16:14:32 +02:00
len 02a697031f Chapters FAB doesn't depend on the recognized chapter number. Cloudflare resolver fix 2016-05-28 19:10:09 +02:00
len 4e784cd7c3 Minor fixes 2016-05-26 16:03:55 +02:00
len b5dbdd1774 Change default sorting method 2016-05-26 15:10:31 +02:00
len af0cf9e52d Load next/prev chapter depending on the sorting method 2016-05-21 22:04:07 +02:00
len e885469504 Allow to change sorting mode from the chapters fragment 2016-05-21 22:04:06 +02:00
len ca7e5260f0 Tables classes in Kotlin. Rename COLUMN -> COL 2016-05-21 22:04:06 +02:00
len dba64f849b Database support for ordering chapters like the source 2016-05-21 22:04:05 +02:00
len 5e24054a0b Database queries are now separated by table. Improve how the app creates downloads 2016-05-02 22:36:10 +02:00