Commit graph

3507 commits

Author SHA1 Message Date
Benoit Marty
0648cf36f9
Merge pull request #4056 from element-hq/feature/bma/messageActionList
Update message action list
2024-12-18 16:47:51 +01:00
ganfra
38c3989c36
Merge pull request #4060 from element-hq/feature/fga/update_rust_sdk_0.2.72
depencies(sdk) : update rust sdk 0.2.72
2024-12-18 16:40:21 +01:00
ganfra
ae03c4c718 deps(sdk) : update rust sdk to 0.2.72 and fix api breaks 2024-12-18 15:24:04 +01:00
Benoit Marty
ac075f0558 Gallery: rework load more management 2024-12-18 12:00:37 +01:00
Benoit Marty
67e70cc615 Gallery: animate items. 2024-12-18 11:56:46 +01:00
Benoit Marty
8bd34ed702 Gallery: Voice message: render duration when the playback is not started. 2024-12-18 11:29:02 +01:00
Benoit Marty
16b348a2ce Fix ordering of media. 2024-12-18 11:23:53 +01:00
Benoit Marty
70f133a291 Gallery: Actions on files are actually only for voice messages. 2024-12-17 17:14:50 +01:00
Benoit Marty
c6dfc14366 There is no need to compute the number of column manually. 2024-12-17 17:14:50 +01:00
Benoit Marty
9d34275d90 Remove unused ic_groups.xml 2024-12-17 14:35:19 +01:00
Benoit Marty
df400a531f Replace ic_developer_options.xml by the icon from Compound. 2024-12-17 14:35:19 +01:00
Benoit Marty
270fcb9029
Merge pull request #4045 from element-hq/feature/bma/inlinePlayer
Inline voice message player in the files gallery.
2024-12-17 14:24:54 +01:00
Benoit Marty
ce7a8e638b
Merge pull request #4054 from element-hq/feature/bma/testDefaultMediaPlayer
Add test on DefaultMediaPlayer.
2024-12-17 14:24:32 +01:00
Benoit Marty
411c336ced
Merge pull request #4051 from element-hq/feature/bma/customChromeTabLocale
Add Accept-Language to extra header when opening CustomChromeTab
2024-12-17 10:30:50 +01:00
Benoit Marty
c48e4f413e Add test on DefaultMediaPlayer. 2024-12-17 10:17:04 +01:00
Benoit Marty
b12211d130 Fix formatting quality. 2024-12-17 09:23:29 +01:00
Benoit Marty
d250b8890c Add Accept-Language to extra header when opening CustomChromeTab
Follow good practice from https://developer.android.com/guide/topics/resources/app-languages#consider-header
2024-12-16 16:58:58 +01:00
Benoit Marty
a106950051 Make the room filter use normalized strings. 2024-12-16 16:18:15 +01:00
Benoit Marty
75e8ec6e7c Add inline voice player to the files gallery 2024-12-16 11:03:44 +01:00
Valere
abc8a14c61 feat(crypto): Support for new UtdCause for historical messages 2024-12-16 10:58:13 +01:00
Benoit Marty
49b413b92f Distinguish Audio and Voice media items. 2024-12-16 10:54:47 +01:00
Benoit Marty
85baf612ed Format file 2024-12-16 09:58:28 +01:00
bmarty
ff3fbe9cbf Sync Strings from Localazy 2024-12-16 00:28:36 +00:00
Benoit Marty
c36ac5db25
Merge pull request #4020 from element-hq/rav/more_posthog_props
Support new properties in posthog UTD reports
2024-12-13 19:40:03 +01:00
Benoit Marty
3643ec30c4
Merge pull request #4036 from element-hq/feature/bma/extractVoiceMessagePlayer
Extract voice message player to its own module
2024-12-13 19:38:02 +01:00
Benoit Marty
93e86b0fe1 Private fun 2024-12-13 18:50:39 +01:00
Benoit Marty
ba8d57f211 Improve title and subtitle for empty states in the gallery. 2024-12-13 18:30:30 +01:00
Benoit Marty
b236389ccb Reorder imports. 2024-12-13 16:00:18 +01:00
Benoit Marty
f74258d794 Extract voice message player to its own module 2024-12-13 15:44:58 +01:00
Benoit Marty
54c26857bd Ensure waveform is not null for voice message. 2024-12-13 10:43:59 +01:00
Benoit Marty
9ea08fb61e Fix test and add tests. 2024-12-13 09:47:52 +01:00
Benoit Marty
73f175a9a1 Rename preview 2024-12-13 09:45:49 +01:00
Benoit Marty
8809dcd0f5 Cleanup 2024-12-13 09:45:48 +01:00
Benoit Marty
7504a51917 Extract methods to toggle play and seek the player 2024-12-13 09:45:48 +01:00
Benoit Marty
e42846aa3e Remember the listener 2024-12-13 09:45:47 +01:00
Benoit Marty
497e5fdcf7 Move fun to a Factory file 2024-12-13 09:45:47 +01:00
Benoit Marty
db8cca7d0c Move some player controller to a dedicated package. 2024-12-13 09:45:46 +01:00
Benoit Marty
45a62a7d8f We do not need ExoPlayerWrapper anymore because we are not displaying the embedded controller. 2024-12-13 09:45:45 +01:00
Benoit Marty
ce09aac59d Add audio file support in the gallery and in the media viewer.
Make MediaPlayerControllerView compatible to control audio playback
2024-12-13 09:45:45 +01:00
Benoit Marty
01e2cebf81
Merge pull request #4029 from element-hq/feature/bma/eventCache
Add a feature flag to be able to enable the event cache
2024-12-12 17:59:47 +01:00
Benoit Marty
d5b3eea824
Merge pull request #4026 from element-hq/feature/bma/monthSeparators
Implement month separator for the Gallery, and improve date rendering.
2024-12-12 17:48:17 +01:00
Richard van der Hoff
f29dd2961a Update UtdTracker tests 2024-12-12 11:30:59 +00:00
Richard van der Hoff
39a235a84e Merge remote-tracking branch 'origin/develop' into rav/more_posthog_props 2024-12-12 11:29:27 +00:00
Benoit Marty
a02491ab6f Restore providing the Locale 2024-12-12 12:09:59 +01:00
Benoit Marty
4f1c745fc8 Add a way to clear the cache for a specific room. 2024-12-12 11:58:46 +01:00
Benoit Marty
0d2efe5ffa Add a feature flag for the event cache. 2024-12-12 11:40:53 +01:00
Benoit Marty
ab0324c53f Add preview for date rendering 2024-12-12 11:28:55 +01:00
Benoit Marty
6550ae361a Move FakeClock to the impl/test folder. 2024-12-12 09:21:51 +01:00
Benoit Marty
307b761e71 Fix compilation issue. 2024-12-12 00:43:37 +01:00
Benoit Marty
95215369c9 Extract UnableToDecryptInfo constructor invocation to a factory. 2024-12-12 00:41:15 +01:00