Ivan Iskandar
8ce8b60092
Migrate downloader service to WorkManager ( #10190 )
2023-11-29 16:34:07 -05:00
arkon
4fcdde4913
Remove storage permissions
...
Requires adjusting some file reading to first copy to a temporary file
in cache that we have permissions to read from. This is only applicable for things
like ZIP files where we need an actual File rather than just some Android content
URI shenanigans.
2023-11-28 22:50:30 -05:00
arkon
bcc42dd259
Exclude some more app state preferences from backups
2023-11-21 22:11:44 -05:00
Ivan Iskandar
255ed50685
Migrate XML themes to Compose ( #10152 )
2023-11-19 11:25:39 -05:00
arkon
336221a972
Use immutable collections in more places
2023-11-11 22:44:12 -05:00
arkon
cb67f1de52
Add Compose lint checks
...
Still need to address most of them though.
2023-11-11 18:13:44 -05:00
AntsyLich
b97aa23548
Implement scanlator filter ( #8803 )
...
* Implement scanlator filter
* Visual improvement to scanlator filter dialog
* Review changes + Bug fixes
Backup not containing filtered chapters and similar issue fix
* Review Changes + Fix SQL query
* Lint mamma mia
2023-11-05 10:34:35 -05:00
Howard Wu
8a1625ec79
buildDir deprecated, use layout.buildDirectory instead ( #10097 )
...
gradle/gradle#20210
gradle/gradle#24820
2023-10-31 22:14:31 -04:00
arkon
ce7bf396eb
Don't include "app state" preferences in backups
2023-10-29 12:24:02 -04:00
arkon
7dccde0930
Merge branch 'patch'
2023-10-25 12:06:41 -04:00
arkon
c8d68590db
Release v0.14.7
2023-10-25 12:04:09 -04:00
arkon
0be7ac5871
Bump dependencies
2023-10-14 22:22:46 -04:00
arkon
730f3a6e52
Exclude tracker credentials in backups
2023-10-08 11:07:42 -04:00
arkon
7f0f67d752
Update social media icons
2023-10-05 09:33:34 -04:00
arkon
56d2464870
Bring back simplified relative timestamp setting
...
Except now it's just an on/off toggle for relative up to a week.
2023-09-24 17:18:10 -04:00
arkon
d29b7c4e57
Switch to different ktlint plugin
...
Should be better at incremental builds.
To format, run `./gradlew ktlintFormat`.
2023-09-01 23:02:18 -04:00
arkon
13dc54df70
Remove unused rxandroid dependency
2023-08-26 10:30:26 -04:00
arkon
74f74eef56
Don't run automatic backup or library update jobs if battery is low
2023-08-24 22:25:29 -04:00
arkon
400ca48456
Remove unnecessary profileable flag in manifest
2023-08-04 17:12:11 -04:00
arkon
5718983f41
Update benchmarking dependencies
2023-07-29 22:48:56 -04:00
arkon
f7b335e4fb
Set useDefaultDebugSigningConfigForProfileableBuildtypes flag
...
Related to #9774
2023-07-29 19:47:54 -04:00
arkon
aa6937baf2
Disable profiling on preview builds
...
Related to #9774
2023-07-29 18:52:05 -04:00
arkon
cd91ea9b77
Remove need for SQLDelight primitive adapters
2023-07-29 16:14:23 -04:00
arkon
6a558ad119
Upgrade to SQLDelight 2
2023-07-29 15:32:09 -04:00
arkon
9a817e49be
Set proper defaults for new table columns
2023-07-10 16:44:48 -04:00
KaiserBh
a577f5534f
Database changes to support library syncing ( #9683 )
...
* feat: added migrations.
* feat: create triggers, account for new installs.
* feat: update mappers to include the new field.
* feat: update backupManga and backupChapter.
Include the new fields to be backed up as well.
* feat: add sql query to fetch all manga with `last_favorited_at` field.
* feat: version bump.
* chore: revert and refactor.
* chore: forgot to lower case the field name.
* chore: added getAllManga query as well renamed `fetchMangaWithLastFavorite` to `getMangasWithFavoriteTimestamp`
* chore: oops that's not meant to be there.
* feat: back fill and set last_modified_at to not null.
* chore: remove redundant triggers.
* fix: build error, accidentally removed insert.
* fix: build error, accidentally removed insert.
* refactor: review pointer, make fields not null.
2023-07-10 15:52:57 -04:00
Ivan Iskandar
8287c9d193
MangaChapterListItem: Replace swipe action method ( #9682 )
...
Using swipe (the library) and added haptic feedback
2023-07-08 10:02:20 -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
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
152fdec855
Minor cleanup and remove unused dependencies
2023-05-26 22:52:00 -04:00
arkon
5ca7c39751
Replace Cascade with our own somewhat janky implementation
2023-05-21 11:02:56 -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
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
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
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
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
arkon
8ab7e63293
Add tests for MissingChapters function
2023-04-15 09:51:52 -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
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
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
7ec87e76db
Migrate TriState usages to TriStateFilter enum
2023-02-24 16:09:47 -05:00
Ivan Iskandar
6b03dca5f4
Use Compose Foundation's flow layout ( #9123 )
2023-02-21 12:04:11 -05:00
arkon
93523ef50b
Remove dependency injection from core module and data module from presentation-widget module
...
Includes side effects:
- No longer need to restart app for user agent string change to take effect
- parseAs extension function requires a Json instance in the calling context, which doesn't necessarily need to be the default one provided by Injekt
2023-02-20 19:02:38 -05:00
arkon
a6d6a5ed87
Merge branch 'patch'
...
# Conflicts:
# app/build.gradle.kts
# app/src/main/java/eu/kanade/presentation/browse/BrowseSourceScreen.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt
2023-02-19 15:31:35 -05:00
arkon
b690de55e5
Release v0.14.5
2023-02-19 15:25:35 -05:00
arkon
e3cf863230
Start moving some Compose components to presentation-core module
2023-02-18 15:52:52 -05:00
Ivan Iskandar
be4072c86b
Rework on the wheel picker ( #8559 )
...
* Rework the wheel picker
doesn't need for the animation to stop to change the value
* fix
---------
Co-authored-by: arkon <arkon@users.noreply.github.com>
2023-02-12 23:10:47 -05:00
arkon
42954609b9
Remove background app update check
...
We already check in the foreground. If the app isn't being foregrounded at all, then there isn't much
point in checking for an update.
2023-02-12 22:44:39 -05:00
Ivan Iskandar
ef9dacde79
Fully utilize WorkManager for library updates ( #9007 )
...
No more trampolining, and stuff.
It's pretty much straight copy-paste from the service, with
some changes related to cancellation handling. Manual updates
will also runs with workman job so auto update work
scheduling need some adjustments too.
Bumped version code to re-enqueue auto update job with the
new spec.
Co-authored-by: arkon <arkon@users.noreply.github.com>
2023-02-07 22:37:20 -05:00
arkon
477e3d9b94
Release v0.14.4
2023-02-05 10:35:15 -05:00
Andreas
12e41b6e6f
Move Glance Widget to seperate module ( #8989 )
...
Move Widget to seperate module
- Create a core module for presentation. Widget and App will share some resources and hopefully composables
2023-01-26 17:53:24 -05:00
Andreas
d3a73fc228
Move Category model
and repository
to domain and data layer ( #8967 )
...
To keep the commit from being 100+ files the interactors wasn't moved.
The domain module like the data module uses `tachiyomi` instead of `eu.kanade.tachiyomi` for package names
2023-01-22 10:12:29 -05:00
Andreas
823749fc1e
Move SQLDelight to data module ( #8954 )
...
And use tachiyomi instead of eu.kanade.tachiyomi for package names in the module
2023-01-21 10:37:07 -05:00
Andreas
2b5d9fd76b
Move shared configuration to subprojects in root Gradle file ( #8951 )
...
* Move shared configuration to subprojects in root Gradle file
* Missed but not forgotten
* Review changes
2023-01-20 23:04:22 -05:00
Andreas
c31e75f02f
Create plugin for linting ( #8942 )
2023-01-18 22:33:56 -05:00
arkon
6fe650319d
Bump versionCode to prevent downgrades
...
Since the database schema was changed in f301dc64
2023-01-14 18:27:36 -05:00
arkon
817418f7c9
Release v0.14.3
2023-01-07 12:09:27 -05:00
arkon
0e2bdb7863
Minor cleanup
2022-12-17 12:02:01 -05:00
Ivan Iskandar
82a3a98a5a
Adjust screen transitions ( #8707 )
...
* Fade transition between main navigation tabs
* Shared axis X between screen stacks
Activity transition is using a "close enough" shared axis X xml animation
2022-12-09 17:23:00 -05:00
Ivan Iskandar
d97eab0328
Move app state banner to the very top ( #8706 )
...
This moves the banners to the root composable and so eliminates the need to
track the app states in every screen.
2022-12-09 11:20:13 -05:00
Ivan Iskandar
f7a92cf6ac
Replace reader's Presenter with ViewModel ( #8698 )
...
includes:
* Use coroutines in more places
* Use domain Manga data class and effectively changing the state system
* Replace deprecated onBackPress method
Co-authored-by: arkon <arkon@users.noreply.github.com>
2022-12-07 23:00:01 -05:00
arkon
e748d91d4a
Bump dependencies
2022-12-07 22:44:09 -05:00
stevenyomi
2c4ddca38e
Migrate Accompanist SwipeRefresh to Compose PullRefresh ( #8106 )
2022-12-07 22:40:57 -05:00
arkon
b0dc20e00c
Remove some dead code
2022-12-02 22:48:08 -05:00
Ivan Iskandar
3d66eaea83
Merge Voyager screens ( #8656 )
...
* Merge Voyager screens
* cleanups
2022-12-02 22:35:30 -05:00
arkon
5313a5d5d2
Remove unnecessary base Nucleus classes
...
The reader still uses it, but we just move stuff to there.
2022-12-02 13:23:26 -05:00
arkon
75a687138d
Migrate to Accompanist M3 theme adapter
2022-12-01 23:08:04 -05:00
AntsyLich
ba91b483a0
Delayed Tracking Update related fix ( #8642 )
...
* Delayed Tracking Update related fix
* Lint
2022-12-01 23:01:24 -05:00
arkon
4f2a794fba
Remove dead code
2022-11-27 15:09:37 -05:00
Ivan Iskandar
acc65529a0
Replace numberpicker with wheelpicker ( #8501 )
...
* Replace numberpicker with wheelpicker
* cleanups
2022-11-11 15:02:45 -05:00
Ivan Iskandar
18ccde082d
Full Compose MangaController ( #8452 )
...
* Full Compose MangaController
* unique key
* Use StateScreenModel
* dismiss
* rebase fix
* toShareIntent
2022-11-09 22:31:56 -05:00
arkon
0b93b9e059
Add pseudolocales to dev builds
2022-11-03 09:47:27 -04:00
Brett McGinnis
ea3f933e95
#8264 : Enabled isPseudoLocalesEnabled for debug ( #8367 )
...
Enabled isPseudoLocalesEnabled for debug
2022-11-03 09:46:53 -04:00
AntsyLich
1e93d785e5
Remove redundant compiler args ( #8405 )
2022-11-01 20:13:30 -04:00
arkon
3222247969
Release v0.14.2
2022-10-31 17:38:56 -04:00
arkon
26af7ccc77
Use BOM for kotlinx.coroutines dependencies
2022-10-30 19:38:18 -04:00
stevenyomi
57bba9e5ab
Fix Layout Inspector's Compose tree for dev flavor ( #8363 )
2022-10-30 11:42:06 -04:00
Ivan Iskandar
f9c25b350e
New Pager implementation ( #8323 )
...
Minimal implementation using new Compose SnapFlingBehavior
2022-10-29 12:32:55 -04:00
arkon
5b12c144da
Release v0.14.1
2022-10-29 11:51:25 -04:00
Ivan Iskandar
9fbd3fe33f
build: Add param to generate Compose compiler metrics ( #8330 )
...
./gradlew assembledevPreview -Ptachiyomi.enableComposeCompilerMetrics=true
2022-10-29 09:37:48 -04:00
arkon
ebddb96373
Release v0.14.0
2022-10-28 11:36:26 -04:00
Ivan Iskandar
5b3f9e082e
Use new Compose BOM 2022.10.00 ( #8295 )
2022-10-26 18:12:32 -04:00
Ivan Iskandar
3fb42b6ce9
Use Syer's Voyager fork ( #8288 )
...
with fixes needed for further migration
also revert back jvm target to 1.8
2022-10-26 09:22:38 -04:00
stevenyomi
d558f9e1d6
Tweak tablet UI mode setting ( #8262 )
2022-10-22 10:15:12 -04:00
arkon
2921be620a
Use fade transition in Voyager screens to mimic existing Conductor change handler
2022-10-21 15:29:17 -04:00
Andreas
8d97b980e3
Tweak library view ( #8240 )
...
- Move category join to improve performance
- Move bookmark calculation into query
- Move unread calculation into domain
2022-10-18 16:33:26 -04:00
AntsyLich
d6cbff2837
Tweak library query ( #8214 )
...
* Tweak library query
Co-Authored-By: Quang Kieu <kieuq@wit.edu>
* Update app/src/main/sqldelight/migrations/21.sqm
* Update app/src/main/java/eu/kanade/domain/library/model/LibraryManga.kt
* Update app/src/main/sqldelight/view/libraryView.sq
* Update app/src/main/java/eu/kanade/data/manga/MangaMapper.kt
* Update app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryPresenter.kt
* Update app/src/main/java/eu/kanade/data/manga/MangaMapper.kt
* Bump version
Co-authored-by: Quang Kieu <kieuq@wit.edu>
2022-10-16 15:33:12 -04:00
arkon
69cdba71eb
Remove dead code
...
Mostly from settings rewrite, but some other things too.
2022-10-16 12:48:43 -04:00
Ivan Iskandar
5c5468f9af
Settings: M3 and two pane ui ( #8211 )
...
* Settings: M3 and two pane ui
* TrackingLoginDialog: Move close button
* Use small top bar
* Revert "Update voyager to v1.0.0-rc02"
This reverts commit 570fec6ea6
.
https://github.com/adrielcafe/voyager/issues/62
2022-10-16 12:15:01 -04:00
renovate[bot]
570fec6ea6
Update voyager to v1.0.0-rc02
2022-10-16 10:28:44 -04:00
Ivan Iskandar
890f1a3c7b
Full Compose settings ( #8201 )
...
* Uses Voyager for navigation.
* Replaces every screen inside settings except category editor screen since it's
called from several places.
2022-10-15 11:38:01 -04:00
arkon
23bfa1f18f
Minor UI fixes
...
- Remove M3 styling from search toolbar
- Use secondary alpha for subtitles for Sources and Migrate items
- Update some content descriptions
2022-10-09 15:49:32 -04:00
arkon
7be6863910
Add JavaScriptEngine abstraction to extensions-lib ( #8155 )
...
This allows us to swap out the implementation in the future and on different platforms
without major changes to the extensions themselves.
2022-10-08 09:45:06 -04:00
arkon
caf9219d99
Reword some reader settings
2022-10-05 09:26:42 -04:00
Ivan Iskandar
3b62396442
Setup Baseline Profile ( #8135 )
...
* Setup Baseline Profile
Adds Baseline Profile generator and startup time test.
Readme included in macrobenchmark module to run the generator.
* changes
2022-10-04 09:22:55 -04:00
Andreas
29fa93e829
Split the rest of the preferences in PreferencesHelper ( #8074 )
...
* Split the reset of the preferences in PreferencesHelper
* Capitalize ThemeMode
2022-09-25 10:07:06 -04:00
Andreas
b5dca2eb09
Move chapter preferences from PreferencesHelper to LibraryPrefrences ( #8061 )
2022-09-24 10:14:16 -04:00