Commit graph

3111 commits

Author SHA1 Message Date
inorichi
8c18a14dfd Display animated webp whenever possible, otherwise fallback to static image. Fixes #5139 2021-05-25 19:42:48 +02:00
Gauthier
9a801cfdfb
Hide the score display on the tracksheet if not supported (#5169)
* hide the score display on the tracksheet if not supported

* Convert track item to use LinearLayout

Co-authored-by: Andreas E <andreas.everos@gmail.com>
2021-05-25 09:03:56 -04:00
Soitora
4af13e3536
Added "Green Apple" theme (#5184)
* Added "Green Apple" theme

Totally not stolen from other forks.

Although to cover all my bases I co-author all people who adapted the theme in any form.

Neko, J2K and Tako

Co-Authored-By: Carlos <2092019+CarlosEsco@users.noreply.github.com>
Co-Authored-By: Jays2Kings <jays@outlook.com>
Co-Authored-By: CrepeTF <70870719+CrepeTF@users.noreply.github.com>

* Add black as the OnSecondary color

Co-authored-by: Carlos <2092019+CarlosEsco@users.noreply.github.com>
Co-authored-by: Jays2Kings <jays@outlook.com>
Co-authored-by: CrepeTF <70870719+CrepeTF@users.noreply.github.com>
2021-05-25 08:26:17 -04:00
Gauthier
e76e903060
Background tracker update during Library update (#5166)
* add preference to auto update trackers during library update

* also update trackers when updating chapters and preference is set

* remove unnecessary launch/join

* perform tracking update within the same chapter update loop to avoid double notifications
2021-05-24 22:26:41 -04:00
Gauthier
acd927a937
Refactor TrackService.kt to remove unused add function (#5164)
* removed the add function from TrackService.kt as it's not used except within the tracker implementations

* add private modifier
2021-05-24 22:12:12 -04:00
arkon
a498f940c6 Put shortcut to backup menu in More 2021-05-24 16:55:42 -04:00
arkon
179cb8eb50 Make some strings in LocalSource translatable (closes #5178) 2021-05-24 16:50:07 -04:00
arkon
47f865aa72 Handle toolbar title in manga details on tablets similar to on phones 2021-05-24 16:28:50 -04:00
arkon
b47face2f8 Remove unused Gson singleton factory
We don't inject it anywhere anymore.
2021-05-24 16:11:13 -04:00
Ivan Iskandar
69869115f6
TabbedBottomSheetDialog: Fix scrollable pages (#5173) 2021-05-24 16:08:43 -04:00
Soitora
0fb9ca3e8b
Added "Strawberry Daiquiri" theme (#5176) 2021-05-24 16:02:45 -04:00
arkon
70d9b0c390 Organize some classes 2021-05-24 12:34:54 -04:00
Gauthier
e57a999c9c
pull the rate limit interceptors from the extensions repo (#5163)
apply a rate limit to anilist, current limit is 90 per minute
2021-05-24 11:29:20 -04:00
Soitora
176e984b56
Add "Midnight Dusk" and "Hot Pink" themes (#5161)
* Organize and clarify themes file

Increases clarification with better commenting, should make it easier to add or modify current themes.

* Make AMOLED its own theme category

* Tweak ripples for AMOLED

* Add "Midnight Dusk" theme

Ports it from jobobby04/TachiyomiSY.

Co-Authored-By: CrepeTF <70870719+CrepeTF@users.noreply.github.com>

* Add "Hot Pink" theme

Ports it from jobobby04/TachiyomiSY.

Co-Authored-By: OncePunchedMan <64155117+OncePunchedMan@users.noreply.github.com>

* Make AMOLED a base theme

* Final tweaks

Rename "Toolbar.Light" to "Custom.PopupTheme"
Changes placing of backgroundDusk

Removes HotPink and MidnightDusk custom Toolbars, I believe they are unnecessary.

* Rename a Midnight Dusk color

* Make AMOLED independent from Dark as a theme

Co-authored-by: CrepeTF <70870719+CrepeTF@users.noreply.github.com>
Co-authored-by: OncePunchedMan <64155117+OncePunchedMan@users.noreply.github.com>
2021-05-24 11:16:32 -04:00
Ivan Iskandar
b5a700276a
Remove top margin of PreferenceCategory if no title set (#5168) 2021-05-24 09:10:13 -04:00
Ivan Iskandar
3c186a3c8d
Fix incognito mode disabled after the app kicked out of memory (#5167)
The application class onCreate will also be called when user navigates to an
activity after the app process is killed by the system.

So make sure the incognito is disabled only when the entry point of the app is
created from scratch (e.g. after being force closed by the user).
2021-05-24 09:09:35 -04:00
arkon
a462ce3626 Option to move nav rail buttons to bottom of screen (closes #5158)
Based on 90be3e3494

Co-authored-by: Jays2Kings <Jays2Kings@users.noreply.github.com>
2021-05-23 14:30:09 -04:00
arkon
065cf42aea Fix reader chapter sort ordering (fixes #5157) 2021-05-23 14:30:09 -04:00
arkon
986b709f2c Revert "Prevent view from being removed if a to is found (#5135) (#5152)"
This reverts commit 974275a429.
2021-05-23 14:30:09 -04:00
arkon
1b52acdad7 Hide irrelevant settings on tablets 2021-05-23 13:05:45 -04:00
arkon
7875f363a8 Tablet manga view 2021-05-23 12:36:47 -04:00
arkon
685736b9ec Fix resume button not considering filters 2021-05-23 12:02:09 -04:00
arkon
aefd2bf6f8 Use same chapter sorting logic in manga and reader views 2021-05-23 11:28:04 -04:00
arkon
ce9fb2f1fe Update reader chapter list filtering to handle not downloaded/bookmarked (closes #5107) 2021-05-23 11:27:52 -04:00
Antoine Gaudreau Simard
974275a429
Prevent view from being removed if a to is found (#5135) (#5152)
Introduced in c68e7c8da7
2021-05-23 11:00:43 -04:00
arkon
8870ccb18c Fix action toolbar positioning (fixes #5099) 2021-05-22 17:57:58 -04:00
arkon
2a7ed1375a Fallback to default viewer properly (closes #5068) 2021-05-22 17:41:53 -04:00
Ivan Iskandar
ef8a87a30f
Bump compileSdk to 30 (#5140) 2021-05-22 14:48:27 -04:00
arkon
147978b932 Disable swiping on switch in SwitchSettingsPreference 2021-05-22 12:39:58 -04:00
arkon
c741920ec0 Rename some biometrics things since it's no longer specifically for biometric auth 2021-05-22 12:39:47 -04:00
CrepeTF
bbbcb18b91
Fixed tracker sheet corner radius not being rounded on start (#4799) 2021-05-22 12:16:17 -04:00
Gauthier
d6b3b0baf7
Add Komga as an unattended track service (#5049)
* fix: prevent crash if TrackService.getScoreList() is empty

* disabled track score button if service doesn't support scoring

* first implementation of the Komga tracking
this doesn't work for read lists

* auto track when adding to library

* handle refresh

* 2-way sync of chapters for unattended tracking services

* Update app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackSheet.kt

Co-authored-by: Andreas <andreas.everos@gmail.com>

* group strings together

* support for read lists

* sync read chapters on bind

* only mark local chapters as read during 2-way sync (incoming)

* local progress from read chapters will be sent to remote tracker on bind/refresh
this enables syncing after reading offline

* remove unused variable

* refactor the 2-way sync in a util function

* handle auto add to track for unattended services from the browse source screen when long clicking
this will also sync chapters, as it is possible to have read or marked as read chapters from there

* 2-way sync when library update for TRACKING

* refactor

* better handling of what has been read server side

* refactor: extract function

* fix: localLastRead could be -1 when all chapters are read

* refactor to rethrow exception so it can be shown in toast

* extract strings

* replace komga logo

Co-authored-by: Andreas <andreas.everos@gmail.com>
2021-05-22 12:07:58 -04:00
arkon
569df39fb8 Remove 1 or 2 hour library updates to avoid DDoSing sources 2021-05-22 11:52:28 -04:00
arkon
2f7f00c7a2 Try to avoid crashing when source fails to return pages 2021-05-22 11:41:10 -04:00
arkon
cf99446a12 Adjust tablet layout (closes #5113) 2021-05-19 23:18:24 -04:00
arkon
68286b2acc Tweak About view, make links actually clickable 2021-05-19 22:55:27 -04:00
arkon
a410184e0a Collapse about links into a single row 2021-05-19 22:39:31 -04:00
Soitora
d3ceecf620
Add icons for links in the About section (#5117)
* Add an icon for each link in About

* Add icon for Open source licenses

* Reorder Facebook and Discord

* Revert "Add icon for Open source licenses"

This reverts commit 9b73f8443d1afea60f8bc4165663c8bef0ebf108.
2021-05-19 22:21:22 -04:00
arkon
940c5b3838 Refactor BaseBottomSheetDialog to set maxWidth with newer API 2021-05-19 22:20:45 -04:00
Hunter Nickel
19f39fcdb0
Change ordering of labels in "when" clause (#5103) 2021-05-18 08:08:23 -04:00
arkon
ab021c1302 Restore original preference background after highlight animation (fixes #5094) 2021-05-17 17:32:10 -04:00
arkon
3b11ad8de8 Revert hide updates/history 2021-05-17 17:24:59 -04:00
Riztard Lanthorn
cf4b870846
library update notif text progress (#5098) 2021-05-17 17:20:58 -04:00
arkon
5e37f72d74 Remove legacy backup creation 2021-05-17 11:41:12 -04:00
arkon
09c07faafd Avoid invalid reading mode/orientation selections
Related to #5068
2021-05-15 15:29:21 -04:00
arkon
8e7c235ff0 Cleanup hide updates/history button settings 2021-05-15 15:03:09 -04:00
simakover
7fb4cbb8a0
Add option to hide "Updates" and "History" buttons (#5077)
* Add otion to hide "Updates" abd "History" buttons

* Add otion to hide "Updates" abd "History" buttons

* explicit imports

* New category Navigation

* Add functionality for SideNav
2021-05-15 15:01:05 -04:00
arkon
fa872f6cf7 Don't hide side nav when opening ActionToolbar on tablets 2021-05-14 18:26:39 -04:00
arkon
ef53d4ec07 Fix grid columns on tablets, split out common main_activity layout sections 2021-05-14 17:48:11 -04:00
arkon
c68e7c8da7 Update OneWayFadeChangeHandler to match TachiyomiSY
Co-authored-by: jobobby04 <jobobby04@users.noreply.github.com>
2021-05-14 10:40:38 -04:00
arkon
de35a4c62a Initial tablet NavigationRailView implementation
TODO:
- Make the side nav go beside the toolbar too
- Extract out common main_activity stuff to remove duplicated code
2021-05-14 09:14:42 -04:00
arkon
fcde6c2b84 Minor cleanup 2021-05-14 09:10:17 -04:00
Ivan Iskandar
818468c58f
Open migrated/copied MangaController right away (#5005) 2021-05-13 17:36:05 -04:00
Riztard Lanthorn
7ba43ae5c2
Add cancel all for series in download queue (#5062)
Co-authored-by: Jays2Kings <jays@outlook.com>
2021-05-13 17:35:47 -04:00
arkon
5700c7a0c7 Instantiate extension preferences with proper datastore earlier 2021-05-08 19:52:49 -04:00
Andreas
4bfd395d9f
Add automatic setting to reader settings (#5045) 2021-05-08 18:55:27 -04:00
arkon
5069d8dee6 Fix MultiSelectListPreference crash in extensions 2021-05-08 17:23:48 -04:00
arkon
47c120e58c Fix rotation shortcut tooltip 2021-05-08 09:14:01 -04:00
arkon
8d7ab13f5c Don't toggle favorite status from snackbar if already added (fixes #5038) 2021-05-08 09:13:49 -04:00
Andreas
122cdae5bc
Automatic background color for PagerViewer (#4996)
* Add J2K implementation of automatic background

Co-authored-by: Jays2Kings <8617760+Jays2Kings@users.noreply.github.com>

* Tweak the monstrosity called automatic background

* Add ability to choose Automatic as a background

* More tweaks

Co-authored-by: Jays2Kings <8617760+Jays2Kings@users.noreply.github.com>
2021-05-04 22:46:42 -04:00
arkon
8d58a8d548 Fix source filter FAB disappear on rotation (fixes #4994) 2021-05-02 13:34:53 -04:00
arkon
b453be081e Fix settings search crash (fixes #5002)
Can't lateinit since the controllers are instantiated via reflection.
2021-05-02 13:29:20 -04:00
arkon
3c947f323f Fix navigation issue when activity is recreated 2021-05-02 13:22:32 -04:00
Ivan Iskandar
cb203ef02c
Show notification to disable Incognito Mode when it's enabled (#4976)
* Show notification to disable Incognito Mode when it's enabled

* Finish ReaderActivity and BrowseSourceController when incognito is disabled

* CLeanup strings

* Only register DisableIncognitoReceiver when needed
2021-04-30 22:36:54 -04:00
arkon
908c9bc624 Reader grayscale filter (closes #2822) 2021-04-30 22:35:49 -04:00
Andreas
fe373a95a2
Fix bugs in dual-page split (#4983)
If more bugs appear probably better to go back to the main thread and process dual-pages every time a page is shown as it did before
2021-04-30 09:14:20 -04:00
arkon
284c019b32 Cancel scope in SettingsControllers properly 2021-04-28 17:38:41 -04:00
Jays2Kings
6a4c280235 Change string chop method default to use smaller ... instead
(cherry picked from commit 43b42f8d54bf8872b4fd2467b33fa06a9a44dbb6)
2021-04-28 17:30:22 -04:00
arkon
f0eacf4218 Re-enable update check job for Android M 2021-04-28 08:55:30 -04:00
arkon
0afe3011bc Better handling of coroutine cancellations for http calls
Based on b94b7eeb6d
2021-04-28 08:53:41 -04:00
Andreas
0fef546a0d
Add manga-wised rotation mode settings (#4841)
* Add manga-wised rotation mode settings

Based on #3522

Co-authored-by: bboyz269 <4453811+bboyz269@users.noreply.github.com>

* Fix small mistakes

* Complete TODOs

* Rename functions

rotation -> orientation

* Fix orientation icon not changing

Bug from video

* Fix bug with force portrait not being force if a default value

Bug from video

* Backup viewer_flag as a seperate field in so legacy/forks doesn't crash

* Make viewer_flags nullable so old backups viewer gets restored

* Add migration for old rotation and viewer to new defaults ones

* Rename variable in enums

* Fix migration after OrientationType was changed

* Remove untrue comment

Co-authored-by: bboyz269 <4453811+bboyz269@users.noreply.github.com>
2021-04-28 08:32:47 -04:00
Ivan Iskandar
93e6136795
Use Coil (#4870)
* Use Coil

* Remove coil-transformations lib

* Add MangaCoverFetcher

* Remove Glide

* MangaCoverFetcher: Allow skipping custom cover usage

* Adjust coil caching policy for some non-library items

* Allow coil to use RGB565 only on low ram devices

* Fix image loading progress view not showing

a

* Increase coil crossfade duration

Same as default glide duration

* Add back request clearing
2021-04-28 08:32:00 -04:00
arkon
71c9df5279 Lint fixes 2021-04-27 17:46:34 -04:00
arkon
224fcada17 Move save pages to manga title setting to Reader section 2021-04-27 17:46:16 -04:00
OncePunchedMan
9278407b85
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 17:38:56 -04:00
arkon
89619b7836 Drop support for Android 5.x 2021-04-27 09:29:05 -04:00
arkon
13324dd1a1 Remove app update check on Android 5.x 2021-04-27 09:26:46 -04:00
Ivan Iskandar
bf80dd622c
Fix download error icon color tint (#4959)
* Fix download error color tint

* Use progress indicator as download icon border

* Resolve feedback

* Use extension function to set tinted drawable
2021-04-25 11:36:13 -04:00
Andreas
662b71436e
Cleanup dual page split (#4956)
* Cleanup Dual Page Split

* Move where images is processed

* Change parameter name to imageStream

* Use available instead of Int.MAX_VALUE

* Update JavaDoc
2021-04-25 11:08:51 -04:00
arkon
f608cb55eb Minor cleanup to updating download status in Updates 2021-04-25 11:01:12 -04:00
arkon
6ba82da029 Don't automatically go to HALF_EXPANDED state for color filter tab (closes #4913) 2021-04-25 10:59:53 -04:00
arkon
f407e30b6e Reset Incognito Mode on app relaunch (closes #4928) 2021-04-25 10:57:14 -04:00
Ivan Iskandar
4e7b8c98f9
Make the download progress status smoother (#4958)
* Make the download progress status smoother

* Download status icon cleanup
2021-04-25 10:42:06 -04:00
arkon
5f9574541f Use popup menus for reader shortcuts instead of toggling through 2021-04-24 19:17:52 -04:00
arkon
08a6db7d6e Maybe better handle MAL token expiration 2021-04-24 16:30:53 -04:00
arkon
e8d8621f06 Remove "Locked" orientation, replace with explicit orientations
Portrait/Landscape allow sensor, Locked Portrait/Landscape don't.
2021-04-23 22:37:43 -04:00
arkon
4cefbce7c3 Make manga and chapter folder name searching case insensitive 2021-04-23 08:44:12 -04:00
arkon
fa31369f99 Sanitize source download folder name (fixes #4945) 2021-04-23 08:43:47 -04:00
Ivan Iskandar
d0bf93ebb7
MainActivity: Show bottom nav when the tab page is changed (#4914)
* MainActivity: Show bottom nav when the tab page is changed

* Revert "MainActivity: Show bottom nav when the tab page is changed"

This reverts commit 27fd73db

* MainActivity: Show bottom nav when the app bar is fully expanded
2021-04-21 17:43:53 -04:00
arkon
41a747c7e7 Consider sort direction when downloading next n chapters (fixes #4916) 2021-04-21 17:41:43 -04:00
arkon
8882cd4787 Consider sort direction when resuming (fixes #4909) 2021-04-21 17:38:46 -04:00
arkon
6676490e09 Remove preview release notes
The GitHub releases contain the commit messages.
2021-04-19 15:30:04 -04:00
arkon
68bea8a196 Add link to official Facebook page 2021-04-19 15:23:20 -04:00
arkon
dd1743698f Theme BiometricUnlockActivity to avoid flashing light theme 2021-04-19 10:24:57 -04:00
arkon
b092e98ac9 Include extension loading errors in error logs 2021-04-19 10:18:32 -04:00
arkon
9ee6262aed Fix activity leak 2021-04-19 10:18:32 -04:00
arkon
7654feb6a8 Fix chapter read status not being migrated (fixes #4892) 2021-04-18 13:07:53 -04:00
arkon
cab919d74c Clean up controller viewbinding creation
Based on https://github.com/Jays2Kings/tachiyomiJ2K/blob/master/app/src/main/java/eu/kanade/tachiyomi/ui/base/controller/BaseController.kt
2021-04-18 12:54:51 -04:00
Ivan Iskandar
60a929b92c
Fix source SearchView stuck open until query submitted (#4897)
closes #4850
2021-04-18 11:32:22 -04:00
arkon
356b7c346a Clean up ChapterCache (remove Gson, Rx usage) 2021-04-18 11:30:16 -04:00
Ivan Iskandar
ad57fde1c5
Themes cleanup (#4894) 2021-04-18 11:29:56 -04:00
arkon
b40af7c3c6 Minor cleanup 2021-04-17 19:05:35 -04:00
arkon
9065362fde Move reading mode toast to default bottom position
Toasts don't block user interaction, so it's probably fine.
2021-04-17 18:52:52 -04:00
arkon
ad9bad3d17 Adjust ActionToolbar positioning
Have I ever mentioned that I hate insets?
2021-04-17 13:07:25 -04:00
arkon
dfd858034f Avoid duplicate actions in update notifications 2021-04-17 12:58:14 -04:00
arkon
38610d8a24 Avoid crash when users copying to clipboard fails because they have apps that are listening to their clipboards but also denied permissions
See https://commonsware.com/blog/2013/08/08/developer-psa-please-fix-your-clipboard-handling.html
2021-04-17 12:29:22 -04:00
arkon
27cec697bf Avoid rare crash in WebViewActivity 2021-04-17 12:22:58 -04:00
arkon
f7cc36f2f0 Follow chapter sort setting for start/resume FAB (closes #1716) 2021-04-17 11:38:08 -04:00
arkon
ef5148ebb4 Double tap Updates to go to Download Queue (closes #4884) 2021-04-17 11:13:09 -04:00
arkon
6dbc0a6fd5 Use DSL for creating chapter description spanned string 2021-04-17 11:06:30 -04:00
arkon
fba3f9d501 Follow chapter sort setting when downloading next n chapters (closes #4725) 2021-04-17 10:51:38 -04:00
arkon
28416489b2 Adjust MoreController bottom padding for navbar 2021-04-16 23:10:38 -04:00
arkon
54a23ddd1f Long press reader settings icon to open color filter tab
Partially addresses #4867
2021-04-16 23:06:24 -04:00
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
arkon
a59e134862 Case insensitive source directory search 2021-04-16 22:27:00 -04:00
arkon
1f8c5b0120 Adjust ActionToolbar positioning 2021-04-16 22:26:41 -04:00
arkon
c7f839ea4a Minor cleanup 2021-04-15 10:09:16 -04:00
arkon
d981245723 Remove toolbar snapping 2021-04-15 10:05:47 -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
b4577d6676 Avoid crash when unknown reading mode is used 2021-04-14 18:03:48 -04:00
arkon
1875c4a752 Include chapter fetch date when migrating
Based on ee4f3e6586

Co-authored-by: Jays2Kings <Jays2Kings@users.noreply.github.com>
2021-04-14 08:57:00 -04:00
Jays2Kings
5f0493f1e5 Fix webtoon mode not calling OnPageSelected in some cases (in upstream too)
This fix isn't 100% tested, but like 80%.

@arkon if you're reading this, this issue is happening up stream too. I can make a issue for it in the repo but haven't checked if it happens there:

Steps:
Get Cubari source, search "cubari:imgur/3iOqiIy" change to continuous vertical, crop borders. Then back out and open the chapter again. onPageSelected isn't called because recycler position is -1. Regardless of the 4 pages you should be on

also fyi just a slight scroll fixes this issue but still

(cherry picked from commit 88fd6e5c9897d4a528f93dd02cfa2a4c644a799d)
2021-04-14 08:49:48 -04:00
arkon
c749e50bec Edge-to-edge in licenses activity 2021-04-13 22:48:54 -04:00
arkon
2a69d1b051 Add navigation bar scrim (closes #4836) 2021-04-13 18:23:06 -04:00
arkon
126e1e2d9d Allow weaker unlock methods in Android 6 - 10 (fixes #4833) 2021-04-13 15:02:57 -04:00
arkon
0586e1d3ad Include debug info in dumped crash logs 2021-04-13 09:06:41 -04:00
arkon
07cb1c237e Allow dismissing download progress notification when paused (closes #4832) 2021-04-13 08:53:46 -04:00
arkon
37fdf4d434 Fix toolbar elevation in History and Updates 2021-04-12 18:43:22 -04:00
arkon
99b46096a4 Fully expand source filter sheet on show (closes #4455) 2021-04-12 17:30:44 -04:00
arkon
12e90ae35e Use same non-sticky heading style as Browse for Updates/History (closes #4822) 2021-04-12 17:11:47 -04:00
arkon
023311a874 Start download when tapping update notification (closes #4825) 2021-04-12 13:43:46 -04:00
arkon
155a4dd463 Fix ActionToolbar bottom offset 2021-04-12 12:42:07 -04:00
arkon
15bed1ac4c Offset appbar using margin instead (maybe fixes #4819) 2021-04-12 09:01:11 -04:00
arkon
00598879e2 Insets fix for migration manga list 2021-04-11 22:57:54 -04:00
arkon
0dc4862d79 Revert case insensitive source folder check 2021-04-11 18:19:41 -04:00
arkon
a3f1b72126 Lint fixes/ignore some errors 2021-04-11 18:16:15 -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
e10cb0e632 Add locales: jv, lt, ne 2021-04-11 16:03:03 -04:00
arkon
592050c668 Actually ignore the case... 2021-04-11 14:23:24 -04:00
arkon
02c9191525 Make source download folder name case-insensitive
Fixes issues from things like "Mangasee" being renamed to "MangaSee"
2021-04-11 14:03:23 -04:00
arkon
d421401626 Log "Invalid download location" issues to error log 2021-04-11 14:00:45 -04:00
arkon
b2d4e5ab84 Add Google DoH provider 2021-04-11 13:10:03 -04:00
Ivan Iskandar
84e023607c
BrowseSourceController: Fix navigation bar insets not properly applied (#4810) 2021-04-11 10:49:23 -04:00
Ken Swenson
f145fd0dec
Move deletion actions to the IO thread (#4808) 2021-04-11 10:49:13 -04:00
arkon
9567d55312 Revert manga title folder for saved pages (closes #4803)
People also didn't like it making their galleries more complicate to navigate.
2021-04-10 14:33:14 -04:00
Ivan Iskandar
f3660d88dd
Draw edge-to-edge (#4802) 2021-04-10 09:38:55 -04:00
Riztard Lanthorn
01c3498dbf
Search in library include manga description (#4787)
Co-Authored-By: jobobby04 <jobobby04@gmail.com>

Co-authored-by: jobobby04 <jobobby04@gmail.com>
2021-04-08 17:56:33 -04:00
Taco
b3471234ad
Update NDK, more KTX usage (#4792)
* Update NDK

* Utilize more KTX extensions
2021-04-08 17:56:01 -04:00
arkon
b2d697131c Add clarification for category exclusion (closes #4777) 2021-04-06 23:29:46 -04:00
arkon
ef49fc91d8 Minor cleanup 2021-04-06 23:21:21 -04:00
arkon
6222b47a4f Flip crop borders and orientation toggles 2021-04-06 22:31:36 -04:00
arkon
5b23f29d06 Revert using fetch date for updates list
Spamming the list post-migration is currently a more common usecase than sources without chapter dates. We'll need to figure out a better way of handling both scenarios.
2021-04-04 18:11:11 -04:00
arkon
c1bdebee78 Fix global update category exclusion 2021-04-04 18:09:07 -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
0ca62a4acc Allow excluding categories from auto-download
Closes #1412

Supersedes #4121
2021-04-04 17:15:06 -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
b2fee7035f Use Material Dialogs for auto-download categories preference
To allow for negative selections in the future.
2021-04-03 16:13:12 -04:00
arkon
e15d7cb548 Use Material Dialogs for global update categories preference
To allow for negative selections in the future.
2021-04-03 16:07:42 -04:00
arkon
1237af1ff3 Move BiometricUtil to correct package 2021-04-03 11:38:01 -04:00
arkon
68600b337e Allow weaker unlock methods (closes #4265) 2021-04-03 11:35:33 -04:00
arkon
dac2072eaa Use app name for page download folder and use manga title subfolders (closes #4684) 2021-04-03 10:40:35 -04:00
arkon
1b921f9845 Make extension load error logs less verbose 2021-04-03 10:27:40 -04:00
arkon
a3992d9fbe Minor cleanup 2021-04-03 10:12:31 -04:00
Tooster
efd2a0cb7b
Replace reading mode snackbar with toast (#4752) 2021-04-03 10:07:49 -04:00
arkon
ff36901007 Don't repeatedly vibrate/make sounds on download progress 2021-04-01 12:18:54 -04:00
arkon
940d8389b5 Add QuadStateCheckBox view 2021-03-31 23:03:42 -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
7aa379a857 Better handle webtoon SSIV crop border change 2021-03-31 22:20:17 -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
1657f04d55 Add tooltips for previous/next chapter buttons
Based on d0738f5b00
2021-03-30 23:11:36 -04:00
arkon
407e798fdb Recreate webtoon SSIV when crop borders setting changes (fixes #4734) 2021-03-30 18:47:44 -04:00
arkon
4054f2a6a0 Add icon for crop border shortcut off state 2021-03-30 18:27:09 -04:00
arkon
988ec6a224 Fix nav overlay always showing on start (fixes #4736) 2021-03-29 16:54:32 -04:00
Andreas
bdbdf211e2
Remove insert page when dual page split get turned off (#4739) 2021-03-29 16:54:20 -04:00
arkon
0437703cbf Fix binding of intarray preferences (maybe fixes #4728) 2021-03-28 17:06:56 -04:00
arkon
d501c02f8b Add crop borders shortcut 2021-03-28 16:25:53 -04:00
arkon
dfa07a5f35 Clean up SpinnerPreference a bit 2021-03-28 16:13:59 -04:00
arkon
437c995d12 Show nav overlay on invert tap change
Based on db4eca90e9
2021-03-28 16:13:34 -04:00
mutsumi
cc6ae9d1a8
Fix Some Bangumi Track Bug (#4726) 2021-03-28 11:36:29 -04:00
arkon
c87b0e77de Show number of manga per source in migrate menu (#4703) 2021-03-28 11:11:19 -04:00
arkon
355d5af8ae Dismiss action toolbar after download action in updates (closes #4729) 2021-03-28 10:59:35 -04:00
arkon
3d99a8ebdb Fix fullscreen not applying on opening reader (fixes #4723) 2021-03-28 10:48:41 -04:00
arkon
c4b975b777 Cleanup reader spinner layouts 2021-03-27 17:59:52 -04:00
Antoine Gaudreau Simard
2911fe7a1a
Add onPause\onResume persistence to searchView. Fixes issue #3627 (#4494)
* Add onPause\onResume persistence to searchView. Fixes issue #3627

* New controller subclass with built-in SearchView support

* Implement new SearchableNucleusController in SourceController

* Add query to BasePresenter (for one field it is not worth create a subclass in my opinion), convert BrowseSourceController to inherit from SearchableNucleusController

* move to flows to fix an issue in GlobalSearch where it would trigger the search multiple times

* Continue conversion to SearchableNucleusController

* Convert LibraryController, convert to flows, Known ISSUE with empty string being posted after setting the query upon creation of UI

* Fix issues with the post being tide to the SearchView queue which is not processed until shown. Add COLLAPSING state capture which should wrap this up.

* refactoring & enforce @StringRes for queryHint
2021-03-27 16:38:41 -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
e7a8107279 Reduce height of sheet when on color filter tab 2021-03-27 15:15:31 -04:00
arkon
bff73b1b40 Add tooltips to bottom reader menu items 2021-03-27 10:53:31 -04:00
arkon
64c47bbaed Split general and reading mode sheet settings 2021-03-26 22:31:21 -04:00
arkon
e0b7698d40 Merge reader settings and color filter sheets
Heavily influenced by fe2543b9d5 (diff-8f47d7b7b53769ac18c28fe9978140c6bef44709879567acab2c6ef3270cd3a8)
2021-03-25 23:10:22 -04:00
arkon
a01792ac9a Maybe make opening file picker for choosing backup file more reliable 2021-03-25 13:56:39 -04:00
arkon
3ba078f64c Use more common MIME type for protobuf 2021-03-25 13:46:53 -04:00
arkon
a16240f123 Show unread entries first when sorting by unread (closes #4711)
Based on b212f8233e
2021-03-24 09:27:00 -04:00
Jays2Kings
2ba60e9114 Added Start/Finished Date Support to AniList
Based on 1e3de8a67f

Co-Authored-By: Jays2Kings
2021-03-22 22:38:14 -04:00
Ken Swenson
472ce5a5e4
Fix migration due to variable shadowing (#4689) 2021-03-21 19:47:17 -04:00
arkon
99ba84c810 Handle null Anilist start dates (fixes #4685) 2021-03-20 16:36:31 -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
arkon
d912a42249 Fix chapters list getting updated from wrong thread (fixes #4505) 2021-03-20 15:35:02 -04:00
arkon
6d8c4fb8b1 Fix Bangumi search null image errors 2021-03-20 10:22:11 -04:00
arkon
a63cecbfcb Make tapping available extension row prompt install 2021-03-20 10:10:58 -04:00
arkon
4a5bceb4e4 Fix offline restore ignoring manga from not installed sources (fixes #4679) 2021-03-20 10:03:13 -04:00
Ken Swenson
b6e6f490e9
Implement migration for source search (#4657) 2021-03-19 23:40:09 -04:00
scb261
2145e878a4
Limit query for recent chapters to 500 (#4678) 2021-03-19 23:39:36 -04:00
arkon
609d8c9685 Add icons for reading mode toggle 2021-03-14 17:13:20 -04:00
arkon
2f08515455 Less janky enum iteration 2021-03-14 17:03:43 -04:00
scb261
7f450e185d
Use fetch date instead of upload date when querying recent chapters (#4645) 2021-03-14 16:38:21 -04:00
arkon
747879b4ec Remove __cfduid cookie check
As per email:

Cloudflare is deprecating the __cfduid cookie and the cf-request-id headers. The __cfduid cookie will be removed on 10 May 2021 and the cf-request-id headers will be removed on 1 July. We expect that most customers will not have to take action as a result of this removal. [...] Starting on 10 May 2021, we will stop adding a “Set-Cookie” header on all HTTP responses. The last __cfduid cookies will expire 30 days after that.
2021-03-14 16:24:14 -04:00
Riztard Lanthorn
4193870fa6
Library update freq: add 4 & 8 hours (#4557) 2021-03-14 16:22:10 -04:00
arkon
cdc5de3f1b Flip order of previous chapter reader transition text (closes #4608) 2021-03-14 16:18:52 -04:00
arkon
b5c2934270 Refactor LibraryUpdateService a bit for future changes 2021-03-14 16:08:00 -04:00
arkon
94f5117941 Remove online protobuf backup restore option 2021-03-13 18:45:22 -05:00
arkon
1e58b05ead Add reading mode toggle 2021-03-13 16:47:16 -05:00
arkon
938919bd9b Move reader setting related classes 2021-03-13 16:24:44 -05:00
arkon
b6b78994d8 Move clear history from advanced settings to history screen menu (closes #4613) 2021-03-13 16:09:12 -05:00
arkon
fddd8ce305 Add "my" locale 2021-03-13 16:00:13 -05:00
arkon
fde6b7af4f Disable sensor when using force orientation (closes #4618) 2021-03-13 15:47:43 -05:00
Soitora
d1c2eaf6d5
Update URL for Local Manga guide (#4641) 2021-03-13 11:38:06 -05:00
arkon
f51e32f39b Avoid crash during migration 2021-02-28 16:26:05 -05:00
arkon
ae42f59102 Hide subtitle in migration list of sources if no language set (i.e. uninstalled source) 2021-02-28 16:26:05 -05:00
Andreas
7a64bf55cb
Dual page split allow to have different setting for Paged and Webtoon (#4527) 2021-02-28 16:17:37 -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
Andreas
3a790f3d66
Add Right and Left to reader settings (#4489)
* Add Right and Left to settings

* Fix whoopsie and minor tweak to how the array is fetched
2021-02-15 12:06:03 -05:00
arkon
7382042288 Add Twitter link to About section 2021-02-15 11:58:25 -05:00
arkon
33992d80bf Add orientation toggle to bottom reader menu 2021-02-13 18:50:50 -05:00
arkon
89837e4ced Initial adoption of bottom reader menus from TachiyomiSY
Co-authored-by: Jobobby04 <jobobby04@users.noreply.github.com>
Co-authored-by: CrepeTF <CrepeTF@users.noreply.github.com>
2021-02-13 10:47:17 -05:00
arkon
8bb69c455b Allow clicking the toolbar to go to the manga
Co-authored-by: Jobobby04 <jobobby04@users.noreply.github.com>
2021-02-13 10:26:59 -05:00
arkon
2dae706198 Avoid crash when source list is animating 2021-02-12 17:31:17 -05:00
arkon
3eda2a220a Avoid rare crashes in settings search for ListPreferences 2021-02-12 17:22:01 -05:00
arkon
61e5440b7c Avoid crash when device fails to handle opening a URL 2021-02-12 17:02:37 -05:00
arkon
2e2663bad9 Avoid crash if activity is already dead 2021-02-12 16:55:14 -05:00
arkon
f5f592be91 Require minimum WebView v88, try to catch fatal errors too 2021-02-12 12:42:33 -05:00
arkon
7a373fb43a Minor download icon optimizations 2021-02-12 12:27:40 -05:00
arkon
aded11e599 Make backup restoring logic more sequential 2021-02-12 12:27:40 -05:00
arkon
41d7cee020 Remove ExperimentalSerializationApi opt-in annotations 2021-02-12 12:27:40 -05:00
arkon
a398c3fb81 Handle link for multisource extension commits (closes #4432) 2021-02-11 17:35:15 -05:00
arkon
2a454b44cc Adjust some scopes 2021-02-09 19:14:38 -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
arkon
5af68186d6 Clean up LibraryUpdateService a bit 2021-02-09 17:44:22 -05:00
arkon
545bc0e605 Open manga when clicking thumbnail in migration list (closes #4152) 2021-02-08 17:47:44 -05:00
arkon
291168f4de Remove unnecessary LayoutContainer implementations 2021-02-08 17:45:42 -05:00
arkon
9facb51f22 Add action to directly share crash log file from notification 2021-02-07 23:05:13 -05:00
arkon
5b7d8c5e37 Show locales in list of sources to migrate 2021-02-07 22:54:13 -05:00
Jobobby04
9f9f9872eb Fix legacy backups
(cherry picked from commit ded58541f5903c109b70799683829e26018d2af6)
2021-02-07 22:33:07 -05:00
arkon
3566072f4a Revert attempt to programmatically determine user agent string; fallback to Edge 2021-02-07 17:54:28 -05:00
arkon
b85cd86b24 Add Esperanto locale 2021-02-07 16:55:44 -05:00
arkon
79c3767fff Chapter backup optimization
From fc6d9aaf51 (diff-9872ccc3c9af14d2872ec99199409e60a11cb754ab23e733b1d45843778f7c95R24)
2021-02-07 16:20:07 -05:00
arkon
cf1609a429 Massage user agent string from WebView a bit more 2021-02-07 16:19:13 -05:00
arkon
1557f713f4 Don't restrict filter sheet height anymore 2021-02-07 10:49:08 -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
348c1ff29d Avoid some unnecessary re-renderings of download icons 2021-02-06 23:25:39 -05:00
arkon
717e55497f Fix downloads getting deleted when marked as unread 2021-02-06 22:48:06 -05:00
arkon
d84b5e8b46 Show help action when source fails to load 2021-02-06 13:09:56 -05:00
arkon
5f9ddf9ff5 Use AndroidX version of ContextThemeWrapper 2021-02-06 12:51:40 -05:00
arkon
bbee093c63 Remove some logic around old legacy backup versions + minor optimizations 2021-02-06 12:15:34 -05:00
arkon
e8c35ae4e1 Do a regular return to cancel update jobs instead of throwing an exception 2021-02-06 12:14:55 -05:00
arkon
1607658c30 Set clip data when sharing content URIs (closes #4198) 2021-02-06 09:43:33 -05:00
arkon
2e9ef373f3 Minor optimizations for restoring full backups
Based on fc6d9aaf51
2021-02-06 09:32:00 -05:00
arkon
7191552126 Avoid crash when changing spinner indeterminate state 2021-02-05 23:13:57 -05:00
arkon
9f2fe33ce0 Fix unreadable sheet tab text in light blue theme 2021-02-04 09:16:37 -05:00
arkon
13d25e0849 Don't automatically set MAL start date (closes #4349) 2021-02-01 22:39:41 -05:00
arkon
d5cfbef42b Minor cleanup 2021-01-31 14:46:35 -05:00
Andreas
535abcbb8b
Move tracking to a bottom sheet (#4364)
* Move tracking to a bottom sheet

* Give methods better names and remove unnecessary annotation
2021-01-31 14:43:43 -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
Taco
9bf452856c
Regenerate drawables (#4352) 2021-01-31 09:55:28 -05:00
arkon
17109ab760 Handle failures when updating metadata in library updater 2021-01-29 22:14:17 -05:00
arkon
7eef4f7fbf Apply bottom sheet dialog with restriction consistently 2021-01-28 09:10:15 -05:00
Andreas
0a10f66053
Unify history and update item (#4361)
* Unify history and update item

* Use card_radius
2021-01-27 18:28:02 -05:00
arkon
58860b51a2 Ignore failures when updating metadata as part of library update 2021-01-27 17:51:02 -05:00
arkon
3ee652b61a Disable Acra crash logs in dev builds 2021-01-27 09:17:40 -05:00
arkon
0ecfef3f70 Address unit test compilation errors
They don't actually run since they broke a long time ago (AndroidX + Roboelectric issues?), but it addresses the annoying red squigglies in Android Studio at least.
2021-01-26 09:05:15 -05:00
Taco
5f7e34b6a1
Update Okio, use more KTX stuff (#4353)
* Update Okio to 2.10.0

* Use some more KTX extensions
2021-01-26 09:02:53 -05:00
arkon
34cb24fe34 Update total number of chapters when refreshing MAL entries (fixes #4348) 2021-01-24 16:58:23 -05:00
arkon
1490112135 Parse correct object when finding existing MAL list item (fixes #4347) 2021-01-24 16:33:47 -05:00
arkon
c4716a3f4c Fix cancelling library updates not working 2021-01-24 16:11:45 -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
a93c0577ac Minor cleanup 2021-01-24 11:04:25 -05:00
arkon
e4dc35674d Perform metadata update in global scope 2021-01-24 10:33:29 -05:00
arkon
8a668ba7b9 Revert async metadata updates to fix lag when updating (fixes #4341) 2021-01-23 19:26:21 -05:00
arkon
ee9a68b040 Point to preview release for what's new 2021-01-23 17:43:25 -05:00
arkon
660e13b701 Remove some unused rx/coroutine bridge code 2021-01-23 17:18:43 -05:00
arkon
0685382083 Extract user agent string from WebView 2021-01-23 15:57:59 -05:00
arkon
04a993c997 Update trackers in parallel, update manga metadata asynchronously 2021-01-23 14:55:00 -05:00
arkon
7cae3095c4 Minor dependency updates 2021-01-23 13:23:49 -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
86b9d7e843 Remove usage of RxJava from LibraryUpdateService 2021-01-23 11:20:16 -05:00
Riztard Lanthorn
628bd5d6b4
add source name in download queue (#4338) 2021-01-23 10:15:30 -05:00
arkon
00285a782c Ignore error when cover is missing in Kitsu search results (fixes #4334) 2021-01-23 10:14:43 -05:00
arkon
16be469ecb Surface tracking search errors properly 2021-01-22 22:47:01 -05:00
arkon
7c7ff8165e Don't stop downloader after deleting downloads if it wasn't running (fixes #4309) 2021-01-22 17:52:10 -05:00
Clarence Castillo
496a476c13
Fix multi-select phantom anchor bug in manga chapters and library (#4201)
* Fix phantom anchor bug in manga chapters list when multi-selecting

* Fix phantom bug when long pressing selected items not at top of stack

* Fix phantom anchor bug in library page
2021-01-22 17:35:51 -05:00
arkon
cf7ec6aa76 Use proper method to clear notification actions 2021-01-21 18:21:21 -05:00
arkon
db2dd4b6c6 Add method for users to save error logs to a file 2021-01-21 18:21:03 -05:00
Andreas
2a5102a457
Fix Kitsu toasting "Logged in" when there is an error (#4329) 2021-01-21 18:05:22 -05:00
arkon
837d8f5f30 Delay restoring AppBar elevation on Android 5.0 (fixes #4311) 2021-01-18 17:24:23 -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
arkon
4044427d93 Add shortcut to see commit history for official extensions 2021-01-17 15:57:19 -05:00
arkon
f667f85fa5 More consistent injectLazy style 2021-01-17 15:40:26 -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
3319ccfd41 Move ACRA endpoint config to build.gradle.kts 2021-01-17 11:09:29 -05:00
arkon
878008e93b Reimplement MAL start/end date support 2021-01-16 16:03:19 -05:00
arkon
0cd551d4fd Revert removal of tracker start/end date 2021-01-16 15:48:20 -05:00
arkon
f85194ec46 Handle download cancelation from icon properly (fixes #4241) 2021-01-16 15:48:02 -05:00
arkon
271489bdfd Fix display mode not updating in source view 2021-01-16 11:30:27 -05:00
arkon
189f18b112 Simplify lookup for existing MAL list item 2021-01-16 10:51:17 -05:00
arkon
9670863a41 Show error when trying to download chapters from not installed source (closes #4283) 2021-01-10 11:11:53 -05:00
arkon
c9cf9cfff0 More coroutine tweaks 2021-01-10 11:01:10 -05:00
arkon
2ffbee3db2 Avoid using global scope where appropriate
Also fixes the crash in tracking when an exception is thrown during a refresh.
2021-01-08 18:05:51 -05:00
arkon
8e613d03e3 Address coroutine scope leaks in custom views 2021-01-07 19:16:26 -05:00
arkon
b18a794eca Use lifecycleScope directly 2021-01-07 19:12:30 -05:00
arkon
c620c924f9 Revert "Use flows instead of relays for extensions loading"
This reverts commit 07e76f35fa.
2021-01-07 19:06:34 -05:00
Andreas E
9db81a5a49
Fix navigation from feedback (#4238)
* Fix navigation from feedback (fixes #4237)

* Add additional enum values to NavigationRegion mainly for PagerViewer

Co-authored-by: arkon <arkon@users.noreply.github.com>
2021-01-07 19:05:38 -05:00
arkon
6fb7a85e8a Address more coroutine scope leaks 2021-01-07 18:15:57 -05:00
inorichi
36f81b4a62 Minor fixes regarding leaks 2021-01-07 15:19:00 +01:00
arkon
2caecc01b2 Fix crash when no chapters can't be loaded 2021-01-06 14:21:55 -05:00
arkon
2c9f8bb9ce Revert bad RxJava conversion that prevented tracking data to be updated in UI 2021-01-04 16:25:19 -05:00
arkon
efbefabb01 Reword unmetered network restriction for library updates 2021-01-04 16:12:34 -05:00
arkon
990fb22d3e Remove usage of RxJava from backup/restore 2021-01-04 15:30:05 -05:00
arkon
df7e0d2f2f Surface "NSFW" (includes things like ecchi) results in MAL search (closes #4249) 2021-01-04 15:16:08 -05:00
arkon
5cfda1b1bf Refactor bridged RxJava/coroutine calls in SearchPresenters 2021-01-04 15:08:36 -05:00
arkon
ac9bf1f3ff Refactor bridged RxJava/coroutine calls in MangaPresenter 2021-01-04 14:55:28 -05:00
arkon
7eb0868791 Remove use of RxJava from TrackPresenter 2021-01-04 14:47:23 -05:00
arkon
8a792e6d76 MAL: add way to search by list items' titles 2021-01-04 14:30:04 -05:00
arkon
95ce0e39ef Fix malformed extension URLs 2021-01-04 12:14:02 -05:00
arkon
17b70ab38c Refactor Kitsu API to remove Retrofit usage 2021-01-04 12:13:14 -05:00
arkon
07e76f35fa Use flows instead of relays for extensions loading 2021-01-04 11:09:31 -05:00
arkon
c06a932c95 Remove some OptIn annotations 2021-01-04 10:22:26 -05:00
arkon
7d713b87b1 Fully remove usages of RxJava from tracker classes
TODO: refactor usages to coroutines as well
2021-01-03 23:41:36 -05:00
arkon
2d0a5eb02c Convert more TrackService methods to coroutines 2021-01-03 23:33:21 -05:00
arkon
8d68859c2a Change MAL ID search prefix to "id:" 2021-01-03 23:21:45 -05:00
arkon
d11c72fd48 Replace global search context menu option with share target 2021-01-03 11:08:23 -05:00
arkon
135cf9960f Minor cleanup 2021-01-03 10:54:09 -05:00
Andreas E
3bf7c74f93
Navigation settings and split invert tapping for webtoon and pager (#4233) 2021-01-03 10:50:38 -05:00
Riztard Lanthorn
cea4911c4d
add date Format (#4236) 2021-01-03 10:47:23 -05:00
arkon
54dc01253d Replace usages of fetchChapterList with 1.x getChapterList API 2021-01-01 19:19:11 -05:00
arkon
4db9a90da2 Replace usages of fetchMangaDetails with 1.x getMangaDetails API 2021-01-01 19:08:12 -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
Clarence Castillo
71ece73d99
Direct user back to global search when coming from source search results (#4196) 2021-01-01 16:46:44 -05:00
arkon
3bb2102eb4 Include source name in backup restore error logs (closes #4230) 2021-01-01 16:43:32 -05:00
arkon
b7914909d0 Remove some unnecessary coroutine dispatcher switching 2020-12-31 18:37:43 -05:00
arkon
63398fe491 Implement click events for chapter download icons 2020-12-31 18:14:51 -05:00
arkon
bf32bf28da Use coroutines instead of rx for some MangaPresenter operations 2020-12-31 17:45:59 -05:00
arkon
dcb6bfb18d Remove some unused variables 2020-12-31 16:41:09 -05:00
arkon
141f9b7730 Handle last read page being above total page count (fixes #4010) 2020-12-31 11:21:39 -05:00
arkon
139a589ad6 Increase per-page limit when searching MAL manga list 2020-12-31 10:58:40 -05:00
arkon
591873a185 Update preview build links (fixes #4225) 2020-12-31 10:52:20 -05:00
arkon
97a308b114 Minor cleanup of some tracker observables 2020-12-31 10:51:23 -05:00
arkon
430714e67f Find existing entry in MAL list when binding 2020-12-31 10:50:50 -05:00
arkon
a49adbd09c Add ID search workaround for MAL tracking 2020-12-30 15:08:10 -05:00
arkon
3df98d576e Fix crash on updating trackers after reading with no network (closes #4207) 2020-12-29 09:21:18 -05:00
arkon
cef1c4b8a1 Tweak manga info header backdrop 2020-12-27 17:58:03 -05:00
arkon
2e8791a101 Refactor tracker response parsing 2020-12-27 17:46:14 -05:00
arkon
0e2b8b10d1 Show download progress in download icons 2020-12-27 16:50:25 -05:00
arkon
3cb64669e4 Animate download icon 2020-12-27 16:41:28 -05:00
arkon
bc0d32f330 Add Telugu to language setting 2020-12-27 15:50:37 -05:00
arkon
6378a41b6d Minor cleanup of UpdatesHolder 2020-12-27 15:34:14 -05:00
arkon
23bf7faf9f Hide chapter download icons for local manga 2020-12-27 15:25:40 -05:00
arkon
01ff3af63f Add error state to chapter download icons 2020-12-27 10:44:08 -05:00
arkon
8f98055e9e Refactor response parsing helper function 2020-12-27 10:22:24 -05:00
arkon
84ae61f72c Refactor download states into enum 2020-12-27 10:20:14 -05:00
arkon
6dd280205b Initial chapter download icon implementation 2020-12-27 10:13:13 -05:00
arkon
1365d553a4 Log exception on invalid download directory issue 2020-12-26 18:05:39 -05:00
arkon
61a594493c Remove usage of Retrofit for update check and extensions list 2020-12-26 16:59:24 -05:00
arkon
62ab70f889 Remove unnecessary BaseWebViewActivity class 2020-12-26 11:44:21 -05:00
arkon
eaccfdde59 Replace circular ProgressBars with Material component 2020-12-26 11:24:10 -05:00
arkon
be3e31ddc4 Try to avoid crashing when unable to get backup filename for some reason 2020-12-26 10:40:45 -05:00
arkon
ea33179a95 Convert tracker add/update/login methods to coroutines 2020-12-24 17:50:28 -05:00
arkon
6fcf6ae1f5 Use coroutines for Bangumi and Shikimori APIs 2020-12-24 17:23:10 -05:00
arkon
f2a9247b68 Remove usage of Gson in Kitsu tracker 2020-12-24 17:02:33 -05:00
arkon
dc3ed7fffc Use coroutines for Anilist API 2020-12-24 16:55:04 -05:00
arkon
271de31d51 Migrate Kitsu API to coroutines and kotlinx.serialization 2020-12-24 16:39:28 -05:00
arkon
1268caf3e0 Make OkHttp coroutine calls always throw exceptions on errors 2020-12-24 15:36:57 -05:00
arkon
c0cef58e39 Surface MAL HTTP errors properly 2020-12-24 15:09:10 -05:00
arkon
d363d205c3 Fix trackers after MAL not updating 2020-12-21 17:31:31 -05:00
arkon
2fd5a9e883 Filter out novels from MAL search results 2020-12-21 17:24:35 -05:00
arkon
e7ef974a39 Format MAL search result status/type better 2020-12-21 17:24:25 -05:00
arkon
0b62fa8b76 Bump versionCode so next build will force MAL logout 2020-12-21 17:10:08 -05:00
Taco
e2054a0ab7
Update NDK & buildTools, fix deprecated Parcelize (#4157)
* Update buildTools and NDK

* Fix deprecated Parcelize
2020-12-19 18:40:44 -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
450bef278b Add forced MAL logout for next release migration 2020-12-18 23:20:42 -05:00
arkon
0affc0d58b Migrate to official MyAnimeList API (closes #4140) 2020-12-18 23:18:31 -05:00
arkon
3d153b6c8e Don't surface hidden settings when searching 2020-12-15 23:17:20 -05:00
arkon
04fff91e23 Update app repo URL 2020-12-15 15:56:16 -05:00
arkon
28a23452f2 Update extensions repo URL 2020-12-15 15:48:06 -05:00
arkon
6d403851cf Apply theme to OAuth login redirect activities 2020-12-14 23:00:01 -05:00
arkon
395a749bce Misc tracker code cleanup 2020-12-14 22:56:33 -05:00
arkon
2cc2a90941 Refactor CustomTabsIntent creation 2020-12-13 22:30:27 -05:00
arkon
c5ca739b49 Fix loading fallback thumbnails in browse view (closes #4127) 2020-12-13 20:47:48 -05:00
arkon
00fe4cdf2d Minor code cleanup 2020-12-13 18:11:18 -05:00
arkon
69be3e1e87 Complete migration off of Kotlin synthetics 2020-12-13 18:01:51 -05:00
arkon
2cb3984d68 Show MAL relogin message on update, localize error message 2020-12-13 17:52:21 -05:00
arkon
5901978889 Use view binding for date headers 2020-12-13 17:47:29 -05:00
arkon
4880741b8b More crash fixes 2020-12-13 17:18:28 -05:00
arkon
e8627800fe Remove bundled fallback file picker 2020-12-13 12:42:10 -05:00
arkon
907fbb94a2 Require WebView 86+ 2020-12-13 11:27:05 -05:00
arkon
fd2028557e Some crash fixes 2020-12-13 11:00:46 -05:00
arkon
91fa1ec6b2 Suppress some deprecation warnings 2020-12-12 23:50:28 -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
1a439ecece Remove source overwrite logic since built-in sources no longer exist 2020-12-12 16:15:18 -05:00
arkon
836aec4396 Flip left/right key events for Webtoon viewer (fixes #4111) 2020-12-12 15:50:56 -05:00
arkon
0b5dec9bab Revert "Hide incomplete NSFW source labelling settings"
This reverts commit a3b1690d38.
2020-12-12 11:32:55 -05:00
arkon
a3b1690d38 Hide incomplete NSFW source labelling settings 2020-12-12 11:28:50 -05:00
arkon
a3bad75899 Force MAL logout on update 2020-12-12 11:26:42 -05:00
arkon
c950595fe3 Revert "Distinguish between no results and loading when sorting global search results"
This reverts commit 2be9871d05.
2020-12-11 21:58:04 -05:00
arkon
8ffd3a8ed2 Don't scroll to top when navigating back/forward in WebView 2020-12-10 09:15:09 -05:00
arkon
b6e246c6b2 Add text selection shortcut to invoke global search (closes #4058) 2020-12-08 22:48:04 -05:00
arkon
59859e124f Update to Kotlin 1.4.21 and kotlinter 3.3.0 2020-12-08 22:31:48 -05:00
arkon
2bb7a33bc3 Use WebView auth flow for MAL (fixes #4100) 2020-12-08 22:21:23 -05:00
Taco
c2b8fea291
Update libraries, some lints (#4099)
* Update some plugins

* Fix some miscellaneous lints
2020-12-08 22:21:08 -05:00
arkon
560f0bba5c Use more up-to-date fork of junrar 2020-12-07 22:13:53 -05:00
arkon
8a44b1dabe Add Galician locale 2020-11-29 17:14:05 -05:00
arkon
b39191ff50 Fix annotations package name 2020-11-29 17:08:20 -05:00
arkon
6664dfb048 Use regular minified extensions JSON instead of explicitly handling gzip encoding
Turns out GitHub *does* do gzip encoding by default, it just doesn't show up in the header logs for some reason...
2020-11-29 16:01:16 -05:00
arkon
3133a63cf8 Fix crash when a preference doesn't have a title (e.g. info preference) 2020-11-29 15:01:13 -05:00
Andreas E
c9c0f3d014
Enhance incognito mode (#4073)
* When in Incognito Mode don't set lastUsedSource

* When in Incognito Mode don't save chapter progress

Still allows tracking and mark as read when reaching last page

* When in Incognito Mode don't mark as read (overwritten if hasTrackers)
2020-11-29 11:15:15 -05:00
arkon
e048d66f74 Revert edge to edge
This was a bigger headache than it was worth. To note, phone landscape wasn't considered, so the navbar overlaps the content on the side. Additionally, the ability to programatically control the navbar scrim is missing, so it'd have to manually be added.
2020-11-29 11:08:06 -05:00
arkon
66e3fa7df8 Replace more Kotlin synthetics 2020-11-29 11:07:06 -05:00
arkon
019a0f31c7 Replace more Kotlin synthetics 2020-11-28 15:54:53 -05:00
arkon
749c2071af Replace Kotlin synthetic views in viewholders 2020-11-28 15:24:40 -05:00
arkon
322d66d282 Replace more usages of Kotlin synthetic views 2020-11-28 14:56:57 -05:00
arkon
aa98cd0da0 Fix keyboard sometimes affecting bottom inset padding 2020-11-28 13:02:15 -05:00
arkon
c8316c7254 Move NSFW source setting into Browse settings 2020-11-28 12:43:17 -05:00
arkon
6b9180844d Fall back to filename in backup creation notification if path not available 2020-11-27 21:38:26 -05:00
arkon
c0e4863229 Fix restore in Android 11 2020-11-27 21:36:42 -05:00
arkon
2be9871d05 Distinguish between no results and loading when sorting global search results 2020-11-27 21:09:44 -05:00
arkon
776f6a9a16 More bottom inset padding fixes 2020-11-27 21:05:06 -05:00
arkon
60b2a4ea9d Handle bottom insets in FAB controllers too 2020-11-22 23:08:41 -05:00
arkon
56e1e3e205 Further abstract how bottom navbar padding is applied 2020-11-22 22:57:58 -05:00
arkon
0f805cd45e Handle bottom navbar padding when drawing edge to edge 2020-11-22 22:48:38 -05:00
arkon
1d7c692e89 Create extension function for applying system insets 2020-11-22 22:30:25 -05:00
arkon
38bc8ec6b4 Add global search progress bar (closes #3727) 2020-11-22 16:54:19 -05:00
arkon
2154e3aa2d Remove 10 results per source limit from global search (still limited to 1 page) 2020-11-22 16:40:53 -05:00
arkon
56c19e57a9 Add help shortcut for source migration (closes #3951) 2020-11-22 16:30:20 -05:00
arkon
3fa70dade3 Use ViewCompat for setting MainActivity inset paddings 2020-11-22 15:13:12 -05:00
arkon
368c30a2cc More restore code cleanup, remove some SY-specific logic 2020-11-22 12:43:23 -05:00
arkon
781971ee81 Set preview/experimental compiler flags instead of using annotations 2020-11-22 11:43:16 -05:00
arkon
1140316d1b Pad bottom of MoreController so bottom nav doesn't overlap content 2020-11-21 18:11:17 -05:00
arkon
cf6c48744a Some more code cleanup 2020-11-21 15:30:04 -05:00
arkon
eed6db8e92 Default automatic legacy backups to true for now 2020-11-21 15:12:04 -05:00
arkon
858664bfd7 Some more code cleanup 2020-11-21 15:09:56 -05:00
arkon
eceac4d6e3 Merge restore entry points, avoid unnecessary new strings 2020-11-21 12:35:04 -05:00
arkon
47a172df1f Remove "full_" from v3 backup default file names 2020-11-21 12:22:46 -05:00
arkon
f2c0732c40 Minor cleanup 2020-11-21 12:22:25 -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
a150762c63 Fix manga info description scrim on Android 5 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
122b2b1a8e Draw under navbar in Android 9+ 2020-11-15 13:30:49 -05:00
arkon
7dc70c9eab Add 1.x page model converters 2020-11-07 19:22:01 -05:00
arkon
e32445f2cf Hide locale subtitle for local source 2020-11-07 19:21:42 -05:00
arkon
d21c147203 Singleton instance of Json serializer 2020-11-01 15:12:16 -05:00
arkon
9b10e851d1 Fix Bangumi login (fixes #3994) 2020-11-01 15:00:21 -05:00
arkon
7310ec4fe4 Use 1.x API to fetch manga details in browse view 2020-10-31 10:10:52 -04:00
arkon
deb1ed5623 Add Uzbek locale 2020-10-30 17:55:23 -04:00
arkon
95ec903862 Fix Bangumi API response deserialization (fixes #3977) 2020-10-29 17:51:18 -04:00
arkon
2ab6af6471 Consume and extend 1.x Source API
TODO: make the rest of the app actually call the 1.x functions
2020-10-26 10:52:28 -04:00
Andreas E
9493577de2
Replace language code in Global Search with secondary text (#3972)
Replace language code in Global Search with secondary text
2020-10-25 15:25:58 -04:00
arkon
837ce62844 Janky workaround for collapsed global search covers 2020-10-24 13:31:29 -04:00
Andreas E
a2b1acd70f
Update Global search layout to match Library and Browse (#3892)
* Update Global Search card item to be comfortable with rounded corners

* Remove card background
2020-10-24 13:07:06 -04:00
Andreas E
f1350bc33e
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
2020-10-24 13:06:23 -04:00
arkon
6af0eb4068 Fix Shikimori login (closes #3966) 2020-10-23 18:02:48 -04:00
arkon
ed41604f56 Show locale in sources list items 2020-10-12 17:35:08 -04:00
Soitora
9f05d563f9
Darken the description colors (#3858)
* Darken the description colors

* Restore UpdatesHolder.kt

* Use the same color as the Extensions subtitles
2020-10-12 16:59:44 -04:00
arkon
99b96d80d0 Auto-formatting 2020-10-12 16:58:48 -04:00
Taco
60755d0c26
Use some more KTX and Compat stuff (#3933)
* Use more KTX extensions

* Update Android Studio

* Use more Compat classes
2020-10-12 16:46:25 -04:00
arkon
f5aa36c787 Migrate to kotlinx.serialization for Bangumi 2020-10-11 15:58:59 -04:00
arkon
f8d82cb052 Migrate to kotlinx.serialization for Shikimori 2020-10-11 15:58:43 -04:00
arkon
980feb6c96 Migrate to kotlinx.serialization for download store and deleter 2020-10-11 15:26:57 -04:00
arkon
e7d6605490 Migrate to kotlinx.serialization for Anilist 2020-10-11 15:26:30 -04:00
arkon
7a476abb53 Migrate to kotlinx.serialization for extensions and update fetching 2020-10-11 14:53:02 -04:00
arkon
b88e444cbc Bump minimum WebView version to 84 2020-10-10 16:35:08 -04:00
jobobby04
efc951191d
History fixes (#3921)
(cherry picked from commit 776a4b2a2414f5f35b28f5d8c830baca6351e123)
2020-10-10 16:05:29 -04:00
arkon
842295348e Add Amharic locale 2020-10-04 13:10:40 -04:00
arkon
4cbe497770 Prevent tag search if browsing from latest (sort of closes #3625) 2020-10-03 13:04:38 -04:00
arkon
0904692f15 Set activated states for manga info favorite/tracker buttons 2020-10-03 12:55:51 -04:00
arkon
65bacd288b Reorder chapter filters to better match library filters 2020-10-03 12:32:49 -04:00
Andreas E
11ab3b2c2e
Remove from queue after read (#3870)
* Add option to remove chapter from download queue after marked as read

* Begone bug

There was a bug when one queued a new download to the downloader. Which resulted in getChapterDownloadOrNull() would not find the corresponding download for the provided chapter

* Fix review comment

* Remove preference and just remove from queue
2020-10-03 12:29: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
cf39ae0000 Add banner for Incognito Mode 2020-10-03 10:53:26 -04:00
arkon
7194f65203 Show downloaded only banner in all views 2020-10-03 10:48:53 -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
jobobby04
e88cbc2769
Fix deleting history not refreshing the view (#3882)
Fix deleting history not refreshing the view
2020-10-02 13:19:16 -04:00
arkon
b5986b509e Fix chapter filter icon tinting 2020-09-27 19:16:46 -04:00
jobobby04
9d2adcd512
Add infinite history and search history (#3827)
* Add infinite history and search history

* Cleanup code
2020-09-27 18:17:14 -04:00
arkon
fb3756420b Use tristate checkboxes for chapters list filters 2020-09-27 18:13:20 -04:00
arkon
caeab0a63b Clean up bottom nav bar scrolling behavior toggling 2020-09-27 13:42:49 -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
a3c598a3e1 Remove card backgrounds from browse lists 2020-09-26 19:03:46 -04:00
arkon
79bbc99882 Shorten settings search package name 2020-09-26 18:27:12 -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
arkon
01ad405dd2 Center reader transition text properly (fixes #3819) 2020-09-20 12:56:04 -04:00
arkon
88aea311f8 Remove support for backup v1 2020-09-20 10:35:05 -04:00
arkon
477aedbffa Minor updates 2020-09-20 10:34:22 -04:00
arkon
b898442fe3 Add sah locale (closes #3818) 2020-09-20 10:31: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
7641bb4d0d Fix downloaded only filter 2020-09-15 17:53:01 -04:00
arkon
687f3d48ea Tri-state library filters (closes #1814)
Based on https://github.com/inorichi/tachiyomi/pull/2127.

Co-authored-by: hXtreme <hXtreme@users.noreply.github.com>
2020-09-14 17:52:00 -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
arkon
13930d3706 Revert "Hide parental controls section for release"
This reverts commit 76c795d0d0.
2020-09-14 10:48:22 -04:00
arkon
76c795d0d0 Hide parental controls section for release 2020-09-14 10:46:46 -04:00
arkon
76f6fe4601 Use Kolinter Gradle plugin for linting instead of ktlint directly 2020-09-13 18:48:20 -04:00
arkon
ca1373f36b Check GitHub for preview release updates instead of inorichi's server 2020-09-13 10:53:51 -04:00
arkon
af47103707 Replace deprecated system window insets usage 2020-09-12 15:39:51 -04:00
arkon
c466baaa25 Remove list dividers 2020-09-12 15:39:26 -04:00
Andreas E
9f260c3513
Always show missing chapter warning if there are missing chapters (#3755)
* Always show missing chapter warning if there are missing chapters

* Change function parameter names
2020-09-07 16:40:05 -04:00
lmj0011
18061d1077 - retain search query when navigating *away* from SettingsSearchController
- keep `searchItem` in `expandActionView` state until user goes back (fixes the empty view in `SettingsSearchSearchController` issue)
2020-09-06 23:59:41 -05:00
mpm11011
381c061ebc Adding more UI polish, add comments for future enhancements. 2020-09-06 11:32:03 -04:00
mpm11011
d37341d7d0 Inlined non-reused key strings. 2020-09-05 16:20:45 -04:00
mpm11011
a5098e5b5b Code review cleanup and refactoring. 2020-09-05 14:28:41 -04:00
arkon
b55d394a1f Fix text alignment in transition view when no more chapters available 2020-09-05 10:31:49 -04:00
arkon
86e59977de Refactor common chapter transition views into separate view 2020-09-04 16:25:08 -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
scb261
4b493ebbaf
Change sources sort to case-insensitive (#3743) 2020-09-03 22:20:27 -04:00
lmj0011
29ab99aa1f - moved call to SettingsSearchHelper.initPreferenceSearchResultCollection() into SettingsSearchController 2020-08-30 22:21:32 -05:00
mpm11011
d53719b79e Limiting search to settings menu only, localized breadcrumb string, and code cleanup after code review. 2020-08-30 16:35:21 -04:00
arkon
8bedc8f456 Move share manga button to toolbar menu 2020-08-29 17:13:02 -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
lmj0011
78072ad285 - implement prefernce highlighting after settings search 2020-08-28 12:52:30 -05:00
lmj0011
437a34b5dc - initialize SearchResultCollection once in Activity.onCreate 2020-08-27 00:53:50 -05:00
mpm11011
3ebea4c305 Add search button to MoreController, stop infinite recursion. 2020-08-26 23:07:59 -04: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
mpm11011
5b5ea5ab8a Remove unneeded SettingsControllerFactory. 2020-08-26 20:53:56 -04:00
arkon
e90b0aaf8b Adopt OneWayFadeChangeHandler from SY
From d86f3ffad8
2020-08-23 10:42:20 -04:00
arkon
fe7c7e72f5 Filter out hidden directories for local source (closes #3706) 2020-08-22 17:33:04 -04:00
arkon
9ba11a585f Adopt tab/controller transitions from SY
Original author: @jobobby04
2020-08-22 13:03:39 -04:00
arkon
9920ff617b Clean up X-Requested-With change
This only really affects the initial request, subsequent requests may still use the package name.
2020-08-22 12:49:00 -04:00
armangido
3f1355c413
Update WebViewActivity.kt (#3617)
This code added is for some extension that blocks tachiyomi, by tricking it that it was sent by a android browser, nothing major changes,
2020-08-22 12:37:21 -04:00
lmj0011
8c82b766e3 - implement searchable settings
- `SettingsController.setupPreferenceScreen` must return a PreferenceScreen
2020-08-19 10:28:04 -05:00
arkon
4c8665c9f0 Don't enqueue bookmarked chapters for deletion (fixes #3691) 2020-08-18 17:47:07 -04:00
arkon
4ef25c75b7 Use core-ktx for bolding chapter transition text 2020-08-18 17:40:17 -04:00
mpm11011
22518f173f Adding class stubs for settings search, UI elements. 2020-08-16 19:11:23 -04:00
arkon
64bdfabbd8
Revert ktlint update, unrevert Gradle and PR build workflow reverts (#3681) 2020-08-15 16:44:46 -04:00
arkon
4a136ef2aa Automatic linting fixes 2020-08-13 09:02:15 -04:00
arkon
c3084ac43a Unhide parental controls settings 2020-08-12 22:34:00 -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
748a720199 Lift toolbar on scroll in extension details and manga controllers 2020-08-10 12:04:51 -04:00
arkon
8db34eb3dd Allow annotating SourceFactory with @Nsfw to block all sources within it 2020-08-10 11:54:31 -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
b6a1e89535 Minor cleanup 2020-08-09 12:05:04 -04:00
arkon
cce919750a Minor rewording of chapter deletion settings 2020-08-09 12:04:56 -04:00
arkon
9376b223bb Bubble up sources with results in global search (closes #3598) 2020-08-09 11:58:50 -04:00
arkon
3e6b0117fd Swallow errors when trying to determine available disk space when downloading (closes #3603) 2020-08-09 11:39:18 -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
8bab1d9798 Add mark as read/unread to library (closes #156)
Adapted from e51276a1ac
2020-08-08 12:16:37 -04:00
arkon
c1dfdeb500 Fix MAL 0/10 scores (closes #3623) 2020-08-06 19:14:24 -04:00
arkon
dda7e677a5 Dismiss add manga snackbar when leaving controller (closes #3614) 2020-08-06 19:05:07 -04:00
arkon
b1fb401f63 Warn before restoring backup if trackers aren't logged in 2020-08-05 22:46:37 -04:00
arkon
885ace111e Fix toolbar being expanded when opening preference dialogs 2020-08-04 08:56:30 -04:00
arkon
885552b792 Move tracker setting dialogs 2020-08-03 23:04:49 -04:00
arkon
4f02872a84 Minor cleanup 2020-08-03 23:03:31 -04:00
arkon
ecec1bd102 Revert "Use insetter library for handling inset padding" (fixes #3586)
This reverts commit 3ddd1033c3.
2020-08-03 16:55:41 -04:00
arkon
060f0682f4 Fix snackbars not being in viewport properly 2020-08-03 14:12:34 -04:00
arkon
88032e11df Use dialog to show what's new release info 2020-08-03 14:08:35 -04:00
arkon
493c8b0943 Adjust vertical reading mode tap zones (closes #3551)
Basically L shapes, where top/left goes back, bottom/right goes forward, and middle opens the menu.
2020-08-03 12:17:49 -04:00
arkon
af2ef0621a Remove Tagalog translations (closes #3579) 2020-08-03 11:20:06 -04:00
arkon
095461e31b Explicitly dismiss progress notification on downloader stop 2020-08-03 11:15:33 -04:00
arkon
3ddd1033c3 Use insetter library for handling inset padding 2020-08-02 23:09:18 -04:00
arkon
912687ac78 Adjust download badge color again 2020-08-02 23:03:24 -04:00
arkon
40a9595012 Request gzipped version of extensions repo 2020-08-02 22:55:42 -04:00
arkon
12ff37d052 Fix manga title disappearing in toolbar when pushing another controller 2020-08-02 17:46:15 -04:00
arkon
4857073f30 Revert "Use AndroidX WebKit library"
This reverts commit 7e7eb9f39f.
2020-08-02 16:12:05 -04:00
arkon
ea3b8767de Fix crash when filter groups contain items with identical names (closes #3568) 2020-08-02 12:52:40 -04:00
arkon
8e8c30c1eb Move download warnings/errors to separate notification channel 2020-08-02 12:16:51 -04:00
arkon
ad9f646102 Fix downloads not working for custom SD card paths (closes #3564) 2020-08-02 11:52:37 -04:00
arkon
2ef277bcef Don't show completed notification if download error notification was shown 2020-08-02 10:53:17 -04:00
arkon
9708d84e60 Fix dividers in migrate list 2020-08-01 18:28:48 -04:00
arkon
4efc195548 Fix last used source pinned status 2020-08-01 18:23:46 -04:00
arkon
0d15cbe334 Filter out chapter entries with duplicate URLs (fixes #3552) 2020-08-01 16:35:52 -04:00
arkon
85ed7a7457 Fix for reader crash in < Android 9 2020-08-01 12:10:28 -04:00
arkon
6a5af438dd Temporarily unrevert crop borders unification (closes #3487)
Reverts 1920568057
2020-07-31 14:59:34 -04:00
arkon
ccc0a61158 Shift WebView checks to necessary places only to allow for basic usage 2020-07-31 14:27:35 -04:00
arkon
e990ad25eb Fix tap region for manga summary 2020-07-31 12:58:13 -04:00
arkon
98a4d1e763 Actually fix library search properly 2020-07-31 12:54:23 -04:00
arkon
f762598c5c Fix library search query being lost when returning (closes #3473) 2020-07-31 12:18:47 -04:00
arkon
ec56c27071 More core-ktx usages 2020-07-31 10:29:32 -04:00
arkon
eb0e0a1952 Use Kotlin extensions for preference editing 2020-07-30 23:04:50 -04:00
arkon
01a837fde6 Make source options dialog into a controller to retain state 2020-07-30 22:46:35 -04:00
arkon
b9488645d4 Hide cutout option when appropriate in reader settings sheet (closes #2982) 2020-07-30 22:38:10 -04:00
arkon
99710b45d1 Fix download status updates not appearing in chapters list (fixes #3358) 2020-07-30 22:22:37 -04:00
arkon
3813743e3d Split download notifications into progress and complete channels 2020-07-29 21:57:43 -04:00
arkon
9bb2334b69 Replace VectorDrawableCompat.create() with AppCompatResources.getDrawable()
Fixes crash when loading pin icon in Android 5/6.
2020-07-29 18:36:28 -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
b0106aa420 Fix getting stuck in chapter loop when chapters have identical URLs 2020-07-27 15:59:15 -04:00
arkon
33e5fea96c Explicitly destroy webview on activity destroy 2020-07-26 17:47:43 -04:00
arkon
f0a1dcd120 Prevent spamming updates with newly favorited manga 2020-07-26 17:16:00 -04:00
arkon
26d5a87bef Fix source item flashing when pinning 2020-07-26 17:09:56 -04:00
arkon
52ae208df3 Show lang code in source long press dialog 2020-07-26 16:31:31 -04:00