Commit Graph

776 Commits

Author SHA1 Message Date
Renovate Bot ecc9e6e096 Update dependency org.robolectric:robolectric to v4.9.2 2023-01-02 21:30:47 +00:00
Thomas ef7811dc6e Translated using Weblate (French)
Currently translated at 100.0% (118 of 118 strings)

Translation: Funkwhale/Funkwhale For Android
Translate-URL: https://translate.funkwhale.audio/projects/funkwhale/ffa/fr/
2023-01-02 21:25:33 +00:00
Philipp Wolfer 435bbad122 Translated using Weblate (German)
Currently translated at 98.3% (116 of 118 strings)

Translation: Funkwhale/Funkwhale For Android
Translate-URL: https://translate.funkwhale.audio/projects/funkwhale/ffa/de/
2022-12-21 09:25:30 +00:00
Ryan Harg 0dbd9c2b9f Merge branch 'renovate/org.robolectric-robolectric-4.x' into 'develop'
Update dependency org.robolectric:robolectric to v4.9.1

See merge request funkwhale/funkwhale-android!277
2022-12-21 08:31:34 +00:00
Renovate Bot 1fb05f567d Update dependency org.robolectric:robolectric to v4.9.1 2022-12-20 09:30:51 +00:00
Ryan Harg b188005be3 Merge branch 'backup-on-pause' into 'develop'
Allow automatic backward skip of a configurable number of seconds on pause (#134).

Closes #134

See merge request funkwhale/funkwhale-android!273
2022-12-20 09:13:37 +00:00
Hugh Daschbach ec6187aeac Allow automatic backward skip of a configurable number of seconds on pause (#134). 2022-12-20 09:13:36 +00:00
Ryan Harg 2d272d13c9 Merge branch 'renovate/io.insert-koin-koin-core-3.x' into 'develop'
Update dependency io.insert-koin:koin-core to v3.3.0

See merge request funkwhale/funkwhale-android!275
2022-12-15 08:53:02 +00:00
RenovateBot bfab20a2b3 Update dependency io.insert-koin:koin-core to v3.3.0 2022-12-15 08:53:01 +00:00
Ryan Harg d7afcbb1a1 Merge branch 'technical/update-android-build' into 'develop'
Update dockerfile with latest build values

See merge request funkwhale/funkwhale-android!270
2022-12-10 13:29:51 +00:00
Ryan Harg 826d10a702 Update dockerfile with latest build values 2022-12-09 10:26:53 +00:00
Ryan Harg aa8e0ce1a6 Merge branch 'filter-favorites' into 'develop'
Filter favorites

Closes #132

See merge request funkwhale/funkwhale-android!268
2022-12-09 08:49:41 +00:00
Ryan Harg 87a0ef5a42 Filter favorites 2022-12-09 08:49:41 +00:00
Ryan Harg cf5d6a21fe Merge branch 'picasso-cache-stablekey' into 'develop'
Use Picasso stableKey for better caching against pre-signed URLs

Closes #133

See merge request funkwhale/funkwhale-android!269
2022-12-08 13:29:36 +00:00
Ryan Harg 566dca1518 Use Picasso stableKey for better caching against pre-signed URLs 2022-12-08 13:29:34 +00:00
Ryan Harg 708daa8464 Merge branch 'renovate/androidx.core-core-ktx-1.x' into 'develop'
Update dependency androidx.core:core-ktx to v1.9.0

See merge request funkwhale/funkwhale-android!245
2022-12-08 09:36:21 +00:00
Renovate Bot 5c35c7e389 Update dependency androidx.core:core-ktx to v1.9.0 2022-12-08 09:24:43 +00:00
Ryan Harg 8c0f96ad42 Merge branch 'renovate/com.google.android.material-material-1.x' into 'develop'
Update dependency com.google.android.material:material to v1.7.0

See merge request funkwhale/funkwhale-android!253
2022-12-08 09:23:58 +00:00
RenovateBot 9f7f0294f6 Update dependency com.google.android.material:material to v1.7.0 2022-12-08 09:23:58 +00:00
Ryan Harg 6c652f2735 Merge branch 'renovate/org.jetbrains.kotlin-kotlin-gradle-plugin-1.x' into 'develop'
Update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v1.7.22

See merge request funkwhale/funkwhale-android!260
2022-12-08 08:21:07 +00:00
Renovate Bot 10242b0d01 Update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v1.7.22 2022-12-07 14:30:39 +00:00
Ryan Harg bd83872075 Merge branch 'renovate/gradle-7.x' into 'develop'
Update dependency gradle to v7.6

See merge request funkwhale/funkwhale-android!259
2022-12-07 14:01:36 +00:00
Renovate Bot 5bbf6b5ffa
Update dependency gradle to v7.6 2022-12-07 14:45:24 +01:00
Ryan Harg 4ba25fce48 Merge branch 'renovate/org.jetbrains.kotlin-kotlin-stdlib-jdk7-1.x' into 'develop'
Update dependency org.jetbrains.kotlin:kotlin-stdlib-jdk7 to v1.7.22

See merge request funkwhale/funkwhale-android!261
2022-12-07 13:43:23 +00:00
Renovate Bot 922aa16b8c Update dependency org.jetbrains.kotlin:kotlin-stdlib-jdk7 to v1.7.22 2022-12-07 13:00:27 +00:00
Ryan Harg f235c06b86 Merge branch 'technical/upgrade-dangling-mock-android-dependency' into 'develop'
Upgrade mockk android dependency versionto general mockk version

See merge request funkwhale/funkwhale-android!265
2022-12-07 12:51:25 +00:00
Ryan Harg bbc82d8be5 Upgrade mockk android dependency versionto general mockk version 2022-12-07 12:51:24 +00:00
Ryan Harg 82d0dd544d Merge branch 'renovate/io.insert-koin-koin-core-3.x' into 'develop'
Update dependency io.insert-koin:koin-core to v3.2.2

See merge request funkwhale/funkwhale-android!255
2022-12-07 11:00:50 +00:00
RenovateBot 159c7d8d47 Update dependency io.insert-koin:koin-core to v3.2.2 2022-12-07 11:00:49 +00:00
Ryan Harg 10e67f1e80 Merge branch 'warnings-cleanup' into 'develop'
Cleanup most build warnings.

See merge request funkwhale/funkwhale-android!211
2022-12-07 10:24:03 +00:00
Ryan Harg fa48937b56
Set required flag for pendingIntent 2022-12-06 09:37:20 +01:00
Ryan Harg 2de6ca303e
Necessary upgrades to compileSdk and targetSdk and adjusting code 2022-12-06 09:35:33 +01:00
Hugh Daschbach d734953b54
Replace deprecated SimpleExoPlayer with ExoPlayer.
This is part of an effort to resolve deprecation warnings.

Most of this is simple refactoring of interfaces that change between
the two Player implementations.  There are a few other changes that
deserve further explanation.

Testing indicated that the play/pause button was being reset to pause
in MainActivity:refreshCurrentTrack.  In the past this was likely
masked by the ordering of other callbacks.  We have removed the
nowPlayingToggle.icon update from MainActivity, leaving that UI update
to PlayerService.

One of the bigger refactorings in PlayerService was forced by the
deprecation of Player.EventListener.onPlayerStateChanged.  That forced
separation of handling playWhenReady and playbackState transitions.
In the SimpleExoPlayer implementations, where these transitions were
combined, the module attempted to work out playing state from a
combination of these two state variables.

In addition to separating the reaction to these state changes, we have
added a listener to onIsPlayingChanged, eliminating the need for some
of the earlier logic in Player.EventListener.onPlayerStateChanged.
This addition, along with the separation of state transition
processing, seems to provide a simpler implementation.  But it is,
certainly, a possible source of bugs.
2022-12-06 09:35:33 +01:00
Hugh Daschbach 24de54c7e0
MainActivity: startActivityForResult deprecated.
Migrate startActivityForResult/onActivityResult to
StartActivityForResult/registerForActivityResult in MainActivity.
2022-12-06 09:35:33 +01:00
Hugh Daschbach bea1d1f397
LoginActivity: startActivityForResult deprecated.
Migrate startActivityForResult/onActivityResult to
StartActivityForResult/registerForActivityResult in
LoginActivity/OAuth.

This moves responsibility for scheduling the starting Intent from
OAuth to LoginActivity.

OAuth still generates the Intent.  But instead of starting the intent
directly in OAuth, the intent is returned to LoginActivity.  This
better associates processing the activity result with its invocation.

OAuthTest module updated to accommodate internal API change.
2022-12-06 09:35:33 +01:00
Hugh Daschbach 38a3183b9d
Resolve warning: FragmentPagerAdapter deprecated.
Replace FragmentPagerAdapter with FragmentStateAdapter in
BrowseTabsAdapter.kt.  Refactored getPageTitle as a function that
returns tab name.  Tab text update moved to BrowseFragment.

This requires replacement of setupWithViewPager with
TabMediator.attach in BrowseFragment.

Also requires replacing widget declaration
androidx.viewpager.widget.ViewPager with
androidx.viewpager2.widget.ViewPager2 in fragment_browwse.xml.
2022-12-06 09:35:32 +01:00
Hugh Daschbach 8878e3e68f
Resolve warning: ExoDatabaseProvider deprecated.
Replace ExoDatabaseProvider with StandaloneDatabaseProvider.
2022-12-06 09:35:32 +01:00
Hugh Daschbach 7d49819450
Resolve warning "Unnecessary safe call". 2022-12-06 09:35:32 +01:00
Hugh Daschbach 4827fbccc1
RequentBus: replace deprecated implementation.
Convert RequestBus from deprecated BroadcastChannel to a SharedFlow.
2022-12-06 09:35:32 +01:00
Hugh Daschbach 1a038b2355
CommandBus: replace deprecated implementation.
Convert CommandBus from deprecated BroadcastChannel to a SharedFlow.
2022-12-06 09:35:32 +01:00
Hugh Daschbach be8901390e
EventBus: replace deprecated implementation.
Convert EventBus from deprecated BroadcastChannel to a SharedFlow.
2022-12-06 09:35:32 +01:00
Hugh Daschbach 6d1ad9cd78
ProgressBus: replace deprecated implementation.
Convert Progress from deprecated BroadcastChannel to a StateFlow.
2022-12-06 09:35:31 +01:00
Hugh Daschbach 72b4aea35a
Resolve deprecation warning in MediaSession.
Remove setting of MediaSession flags that are now mandatory and
assumed set.
2022-12-06 09:35:31 +01:00
Ryan Harg ef01386f16 Merge branch 'renovate/io.mockk-mockk-1.x' into 'develop'
Update dependency io.mockk:mockk to v1.13.3

See merge request funkwhale/funkwhale-android!262
2022-12-05 09:25:42 +00:00
Renovate Bot a9aafef28b Update dependency io.mockk:mockk to v1.13.3 2022-11-29 13:30:42 +00:00
omarmaciasmolina b94363e035 Added translation using Weblate (Catalan) 2022-11-28 21:08:29 +00:00
Ryan Harg 234b4d79dd Merge branch 'renovate/org.jetbrains.kotlin-kotlin-gradle-plugin-1.x' into 'develop'
Update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v1.7.21

See merge request funkwhale/funkwhale-android!241
2022-11-22 09:16:10 +00:00
Renovate Bot c30d89cdea Update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v1.7.21 2022-11-21 14:00:30 +00:00
Ryan Harg a718f0a626 Merge branch 'renovate/haynes-jacoco2cobertura-1.x' into 'develop'
Update haynes/jacoco2cobertura Docker tag to v1.0.9

See merge request funkwhale/funkwhale-android!243
2022-11-21 13:39:01 +00:00
Renovate Bot b26e6eb78b Update haynes/jacoco2cobertura Docker tag to v1.0.9 2022-11-21 13:00:30 +00:00