Commit Graph

3126 Commits

Author SHA1 Message Date
Jays2Kings
7605e462df hopefully fixing crashes with backdrop in library 2021-04-30 15:48:24 -04:00
Jays2Kings
4f1c309dbd Added a ripple effect when tapping on the search toolbar 2021-04-29 19:48:22 -04:00
Jays2Kings
64feadcd66 Adding a category name for delete removed chapters settings
"Automatic removal"
2021-04-29 01:46:46 -04:00
Jays2Kings
e1e8202192 Changes to local source from upstream
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-04-29 01:00:51 -04:00
Jays2Kings
0885f436e4 Switch rar page loader to new(er) library 2021-04-29 00:36:23 -04:00
arkon
4d2d41412a Make manga and chapter folder name searching case insensitive 2021-04-29 00:33:58 -04:00
arkon
f9a724ee7b Case insensitive source directory search
+ adding junrar library
2021-04-29 00:32:01 -04:00
Jays2Kings
eb88d4e94f changing dragging behavior of bottom sheets to be like iOS
ie: if at the top of the scrollview it can be dragged down, even if you scroll a bit down then up without letting go
2021-04-29 00:22:49 -04:00
Jays2Kings
b0948cf0a7 Adjustments to download button colors 2021-04-29 00:08:29 -04:00
Jays2Kings
44c2337e3d Fix toolbar elevation issues with theme switching 2021-04-29 00:08:13 -04:00
Jays2Kings
f5aafebc91 Manga app shortcuts now return back main activity on up button press 2021-04-28 16:38:13 -04:00
Jays2Kings
a30e4ebcbc Fix tint of reader back button 2021-04-28 16:36:43 -04:00
Jays2Kings
975bd43ea1 clean up toolbar dropdown arrow logic
since its no longer used
2021-04-28 16:19:31 -04:00
Jays2Kings
b6de6a77f0 Fix backdrop showing for when library has one category 2021-04-28 16:15:32 -04:00
Jays2Kings
7f72eabfc3 Search suggestions in library
Will automatically turn on in 24 hours
Then every 2 hours new suggestions to search for will show
Long pressing on it will automatically search that suggestion

There's an added option to turn it off, or turn it on earlier as well
2021-04-28 16:10:23 -04:00
Jays2Kings
62c4ee22a4 Fix NSFW sources showing in extensions list while setting is off 2021-04-28 14:48:48 -04:00
Jays2Kings
fcb9445f02 Scrolling a recycler now collapses the keyboard 2021-04-28 04:13:37 -04:00
Jays2Kings
bd9069b585 Changing presenterScope to lateinit 2021-04-28 04:01:37 -04:00
Jays2Kings
43b42f8d54 Change string chop method default to use smaller ... instead 2021-04-28 04:01:05 -04:00
Jays2Kings
28f222a5e6 Presenter is now responsible for the first getLIbrary call 2021-04-28 04:00:16 -04:00
Jays2Kings
1c30445e68 Indent fixes on Library Presenter 2021-04-28 03:58:26 -04:00
Jays2Kings
5fe86a98f4 Fix floating action bar showing in some intents 2021-04-28 01:05:58 -04:00
Jays2Kings
f473e46c92 Using a helper to get the toolbar height
since there's 2, one of them might be hidden and have a height of 0
2021-04-28 00:24:46 -04:00
Jays2Kings
798c93b44b Fix indents in ReaderPresenter 2021-04-27 23:53:34 -04:00
Jays2Kings
1bcdd43235 Move save pages to manga title setting to Reader section
Also updating some of these strings, because of course I am

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-04-27 23:52:53 -04:00
Jays2Kings
2f654e7f79 Add strings for seperate folder save page setting
because cherry picking still isn't a simple task
2021-04-27 23:33:18 -04:00
OncePunchedMan
3da1efe255 Setting: Creates folders according to manga title (#4861)
* cherry-picking my changes

* Update SettingsDownloadController.kt

* Update SettingsDownloadController.kt

* Update ReaderPresenter.kt

Co-authored-by: arkon <arkon@users.noreply.github.com>
2021-04-27 23:29:26 -04:00
Jays2Kings
bde4d437eb Fix comment for openUpdatePendingActivity 2021-04-27 23:24:41 -04:00
Jays2Kings
7eb76f68da Fix cancelRestoreUpdate comment 2021-04-27 23:24:41 -04:00
Jays2Kings
4dea924337 Add cancel button in notification to cancel download of updated version
Since if a download gets stuck theres no way to cancel it (then again updating form GitHub would clear this out)
2021-04-27 23:24:41 -04:00
Jays2Kings
3255fac29e Fix extensions update intent 2021-04-27 23:24:41 -04:00
Jays2Kings
d9a4438226 Move UpdaterJob to 2 days in 3 hours span
since j2k updates more often than stable (although not lately...)
2021-04-27 23:24:21 -04:00
Jays2Kings
77c080cc47 Adding a button in new release notification to open GitHub release page
Shows also while downloading/error/installed

Should help those who can't complete their downloads for some reason

There's also refactoring from upstream in this, including tapping on the notification for an intent. However the intent here opens the app with the release notes dialog
2021-04-27 23:03:17 -04:00
Jays2Kings
0b4f83d83e Reset Incognito Mode on app relaunch
From tachiyomiorg/tachiyomi@f407e30b6e

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-04-27 16:01:35 -04:00
Jays2Kings
f574cfcbf7 Fix tint of buttons in searchview 2021-04-27 15:32:50 -04:00
Jays2Kings
94406f6480 Global search from extensions intents no longer show search toolbar
Also fixed search toolbar up button in search activity not going back to main activity
2021-04-27 14:40:38 -04:00
Jays2Kings
797174843a Fix manga details toolbar icon visibility 2021-04-27 14:37:28 -04:00
Jays2Kings
36a22c9595 Remove colored toolbar when expanding cover as well 2021-04-27 03:06:02 -04:00
Jays2Kings
9dbeab3458 Fix options when tapping on a cover in manga details 2021-04-27 03:01:09 -04:00
Jays2Kings
c5f592bbe7 Allow extensions/migration sheet to be dragged down while recycler is settling 2021-04-27 02:39:14 -04:00
Jays2Kings
881da13dc9 Renaming EdgeToEdgeBottomSheetDialog to E2EBottomSheetDialog 2021-04-27 02:35:26 -04:00
Jays2Kings
c9e22d898d Random potential crash fixes 2021-04-27 02:29:09 -04:00
Jays2Kings
dbf96f68ff Library presenter now fixes category order when 2 categories have the same order
It's unlikely the case and nothing awful happens with it, but it fixes the jump to category sheet
2021-04-27 02:28:59 -04:00
Jays2Kings
d1c709ce2c Fix crash when using -1 as an id for MaterialMenuSheet
turns out fast adapter does not like -1 as an id
2021-04-27 02:27:13 -04:00
Jays2Kings
5c6a91b0d3 Option to include default category in downloading new chapters 2021-04-27 02:06:57 -04:00
Jays2Kings
63e6fb715d Updates to manage category dialog
Fixes to default category basically + adding global update check to default
2021-04-27 00:48:58 -04:00
nzoba
d72189b8e4
Adding Default categorie in global update pref (#745) 2021-04-27 00:06:19 -04:00
Jays2Kings
8826e7984f Changed wording from "Last fetched" to "Date fetched"
Matches upstream and sounds better
Also moved it lower in the sort list
Also updates "Last Updated" to "Last updated" (was thinking of using this string instead for fetch but too much confusion)
2021-04-26 21:28:51 -04:00
Jays2Kings
1858d70f97 Fix bad indexes in MaterialMenuSheet 2021-04-26 21:18:43 -04:00
Jays2Kings
b39225cac5 Fix manga shortcuts saying "Manga" 2021-04-26 21:18:14 -04:00
Jays2Kings
a71bdc14c5 LibrarySort is now an enum
with lot of helper methods and stuff
With it came the refactoring of Category sort options

Also a new icon for last fetched
2021-04-26 21:16:51 -04:00
Jays2Kings
1ceb9692bb Adding last fetched sort 2021-04-26 15:54:39 -04:00
Jays2Kings
6632ea2d2f Moving library to new base coroutine classes 2021-04-26 15:37:57 -04:00
Jays2Kings
a9125cc591 Create base coroutine classes for controller/presenters
Using so far for recents and extensions presenter
2021-04-26 15:36:57 -04:00
Jays2Kings
f28419ce3f removed logic to try and fix the fast scroll
It just can't be fixed...
2021-04-26 15:05:39 -04:00
Jays2Kings
f5b5be9e0b Using viewscope in about 2021-04-26 15:05:10 -04:00
Jays2Kings
0b4019a1cb Fixes to CoroutineScope
This includes removing what I thought was a good helper method for a list of preferences

Also using a base scope for controllers (others will have to be updated later)
2021-04-26 05:29:12 -04:00
Jays2Kings
8753d188d1 MaterialMenuSheet now uses a recyclerview
Also moved whats new sheet to mainactivity as a function
2021-04-26 04:43:52 -04:00
Jays2Kings
d0af0ddffe recyclerView helper method in E2Ebottom sheet prevent accidental drag downs 2021-04-26 03:28:36 -04:00
Jays2Kings
8523dba27b Creating a base class for the edge2edge bottomsheets 2021-04-26 03:15:59 -04:00
Jays2Kings
5ca4e8ade0 remove visible helper
big ups to android studio for breaking indexing hard while I refactor
2021-04-26 02:28:04 -04:00
Jays2Kings
5d2e0ebbe7 remove gone helper 2021-04-26 02:19:45 -04:00
Jays2Kings
fa4de0990f remove invisible helper 2021-04-26 02:03:59 -04:00
Jays2Kings
dc80b37dbc missed import on CoverViewTarget 2021-04-26 01:52:56 -04:00
Jays2Kings
7dbd6a4128 Replace visInvisIf helper with isInvisible 2021-04-26 01:46:28 -04:00
Jays2Kings
18111be272 Removing isVisible/visibleIf helper methods for androidx.core.view 2021-04-26 01:39:09 -04:00
Jays2Kings
20f8fac479 remove java.enumConstants where unneeded 2021-04-26 01:25:53 -04:00
Jays2Kings
4fa4953a7e Fix warnings/suggestions in reader 2021-04-26 01:25:08 -04:00
Jays2Kings
7a90d1bf06 Using popup menu helper for reading mode 2021-04-26 01:19:02 -04:00
Jays2Kings
cd81df0cf2 Move Themes enum into its own file 2021-04-26 01:12:08 -04:00
Jays2Kings
b7b2c9ab64 Move ReaderBottomButton to its own file 2021-04-26 01:05:16 -04:00
Jays2Kings
47f6c54412 Helper method for list of preferences flow 2021-04-26 00:55:37 -04:00
Jays2Kings
820d240997 Updates to rotation options
Taken from upstream:
Forced orientation are now locked
Free-ish modes is now Portrait/Landscape instead of lock
Rotation button in bottom sheet toolbar (default off)
Popup menu helper method

Also because it's getting crowded, updated layouts of the buttons in the sheet to compress themselves a bit if people go crazy (though display options will always be full width)

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-04-26 00:38:12 -04:00
Jays2Kings
fdc976d4f9 using lowercased phrases for "search" screen titles
Recents updated to say "search updates & history" which changes based on the tab you're in
Library updated to say "search your library"
2021-04-25 12:05:30 -04:00
Jays2Kings
371b77e75f Fix solid appbar bg when leaving recents to another tab
Caused by 48a4b3091
2021-04-24 17:01:14 -04:00
Jays2Kings
fe09262a66 Perform a global search via share menu
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-04-24 16:42:46 -04:00
Jays2Kings
a756b40b47 adding QUERY_ALL_PACKAGES permission
since it'll later be used whenever target sdk 30 happens

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-04-24 16:33:56 -04:00
Jays2Kings
c9388f6633 Open source from global search
Along with other changes from upstream

The difference as you'd expect:
Not allowing the opening of a source on migration and from extension intent
Also when moving up sources in global search after returning results. The incoming results for subsequent sources will go under the already returned results, instead of being alphabetical and shifting the top results (pinned sources still show on top though)

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-04-24 16:31:31 -04:00
Jays2Kings
48a4b3091f Fix recents having transparent appbar on pop enter 2021-04-24 15:12:43 -04:00
Jays2Kings
9572c9b7ee Searching in library now moves to the top of the list on text change 2021-04-24 14:58:34 -04:00
Jays2Kings
2d520026a1 Search bar toolbar in some screens + many search fixes
This would be a yoink if this wasn't from scratch, so let's call it a spiritual yoink

Floating search bar as a toolbar for the following screens:
Library, Recents, Browse, Settings, Browse Source, Global search

Fixes include:
Searching now saves when pausing/resuming tachi activity

Other changes:
Tapping on the search bar in library also shows backdrop now (which will collapse on close/starting to type
Also using a subtitle in the library to show the current category

*good luck TF*
2021-04-24 14:52:05 -04:00
Jays2Kings
9d74c2fba3 Show read manga in recents when searching, even if setting is off 2021-04-24 14:13:14 -04:00
Jays2Kings
1ed58d8bee remove unused import in search controller 2021-04-24 14:12:52 -04:00
Jays2Kings
afc61ebf32 Fix accent color on fast scroll 2021-04-24 14:10:22 -04:00
Jays2Kings
bc760cf7b1 Fixes to fast scroller
Using android back gesture no longer sometimes jump the screen
Fix issue when sometimes dragging fastscroll tries to drag to the top on release
2021-04-24 14:09:49 -04:00
Jays2Kings
0327accecb Download badge is now inverted for themes with black colorOnAccent 2021-04-24 13:30:25 -04:00
Jays2Kings
bf3cba380f Fix layout of options in library filter sheet 2021-04-24 04:11:36 -04:00
Jays2Kings
9e813f773b Long press in global search to add to/remove from library 2021-04-24 04:02:01 -04:00
Jays2Kings
a33f339c19 Rename asFlow helper method
for asImmediateFlow with scope to asImmediateFlowIn
2021-04-23 23:32:59 -04:00
Jays2Kings
ec87df7056 Fixed #765 2021-04-23 23:19:55 -04:00
Jays2Kings
6906fff121 Downloading/Deleteing batch chapters now ignores current filter
Fixes #761
Also deleting all chapter now delete entire manga folder, not just chapters

Also also trying to delete certain type of chapters will pop up "No chapters to delete" if theres... yeah
2021-04-23 23:13:48 -04:00
Jays2Kings
3177063ada updates to browse animation + minor to recents 2021-04-23 23:05:20 -04:00
Jays2Kings
ba86aec35e Animated recents tab icon 2021-04-23 19:41:50 -04:00
Jays2Kings
5b6463c823 Animated browse tab icon 2021-04-23 19:39:49 -04:00
Jays2Kings
f664a4cf9b Animated icon for library tab
added a 75ms delay because of lag when switching tabs
2021-04-23 19:39:22 -04:00
Jays2Kings
704f57300b Fix crash when recent manga has no title 2021-04-23 14:55:13 -04:00
Jays2Kings
87ef22003c Using common ViewHolder for WebtoonBaseHolder
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-04-23 14:54:37 -04:00
Jays2Kings
85ae4ed2e2 Removing setting the smart bg in the httppageloader
This relates to #759 and should potentially fix it, but we'll see
2021-04-22 21:25:18 -04:00
Jays2Kings
421f42cd78 Using json instead gson in chaptercache
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-04-22 20:49:44 -04:00
Jays2Kings
8e7143e8b4 Making OkHttpExtensions in line with upstream
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-04-22 20:43:41 -04:00