Commit graph

184 commits

Author SHA1 Message Date
Andreas
0086743a53
Use 1.x preference abstraction (#8020)
* Use 1.x preference abstraction

- Uses SharedPreferences compared to 1.x impl which uses DataStore but it breaks all settings screens currently
- Move PreferencesHelper to new PreferenceStore
  - PreferencesHelper should be split into smaller preference stores and be in core or domain
- Remove flow preferences as new PreferenceStore handles changes for us

Co-authored-by: inorichi <3521738+inorichi@users.noreply.github.com>

* Fix PreferenceMutableState not updating

* Fix changes not emitting on first subscription

Co-authored-by: inorichi <3521738+inorichi@users.noreply.github.com>
2022-09-17 11:48:24 -04:00
arkon
cd3cb72b65 Bump dependencies + linting 2022-09-10 23:57:03 -04:00
renovate[bot]
5b474e96b7
Update coil_version to v2.2.1 (#7981)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-10 21:33:47 -04:00
Ivan Iskandar
fb9791f597
DownloadController: Partial Compose conversion (#7969)
Item list is not changed as currently there is no fitting Compose component to
replace the drag-drop behavior.
2022-09-09 22:29:40 -04:00
renovate[bot]
c7d09d098a
Update dependency com.google.firebase:firebase-analytics-ktx to v21.1.1 (#7934)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-04 11:14:22 -04:00
arkon
30b86e530b Bump OkHttp and re-enable fast fallback
It wasn't very stable last time, but we'll see how it goes in preview builds.
2022-08-31 16:51:33 -04:00
renovate[bot]
bb54a81ef0
Update dependency com.google.android.material:material to v1.7.0-rc01 (#7911)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-31 14:07:48 -04:00
arkon
92e83f702c Initial conversion of browse tabs to full Compose
TODO:
- Global search should launch a controller with the search textfield focused. This is pending a Compose rewrite of that screen.
- Better migrate sort UI
- Extensions search
2022-08-30 16:05:35 -04:00
renovate[bot]
3b34a878a7 Update dependency org.jsoup:jsoup to v1.15.3 2022-08-29 13:08:42 -04:00
arkon
5732fc61e8 Bump dependencies 2022-08-26 09:21:30 -04:00
renovate[bot]
7aa073ddca
Update coil_version to v2.2.0 (#7832)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-21 11:24:57 -04:00
arkon
324ae3fcfb Remove Duktape
Now that none of the official extensions are using it.
2022-08-18 18:01:57 -04:00
stevenyomi
e36e9d9d5c
Remove 1.x source models (#7781) 2022-08-18 14:07:13 -04:00
renovate[bot]
f34dc3be90
Update com.google.android.material (#7750)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-14 10:55:57 -04:00
renovate[bot]
65261356eb
Update dependency androidx.sqlite:sqlite-ktx to v2.3.0-alpha04 (#7752)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-14 10:52:38 -04:00
jmir1
30fd48696d use custom ffmpeg-kit
* player now supports DASH
2022-08-13 01:32:01 +02:00
arkon
24e64f52e2 Bump dependencies 2022-08-10 22:54:19 -04:00
renovate[bot]
2993e3f0f2
Update aboutlib_version to v10.4.0 (#7697)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-06 20:41:14 -04:00
arkon
2ca62c4eda Remove unused viewstatepageradapter dependency 2022-07-31 11:55:07 -04:00
renovate[bot]
a2d53c439e
Update conductor_version to v3.1.7 (#7653)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-31 11:43:46 -04:00
renovate[bot]
bb5a5ea25f
Update dependency ch.acra:acra-http to v5.9.6 (#7654)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-31 10:20:43 -04:00
arkon
7336714306 Bump dependencies and remove some unneeded opt-in compiler flags 2022-07-27 09:26:40 -04:00
Andreas
fc328e141c
Remove unused dependencies (#7585) 2022-07-23 08:54:08 -04:00
arkon
e5eadb0261 Bump dependencies 2022-07-14 23:01:50 -04:00
jmir1
0fc6eaf9bc downgrade google libraries (again) 2022-07-10 23:57:26 +02:00
jmir1
60f3b9fff6 Merge remote-tracking branch 'upstream/master' 2022-07-10 23:52:35 +02:00
renovate[bot]
6d6237e370
Update dependency com.google.gms:google-services to v4.3.13 (#7444)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-02 22:53:25 -04:00
renovate[bot]
851a5ab7e4
Update dependency com.squareup.okio:okio to v3.2.0 (#7445)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-02 22:53:19 -04:00
renovate[bot]
74c5b29484
Update dependency ch.acra:acra-http to v5.9.5 (#7442)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-02 22:27:26 -04:00
jmir1
321b49079c Merge remote-tracking branch 'upstream/master' 2022-06-30 15:46:21 +02:00
arkon
7e4c45858f Bump dependencies 2022-06-29 22:45:22 -04:00
jmir1
5ab240881a fix some external player issues and downgrade google plugins 2022-06-29 03:46:27 +02:00
jmir1
0e7dff8410 Merge remote-tracking branch 'upstream/master' 2022-06-29 02:52:10 +02:00
jmir1
f832f5a320 fix crashing and display http error messages 2022-06-27 14:51:54 +02:00
renovate[bot]
c9770eea2f
Update com.google.android.material (#7377)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-25 22:53:57 -04:00
arkon
8e985eb0db Bump dependencies 2022-06-24 12:11:11 -04:00
jmir1
6d1d404c52 Merge remote-tracking branch 'upstream/master' 2022-06-16 10:38:47 +02:00
arkon
ad75d137b0 Bump dependencies 2022-06-15 17:51:45 -04:00
jmir1
af6e51926a fix ffmpeg not playing nicely with sd cards 2022-06-14 17:34:36 +02:00
jmir1
068d0c7b7c Merge remote-tracking branch 'upstream/master' 2022-06-13 18:46:37 +02:00
renovate[bot]
3c9f96d621
Update okhttp_version to v4.10.0 (#7299)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-12 13:35:57 -04:00
jmir1
00659d7c09 update aniyomi-mpv-lib
also added buffering indicator
2022-06-09 01:58:11 +02:00
renovate[bot]
177a642afc
Update dependency androidx.sqlite:sqlite-ktx to v2.3.0-alpha03 (#7254)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-07 17:46:28 -04:00
arkon
e3f8aedd5a Bump dependencies 2022-06-04 16:15:02 -04:00
jmir1
ad77b6c43a Merge remote-tracking branch 'upstream/master' 2022-05-31 02:41:41 +02:00
renovate[bot]
ad9ef81a77
Update aboutlib_version to v10.3.0 (#7220)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-28 22:41:14 -04:00
arkon
b0360b83d4 Move SQLDelight Gradle plugin to version catalog 2022-05-26 22:11:08 -04:00
arkon
f4e344f686 Bump dependencies 2022-05-18 22:30:28 -04:00
renovate[bot]
aef97c5563
Update dependency com.fredporciuncula:flow-preferences to v1.7.0 (#7132)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-15 09:38:26 -04:00
renovate[bot]
6fb5552d57
Update aboutlib_version to v10.2.0 (#7129)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-15 09:36:32 -04:00
Andreas
6d011ebe32
Update AndroidX SQLite (#7123) 2022-05-14 10:04:43 -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
cd8392bae2 Minor dependency updates 2022-05-10 17:55:07 -04:00
arkon
ae7df4fb7f Update linter 2022-05-10 17:54:52 -04:00
arkon
cf024b0e61 Update to Coil 2.0.0 2022-05-10 17:46:59 -04:00
jmir1
900d75ba64 Merge remote-tracking branch 'upstream/master' into aniyomi-mpv 2022-05-09 00:38:42 +02: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
f1126c55ca Add Plumber to handle some system leaks automatically 2022-04-24 16:28:09 -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
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
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
a83a481ac8 Update junrar 2022-04-18 17:14: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
554dfb5874 Bump Material Components 2022-04-15 13:36:24 -04:00
jmir1
0febe6e56b Merge remote-tracking branch 'upstream/master' into aniyomi-mpv 2022-04-15 18:20:06 +02: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
jmir1
11d46acda8 Merge remote-tracking branch 'upstream/master' into aniyomi-mpv 2022-04-14 12:54:42 +02:00
arkon
7b5106d206 Update ACRA 2022-04-13 17:44:49 -04:00
jmir1
1e30b6b0d0 Merge branch 'upstream/master' into aniyomi-mpv 2022-04-12 14:37:14 +02:00
arkon
d7f01abf3a Update Coil 2022-04-11 23:04:19 -04:00
arkon
80635343ae Update ACRA 2022-04-11 23:04:07 -04:00
jmir1
c1e93822d3 fix crashlytics plugin 2022-04-10 16:58:17 +02:00
jmir1
50567de328 Merge remote-tracking branch 'upstream/master' into aniyomi-mpv 2022-04-10 16:22:04 +02:00
arkon
f0eb42e72d Update linter 2022-04-08 15:30:39 -04:00
arkon
52911539b8 Bump dependencies 2022-04-07 22:19:31 -04:00
arkon
041a6dd919 Update Coil 2022-04-02 09:55:25 -04:00
arkon
8e332dba30 Update Material Components 2022-03-24 18:44:48 -04:00
arkon
da2b30268a Add support for Happy Eyeballs 2022-03-19 16:48:33 -04:00
Ivan Iskandar
10eef282fa
Coil 2.x upgrade (#6725)
* Migrate to Coil 2

* Adapt to use coil disk cache

* Update to alpha 7

* Update to alpha 8

* Update to rc01
2022-03-04 16:04:32 -05:00
Andreas
f312936629
Use Version Catalog & clean up Gradle files (#6728) 2022-03-04 09:58:31 -05:00