Commit Graph

28 Commits

Author SHA1 Message Date
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
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
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
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
0affc0d58b Migrate to official MyAnimeList API (closes #4140) 2020-12-18 23:18:31 -05:00
arkon
395a749bce Misc tracker code cleanup 2020-12-14 22:56:33 -05:00
arkon
2bb7a33bc3 Use WebView auth flow for MAL (fixes #4100) 2020-12-08 22:21:23 -05:00
arkon
76f6fe4601 Use Kolinter Gradle plugin for linting instead of ktlint directly 2020-09-13 18:48:20 -04:00
arkon
64bdfabbd8
Revert ktlint update, unrevert Gradle and PR build workflow reverts (#3681) 2020-08-15 16:44:46 -04:00
arkon
4a136ef2aa Automatic linting fixes 2020-08-13 09:02:15 -04:00
arkon
c1dfdeb500 Fix MAL 0/10 scores (closes #3623) 2020-08-06 19:14:24 -04:00
arkon
ec56c27071 More core-ktx usages 2020-07-31 10:29:32 -04:00
Hawk of the Death
2f9dfed073
Fix typo (#2973)
Fix MAL api updating wrong data on read chapters change (#2971)
2020-04-27 10:34:41 -04:00
arkon
3f63b320c4 Linting fixes 2020-04-25 14:24:45 -04:00
Hawk of the Death
f7c139030f
Add Start/Finish date support for MAL (#2672)
* Started working on MAL support

* Added date picker UI

* Replaced Date with Calendar

* Added MAL remote update functionality

* Join url methods listEntryUrl and editUrl

* Removed unused methods

* Renamed mangaEditPayload to mangaEditPostBody

* Moved code to separate method

* Uniformed code to project conventions

* Removed wildcard import

* Moved MyAnimeListTrack to private class

* Improved MyAnimeListTrack name

* Removed redundant code

* Add start/finish date in local database

* Fixed format and improved codestyle

* Fixed typo and fixed TrackHolder's format

* Improved code style

* Ran linter

* Add database updating methods

* Change date format to fit new layout

* Review Commits

* Improve SetTrackReadingDatesDialog readability

* Move private methods after public ones

* Fixed SQL error

* Fixed remove date button

* Updated MaterialDesign methods to latest version

* Replaced dismissDialog() with dialog.Dismiss()

* Fixed wrong string resource usage.
2020-04-22 21:23:23 -04:00
arkon
043e3784e8 Run linter 2020-02-26 18:03:34 -05:00
arkon
3ecc883944 Run default Android Studio formatter on code 2020-02-17 17:23:37 -05:00
arkon
3c41a5e910 Move JsoupExtensions back (fixes #2562) 2020-02-02 23:45:13 -05:00
arkon
47f5ea881f Reorganize other util files 2020-02-02 22:22:54 -05:00
arkon
5cddb269d6 Minor code cleanup 2020-01-07 20:17:07 -05:00