113 Commits

Author SHA1 Message Date
arkon
ef36a9c28c Misc tracker code cleanup
(cherry picked from commit 395a749bce05a0fa64449a12d3d0ae489b6f59fa)
2020-12-21 14:21:38 -05:00
arkon
ccca9e8828 Show MAL relogin message on update, localize error message
(cherry picked from commit 2cb3984d68ef94605fd65a7e88c51d4f3c1c71f6)
2020-12-21 14:21:36 -05:00
arkon
3300eb0e79 Some crash fixes
(cherry picked from commit fd2028557e9c3e61a0813e82af71010c872bc5a7)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/BrowseSourcePresenter.kt
2020-12-21 14:21:33 -05:00
arkon
0137262e4c Update to Kotlin 1.4.21 and kotlinter 3.3.0
(cherry picked from commit 59859e124f0321ad54c522ffa5673672cb4a368c)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt
2020-12-12 12:19:44 -05:00
arkon
45086af3ae Use WebView auth flow for MAL (fixes #4100)
(cherry picked from commit 2bb7a33bc317e0fb657364bd81394c26024dbe7a)
2020-12-12 12:18:40 -05:00
Taco
d33cb59af5 Update libraries, some lints (#4099)
* Update some plugins

* Fix some miscellaneous lints

(cherry picked from commit c2b8fea291686a148b98778aa8550e5fa61d8ab3)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/backup/AbstractBackupManager.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/search/SearchPresenter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/sources/MigrationSourcesPresenter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/BrowseSourcePresenter.kt
2020-12-12 12:18:30 -05:00
Jobobby04
015c610205 Use stable versions of RxUtil functions 2020-11-04 21:44:08 -05:00
arkon
f283fbfd6f Singleton instance of Json serializer
(cherry picked from commit d21c1472038ab8cba072b1d1085a15f6c11e424e)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/AppModule.kt
2020-11-04 21:01:55 -05:00
arkon
505a0db164 Fix Bangumi login (fixes #3994)
(cherry picked from commit 9b10e851d16cff9772e4cf3d71917df27b0416d6)
2020-11-04 21:01:16 -05:00
arkon
d9b41ce4c5 Fix Bangumi API response deserialization (fixes #3977)
(cherry picked from commit 95ec9038624c2a89d7bfe7a07c6db2653598075c)
2020-11-04 20:58:22 -05:00
arkon
6419d79960 Fix Shikimori login (closes #3966)
(cherry picked from commit 6af0eb4068ad09be30f017f3fae1859a56b5483c)
2020-10-24 13:41:13 -04:00
arkon
232f5b8aab Migrate to kotlinx.serialization for Bangumi
(cherry picked from commit f5aa36c787317441f34494472ec63e09c567f541)
2020-10-11 16:07:24 -04:00
arkon
4f575f37c0 Migrate to kotlinx.serialization for Shikimori
(cherry picked from commit f8d82cb0521012f16d11520daaac97e5efb0219c)
2020-10-11 16:07:11 -04:00
arkon
38c3a926bb Migrate to kotlinx.serialization for Anilist
(cherry picked from commit e7d660549059e55f5cbeeb8607c658279a64ffdc)
2020-10-11 15:53:42 -04:00
Jobobby04
91c05e76bc Fix mangadex manga getting set to completed when not actually finished 2020-09-22 14:22:21 -04:00
arkon
8d5b2f40b3 Use Kolinter Gradle plugin for linting instead of ktlint directly
(cherry picked from commit 76f6fe46010b235ee59962c94c790428870fc23e)
2020-09-13 23:08:52 -04:00
Jobobby04
7a834ea9f4 Mangadex tweaks, fix global update crashing sometimes 2020-09-13 18:45:57 -04:00
Jobobby04
b93298c411 Add MangaDex only implementation of Mangadex Follows list
Add login dialog that pops up whenever you are not logged in when trying to browse MangaDex
Remove attempts at porting over chapter read history from older galleries to new ones
Disable latest for ExHentai, it was browse without buttons anyway
2020-09-11 23:12:13 -04:00
Jobobby04
0deb6f6b8d Finish some more advanced mangadex delegation features, more to come later 2020-08-20 20:50:37 -04:00
Jobobby04
9e0e2db25d Add dynamic category library update upgrades 2020-08-18 18:55:00 -04:00
Jobobby04
a6b98e24dc Undo linting 2020-08-15 15:57:07 -04:00
Jobobby04
bc549c56d6 Automatic linting fixes 2020-08-14 18:41:20 -04:00
arkon
aa794f4703 Fix MAL 0/10 scores (closes #3623)
(cherry picked from commit c1dfdeb500a646e76c8ab130ed792d1ae6edd28a)
2020-08-06 21:21:43 -04:00
arkon
057ccf74ce More core-ktx usages
(cherry picked from commit ec56c27071c71cdfb4c5883fbf45a3574cf7e8db)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChapterDividerItemDecoration.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/more/AboutController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsAdvancedController.kt
2020-08-01 12:26:35 -04:00
arkon
f5b8d3120d Fix anilist jsonnull issue
41c64b7058
(cherry picked from commit abf47deee3737468019f53df8b09976b5f043218)
2020-05-04 01:40:11 -04:00
Jobobby04
bef0a44447 It Builds! 2020-05-03 18:34:46 -04:00
jobobby04
23ac3d18e5 Optimize imports, disallow wildcard imports because of klint, run linter 2020-05-03 01:36:21 -04:00
jobobby04
c85825f3c7 Run default Android Studio formatter on code
(cherry picked from commit 3ecc883944cba6102fb68940023d90ef959c8b9c)
2020-05-03 01:33:58 -04:00
Rani Sargees
4d8f44ddae merge double upstream 2020-05-02 23:39:46 -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 ad8c69aa15e7c27879c2a528a45b0744f7e45197
2020-01-20 18:50:39 -05:00
arkon
8273a396c8 Anilist: rename "On hold" to "Paused" 2020-01-19 16:29:43 -05:00