Commit Graph

1716 Commits

Author SHA1 Message Date
Hawk of the Death
aae6820fdc
Replace Track Reading Dates date picker with MaterialDialog's one (#2935)
* Replaced datepicker with MaterialDialog's one

* Removed max date due to library bug (afollestad/material-dialogs#1973)

* Removed old date picker view.
2020-04-23 18:28:41 -04:00
arkon
2a4f35959b Hide reader cutout setting if no cutout detected 2020-04-22 23:22:03 -04:00
arkon
f71708e5c5 Group version info at top 2020-04-22 23:12:18 -04:00
arkon
6de00b1f21 Make restore a foreground service 2020-04-22 23:09:24 -04:00
arkon
2b27b40142 Fix round text icons (closes #2934) 2020-04-22 22:30:40 -04:00
arkon
53a3be0703 Migrate more preferences 2020-04-22 22:19:21 -04:00
arkon
04a178e7da Move common view configs to parent class 2020-04-22 21:46:02 -04:00
arkon
6d5b6b2ff7 Specify Stable vs Preview in version 2020-04-22 21:24:43 -04:00
TacoTheDank
34f7e4d448
Replace TextDrawable with a Kotlin fork (#2929)
* Replace old TextDrawable with Kotlin fork

* Update androidx preferences library
2020-04-22 21:23:44 -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
arkon
c967308859 Replace deprecated adapterPosition with bindingAdapterPosition 2020-04-22 09:17:23 -04:00
arkon
02207f6cfd Make entire history item card clickable 2020-04-22 09:14:30 -04:00
arkon
badddcf0de Use existing paddings when allocating space for source RecyclerView for FAB (fixes #2917) 2020-04-22 09:10:09 -04:00
arkon
932a47a8a7 Update Material Dialogs 2020-04-21 23:33:01 -04:00
arkon
f69f78db34 Move restore progress dialog to notification 2020-04-21 21:53:15 -04:00
arkon
fc2c465bac Prevent multiple concurrent backups/restores 2020-04-21 21:34:22 -04:00
arkon
f2a7f8efda Move restore completed/error dialogs to notifications 2020-04-21 20:46:24 -04:00
arkon
e6c172ac22 Fully move backup progress/created dialog logic to notifications 2020-04-21 20:10:53 -04:00
arkon
d8e7481118 Fix backup/restore notification channel 2020-04-21 19:17:55 -04:00
arkon
2485ef8547 Remove migrating progress dialog 2020-04-21 19:01:01 -04:00
arkon
b17762f8d9 Remove source name from history cards, slightly compacter 2020-04-21 18:41:05 -04:00
MCAxiaz
b3611eef9d
Bug/2894 covers not updating (#2908)
* Use a wrapper around Manga to supply glide with proper equals() and hashCode() impl. for caching

* reload image if url has changed

* ignore case for http scheme comparison

* more ignore case for http scheme comparison

* fix indenting

* use data class for MangaThumbnail
2020-04-21 09:13:23 -04:00
arkon
a68c1adba6 Use lifecycle scope for flows in activities 2020-04-21 09:12:53 -04:00
arkon
42b536e40b Replace backup progress dialog with notification 2020-04-20 23:11:02 -04:00
arkon
d6e49be268 Remove some progress dialogs 2020-04-20 23:10:10 -04:00
arkon
3d10dad780 Complete RxBindings to FlowBinding migration 2020-04-20 18:13:45 -04:00
arkon
c9a727594e Fix manga info expansion toggling again after refreshing 2020-04-19 23:23:36 -04:00
arkon
cd25e1283a Fix extension update badge again 2020-04-19 23:10:28 -04:00
arkon
6675de1a26 Fix extension update badge in bottom nav not updating 2020-04-19 21:05:45 -04:00
arkon
96618e9517 [CI SKIP] More consistent "WebView" wording 2020-04-19 20:53:31 -04:00
arkon
dff239141d Force close app if Webview isn't available 2020-04-19 16:10:49 -04:00
arkon
abbb329ba6 Rename offline mode to downloaded only 2020-04-19 16:02:33 -04:00
arkon
5bc77fc6e8 Add offline mode (forced download filters; closes #2902) 2020-04-19 15:30:55 -04:00
arkon
9c820fcca1 Default skip filtered to true 2020-04-19 15:29:10 -04:00
arkon
bb064a1ba7 Change restore error log extension to txt 2020-04-19 15:13:02 -04:00
arkon
a5d9fb518a Minor edits 2020-04-19 15:12:46 -04:00
arkon
bd20977ebc Remove custom preference flow implementation 2020-04-19 12:03:51 -04:00
arkon
11e10f6eff Replace some old color attribute usages 2020-04-19 12:02:08 -04:00
arkon
359d4dc1b2 Show locale name in system default locale 2020-04-18 22:48:52 -04:00
arkon
ca47446b46 Add link to website and open source licenses 2020-04-18 22:27:54 -04:00
arkon
321a4b24b9 Add confirm exist setting (closes #2615) 2020-04-18 20:05:31 -04:00
arkon
8a243ffb57 Include bookmark state when migrating chapters (closes #2729) 2020-04-18 19:40:50 -04:00
arkon
c2330fe3af Fix extension setting dialogs not handling duplicate keys (fixes #2876) 2020-04-18 19:32:52 -04:00
arkon
9876732875 Genre search from updates/history (closes #2893) 2020-04-18 19:11:47 -04:00
arkon
6c14402992 Remove manga homescreen shortcuts 2020-04-18 16:06:31 -04:00
arkon
bdee525336 Lint fixes 2020-04-18 15:28:44 -04:00
arkon
fbf13efe74 Bump minimum extension lib and WebView versions 2020-04-18 14:51:20 -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
morcefaster
4fc8800a37
Webtoon zoom out (#2892)
* Increased added support for zoom out on webtoons to help with horizontal layout reading

* Renamed var
2020-04-18 14:43:54 -04:00
arkon
6a532b836d Refactor databinding fields to parent abstract classes 2020-04-18 14:40:18 -04:00
arkon
31b94fd3ff Fix string key typo 2020-04-18 14:25:29 -04:00
arkon
df69559b39 Collapsable manga summary/genre section 2020-04-18 12:40:47 -04:00
arkon
85e7b78b21 Fix for library tags not triggering search 2020-04-18 11:53:25 -04:00
arkon
42a97f8c40 Add function in interface to get list of genres 2020-04-18 11:36:05 -04:00
arkon
f115691365 Revert attempted WebView process fix 2020-04-17 22:42:14 -04:00
arkon
deb66436cb Remove redundant call to set extension badge in bottom nav 2020-04-17 20:22:46 -04:00
arkon
b8152dd7f9 More FlowPreferences migrations 2020-04-17 20:15:33 -04:00
arkon
678c004a64 Add parent class for view configs 2020-04-17 20:10:29 -04:00
arkon
d9f44c1f7d Extension function instead of redefining uiScope everywhere 2020-04-17 20:06:33 -04:00
arkon
088160ed32 Extra genre chip text trimming 2020-04-17 19:51:57 -04:00
raslmenea
8de004d281
toggle reader menu if transition by tapping are disabled (#2887)
Co-authored-by: raslmenea.rm@gmail.com <xpuf4MQNzDtnaqR>
2020-04-17 18:35:04 -04:00
arkon
401210da44 More FlowPreferences migrations 2020-04-17 18:30:05 -04:00
arkon
beb81b657e Migrate some RxSharedPreferences to FlowSharedPreferences 2020-04-17 09:28:58 -04:00
arkon
f7b3450d65 More rxbindings migration 2020-04-17 09:28:26 -04:00
arkon
29776c739a Use HTTPS for crash reports 2020-04-17 09:27:36 -04:00
arkon
bdf322ceb0 Mostly migrate rxbinding to Kotlin Flow version 2020-04-16 23:04:00 -04:00
arkon
fae763dbb0 Manga info action buttons 2020-04-16 22:16:15 -04:00
arkon
c0792522a4 Scrolling manga info view 2020-04-16 22:16:15 -04:00
arkon
c67e62bac3 Remove some relayed chapter info from main manga info view 2020-04-16 22:16:15 -04:00
arkon
9dc184adff Make immersive mode slightly more reliable on rotation 2020-04-16 22:00:10 -04:00
morcefaster
5d03eef051
Prevented overzealous preloading (#2882) 2020-04-16 17:22:44 -04:00
arkon
48f7b06549 Minor edits 2020-04-16 17:21:58 -04:00
arkon
4e111cebbe Update Acra 2020-04-15 22:57:34 -04:00
arkon
0bb6e1cdc2 Crash fixes 2020-04-14 17:13:45 -04:00
arkon
9058536406 Use native fontFamily support for library titles 2020-04-12 22:22:26 -04:00
arkon
a0a8899801 Tweak tracking card UI 2020-04-12 22:00:19 -04:00
Jay
aedb4749a2 Controllers now properly remove their toolbar items on pop (fixes #2864) 2020-04-12 12:34:56 -04:00
arkon
f52d49ad00 Replace some icons 2020-04-12 12:34:06 -04:00
arkon
a1e7592bd8 Rename catalogue classes/layouts -> source 2020-04-12 12:21:47 -04:00
arkon
c784d24fa6 Default reader theme to black 2020-04-12 11:32:02 -04:00
arkon
0375c0b2c5 Prioritize pinned sources in global search (closes #1739) 2020-04-11 11:46:05 -04:00
arkon
1ed291086a Hide filter FAB in source latest 2020-04-11 11:02:32 -04:00
arkon
f6e25627de Temporary workaround for chapter FAB being invisible 2020-04-10 23:55:18 -04:00
arkon
8fe79a1fb5 Add source pinning (closes #2322) 2020-04-10 18:38:24 -04:00
MCAxiaz
a1df78517f
use explicit file url instead of download manager's content url (#2859) 2020-04-10 18:11:24 -04:00
arkon
92fa8d683a Remove maxWidth logic from SimpleNavigationView since it's not a sidebar anymore 2020-04-10 18:11:04 -04:00
arkon
df27138401 Fix webview back/forward button color 2020-04-10 18:07:23 -04:00
arkon
7c7d40ea44 Fix status/navigation bar colors (fixes #2858) 2020-04-10 18:07:09 -04:00
arkon
aa70be525d Add text to chapter FAB, shrink extended FABs on scroll 2020-04-10 15:39:28 -04:00
arkon
5183848250 Add padding for catalogue filter FAB 2020-04-10 15:00:56 -04:00
arkon
9a28cbc1e4 Use FAB for catalogue filter 2020-04-10 14:43:13 -04:00
arkon
1a50f7062a Migrate to ViewBinding in ReaderActivity 2020-04-10 14:23:38 -04:00
arkon
8cfd80ba84 Move catalogue filters to bottom sheet 2020-04-10 14:23:27 -04:00
arkon
e5e14e1f9e Fix invisible back/forward webview icons in white them 2020-04-10 14:09:08 -04:00
arkon
51d93f0217 Open decode error pages in webview instead of browser 2020-04-10 11:49:51 -04:00
arkon
fdc7981d18 Tweak webtoon margin setting 2020-04-10 11:45:30 -04:00
arkon
145a744ce0 Merge branch 'feature/webtoon-margins' of git://github.com/jleehey/tachiyomi into jleehey-feature/webtoon-margins
# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferenceKeys.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderSettingsSheet.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonConfig.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonPageHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/util/preference/PreferenceDSL.kt
#	app/src/main/res/values/strings.xml
2020-04-10 11:14:09 -04:00
arkon
21c1a499ac Migrate to ViewBinding in WebviewActivity 2020-04-10 10:02:51 -04:00
FlaminSarge
9044760a10
Change color of 'last page read' in chapter description (#2855)
Change color of 'last page read' in chapter description
2020-04-10 08:37:58 -04:00
arkon
627a720d4b Migrate to ViewBinding from Kotlin synthetics in controllers 2020-04-08 23:06:28 -04:00
arkon
05fd8e2a38 Add continuous vertical to default reader options 2020-04-07 22:51:39 -04:00
arkon
dd59748bf0 Minor cleanup 2020-04-07 22:44:37 -04:00
jobobby04
38ceaf5253
Add Continuous vertical reading mode (#2833)
* Add Continuous Vertical reader mode

* Remove separate webtoon padding option

(cherry picked from commit 3e7d15e51856297210e46e9f5bb0b8394067ce1a)

* Continuas vertical Lowercase v

(cherry picked from commit 515cca7d6704343eb9acb1a38a2bdcda01e7395a)
2020-04-07 22:35:43 -04:00
arkon
b2fba5083b Duplicate Hebrew strings on build for legacy locale code 2020-04-07 22:32:27 -04:00
arkon
be6a209fe9 Sort languages, add Hebrew 2020-04-07 22:15:47 -04:00
arkon
d5350fd719 Tweak string comparison to account for length (fixes #2831) 2020-04-07 21:40:36 -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
985bb44559 Add select inverse action 2020-04-05 15:55:35 -04:00
arkon
6872455922 Perform catalogue search when genre tag is tapped 2020-04-04 12:10:00 -04:00
arkon
d7c13cc291 Perform local search when source is tapped from manga info 2020-04-04 10:10:00 -04:00
arkon
022c0746c0 Show error toast when extensions list fails to load 2020-04-03 22:54:52 -04:00
arkon
06c3f57f62 Cache source package icons 2020-04-03 21:39:55 -04:00
arkon
9da27cc56e Show extension icons in source filtering view (closes #2814) 2020-04-02 19:52:09 -04:00
arkon
92c5497eab Fix shortcuts popping up library sheet or duplicating controllers in backstack 2020-04-02 19:46:44 -04:00
Jay
f115fe47fe Using extension icon instead of letter for catalogues (closes #2261) 2020-04-01 23:03:20 -04:00
arkon
224f08279b Reword "Catalogues" to "Sources" for user-facing consistency 2020-04-01 22:42:08 -04:00
arkon
a3b660a2c9 Respect chapter list filtering when reading (closes #2810) 2020-04-01 22:37:28 -04:00
FlaminSarge
cce3b3a559
Make migration manga-centric rather than source-centric (#2786) 2020-03-31 22:36:23 -04:00
arkon
61fb4d584c Replace genre tags on refresh (fixes #2787) 2020-03-30 22:17:07 -04:00
arkon
859e9ca653 Add update library menu item 2020-03-29 16:43:00 -04:00
arkon
441e2a69d8 Minor edits 2020-03-29 16:41:14 -04:00
arkon
af937f2e31 Hide catalogue empty view properly (fixes #2783) 2020-03-29 16:20:48 -04:00
arkon
912629c2dc Replace TagGroup library with Material chips 2020-03-29 14:11:13 -04:00
arkon
879fa484f6 Remove dead code from DownloadQueue 2020-03-29 12:44:17 -04:00
arkon
e86103fdcc Tweak error button appearance 2020-03-29 12:10:36 -04:00
arkon
920ffa8c24 Add fast scroller to library 2020-03-28 17:17:28 -04:00
arkon
488f81ef74 Use bottom sheet for library settings 2020-03-28 17:17:21 -04:00
arkon
40c934c544 Revert "Move library display settings out of filter sidebar"
This reverts commit a0a077eaaa
2020-03-28 16:12:42 -04:00
arkon
bb43e2aa03 Show empty catalogue error view with actions 2020-03-28 15:57:50 -04:00
arkon
ed277357cf Bookmark via reader (closes #1413) 2020-03-28 14:38:47 -04:00
arkon
bf1fb8b7bd Limit foreground extension checks to once a day 2020-03-28 13:40:23 -04:00
arkon
896b34d1a2 Prompt user to open WebView on HTTP errors 2020-03-24 18:19:15 -04:00
arkon
0b318a19c6 Fix spacing in chapters notification 2020-03-24 13:14:36 -04:00
arkon
3f4140900d Tweak button styles 2020-03-22 18:43:16 -04:00
arkon
b434bc93a3 Add fast scroller in catalogues/extensions lists 2020-03-22 12:43:53 -04:00
arkon
d86b030796 Add icon for mark previous as read 2020-03-22 12:22:47 -04:00
arkon
a7e4657752 Rename "Last updated" sort to "Last checked" 2020-03-21 14:41:46 -04:00
arkon
6da350aee6 Minor extension update cleanup, default to on 2020-03-20 22:59:59 -04:00
Jays2Kings
9585f9a1a6
Option to auto check for extension updates (#2680)
* Option to auto check for extension updates

* Addressing comments

* Added foreground check for extensions

* Added Extension Preference widget
2020-03-20 22:22:39 -04:00
arkon
fd4876be24 Tint chapter filter icon if filters are enabled 2020-03-18 18:15:53 -04:00
morcefaster
31e2fe6a4c
Faulty preload fix (#2731)
* Condition for preload

* Added preload fix for webtoon viewer. Replaced incorrect last-page logic

* Requested refactoring

* Requested changes

* Requested changes
2020-03-18 09:45:22 -04:00
arkon
33c0c6ff3b Mostly revert back to old filled icons (#2723) 2020-03-16 17:55:53 -04:00
arkon
d65a8e84f0 Always recreate activity on light theme change (fixes #2720) 2020-03-16 17:27:55 -04:00
morcefaster
cd867f800e
Fix for perpetually loading chapters (#2718)
* Fix for perpetually loading chapters

* Removed page count check
2020-03-16 12:20:35 -04:00
arkon
fb897e37d1 Add download queue features from J2K fork 2020-03-15 22:42:40 -04:00
arkon
3e5a48e5e4 Use actual dialog title for tracker login dialogs 2020-03-15 17:31:36 -04:00
arkon
ef0b546d4c Replace more icons 2020-03-15 16:46:38 -04:00
morcefaster
088f8b8b54
Changed default pager zoom style to ZOOM_FOCUS_CENTER (#2713)
Changed default pager zoom style to ZOOM_FOCUS_CENTER
2020-03-15 16:02:40 -04:00
arkon
446c254bc8 Use immersive sticky flag when hiding reader UI (closes #2705) 2020-03-15 11:56:55 -04:00