arkon
1d144e6767
Restrict line length with ktlint
2023-11-04 23:28:41 -04:00
Caleb Morris
3a35c13575
Decoupled Tracker Interface ( #10042 )
...
Split out Tracker to interface and created simple dummy instance for previews
2023-10-21 17:10:34 -04:00
arkon
c8e226acb2
Tracker-related cleanup
2023-09-25 23:32:39 -04:00
arkon
98d6ce2eaf
Refactor some tracking-related logic
2023-08-27 10:41:58 -04:00
arkon
ef7b285151
Minor refactoring
2023-07-16 19:18:38 -04:00
zaghdaneh
b36b3bfcab
Remove manga from trackers ( #9535 )
...
* Dialog for service tracker removal added, anilist query prepared
* added API delete requests for Mal and Kitsu
* implement and fix tracker delete for anilist, shikimori, mangaupdates
* implement and test mal delete request
* Update to dialog text to reflect current tracker
* finish kitsu api request and block bangumi tracker removal
* Change delete flag into interface, localise strings, clean up logs
* Add shikimori delete compatibility for already existing entries
* update track delete dialog prompt to include checkbox, update strings
* Update i18n/src/main/res/values/strings.xml
Co-authored-by: stevenyomi <95685115+stevenyomi@users.noreply.github.com>
* Update i18n/src/main/res/values/strings.xml
---------
Co-authored-by: unknown <zaghdane@fireflow.de>
Co-authored-by: arkon <arkon@users.noreply.github.com>
Co-authored-by: stevenyomi <95685115+stevenyomi@users.noreply.github.com>
2023-06-22 22:06:43 -04:00
arkon
47a2d06682
Refactor tracker status string mappings
...
Should fix #9195
2023-03-10 23:01:10 -05:00
arkon
93523ef50b
Remove dependency injection from core module and data module from presentation-widget module
...
Includes side effects:
- No longer need to restart app for user agent string change to take effect
- parseAs extension function requires a Json instance in the calling context, which doesn't necessarily need to be the default one provided by Injekt
2023-02-20 19:02:38 -05:00
arkon
1730dd6af1
Move more things around
2023-01-27 22:31:12 -05:00
stevenyomi
448702e5be
OkHttp Call: split await() and awaitSuccess() ( #8980 )
2023-01-24 22:34:31 -05:00
beerpsi
b7e6b4c28a
[MyAnimeList] Handle cases where my_list_status.status is not present ( #8931 )
2023-01-16 21:59:07 -05:00
arkon
811931ccc0
Minor cleanup
2022-11-10 22:23:34 -05:00
Alessandro Jean
6d880c938a
Retry the MAL request if the token is expired ( #8437 )
...
Retry the MAL request if the token expired.
2022-11-04 22:54:52 -04:00
stevenyomi
2d19729869
Clean up OkHttp methods and parse from Okio directly ( #8238 )
2022-10-18 12:09:23 -04:00
Andreas
e568951396
Split track preferences from PreferencesHelper ( #8046 )
2022-09-21 09:18:53 -04:00
arkon
5e68fe4fe9
Make screen loading indicators more consistent
2022-08-05 22:33:52 -04:00
Alessandro Jean
5315467908
Add missing Authorization
header on MAL refresh token request ( #7686 )
...
* Add missing Authorization header on MAL refresh token request.
* Make sure to also close the response when it have failed.
2022-08-04 22:17:43 -04:00
arkon
65264e3ef5
Migrate more track DB calls to SQLDelight
2022-06-26 19:46:41 -04:00
Andreas
0c631a4990
Add MangaUpdates as a tracker ( #7170 )
...
* Add MangaUpdates as a tracker
- jobobby04 co-authored for suggestion in BackupTracking.kt
Co-authored-by: jobobby04 <jobobby04@users.noreply.github.com>
* Changes from code review
Co-authored-by: arkon <arkon@users.noreply.github.com>
Co-authored-by: jobobby04 <jobobby04@users.noreply.github.com>
Co-authored-by: arkon <arkon@users.noreply.github.com>
2022-05-24 18:00:33 -04:00
arkon
5afff31f72
Formatting
2022-04-08 16:44:23 -04:00
arkon
f0eb42e72d
Update linter
2022-04-08 15:30:39 -04:00
arkon
3dc4fd8dd1
Make tracker status wording/ordering more consistent
2022-01-08 15:49:39 -05:00
arkon
dbb2c523c1
Avoid crashes in tracker interceptor errors
2022-01-02 17:56:49 -05:00
arkon
58c2f22120
Truncate MAL search queries to first 64 characters ( closes #6314 )
...
Is it worth telling the user? ¯\_(ツ)_/¯
2021-12-26 11:35:28 -05:00
jmir1
a9d2741e6a
Automatically set tracker as completed after reading the last chapter ( #6289 )
...
* Automatically set tracker as completed after reading the last chapter.
* use integer value in comparison
* also set `started_reading` date
* don't use source manga's status
* remove useless line
2021-12-04 09:59:39 -05:00
Henrik
8acce011b5
fix MAL search novel filter ( #6279 )
2021-11-25 12:55:52 -05:00
Gauthier
2cd8733212
change Track.last_chapter_read to Float ( #5802 )
...
each TrackService can convert it to Int if decimal chapters are not supported
2021-08-28 10:37:45 -04:00
Andreas
c0647c3110
Make default tracking status depend if the user has read chapter or not ( #5567 )
...
- When user reads a chapter change tracking status to reading
2021-07-17 11:26:29 -04:00
Gauthier
acd927a937
Refactor TrackService.kt to remove unused add
function ( #5164 )
...
* removed the add function from TrackService.kt as it's not used except within the tracker implementations
* add private modifier
2021-05-24 22:12:12 -04:00
arkon
08a6db7d6e
Maybe better handle MAL token expiration
2021-04-24 16:30:53 -04:00
arkon
13d25e0849
Don't automatically set MAL start date ( closes #4349 )
2021-02-01 22:39:41 -05:00
arkon
34cb24fe34
Update total number of chapters when refreshing MAL entries ( fixes #4348 )
2021-01-24 16:58:23 -05:00
arkon
1490112135
Parse correct object when finding existing MAL list item ( fixes #4347 )
2021-01-24 16:33:47 -05:00
arkon
0a54901eb0
Refactor tracker name strings
2021-01-24 16:06:28 -05:00
arkon
878008e93b
Reimplement MAL start/end date support
2021-01-16 16:03:19 -05:00
arkon
189f18b112
Simplify lookup for existing MAL list item
2021-01-16 10:51:17 -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
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
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
arkon
139a589ad6
Increase per-page limit when searching MAL manga list
2020-12-31 10:58:40 -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
ea33179a95
Convert tracker add/update/login methods to coroutines
2020-12-24 17:50:28 -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