Commit Graph

2778 Commits

Author SHA1 Message Date
Hunter Nickel
24b967ad5c
Fix start/resume fab showing up when entering and then exiting action mode (#5735) 2021-08-17 22:44:35 -04:00
Hunter Nickel
faef35ec47
Add check for current controller before setting extension update tab badge (#5733) 2021-08-16 11:58:30 -04:00
Andreas
326d4c2641
Fix today still being displayed even though relative time is off (#5732) 2021-08-16 10:28:40 -04:00
Riztard Lanthorn
83436c9550
add Theme "Teal & Turquoise" (#5681)
* add Theme "Teal & Turquoise"

* re sorting & change tertiary dark

* use alpha on ripple color & capitalize
2021-08-16 10:15:28 -04:00
arkon
071bad1232 Use separate string for toRelativeString "Today"
Apparently 0 quantity is ignored for some locales...
2021-08-15 17:42:31 -04:00
arkon
ae1a76da2b Use toRelativeString in Updates and History headings 2021-08-15 17:42:06 -04:00
Andreas
57a5862840
Use relative time in ChapterHolder (#5719)
* Use relative time in ChapterHolder

Similar to how J2K does it

* Use custom implementation for relative time

* Changes based on review comments
2021-08-15 17:07:48 -04:00
Arraiment
91fbccdbaa
Allow FilterList to be passed with default values (#5716) 2021-08-15 17:06:32 -04:00
Long
0ab0dd95ae
DNS-over-HTTPS (Adguard) (#5715)
* Update DohProviders.kt

* Update NetworkHelper.kt

* Update SettingsAdvancedController.kt

* fix typo

* Fix typo

* Fix typo
2021-08-15 11:20:52 -04:00
Hunter Nickel
4c8dfd0c0c
Add toggle to invert page color in reader color filter settings (#5713) 2021-08-15 10:58:01 -04:00
Ivan Iskandar
84d546b724
Set expanded cover dimension ratio from the source image (#5721)
Avoids cropping.
2021-08-15 10:53:25 -04:00
arkon
79da33b597 Open tracker page when clicking logo (closes #5624) 2021-08-15 10:38:10 -04:00
arkon
7d67450e58 Always re-setup background jobs on migration runs 2021-08-13 18:28:07 -04:00
arkon
8aa11951bf Do background app/extension checks less frequently
Since the in-app checks occur at least once a day anyway.
2021-08-13 18:24:21 -04:00
arkon
f23f22ab01 Add in-app app update check 2021-08-13 18:18:53 -04:00
Hunter Nickel
d1bb0fdf1d
Apply app theme styling to reader page errors and progress dialog (#5705) 2021-08-13 15:44:42 -04:00
Ivan Iskandar
5e77ae208d
Use correct color for reader loading indicator (#5685)
* Revert "Revert "Use correct color for reader loading indicator (#5645)" (fixes #5669)"

This reverts commit a4eba50c

* Fix crash on older APIs
2021-08-09 17:48:28 -04:00
arkon
1d10d29fa9 Replace AboutLibraries activity with custom controller 2021-08-07 11:50:20 -04:00
Andreas
7907a4fc24
Add ability to tweak auto hide sensitivity in Webtoon Reader (#5650)
* Tweak threshold

* Put setting under Webtoon instead

Because it only affects Webtoon related viewers
2021-08-07 10:34:47 -04:00
arkon
2f94f62a56 Merge branch 'fix-12' into master
# Conflicts:
#	.github/ISSUE_TEMPLATE.md
#	.github/ISSUE_TEMPLATE/report_issue.yml
#	.github/ISSUE_TEMPLATE/request_feature.yml
2021-08-06 17:33:24 -04:00
arkon
a4eba50cfd Revert "Use correct color for reader loading indicator (#5645)" (fixes #5669)
This reverts commit 7a1b6142df.
2021-08-06 17:30:51 -04:00
arkon
03980b2f27 Remove ability to set in-app language differently from system's 2021-08-06 16:45:40 -04:00
arkon
b9736df7e0 Re-enable preview build things 2021-08-06 15:38:16 -04:00
arkon
ab46bd56b0 Remove janky tracker icon UI 2021-08-06 14:55:45 -04:00
Ivan Iskandar
7a1b6142df
Use correct color for reader loading indicator (#5645)
Night theme color will be used when black or gray background color is used.
2021-08-06 14:22:04 -04:00
Andreas
fd45de5c58
Fix weird behaviour in library when switching display mode (#5640) 2021-08-05 17:52:45 -04:00
Ivan Iskandar
bcaa9674fe
Fix forced secure screen disabled after disabling incognito (#5634) 2021-08-05 17:52:20 -04:00
Ivan Iskandar
40aa3b7e18
Fix wonky webtoon layout when image is loaded at the top of the screen (#5660) 2021-08-05 17:51:03 -04:00
Ivan Iskandar
5aea21a194
Remove reader page number inset margin (#5661) 2021-08-05 17:50:37 -04:00
arkon
b5e118e2b4 Group advanced battery optimization setting entries 2021-08-05 17:47:52 -04:00
Ivan Iskandar
ff2a4e6952
Change BottomNavigationView behavior (#5603)
Similar to app bar's scroll behavior
2021-07-31 12:05:24 -04:00
Andreas
7660751f7f
Don't hide menu when scrolling through with ReaderSeekBar (#5611) 2021-07-31 12:04:13 -04:00
Hunter Nickel
41c060e28b
Add functionality to open SettingsMainController when double-tapping the "more" button (#5633) 2021-07-30 18:14:16 -04:00
Ivan Iskandar
a3090e62f5
Fix reader activity not using preferred language (#5630) 2021-07-30 18:13:50 -04:00
Ivan Iskandar
39b7024be0
Fix webtoon page takes up entire screen even if it's smaller (#5622) 2021-07-29 09:16:01 -04:00
Gauthier
20264eecb9
fix regression in cover fetching (#5621)
introduced in https://github.com/tachiyomiorg/tachiyomi/pull/4870
this was previously done here: 7d23fd8ef5/app/src/main/java/eu/kanade/tachiyomi/data/glide/MangaThumbnailModelLoader.kt (L95) as part of https://github.com/tachiyomiorg/tachiyomi/pull/2908

this impacts Komga extension, where server url is manually provided by the user, but due to auto-correct on mobile keyboards the `http` prefix sometimes get capitalized to `Http`.
2021-07-28 08:25:35 -04:00
Ivan Iskandar
cc55453076
ReaderProgressIndicator: Set indeterminate as default state (#5605)
Will also set to indeterminate if progress is 0.
2021-07-27 17:30:35 -04:00
Ivan Iskandar
00ac632d8f
Fix list scrolling on quad-state dialog (#5602) 2021-07-24 12:14:46 -04:00
arkon
649209890d Use chooser intent for sharing saved pages 2021-07-24 11:56:55 -04:00
arkon
f2fca0f13d Remove unnecessary MultiDex library 2021-07-24 11:54:53 -04:00
FlaminSarge
4084d5e69a
Revert changes to last_update behavior from #5436 (#5590) 2021-07-24 11:32:48 -04:00
arkon
0e4ce0f1ae Relax MIUI backup/restore warning 2021-07-24 11:14:39 -04:00
Ivan Iskandar
c42d517f6b
Apply default night mode earlier (#5593) 2021-07-24 11:14:25 -04:00
Andreas
356cd4ef52
Auto hide reader menu when user starts reading again (#5578)
* Hide reader menu when user starts reading again

* Hide menu on zoom and scrolling around during zoom

Didn't work for webtoon

* Only listen when menu is visible
2021-07-21 17:58:32 -04:00
FlaminSarge
88619145d8
Group 'Source not installed' cases in library update error log (#5589) 2021-07-21 17:57:33 -04:00
Ivan Iskandar
6ba779fb7a
Reader loading progress indicator changes (#5587)
* Use CircularProgressIndicator on PageHolder

Manually rotate the CircularProgressIndicator inside a wrapper view instead of
drawing our own custom indicator.

* Use CircularProgressIndicator on TransitionHolder
2021-07-20 17:38:19 -04:00
FlaminSarge
8bd965267c
For library update error log, group errors by error string, and then sort the resulting list by source (#5586)
Format is
```
! Error
  # Source
    - Manga
```
2021-07-20 17:36:24 -04:00
arkon
4acc7cee3d Revert jsDelivr CDN fallback
It doesn't work unless you provide actual semver versions, but we don't do that.
2021-07-20 17:23:55 -04:00
Ivan Iskandar
be28e0b559
Fix incorrect saved tracker dates (#5581) 2021-07-19 17:45:46 -04:00
Ivan Iskandar
116fec208b
Fix light navigation bar not applied on first launch (#5582)
No need to touch light system bars when running the splash screen since
they're not that noticeable, and it also breaks on some ROMs.
2021-07-19 17:45:28 -04:00
Ivan Iskandar
fece92e15a
Fix transparent system bars after MainActivity recreated (#5574) 2021-07-18 15:20:19 -04:00
arkon
dce3049446 Remove autoAddTrack preference 2021-07-18 15:00:07 -04:00
E3FxGaming
fcd6fe5d8a
Fix Cover sharing and saving (#5335)
* Fix Cover sharing and saving

The newly added manga cover sharing only worked with manga saved to the library (due to the implemented CoverCache only recording covers of library manga).
The changes made with this commit fixes that behaviour by implementing a fallback: the cover can now also be retrieved from the Coil memoryCache.

* Removal of coil MemoryKey usage

No longer uses the coil memory key, instead starts a new Coil request for the cover retrieval.

* Removed try-/catch-wrapper and added context-passing

useCoverAsBitmap lost its try-/catch-wrapper and doesn't call for the context anymore.
Instead shareCover and saveCover now pass their activity as context to useCoverAsBitmap.

* Added missing parameter description for useCoverAsBitmap
2021-07-18 13:17:31 -04:00
arkon
a69a833716 Require Komga to be installed when attempting to setup tracker (closes #5491) 2021-07-18 13:12:47 -04:00
arkon
697b082591 Warn on backup creation for MIUI users 2021-07-18 13:04:32 -04:00
Ivan Iskandar
b2d58e04d2
Add Dynamic theme for Android 12 (#5569)
* Add Dynamic theme for Android 12

* Also theme text colors
2021-07-18 13:01:58 -04:00
arkon
8bfc5f0450 Put Komga tracker in separate group 2021-07-18 12:55:55 -04:00
arkon
a252a8acee Update detection of disabled MIUI Optimization 2021-07-18 12:55:55 -04:00
Andreas
447ee4bd09
Add support for start/end fields for Kitsu (#5573) 2021-07-18 12:47:40 -04:00
arkon
5d1134dfa8 Add link to Don't Kill My App! in advanced settings 2021-07-17 12:52:27 -04:00
Ivan Iskandar
05e7b0dc22
Fix splash screen icon on Android 12 (#5565)
* Use Core Splashscreen for splashscreen stuff

* Keep splash screen until activity ready

Ready as in the data inside starting screen is finished showing

* Use custom splash screen exit animation on older android version

* Add splash screen minimum duration to prevent exit jank

* Fix broken AMOLED theme

* Improvements
2021-07-17 12:06:15 -04:00
Andreas
c0647c3110
Make default tracking status depend if the user has read chapter or not (#5567)
- When user reads a chapter change tracking status to reading
2021-07-17 11:26:29 -04:00
Hunter Nickel
a1e83b9f19
Add cover actions to a dialog when long-pressing manga cover (#5556) 2021-07-15 17:28:35 -04:00
Soitora
0d62aedfbb
Added "Tako" theme (#5546)
* Added "Ninomae" theme

Based on the lovely Ninomae Ina'nis, for Arkon and Flat

* Use updated colors from Ghostbear

Adapted after feedback

Co-Authored-By: Andreas <6576096+ghostbear@users.noreply.github.com>

* Tweak the Ninomae theme further

* Sort themes alphabetically

- Sorts themes alphabetically.
- Use the same capital word system in colors.xml for themes.xml as well.
- Rename AMOLED theme to AMOLED mode in theme.xml and color.xml references.

* More tweaks

* Style incognito bar

Uses a dark purple which looks super clean instead of a washed out gray

This sets the groundwork for other themes too

* Tweak final onPrimary color

* Rename Ninomae to Tako

RIP

Co-authored-by: Andreas <6576096+ghostbear@users.noreply.github.com>
2021-07-15 08:46:30 -04:00
Ivan Iskandar
b7c2890250
Don't show navigation overlay if tap navigation is disabled (#5534)
* Don't show navigation overlay if tap navigation is disabled

* Apply feedback
2021-07-15 08:44:53 -04:00
Ivan Iskandar
ae97bb0445
Replace material-dialogs usage with Material Components' (#5423)
* Use Material Components' dialogs

For all dialogs that has direct replacement.

* Convert text input dialogs

* Convert quad-state multi choices dialogs

* Convert date picker dialogs

This also changes the flow to remove selected start/finish tracking date and
the track item itself

* Remove material-dialogs dependencies
2021-07-14 18:04:03 -04:00
arkon
117fd4bd0f Chop long titles in library update notification, fix incrementing when updating covers 2021-07-14 17:59:09 -04:00
FourTOne5
1dddba7f25
Update Libary update notification. (#5545)
* Update LibraryUpdateNotifier.kt

* Update LibraryUpdateService.kt
2021-07-14 17:57:03 -04:00
Hunter Nickel
7fd75b7501
Hide the reader seekbar for single-page chapters (#5551) 2021-07-14 17:56:50 -04:00
Hunter Nickel
a6d4a3b785
Hide Start/Resume FAB unless there are unread chapters and during loading (#5458)
* Hide Start/Resume FAB unless there are unread chapters

* Remove dead code, rewrite logic for hiding FAB
2021-07-12 11:48:48 -04:00
Ivan Iskandar
2423a70abd
Fix incognito mode disabled after URL intent launched (#5533) 2021-07-12 09:57:28 -04:00
arkon
8931dbb657 Remove unnecessary DB calls when setting chapter flag defaults 2021-07-11 15:18:00 -04:00
arkon
52416ff3a8 Fix Incognito Mode toggle not updating after disabled via notification 2021-07-11 15:17:43 -04:00
arkon
62955e7385 Improving genre search started from the manga page of a popular manga (#4375)
Co-authored-by: E3FxGaming <E3FxGaming@users.noreply.github.com>
2021-07-10 16:04:28 -04:00
Ivan Iskandar
1ef7722504
Support more image formats for covers (#5524)
* Add TachiyomiImageDecoder for Coil

Is currently used to decode AVIF and JPEG XL images.

* LocalSource: Check against file name for cover

This allows file with all supported formats to be set as cover

* TachiyomiImageDecoder: Handle HEIF on Android 7 and older
2021-07-10 15:44:34 -04:00
arkon
24bb2f02dc Use jsDelivr as fallback when GitHub can't be reached for extensions list (closes #5517) 2021-07-10 11:35:43 -04:00
arkon
627698d81f Use fade transactions when handling shortcuts 2021-07-10 11:05:10 -04:00
arkon
d4c8480dee Add warning for MIUI users when trying to restore backups with MIUI Optimization disabled 2021-07-10 11:04:41 -04:00
arkon
015e8deb79 Parallel cover update job 2021-07-09 17:50:01 -04:00
jmir1
8d5f798591
show correct number of items in the library tit... (#5516)
...le, even when all manga are in a category that isn't the default
category.
2021-07-09 10:29:04 -04:00
arkon
e65f59b3df Show all currently updating manga in library update notification 2021-07-08 23:03:22 -04:00
jobobby04
341c3d179e
Parallel library update (#5519)
* Parallel library update

* Almost forgot the terminal operator
2021-07-08 22:35:32 -04:00
Riztard Lanthorn
d9ea621e54
add Yin Yang Theme (#5508)
* add Yin Yang Theme

* change download badge color to yin yang as well

* update string

* fix &
2021-07-08 09:12:23 -04:00
SBence
fb35d7af59
Sanitize manga title in page download subfolder name (#5514) 2021-07-07 21:58:53 -04:00
Andreas
c254aa6fcc
Make Automatic Reader Theme pick background/text color based on dark mode preference (#5505)
* Make Automatic Reader Theme pick background/text color based on theme

* Use extension method
2021-07-07 18:12:11 -04:00
Ivan Iskandar
37d30eb887
Simplify locale override (#5509) 2021-07-07 18:11:52 -04:00
w
49cdcc644c
Update image decoder to add JPEG XL support (#5512) 2021-07-07 18:11:20 -04:00
arkon
07e5525c74 Fix chapter source order not working correctly and allow refresh to update source order
Based on 00f916a4f0

Co-authored-by: CarlosEsco <CarlosEsco@users.noreply.github.com>
2021-07-07 18:07:51 -04:00
arkon
776194f5b2 Only update in-library manga chapter settings instead of all 2021-07-07 18:05:29 -04:00
arkon
ed80ee98a7 Sanitize spaces when setting URLs without domain
It throws an URISyntaxException otherwise.
2021-07-07 17:53:28 -04:00
arkon
040bac3da2 Resource cleanup post-theme removal 2021-07-04 17:51:15 -04:00
arkon
9df721d158 Add DARK_BLUE enum value back to avoid crash 2021-07-04 17:38:54 -04:00
arkon
e9dce32a98 Remove Hot Pink theme
The old AMOLED Hot Pink theme is pretty close to what Midnight Dusk + AMOLED is now.
2021-07-04 12:05:53 -04:00
arkon
535cc0d81e Rename "Dark Blue" theme to "Blue" 2021-07-04 12:05:11 -04:00
arkon
51a33a47cd Revert accidentally committed stuff (oops) 2021-07-03 12:52:07 -04:00
arkon
01a1a9ebab Update to Conductor 3.0.0 2021-07-03 12:50:10 -04:00
Ivan Iskandar
64b1c9636b
Track search dialog adjustments (#5479)
* Add clear text button to track search dialog text input

* Track search item adjustments
2021-07-03 09:44:12 -04:00
FourTOne5
db0c1b2634
Sort Installed, Update, Untrusted Extenion by Name in Extensions Tab (#5486)
* Update ExtensionPresenter.kt

* Update ExtensionPresenter.kt

* Update ExtensionPresenter.kt
2021-07-03 09:43:29 -04:00
arkon
568c4d8c8e Use current locale when sorting library "alphabetically" (closes #5281)
This _should_ handle things like Chinese that aren't actually alphabetical.
2021-07-02 22:48:16 -04:00
arkon
0cb042cd93 Remove en-GB option since we don't actually localize different English locales 2021-07-02 09:02:28 -04:00