Commit graph

1728 commits

Author SHA1 Message Date
arkon
1b0c13a417 Show URL in Webview subtitle 2020-02-15 17:44:35 -05:00
arkon
abb2e231f6 Switch to AndroidX Webkit library 2020-02-15 17:30:30 -05:00
arkon
50ef4cc5da Slightly increase chapter cache size (closes #2091) 2020-02-14 09:27:42 -05:00
arkon
34bf9b729e More coroutine network call fixes 2020-02-14 09:23:54 -05:00
Jay
0a6f607e22 Fixed extensions call running on main thread
(cherry picked from commit 2b85bb5fb816c531982a1878e55fd88814452a2c)
2020-02-14 09:21:33 -05:00
arkon
9e4c61c139 Remove library sort by source 2020-02-11 19:05:16 -05:00
arkon
144418434b Library search for source 2020-02-11 19:02:04 -05:00
arkon
a20ad68fe3
Library View: Add latest chapter sorting and revert last updated sorting changes (#2563)
* Library View: Add latest chapter sorting and revert last updated sorting changes

Latest chapter is as it sounds
Last update is now any changes to the chapter list (addition, removal, rename, etc.)

* Change latest chapter sort string to "Latest chapter" instead of "Last chapter"
2020-02-11 18:41:31 -05:00
arkon
a50a3df716 Only show Webview update prompt if CF bypass fails 2020-02-11 18:36:51 -05:00
arkon
f29124773b Lower minimum Webview version warning 2020-02-10 22:45:23 -05:00
arkon
c1235897df Remove unused RxJavaCallAdapterFactory for app updater 2020-02-10 22:28:48 -05:00
FlaminSarge
4a52869d23 Change latest chapter sort string to "Latest chapter" instead of "Last chapter" 2020-02-10 05:06:22 -08:00
arkon
f9098b5379 Restrict translucent reader UI to API 26+ (fixes #2580) 2020-02-09 22:59:03 -05:00
arkon
6a95ff56df Use coroutines for updater 2020-02-09 22:36:44 -05:00
arkon
340829bb71 Remove star icon option 2020-02-09 17:32:41 -05:00
arkon
8aa48effaa Refactor notification builder extension 2020-02-09 17:28:09 -05:00
arkon
a5fadcda15 Translucent reader UI 2020-02-09 17:10:35 -05:00
arkon
f515674dff Show message if WebView version is too low 2020-02-09 11:03:17 -05:00
Jozef Hollý
72ef5d8f8d
Translations (Continuous) (#2485)
Translations (Continuous)
2020-02-06 14:43:15 -05:00
arkon
a0a077eaaa Move library display settings out of filter sidebar 2020-02-05 22:58:20 -05:00
arkon
8feb4365dd Minor edit to onOptionsItemSelected fallthrough logic 2020-02-05 22:53:49 -05:00
arkon
94b2dd74de Minor section name edits 2020-02-05 22:41:14 -05:00
arkon
678597cc96 Remove unused layout 2020-02-05 22:39:02 -05:00
arkon
417d82de58 Remove round icon asset 2020-02-04 22:24:16 -05:00
arkon
f3adff1da1 Move PreferenceDSL 2020-02-04 22:19:17 -05:00
arkon
0473c36c6f Restore setting controller fade
Removes help button in each section, which is jumpy. Fade is nicer though.
2020-02-04 22:16:31 -05:00
arkon
c9cb75aee1 Group tracking setting activities 2020-02-04 22:14:49 -05:00
arkon
36011e124a Reword "directory" to "location" 2020-02-04 21:23:35 -05:00
arkon
b9420040f5 Move help into settings menu 2020-02-04 21:23:16 -05:00
arkon
59b925a028 Include commit SHA in dev version info 2020-02-03 19:15:23 -05:00
arkon
7af075633b Explicitly switch between IO/UI dispatchers when updating list of extensions
Potentially fixes #2566
2020-02-03 19:11:18 -05:00
arkon
09891bb0ad Throw exception in okhttp coroutine if response isn't successful 2020-02-03 18:56:24 -05:00
arkon
160ebe01d9 Update to Material Design library 1.1.0 2020-02-03 18:54:24 -05:00
FlaminSarge
a096e6b337 Library View: Add latest chapter sorting and revert last updated sorting changes
Latest chapter is as it sounds
Last update is now any changes to the chapter list (addition, removal, rename, etc.)
2020-02-02 23:16:42 -08:00
arkon
3c41a5e910 Move JsoupExtensions back (fixes #2562) 2020-02-02 23:45:13 -05:00
arkon
a3e39987d4 Migrate extension list fetch to coroutine 2020-02-02 22:57:15 -05:00
arkon
47f5ea881f Reorganize other util files 2020-02-02 22:22:54 -05:00
arkon
faf8f1fbbc Remove unused SharedData object 2020-02-02 22:04:20 -05:00
arkon
9f9de27a57 Reorganize some util files 2020-02-02 22:04:11 -05:00
arkon
9a3ec56eb4 Move edit categories to library settings 2020-02-02 18:13:13 -05:00
arkon
4f03ee814a Categorize library settings 2020-02-02 18:04:50 -05:00
arkon
6f84815801 Filter out tmp directories for download badge 2020-02-02 18:01:08 -05:00
arkon
9588a582ce Use coroutines for async loading of modules 2020-02-02 17:06:51 -05:00
arkon
ed8e549ecb Update AndroidX SQLite dependency 2020-02-02 17:06:25 -05:00
MCAxiaz
c79ebd4eeb
fix NPE in dateFormat (#2549)
Bug #2548 fix NPE in dateFormat pref
2020-01-29 07:23:26 -05:00
arkon
13ea1342fb Optimize imports 2020-01-28 22:47:57 -05:00
arkon
c707d4bfd8 Minor date format code cleanup 2020-01-28 22:32:56 -05:00
Sam Lewis
aeacdad484
Allow setting a preferred date format (#2175) 2020-01-28 22:23:41 -05:00
MCAxiaz
6d9bec3e0b
reroute all deep links through DeepLinkActivity to provide more control (#2546)
over launch behavior/intent flags
2020-01-28 22:15:15 -05:00
MCAxiaz
1b5554eeda fr using $s instead of $d (#2545)
Fix a string formatter
2020-01-26 22:34:26 -05:00
arkon
bf140be75e Rename sources settings to filter 2020-01-26 17:39:06 -05:00
arkon
eb4c7c6841 Remove display/sorting mode dialogs 2020-01-26 17:35:48 -05:00
Mike
dcd3c709fe CloudflareInterceptor update (#2537)
* CloudflareInterceptor update

* Changes

* Max-Age

* Tweaks
2020-01-25 16:37:59 -05:00
arkon
f966187ea4 Add ability to explicitly remove tracking from track search dialog (closes #2532) 2020-01-24 14:27:53 -05:00
arkon
a288c0f280 Vector tracker icons (except Bangumi) 2020-01-24 14:17:54 -05:00
arkon
a746d4cc3a Tweak initial tracker card appearance 2020-01-24 12:18:55 -05:00
arkon
f1cca207fc Minor formatting 2020-01-23 20:51:37 -05:00
arkon
f4bb9b604a Fix sources/extension filters toggles being indented 2020-01-23 20:50:55 -05:00
arkon
7be6ee9a68 Remove fast scroller from library
Interferes with filter sidebar too much currently.
2020-01-22 18:32:32 -05:00
arkon
a22c79c58a Tweak manga last updated time based on chapter upload instead of fetch time 2020-01-22 18:28:33 -05:00
arkon
b642e019e8 Directly pass read chapter when updating tracker 2020-01-20 21:59:36 -05:00
arkon
578bab5fdd
Use black background for AMOLED theme cards, dialogs (#2422) 2020-01-20 21:34:47 -05:00
arkon
b48f08e65c Minor dependency updates 2020-01-20 19:09:17 -05:00
Jay
81c14ba610 Download dialog in chapters removed, now using submenu
(cherry picked from commit a253c255e8e1ee0cc0e158c3bf61f5352b06e656)
2020-01-20 18:53:56 -05:00
Jay
4b84fb5ac5 Tracker status naming edits
Cherry picked from ad8c69aa15e7c27879c2a528a45b0744f7e45197
2020-01-20 18:50:39 -05:00
MCAxiaz
7f5e650796 Bug/2513 edit text preference crash (#2522)
* use themedContext for preference

* use inflater with themed context
remove icon space

* v14 preferenceThemes are deprecated
2020-01-20 18:37:42 -05:00
[pʲɵs]
c22e2e8159 Do not suppress a type system error (#2524)
This code was sort of fine when it used raw Java types, but the Kotlin
equivalent technically calls a method that takes a Nothing-typed
argument with a value that is not of type Nothing. Whether that works
depends on how lenient kotlinc is about inserting casts in bytecode.

The solution is to give the unknown type represented by a star an
explicit name by capturing it in a type variable, then cast to that type
instead of Nothing. This is guaranteed to be an unchecked, but valid,
cast.
2020-01-20 18:34:59 -05:00
Jay
ee8a53188c Set manga last update field based on chapter fetch time (closes #2217)
Based on 3c81f60041 (diff-7e5179d048c3dfaf75b444b7277fc840)
2020-01-19 22:21:49 -05:00
arkon
98f86a44ef Add tracker logout dialog (closes #2475) 2020-01-19 17:03:11 -05:00
Jay
1b3169e0d0 Update tracking controller after logging in to Bangumi 2020-01-19 16:42:59 -05:00
arkon
8273a396c8 Anilist: rename "On hold" to "Paused" 2020-01-19 16:29:43 -05:00
arkon
5bad914411 Remove reflection to show tracking checkmark
Icon now shows up on the left, but code is less fragile.
2020-01-19 16:26:38 -05:00
arkon
879d260202 Remove unused drawables 2020-01-18 21:04:29 -05:00
arkon
ce4d75f62a Replace raster icons 2020-01-18 20:58:07 -05:00
arkon
f30622424a Add select all menu option for library category
Based on ae5ad2a9a6
2020-01-18 20:33:43 -05:00
arkon
09e7d56ff2 Move "Open in browser" option to webview only 2020-01-16 22:13:34 -05:00
arkon
5ca23b5363 Use smaller CustomTarget for shortcut creation
Same thing as Neko/Jay's fork
2020-01-16 22:13:02 -05:00
arkon
f7e70d25ea Minor cleanup 2020-01-16 21:47:46 -05:00
arkon
4338c41112 Filter library items by artist as well 2020-01-16 21:46:45 -05:00
Jays2Kings
01f9b25be2 Local genre tag searching (#2423)
Using the search bar in My Library, you can search tags for manga (ie. "Romance") or exclude (ie. "-Comedy") You can also search multiple by seperating by commas (ie. "Romance, -Comedy")

Clicking the tag in manga info from the library also performs a local serach
2020-01-16 21:45:37 -05:00
MCAxiaz
8b0458cdf6 minor reader bugs: (#2491)
- fix preload on last page for R2L reader
 - page 3 bug
2020-01-16 21:45:06 -05:00
MCAxiaz
bed978a26a force menu invalidation when expanding actionView from user interaction to properly layout menu items (#2503) 2020-01-16 21:44:22 -05:00
arkon
73fbc81067 Webview enhancements
- Pull to refresh
- Loading progress
- Share page
2020-01-16 21:43:10 -05:00
arkon
0d7f84857c Remove unused string (closes #2508) 2020-01-16 17:52:25 -05:00
arkon
42d6815ece Update Firebase 2020-01-16 09:01:03 -05:00
Jay
d1db9fb659 Build time now opens changelog
(cherry picked from commit 22bb3463593c060405694da39a0eb1f5ca1d6ba1)
2020-01-16 08:57:46 -05:00
Jay
b74fb2ef5e Fixed extensions showing as obsolete when call fails
(cherry picked from commit a44e9a19b0cfceeaeecd8ad378f14ccd47c8683c)
2020-01-16 08:57:37 -05:00
arkon
f3e228e8a4
Indicate obsolete extensions (#2494)
* Indicate obsolete extensions

* Make obsolete indicators red

* Move obsolete extensions up the list

* Add base button theme for holder

* Use red button color state instead of explicit text color
2020-01-12 18:27:04 -05:00
MCAxiaz
6b5742c1ff Fix catalogue search focus automatically being removed (#2396)
Fix catalogue search focus automatically being removed
2020-01-12 15:02:21 -05:00
arkon
57595988f5 Restore transparent status bars, allow WebView app bar to scroll away 2020-01-12 11:47:26 -05:00
arkon
81418a7712 Tweak reader seekbar height for Android 5 UI bug (closes #2487) 2020-01-11 22:29:31 -05:00
arkon
885c7bbb10 Add descriptions to reader prev/next buttons for a11y 2020-01-11 22:14:02 -05:00
arkon
d4c25359bd Remove clickable attributes from unclickable text in reader 2020-01-11 22:13:46 -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
51d454cded Run formatting on test package 2020-01-11 22:04:23 -05:00
arkon
ab2bdfc508 Remove unused FAB animations 2020-01-11 22:03:39 -05:00
arkon
3892b93bca Rename tracker icon images 2020-01-11 22:01:26 -05:00
Jay
83c2e907c7 Fixed file permissions for Android 10
(cherry picked from commit 4e1952ffafa5b64988b0cff533fe497fabce86a6)
2020-01-11 21:55:33 -05:00
Jozef Hollý
32b7cc68b9 Translations (Continuous) (#2484)
* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/

* Translated using Weblate (Catalan)

Currently translated at 100.0% (439 of 439 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/ca/

* Translated using Weblate (Malay)

Currently translated at 99.5% (437 of 439 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/ms/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (439 of 439 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/zh_Hans/

* Translated using Weblate (Romanian)

Currently translated at 100.0% (439 of 439 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/ro/

* Translated using Weblate (Japanese)

Currently translated at 44.2% (194 of 439 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/ja/

* Translated using Weblate (Hindi)

Currently translated at 100.0% (439 of 439 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/hi/

* Translated using Weblate (Arabic)

Currently translated at 100.0% (439 of 439 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/ar/

* Translated using Weblate (French)

Currently translated at 100.0% (439 of 439 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/fr/

* Translated using Weblate (Thai)

Currently translated at 22.1% (97 of 439 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/th/

* Translated using Weblate (German)

Currently translated at 100.0% (439 of 439 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/de/

* Translated using Weblate (Chinese (Traditional))

Currently translated at 89.1% (391 of 439 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/zh_Hant/

* Translated using Weblate (Spanish)

Currently translated at 100.0% (439 of 439 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/es/

* Translated using Weblate (Sardinian)

Currently translated at 100.0% (439 of 439 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/sc/

* Translated using Weblate (Norwegian Bokmål)

Currently translated at 98.6% (433 of 439 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/nb_NO/

* Translated using Weblate (Bengali)

Currently translated at 100.0% (439 of 439 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/bn/

* Translated using Weblate (Norwegian Bokmål)

Currently translated at 99.8% (438 of 439 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/nb_NO/

* Translated using Weblate (Hungarian)

Currently translated at 41.7% (183 of 439 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/hu/

* Translated using Weblate (Chinese (Traditional))

Currently translated at 98.6% (433 of 439 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/zh_Hant/

* Added translation using Weblate (Slovak)

* Translated using Weblate (Hindi)

Currently translated at 100.0% (444 of 444 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/hi/

* Translated using Weblate (Slovak)

Currently translated at 34.9% (155 of 444 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/sk/

* Translated using Weblate (Slovak)

Currently translated at 36.3% (161 of 444 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/sk/

* Translated using Weblate (Polish)

Currently translated at 99.3% (441 of 444 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/pl/

* Translated using Weblate (Finnish)

Currently translated at 100.0% (444 of 444 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/fi/

* Translated using Weblate (Slovak)

Currently translated at 54.5% (242 of 444 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/sk/

* Translated using Weblate (Catalan)

Currently translated at 100.0% (444 of 444 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/ca/

* Translated using Weblate (Dutch)

Currently translated at 98.6% (438 of 444 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/nl/

* Translated using Weblate (Sardinian)

Currently translated at 100.0% (444 of 444 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/sc/

* Translated using Weblate (German)

Currently translated at 100.0% (444 of 444 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/de/

* Translated using Weblate (Italian)

Currently translated at 100.0% (444 of 444 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/it/

* Translated using Weblate (Spanish)

Currently translated at 100.0% (444 of 444 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/es/

* Translated using Weblate (French)

Currently translated at 100.0% (444 of 444 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/fr/

* Translated using Weblate (French)

Currently translated at 100.0% (444 of 444 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/fr/

* Translated using Weblate (Turkish)

Currently translated at 100.0% (444 of 444 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/tr/

* Translated using Weblate (Vietnamese)

Currently translated at 98.6% (438 of 444 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/vi/

* Translated using Weblate (Indonesian)

Currently translated at 100.0% (444 of 444 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/id/

* Translated using Weblate (Spanish)

Currently translated at 100.0% (444 of 444 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/es/

* Translated using Weblate (Malay)

Currently translated at 99.5% (442 of 444 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/ms/

* Translated using Weblate (Thai)

Currently translated at 78.8% (350 of 444 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/th/

* Translated using Weblate (Thai)

Currently translated at 100.0% (444 of 444 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/th/

* Translated using Weblate (Norwegian Bokmål)

Currently translated at 99.3% (441 of 444 strings)

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/nb_NO/

Co-authored-by: Weblate (bot) <hosted@weblate.org>
Co-authored-by: Eduard Ereza Martínez <eduard@ereza.cat>
Co-authored-by: DarKCroX <darkcrox.2020@outlook.com>
Co-authored-by: sr093906 <sr093906@users.noreply.github.com>
Co-authored-by: f0roots <41129381+f0roots@users.noreply.github.com>
Co-authored-by: Mark Acosta <maraco@udel.edu>
Co-authored-by: darkbeast13 <32981566+darkbeast13@users.noreply.github.com>
Co-authored-by: petetae <pete.taecha@gmail.com>
Co-authored-by: Lzmxya <lzmxya@gmail.com>
Co-authored-by: Credits125 <48494748+Credits125@users.noreply.github.com>
Co-authored-by: asereze <asereze@users.noreply.github.com>
Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: Rezaul Rabbi <rezaulrabbi5@gmail.com>
Co-authored-by: Rolf Vidar Hoksaas <32819373+mazunki@users.noreply.github.com>
Co-authored-by: Tóth Béla <tbela@inf.u-szeged.hu>
Co-authored-by: KaHsun <58354107+KaHsun@users.noreply.github.com>
Co-authored-by: roguesoulboss <DPELECH1@GMAil.com>
Co-authored-by: Jendrej <ejjendrej@gmail.com>
Co-authored-by: Topi Harjunpää <topi@harjunpaa.fi>
Co-authored-by: mirfire <1897695+mirfire@users.noreply.github.com>
Co-authored-by: Luigi Gandossi <gandossi.luigi@gmail.com>
Co-authored-by: monolifed <6624464+monolifed@users.noreply.github.com>
Co-authored-by: Le Cong Hau <hau.lc151277@sis.hust.edu.vn>
Co-authored-by: muhajaya <36522453+Muhajaya@users.noreply.github.com>
Co-authored-by: Tanpahol <zotix@users.noreply.github.com>
2020-01-11 16:39:27 -05:00
Chris Allan
1b37c61b5a JSON metadata for local manga (#1658)
* JSON metadata for local manga

* Simplification

* Lazy load local data
2020-01-11 15:59:43 -05:00
Jay
2d3bfa9a89 Implement long hold selection for Manga Chapters and library
Co-Authored-By: zhuoyang <zhuoyang@users.noreply.github.com>

Co-Authored-By: Jays2Kings <Jays2Kings@users.noreply.github.com>
2020-01-11 15:40:00 -05:00
arkon
e414b9edf1 Minor extension filter cleanup 2020-01-11 15:13:51 -05:00
MCAxiaz
62d3fc65e0 Filter Extensions By Language (#2275)
* add options menu item to filer extensions by languages

* resolve merge conflicts
changes per pr comments

Co-authored-by: arkon <arkon@users.noreply.github.com>
2020-01-11 15:06:54 -05:00
Jay
262ad45b79 Update BackupTest.kt
(cherry picked from commit 00b1b097a7ae744f69f47436f4d764ce8cf4b111)
2020-01-11 10:41:55 -05:00
arkon
cd90702fe5 Fix splash screen status bar color 2020-01-11 10:41:16 -05:00
arkon
012b1b56aa Minor grammar fixes 2020-01-11 10:11:39 -05:00
arkon
ff999a6dda Show selected preference for "Library update order" 2020-01-11 10:11:30 -05:00
arkon
797553ce16
Convert webview into an activity (#2470)
Based on 65804ebb3a
2020-01-10 22:22:12 -05:00
arkon
8f82c8ad3d Allow user to retain app data on uninstall for Android 10 2020-01-10 18:46:02 -05:00
arkon
ba9f6fef99
Tweak splash screen color, set nav bar to match (#2476)
Tweak splash screen color, set nav bar to match
2020-01-10 08:11:10 -05:00
happywillow0
6633a96245 Fix filter_mock (#2471)
Fix filter_mock
2020-01-10 06:59:16 -05:00
arkon
745f8d32b5 Use OutlineSpan approach from CarlosEsco/Neko to avoid infinite redraws
Based on work by @arsonistAnt: 1876f850f6
2020-01-09 22:13:25 -05:00
arkon
f715478070 Revert "Remove reflection to get TextView color field (closes #2469)"
This reverts commit 5f2aaeac57.
2020-01-09 21:51:34 -05:00
arkon
5f2aaeac57 Remove reflection to get TextView color field (closes #2469) 2020-01-09 21:32:30 -05:00
arkon
044a4f7575 Split general settings into general and library 2020-01-09 21:22:58 -05:00
arkon
83d5e458ca
Update to SDK 29 (Android 10) (#2468) 2020-01-09 20:31:27 -05:00
arkon
f7669b6797 Replace left/right layout attributes with start/end 2020-01-09 19:10:55 -05:00
arkon
eb56567812 Convert filter mock image to webp 2020-01-09 18:55:53 -05:00
arkon
489f981e40 Convert tracker icons to webp 2020-01-09 18:54:07 -05:00
arkon
19adbeebd5 Convert nav drawer icon to webp 2020-01-09 18:49:14 -05:00
arkon
dc93368e03 Fix stretched splash screen icon on older versions of Android 2020-01-09 18:44:20 -05:00
arkon
8d3166c5fe Add larger minimalistic splash screen icon 2020-01-09 18:30:55 -05:00
arkon
07caea8b4e Clean up splash screen code 2020-01-09 18:29:36 -05:00
markelgaston
141b7ac554 Added a app loading splash Screen (#2185)
* Added a app loading splash Screen. Just a theme that plays on start up before loading the actual app theme

* Added a app loading splash Screen. Just a theme that plays on start up before loading the actual app theme

* Update splash_background.xml
2020-01-09 18:09:52 -05:00
arkon
13a2d3dfdd Provide more human readable error when downloading to invalid directory (#2462) 2020-01-09 08:39:40 -05:00
arkon
d62f0de862 Tweaks based on PR comments, simplify some more strings 2020-01-08 21:53:08 -05:00
Allan Nordhøy
0073ddf237 Spelling: Language rework (#1367)
* Language rework

* Libre software, F-Droid, app

* Reverted to "free and open source"

Co-authored-by: arkon <arkon@users.noreply.github.com>
2020-01-08 21:35:41 -05:00
arkon
e411f54236
Remove up/down animation for FAB, add list padding (#2456) 2020-01-08 21:33:10 -05:00
arkon
6025b44e5b
Add fast scroller to library (#2459) 2020-01-08 21:32:07 -05:00
arkon
f4f427dd2a Restore equals/hashCode in ChapterTransition (closes #2461) 2020-01-08 21:31:32 -05:00
arkon
ea226a1697 Remove unused color resource 2020-01-07 22:55:14 -05:00
arkon
26c5c9c839 Replace usage of deprecated Glide SimpleTarget 2020-01-07 20:24:12 -05:00
arkon
5cddb269d6 Minor code cleanup 2020-01-07 20:17:07 -05:00
arkon
0d5099f230
Drop support for Android 4.x (#2440)
* Bump minSdkVersion

* Remove Android 4.x specific logic

* Consolidate res assets

* Add note about minimum Android version to README

* Restore incorrectly removed method, remove unneeded Lollipop TargetApi annotations
2020-01-07 18:46:31 -05:00
andrecsilva
b55814a1c0 Made 'Default' category selectable in global update settings (#2318) 2020-01-07 18:46:08 -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
b3f1714ba9
Convert remaining Java files (#2435) 2020-01-05 19:39:25 -05:00
Carlos
708525ef9d match transition text used by other readers (#2439) 2020-01-05 17:59:05 -05:00
Carlos
df14e6d43e
fix DOWNLOADED text showing after chapters are marked as read (#2434)
* fix DOWNLOADED text showing after chapters are marked as read
2020-01-05 16:36:23 -05:00
arkon
faedd325be Remove unnecessary legacy-support-v4 dependency 2020-01-05 15:53:17 -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
ed7ebf2da1 Update conductor-support-preference for AndroidX preference v1.1.0 compat (fixes #2431) 2020-01-05 12:26:36 -05:00
MCAxiaz
dd1e6402c9 Improve Loading Speed When Skipping Pages in a Chapter (#2426)
* cancel queued loads when the page that requested the queue is destroyed

* use page.status for optimizing removal
2020-01-05 12:18:02 -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 b76a15d960ec2cdf771be16377db0348b66b3179)

* Fix source preference screen heading size/list padding

Co-authored-by: Carlos <cargo8005@gmail.com>
2020-01-05 11:29:27 -05:00
Carlos
aa57b1bc77
adjust so downloader doesnt autostart when queue was paused (#2413)
adjust so downloader doesnt autostart when queue was paused
2020-01-03 15:33:17 -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
Carlos
f0053a2f78 add width and height to listview for browseCatalogueController (#2406)
* add width and height to listview for browseCatalogueController

* readd recycler has fixed size
add width and height to list view
2019-12-28 14:57:44 -05:00
arkon
10e7a3b35b Update JSoup (#2400) 2019-12-28 14:11:18 -05:00
MCAxiaz
4147fd6b19 recycler is not fixed size (#2402) 2019-12-28 14:10:34 -05:00
Eugene
2bb903088e
Tweak FAB sizing method (fixes #2398)
Ref: https://stackoverflow.com/questions/56945314/floating-action-button-fab-icon-size-problems-after-migrating-to-sdk-28
2019-12-27 20:53:04 -05:00
Eugene
c90f985fcc
Add REQUEST_DELETE_PACKAGES permission for uninstalling extensions 2019-12-27 07:24:19 -05:00
arkon
2ebaacfc89
Replace dependency for case insensitive natural sorting (#2389)
Replace dependency for case insensitive natural sorting
2019-12-27 07:18:30 -05:00
Eugene
c339bd49d0
Address minor Kotlin compiler warnings 2019-12-26 17:48:39 -05:00
Eugene
c349fb0e37
Enable Java 8 language feature support 2019-12-26 16:47:33 -05:00
Eugene
bc825bdefa
Minor dependency updates 2019-12-26 16:47:01 -05:00
Eugene
ad2ecd538d
Allow cleartext traffic
Certain catalogues (e.g. Mangakakalot) do not use HTTPS
2019-12-26 16:06:28 -05:00
arkon
ff8e3f0af4
Update to SDK 28 (#2394) 2019-12-26 16:01:16 -05:00
Anthony Nguyen
698e17178a Increase default text size of the transition chapter page (#2285) 2019-12-26 12:40:56 -05:00
FlaminSarge
ebeee70931 Allow back button to navigate to previous URL in WebView, add Forward, Refresh, and Close menu options (#2176) 2019-12-26 12:40:11 -05:00
arkon
b8b118bdeb
Add .nomedia file in each chapter download folder (#2199)
* Move .nomedia creation to directory fetch

* Add .nomedia file to all chapter download directories
2019-12-26 12:39:20 -05:00
Eugene
5ddd7d1b14
Remove minSdkVersion 21 for dev builds (no longer needed for multidex) 2019-12-23 22:23:05 -05:00
Eugene
450b23436f
Update DB architecture component
Needs to eventually be replaced by androidx.sqlite.db
2019-12-23 22:20:59 -05:00
Eugene
89793ac338
Update to Kotlin 1.3.61 2019-12-23 22:18:11 -05:00
Eugene
c456812a46
Update coroutines 2019-12-23 22:14:20 -05:00
arkon
a0fb1eff4a
Merge branch 'master' into update-kotlin-coroutines-gradle 2019-12-23 09:49:53 -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
arkon
011bb9f5b1
Update to build tools v29.0.2 (#2385) 2019-12-22 16:14:09 -05:00
Eugene
08b06e1b4e
Update to latest version of Android support libraries
Should make migration to AndroidX a bit smoother
2019-12-22 15:56:25 -05:00
Eugene
0416a2ff15
Extract some hardcoded strings (closes #1989) 2019-12-22 15:48:36 -05:00
FlaminSarge
80ea9001b3 Allow 'Default' category as the default for adding manga (#2292) 2019-11-03 13:52:33 +01:00
funkyhippo
24bb94ceac Implemented extension search functionality. (#2211) 2019-10-14 11:15:00 +02:00
Ken Swenson
0f16351f5f Set glide to use the gif loop count (#2263) 2019-10-14 11:11:11 +02:00
arkon
86e53e08de Group available extensions by language (#2210) 2019-10-11 19:07:55 +02:00
Simon M
cc0fe0a1a9 Change "Help" link from Github Wiki to Website (#2265)
Change "Help" link from Github Wiki to Website
2019-10-04 11:44:52 -04:00
Jozef Hollý
e02cf67f85 Update translation files (#2238)
Updated by "Cleanup translation files" hook in Weblate.

Translation: Tachiyomi/Strings
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/strings/
2019-09-21 11:00:45 -04:00
Jozef Hollý
bf4bef6d62 Translations (#2011)
Translations
2019-09-21 09:50:38 -04:00
Samuel Bronson
76645bce6e Remove redundant "publishNonDefault" setting
I think I've seen the following message from just about every single
gradle run throughout the upgrade process:

publishNonDefault is deprecated and has no effect anymore. All variants are now published.
2019-09-20 12:42:41 -04:00
Samuel Bronson
9276c491bc Upgrade Kotlin (to 1.3), Coroutines, Gradle and Android gradle plugin.
Kotlin:                1.2.71 -> 1.3.50
Coroutines:            0.30.2 -> 1.3.1
Gradle:                4.6    -> 5.4.1
Android gradle plugin: 3.2.1  -> 3.5.0

This brings us down to *one* experimental coroutine API, and we've
opted in to using it in just *one* place.

(The fact that the API to opt-in to using an experimental API in a
specific place is *also* experimental surely will not come back to
bite us later.)
2019-09-18 22:45:54 -04:00
Samuel Bronson
fa59b4f8a7 Fix coroutine deprecations again 2019-09-18 17:41:09 -04:00
Samuel Bronson
934a37c36b Update to kotlinx.coroutines 0.30.2
Almost done, honest!
2019-09-18 13:37:57 -04:00
Samuel Bronson
5362f62078 Update deprecated coroutines code 2019-09-18 13:32:42 -04:00
Samuel Bronson
ccd360687e Update to kotlinx.coroutines 0.26.0 2019-09-18 13:20:39 -04:00
Samuel Bronson
5a2e8a838c Update to kotlinx.coroutines 0.23.4 2019-09-18 01:31:15 -04: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
Eugene
d5f5ba95bb Add automatic updates for dev builds (#2128) 2019-07-13 19:36:30 +02:00
MCAxiaz
e8638cb0b3 Hide Empty Search Results in Catalogues (#2066)
* test2

* remove nothing_found view and associated resources
2019-07-01 13:06:19 +02:00
Eugene
62f9071adc Avoid infinite loading in global search if a single catalogue fails (#2097) 2019-06-29 22:27:58 +02:00
inorichi
cccb56bda1 Change default update priorization 2019-06-09 14:35:24 +02:00
Harsh Parekh
5d8dc241d8 Update ranking (#1772)
* Add LibraryUpdateRanker

This class provides various functions to generate Comparators that can 
be used to order the manga to update.

One such ordering is by relevance:
It prioritises manga that were updated more recently.

Another Ordering is by lexicographic order:
This is the default behaviour.

* Use relevanceRanking scheme

Instead of default(noRanking/lex ranking) now mangaList is sorted with 
relevanceRanking.

* Add UI and associated variables & strings for Update Ranking.

* Use user preferences to determine update ranking scheme.

* Refactor relevanceRanking to latestFirstranking.

This name seems to better reflect the ranking scheme and frees up the 
name relevanceRanking for future use.

* Set latestFirst scheme as default.

(Changing over from lexicographic scheme)

* Fix 1

[Convert LibraryUpdateRanker to a object.](./files/82f263749f0ae775385b23dd919f1865360db969#r287513539)

[Nitpick: Add lines](./files/82f263749f0ae775385b23dd919f1865360db969#r287540256)

[Replace Java comparator](./files/82f263749f0ae775385b23dd919f1865360db969#r287539976)

[Nitpick: Add local variable](./files/82f263749f0ae775385b23dd919f1865360db969#r287514805)

* Fix 2

[Weird import](./files/82f263749f0ae775385b23dd919f1865360db969#r287513709)

[Default value](./files/82f263749f0ae775385b23dd919f1865360db969#r287540064)

[Use existing Strings](./files/82f263749f0ae775385b23dd919f1865360db969#r287514476)

[Use Library update order](./files/82f263749f0ae775385b23dd919f1865360db969#r287540204)
2019-06-09 14:32:12 +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
Harsh Parekh
8ebda219c4 Fix the category selection bug (#2052)
Fixes #2051
2019-05-26 11:37:47 +02:00
Harsh Parekh
47f14e8555 Long click to manage categories (#2045) 2019-05-25 13:47:53 +02:00
Eugene
974a24d03b Add help link to nav drawer (#2049) 2019-05-25 13:46:42 +02:00
Jannis Becker
15f225537e Update tracking sites after finishing chapter (#2044)
* Added second updateTrackLastChapterRead() called whenever a chapter has been read in the reader

* Removed old updateTrackLastChapterRead() so that it's not called twice.
2019-05-25 13:46:20 +02:00
Harsh Parekh
a32572fc96 Ignore case while sorting Library (#2048)
* Ignore case while sorting Library

* Simplify code

As suggested by @arkon
2019-05-24 09:57:05 +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
003dca9d45 Bugfix. Sharing images with very long name (#1999)
* Fix sharing with very long images name

* Fix dropLast to take
2019-05-07 11:06:38 +02:00
Deumiankio
021dde66eb Add color filter blend modes (#2013)
* Add color filter blend modes

* Only show modes supported by currently used API level.

* Fix arrays.xml for API level <=27.
2019-04-29 19:32:49 +02:00