Commit Graph

877 Commits

Author SHA1 Message Date
Hugh Daschbach 2133d4a4fb Prevent BottomSheet tap leaking to nav panels.
With the BottomSheet open, while trying to tap one of the
controls (esp. add to playlist and favorite buttons) it is easy to
miss the touch point and tap directly on the BottomSheet.

This tap bleeds through to whatever fragment is currently displayed in
the navigation area (Artist, Album, Playlists, etc.).  That tap
changes the view in the navigation panel.  For example, if the Artist
fragment it current, it will open a list of the artists albums.

That change may be surprising when the BottomSheet is toggled closed.
So, ignore BottomSheet taps outside the active controls.
2023-11-07 08:33:36 +00:00
Hugh Daschbach feb86fe9c0 Refactor CoverArt.withContext().
Having changed the context object in CoverArt from a received function
parameter to an initialization time derived variable, withContext no
longer needs a Context parameter.

That leaves the method misnamed.  So rename withContext ->
requestCreator and drop the first parameter.
2023-11-07 08:33:36 +00:00
Hugh Daschbach f65e29af39 Do not create unnecessary Picasso objects.
Address "java.lang.IllegalStateException: Too many receivers"
exceptions.  (See Issue #145).  Each new Picasso object registers its
own NetworkBroadcastReceiver.  Worse, we create a new Picasso object
each time we transform an AlbumCover image.  So do not create
unnecessary Picasso objects.

Rather than depend on receiving a Context object when called to load
an cover art, fetch the Application context as returned from FFA.get()
at singleton construction time.  The Application context is long
lived.

This has an additional advantage.  Not generation new Picasso objects
for each CoverArt image avoids holding a reference to an object that
cannot, later, be garbage collected.
2023-11-07 08:33:36 +00:00
Hugh Daschbach 4dba9e29dd chore(deps): update dependency io.insert-koin:koin-test to v3.5.0 2023-11-06 12:21:47 -08:00
Hugh Daschbach 629ce2b309 chore(deps): update dependency io.insert-koin:koin-core to v3.5.0 2023-11-06 12:21:07 -08:00
Renovate Bot 080ba21c35 chore(deps): update dependency io.insert-koin:koin-android to v3.5.0 2023-11-06 12:19:23 -08:00
Christophe Henry 31908b6175 Fix buffering progress bar display 2023-10-02 20:30:09 +02:00
Christophe Henry 1a050c2d73 Fixes form peer review 2023-09-28 17:32:53 +02:00
Christophe Henry 056e3a4d66 Use MotionLayout to animate bottom sheet opening 2023-09-27 15:56:15 +02:00
Christophe Henry b924a0c655 Fix bottom sheet being hidden in certain conditions 2023-09-18 20:18:52 +02:00
Christophe Henry 822adcac4a Fix overlap between main fragment and player bottom bar 2023-09-18 17:35:26 +02:00
Christophe Henry fbbd90111d Fix a few regressions with the new bottom sheet 2023-09-18 17:35:26 +02:00
Christophe Henry 45773aac8d Improve player bottom sheet, in particular fling support 2023-09-18 17:35:26 +02:00
josé m 6472a3743e Translated using Weblate (Galician)
Currently translated at 99.2% (124 of 125 strings)

Translation: Funkwhale/Funkwhale For Android
Translate-URL: https://translate.funkwhale.audio/projects/funkwhale/ffa/gl/
2023-06-03 20:50:20 +00:00
Thomas ada0b09a66 Translated using Weblate (French)
Currently translated at 100.0% (125 of 125 strings)

Translation: Funkwhale/Funkwhale For Android
Translate-URL: https://translate.funkwhale.audio/projects/funkwhale/ffa/fr/
2023-06-03 20:50:15 +00:00
Hugh Daschbach 9c3d965a7e Fix Java version for gradle:7.4.2.
When Gradle version was bumped to 7.0.0, it required Java version 11.
In 82b9121 (2022/01/05), .sdkmanrc was adjusted to accommodate.  But
app/build.gradle.kts was not.

More recent Gradle releases have started to complain:
,----
| > Could not resolve all files for configuration ':classpath'.
|    > Could not resolve com.android.tools.build:gradle:7.4.2.
|      Required by:
|          project :
|       > No matching variant of com.android.tools.build:gradle:7.4.2 was found. The consumer was configured to find a library for use during runtime, compatible with Java 8, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin
| .api-version' with value '8.0.2' but:
|           - Variant 'apiElements' capability com.android.tools.build:gradle:7.4.2 declares a library, packaged as a jar, and its dependencies declared externally:
|               - Incompatible because this component declares a component for use during compile-time, compatible with Java 11 and the consumer needed a component for use during runtime, compatible with Java 8
|               - Other compatible attribute:
|                   - Doesn't say anything about org.gradle.plugin.api-version (required '8.0.2')
`----

Adjust gradle’s specification to suit.
2023-06-03 15:20:48 +00:00
Dylan Gageot 5c5d86a728 Add beta sign on network bandwidth limitation icon 2023-04-24 18:14:14 +02:00
Dylan Gageot 1288e050fd Add translations for other languanges than default 2023-04-24 17:25:24 +02:00
Dylan Gageot 8e09dccb9f Transcode at 320kbps when bandwidth limitation is enabled 2023-04-23 17:50:32 +00:00
Dylan Gageot 45ad4bdb8e Add summary for bandwidth limitation 2023-04-23 17:50:32 +00:00
Dylan Gageot 27e751df35 Add network icon for bandwidth limitation setting 2023-04-23 17:50:32 +00:00
Dylan Gageot 33938e3705 Add bandwidth limitation setting in Settings activity 2023-04-23 17:50:32 +00:00
Renovate Bot 1d5578febf chore(deps): update plugin com.github.triplet.play to v3.8.1 2023-04-19 10:30:51 +00:00
Georg krause e1be5b1303 Fix: Make check for proprietary code working with releases as well 2023-04-19 12:05:39 +02:00
Georg krause 53bff969cd Update version information for F-Droid 2023-04-18 12:03:55 +02:00
Georg krause cd82472c27 Update changelog for version 0.2.1 2023-04-18 12:03:55 +02:00
Georg krause 89c5718ac8 fix: Remove missing screenshots from Readme 2023-04-18 12:02:48 +02:00
Georg krause de1cd69646 chore: Remove dependency that pulls in proprietary libs 2023-04-18 11:27:41 +02:00
Georg krause 8da3cc78be Fix: Make sure to fetch stderr as well 2023-04-18 11:15:48 +02:00
Georg krause cc004dafdf Escape special yaml characters to make check work 2023-04-18 10:56:54 +02:00
Georg krause 22899ed2aa Fix evaluation of fdroid scanner 2023-04-17 18:17:57 +02:00
Georg krause de8343a973 chore: Make pipeline fail if non-free deps are found 2023-04-17 14:46:01 +02:00
Georg krause aab9e28e00 ci: Check for nonfree dependencies 2023-04-17 13:50:03 +02:00
Renovate Bot f8838bae64 chore(deps): update dependency com.github.ben-manes:gradle-versions-plugin to v0.46.0 2023-04-06 08:31:16 +00:00
Georg krause 0075c10442 feat: Add sentry reporting to dev builds 2023-04-06 08:02:20 +00:00
Matyáš Caras 103cac4145 Translated using Weblate (Czech)
Currently translated at 99.1% (119 of 120 strings)

Translation: Funkwhale/Funkwhale For Android
Translate-URL: https://translate.funkwhale.audio/projects/funkwhale/ffa/cs/
2023-04-06 06:43:09 +00:00
Georg krause fb436ac43c Update version information for F-Droid 2023-04-05 13:53:51 +02:00
Georg krause 006051dfa5 Update changelog for version 0.2.0 2023-04-05 13:53:51 +02:00
Renovate Bot 879d873156 chore(deps): update dependency io.mockk:mockk-android to v1.13.4 2023-04-05 01:30:48 +00:00
Renovate Bot 8832b74cb4 chore(deps): update dependency com.android.tools.build:gradle to v7.4.2 2023-04-04 12:00:47 +00:00
Renovate Bot 8295d0e3e7 chore(deps): update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v1.8.20 2023-04-04 11:12:53 +00:00
Renovate Bot 3d03067069 chore(deps): update dependency io.mockk:mockk to v1.13.4 2023-04-04 10:01:08 +00:00
Renovate Bot 77eb1899fd chore(deps): update dependency androidx.appcompat:appcompat to v1.6.1 2023-04-04 08:18:50 +00:00
Georg krause 87be45ba8a chore(renovate): Limit to one MR at a time 2023-04-04 10:17:08 +02:00
Renovate Bot 7822ce2cf0 chore(deps): update dependency gradle to v7.6.1 2023-04-04 07:31:59 +00:00
Renovate Bot 201e8722b7 chore(deps): update dependency org.jetbrains.kotlin:kotlin-stdlib-jdk7 to v1.8.20 2023-04-03 18:06:29 +00:00
Georg krause f2c0e2cb3c feat(renovate): Group exoplayer packages 2023-04-03 19:48:34 +02:00
Christophe Henry d25f29b4c1 Prevent IllegalSeekPositionException when initializing the player 2023-04-03 14:51:10 +00:00
Georg Krause df98e6fb99 Merge branch 'renovate/lifecycleversion' into 'develop'
chore(deps): update lifecycleversion to v2.6.1

See merge request funkwhale/funkwhale-android!326
2023-04-02 10:25:28 +00:00
Renovate Bot ea00a832a9 chore(deps): update lifecycleversion to v2.6.1 2023-03-22 17:31:12 +00:00