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
00285a782c
Ignore error when cover is missing in Kitsu search results ( fixes #4334 )
2021-01-23 10:14:43 -05:00
Andreas
2a5102a457
Fix Kitsu toasting "Logged in" when there is an error ( #4329 )
2021-01-21 18:05:22 -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
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
17b70ab38c
Refactor Kitsu API to remove Retrofit usage
2021-01-04 12:13:14 -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
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
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
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
fd2028557e
Some crash fixes
2020-12-13 11:00:46 -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
Taco
c2b8fea291
Update libraries, some lints ( #4099 )
...
* Update some plugins
* Fix some miscellaneous lints
2020-12-08 22:21:08 -05:00
arkon
d21c147203
Singleton instance of Json serializer
2020-11-01 15:12:16 -05:00
arkon
9b10e851d1
Fix Bangumi login ( fixes #3994 )
2020-11-01 15:00:21 -05:00
arkon
95ec903862
Fix Bangumi API response deserialization ( fixes #3977 )
2020-10-29 17:51:18 -04:00
arkon
6af0eb4068
Fix Shikimori login ( closes #3966 )
2020-10-23 18:02:48 -04:00
arkon
f5aa36c787
Migrate to kotlinx.serialization for Bangumi
2020-10-11 15:58:59 -04:00
arkon
f8d82cb052
Migrate to kotlinx.serialization for Shikimori
2020-10-11 15:58:43 -04:00
arkon
e7d6605490
Migrate to kotlinx.serialization for Anilist
2020-10-11 15:26:30 -04: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
arkon
abf47deee3
Fix anilist jsonnull issue
...
41c64b7058
2020-05-03 20:05:21 -04:00
arkon
c1e64a839d
Update Bangumi link in README
2020-05-01 08:44:53 -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
arkon
aa1d927da6
More FlowPreference migration
2020-04-24 11:58:16 -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
TacoTheDank
415df2357c
JDK8, lint fixing ( #2888 )
...
* Use Kotlin JDK8
* Satisfy a ton of lints
* Run res/layout files (and manifest) through reformatter
2020-04-18 14:47:22 -04:00
arkon
dd59748bf0
Minor cleanup
2020-04-07 22:44:37 -04:00
arkon
de8e530b37
Update tracker icons
2020-04-07 16:58:08 -04:00
MCAxiaz
bff927c6eb
close response before proceeding chain ( #2832 )
2020-04-07 06:41:05 -04:00
arkon
b3daf7d760
Replace deprecated Gson JsonParser usages
2020-03-13 18:16:38 -04:00
arkon
208552f0b4
Tweak compact tracker card design
2020-03-10 21:13:55 -04:00
MCAxiaz
07e2bdac81
Fix bug where status cannot be updated when all chapters have been read. ( #2683 )
...
Minor cleanup.
2020-03-09 11:32:59 -04:00
arkon
0f2d480036
More linting fixes
2020-02-26 18:12:44 -05: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
6a95ff56df
Use coroutines for updater
2020-02-09 22:36:44 -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
13ea1342fb
Optimize imports
2020-01-28 22:47:57 -05:00
Jay
4b84fb5ac5
Tracker status naming edits
...
Cherry picked from ad8c69aa15
2020-01-20 18:50:39 -05:00
arkon
8273a396c8
Anilist: rename "On hold" to "Paused"
2020-01-19 16:29:43 -05:00
arkon
44f406b4b9
Fix Bangumi class formatting
2020-01-11 22:06:23 -05:00
mutsumi
427d2fed8c
fix bangumi track will override record to 0 after every track search(bind) ( #2486 )
...
* fix bangumi track : the update status api must be called before update chapter api
* fix bangumi track will override record to 0 after every track search(bind)
2020-01-11 22:05:03 -05:00
arkon
3892b93bca
Rename tracker icon images
2020-01-11 22:01:26 -05:00
arkon
489f981e40
Convert tracker icons to webp
2020-01-09 18:54:07 -05:00
arkon
5cddb269d6
Minor code cleanup
2020-01-07 20:17:07 -05:00
mutsumi
eb5382e0de
fix bangumi tracker crash in searching english manga title ( #2452 )
...
fix bangumi tracker crash in searching english manga title
2020-01-06 20:02:28 -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 b76a15d960
)
* Fix source preference screen heading size/list padding
Co-authored-by: Carlos <cargo8005@gmail.com>
2020-01-05 11:29:27 -05:00
MCAxiaz
491d476cac
auto attempt a login refresh once if MAL returns http 400 ( #32 ) ( #2403 )
2019-12-29 17:45:58 -05:00
Eugene
c339bd49d0
Address minor Kotlin compiler warnings
2019-12-26 17:48:39 -05:00
Eugene
89dc240a22
Clean up Anilist GraphQL query formatting
2019-12-22 22:19:15 -05:00
Ken Swenson
ee4f069341
fix: Don't send newlines and whitespace in API calls ( #2348 )
2019-12-22 22:13:27 -05:00
fei long
3abae1cc75
Add chinese track website "bangumi" ( #2032 )
...
* copy from shikimori and change parmater
* add login activity
* fix
* login sucess
* search
* add...
* auth fix
* save status
* revert shikimori
* fix oauth error
* add bangumi info
* update read chapter index
* refersh token
* remove outdate file
* drop comment
* change icon
* drop search result which type not comic
* fix bind logic
* set status
* add ep status
* format code
* disable cache for `collection` api
2019-07-23 12:35:38 +02:00
MCAxiaz
9ba7312caf
Make MAL Tracking Slightly Less Shitty ( #2042 )
...
* * fix cookieManager not clearing cookies properly
* manually clear tracking prefs when !isLogged (e.g. cookies were cleared)
* use full url for removing cookies
* add interceptor for all non-login network calls
* attempt auto login if cookies are missing
* move handling of csrf token to interceptor
* * move methods around to improve readability
* fix TrackSearchAdapter not updating other fields if cover_url is missing
* revert accidental removal of feature in https://github.com/inorichi/tachiyomi/issues/65
* avoid login if credentials are missing
* fix eol
* *separate login flow from rxjava for reuse in sync
* *use less expensive method of finding manga
* *move variable declaration
* formatting
* set total chapters in remote track
2019-06-09 14:31:19 +02:00
BlueCat300
a0939e1c48
Update Shikimori ( #2038 )
...
Domain name change due to blocking by local authorities.
2019-05-16 18:21:54 +02:00
Pavka
5840a3e1e2
Shikomori -> Shikimori. Fix update chapters ( #1996 )
...
* Shikomori -> Shikimori. Fix update chapters
* Removed logs and format code
2019-04-29 18:40:26 +02:00
Pavka
a62a7d5330
Feature/shikomori track ( #1905 )
...
* Add shikomori track
* Fix char 'M'
* Fix date in search
2019-04-03 10:14:37 +02:00
inorichi
f1f6a2b341
Test solving Cloudflare's challenge with WebView
2019-04-01 17:20:13 +02:00
DitFranXX
f8e121ee06
[Anilist] Fix date parsing error ( #1805 )
...
fix #1804
2019-01-28 09:03:03 +01:00
Ken Swenson
0ee005579b
[Anilist] Fix tracking for re-reading status ( #1795 )
2019-01-12 17:08:13 +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
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
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
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
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
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
0ca2ca33c2
add override status back in ( #1260 )
2018-02-19 08:17:59 +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
len
211f7b591b
Dependency updates. OkHttp nullability changes
2017-05-23 20:39:02 +02:00
len
89b293fecd
Kitsu: remove limit from query
2017-05-05 16:36:54 +02:00
len
3f758d5981
Kitsu: replace media_id with manga_id
2017-05-01 00:29:08 +02:00
len
619d94bf36
Kitsu: use new rating system. Fixes #743
2017-04-09 13:56:52 +02:00
len
4d7b188999
Fix #636 . Minor improvements. Dependency updates
2017-02-23 22:30:43 +01:00
len
7425478a55
Optimize imports
2017-01-20 21:34:15 +01:00
len
706163e7a6
Move source and network outside data
2017-01-20 21:24:31 +01:00
len
6ef94fb59b
Kitsu: include manga instead of media
2017-01-12 15:38:42 +01:00
len
77d986f213
Kitsu: also filter included by manga
2017-01-07 00:54:57 +01:00
len
13bcefe5cd
Filter manga library entries in Kitsu
2017-01-07 00:29:52 +01:00
len
97fa659283
Kitsu fixes
2016-12-24 11:32:45 +01:00
len
ea6fed6ecf
Exclude novels from Kitsu results
2016-12-23 16:58:36 +01:00
len
d09eca7833
Anilist/Kitsu Fixes
2016-12-23 16:15:09 +01:00
len
82f4e3157a
Minor changes
2016-12-22 21:57:15 +01:00
len
725ceab00b
Hide API implementation from MAL service. Reorder methods and minor changes
2016-12-22 21:17:47 +01:00
len
ba428c401d
Fix Kitsu refresh method
2016-12-22 16:34:34 +01:00
len
510669ee2c
Fix wrong anilist decimal scores
2016-12-22 16:22:08 +01:00
len
8d749df290
Score formatting. Hide API from Anilist/Kitsu services.
2016-12-21 22:39:46 +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