Commit graph

11425 commits

Author SHA1 Message Date
Benoit Marty
4fea4bb728 Add test on calculateOptimalBitrate 2025-08-26 11:13:49 +02:00
Benoit Marty
ed7a36e768 Improve code readability a bit. 2025-08-26 11:07:24 +02:00
Benoit Marty
e0e721cb27 Add unit test on VideoCompressorHelper 2025-08-26 11:06:35 +02:00
Jorge Martin Espinosa
fa755e5b75
Use variable bitrate mode when transcoding to ensure compatibility with old devices (#5223)
* Use variable bitrate mode when transcoding

This should be compatible with more devices that may lack the needed codecs to properly encode using constant bitrate mode (CBR).

* Fix video output size (again)
2025-08-26 10:41:07 +02:00
Benoit Marty
2535b08004
Merge pull request #5226 from element-hq/feature/bma/renameLogo
Rename custom_logo to onboarding_logo
2025-08-26 10:36:48 +02:00
Benoit Marty
ab5dd2765e Rename test. 2025-08-26 10:24:48 +02:00
Benoit Marty
1a0e625fa9 Add unit test on DefaultOnBoardingLogoResIdProvider 2025-08-26 09:41:10 +02:00
Benoit Marty
6e4f034bc1 Rename custom_logo to onboarding_logo 2025-08-26 09:36:26 +02:00
Jorge Martin Espinosa
6e6440940f
Add extra logs for sending media (#5218)
* Add extra logs for sending media

We have some issues with stuck media uploads that could use some logs to understand where the process gets stuck.

* Fix mocks for test
2025-08-26 07:02:15 +00:00
renovate[bot]
5a3f803f46
Update dependency org.matrix.rustcomponents:sdk-android to v25.8.25 (#5219)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-25 22:08:46 +02:00
renovate[bot]
72bef12e2a
Update dependency io.sentry:sentry-android to v8.20.0 (#5216)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-25 17:11:20 +00:00
renovate[bot]
deb91d441c
Update plugin sonarqube to v6.3.0.5676 (#5220)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-25 19:02:27 +02:00
Benoit Marty
4150ed5d7c
Merge pull request #5217 from element-hq/bma/customSplash
Custom logo on on boarding screen.
2025-08-25 18:01:37 +02:00
Benoit Marty
5856f54a56 Fix documentation. 2025-08-25 17:25:07 +02:00
ElementBot
8654243674 Update screenshots 2025-08-25 13:03:13 +00:00
Benoit Marty
4c45346160 Add a way to customize the on boarding logo. 2025-08-25 14:47:41 +02:00
Benoit Marty
6a23266f32
Merge pull request #5214 from element-hq/feature/bma/a11yScreenshotTest
Introduce a11y screenshot test
2025-08-25 12:23:02 +02:00
Benoit Marty
3c2cc5adbb
Merge pull request #5215 from element-hq/feature/bma/cleanupInject
AnalyticsOptInStateProvider does not need to have an injected constructor
2025-08-25 12:19:07 +02:00
Benoit Marty
20d6a88756
Merge pull request #5210 from element-hq/feature/bma/cleanupAnvil
Split deeplink module and remove setupAnvil from api modules
2025-08-25 12:11:30 +02:00
Benoit Marty
0b2b9cfe57 AnalyticsOptInStateProvider does not need to have an injected constructor. 2025-08-25 12:08:15 +02:00
Benoit Marty
cbb55fe1ae Fix typo in annotation name. 2025-08-25 11:58:32 +02:00
Benoit Marty
cf5c4df95d Remove dependency to Anvil from modules that do not use it. 2025-08-25 11:36:44 +02:00
Benoit Marty
2b86ff4dfb Rename method. 2025-08-25 11:36:43 +02:00
Benoit Marty
4e5bbaf946 Split module deeplink to api and impl. 2025-08-25 11:36:42 +02:00
Benoit Marty
1682fd4c2c Remove dependency to Anvil from modules that do not use it. 2025-08-25 11:36:42 +02:00
ElementBot
27c242296e Update screenshots 2025-08-25 09:29:00 +00:00
renovate[bot]
a2a8b1bccd
Update dependency com.posthog:posthog-android to v3.20.4 (#5213)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-25 09:18:11 +00:00
ElementBot
2c75a1f834
Sync Strings from Localazy (#5211)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-08-25 11:15:38 +02:00
Benoit Marty
1d7e7e19d9 Test previews with a11y details and add a first example with HomeViewA11yPreview. 2025-08-25 11:10:23 +02:00
renovate[bot]
9c640d7c5d
Update dependency org.jsoup:jsoup to v1.21.2 (#5212)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-25 08:44:09 +02:00
Benoit Marty
a625c109b8
Merge pull request #5207 from element-hq/feature/bma/spaceInfoUi
Add UI components for spaces.
2025-08-23 16:16:39 +02:00
Benoit Marty
7b1a4bb3e3 Let JoinRule and AllowRule be Immutable. 2025-08-22 16:13:55 +02:00
Jorge Martin Espinosa
7a5a197e7e
Allow replying to any remote message in a thread (#5201)
* Allow replying to any remote message in a thread.

This will open the thread screen based on the selected event:

- If it was already part of a thread, it will open that thread.
- Otherwise, it'll open the thread timeline screen so you can start a thread from the event.

* Add the feature flag to decide which action to perform. Also, rename the feature flag to something easier to understand.

* Display the reply in thread action based on the feature flag too

---------

Co-authored-by: ElementBot <android@element.io>
2025-08-22 16:07:13 +02:00
ElementBot
a4dcdfd24c Update screenshots 2025-08-22 13:05:06 +00:00
Benoit Marty
93292e6e2f Add SpaceHeaderView. 2025-08-22 14:50:30 +02:00
renovate[bot]
d97b2ab79c
Update dependency com.posthog:posthog-android to v3.20.3 (#5206)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-22 12:54:06 +02:00
Jorge Martin Espinosa
64164abb2d
Try following KSP incremental best practices on anvilcodegen (#5205)
The KotlinPoet docs suggest using the added flow for declaring dependencies.

Make the dependencies of the generated files isolating instead of aggregating.
2025-08-22 12:30:02 +02:00
Benoit Marty
d5d7ac4c44 Add SpaceInfoRow to display info about a space in a space header. 2025-08-22 11:49:49 +02:00
Jorge Martin Espinosa
8245ad8bc3
Handle preference stores corruption by clearing them (#5086)
* Handle preference stores corruption by clearing them:
    - Use the centralised `PreferenceDataStoreFactory` instead of `preferences by`.
    - Add `DefaultPreferencesCorruptionHandlerFactory.replaceWithEmpty` to its `create(name)` method so all preference stores are cleared if they're corrupted.

* Add detekt rule to make sure we use `PreferenceDataStoreFactory` instead of `by preferencesDataStore`

* Remove `@SingleIn` annotations as the annotated class no longer have to be singletons
2025-08-22 06:59:06 +00:00
renovate[bot]
3faaab407f
Update plugin ktlint to v13.1.0 (#5204)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-22 08:31:27 +02:00
Benoit Marty
44d0111cf2
Merge pull request #5198 from element-hq/fix/fixCrashOnPro
Ensure that only one DataStore is active for the same file.
2025-08-21 12:31:40 +02:00
Benoit Marty
a9c01a8b7e Now that DefaultPreferencesDataStoreFactory is protected DataStore creation, FullScreenIntentPermissionsPresenter does not need to be a singleton. 2025-08-21 11:57:56 +02:00
Benoit Marty
46ccb807b6 Ensure that only one DataStore active for the same file. 2025-08-21 11:56:16 +02:00
Benoit Marty
0796cf993d
Merge pull request #5197 from element-hq/feature/bma/spaceUiComponent
Space UI component
2025-08-21 09:48:22 +02:00
Benoit Marty
dc0d81032b Use Surface API for border and shape. 2025-08-21 09:19:33 +02:00
renovate[bot]
033b6fdfc0
Update codecov/codecov-action action to v5.5.0 (#5191)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-21 08:37:41 +02:00
renovate[bot]
00ae3a9968
Update actions/setup-java action to v5 (#5196)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-21 08:35:01 +02:00
renovate[bot]
491eaed933
Update dagger to v2.57.1 (#5193)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-21 08:29:01 +02:00
ElementBot
90c7c6c57d Update screenshots 2025-08-20 19:57:45 +00:00
Benoit Marty
05fcf6635f Fix preview issue. 2025-08-20 21:45:24 +02:00