Commit Graph

728 Commits

Author SHA1 Message Date
Andreas
5cddc0c387
Add filter for tracking (#4276)
* Add filter for tracking or not

* Use .any

* Access database only when needed
2021-01-17 15:40:17 -05:00
arkon
878008e93b Reimplement MAL start/end date support 2021-01-16 16:03:19 -05:00
arkon
0cd551d4fd Revert removal of tracker start/end date 2021-01-16 15:48:20 -05:00
arkon
f85194ec46 Handle download cancelation from icon properly (fixes #4241) 2021-01-16 15:48:02 -05:00
arkon
189f18b112 Simplify lookup for existing MAL list item 2021-01-16 10:51:17 -05:00
arkon
c9cf9cfff0 More coroutine tweaks 2021-01-10 11:01:10 -05:00
arkon
2ffbee3db2 Avoid using global scope where appropriate
Also fixes the crash in tracking when an exception is thrown during a refresh.
2021-01-08 18:05:51 -05:00
arkon
6fb7a85e8a Address more coroutine scope leaks 2021-01-07 18:15:57 -05:00
arkon
990fb22d3e Remove usage of RxJava from backup/restore 2021-01-04 15:30:05 -05:00
arkon
df7e0d2f2f Surface "NSFW" (includes things like ecchi) results in MAL search (closes #4249) 2021-01-04 15:16:08 -05:00
arkon
8a792e6d76 MAL: add way to search by list items' titles 2021-01-04 14:30:04 -05:00
arkon
17b70ab38c Refactor Kitsu API to remove Retrofit usage 2021-01-04 12:13:14 -05:00
arkon
c06a932c95 Remove some OptIn annotations 2021-01-04 10:22:26 -05:00
arkon
7d713b87b1 Fully remove usages of RxJava from tracker classes
TODO: refactor usages to coroutines as well
2021-01-03 23:41:36 -05:00
arkon
2d0a5eb02c Convert more TrackService methods to coroutines 2021-01-03 23:33:21 -05:00
arkon
8d68859c2a Change MAL ID search prefix to "id:" 2021-01-03 23:21:45 -05:00
Andreas E
3bf7c74f93
Navigation settings and split invert tapping for webtoon and pager (#4233) 2021-01-03 10:50:38 -05:00
arkon
54dc01253d Replace usages of fetchChapterList with 1.x getChapterList API 2021-01-01 19:19:11 -05:00
arkon
4db9a90da2 Replace usages of fetchMangaDetails with 1.x getMangaDetails API 2021-01-01 19:08:12 -05:00
Andreas E
d69e9034ab
Viewer navigation (#3869)
* Viewer navigation

Co-authored-by: Harsh Parekh <h.x.dev@outlook.com>

* Match current reader behavior and add ability to invert it

* A bit of clean up

* Clean up inversion

* Only create navigator when changed

and change tap zone when invertTapping is changed

* Clean up PagerConfig

* Change how Viewer navigation works

* Add Edge Navigation

Co-authored-by: Harsh Parekh <h.x.dev@outlook.com>
2021-01-01 18:41:20 -05:00
arkon
3bb2102eb4 Include source name in backup restore error logs (closes #4230) 2021-01-01 16:43:32 -05:00
arkon
139a589ad6 Increase per-page limit when searching MAL manga list 2020-12-31 10:58:40 -05:00
arkon
97a308b114 Minor cleanup of some tracker observables 2020-12-31 10:51:23 -05:00
arkon
430714e67f Find existing entry in MAL list when binding 2020-12-31 10:50:50 -05:00
arkon
a49adbd09c Add ID search workaround for MAL tracking 2020-12-30 15:08:10 -05:00
arkon
2e8791a101 Refactor tracker response parsing 2020-12-27 17:46:14 -05:00
arkon
8f98055e9e Refactor response parsing helper function 2020-12-27 10:22:24 -05:00
arkon
84ae61f72c Refactor download states into enum 2020-12-27 10:20:14 -05:00
arkon
1365d553a4 Log exception on invalid download directory issue 2020-12-26 18:05:39 -05:00
arkon
61a594493c Remove usage of Retrofit for update check and extensions list 2020-12-26 16:59:24 -05:00
arkon
ea33179a95 Convert tracker add/update/login methods to coroutines 2020-12-24 17:50:28 -05:00
arkon
6fcf6ae1f5 Use coroutines for Bangumi and Shikimori APIs 2020-12-24 17:23:10 -05:00
arkon
f2a9247b68 Remove usage of Gson in Kitsu tracker 2020-12-24 17:02:33 -05:00
arkon
dc3ed7fffc Use coroutines for Anilist API 2020-12-24 16:55:04 -05:00
arkon
271de31d51 Migrate Kitsu API to coroutines and kotlinx.serialization 2020-12-24 16:39:28 -05:00
arkon
1268caf3e0 Make OkHttp coroutine calls always throw exceptions on errors 2020-12-24 15:36:57 -05:00
arkon
c0cef58e39 Surface MAL HTTP errors properly 2020-12-24 15:09:10 -05:00
arkon
d363d205c3 Fix trackers after MAL not updating 2020-12-21 17:31:31 -05:00
arkon
2fd5a9e883 Filter out novels from MAL search results 2020-12-21 17:24:35 -05:00
arkon
e7ef974a39 Format MAL search result status/type better 2020-12-21 17:24:25 -05:00
arkon
6e7fefb8b2 Strip out no longer used tracker start/end date code
Unfortunately MAL was the only one that supported it in the app, but the official API doesn't support it, so now no trackers have it.
2020-12-18 23:31:28 -05:00
arkon
0affc0d58b Migrate to official MyAnimeList API (closes #4140) 2020-12-18 23:18:31 -05:00
arkon
04fff91e23 Update app repo URL 2020-12-15 15:56:16 -05:00
arkon
395a749bce Misc tracker code cleanup 2020-12-14 22:56:33 -05:00
arkon
2cb3984d68 Show MAL relogin message on update, localize error message 2020-12-13 17:52:21 -05:00
arkon
e8627800fe Remove bundled fallback file picker 2020-12-13 12:42:10 -05:00
arkon
fd2028557e Some crash fixes 2020-12-13 11:00:46 -05:00
arkon
5b09461ccf Break out NSFW hiding/labeling into separate settings 2020-12-12 17:20:54 -05:00
arkon
59859e124f Update to Kotlin 1.4.21 and kotlinter 3.3.0 2020-12-08 22:31:48 -05:00
arkon
2bb7a33bc3 Use WebView auth flow for MAL (fixes #4100) 2020-12-08 22:21:23 -05:00