Commit Graph

737 Commits

Author SHA1 Message Date
arkon
3287ca9cf2 Add checkmark beside selected popup menu item
Based on what's in J2K. Also renamed to MaterialSpinnerView to match what's there.

Co-authored-by: Jays2Kings <Jays2Kings@users.noreply.github.com>
2021-04-16 22:39:19 -04:00
Ivan Iskandar
1f729f1cb3
Add navigation bar scrim (#4845)
* Revert "Add navigation bar scrim (closes #4836)"

This reverts commit 2a69d1b0

* Add navigation bar scrim
2021-04-15 09:55:39 -04:00
arkon
a4e5e3ece5 Use accent color for edge effect 2021-04-13 22:48:39 -04:00
arkon
f4f1efe5fa Disallow forced dark mode, such as MIUI's 2021-04-13 08:51:08 -04:00
arkon
a82e5f5452 Make library update/backup error log action clearer for non-technical users 2021-04-11 16:19:56 -04:00
arkon
b2d4e5ab84 Add Google DoH provider 2021-04-11 13:10:03 -04:00
Ivan Iskandar
f3660d88dd
Draw edge-to-edge (#4802) 2021-04-10 09:38:55 -04:00
arkon
b2d697131c Add clarification for category exclusion (closes #4777) 2021-04-06 23:29:46 -04:00
Riztard Lanthorn
ddd4cc10ff
add sort by date fetched in library (#4773)
* add sort by date fetched in library

* chapter fetch date to 8
2021-04-04 17:18:28 -04:00
arkon
4f1275ac01 Allow excluding categories from library update
Closes #3467, #4661, #1839

Supersedes #4474
2021-04-04 16:48:39 -04:00
arkon
68600b337e Allow weaker unlock methods (closes #4265) 2021-04-03 11:35:33 -04:00
arkon
a3992d9fbe Minor cleanup 2021-04-03 10:12:31 -04:00
arkon
f7a6cbe5e2 Revert "Drop support for Android 5.x"
This reverts commit 443024cebb. Guess I'll do this a bit later so scb can get another major update first.

April Fools or whatever.
2021-03-31 22:20:59 -04:00
arkon
443024cebb Drop support for Android 5.x
It's 5-6 years old, and only accounts for 2% of users in the Firebase analytics.
2021-03-30 23:15:17 -04:00
arkon
468cdf603c Allow translating DNS over HTTPS (closes #4747) 2021-03-30 17:54:31 -04:00
arkon
9daf0e78b8 Remove ALPHA from dual page split label 2021-03-28 16:15:11 -04:00
arkon
14c114756d Clean up reader sheet spinner preferences
Based on fe2543b9d5

Co-Authored-By: Jays2Kings
2021-03-27 16:28:49 -04:00
arkon
78285bdf37 Minor code cleanup 2021-03-20 15:58:54 -04:00
Andreas
5a7f2684b3
Add navigation layout overlay (#4683)
* Add navigation layout overlay

* Minor clean up 

Destroy animator when done not on start
Move and change pref title 
Add summary
2021-03-20 15:36:01 -04:00
Riztard Lanthorn
4193870fa6
Library update freq: add 4 & 8 hours (#4557) 2021-03-14 16:22:10 -04:00
arkon
94f5117941 Remove online protobuf backup restore option 2021-03-13 18:45:22 -05:00
arkon
112e233498 Use Material dialogs for preferences
Partially addresses #2907
2021-03-13 18:00:24 -05:00
arkon
18b1326f3a Tweak dialog corner radius 2021-03-13 17:18:22 -05:00
arkon
b6b78994d8 Move clear history from advanced settings to history screen menu (closes #4613) 2021-03-13 16:09:12 -05:00
Andreas
776610d0e6
Let users invert dual page split (#4470)
* Let users invert dual page split

* Use Activity lifecycleScope and cleanup invert logic
2021-02-20 09:26:57 -05:00
arkon
a92b0e567b Reword bookmark strings to clarify it's for a chapter, not a page 2021-02-13 17:27:40 -05:00
arkon
ace1db21d1 Rename drawable with more consistent naming 2021-02-13 10:44:35 -05:00
vance
b5017eebbf
Added dual page split setting (#4252)
* Add DualPageSplit option

* remove extra line

* Split double-page into two pages

* Remove !isAnimated check and add (ALPHA) to the label

* Fix missing insert pages

* Pager cleanup

* Add dual split to Webtoon and fix Vertical

* Fix L2R/R2L

* Add comments and refactor code in ImageUtil

* Use a simpler split solution in webtoon mode

Co-authored-by: weng <>
Co-authored-by: Andreas E <andreas.everos@gmail.com>
2021-02-09 17:54:44 -05:00
arkon
aa67229daf Add weekly to library update frequency options (closes #4422) 2021-02-09 17:49:02 -05:00
Andreas
b63d24ac1a
Add Right and Left navigation (#4392)
and remove default navigation classes in favor of the navigation classes
2021-02-06 23:26:56 -05:00
arkon
6662e2002f Rounded bottom sheets 2021-02-01 22:23:29 -05:00
Unlocked
c34b548a3e
Add manga count to the library header (#3884)
* Add manga count to the library header

* Make showing the number of manga configurable

Co-authored-by: arkon <arkon@users.noreply.github.com>
2021-01-31 10:15:37 -05:00
arkon
6bc6e1a1d1 Remove unused dimen values 2021-01-28 09:13:05 -05:00
arkon
426ed7308b Add comments to not translate the word "WebView" 2021-01-26 17:58:36 -05:00
arkon
0a54901eb0 Refactor tracker name strings 2021-01-24 16:06:28 -05:00
Andreas
fea2e0a265
Extend track filter (#4344)
* Allow to filter for each tracker logged in

* Simplify filter logic

* Use variable names instead of it

and rename variables

* Change how trackFilters and items are setup

* Use variable name instead of it and try cleanup filterFnTracking

* Changes from feedback
2021-01-24 15:24:00 -05:00
arkon
e288bf902b Reword download chapter number sorting options 2021-01-23 13:19:57 -05:00
Riztard Lanthorn
a083e1f71a
add sort by chapter number in download queue (#4337)
* add sort by chapter number in download queue

* Bigest, smallest chapter download

* grouped
2021-01-23 13:10:57 -05:00
arkon
db2dd4b6c6 Add method for users to save error logs to a file 2021-01-21 18:21:03 -05:00
Andreas
1a5858e99b
Hide tracking when no tracker is logged in and change filter logic (#4310)
* Hide tracking when not logged in

* Change string name and value
2021-01-18 17:08:11 -05:00
Andreas
5cddc0c387
Add filter for tracking (#4276)
* Add filter for tracking or not

* Use .any

* Access database only when needed
2021-01-17 15:40:17 -05:00
arkon
0cd551d4fd Revert removal of tracker start/end date 2021-01-16 15:48:20 -05:00
arkon
efbefabb01 Reword unmetered network restriction for library updates 2021-01-04 16:12:34 -05:00
arkon
a4cab9876a More consistent wording for NSFW warning strings 2021-01-04 10:27:31 -05:00
arkon
710179f4b4 Note valid backup file extensions in error toast 2021-01-03 22:39:09 -05:00
arkon
d11c72fd48 Replace global search context menu option with share target 2021-01-03 11:08:23 -05:00
Andreas E
d69e9034ab
Viewer navigation (#3869)
* Viewer navigation

Co-authored-by: Harsh Parekh <h.x.dev@outlook.com>

* Match current reader behavior and add ability to invert it

* A bit of clean up

* Clean up inversion

* Only create navigator when changed

and change tap zone when invertTapping is changed

* Clean up PagerConfig

* Change how Viewer navigation works

* Add Edge Navigation

Co-authored-by: Harsh Parekh <h.x.dev@outlook.com>
2021-01-01 18:41:20 -05:00
arkon
eaccfdde59 Replace circular ProgressBars with Material component 2020-12-26 11:24:10 -05:00
arkon
a8e536478c Replace ProgressBars with Material component 2020-12-26 10:40:45 -05:00
arkon
6e7fefb8b2 Strip out no longer used tracker start/end date code
Unfortunately MAL was the only one that supported it in the app, but the official API doesn't support it, so now no trackers have it.
2020-12-18 23:31:28 -05:00
arkon
2cb3984d68 Show MAL relogin message on update, localize error message 2020-12-13 17:52:21 -05:00
arkon
f6af1184bc Reword NSFW settings section 2020-12-13 17:18:38 -05:00
arkon
e8627800fe Remove bundled fallback file picker 2020-12-13 12:42:10 -05:00
arkon
bbc00768f0 Note that toggling NSFW sources requires a restart 2020-12-12 17:27:11 -05:00
arkon
5b09461ccf Break out NSFW hiding/labeling into separate settings 2020-12-12 17:20:54 -05:00
arkon
b6e246c6b2 Add text selection shortcut to invoke global search (closes #4058) 2020-12-08 22:48:04 -05:00
CrepeTF
ff66f307dd
Tweak default dark theme colors (#4074) 2020-11-29 11:14:12 -05:00
arkon
c8316c7254 Move NSFW source setting into Browse settings 2020-11-28 12:43:17 -05:00
arkon
c0e4863229 Fix restore in Android 11 2020-11-27 21:36:42 -05:00
arkon
56c19e57a9 Add help shortcut for source migration (closes #3951) 2020-11-22 16:30:20 -05:00
arkon
d548c690d6 Fix transparent navbar when bottom sheets are opened (fixes #3848) 2020-11-22 15:49:57 -05:00
arkon
eceac4d6e3 Merge restore entry points, avoid unnecessary new strings 2020-11-21 12:35:04 -05:00
jobobby04
682fae12b6
Make a protobuf based backup system (#3936)
* Make a protobuf based backup system

* Cleanup

* More cleanup

* Fix restores always loading the full backup restore, even when legacy restore was used

* Make offline the default

(cherry picked from commit f6fd8a8ddb90869f3e28fd8fcd81a2125f8e0527)

* Find chapter based on the url

(cherry picked from commit 326dc2700944a60da381d82cd9782c5f0d335902)

* Dont break after finding one chapter

(cherry picked from commit f91d1af37398619cf371e4920b60f6d309799c74)

* Also apply changes to online restore

(cherry picked from commit e7c16cd0d14ea5d50ce4a9a3dfa8ca768be702f2)

* Rewrite backup categories

(cherry picked from commit f4200e2146a9c540675767206ed4664894aa1216)

* Dedupe some code, move over read and bookmarks properly

(cherry picked from commit d9ce86aca66945c831670a1523d8bc69966312df)

* Move some functions to the abstract backup manager

(cherry picked from commit b0c658741a2f506bc31823f1f0347772bc119d2e)

# 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

* Fix some backup duplication issues

(cherry picked from commit a4a1c2827c4537d2d07a0cb589dc1c3be1d65185)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/backup/legacy/LegacyBackupManager.kt

* Fix a missed bundleOf

* So glad this wasnt merged before now, everything should be working with this commit
2020-11-20 22:34:24 -05:00
arkon
2695bdddf8 Fix non-transparent navigation bar 2020-11-20 22:28:06 -05:00
Dominik Chrástecký
c9b1a425a7
add support for S Pen actions (#4029) 2020-11-20 22:25:24 -05:00
arkon
c0519e8670 Remove a stray trailing dash 2020-11-11 13:40:07 -05:00
arkon
538c168641 Use default height for extended FAB (closes #3949) 2020-10-18 10:21:03 -04:00
arkon
832a4fa68e Lower minWidth for extended FAB (fixes #3939) 2020-10-13 17:38:56 -04:00
arkon
6c792d2821 Update dependencies 2020-10-10 16:34:06 -04:00
arkon
0904692f15 Set activated states for manga info favorite/tracker buttons 2020-10-03 12:55:51 -04:00
Andreas E
812368e332
Ability to delete reading history (#3871)
* Added ability to delete history for all manga

* Fix review comments
2020-10-03 10:54:42 -04:00
arkon
4b78ff324d Minor string cleanup for Incognito Mode 2020-10-03 10:44:34 -04:00
Platiplus
79ccfcd553
[Feature Request] Option to turn off History - #3772 (#3855)
* Implementing do not save chapter history preference

* Refactor of labels

* Changing incognito mode from Readers section to More

* Fixing imports and removing unused strings
2020-10-03 10:43:01 -04:00
arkon
fb3756420b Use tristate checkboxes for chapters list filters 2020-09-27 18:13:20 -04:00
arkon
7c69b1b649 Tweak navigation view group header style 2020-09-27 13:41:25 -04:00
scb261
3784d1a8f2
Add option to hide bottom bar when scrolling (#3758)
* [wip] hardcoded flag for hide on scroll

* add corresponding option in settings

* clean up a little

Co-authored-by: arkon <arkon@users.noreply.github.com>
2020-09-27 13:25:30 -04:00
scb261
458e761b45
Add ability to choose what to remove for selected mangas (#3796)
* [wip] started to change manga delete options

* Change dialog for deleting selected manga

* Move array to appropriate file

* Make first option enabled by default

* Use radio buttons to reduce amount of clicks

* Revert "Use radio buttons to reduce amount of clicks"
2020-09-27 13:03:04 -04:00
arkon
972a595c74 Color selected tab with accent color when theme isn't blue 2020-09-26 19:18:58 -04:00
arkon
a3c598a3e1 Remove card backgrounds from browse lists 2020-09-26 19:03:46 -04:00
arkon
3bce07e873 Minor settings search code cleanup 2020-09-22 22:33:43 -04:00
arkon
766f9e37b5
#3520 Searchable Settings (#3683)
* Adding class stubs for settings search, UI elements.

* -  implement searchable settings
- `SettingsController.setupPreferenceScreen` must return a PreferenceScreen

* Remove unneeded SettingsControllerFactory.

* Set query hint, clean up code smell.

* Add search button to MoreController, stop infinite recursion.

* - initialize SearchResultCollection once in Activity.onCreate

* - implement prefernce highlighting after settings search

* - Ensure all Preferences have a key set or else the highlighting effect will have no effect on it.
- remove ExtensionFilterController and SourceFilterController from settingControllersList in SettingsSearchHelper, since those are related to Extensions and not Settings

* Limiting search to settings menu only, localized breadcrumb string, and code cleanup after code review.

* - moved call to SettingsSearchHelper.initPreferenceSearchResultCollection() into SettingsSearchController

* Code review cleanup and refactoring.

* Inlined non-reused key strings.

* Adding more UI polish, add comments for future enhancements.

* - retain search query when navigating *away* from SettingsSearchController
- keep `searchItem` in `expandActionView` state until user goes back (fixes the empty view in `SettingsSearchSearchController` issue)

Co-authored-by: mpm11011 <markuscicero5@gmail.com>
Co-authored-by: lmj0011 <9396189+lmj0011@users.noreply.github.com>
2020-09-22 22:23:38 -04:00
arkon
a9bed90d02 Move manga info summary more/less button toggle 2020-09-22 22:20:29 -04:00
mpm11011
528c1b90c2
Merge branch 'dev' into dev-settings-search 2020-09-16 14:56:34 -04:00
Jay
004e1c98ee Send manga/chapter/page details when sharing a chapter page 2020-09-15 17:59:47 -04:00
arkon
da5f10a2f1 Clean up global chapter settings code 2020-09-14 16:23:42 -04:00
lmj0011
64050e8266
[feature] add ability to set global filter/sort/display for Manga chapters (#3622)
* - [feature] add ability to set global filter/sort/display for Manga chapters

* - move default chapter settings functionality to overflow menu
- code clean up

* - show confirmation dialog when user selects "Set as Default" option in Chapter Settings

* - hide overflow menu in LibrarySettingsSheet

* - apply default chapter settings if manga is added to Library from a Source's browsing screen

Co-authored-by: arkon <arkon@users.noreply.github.com>
2020-09-14 15:58:34 -04:00
arkon
791a7d5a01 Start updating manga info view header design 2020-09-14 15:56:27 -04:00
mpm11011
a5098e5b5b Code review cleanup and refactoring. 2020-09-05 14:28:41 -04:00
arkon
66baf01e43 Localize "No chapters found" error 2020-09-04 15:21:09 -04:00
Andreas E
7a33e198dc
Add missing chapter warning (#3745)
* Add missing chapter warning

* Flip calculation instead of flipping variables

* Change logic

* Change tint based on reader theme

* Add missing chapter warning to WebtoonTransitionHolder

* Add chapter warning between current/finished and prev/next

* Fix mix up of TextViews

* Fix review comments
2020-09-03 22:21:19 -04:00
arkon
565e8cf00b Remove unused string, fix improperly formatted Slovak string 2020-09-03 22:19:28 -04:00
lmj0011
50c7b32b00 - Ensure all Preferences have a key set or else the highlighting effect will have no effect on it.
- remove ExtensionFilterController and SourceFilterController from settingControllersList in SettingsSearchHelper, since those are related to Extensions and not Settings
2020-08-28 20:47:18 -05:00
mpm11011
8fe315c354 Set query hint, clean up code smell. 2020-08-26 21:46:36 -04:00
mpm11011
b10b13a339
Merge branch 'dev' into dev-settings-search 2020-08-26 21:00:21 -04:00
arkon
4929e66ecc Update ActionMode styling 2020-08-22 12:36:29 -04:00
lmj0011
8c82b766e3 - implement searchable settings
- `SettingsController.setupPreferenceScreen` must return a PreferenceScreen
2020-08-19 10:28:04 -05:00
arkon
ba67781431 Minor wording edit 2020-08-18 17:40:24 -04:00
specterflare
19cd28b66b
Update and clarify message on tracking services (#3663)
* Update and clarify message on tracking services

Relates to #3659

* Update strings.xml
2020-08-13 17:25:18 -04:00
arkon
65b32ddeb2 Split out NSFW source setting to separate section
Temporarily hidden until feature is ready for stable release.
2020-08-10 14:19:35 -04:00
arkon
b657bba96e Add 18+ warnings in extensions list 2020-08-10 11:53:23 -04:00
arkon
dbaac69fad Add option to prevent deleting bookmarked chapters (closes #2082) 2020-08-09 12:18:05 -04:00
arkon
cce919750a Minor rewording of chapter deletion settings 2020-08-09 12:04:56 -04:00
arkon
421dfb4a2d Allow partially loading extensions with individually marked NSFW sources 2020-08-08 19:06:52 -04:00
arkon
abaca6e676 Option to hide NSFW extensions (closes #1312) 2020-08-08 16:27:55 -04:00
arkon
b1fb401f63 Warn before restoring backup if trackers aren't logged in 2020-08-05 22:46:37 -04:00
arkon
912687ac78 Adjust download badge color again 2020-08-02 23:03:24 -04:00
arkon
2e9d89574d Make download badges lighter to improve contrast (closes #3571) 2020-08-02 14:29:48 -04:00
arkon
8e8c30c1eb Move download warnings/errors to separate notification channel 2020-08-02 12:16:51 -04:00
arkon
3813743e3d Split download notifications into progress and complete channels 2020-07-29 21:57:43 -04:00
Jimmy Low
7e73ede47a
[Feature Request] - Download Complete Remidner #3475 (#3527)
* [Feat] Show a download complete notification channel when all downloads are completed. Auto cancels when onclick and navigate to download screen.

* [Feat] Update the download message string to shorten the length.
2020-07-29 17:31:45 -04:00
arkon
e95a5be21d Show message when searching with no pinned sources 2020-07-25 17:14:34 -04:00
arkon
a443dc3040 Show tracker status in button 2020-07-18 16:37:00 -04:00
arkon
8ba426350f Fix checked state for manga header buttons 2020-07-17 14:20:36 -04:00
arkon
6713a7ae3c Include source ID if name not found in restore error log (closes #3018) 2020-07-16 22:36:01 -04:00
arkon
88ee86b7ef Move edit categories to overflow 2020-07-16 22:22:06 -04:00
arkon
d8f4e6b45f Don't capitalize buttons (closes #3454) 2020-07-12 22:20:37 -04:00
arkon
dc43e41896 Use view binding for sheets 2020-07-12 17:04:12 -04:00
arkon
fa5d2276c0 Group theme settings into category 2020-07-10 22:37:36 -04:00
arkon
d353a3457d Split general reader settings into reading mode and display 2020-07-10 22:29:46 -04:00
arkon
763da19c9d Add shortcut to global search query from library (closes #2183) 2020-07-10 19:31:23 -04:00
arkon
1813dbbf59 Add ability to sort library by date added (closes #1287) 2020-07-10 15:56:06 -04:00
arkon
93960315d9 Prevent downloads when less than 50MB of disk space is available (closes #1018) 2020-07-10 12:47:19 -04:00
arkon
41f759dafe Make tabs not all caps 2020-07-07 17:29:32 -04:00
arkon
68df2f4ce7 Point to GitHub releases for stable changelogs 2020-07-04 14:36:56 -04:00
arkon
d9a12d79b0 Add ability to download unread chapters from library 2020-07-04 10:54:01 -04:00
arkon
da0671ad62 More descriptive "Unknown"s in manga info 2020-06-25 18:17:17 -04:00
arkon
04d83e9a6a
Add option to reverse tapping (#3360)
* Add option to reverse tapping

* Fix string for preference key

* Invert tapping for Webtoon and Vertical

* Use enum instead of boolean

* Add option to reader sheet

* Hide from reader sheet if tapping disabled and remove hard coded string

* Hide option if tapping disabled
2020-06-25 18:12:12 -04:00
arkon
2cb7624953 Make jumping to manga chapters optional 2020-06-25 18:10:46 -04:00
Andreas E
2eaf083eee
Add option to reader sheet 2020-06-24 09:50:23 +02:00
arkon
3645d19135 Add advanced option for DNS over HTTPS via Cloudflare (closes #3377) 2020-06-23 22:42:53 -04:00
arkon
eb254d9c56 Move about summary more/less expander button 2020-06-23 08:51:51 -04:00
Andreas E
c8a6a2653f
Use enum instead of boolean 2020-06-23 12:09:10 +02:00
Andreas E
7f88b56d8b
Resolve merge conflicts 2020-06-23 10:23:14 +02:00
arkon
0258422527 Remove "No chapter" string in favour of just "0 chapters" (should close #3357) 2020-06-22 22:21:40 -04:00
Andreas E
c54b8e62d7
Add option to reverse tapping 2020-06-21 16:47:18 +02:00
arkon
52e846f3b6 More manga info header tweaks 2020-06-20 11:41:20 -04:00
arkon
ce22b2c29a Add shortcut to open extension package in system settings 2020-06-20 10:43:35 -04:00
arkon
18712b166f Combine chapter sort asc/desc and sorting mode menus 2020-06-19 16:27:17 -04:00
arkon
4605e14729 Merge manga info and chapters views 2020-06-19 16:11:59 -04:00
arkon
eee0bd6cf4 Rename some code from "catalogue" to "source" 2020-06-17 22:18:33 -04:00
arkon
381ba86e3c Adopt download/local badge colors from J2K 2020-06-17 22:00:58 -04:00
arkon
e17605f8d9 Localize/reword "Loader not implemented" error message 2020-06-17 09:09:01 -04:00
arkon
e06a488af8 Add categories to more 2020-06-17 09:07:20 -04:00
arkon
6dc8bfed8d Remove some unnecessary strings 2020-06-16 17:30:35 -04:00
arkon
ff5f13eafe Remove categories for multi language "single" sources 2020-06-15 22:45:28 -04:00
arkon
150ea29a70 Move untrusted/obsolete/unofficial extension text 2020-06-13 17:27:03 -04:00
arkon
f9baff0e90 Show "Start" in chapters FAB if nothing is read yet 2020-06-13 17:15:22 -04:00
arkon
395ca3630c Combine author and artist fields in manga info 2020-06-13 16:25:26 -04:00
arkon
526e029ebb Update some themes 2020-06-13 15:34:55 -04:00
arkon
f5a44245e9 Update SwipeRefreshLayout 2020-06-10 23:01:47 -04:00