Commit graph

2927 commits

Author SHA1 Message Date
arkon
eed7ef0aa8 Add Uzbek locale
(cherry picked from commit deb1ed5623ed010cf7e1c959cc825a4f85988e46)
2020-11-04 20:58:41 -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
195dbbf1c2 Consume and extend 1.x Source API
TODO: make the rest of the app actually call the 1.x functions
(cherry picked from commit 2ab6af6471766c537a8a04f9221a652f0ee3a781)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/source/model/SManga.kt
2020-11-04 20:58:14 -05:00
Andreas E
c12fb337f5 Replace language code in Global Search with secondary text (#3972)
Replace language code in Global Search with secondary text

(cherry picked from commit 9493577de27c40ce8b2b6122cc447d025e34c477)
2020-11-04 20:56:45 -05:00
Jobobby04
76de2d4447 Bind to the correct dialog view, fixed manga info edit crash 2020-11-04 17:18:10 -05:00
Jobobby04
7cbd7bd419 Cleanup 2020-11-01 19:19:57 -05:00
Jobobby04
8f1f6d5a97 Fix mangadex update interval not updating the interval on first click 2020-10-31 22:04:54 -04:00
Jobobby04
98bfe34e18 Update lewd manga checker with new sources and tags 2020-10-31 17:33:59 -04:00
Jobobby04
95c331b8b4 Convert all SY specific things to use ViewBindings instead of synthetics 2020-10-29 23:43:24 -04:00
Jobobby04
528f6c7f65 Drop humanize and guava(an older version still gets compiled in), use custom humanize solution for E-Hentai updater stats 2020-10-29 23:41:54 -04:00
Jobobby04
fe798e40cb Remove kotlin synthetics from E-Hentai settings 2020-10-29 21:52:27 -04:00
Jobobby04
3b5249c8bc Convert java threads to kotlin coroutines 2020-10-29 15:29:43 -04:00
Jobobby04
46998d81f4 Do a bit of cleanup 2020-10-29 15:28:48 -04:00
Jobobby04
fccf609c81 Fix NHentai covers 2020-10-29 14:25:37 -04:00
Jobobby04
406b5a89c8 Fix smart background for real this time, fix issues with theme not changing 2020-10-29 00:37:07 -04:00
Jobobby04
4881571293 Big refactor for the E-Hentai config builder, I sucked when making my additions, now its better 2020-10-29 00:13:25 -04:00
Jobobby04
9cba544ffd Refactor and cleanup a bunch of code 2020-10-27 23:05:53 -04:00
Jobobby04
114fb723dc Trim Mangadex descriptions, fixes extra blank lines 2020-10-27 17:59:21 -04:00
Jobobby04
24be0aa50b For E-Hentai manga display chapter date with the E-Hentai date format 2020-10-26 19:40:12 -04:00
Jobobby04
079405c17e More tweaks to delegated manga views 2020-10-26 19:23:59 -04:00
Jobobby04
05269c557d Make TF happy, cleanup the more info menu 2020-10-26 14:28:56 -04:00
Jobobby04
35217036ce Fix chapters in delegated manga where you haven't filtered any groups 2020-10-26 13:07:55 -04:00
Jobobby04
eb3a987826 Implement Neko similar manga, Mangadex only recommendations 2020-10-26 02:13:02 -04:00
Jobobby04
3f1dede133 Fix a oppsies 2020-10-25 23:41:15 -04:00
Jobobby04
e9cef78d19 Filter scanlators on delegated manga 2020-10-25 20:24:30 -04:00
Jobobby04
32232c80aa Extra info updates 2020-10-25 20:19:02 -04:00
Jobobby04
112bbdfcf7 Remove outdated comment 2020-10-25 18:12:36 -04:00
Jobobby04
415f30f38a Manga metadata is now easier to use in the manga view 2020-10-25 13:37:08 -04:00
Jobobby04
2a24f659d2 Disable things that dont work how I want them to 2020-10-24 23:56:40 -04:00
Jobobby04
484cb86ca9 Cleanup 2020-10-24 22:53:43 -04:00
Jobobby04
a21d7f4f90 Request a new image from E-Hentai if it fails to download, should make E-Hentai downloads more relaible 2020-10-24 22:00:45 -04:00
Jobobby04
a75cf8ec53 Attempt a new way to move chapters between EH manga versions 2020-10-24 21:59:56 -04:00
Jobobby04
b252a9e060 Fixed EH update helper crashes 2020-10-24 19:41:16 -04:00
Jobobby04
fa7c6716f4 Remove EH legacy code 2020-10-24 19:07:46 -04:00
Jobobby04
99b1f6e56f Cleanup 2020-10-24 19:07:16 -04:00
Jobobby04
a2cda24e01 Fix broken menu after clicking source, move latest to the top 2020-10-24 17:17:00 -04:00
Jobobby04
c049ce9018 Convert E-Hentai Update helper to Flows 2020-10-24 16:44:20 -04:00
Jobobby04
1a0109df1d Cleanup 2020-10-24 15:44:52 -04:00
Jobobby04
c999229700 Use bundleOf everywhere I can 2020-10-24 14:28:03 -04:00
arkon
86fc50d62b Janky workaround for collapsed global search covers
(cherry picked from commit 837ce62844ad287468deb15b5f33e73d0190d020)
2020-10-24 14:15:19 -04:00
Andreas E
b9bddd264b Update Global search layout to match Library and Browse (#3892)
* Update Global Search card item to be comfortable with rounded corners

* Remove card background

(cherry picked from commit a2b1acd70f5d41ad34fa8320ececb7cb9869bf6b)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/globalsearch/GlobalSearchCardHolder.kt
#	app/src/main/res/layout/global_search_controller_card.xml
#	app/src/main/res/layout/global_search_controller_comfortable_card_item.xml
2020-10-24 14:08:28 -04:00
Andreas E
4937c7fff2 Fix missing chapter warning when chapter number is not recognized (#3928)
* Fix missing chapter warning when chapter number is not recognized

* Add case where ch number is recognized as zero but has no ch number

Yes this will ignore ch 0

* Use RegEx to double check if ch. name contains potential ch. number

(cherry picked from commit f1350bc33e2d20c7cff9e3aadb604ab3498b9672)
2020-10-24 13:41:22 -04:00
arkon
6419d79960 Fix Shikimori login (closes #3966)
(cherry picked from commit 6af0eb4068ad09be30f017f3fae1859a56b5483c)
2020-10-24 13:41:13 -04:00
arkon
8322f7b95f Show locale in sources list items
(cherry picked from commit ed41604f5667cc63778282c69d90d71d070422fb)
2020-10-24 13:40:40 -04:00
Jobobby04
3ed0ef5e3e Cleanup 2020-10-24 13:39:28 -04:00
Jobobby04
b850a8729f Remove old backup code I tried for dummy restore 2020-10-24 13:39:04 -04:00
Jobobby04
024a39d06b Lets try this for sort by tag performance 2020-10-24 13:38:45 -04:00
Jobobby04
01496ab34c Cleanup some merged manga code 2020-10-24 13:38:25 -04:00
Jobobby04
9a45891ed6 Fix saving cover putting it in a weird folder, cleanup 2020-10-21 23:02:32 -04:00
Jobobby04
5e531ba469 Put manga metadata into backups 2020-10-21 23:01:57 -04:00
Jobobby04
cb6a991e9f Fix share cover name, make ainz happy by hiding other options 2020-10-21 17:03:15 -04:00
Jobobby04
96989bfa53 Likely fix smart background 2020-10-21 14:59:39 -04:00
Jobobby04
b1048d8014 Fix migrate extra data like chapter filters and viewer 2020-10-20 16:13:34 -04:00
Jobobby04
89d9768759 Re-add some stuff from EH that I lost along the way 2020-10-19 21:05:24 -04:00
Jobobby04
1dfe3890a9 Add intercept activity source choosing 2020-10-19 18:41:41 -04:00
Jobobby04
a4a1c2827c Fix some backup duplication issues 2020-10-19 18:39:08 -04:00
Jobobby04
0b68bb20a8 Copy categories over from the original manga to the merged manga 2020-10-19 16:08:11 -04:00
Jobobby04
a8b1e8fdb0 Switch to the Mangadex extension for the low quality covers setting 2020-10-19 15:47:14 -04:00
Jobobby04
9945752667 Support the short title setting in NHentai 2020-10-19 15:46:08 -04:00
Jobobby04
853f195d0e Hide biometric lock times when biometric lock is not enabled 2020-10-17 17:07:35 -04:00
Jobobby04
a481f3239c Throttle E-Hentai migrations 2020-10-16 19:33:24 -04:00
Jobobby04
510ae46fbf Lint 2020-10-15 11:27:56 -04:00
Jobobby04
c3a5439d26 Fixes for delete if in category 2020-10-15 11:27:30 -04:00
Jobobby04
a4273bb9a2 Add share/save manga cover when expanded from J2k, not tested 2020-10-15 11:26:39 -04:00
Carlos
0b6f7c5e23 Add push to mangadex
(cherry picked from commit 869f24f2092c761bc2a7bf075784bc8b7cbaea23)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/download/Downloader.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsSiteController.kt
#	app/src/main/res/values/strings_neko.xml
2020-10-14 18:43:27 -04:00
Jobobby04
c789203ff8 fix some mangadex manga not being marked as complete in status 2020-10-14 17:48:12 -04:00
Carlos
7f73094bb4 follows sort yolo
(cherry picked from commit 097d44ef35b021ba11e164f45234356fd8395540)

# Conflicts:
#	app/src/main/java/exh/md/handlers/FollowsHandler.kt
2020-10-14 17:43:40 -04:00
Jobobby04
c42e8739f6 Move some functions to the abstract backup manager 2020-10-14 17:36:22 -04:00
Jobobby04
d9ce86aca6 Dedupe some code, move over read and bookmarks properly 2020-10-14 15:19:46 -04:00
Jobobby04
f4200e2146 Rewrite backup categories 2020-10-14 14:15:14 -04:00
Jobobby04
e32f4eb317 Replace migrate button with merge 2020-10-14 14:06:05 -04:00
Jobobby04
e7c16cd0d1 Also apply changes to online restore 2020-10-14 13:15:54 -04:00
Jobobby04
f91d1af373 Dont break after finding one chapter 2020-10-14 13:10:24 -04:00
Jobobby04
326dc27009 Find chapter based on the url 2020-10-14 13:05:52 -04:00
Jobobby04
f6fd8a8ddb Make offline the default 2020-10-14 12:46:39 -04:00
Jobobby04
413c88d99f Fix backups always loading the full backup restore mode, even when legacy restore was used 2020-10-13 23:29:21 -04:00
Jobobby04
f3fc479020 Revert temp fixes, add serialization progurd rules
This reverts commit 543e089982.
2020-10-13 13:49:28 -04:00
Soitora
13196a68b1 Darken the description colors (#3858)
* Darken the description colors

* Restore UpdatesHolder.kt

* Use the same color as the Extensions subtitles

(cherry picked from commit 9f05d563f96385e2e0f5fe82f6ce097f8f2ccca2)
2020-10-13 12:39:14 -04:00
Taco
8722c1806e Use some more KTX and Compat stuff (#3933)
* Use more KTX extensions

* Update Android Studio

* Use more Compat classes

(cherry picked from commit 60755d0c26c55e8fa90406a973c00e0871c04723)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/backup/BackupRestoreService.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsBackupController.kt
2020-10-13 12:38:23 -04:00
Jobobby04
543e089982 Revert the converter factory back to gson 2020-10-13 11:43:46 -04:00
Jobobby04
b67db6a25e Manually deserialize saved searches, fix NHentai 2020-10-13 11:34:29 -04:00
Jobobby04
3dd10df45e Likely fixed the full backup crashing for some users 2020-10-12 23:03:38 -04:00
Jobobby04
22f81758b0 Refactor custom manga info manager 2020-10-12 22:35:45 -04:00
Jobobby04
405b0580fc Implement exclude categories from deletion 2020-10-12 22:11:16 -04:00
Jobobby04
7e93557bd2 Remove markwan dependancy 2020-10-12 21:50:06 -04:00
Jobobby04
36c0d24143 Cleanup 2020-10-12 20:20:42 -04:00
jobobby04
445878794c
Make a protobuf based backup system (#112)
* Make a protobuf based backup system, restore not tested

* Fix a number

* Remove uneeded change

* Remove more uneeded changes

* Use 1.x style models, backup should be 100% compatible with the 1.x backups

* Fix restore service not running

* Fix offline chapter restore
Cleanup saved searches restore(untested)

* Implement onlione/offline option, fix merged manga restore online, fix restore total

* Allow setting auto backup to use a full backup

* Fix for saved searches restore

* Edit some comments

* Convert flows back to observables

* Fix a model

* Fixes and comment only the SY specific things

* Move SY values range to 600 from 60

* Combine legacy and full backup services into one
Deduplicate a lot of code
Simplify a lot of stuff
Modify comments

* Cleanup

* Remove unneeded protobuf config edit because its now the default

* Migrate to kotlinx.serialization for backup saved searches

* Cleanup saved searches more, move gson type adapters to the legacy package
2020-10-12 14:41:56 -04:00
Jobobby04
f3365cef67 Convert SY specific usages of Gson to Kotlin Serialization
Cleanup saved searches a bit
Cleanup json parsing
2020-10-12 14:20:54 -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
5b4f17777c Migrate to kotlinx.serialization for download store and deleter
(cherry picked from commit 980feb6c96282e5b0b92a2889980ce3bd2197c37)
2020-10-11 15:53:50 -04:00
arkon
38c3a926bb Migrate to kotlinx.serialization for Anilist
(cherry picked from commit e7d660549059e55f5cbeeb8607c658279a64ffdc)
2020-10-11 15:53:42 -04:00
arkon
b4cf0e9723 Migrate to kotlinx.serialization for extensions and update fetching
(cherry picked from commit 7a476abb53a4d3a36cf4f7618af83d984a78536b)

# Conflicts:
#	build.gradle.kts
2020-10-11 15:53:27 -04:00
arkon
57803bce2f Bump minimum WebView version to 84
(cherry picked from commit b88e444cbc9551f2ce89c587b5eb91bb9ae95bdd)
2020-10-11 15:34:53 -04:00
Jobobby04
776a4b2a24 History fixes 2020-10-10 00:32:39 -04:00
arkon
8e27ffcad7 Add Amharic locale
(cherry picked from commit 842295348e39bb910a4ff681a89fa03bc2961812)
2020-10-09 13:02:30 -04:00
Jobobby04
292dbf85c9 Cleanup 2020-10-09 12:59:40 -04:00
Jobobby04
96a5b456f5 Remove tooltip 2020-10-03 17:43:10 -04:00
arkon
95de42ad80 Prevent tag search if browsing from latest (sort of closes #3625)
(cherry picked from commit 4cbe49777015632816ea7b180d443805f7de980b)
2020-10-03 13:05:29 -04:00
arkon
8404b1c0c2 Set activated states for manga info favorite/tracker buttons
(cherry picked from commit 0904692f15179e420ea9140e2e31e556faa5164f)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt
#	app/src/main/res/layout/manga_info_header.xml
2020-10-03 13:01:25 -04:00