Commit graph

3376 commits

Author SHA1 Message Date
Benoit Marty
d37ec23fa9 Fix preview rendering 2024-11-29 11:49:21 +01:00
Benoit Marty
6e5d7f8f51 Add some previews. 2024-11-29 11:23:02 +01:00
Benoit Marty
6e624cc198 Rename file and split test. 2024-11-29 09:56:16 +01:00
Benoit Marty
c4a4d726a3 Extract fun from LocalMediaView and move some files. 2024-11-29 09:24:52 +01:00
Benoit Marty
96d7fbfadc Move code to the impl module 2024-11-29 09:24:50 +01:00
Benoit Marty
31f9fa259d
Merge pull request #3959 from element-hq/feature/bma/videoPlayer
Video player controller
2024-11-28 18:16:04 +01:00
Benoit Marty
9a6b39852b Improve preview 2024-11-28 16:15:45 +01:00
Benoit Marty
62134022bb PlayableState.Playable should only contain data useful for other components. 2024-11-28 14:38:58 +01:00
Benoit Marty
5610b198d6
Merge pull request #3953 from element-hq/feature/bma/mediaCaptionFeatureFlag
Add feature flag to temporary disable sending caption by default in production
2024-11-27 16:47:08 +01:00
Benoit Marty
28ed0920a4 Cleanup 2024-11-27 16:12:28 +01:00
Benoit Marty
9c1ccdfe62 Add custom video player controller 2024-11-27 16:05:51 +01:00
Benoit Marty
7a8b942dfb Slider: import design. 2024-11-27 16:05:51 +01:00
Benoit Marty
98875a6503 Add a duration formatter. 2024-11-27 16:05:50 +01:00
ganfra
456752551a deps : update rust sdk to 0.2.67 and fix breaking changes 2024-11-27 15:23:16 +01:00
Benoit Marty
9d6ea2175f Add feature flag to temporary disable sending caption by default in production. 2024-11-27 10:54:20 +01:00
Benoit Marty
8d26af5b26
Merge pull request #3916 from element-hq/feature/bma/notificationActions
Enable all notification actions: quick reply, accept/decline invite, mark as read from notification.
2024-11-26 18:01:37 +01:00
Benoit Marty
b2a79d2dc8
Merge pull request #3943 from element-hq/feature/bma/_poc/mediaPreprocessing
Hide media preprocessing
2024-11-26 16:42:42 +01:00
Benoit Marty
008a554ca6 Remove default parameter values.
This improve code coverage since some default value was never used.
2024-11-26 09:18:11 +01:00
Benoit Marty
b9caede2d3 Remove blank line 2024-11-26 09:17:39 +01:00
Benoit Marty
c1507fb24e Pre-process media during the attachment preview 2024-11-25 17:11:31 +01:00
Benoit Marty
41b12119b0
Merge pull request #3932 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-0.x
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.65
2024-11-25 13:19:21 +01:00
Benoit Marty
9c71d72cfe Fix test compilation issue. 2024-11-25 10:23:18 +01:00
Benoit Marty
e34729499a
Merge pull request #3931 from element-hq/feature/bma/stopIncomingElementCall
Ensure that the SDK is syncing during an incoming call so that the app can cancel the notification
2024-11-25 10:07:56 +01:00
ElementBot
d9f8e9ce58
Sync Strings (#3936)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-11-25 09:06:57 +00:00
Benoit Marty
031ed226bf Ensure that the SDK is syncing during an incoming call so that the application can detect if the call has been answered on another session.
This is dealing with the case the application is not in foreground.
2024-11-22 19:46:57 +01:00
Benoit Marty
b271dc550a naming convention 2024-11-22 15:45:41 +01:00
Benoit Marty
abbdc934dc Check that action to accept or reject an invitation is added to the notification. 2024-11-22 14:51:07 +01:00
Benoit Marty
99da8959ac Code iteration for parity with other Factories. 2024-11-22 14:05:48 +01:00
Benoit Marty
ab6f4d5b0e Rename const for clarity and convention 2024-11-22 14:04:27 +01:00
Benoit Marty
f01a15d54a Change wording of quick action for invitations. 2024-11-22 14:00:34 +01:00
ganfra
0261739fff Merge branch 'develop' into feature/bma/fixSendQueueCrash 2024-11-22 10:51:41 +01:00
ganfra
e76f7fb67e
Merge pull request #3887 from element-hq/feature/fga/close_room_leave_action
fix : use RoomMembershipObserver to close room screen when leaving
2024-11-22 09:52:42 +01:00
Benoit Marty
40a0427abd Fix test 2024-11-21 21:51:19 +01:00
ganfra
aa1a1514aa fix : use RoomMembershipObserver to close room screen when leaving/declining invite/canceling knock request 2024-11-21 21:37:38 +01:00
ganfra
b5e7879d44 client : rename some internals and do not destroy client related instances manually 2024-11-21 21:18:56 +01:00
ganfra
3cb8d4f54f fix : protect some more calls to client and rework the concerned apis 2024-11-21 19:53:42 +01:00
Benoit Marty
9830522a30 Remove default value and clarify the code 2024-11-21 09:55:43 +01:00
Benoit Marty
4a5259f1d9 Fix tests 2024-11-21 09:45:27 +01:00
Benoit Marty
f2a9924568 Add matrix_sdk::send_queue to be able to configure it. 2024-11-21 09:45:27 +01:00
Benoit Marty
fab9da2264 Edit / Add / Remove caption 2024-11-21 09:45:27 +01:00
Benoit Marty
042d079b0a Allow caption for audio and file.
Need to preview all the attachments now, to be able to type a caption.
2024-11-21 09:45:26 +01:00
Benoit Marty
3407a1d1d6 Fix test compilation issue. 2024-11-21 09:11:50 +01:00
Benoit Marty
56ef9f1314 DefaultPickerProvider: inject the application context and cleanup dead code.
It seems that `isInTest = true` is not used anymore.
2024-11-20 14:43:29 +01:00
Benoit Marty
6d20fcc29a Use human readable name for filename of taken photos and videos. Fixes #3894. 2024-11-20 14:32:22 +01:00
Benoit Marty
7edfefe9f1
Merge pull request #3901 from element-hq/feature/bma/sendButtonIteration
Send button iteration
2024-11-20 12:37:06 +01:00
Benoit Marty
0e36b2e6c7 Iterate on send button design. 2024-11-20 10:15:53 +01:00
Benoit Marty
aa81780938 Fix compilation issue 2024-11-20 09:08:27 +01:00
Jorge Martin Espinosa
6bce3d513d
Instantiate the verification controller ASAP (#3893)
* Instantiate the verification controller when possible

This is needed to get incoming verification requests

* Workaround test failure
2024-11-19 13:58:13 +01:00
Benoit Marty
9717775327 Protect call to client.enableAllSendQueues
Fixes https://github.com/element-hq/element-x-android-rageshakes/issues/3375 and other rageshakes.
2024-11-18 15:15:10 +01:00
ElementBot
bc59a70043
Sync Strings - add translations to Finnish (#3883)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-11-18 11:37:17 +00:00