Commit graph

2963 commits

Author SHA1 Message Date
arkon
0f6745d4a3 Add global search progress bar (closes #3727)
(cherry picked from commit 38bc8ec6b4c6f40dd98355e2fbe2021a16885e60)
2020-11-25 15:05:10 -05:00
arkon
438646727e Remove 10 results per source limit from global search (still limited to 1 page)
(cherry picked from commit 2154e3aa2dbf5b3056b00bd8665aa0383e498fde)
2020-11-25 15:04:45 -05:00
arkon
bb7b79a6e9 Add help shortcut for source migration (closes #3951)
(cherry picked from commit 56c19e57a9c062341c848975a150ca21d151006e)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/sources/MigrationSourcesController.kt
2020-11-25 15:04:32 -05:00
arkon
0228d4611a Use ViewCompat for setting MainActivity inset paddings
(cherry picked from commit 3fa70dade3dc24c2394d9fa047c06379bda99b67)
2020-11-25 14:59:34 -05:00
arkon
f594ee66e5 More restore code cleanup
(cherry picked from commit 368c30a2cc6d680c2c5345d22a5646b2184c77fd)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/backup/AbstractBackupRestore.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/backup/full/FullBackupRestore.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/backup/legacy/LegacyBackupRestore.kt
2020-11-25 14:59:24 -05:00
arkon
b25e604bc2 Set preview/experimental compiler flags instead of using annotations
(cherry picked from commit 781971ee813b9c3a71558c268365e9495dbc41c2)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt
2020-11-25 14:52:06 -05:00
arkon
b4be82d021 Pad bottom of MoreController so bottom nav doesn't overlap content
(cherry picked from commit 1140316d1b817b35b9d1d7e125cee4892cca96e0)
2020-11-21 18:13:15 -05:00
Jobobby04
9985646e58 Lint 2020-11-21 16:54:33 -05:00
arkon
383a797469 Some more code cleanup
(cherry picked from commit cf6c48744a3217b39d7980c2c283a01d3f2a0473)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/backup/AbstractBackupRestore.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/backup/full/FullBackupManager.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/backup/full/FullBackupRestore.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/backup/legacy/LegacyBackupManager.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/backup/legacy/LegacyBackupRestore.kt
2020-11-21 16:53:42 -05:00
arkon
692e7e17d8 Default automatic legacy backups to true for now
(cherry picked from commit eed6db8e9202dd5b632274206de498f0ccec5781)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferencesHelper.kt
2020-11-21 16:34:29 -05:00
arkon
978acec659 Some more code cleanup
(cherry picked from commit 858664bfd741d4e1433573dd1e5672bea197ef2d)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/backup/full/FullBackupManager.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/backup/legacy/LegacyBackupManager.kt
2020-11-21 16:33:45 -05:00
arkon
22019a8046 Merge restore entry points, avoid unnecessary new strings
(cherry picked from commit eceac4d6e34ad3c30a4e929e4af1e2d8e86ad126)
2020-11-21 16:31:37 -05:00
arkon
b456d69aec Remove "full_" from v3 backup default file names
(cherry picked from commit 47a172df1f4f84ee190b0551fb19cff1bff3914c)
2020-11-21 16:31:27 -05:00
arkon
a5abdaa5b1 Minor cleanup
(cherry picked from commit f2c0732c40041149928cec132475cbf51aac6f32)
2020-11-21 16:31:18 -05:00
arkon
8156804f7a Fix manga info description scrim on Android 5
(cherry picked from commit a150762c6359352a6469ae916a07d32e069a8e91)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt
2020-11-21 16:30:59 -05:00
Dominik Chrástecký
61b0039a78 add support for S Pen actions (#4029)
(cherry picked from commit c9b1a425a73fda175a72951a2883daebad9555ba)
2020-11-21 16:28:14 -05:00
arkon
72e95ea6fc Draw under navbar in Android 9+
(cherry picked from commit 122b2b1a8eb0bbc198439b78061ed44c53043cc9)
2020-11-21 16:28:03 -05:00
arkon
76330f51c9 Add 1.x page model converters
(cherry picked from commit 7dc70c9eab2b9c991a807c3402b6976df9873314)
2020-11-21 16:25:17 -05:00
arkon
3898a72cf8 Hide locale subtitle for local source
(cherry picked from commit e32445f2cfd46816a13ecdc6e17b4e3bde7a237f)
2020-11-21 16:25:07 -05:00
Jobobby04
1e98b09f24 Use more core-ktx 2020-11-21 16:24:16 -05:00
Jobobby04
2bece67f6e Fix Mangadex random button not showing results for some manga because they have no chapters 2020-11-13 22:48:08 -05:00
Jobobby04
7978dc9d2c Fix Mangadex random button returning the same result multiple times 2020-11-13 22:48:08 -05:00
Jobobby04
6e8ac9cc10 Fix Full backup, DELETE ALL FULL BACKUPS MADE BEFORE THIS UPDATE 2020-11-12 14:58:58 -05:00
Jobobby04
0594efb1c8 Cleanup 2020-11-11 17:30:38 -05:00
Jobobby04
a35e7871e8 Enhance file logging 2020-11-11 17:28:54 -05:00
Jobobby04
67aafab46a Forgot to commit this 2020-11-08 15:11:42 -05:00
Jobobby04
89a20be7ef Fix E-H Sync favorites getting stuck 2020-11-08 15:02:26 -05:00
Jobobby04
803ee3d547 Fix mangadex login dialog crash 2020-11-06 18:19:11 -05:00
Jobobby04
e987ba8c3e Lets try this out for full backup categories 2020-11-06 14:24:55 -05:00
Jobobby04
acefd33e2e Cleanup 2020-11-06 14:24:28 -05:00
Jobobby04
319c41905e Update latest tab with the new global search update 2020-11-05 00:31:00 -05:00
Jobobby04
079dd953bd Replace elvis operators with .orEmpty where possible 2020-11-04 22:10:13 -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
c2ccbe5aff Use 1.x API to fetch manga details in browse view
(cherry picked from commit 7310ec4fe4cd0771afb9e62f8e3ccc7eb720efd1)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/BrowseSourcePresenter.kt
2020-11-04 20:59:51 -05:00
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