Commit Graph

2938 Commits

Author SHA1 Message Date
arkon
bf1b7f44b6 Change tablet UI threshold to w720dp (closes #6054)
Was previously sw720dp. Now matches J2K.
2021-10-18 11:03:27 -04:00
arkon
538dd60580 Adjust update/download warnings
- Uses toasts now
- Adjusted wording to emphasize effect on sources
- Download warning has a different threshold (15 chapters per source, vs. 60 entries per source for library update)
2021-10-18 10:46:07 -04:00
arkon
bfe7aa1ed2 Minor cleanup 2021-10-18 10:02:25 -04:00
arkon
9e2ef82902 Remove global update intervals below 12 hours, add every 3 day interval
Users with smaller libraries have a lower change of getting updates frequently. "Power users" are actively hurting sources by updating frequently.
2021-10-18 10:02:18 -04:00
arkon
9352e249ee Make tapping library update and backup restore error notifications open log 2021-10-18 09:58:35 -04:00
Midyan Hamdoun
3800065230
Fix crashing when clicking the search icon (#6128) 2021-10-18 09:57:52 -04:00
arkon
ebc2c4f73a Remove paused text when resuming downloads with info hidden (fixes #6119) 2021-10-16 17:40:56 -04:00
arkon
f057440cc1 Use natural ordering when sorting by chapter numbers (fixes #6121) 2021-10-16 17:37:51 -04:00
arkon
8a70c3353f Change global update unmetered connection restriction to connected to Wi-Fi (closes #6117) 2021-10-16 11:10:05 -04:00
arkon
3d8f123e05 Add notification action to open GitHub release page
Co-authored-by: Jays2Kings <Jays2Kings@users.noreply.github.com>
2021-10-16 10:42:14 -04:00
arkon
21e647017b Rename app updating classes
So I stop confusing it for updaters of other things.
2021-10-16 10:21:15 -04:00
Midyan Hamdoun
2a1bb3dc27
Fix reappearing indicator in the History tab (#6105) 2021-10-15 22:14:45 -04:00
Ivan Iskandar
55a3094a65
Fix AppBar lift state when snapped (#6103)
status bar foreground alpha is now handled separately
2021-10-15 22:09:19 -04:00
Andreas
b4490e209b
Fix inset not applying when in landscape (#6104)
Reverts inset change from #5997, was changed due to it not changing the padding when using setPadding
2021-10-15 22:08:37 -04:00
Jays2Kings
9aa676333c Use default source filters in global search (fixes #5583)
Based on 45fbd9d2f5
2021-10-15 22:06:16 -04:00
Hunter Nickel
2c76bc99fc
Add ability to copy a genre/tag to clipboard by long-pressing it's chip (#6084)
* Allow copying a genre by long-pressing it's chip

* Make chip click listeners nullable, and only attach if not-null
2021-10-13 09:23:59 -04:00
Ivan Iskandar
bb06895145
Fix MangaController fast scroller position (#6090) 2021-10-13 09:23:46 -04:00
Ivan Iskandar
684965f3e5
MangaController optimizations (#6089)
* MangaController: Fix ignored stable ids

* MangaController: Replace notifyDataSetChanged

* ChaptersSettingsSheet: Optimizations
2021-10-13 09:23:38 -04:00
Jays2Kings
e621f4e2fa Add migration to add "all" to enabled langauges
Co-authored-by: Jays2Kings <Jays2Kings@users.noreply.github.com>
2021-10-13 09:18:43 -04:00
arkon
718fa25c10 Bump queue warning threshold to 60
Aligns with J2K.
2021-10-13 09:16:19 -04:00
arkon
cb9c5a35cb Minor cleanup 2021-10-13 09:13:38 -04:00
arkon
fadaefeaef Handle HTTP 403 responses with CloudflareInterceptor
Based on 8d34da591e

Co-authored-by: jmir1 <jmir1@users.noreply.github.com>
2021-10-11 16:12:26 -04:00
arkon
b17b882a3b Adjust update/download warning threshold 2021-10-11 16:08:32 -04:00
jmir1
f0f3afd5f1
Fix issues with NSFW sources setting (#6085) 2021-10-11 13:51:20 -04:00
arkon
42026b49bf Allow hiding "All" section in extensions list (closes #6081) 2021-10-11 10:29:08 -04:00
jmir1
3448751e0e
Fix crash when deleting last item in library (#6079) 2021-10-11 10:17:01 -04:00
arkon
c95a269460 Use single layout for grid badges 2021-10-09 17:26:53 -04:00
arkon
f343131802 Require authentication to toggle showing NSFW sources 2021-10-09 17:10:04 -04:00
arkon
ea34ba53b9 Allow searching for multiple extensions at once (closes #5922) 2021-10-09 16:59:18 -04:00
arkon
b8d8cf19d9 Add some info about automatic backups 2021-10-09 16:48:20 -04:00
arkon
082eef708f Add warnings when library and download queues are considered large (closes #5950)
Arbitrarily set at a size of 100 for now. We could adjust this in the future as appropriate if needed.
2021-10-09 14:55:21 -04:00
Ivan Iskandar
9106fc5b94
Grouped chapter download list by source (#5575) 2021-10-09 11:41:45 -04:00
Platiplus
918502742d
[5893] - Implemented Language Badge (#6050)
* Implemented language badge on library items

* Added left margin for better viewing the badge on list view

* Adjusting borders on badges, cleaning string interpolation and cleaning code

* Improving readability on Holders and removing unused background and text on grid items
2021-10-09 11:10:36 -04:00
Ivan Iskandar
f32f1eeaa5
Manga description adjustments (#6011)
* Manga description adjustments

- Animated state changes
- Adjust scrim position to fully show 2 lines when shrunk
- Set minLines to avoid scrim hiding oneliner

* Change icon and adjust animation

* Revert fancy scrim animation
2021-10-09 11:02:45 -04:00
nicki
2d1404d155
Fix Local and Other lang sources showing up in seperate Other Categories (#6024)
* group LocalSource and Other lang source together

* use better kotlin syntactic sugar

* add lang "other" to local

* remove duplicate LocalSource entries in Browse

* linting

* revert unnecessary linting

was a manually adding change

* Revert previous two commit but not the most recent

This reverts commit 30250f2f82
This also reversts commit 359ed5a8cd

* better way to avoid duplicate Local Sources

* more linting by plugin

* `""` lang is no longer used anywhere
2021-10-09 11:01:22 -04:00
arkon
a56997e98c Hide slider tooltip label everywhere 2021-10-09 10:44:08 -04:00
Ivan Iskandar
7e61900cf5
Add new build type for weekly preview (#6067)
This adds new build type for minified non-debuggable preview builds.
"debugFull" is removed and "debug" will be unminified.

**It means preview build action needs to be updated to build "standardPreview"**
2021-10-09 10:28:43 -04:00
Platiplus
e98f90b099
[6059] - Pending downloads count on Download queue screen (#6064)
* Updating the download queue label to account for pending downloads even on paused state

* changing separator

* Created observer to update the TitleBar of the controller to reflect pending downloads

* Reverting changes from MoreController that were made in an another commit

* Refactoring updateTitle method
2021-10-07 22:13:35 -04:00
Ivan Iskandar
2e127dff1f
Replace Timber with Square Logcat and make logging configurable (#6062)
* Replace Timber with Square Logcat

* Configurable logger
2021-10-07 22:12:55 -04:00
Platiplus
828db19e02
[5753] - Add pending downloads count on Download queue (#6049)
* Updating the download queue label to account for pending downloads even on paused state

* changing separator
2021-10-06 22:03:07 -04:00
Andreas
1a568e2961
Fix stuck display mode for when not using per category setting (#6044) 2021-10-05 11:03:51 -04:00
arkon
e863e8c64b Adjust Wi-Fi connection check (related to #6038) 2021-10-04 17:06:24 -04:00
arkon
675c0cefc3 Fix crash in single-page chapters 2021-10-04 11:06:23 -04:00
arkon
1a52385b78 Formatting 2021-10-04 10:50:13 -04:00
Andreas
372e500590
Remove extra padding when using list with Per Category setting (#5997)
* Remove padding when using list with Per Category setting (fixes #5636)

* Add view type to RecyclerViewPagerAdapter

Correctly this time (ノ◕ヮ◕)ノ*:・゚✧

* Minor tweaks
2021-10-04 10:41:20 -04:00
nicki
cc1a317439
enable "ALL" in Browse by default (#6023)
some extensions, including self-hosted ones, have the "ALL" label and
sometimes users get confused with not having enabled "ALL" after
installing new extensions
2021-10-03 15:40:51 -04:00
Ivan Iskandar
6d650518a1
App-wide typography adjustments (#5931)
* Manga detail

Also adjust chapter item layout to accommodate bigger
display/font size

* Library

* Updates

* History

* Browse

* Preferences

* Button

* Navigation view

* category-download

* Google Sans

* Reader

* Chips

* Revert "Google Sans"

This reverts commit 5dd4c41f

* Misc

* Cleanups

* Section header text appearance

* Increase library manga title size

* Revert "Increase library manga title size"

This reverts commit 474be913

* Increase section header letter spacing

* Derps
2021-10-03 12:32:04 -04:00
FourTOne5
7940117577
Sort and remove duplicates in genres (#6021)
* Sort and remove duplicates in genres

Co-authored-by: ivaniskandar <12537387+ivaniskandar@users.noreply.github.com>

* Remove Sort and filter out blank genre

Co-authored-by: ivaniskandar <12537387+ivaniskandar@users.noreply.github.com>
2021-10-03 12:19:37 -04:00
Ivan Iskandar
b0f87fdd21
LicensesController: Move item init to IO thread (#6020) 2021-10-03 12:00:00 -04:00
arkon
dc92ffed87 Switch to Material Slider in color filter settings 2021-10-03 11:58:52 -04:00
Ivan Iskandar
4af578e310
Apply navigation bar insets to fast scroller and settings search list (#6015) 2021-10-03 11:28:20 -04:00
FourTOne5
e22825d818
Check if wifi is connected rather than enabled while downloading. (#5967)
* Fixxy Wixxy

* Downgrade check from Android S to Android Q
2021-10-03 11:27:56 -04:00
arkon
d149017c60 Switch to Material Slider for reader seekbar
Co-authored-by: Jays2Kings <Jays2Kings@users.noreply.github.com>
2021-10-03 11:14:49 -04:00
Ivan Iskandar
ef993515c6
Fix MangaController toolbar title showing when editing category (#6005) 2021-10-01 17:52:06 -04:00
Andreas
ba8abd94a8
Ability to order sources by library count when migrating (#6000)
* order sources by library count when migrating (closes #4703)

* Use plain menu instead of full-on sheet
2021-10-01 17:37:43 -04:00
Andreas
c6d4e4c15f
Move extensions enabled languages on top (closes #5694) (#5998) 2021-10-01 09:15:04 -04:00
Hunter Nickel
7ed25704d6
Add chapter bookmarking feature to Updates screen (#5984) 2021-10-01 08:11:31 -04:00
FourTOne5
2196dac63e
Fix variable name in isOnline (#5991) 2021-10-01 08:09:46 -04:00
arkon
ea97488670 Revert parseAs inline function change
Some people sometimes get compile issues?
2021-09-30 17:52:07 -04:00
arkon
c2255b0a0f Mark installer names as non-translatable 2021-09-25 21:08:31 -04:00
arkon
f754b081ce Use data class to parse extensions list 2021-09-25 14:57:54 -04:00
arkon
690d8e43ae Show message in migrate screen if library is empty 2021-09-25 14:41:35 -04:00
Hunter Nickel
82f14a7d59
Hide soft keyboard after submitting search query throughout app (#5837)
* Clear focus from SearchView when submitting a search query in BrowseSourceController

* Revert "Clear focus from SearchView when submitting a search query"

* Implement SearchView focus clearing in Tachiyomi's subclass to enable feature throughout app

* Add support for keyboard Enter key

Pressing enter on a keyboard (when using the emulator for example) now also submits the query
2021-09-25 14:32:19 -04:00
Ivan Iskandar
b284384f0a
Implement new extension install methods (#5904)
* Implement new extension install methods

* Fixes

* Resolve feedback

* Keep pending status when waiting to install

* Cancellable installation

* Remove auto error now that we have cancellable job
2021-09-25 14:31:52 -04:00
Andreas
1ae0d1b5d0
Reattach after slight delay instead on every db update (#5956) 2021-09-23 18:45:55 -04:00
arkon
9de08c8166 Update dependencies 2021-09-20 14:33:35 -04:00
Ivan Iskandar
a2d007f2a9
Toolbar and bottom nav scroll snap (#5915) 2021-09-18 16:41:23 -04:00
arkon
774f818bbb Fix setting search re-animating on activity recreation (fixes #5882) 2021-09-18 16:28:58 -04:00
arkon
0ec7121b8f Adjust snackbar durations (closes #5932) 2021-09-18 16:17:07 -04:00
arkon
d7d46f4447 Minor cleanup 2021-09-18 16:13:14 -04:00
Andreas
45fad147bf
Remove spaces at end of line before removing multiple new lines (#5928) 2021-09-18 15:16:03 -04:00
Aria Moradi
3664195c71
rewrite getFormat the kotlin way (#5930) 2021-09-18 15:15:38 -04:00
arkon
fce3cd00a1 Remove setting to disable update error notifications and split out notification channel
Users can exclude things from updating if needed, or disable the notification channel from system settings.
2021-09-17 19:14:30 -04:00
arkon
33b3be0d0e Move extension app info button
Aligns with TachiyomiJ2K.
2021-09-16 17:57:41 -04:00
Ivan Iskandar
cfd1b4a6c6
Fix toolbar title alpha (#5910) 2021-09-16 17:39:13 -04:00
Gauthier
d45fefd6f0
handle maxNumberSort from API (#5917) 2021-09-16 17:37:42 -04:00
Ivan Iskandar
f125ab01ee
Change how the bottom navigation is hidden (#5823)
* Change how the bottom navigation is hidden

Modifies the translationY instead of the height.

* Cleanups
2021-09-16 17:37:17 -04:00
Soitora
971d8a7e40
Allow preferences to multi-line (#5905) 2021-09-13 18:39:14 -04:00
arkon
a2cf210a52 Unify NSFW flagging for sources/extensions
Since multisource extensions are no longer a thing, we now simply rely on the flag at the extension level, i.e. the per-Source/SourceFactory `@Nsfw` annotation is no longer checked.
We'll have to remove all of the annotation usages from the existing sources, which will also effectively break the setting for older versions of the app.
2021-09-13 17:49:58 -04:00
FourTOne5
2c495c4119
Don't count "other" as a language. (#5901) 2021-09-13 15:05:12 -04:00
arkon
7c72d6cb7c Fix scroller getting dragged incorrectly in RTL (fixes #5496) 2021-09-12 13:08:21 -04:00
arkon
8362bf0886 Don't show option to delete chapters for local manga (closes #5243) 2021-09-12 13:01:53 -04:00
arkon
1a8155c45b Add link to help translate in about 2021-09-12 12:52:19 -04:00
FourTOne5
3f2f946019
Update ExtensionPresenter.kt (#5895) 2021-09-12 09:34:37 -04:00
arkon
2c14a8dee1 Minor cleanup for download delete exclusion 2021-09-11 18:39:34 -04:00
Ivan Iskandar
746d35b52b
Reuse reader's image view in MangaFullCoverDialog (#5824)
* MangaFullCoverDialog: Support animated drawable

* Scaled zoom duration

* Wrap reader's image view to be reused in MangaFullCoverDialog

* Cleanups

* Forgot animated stuff for webtoon view

* Cleanups

* Oopsie

* Cleanups

* Consistent max scale for SubsamplingScaleImageView

The max scale will be obtained from the default scale times 3 for
consistent 3x zoom scale.
2021-09-11 18:28:54 -04:00
Jace
9a7a03e327
Change ProtoNumber of Backup Models for History and Source to a non-zero digit (#5849)
* Change ProtoNumber of Backup Models for History and Source to non-zero

Changed BackupHistory url and BackupSource name properties

* Provide backwards compatibility to current proto backups

- Added data class for zero-based protoNumber
- Restore both 'new' proto and old ones by mapping old to 'new' proto format
- Thanks to @jobobby04  for providing the initial solution.

* Fix on createBackup missing parameter for brokenSource

* Fix issues on build

* Fix missing import on FullBackupRestore
2021-09-11 18:10:10 -04:00
tobinstultiens
a051079c6a
Allow exclusion on Delete After Read per category (#5857)
* Added the exclude category from delete after being read

* Stopped it from adding a wildcard to the import

* Placed the remove after read to the download manager
2021-09-11 18:09:24 -04:00
Ivan Iskandar
7b3c18bb97
Less hacky way to make sure bottom action toolbar doesn't scroll down (#5871)
* Less hacky way to make sure bottom action toolbar doesn't scroll down

* Fix action toolbar overlapping on landscape

* Disable app bar transparency when ActionMode is present
2021-09-11 10:22:01 -04:00
FlaminSarge
52daf3d58c
During migration, only do MangaController replacement if previous controller is also MangaController (#5869)
If previous controller is instead a MigrationController/other, push the new MangaController onto the stack instead
2021-09-11 10:21:12 -04:00
Ivan Iskandar
f41bde5ee1
MangaController: Fix listeners cancelled when pushing new controller within (#5883) 2021-09-11 10:20:52 -04:00
Gauthier
6151318ac1
use chapter_number instead of ordinal index for syncChaptersWithTrackServiceTwoWay (#5846)
use v2 api for Komga tracker for series
2021-09-09 21:07:16 -04:00
Ivan Iskandar
b45c322729
MangaController: Title fixes (#5879)
* MangaController: Move toolbar's TextView reference to ElevationAppBarLayout

* MangaController: Update title alpha earlier when exiting
2021-09-09 21:05:41 -04:00
FourTOne5
156feb6e8e
Use "isOnline" utils in DownloadService (#5863)
* Use isOnline

* when -> if/else
2021-09-06 12:31:03 -04:00
arkon
e942b8a402 Read from streams for local source manga details and legacy backups 2021-09-06 11:54:00 -04:00
Andreas
abdb67a123
Remove the remaining MotionLayout (#5854)
* Remove the remaining MotionLayout

* Use ImageButton instead of Blank View to handle taps in dead area

And some tweaks
2021-09-06 11:46:38 -04:00
arkon
ee20787c5e Retain GLUtil.maxTextureSize 2021-09-05 14:34:54 -04:00
arkon
ec4e631760 Clean up some companion object usages 2021-09-05 14:34:29 -04:00
Aran Leite
02b430a5bf
Skip bookmark check when cancelling downloads (#5853)
* Skip bookmark check when cancelling downloads

* DownloadManager: simplified filteredChapters declaration

* Completed documentation of DownloadManager's deleteChapters()
2021-09-04 22:43:56 -04:00
arkon
7878053df2 Fix crash in settings search (fixes #5855) 2021-09-04 22:31:25 -04:00