Ivan Iskandar
1b804e61cb
Fix cover fetching in compose views ( #7315 )
...
Make sure it passed thru the custom fetcher
2022-06-17 22:21:29 -04:00
Andreas
c5d84b4f24
Fix History not being added when restoring backup ( #7324 )
2022-06-17 17:29:07 -04:00
Ivan Iskandar
ae88252cb1
MangaController: Change the workaround for title alpha ( #7277 )
...
Now checks for the backstack for any dialog controller when a push exit occurs
before restoring the title alpha.
2022-06-17 17:28:50 -04:00
Ivan Iskandar
3c3d787a2b
MainActivity: Fix incorrect UI states when activity recreated with dialog controller ( #7325 )
2022-06-17 17:28:07 -04:00
jmir1
6aee4fc464
Fix freezing on migrating manga ( #7317 )
...
* Use `supend` instead of `runBlocking` in migrate function
* lift `syncChaptersWithSource` out of the db trasaction
2022-06-16 23:34:44 -04:00
Ivan Iskandar
4ef337f1e9
Don't set text colors when creating compose theme ( #7316 )
...
This avoids compose snackbar text color issue
2022-06-16 11:37:57 -04:00
Andreas
017f6b22f0
Use SQLDelight on Category screen ( #7310 )
...
* Use SQLDelight on Category screen
* Include category name in DuplicateNameException
2022-06-16 10:59:10 -04:00
nicki
fdf384b809
Add Cancel button to App Update Notification ( #7309 )
...
* Add cancel button in app update download notif
Since stuck downloads are a common issue and only solution until now was
to force close the app or download and update the app manually by
downloading from GitHub (which clears the notif away)
Based on commit
4dea924337
Co-authored-by: Jays2Kings <8617760+Jays2Kings@users.noreply.github.com>
* Linting by Android Studio
* commit PR Review Suggestion
Update app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt
Co-authored-by: arkon <arkon@users.noreply.github.com>
* Use `launchIO`
copied this over from how j2k was doing it. Launching in IO Thread like
how it was before this PR is sufficient
* Clear previous actions before adding `Cancel`
Otherwise, it led to two identical Cancel buttons
Co-authored-by: Jays2Kings <8617760+Jays2Kings@users.noreply.github.com>
Co-authored-by: arkon <arkon@users.noreply.github.com>
2022-06-15 18:07:01 -04:00
arkon
284880d096
Fix WebView user-agent ( fixes #7306 )
...
The `source.headers.toMultimap()` call in WebViewActivity makes all the names lowercase.
2022-06-15 18:05:56 -04:00
arkon
a446b37c1f
Make Compose overflow menu feel slightly more like XML version
2022-06-15 18:02:08 -04:00
arkon
d2f4c43526
Minor cleanup
2022-06-14 22:31:39 -04:00
AntsyLich
9d5b7de1d8
Maintain source info in the database. ( #6389 )
...
* Maintain Source Info in database
* Review changes and cleanups
* Review changes 2
* Review Changes 3
2022-06-14 09:10:40 -04:00
AntsyLich
a01c370d63
Set db chapter metadata from correct chapter ( #7303 )
2022-06-14 09:09:21 -04:00
Andreas
fd5da2de3a
Use SQLDelight in Backup/Restore ( #7295 )
...
* Use SQLDelight in Backup/Restore
* Use CoroutineWorker
2022-06-12 14:33:48 -04:00
AntsyLich
693cc103ea
Add date_upload
to toDbChapter()
( #7297 )
2022-06-12 11:44:02 -04:00
arkon
5ccde61ae1
Minor cleanup
2022-06-12 11:29:48 -04:00
AntsyLich
b96686e6ad
Fix chapter list live update ( #7296 )
2022-06-12 11:23:41 -04:00
nicki
e7695aef78
Fix Links to Changelog/Readme/Commits for multisrc
( #7252 )
...
* Fix Links to Changelog/Readme/Commits for `multisrc`
working basic fix. Needs to be refactored into `createUrl()`
* Refactor back into `createUrl`
hopefully the logic is understandable
there's three cases:
- when multisrc, if `path` isn't mentioned, then we're trying to open
commmit history
- when multisrc, if `path` is mentioned, then its either a changelog or
a readme to a multisrc extension, the files are stored in the
`overrides` subfolder
- when not multisrc, we're looking at a single source where the links
are constructed in the same way regardless of it being
changelog/readme/commit history
2022-06-12 10:24:39 -04:00
AntsyLich
5bb78eb77f
Update manga metadata on library update with sqldelight
( #7293 )
...
Co-Authored-By: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
2022-06-12 10:21:45 -04:00
arkon
5fbf454652
Update compose-theme-adapter
2022-06-12 09:59:55 -04:00
arkon
d098eca69d
Remove unused database resolvers/queries
2022-06-11 11:51:14 -04:00
AntsyLich
120943a8b3
Make syncChaptersWithSource
use sqldelight ( #7263 )
...
* Make `syncChaptersWithSource` use sqldelight
Will break chapter list live update on current ui
Co-Authored-By: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
* Review Changes
Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
2022-06-11 11:38:39 -04:00
arkon
e15a867106
Convert clear database queries to SQLDelight
2022-06-10 21:33:56 -04:00
arkon
da8669c826
Actually compare chapter numbers as numbers when sorting ( fixes #7247 )
2022-06-10 09:49:50 -04:00
Ivan Iskandar
59837bbb90
Change cover memory key ( #7276 )
...
Use different key for custom cover and add last modified time for updating
cover without clearing the whole memory cache
2022-06-10 09:33:59 -04:00
Rohit Mane
20c14a0a00
Update ChapterSourceSync.kt ( #7271 )
2022-06-10 09:27:08 -04:00
AntsyLich
06fdfcdb23
Make ChapterRecognition
return the result ( #7279 )
2022-06-10 09:26:56 -04:00
arkon
cf48bbc176
Minor cleanup
...
Fixing some things that were errors when compiling against SDK 33.
2022-06-09 23:04:40 -04:00
arkon
40f5d26945
Don't show clipboard copy confirmation toast on Android 13 or above
2022-06-08 22:31:01 -04:00
kasperskier
18ea6c4f65
Add more DoH providers ( #7256 )
...
* Add more DoH providers
* Fix IPs
2022-06-07 17:58:58 -04:00
AntsyLich
7a661747c5
Tweak extension details screen ( #7257 )
2022-06-07 17:47:46 -04:00
Andreas
161c8bcf9e
Use Requery to enhance SQLite ( #7260 )
2022-06-06 08:25:03 -04:00
arkon
7fdbf40cd2
Minor cleanups
...
Pulling out some of the smaller changes that aren't related to the manga controller changes in #7244
2022-06-04 16:01:49 -04:00
Saud-97
5ea03fad87
New: Migrating titles maintains custom covers ( #7196 )
...
* New: Migrating titles maintains custom covers #7189
* Added Custom Covers to MigrationFlags.kt, strings.xml
* Reworded covers --> cover
* Updated logic to show/hide Migration flags titles depending on manga.
2022-06-04 12:52:35 -04:00
kasperskier
dd5da56695
ChapterSourceSync: set default timestamp to max timestamp ( #7197 )
2022-06-04 12:48:18 -04:00
AntsyLich
0e1e57c1c3
Fix loading progress not showing in webview ( #7243 )
...
* Fix loading progress not showing in webview
* Review Changes
2022-06-04 12:44:20 -04:00
Andreas
4560033e66
feat: add read last read chapter shortcut ( #7230 )
...
Supersedes #6861
Co-authored-by: Pierre-Monier <65488471+Pierre-Monier@users.noreply.github.com>
Co-authored-by: Pierre-Monier <65488471+Pierre-Monier@users.noreply.github.com>
2022-05-31 22:55:58 -04:00
arkon
d1be221d7a
Remove logic for restoring legacy JSON backups
...
- Protobuf backups have been around for 1.5 years now
- The ability to restore online-dependant data from JSON backups gets harder as time goes on and sources drift
- If users really need a way to restore them, they can use an older version of the app, or a separate tool for translating between the formats could be created
2022-05-29 12:24:39 -04:00
arkon
cd0294b1b6
Replace history query with actual upsert
2022-05-29 12:12:06 -04:00
Andreas
b36ca92dd9
Make Storio follow new database table structure ( #7217 )
2022-05-28 18:36:40 -04:00
Andreas
c8468c29f1
MangaUpdates tweaks ( #7205 )
...
* MangaUpdates tweaks
* Review changes
Co-authored-by: arkon <4098258+arkon@users.noreply.github.com>
* Use built in functions instead of Jsoup
Co-authored-by: arkon <4098258+arkon@users.noreply.github.com>
2022-05-28 18:36:28 -04:00
arkon
3c40010aff
Minor cleanups
2022-05-28 09:12:15 -04:00
Chris
63238b388d
Fix global update ignoring network constraint ( #7188 )
...
* update library update network constraint logic
* add explicit 'only on unmetered network' update constraint
2022-05-28 09:09:53 -04:00
AntsyLich
809da49301
Reader: Save reading progress with SQLDelight ( #7185 )
...
* Use SQLDelight in reader to update history
* Move chapter progress to sqldelight
* Review Changes
Co-Authored-By: inorichi <len@kanade.eu>
* Review Changes 2
Co-authored-by: FourTOne5 <59261191+FourTOne5@users.noreply.github.com>
Co-authored-by: inorichi <len@kanade.eu>
2022-05-28 09:09:27 -04:00
arkon
87661eb85a
Minor cleanup
2022-05-24 18:16:07 -04:00
FourTOne5
ad17eb1386
Local Source - qol, cleanup and cover related fixes ( #7166 )
...
* Local Source - qol, cleanup and cover related fixes
* Review Changes
2022-05-24 18:02:02 -04:00
Andreas
0c631a4990
Add MangaUpdates as a tracker ( #7170 )
...
* Add MangaUpdates as a tracker
- jobobby04 co-authored for suggestion in BackupTracking.kt
Co-authored-by: jobobby04 <jobobby04@users.noreply.github.com>
* Changes from code review
Co-authored-by: arkon <arkon@users.noreply.github.com>
Co-authored-by: jobobby04 <jobobby04@users.noreply.github.com>
Co-authored-by: arkon <arkon@users.noreply.github.com>
2022-05-24 18:00:33 -04:00
arkon
9b0d85bf6c
Migrate settings search view to Compose
2022-05-23 18:33:46 -04:00
Ivan Iskandar
3b2362c784
Add scrollbar indicator to LazyColumn ( #7164 )
2022-05-23 18:03:46 -04:00
saud-97
3e07100dc2
Fixes: incorrect sorting when chapter name contains hyphens '-' ( #7161 )
...
* Fixes: incorrect sorting when chapter name contains hyphens '-'
* Added a test case for hyphen in ChapterRecognitionTest.kt
* Removed chapter range test case since it will be replaced by chapterContainingHyphensCase
2022-05-23 17:17:29 -04:00
FourTOne5
28be423e65
Fix LogPriority
in HistoryRepositoryImpl
( #7173 )
2022-05-20 08:05:23 -04:00
arkon
9a75232ca4
Minor cleanup
2022-05-19 17:43:27 -04:00
FourTOne5
64da16f58f
Update extension details screen design ( #7158 )
...
* Update extension details screen design
* Review Changes
Co-Authored-By: Andreas <6576096+ghostbear@users.noreply.github.com>
* Review Changes 2
Co-authored-by: Andreas <6576096+ghostbear@users.noreply.github.com>
2022-05-19 17:31:07 -04:00
FourTOne5
fd9510e18f
Migrate extensions language filter screen to compose ( #7169 )
2022-05-19 17:29:40 -04:00
Andreas
2761d27aaa
Make extension list update when languages changes ( #7168 )
2022-05-19 08:32:21 -04:00
CVIUS
bbb69482e1
Add ability to show manga when clicking item in migration search process ( #7134 )
2022-05-18 22:35:27 -04:00
CVIUS
6580f5771f
Fix reader menu appearing then disappearing in webtoon viewer when there is no next chapter ( #7115 )
2022-05-17 17:20:37 -04:00
CVIUS
b21bcc2d45
Fix webtoon viewer showing transition view when going to next/prev chapter using next/prev button ( #7133 )
2022-05-17 17:20:18 -04:00
S97
4481c54376
Fixed Splitting Height for Tall Images ( #7148 )
...
* Fixed Splitting Height for Tall Images #7140
* Update app/src/main/java/eu/kanade/tachiyomi/util/system/ContextExtensions.kt
Co-authored-by: FourTOne5 <59261191+FourTOne5@users.noreply.github.com>
Co-authored-by: FourTOne5 <59261191+FourTOne5@users.noreply.github.com>
2022-05-17 17:19:38 -04:00
kasperskier
7b242bf118
Change jsDelivr CDN URL to Fastly ( #7156 )
2022-05-17 17:19:17 -04:00
CVIUS
f2a478288a
Fix close button tint in extension screen ( #7154 )
2022-05-17 08:09:11 -04:00
arkon
01e04e31bf
Theme Compose SwipeRefresh indicator like XML version
...
Also rename some screens/controllers to better represent that they're the list views.
2022-05-16 23:08:04 -04:00
FourTOne5
cbc114608b
Fix both warning banner appearing for unofficial ext ( #7150 )
2022-05-16 12:04:54 -04:00
arkon
9f42306f79
Minor cleanup
2022-05-15 17:03:57 -04:00
arkon
d61bfd7caf
Use jsDelivr as fallback when GitHub can't be reached for extensions ( closes #5517 )
...
Re-implementation of 24bb2f02dc
2022-05-15 16:51:52 -04:00
arkon
13943f77f7
Migrate extension details page to Compose
2022-05-15 16:35:33 -04:00
Jim Man
1c94ecdcdf
Fix formatting ( #7146 )
2022-05-15 16:19:55 -04:00
Andreas
fb83a07f84
Add missing top padding for screen that was rewritten in Compose ( #7145 )
2022-05-15 14:00:35 -04:00
Andreas
3e2d7d76b9
Convert Extension tab to use Compose ( #7107 )
...
* Convert Extension tab to use Compose
Co-authored-by: jobobby04 <17078382+jobobby04@users.noreply.github.com>
* Review changes
Co-authored-by: jobobby04 <17078382+jobobby04@users.noreply.github.com>
2022-05-15 09:59:53 -04:00
CVIUS
4c9331c4e9
Settings cleanup ( #7126 )
...
* Settings cleanup
* Oops
* Also hide "Invert tap zones" if tap zones is set to "Disabled" in ReaderReadingModeSettings
2022-05-15 09:37:52 -04:00
CVIUS
5002692bda
Add long click action on chapter download button ( #7125 )
2022-05-14 11:37:47 -04:00
FourTOne5
71bb8ed975
Minor cleanup in ImageUtil
and SourceFilterPresenter
( #7106 )
...
* Minor cleanup in `ImageUtil` and `SourceFilterPresenter`
* Fix missed stuff
2022-05-14 11:34:15 -04:00
CVIUS
f1ab34e27c
Save reader progress when activity is paused ( #7121 )
2022-05-14 08:51:04 -04:00
CVIUS
6d655ff757
Fix category tabs incorrect scroll position ( #7120 )
2022-05-14 08:09:15 -04:00
nzoba
63627c81eb
Add switch to DownloadPageLoader when chapter is downloaded ( #7119 )
2022-05-13 21:42:23 -04:00
arkon
5dc688dc2e
Update reset viewer flags strings
2022-05-12 09:04:02 -04:00
FourTOne5
08fb2fe467
Add option to reset viewer flags ( #7062 )
...
* Add option to reset viewer flags
* Review Changes
* Run `resetViewerFlags()` content with `launchIO`
2022-05-12 09:00:57 -04:00
CVIUS
f1afeac0bc
Detect identical mangas when long pressing to add to library ( #7095 )
...
* Detect identical mangas when long pressing to add to library
* Use extracted duplicate manga dialog to avoid duplication
* Partially revert previous commit
* Review changes
* Review changes part 2
2022-05-12 08:58:37 -04:00
S97
f75d632740
Fixed splitting logic and CBZ compression logic ( #7098 )
...
* Fixes:
- spliiting fails when the page was already been split and processed before
- Moved CBZ logic a little earlier to avoid marking a download as complete before the CBZ compression was completed
* Added a single space for readablity
* Added 2 spaces for readability
* Moved the splitting logic to happen inside getOrDownloadImage()
* Minor cleanup
* - Improved error handling when splitting fails due to OOM exception caused by BitmapFactory.decodeFile. - Changed logic from throwing error to only notify to allow the download to complete even if splitting failed.
* reverted auto formatting changes
* removed an extra loop
* Merged to Upstream, cleaned up
* Removed unused localized string
* Minor cleanup
2022-05-11 22:36:16 -04:00
CVIUS
b26daf8824
Fix "Move to top" showing at the most top item in download queue ( #7109 )
2022-05-11 22:35:30 -04:00
arkon
393fc14630
Update Compose
...
Fixes #7004
2022-05-11 22:29:28 -04:00
arkon
c7707dc50e
Minor cleanup
2022-05-11 22:17:12 -04:00
arkon
37199a10bf
Bump dependencies
2022-05-11 18:09:13 -04:00
arkon
b950370f12
Address some build warnings
2022-05-11 18:08:49 -04:00
arkon
ae7df4fb7f
Update linter
2022-05-10 17:54:52 -04:00
arkon
d3f9232a3f
Minor cleanup
...
- Add pending intent immutable flags to satisfy lint warnings
- Change AddDuplicateMangaDialog arg to a function instead to avoid leaking controller-specific logic into it
- Require WebView 99+
2022-05-10 17:39:45 -04:00
FourTOne5
9f655e0d41
Fix download splitter potentially throwing OOM on huge images ( #7099 )
...
* Fix download splitter potentially throwing OOM on huge images
Also move the splitting to ImageUtil
* Change variable name and logcat output
2022-05-10 17:06:18 -04:00
nicki
e7ed130f2a
Check for app updates by comparing semver ( #7100 )
...
Instead of just checking whether the current app version *matches* with
latest app version in GitHub Releases, compare the semver from the tag
names to check whether the latter is greater and the app needs an update
Reference: semver spec #11 https://semver.org/#spec-item-11
Co-authored-by: Andreas <6576096+ghostbear@users.noreply.github.com>
Co-authored-by: Andreas <6576096+ghostbear@users.noreply.github.com>
2022-05-10 17:04:40 -04:00
arkon
e421eb61bc
Extract add duplicate manga dialog into a controller
2022-05-10 09:19:10 -04:00
nicki
11c01235ac
Don't save categories in backup if not selected ( #7101 )
...
Currently, manually created backups contain list of categories even if
Categories option is not selected during Backup Prompt. This leads to
empty categories being created when restoring such backup files
This commit adds a check before saving categories list info to the
backup file. The check is the same check which is used while backing up
category info of manga in library
Tested and worked successfully on app installed on Android 12
2022-05-09 11:03:40 -04:00
arkon
6993e88265
Adjust inset consumption in Compose controllers ( fixes #7085 )
...
Co-authored-by: jobobby04 <jobobby04@users.noreply.github.com>
2022-05-07 23:50:14 -04:00
arkon
681e9396b3
Fix crash when using renamed library sort methods ( fixes #7092 )
2022-05-07 23:48:53 -04:00
arkon
85ef40d0ff
Don't allow swiping away app update install notification
...
Also show the new version number in the notifications.
2022-05-07 11:04:55 -04:00
arkon
39c0b74250
Fix tall image split math issues
...
- Round up per-split height to ensure the entire page ends up being split
- Handle the last split of a page potentially being shorter than the others
2022-05-06 23:10:56 -04:00
arkon
a9e629aea6
Minor cleanup
...
- Remove some unused StorIO queries
- Clean up tall image splitting a bit (no need for creating an unscaled scaled bitmap copy, or tracking coordinates)
- Clean up library updater a bit (still needs a lot of work though)
2022-05-06 22:48:00 -04:00
S97
aa11902aa1
Add option to automatically split tall downloaded images ( #7029 )
...
* Auto split long images to improve performance of reader
* Auto split long images to improve performance of reader - fixed the sorting
* Improved performance of splitting by getting rid of 1 extra loop
* Cleaned up code and moved the functionality to work during the downloading process (unsure how this affects download speed)
* Replaced the import .* with the actual used imports
* Fixes for Bugs discovered during my testing
* Fixed last split missing bug.
* Reordered the download progress to be updated before splitting instead of after to reflect more meaningful progress of download
* Reverted last commit since it had no effect
* Improved progress tracking when a download is paused then resumed.
* Implemented the recommended changes to enhance the feature.
* Apply suggestions from code review
Co-authored-by: arkon <arkon@users.noreply.github.com>
* Update app/src/main/res/values/strings.xml
Co-authored-by: arkon <arkon@users.noreply.github.com>
Co-authored-by: arkon <arkon@users.noreply.github.com>
2022-05-06 22:17:27 -04:00
FourTOne5
c4088bad12
Fix removing manga from library reverts during global update ( #7063 )
...
* Fix removing manga from library reverts during global update
* Review Changes
* Review changes 2
2022-05-06 22:15:44 -04:00
FourTOne5
49d3ddb830
Add -r
flag to ShizukuInstaller createCommand
( #7080 )
2022-05-06 22:00:24 -04:00
FourTOne5
6d802063b4
Reword and Fix library sort ( #7068 )
2022-05-03 18:39:04 -04:00
FourTOne5
55a1cdb1c7
Case insensitive sort in Source tab ( #7067 )
2022-05-03 08:45:34 -04:00
jobobby04
ed8a54bd2a
Properly modify StateFlow value ( #7059 )
2022-05-02 08:31:50 -04:00
FourTOne5
5bd5b21543
Properly show history state ( #7052 )
...
* Make `HistoryState` similar to `MigrateState`
* Review Changes
* Also cache the transformation
Co-authored-by: Andreas <andreas.everos@gmail.com>
* Fix States
Co-authored-by: Andreas <andreas.everos@gmail.com>
2022-05-01 22:40:35 -04:00
arkon
aec980662f
Extract migrate list number badges for later use in library items
2022-05-01 22:35:44 -04:00
FourTOne5
aef1dc6eaf
Make MigrateSourceState
similar to MigrateState
( #7054 )
2022-05-01 22:35:34 -04:00
FourTOne5
bd45bf7407
Make SourceState
similar to MigrateState
( #7053 )
...
* make `SourceState` similar to `MigrateState`
* Review Changes
2022-05-01 22:34:58 -04:00
arkon
e3f6cfa2df
Add newer methods to StubSource
2022-05-01 10:46:44 -04:00
saud-97
5763201307
Notify user of error during a page download failure ( #7047 )
...
* Notify user of error during a page download failure
* Included the manga title in the error notification
2022-04-30 16:30:02 -04:00
arkon
dee7830793
Update navigation bar padding in Compose screens
2022-04-30 11:59:39 -04:00
FourTOne5
23f8f35354
Migrate Source Filter Screen to Compose ( #7031 )
...
* Migrate Source Filter Screen to Compose
* Changes from Review and some more fixes
* Rename some variable and classes
* Review Change
* Ewbase and Review changes
2022-04-30 11:49:02 -04:00
arkon
cccd09fb5c
Allow passing modifier to preference composables
2022-04-30 09:43:49 -04:00
Andreas
bf6d59cd21
Migrate Migrate Manga screen to Compose ( #7045 )
...
* Migrate Migrate Manga screen to Compose
* Changes from review comments
2022-04-30 09:37:10 -04:00
FourTOne5
6ef6eab994
Remove source lang on migrate screen also seperate removed source on alphabetical sort ( #7041 )
...
* Remove source lang on migrate screen also seperate removed source on alphabetical sort
* Review changes
* Rename Variable
2022-04-30 08:33:00 -04:00
arkon
ccff333123
Use Compose for OAuth login loading indicator
2022-04-29 09:01:05 -04:00
Andreas
891406cc7f
Fix database corruption ( #7042 )
...
When using SQLDelight and Storio at the same time
2022-04-29 08:04:59 -04:00
arkon
8798c295e6
Fix about icons sizing
2022-04-28 09:15:59 -04:00
FourTOne5
78207d48ba
Center CurcularProgressIndicator
in LoadingScreen
( #7032 )
...
* Center `CurcularProgressIndicator` in `LoadingScreen`
* Fix Import and move modifier to top
2022-04-28 08:54:51 -04:00
arkon
70698e6494
Add links to website FAQ for library update and download warning notifications
2022-04-27 22:45:31 -04:00
Andreas
adf02e53fd
Add error state to MangaCover composable ( #7022 )
...
* Add error state to MangaCover
- Add error drawable when thumbnailUrl isn't able to be loaded
- Tweak usage of MangaCover
* Change `contentDescription` to be nullable
As the invoke function makes default nulls
2022-04-27 09:24:35 -04:00
Andreas
7261fcccda
Use Compose in Migrate tab ( #7008 )
...
* Use Compose in Migrate tab
* Add missing header
* Remove unused files
* Fix build after rebase
* Changes from review comments
2022-04-27 08:36:16 -04:00
arkon
a4a4503311
Migrate SettingsMainController to Compose
2022-04-26 22:41:42 -04:00
arkon
0b77b78f6a
Remove some minor settings
...
Some spring cleaning to remove some unnecessary complexity so things are easier to maintain.
- Start screen: redundant with app shortcuts in Android 7.1+
- Jump to chapters: irrelevant in tablet mode and people can scroll a tiny bit if they really have to
- Option to not scroll away bottom nav: issues with fast scroll will be irrelevant with it being replaced or removed in the Compose migrations
Get ready for people malding over their special needs. https://xkcd.com/1172/
2022-04-24 22:17:15 -04:00
FourTOne5
06bec0ad54
Download new chapters when only excluded categories is selected ( #6984 )
2022-04-24 16:36:14 -04:00
arkon
2caf220b18
Remove some unused StorIO queries/resolvers
2022-04-24 16:20:46 -04:00
arkon
4d23f35b9d
Throw out old unit tests
...
Considering we never run or update them, they're not providing any value right now.
Kept the chapter recognition tests and bumped to JUnit 5.
2022-04-24 16:16:05 -04:00
arkon
7773deabc0
Adjust library sorting by dates ( closes #6954 )
...
Ascending by date = oldest dates first. If no date is present, fallback to epoch 0 (i.e., oldest).
2022-04-24 15:50:51 -04:00
arkon
91ed3a4a5f
Fix skipped library entries and size warning notifications using same ID
2022-04-24 15:49:24 -04:00
arkon
20145f7a12
Fix update warning notifications being cut off ( fixes #6983 )
2022-04-24 15:35:05 -04:00
arkon
883945e3e8
Default to downloading as CBZ ( closes #6942 )
...
Generally seems fine. People with weak devices may experience some issues, but they can toggle it off/extract the archives separately if needed.
2022-04-24 15:32:50 -04:00
arkon
3feea71146
Add battery not low restriction for global updates ( closes #6980 )
2022-04-24 15:25:28 -04:00
ItsLogic
5e32b8e49f
Fix chapter transition setting for one page chapters ( #6998 )
2022-04-24 15:21:21 -04:00
arkon
08e63e5fab
Minor cleanup 2: Electric Boogaloo
...
- Reword pins on top setting
- Make "Latest" button style match old UI
- Sort sources by name
2022-04-24 15:17:01 -04:00
arkon
0ec9496d26
Minor cleanup
2022-04-24 14:39:51 -04:00
Andreas
29a0989f28
Convert Source tab to use Compose ( #6987 )
...
* Use Compose in Source tab
* Replace hashCode with key function
* Add ability to turn off pins moving on top of source list
* Changes from review comments
2022-04-24 14:35:59 -04:00
arkon
558b18899c
Migrate WebViewActivity to Compose
2022-04-24 10:22:22 -04:00
arkon
6e95fde4ec
Delete entire app_webview folder when clearing WebView data
2022-04-24 09:42:26 -04:00
arkon
e691e17efc
Remove unused preference layouts
2022-04-23 18:34:53 -04:00
arkon
c25cffafc6
Migrate More screen to Compose ( #6990 )
2022-04-23 15:51:50 -04:00
arkon
8933b41937
Tweak about preferences styles
2022-04-23 12:42:35 -04:00
arkon
7e2f1d729f
Clean up repetitive controller transactions
2022-04-23 12:10:32 -04:00
arkon
d6c87ec10e
Basic initial port of About screen to Compose
2022-04-23 12:05:00 -04:00
CrepeTF
070abd79ce
Resume when history item is tapped ( #6982 )
...
* Remove resume button
* Rename onClickItem to onClickCover
* Optimize imports
* Rename reference to onClickItem in HistoryController.kt
Co-authored-by: CrepeTF <trungnguyen02@outlookcom>
2022-04-23 10:58:33 -04:00
arkon
2d01933c28
Lifted NestedScrollConnection to abstract Compose classes
...
Since it'll likely be used in every controller.
2022-04-23 10:57:04 -04:00
arkon
bf0bb5aa88
Move clear webview data action to network group
2022-04-23 10:52:34 -04:00
arkon
1b4d9fc4e9
Migrate open source licenses screen to Compose
2022-04-23 10:52:19 -04:00
arkon
2b79295240
Revert "Revert history Compose/SQLDelight changes"
...
This reverts commit 96c894ce5b
.
2022-04-22 17:35:18 -04:00
arkon
96c894ce5b
Revert history Compose/SQLDelight changes
2022-04-22 17:27:58 -04:00
arkon
c0214103a9
Temporarily remove chapter name cleaning
...
To be added back in a more consistent manner later around the app. Probably when more things are Compose-y with less repetition.
2022-04-22 14:03:43 -04:00
arkon
2b76a97989
Add advanced setting to clear WebView data
2022-04-22 14:00:42 -04:00
Andreas
9d77052d9c
Enable verbose logging in dev flavor by default ( #6979 )
2022-04-22 12:34:53 -04:00
arkon
032aa64195
Lift Compose theme to abstract controller
2022-04-21 22:58:28 -04:00
arkon
7c8e8317a8
Simplify history item description building
2022-04-21 22:47:51 -04:00
arkon
eb1cfc4cd4
Add abstract ComposeController
2022-04-21 22:42:37 -04:00
arkon
f1e5cccee7
Add placeholder color for Compose manga covers
2022-04-21 19:02:54 -04:00
arkon
bc2ed763bd
Default auto backups to 2
2022-04-21 17:13:33 -04:00
Andreas
a35995b898
Fix crash on History tab when there is no next chapter ( #6970 )
2022-04-21 16:48:45 -04:00
Andreas
b1f46ed830
Migrate History screen database calls to SQLDelight ( #6933 )
...
* Migrate History screen database call to SQLDelight
- Move all migrations to SQLDelight
- Move all tables to SQLDelight
Co-authored-by: inorichi <3521738+inorichi@users.noreply.github.com>
* Changes from review comments
* Add adapters to database
* Remove logging of database version in App
* Change query name for paging source queries
* Update migrations
* Make SQLite Callback handle migration
- To ensure it updates the database
* Use SQLDelight Schema version for Callback database version
Co-authored-by: inorichi <3521738+inorichi@users.noreply.github.com>
2022-04-21 15:45:56 -04:00
arkon
6c1565a7d4
Make links in new update dialog clickable
...
Co-authored-by: Jays2Kings <Jays2Kings@users.noreply.github.com>
2022-04-19 22:39:33 -04:00
arkon
2ca6b655ad
Replace ignore button in new update dialog with link to GitHub page
...
Not enough room for 3 buttons. Users can still tap outside or back out of the dialog if they want to ignore it.
2022-04-18 22:45:58 -04:00
arkon
65a8b63b3b
Move chapter name cleaning logic to holder ( fixes #6955 )
2022-04-18 09:26:43 -04:00
Andreas
b20ca36db9
Fix AppBar not unlifting when scrolling using ComposeView ( #6952 )
2022-04-17 14:33:35 -04:00
arkon
189f92d7e8
Show better error message when empty backup creation is attempted ( closes #6941 )
2022-04-17 11:51:24 -04:00
arkon
cdd4ec6233
Increase default OkHttp call timeout to 2 minutes
...
Which is still stupidly high, but maybe it'll be lenient enough for certain people.
2022-04-17 11:32:47 -04:00
arkon
ef1bb4e800
Show parsed Markdown for new version info ( closes #6940 )
2022-04-17 11:30:05 -04:00
Andreas
c475acd1ea
Migrate History screen to Compose ( #6922 )
...
* Migrate History screen to Compose
- Migrate screen
- Strip logic from presenter into use cases and repository
- Setup for other screen being able to migrate to Compose with Theme
* Changes from review comments
2022-04-17 10:36:22 -04:00
arkon
89decf3474
Always remove manga title from if it prefixes chapter names (related to #6913 )
2022-04-15 15:52:48 -04:00
arkon
0b2794e843
Limit package name overriding to Android 8+ (related to #6846 )
2022-04-15 13:43:54 -04:00
arkon
9c30fa1da3
Update F-Droid migration guide link
2022-04-15 12:11:01 -04:00
arkon
e81bd61e24
Adjust update/download warnings
...
This is a partial revert/evolution of 538dd60580
- Back to notifications, because Android 12+ may cut off toasts
- Notifications now automatically dismiss after 30s on Android 8+ (taken from J2K)
- Also warn if more than 30 chapters are queued for download
2022-04-15 10:24:54 -04:00
arkon
7a0b54bb38
Set network call timeout to 90 seconds (instead of infinite)
2022-04-15 09:56:35 -04:00
arkon
f060daf8c4
Rollback to stable OkHttp
...
There's some weird crashes related to it. Happy Eyeballs will return once we upgrade again.
2022-04-14 22:37:51 -04:00
arkon
c1976ef599
Avoid some crashes
2022-04-14 18:28:16 -04:00
arkon
f16fb4e1e4
Minor cleanup
2022-04-14 18:15:47 -04:00
arkon
5da2c82f47
Avoid crashing if picture can't be saved (related to #6905 )
2022-04-13 18:45:49 -04:00
arkon
2a070c0b1e
Add clear cookies option to WebView menu
2022-04-13 17:48:05 -04:00
arkon
821d9cdb02
Show different update notification for F-Droid installations
2022-04-13 17:44:43 -04:00
arkon
28575936d3
Move learn more text in skipped entries notification to main content
...
Because people apparently don't realize they can tap actions
2022-04-12 23:08:00 -04:00
jmir1
0894b1394f
Fix cover sharing error string ( #6911 )
2022-04-12 09:10:32 -04:00
arkon
eb33d3c991
Remove build flavor checks for update warnings
...
"stable" was invalid anyway, it should've been "release"
2022-04-11 23:05:00 -04:00
arkon
80635343ae
Update ACRA
2022-04-11 23:04:07 -04:00
arkon
4ecde9fc39
Gate update/download warnings to non-stable flavors
2022-04-10 12:17:45 -04:00
arkon
5afff31f72
Formatting
2022-04-08 16:44:23 -04:00
arkon
2dfafa387b
Remove reader tapping option in favor of disabled nav layouts
2022-04-08 16:44:13 -04:00
arkon
7318f4f5dd
Remove some dead code
2022-04-08 16:32:34 -04:00
manatails
175b77fe6f
Add option to disable navigation layout ( #6876 )
2022-04-08 16:32:25 -04:00
arkon
346652e508
Ensure media store scan is triggered after saving an image ( fixes #6808 )
2022-04-08 15:55:12 -04:00
arkon
f0eb42e72d
Update linter
2022-04-08 15:30:39 -04:00
Ivan Iskandar
ac980a4dbf
MangaCoverFetcher: Handle moving cover cache after adding to library ( #6885 )
...
Move cover cache to separate cache dir after the parent manga is added to library
2022-04-08 12:10:06 -04:00
arkon
52911539b8
Bump dependencies
2022-04-07 22:19:31 -04:00
Andreas
3026ff241b
Write library cover to library cover cache ( #6883 )
2022-04-07 22:00:17 -04:00
Ivan Iskandar
2466a079d5
MangaCoverFetcher: Don't close network response ( #6882 )
2022-04-07 13:34:31 -04:00
arkon
668d962233
Update WebView requester package name
...
https://github.com/tachiyomiorg/tachiyomi/issues/6781#issuecomment-1086665483
2022-04-02 12:04:20 -04:00
arkon
996f770935
Override X-Requested-With header value in WebView requests ( closes #6781 )
2022-04-02 10:49:42 -04:00
Ivan Iskandar
dbad60d03b
Base activities cleanup ( #6848 )
...
* secure delegate
* theming delegate
2022-04-02 09:54:21 -04:00
Andreas
dd490f2ac9
Fix DST issue ( #6831 )
2022-04-02 08:52:53 -04:00
Ivan Iskandar
5409af0a6c
MangaCoverFetcher: Use source's header for network request ( #6847 )
2022-04-02 08:44:01 -04:00
arkon
0ed0d903cc
Force default browser for tracker logins
...
To avoid potentially opening up third party apps, which aren't useful for handling OAuth login flows.
2022-03-26 16:35:14 -04:00
arkon
85be4c492d
Fix clear database selection toggling ( fixes #6807 )
2022-03-26 16:12:15 -04:00
arkon
c06ad8b87e
Stop using custom tabs ( closes #6821 )
2022-03-26 15:45:58 -04:00
arkon
b89acb5853
Stop removing local manga's title from chapter names ( closes #6578 )
...
Users should better curate their chapter folder/file names if need be. There's legit reasons for a chapter to start with or contain the same word(s) that the manga title consists of.
2022-03-26 15:34:53 -04:00
arkon
7890511a53
Update dependencies
2022-03-26 15:23:31 -04:00