Commit Graph

374 Commits

Author SHA1 Message Date
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
MCAxiaz
9cbf226cfd MAL API Workaround (#1647)
* Mal API workaround

* remove unused import

* Reuse existing token preference

* Minor code format
2018-11-11 14:00:47 +01:00
inorichi
36aabf23e1 Optimize library query 2018-11-09 11:59:17 +01:00
Carlos
8b67255186 kitsu search fix (#1681) 2018-10-27 19:34:05 +02:00
Ken Swenson
ae6d052978 Update Anilist API search to return 50 results (#1657)
* Update Anilist API search to return 50 results

This will help alleviate not being able to find manga with generic names
such as Monster

* Add description to Anilist search dialogue
2018-10-27 19:02:10 +02:00
FlaminSarge
974891a085 Allow pausing downloads from progress notification (#1637) 2018-10-27 19:01:56 +02:00
inorichi
788cb843fc Minor fixes when updating the manga viewer 2018-10-09 14:27:00 +02:00
Ian Harmon
5f568733f3 AniList 5-star/smiley <-> 100-point values differ from the AniList website (#1631)
* adjusted anilist alternate rating values to match website

* addition to: adjusted anilist alternate rating values to match website
2018-09-27 19:20:37 +02:00
Carlos
3c1179d27b Fix NSFW Manga not showing in Kitsu (#1622)
* add interceptor to kitsu

* switch to shared client
2018-09-21 08:20:06 +02:00
inorichi
da8b870670 Update image decoder library. Remove deprecated ask update tracking setting 2018-09-17 14:50:44 +02:00
inorichi
18f89cc341
New reader (#1550)
* 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
2018-09-01 17:12:59 +02:00
FlaminSarge
7c99ae1b3b Set notification number for library updates to number of new updates (#1551) 2018-07-29 23:01:15 +02:00
FlaminSarge
16dc4d298d Update manga.last_update when any ChapterSourceSync.syncChaptersWithSource() occurs rather than only during LibraryUpdateService.updateChapterList() (#1535)
Viewing a manga's info page for the first time forces a chapter sync.
Prior behavior would cause new chapters to be retrieved for that manga, but with manga.last_update remaining at 0 (until a library update occurred in which chapters were changed).
The new behavior updates last_update any time the chapters are changed via syncChaptersWithSource().
2018-07-07 14:05:02 +02:00
Carlos
762c378bd6 Kitsu search fix (#1524)
* fixed start date,
fixed filtering of novel

* removed init switched ?.let
2018-07-07 11:35:03 +02:00
inorichi
3d1afe7cf2 Show manga with no installed source. Based on PR #1345 2018-06-30 19:55:46 +02:00
Carlos
fd825b1049 Changed Kitsu to use Algoria search directly (#1514)
* Changed Kitsu to use Algoria search directly, was recommended by the Kitsu Dev team

* remove extra line

* fixed end date bug
added filtering out novel back in

* save the retrofit instances locally for search.
2018-06-30 12:07:37 +02:00
Sklan
9bf071132d Update AnilistModels.kt (#1481)
* Update Anilist.kt

* Update AnilistModels.kt

* Update Anilist.kt
2018-06-18 22:32:15 +02:00
ddmgy
b19a4d2977 Change AniList search query to show some previously hidden entries. (#1435) 2018-05-28 22:54:41 +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
inorichi
32db1e3045 Run downloader in foreground service 2018-04-28 10:54:27 +02:00
inorichi
18883f1ba3 Crop borders for webtoon now have a separate setting. Close #972 2018-04-27 16:55:12 +02:00
inorichi
7464497c88 Use our OkHttpClient in updates checker. It should fix the updater on KitKat due to TLS 2018-04-06 10:02:01 +02:00
Carlos
50e0cb65d9 Anilist search fix (#1289)
* fixed issue where some anilist results not showing due to null description.

* remove blank line
2018-03-05 19:45:02 +01: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
0ca2ca33c2 add override status back in (#1260) 2018-02-19 08:17:59 +01:00
inorichi
1875047638 Forgot the backup manager isn't injected 2018-02-18 20:16:06 +01:00
inorichi
fa4d61eaf0 Run periodic backups without launching services 2018-02-18 20:14:12 +01:00
inorichi
49eb638e15 Dependency updates 2018-02-18 20:02:31 +01:00
inorichi
0d480dbf7c Remove debug log 2018-02-18 19:19:59 +01:00
inorichi
7b4ac7998a Remove simultaneous downloads 2018-02-18 17:34:22 +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
Carlos
854112095b Downloading extensions from Github Repo. (#1101)
Downloading extensions from Github Repo.
2018-02-05 22:50:56 +01:00
Joel Shapiro
f88dd28c51 Add option to change double tap animation speed in the reader (#974)
* Add option to change double tap animation speed in the reader

* address requests from review
2018-01-26 20:22:31 +01:00
inorichi
d56ff9592e Use a single preference to store migration flags 2018-01-13 13:13:03 +01:00
inorichi
a75457ad88 Add a new screen to help migrating manga from sources 2018-01-12 22:02:05 +01:00
Bram van de Kerkhof
8994b42760
Remove local broadcast receiver to prevent race conditions (#1123)
* Remove local broadcast receiver to prevent run exceptions.
Added option to set tile for extension update.
2017-12-11 20:01:28 +01:00
Bram van de Kerkhof
e745836404 Restore tracking on backup (#1097) 2017-12-04 22:55:57 +01:00
inorichi
34a40b0131 Start downloader after a library update. It should help with some catalogue issues 2017-12-02 17:29:05 +01:00
inorichi
28a21d0b8f Minor changes to download cache. Also keep the library view, as recreation is expensive 2017-11-28 23:58:37 +01:00
Bram van de Kerkhof
d1d1d60c30
Fix automatic backups (#1074)
* Fix automatic backups

* Small fixes

* small fixes
2017-11-28 22:55:50 +01:00
inorichi
bff329a329 Implement a download cache 2017-11-28 00:32:51 +01:00
inorichi
c437a33f2a A few fixes and dependency updates 2017-11-11 15:31:32 +01:00
inorichi
e3259f39f1 Fallback covers' external directory 2017-11-08 22:34:56 +01:00
inorichi
cb357b0a16 Fix some crashes 2017-11-08 22:25:00 +01:00
inorichi
4ae00c80ca Fix many compilation warnings 2017-10-28 19:12:17 +02:00
inorichi
f3689f09cd Use gradle's new dependencies API. Update a few dependencies 2017-10-28 16:10:51 +02:00
inorichi
3631a9fac2 Use new key format in badges preference 2017-10-24 17:27:45 +02: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