arkon
c0fd47b066
Retry DelayedTrackingUpdateJob up to 3 times if all items not updated
2023-06-25 14:31:28 -04:00
Denny Rodrigues do Carmo
ee684cbef5
Fix download ahead while reading functionality ( #9640 )
...
Correct condition for downloading next chapter
2023-06-25 14:18:54 -04:00
arkon
7d4af1f8cc
Don't affect reader toolbars/sheets when using custom brightness
...
Closes #8444
You should be able to tap to bring up the menus even if the brightness is too low.
2023-06-24 12:56:45 -04:00
arkon
fe82cdb9c8
Migrate ReaderColorFilterSettings to Compose
...
It'll eventually be a tab with the other settings again once the other tabs are also
migrated over so it's just a single Compose sheet.
2023-06-24 12:51:10 -04:00
arkon
b354e37cc3
Refactor grid size slider composable for reuse
2023-06-24 11:23:06 -04:00
arkon
f344831d58
Use our own translation for "OK"
...
I missed this in the PR that it came with, but I guess it'll be useful if we go multiplatform.
2023-06-24 10:38:34 -04:00
Semen
2eca8511cb
Trackers empty scores start starts from middle ( #9624 )
...
* Trackers empty scores start starts from middle
* Trackers empty scores start starts from middle
* Trackers empty scores start starts from middle
2023-06-24 10:37:20 -04:00
arkon
f2b0d74b4c
Migrate ReaderPageSheet to Compose
2023-06-23 23:17:47 -04:00
arkon
42bc2b07ce
Minor cleanup
2023-06-23 22:39:59 -04:00
Shamicen
fcfa62f220
Better handle decimal chapter numbers and add categories in ComicInfo.xml files ( #9604 )
...
* Serialize whole chapter numbers without decimal point and add library categories to genre
* added Tachiyomi specific ComicInfo Category field
* lint
* implemented requested changes
2023-06-23 17:56:01 -04:00
Ivan Iskandar
25b0458930
composed Modifier changes ( #9631 )
...
Referring at the examples and other internal usages, the
resulting stateful Modifier should be separated from
all the previous Modifier chain.
2023-06-23 17:54:01 -04:00
Ivan Iskandar
6808fbbb21
Use lite compose-ui-tooling module on release builds ( #9630 )
...
The size reduction is minuscule but it's there.
2023-06-23 08:26:35 -04:00
zaghdaneh
b36b3bfcab
Remove manga from trackers ( #9535 )
...
* Dialog for service tracker removal added, anilist query prepared
* added API delete requests for Mal and Kitsu
* implement and fix tracker delete for anilist, shikimori, mangaupdates
* implement and test mal delete request
* Update to dialog text to reflect current tracker
* finish kitsu api request and block bangumi tracker removal
* Change delete flag into interface, localise strings, clean up logs
* Add shikimori delete compatibility for already existing entries
* update track delete dialog prompt to include checkbox, update strings
* Update i18n/src/main/res/values/strings.xml
Co-authored-by: stevenyomi <95685115+stevenyomi@users.noreply.github.com>
* Update i18n/src/main/res/values/strings.xml
---------
Co-authored-by: unknown <zaghdane@fireflow.de>
Co-authored-by: arkon <arkon@users.noreply.github.com>
Co-authored-by: stevenyomi <95685115+stevenyomi@users.noreply.github.com>
2023-06-22 22:06:43 -04:00
Ivan Iskandar
b4393ff741
Update core-splashscreen ( #9629 )
2023-06-22 21:59:17 -04:00
Ivan Iskandar
740e370465
Bump compile SDK version 34 ( #9625 )
2023-06-22 14:20:12 -04:00
arkon
0871208023
Avoid crash when trying to open random entry but categories are still loading
...
Fixes #9610
2023-06-15 22:16:31 -04:00
arkon
ee95c1439f
Blur manga info header image
...
Similar to J2K. This only applies on Android 12+.
2023-06-13 20:36:33 -04:00
arkon
e323f3c25a
Don't update last page read/read state of chapter if Incognito Mode is enabled
...
Actually closes #7228 , which I forgot was about history more than trackers.
2023-06-13 19:30:02 -04:00
arkon
9766399539
Don't update trackers after reading a chapter if Incognito Mode is enabled
...
Closes #7228
2023-06-13 18:51:07 -04:00
Simon
dddba7bb6f
Filter out non-downloaded chapters in reader when Downloaded Only is enabled ( #9568 )
...
* FIxed Issue #5463 - DownloadedOnly Bug
* Changes according to Feedback
* Changes according to Feedback
---------
Co-authored-by: AlphiGhost <71730726+AlphiGhost@users.noreply.github.com>
2023-06-10 12:48:15 -04:00
Ivan Iskandar
9ec8d770ea
MangaChapterListItem: Increase swipe action touch slop ( #9598 )
2023-06-10 12:48:03 -04:00
Two-Ai
cf777d9893
Cleanup MangaScreenModel successState usage ( #9582 )
...
* Refactor updateSuccessState
- Convert to inline function
- Use when for type safety if we add other MangaScreenState types
* Replace equivalent expressions with updateSuccessState
* Replace safe cast in MangaScreen
2023-06-09 23:11:02 -04:00
arkon
841f80f935
Add share menu item in reader
...
Closes #9510
2023-06-09 22:52:49 -04:00
arkon
39a7356ed1
Directly track current WebView URL instead of relying on state
...
State approach doesn't work well for client-side routed apps like MangaDex.
Fixes #9576
2023-06-09 22:45:13 -04:00
arkon
34b9c82cd0
Remove General settings section
2023-06-04 17:07:29 -04:00
arkon
405a75438a
Remove per-category display mode
...
There seems to be little value in this feature, and juggling flag masks is annoying.
Per-category sorting is still a thing, but could be refactored away from the flag in the feature.
2023-06-04 16:59:21 -04:00
Ivan Iskandar
39e4568460
ReaderProgressIndicator: Convert to Compose ( #9574 )
2023-06-03 13:11:41 -04:00
arkon
531e1c62bb
Hide release period update restriction in non-dev builds until ready
2023-06-02 18:23:31 -04:00
arkon
1a1f16f44a
Bump dependencies
2023-05-31 22:48:13 -04:00
arkon
431f8772f8
Address minor build warnings
2023-05-31 22:47:31 -04:00
arkon
8a5382042c
Fix misleading release grace period "Default" options
2023-05-31 18:52:36 -04:00
arkon
8f4bc71cf7
Remove confirm exit option
...
Redundant with predictive back, but also just sort of pointless since it doesn't help
with any sort of app state retention.
2023-05-31 18:51:01 -04:00
Two-Ai
0ac38297f4
Replace RxJava in extension installer ( #9556 )
...
* Replace RxJava in extension installer
Replace common downloadsRelay with Map of individual StateFlows
* Drop RxRelay dependency
* Simplify updateAllExtensions
* Simplify addDownloadState/removeDownloadState
Use immutable Map functions instead of converting to MutableMap
2023-05-30 10:25:20 -04:00
arkon
f48f212001
Minor cleanup
2023-05-27 23:27:02 -04:00
Quang Kieu
c90f344910
Add setting and calculate for update interval ( #9399 )
...
* Add Grace Period value and settings
* Add functions to calculate nextUpdate
* update per review
* Move more into SetMangaUpdateInterval, keep wrapper
2023-05-27 23:01:36 -04:00
Ivan Iskandar
a458bd9fdb
Update Glance v1.0.0-beta01 ( #9551 )
2023-05-27 22:59:21 -04:00
arkon
ed5a56be60
Set reader chapter name to marquee if too long
...
Closes #7159
2023-05-27 19:15:11 -04:00
arkon
899fe57f15
Slightly tweak MangaScreen refresh indicator
...
Related to #7813 . It still starts below the status bar, but it looks a bit less weird.
2023-05-27 19:06:04 -04:00
arkon
bac42edabb
Add debug screen to copy backup file schema
...
Closes #8544
2023-05-27 18:53:11 -04:00
arkon
8735f3566f
Fix bookmarked chapters being deleted after manually marked as read
...
Fixes #9520
2023-05-27 18:30:59 -04:00
arkon
46efd4c134
Fix some crashes
2023-05-27 09:53:01 -04:00
arkon
dfd38db7e3
Use primitive state holders
2023-05-27 09:22:31 -04:00
arkon
929a881943
Simplify chapter item composable a bit
...
Closes #9442 because I just removed the rounding entirely...
2023-05-26 23:02:16 -04:00
arkon
152fdec855
Minor cleanup and remove unused dependencies
2023-05-26 22:52:00 -04:00
Artemis-CtrlAltDel
9c07451d95
fix: grid size slider ( #9542 )
2023-05-26 22:41:22 -04:00
arkon
e3b2720924
Remove redundant inset handling in AdaptiveSheet
...
The Dialog is handling it anyway, so this doesn't really do anything useful.
We might need to add this back if Dialog actually handles edge-to-edge properly.
2023-05-24 18:10:17 -04:00
Two-Ai
3ae1e37c40
Replace RxJava in Downloader ( #9256 )
...
* Rename removeFromQueueByPredicate to removeFromQueueIf
Follow-up to PR comment in #9511
* Make Download hashCode stable
Mutating pages would previously change the Download hashCode, which
breaks HashMap lookups.
* Convert Donwloader subscription to coroutine
Replace downloadsRelay with activeDownloadsFlow. Instead of managing
a PublishRelay independent from the queue, derive a Flow of active
downloads directly from the queue StateFlow. (This will allow
updating the queue without pausing the downloader, to be done in a
follow-up PR.)
When a download completes successfully, the downloads is removed from
queueState. This updates activeDownloadsFlow and causes the
downloaderJob start the download job for the next active download.
When a download fails, the download is left in the queue, so
queueState is not modified. To make activeDownloadsFlow update
without a change to queueState, use transformLatest and use the
Download statusFlows to suspend until a download reaches the ERROR
state.
To avoid stopping and starting downloads every time
activeDownloadsFlow emits a new value, maintain a map of current
download Jobs and only start/stop jobs in the difference between
downloadJobs and activeDownloads. To make sure all child download
jobs are cancelled when the top-level downloader job is cancelled,
use supervisorScope.
* Remove obsolete main thread references in Downloader
Thread safety of the queue state used to be guaranteed by running all
queue mutation on the main thread, but this has not been true for
some time. Since the queue state is now backed by a StateFlow,
queueState can be safely updated by any thread.
2023-05-24 18:02:27 -04:00
arkon
5a9889b562
Upgrade Compose
...
Co-authored-by: ivaniskandar <ivaniskandar@users.noreply.github.com>
2023-05-21 11:21:32 -04:00
arkon
5ca7c39751
Replace Cascade with our own somewhat janky implementation
2023-05-21 11:02:56 -04:00
arkon
44609c494c
Use AppBarActions in more places
2023-05-20 22:47:16 -04:00
arkon
a4d86a2e1e
Enable predictive back gesture for Android 13 (behind developer option)/14+
2023-05-20 16:16:19 -04:00
Shamicen
b8716ff6fe
Populate the ComicInfo Number field with chapter numbers ( #9514 )
...
* Populate the ComicInfo Number field
* added negative number check
2023-05-20 10:24:10 -04:00
Ivan Iskandar
73118d4af7
DownloadCache: Fix freezing on initial loading of cache file ( #9523 )
2023-05-19 22:06:06 -04:00
Two-Ai
c27bf4e866
Minor Downloader cleanup ( #9511 )
...
* Inline completeDownload
* Consolidate queueState updates in removeFromQueue
* Inline post-download steps into downloadChapter
2023-05-19 17:16:32 -04:00
arkon
fb38d30775
Avoid attempts to renaming download dirs if name hasn't actually changed
...
Maybe fixes #9503
2023-05-14 12:24:40 -04:00
arkon
b4bb855675
Revert "Bump to somewhat newer version of Compose BOM"
...
This reverts commit ce81b76150
.
Fixes crashes when opening menus. Cascade doesn't have an update
to fix this yet.
2023-05-13 22:45:36 -04:00
Ivan Iskandar
6263a52777
Fix navigation backstack ( #9497 )
...
Partial revert of dbbf6c5de0
2023-05-13 14:22:02 -04:00
Ivan Iskandar
96defd6b05
Replace our custom Pager ( #9494 )
...
Turns out that changing the pagerSnapDistance
is enough to achieve the same result.
2023-05-13 12:06:00 -04:00
arkon
bcd90be525
Use AppBarActions in more places
...
Related to #8270
2023-05-13 10:04:22 -04:00
arkon
22afae4449
Add tooltips for AppBarActions
...
Partially addresses #8270 . A bunch of Scaffolds aren't using this helper.
2023-05-12 22:56:13 -04:00
arkon
8fae92034e
Fix missing appbar when statistics are loading
2023-05-12 18:13:07 -04:00
arkon
ce81b76150
Bump to somewhat newer version of Compose BOM
2023-05-12 18:10:07 -04:00
AntsyLich
f70d5ea976
Delay automatic backup when restoring ( #9492 )
2023-05-12 18:02:11 -04:00
arkon
dbbf6c5de0
Switch back to upstream version of Voyager
2023-05-12 18:01:48 -04:00
Ivan Iskandar
84acae27b7
ChapterNavigator: Fix rounding error when changing page with slider ( #9477 )
...
ChapterNavigator: Fix rounding error when changing page from slider
2023-05-08 09:00:05 -04:00
arkon
71f6e07e71
Don't compute key for browse list based on manga ID, which may be repeated
...
Fixes #9473
2023-05-07 19:39:09 -04:00
arkon
6f59c6c6bb
Revert attempts to read archives to cache first
...
Issues:
- Apache implementation relies on methods unavailable on lower Android API levels
- Using input stream implementation doesn't seem to read some files properly, but using
ZipFile implementation still requires reading the entire thing into memory
2023-05-07 12:03:58 -04:00
Ivan Iskandar
d36cf5ce15
Chapter transition tweaks ( #9470 )
...
* Chapter transition tweaks
* Chapter transition cleanups
2023-05-07 10:08:33 -04:00
arkon
b051e37ab7
Address minor build warnings
2023-05-06 23:11:14 -04:00
arkon
44383ff950
Add R8 rule for org.apache.commons:commons-compress
...
Fixes #9465
2023-05-06 22:49:03 -04:00
arkon
1b25290d39
Fix filter FAB not working in migrate screen
...
I feel like this needs to be aligned with the browse screen/deduped somehow, but that can happen separately.
Fixes #9444
2023-05-06 12:27:44 -04:00
arkon
2f5eb73d29
Allow scrolling in restore confirmation dialog
...
Fixes #9460
2023-05-06 12:22:14 -04:00
Ivan Iskandar
f0dd33ee4c
ChapterNavigator: Always show buttons and fix steps visual ( #9461 )
2023-05-06 11:15:39 -04:00
Two-Ai
bbe0ab1dd0
Fix delay between URL fetch and image download ( #9452 )
...
Fetch each source image URL immediately before downloading each image
instead of fetching all URLs and then downloading all images.
Source image URLs may change, so the downloader may fail if there is
too long a delay between fetching the image URL and downloading the
image.
2023-05-05 22:17:51 -04:00
Two-Ai
cb2d43c0d1
Ensure final download status is always set ( #9453 )
2023-05-05 22:17:05 -04:00
Ivan Iskandar
fce9cb820c
ChapterNavigator: Fix haptic feedback ( #9458 )
2023-05-05 22:15:56 -04:00
Ivan Iskandar
08e4863d94
ChapterNavigator: Fix background color ( #9450 )
2023-05-04 13:55:53 -04:00
arkon
9a10656bf0
Migrate reader slider and next/prev buttons to Compose
2023-05-03 17:14:11 -04:00
arkon
3c79777e66
Migrate PageIndicatorTextView to Compose
...
Probably closes #7798
2023-05-03 16:18:25 -04:00
arkon
f5ad95d78a
Fix language in source filter list jumping to top incorrectly
...
Fixes #9068
2023-05-03 15:07:41 -04:00
arkon
14c465d36f
Get current track services when composing LibrarySettingsDialog
...
Fixes #9431
2023-05-03 14:41:08 -04:00
arkon
99378ddf20
Bump dependencies
2023-05-03 14:09:52 -04:00
arkon
c623258e8c
Try Apache implementation of ZipFile instead
...
Docs: https://commons.apache.org/proper/commons-compress/
Related StackOverflow post: https://stackoverflow.com/a/54236244/4421500
Related to #9438
2023-05-03 14:00:33 -04:00
Houssein Zaghdane
6ce42dc167
fix to multiple "add to library" toasts bug when adding a new series ( #9433 )
...
fix to multiple "add to library" toasts bug (#9177 )
Co-authored-by: Houssein Zaghdane <zaghdane@fireflow.de>
2023-05-03 10:40:11 -04:00
Andreas
f63573f25f
Remove SourceData and use StubSource directly for database ( #9429 )
2023-05-03 10:33:05 -04:00
Andreas
02864ebd60
Move GitHub Release/App Update logic to data ( #9422 )
...
* Move GitHub Release/App Update logic to data
* Add tests for GetApplicationRelease
* Review changes
2023-04-29 22:14:49 -04:00
arkon
9339ea4196
Process chapter duplicates after sorting
...
Closes #9255 , sort of. The example is a bad edge case though, where chapter numbers are repeated across versions,
so realistically only the first 113 will appear but the later 113(s) won't despite being "different". Those realistically
should be in different manga entries, not all mixed together, so this is just a crappy source.
2023-04-28 16:01:14 -04:00
AntsyLich
6bdc1b676e
Avoid potential crash when opening library settings sheet 2.0 ( #9419 )
...
Avoid potential crash when opening library settings sheet 2.0
Previous one had issues
2023-04-28 15:15:54 -04:00
Andreas
7451c13edd
Add slider for changing columns ( #9421 )
...
- It changes the columns based on the current orientation
2023-04-28 15:13:41 -04:00
arkon
ccd4143d9d
extension-lib 1.5: Add AppInfo#getSupportedImageMimeTypes()
2023-04-28 11:36:17 -04:00
arkon
c590f55030
Revert "Avoid potential crash when opening library settings sheet ( #9415 )"
...
This reverts commit 2cb08e6bb1
.
2023-04-28 10:11:13 -04:00
AntsyLich
c21813a8b5
Add an icon to "Item Per Row" on library sheet ( #9414 )
...
Also cleanup `SettingsItems.kt`
2023-04-28 10:08:35 -04:00
AntsyLich
2cb08e6bb1
Avoid potential crash when opening library settings sheet ( #9415 )
2023-04-28 09:08:17 -04:00
stevenyomi
058ee4c86b
Fix exception formatter's format ( #9413 )
2023-04-28 09:06:32 -04:00
arkon
ea6e5eebac
Remove "when tapping" from "Pan wide images" setting
...
Closes #9343
2023-04-27 22:54:07 -04:00
arkon
9cc25ff345
Fix disable source option not appearing
2023-04-27 22:47:58 -04:00
arkon
c9805b8612
Consolidate exception message formatting
...
Closes #9408
2023-04-27 22:45:30 -04:00
Quang Kieu
41c89eb61d
Add interval data layer ( #9398 )
...
* Update Manga classes for fetch interval data
* Update per review
bump version
---------
Co-authored-by: quangkieu <qkieu>
2023-04-27 22:27:12 -04:00
arkon
392c3492b3
Minor cleanup
2023-04-26 17:27:44 -04:00
arkon
20bec66a9d
Handle archives with nested directories properly
...
Closes #9389
2023-04-25 22:07:34 -04:00
Ken Swenson
3ce9a9ff97
Double tap zoom toggle ( #9384 )
...
* Double tap zoom toggle
Implements a toggle that allows users to disable double tap zoom including QuickScaling for webtoons. Partially resolves #4145
* Update i18n/src/main/res/values/strings.xml
---------
Co-authored-by: arkon <arkon@users.noreply.github.com>
2023-04-25 18:06:49 -04:00
d-najd
a8f17a3fab
Add swipe actions for chapters ( #9304 )
...
* added chapter swipe
* Rework corner animtion
* Update i18n/src/main/res/values/strings.xml
Co-authored-by: arkon <arkon@users.noreply.github.com>
* Replace LTR/RTL with Start/End layout
* Added label to the animation so the warning will go away
* Getting rid of the swipe threshold setting
* adding disabled option, renaming stuff, other stuff?
* Getting rid of the snackbar
* Getting rid of unecessary strings
* changing enum names as requested
* Renaming Raio to Ratio (I need a better keyboard as well -__-)
* Replacing error with download icon and action
* backup
* minor cleanup
* fixing an nasty edge case
* fixing mistakes in the previous conflict
* space
* fixing bug
fixed bug where the user could dismiss already dismissed item leading to item getting stuck
* fixing lint errors
* fixing lints (hopefully)
* Added "swipe disabled" to the list of actions
* Replacing string value and moving value as requested
* replacing rest of the strings with generic ones
---------
Co-authored-by: arkon <arkon@users.noreply.github.com>
2023-04-25 17:29:39 -04:00
Tooster
ef3d2c14b4
Fix misused string key in library context menu ( #9388 )
...
The "update global" action used key which led to translation issues in Polish.
2023-04-24 22:32:28 -04:00
arkon
44619febd3
Load ZIP file contents to cache ( #9381 )
...
* Extract downloaded archives to tmp folder when loading for viewing
* Generate sequence of entries from ZipInputStream instead of loading entire ZipFile
2023-04-23 11:59:58 -04:00
arkon
c48accb357
Maybe fix Firebase crashes
...
See https://github.com/firebase/firebase-android-sdk/issues/3507
2023-04-23 11:59:44 -04:00
arkon
418e6a8b3a
Make loader implementation classes internal
2023-04-23 10:11:26 -04:00
arkon
67b4e53a58
Minor cleanup
2023-04-23 10:11:26 -04:00
arkon
265934d77a
Fix missing type info in release builds
2023-04-22 18:32:22 -04:00
arkon
2a218cca90
Fix missing type info in release builds
2023-04-22 18:22:24 -04:00
arkon
e23cc8f83a
Hide beta split tall images setting from reader setting sheet for release builds
...
Closes #9358
2023-04-22 16:33:41 -04:00
arkon
0b125b7106
Use Compose for reader transition chapter info ( #9373 )
2023-04-22 16:33:36 -04:00
arkon
26f3995595
Consolidate missing chapters functions to domain module and add tests
2023-04-22 11:34:51 -04:00
Pauline
41cc1fe723
Fallback chapter name if it ends up as blank ( #9220 )
...
* change the directory's name for a download when the chapter's name is only composed of numbers or is blank
* maj in case the chapter name is blank or empty
* clean code
2023-04-22 11:11:56 -04:00
arkon
add228407f
Remove abstract TabeedBottomSheetDialog class
2023-04-19 22:43:36 -04:00
Ivan Iskandar
2c6e025063
Add more info to debug screen ( #9357 )
...
* App version
* WebView version
* ART profile status
* Device model
* Android version
2023-04-18 22:59:27 -04:00
arkon
97e6f1ea9a
Upgrade to AGP 8.0.0 ( #9351 )
2023-04-16 18:02:24 -04:00
arkon
5c1a81d8ca
Merge branch 'patch'
2023-04-16 11:09:22 -04:00
arkon
c615f4d458
Release v0.14.6
2023-04-16 11:00:14 -04:00
Eshlender
7115a9b9fe
Update track domain shikimori.me ( #9333 )
...
shikimori.me
(cherry picked from commit 564a0980b9
)
2023-04-16 10:53:01 -04:00
arkon
fd8b97fc87
Better handle overflowing content in MigrateDialog actions
...
Fixes #9207
(cherry picked from commit b7cd7b8b4e
)
2023-04-16 10:52:53 -04:00
arkon
4dd67e4348
Save current chapter progress when navigating to adjacent chapters
...
Fixes #9295
(cherry picked from commit 776d36caf1
)
2023-04-16 10:52:42 -04:00
arkon
38428c6ebe
Show proper string in manga detail screen for SourceNotInstalledException
...
(cherry picked from commit 14d1bcacc9
)
2023-04-16 10:51:05 -04:00
arkon
bf85e147e7
Set default automatic library updates to off
...
(cherry picked from commit abd23b6826
)
2023-04-16 10:50:55 -04:00
arkon
d2dd34c2e5
Use queued last chapter read number when performing delayed tracker update
...
Fixes #8876
(cherry picked from commit f7f2072621
)
2023-04-16 10:50:24 -04:00
arkon
aa2ec5940f
Avoid crashing in SourcePreferencesScreen if source can't be loaded
...
(cherry picked from commit 4efca04765
)
2023-04-16 10:49:11 -04:00
arkon
79323de326
Avoid crash in DeleteLibraryMangaDialog
...
No clue why it ever gets a -1 index though.
(cherry picked from commit b12c7cf963
)
2023-04-16 10:49:05 -04:00
Two-Ai
08e6487a9a
Fix download queue page count display bug ( #9126 )
...
When restarting a download, the page count would display as 0 until
the first page download completion, after all the existing pages were
rechecked.
To fix, calculate downloadedImages from pages instead of relying on
the downloader to reset and increment the count.
(cherry picked from commit 779df32e98
)
2023-04-16 10:48:16 -04:00
arkon
6f2bb18d72
Avoid crash when loading invalid extension package
...
(cherry picked from commit 3d7c136320
)
2023-04-16 10:47:58 -04:00
arkon
c6ac992798
Move library columns settings to library sheet
...
Closes #3969 . Dialog-ception.
2023-04-15 19:36:49 -04:00
arkon
8ab7e63293
Add tests for MissingChapters function
2023-04-15 09:51:52 -04:00
arkon
4bcd623829
Move worker info screen into debug info menu
...
No need to translate anything for debug info. Dunno what else will end up in that menu in the future.
2023-04-15 09:35:22 -04:00
Trace
4816b4b53a
fix: skip duplicate chapters on download ahead if option to skip duplicates is enabled ( #9334 )
...
* fix: skip duplicate chapters on download ahead if option is enabled
* fix: Use a function to filter duplicates
2023-04-15 09:34:02 -04:00
Ivan Iskandar
60d8650860
WheelPicker: Add manual input ( #9338 )
2023-04-15 09:26:33 -04:00
Eshlender
564a0980b9
Update track domain shikimori.me ( #9333 )
...
shikimori.me
2023-04-14 21:57:05 -04:00
Ivan Iskandar
c1e23ec18e
GlobalSearchScreen: Skip result screen when using search intent ( #9299 )
2023-04-07 22:18:48 -04:00
arkon
b7cd7b8b4e
Better handle overflowing content in MigrateDialog actions
...
Fixes #9207
2023-04-05 22:36:57 -04:00
arkon
776d36caf1
Save current chapter progress when navigating to adjacent chapters
...
Fixes #9295
2023-04-05 22:29:56 -04:00
Ivan Iskandar
182e642cfc
SearchToolbar: Check initial search query to open keyboard by default ( #9297 )
2023-04-05 22:15:56 -04:00
arkon
d25ba23079
Fix automatic backups not working
...
Apparently they die if you rename a worker class.
2023-04-05 22:13:54 -04:00
arkon
75460e01c8
Remove crash log notification in favor of sharing directly
2023-04-02 15:30:22 -04:00
RS156
274218cf22
Make center zoom start vertically centered too ( #8849 )
...
Update ReaderPageImageView.kt
"true center" Zoom start position #8747 .
Changed zoom position to get true center value.
2023-04-01 14:52:15 -04:00
Ivan Iskandar
7a1b599462
Adjust SearchToolbar soft keyboard behavior ( #9282 )
...
* Show soft keyboard when the text field is composed (a redo)
* Clear focus on text field when soft keyboard is hidden
* Request focus on text field and show soft keyboard
when clear button is clicked
2023-03-31 09:24:44 -04:00
arkon
1dd62af188
Ensure EmptyScreen is scrollable
...
Also fix padding for loading/empty states in BrowseSourceScreen
2023-03-29 22:53:58 -04:00
Ivan Iskandar
6f1099b710
AdaptiveSheet: Wrap inside Dialog ( #9279 )
...
Because of Compose issue, the style of the sheet surface is adjusted as
a workaround
Ref https://issuetracker.google.com/issues/246909281
2023-03-29 22:34:32 -04:00
arkon
be8e2f119f
Make pin source icon lighter
...
Closes #9274
2023-03-28 23:01:22 -04:00
arkon
18f9e5ba6b
Use IO dispatcher for some screen model work
...
Not sure if this is an ideal approach. If it is, we could migrate more usages to this.
2023-03-28 22:52:30 -04:00
arkon
d1bf857079
Remove unnecessary withIOContext
2023-03-28 18:16:43 -04:00
arkon
be54b8862e
Refactor away some unnecessary lambda expressions
2023-03-26 13:27:31 -04:00
arkon
1a61130f0b
Don't attempt to initialize manga details from BrowseSource or Search screens
...
This was effectively DDoSing sources as it does a request for every entry to get the details (primarily a cover image).
The expectation now is that users have to open individual entries to load the details/cover if needed.
This isn't necessary for most sources, which are able to provide covers as part of the listing normally.
2023-03-26 13:12:32 -04:00
arkon
1de4bc9586
Restore POST_NOTIFICATIONS permission check for SDK 33+
...
Although we don't even target it yet and don't prompt for it but whatever, less work in the future.
2023-03-26 12:56:34 -04:00
arkon
1986042277
Skip POST_NOTIFICATIONS permission check for now
...
Fixes #9265
2023-03-26 12:34:32 -04:00
arkon
e932983494
Subscribe to changes to manga in BrowseSourceScreen
...
Fixes #9235
2023-03-26 12:06:12 -04:00
Two-Ai
35d381144d
Cleanup Preference.asHotFlow() ( #9257 )
...
* Drop duplicate initial call in Preference.asHotFlow
Preference.changes() always starts by returning the current value of
the preference, so asHotFlow calls block twice on the initial value.
Possible breaking change: As implemented, asHotFlow ran block(get())
before returning the flow. After this change, the first call to block
will run within the flow collection. This might cause concurrency
issues if the flow collection is late to execute.
* Inline Preference.asHotFlow
The Preference.changes().onEach().launchIn() pattern is used widely,
so the asHotFlow extension method is redundant.
2023-03-26 11:52:54 -04:00
stevenyomi
0bcc22822d
Simplify code in missing chapters warning ( #9263 )
2023-03-26 11:50:29 -04:00
arkon
1ff78173f7
Adjust missing chapters UI
2023-03-26 10:26:58 -04:00
arkon
8d7a7919a9
Add TODO to default to 32-bit color at some point
...
Originally proposed in #8959
2023-03-24 22:52:18 -04:00
arkon
953720472f
Add "Rotate wide pages to fit" setting for paged reader
...
Originally authored in #7983
Co-authored-by: timothyng-164 <timothyng-164@users.noreply.github.com>
2023-03-24 22:49:35 -04:00
Felix Kaiser
f94d902bb6
Added missing chapters count in MangaInfoHeader ( #9184 )
...
* Added missing chapters count in MangaInfoHeader
* Added "Might be missing chapters"
* Added missing chapters to MangaAndSourceTitlesLarge function
* Removed comments
* Reworked getMissingChapters to countMissingChapters, moved -1 check
* Attempting detecting sub-chapters
* Moved MissingChapters to ChapterHeader; Adapted design to fit in
* Fixed block comment in one-line-element
* Fixed critical missing-chapter counting bug
* Undid unintentional & unnecessary changes
* Moved & refactored countMissingChapters
* Fixed import order; Mapping chapter object to chapterNumber
* Optimized "No (valid) chapters" detection
---------
Co-authored-by: arkon <arkon@users.noreply.github.com>
2023-03-24 22:44:58 -04:00
arkon
da25322572
Bump Compose dependencies
2023-03-23 22:19:43 -04:00
arkon
cb4699a5bb
Bump dependencies
2023-03-22 22:58:42 -04:00
arkon
2e5efadf42
Rename Complications -> Overlay
2023-03-22 09:26:07 -04:00
arkon
ac0596a53d
Revert "Always attempt to split tall images when downloading"
...
This partially reverts commit 2769525b2c
.
Keeps the change to silently ignore spliting errors since it falls back to
the original images in those cases.
2023-03-20 08:45:36 -04:00
arkon
7ec5a51eb8
Move isLocal extension functions to LocalSource
2023-03-20 08:41:44 -04:00
arkon
3cca460282
Misc cleanup
2023-03-19 22:38:14 -04:00
arkon
d703fb7946
Split up ContextExtensions into smaller files
2023-03-19 18:27:30 -04:00
arkon
859601a46e
Clean up WorkManager usages a bit
2023-03-19 18:19:40 -04:00
arkon
cdc160afc2
Convert BackupRestoreService to a WorkManager job
...
Co-authored-by: Jays2Kings <Jays2Kings@users.noreply.github.com>
2023-03-19 17:28:59 -04:00
arkon
14d1bcacc9
Show proper string in manga detail screen for SourceNotInstalledException
2023-03-19 17:23:51 -04:00
arkon
7d8a865cac
Simplify some of the notification builders
2023-03-19 16:24:37 -04:00
Andreas
dfdb688b43
Migrate things to use newer data models ( #9239 )
...
* Remove old database models from Coil
* Remove old database models from TrackInfoDialogHome
* Remove old database models from Backup Manager
2023-03-19 13:11:58 -04:00
arkon
f3ca4e76a8
Re-enable ComicInfo.xml generation on download
...
Closes #8537
2023-03-19 13:02:38 -04:00
arkon
2769525b2c
Always attempt to split tall images when downloading
2023-03-19 12:57:16 -04:00
arkon
843e748de3
Clean up library display settings tab a bit
2023-03-19 12:41:29 -04:00
Alexandr Kozlinskiy
81af97df77
BrowseSource: do networkToLocal and initializeManga inside flow ( #9217 )
...
* do networkToLocal and initializeManga inside flow
* remove BrowseSourceScreenModel.GetManga
2023-03-18 09:42:44 -04:00
Ivan Iskandar
18e55aa25f
Adjust tab indicator visual ( #9219 )
...
Now behaves like the non-compose indicator by showing the swipe progress too
2023-03-16 22:20:25 -04:00
Ivan Iskandar
4d3e13b0d1
Initialize download index disk cache ( #9179 )
2023-03-16 22:18:11 -04:00
arkon
47a2d06682
Refactor tracker status string mappings
...
Should fix #9195
2023-03-10 23:01:10 -05:00
Ivan Iskandar
c0f94ae8af
Revert "Fix banners-related issues" ( #9186 )
...
Revert "Fix banners-related issues (#9143 )"
This reverts commit 63048d2f0b
.
2023-03-09 22:10:49 -05:00
arkon
ed32a511e7
Bump dependencies
2023-03-08 22:52:19 -05:00
arkon
09acc53483
Remove download all chapters menu item
...
Users can still select all the chapters (long press + select all) to download them.
2023-03-07 22:38:27 -05:00
arkon
bebd4be43d
Move more things to domain/data modules
2023-03-07 22:38:02 -05:00
arkon
9b77759f24
Use stricter visibility for composables where possible
2023-03-05 18:41:08 -05:00
arkon
e458de5e9c
Add dot beside unread chapter names
...
Closes #4261
Also includes changes that might help with #9043
2023-03-05 17:47:27 -05:00
arkon
e917349bb7
Use Compose icons instead of drawables
...
Using:
- https://github.com/DevSrSouza/compose-icons
- https://github.com/DevSrSouza/compose-icons/blob/master/simple-icons/DOCUMENTATION.md
2023-03-05 15:37:41 -05:00
arkon
ad4912803b
Refactor SourceManager/StubSource to domain module
2023-03-05 12:38:31 -05:00
arkon
f96f0c5889
Move some preferences into domain module
2023-03-05 12:11:47 -05:00
arkon
2b9acadc5b
Move sourceMapper to data module
2023-03-05 12:05:48 -05:00
arkon
9caa0d147b
Show proper message when doing global update
...
Fixes #9170
2023-03-05 11:07:33 -05:00
Andreas
1abf01c4a0
Convert source modules to Kotlin Multiplatform ( #9172 )
...
Use KMP in source modules
Use KMP in source-api
Expect LocalSource
2023-03-05 10:16:19 -05:00
Two-Ai
b41565f879
Inline DownloadQueue into Downloader ( #9159 )
...
* Move statusFlow and progressFlow to DownloadManager
* Inline DownloadQueue into Downloader
* Move reorderQueue implementation to Downloader
2023-02-28 22:13:13 -05:00
arkon
f03a834136
Add explicit overflow menu options to refresh library category and manga chapters list
...
Jetpack Compose treats mouse input differently than just mimicking a touch input, so dragging doesn't actually
invoke the pull to refresh. If that changes in the future, we could consider removing these.
Doesn't seem too necessary for the extensions list, so I skipped that.
Closes #8455
2023-02-26 16:58:36 -05:00
arkon
f7f2072621
Use queued last chapter read number when performing delayed tracker update
...
Fixes #8876
2023-02-26 16:48:04 -05:00
arkon
5b2e937d5f
Minor refactoring
2023-02-26 16:47:29 -05:00
Andreas
f27dc19b37
Move Local Source to separate module ( #9152 )
...
* Move Local Source to separate module
* Review changes
2023-02-26 16:16:49 -05:00
arkon
2368c50ebb
Add menu shortcut to source settings in BrowseSourceScreen
...
Adapted from TachiyomiSY.
Co-authored-by: jobobby04 <jobobby04@users.noreply.github.com>
2023-02-26 10:23:07 -05:00
Two-Ai
0505906e7a
Move all DownloadService.stop calls to Downloader ( #9146 )
...
Downloader.stop is now the sole responsible for stopping the
DownloadService. This will help cleanly removing
DownloadService.stop when migrating to coroutines.
2023-02-25 15:40:22 -05:00
arkon
4efca04765
Avoid crashing in SourcePreferencesScreen if source can't be loaded
2023-02-25 15:32:46 -05:00
arkon
b12c7cf963
Avoid crash in DeleteLibraryMangaDialog
...
No clue why it ever gets a -1 index though.
2023-02-25 15:29:00 -05:00
arkon
487622c592
Close source filter dialog when filtering
2023-02-25 15:16:48 -05:00
Ivan Iskandar
63048d2f0b
Fix banners-related issues ( #9143 )
...
This is most likely Compose issue so these changes will
be reevaluated when new Compose ver is out.
2023-02-25 14:44:35 -05:00