Commit graph

382 commits

Author SHA1 Message Date
ganfra
3d0e6a4130 Media: render audio content 2023-07-13 18:09:58 +02:00
ganfra
732a4eb5fa
Merge pull request #863 from vector-im/feature/fga/timeline_pagination
Feature/fga/timeline pagination
2023-07-13 11:58:10 +02:00
ganfra
a92fa391e5 Timeline: rename file 2023-07-12 22:50:14 +02:00
ganfra
e334100b75 Timeline: split the initial item list in small chunks to post items asap 2023-07-12 22:44:42 +02:00
ganfra
9873588d2a Timeline: avoid pagination when timeline is not ready 2023-07-12 22:43:35 +02:00
ganfra
c8776f9806 Merge branch 'develop' into feature/fga/update-rust-sdk-0.1.31 2023-07-12 17:36:05 +02:00
Benoit Marty
1e45235c64
Merge pull request #850 from vector-im/feature/bma/fixTests
Ensure CI run all the tests.
2023-07-12 16:59:37 +02:00
ganfra
ed779abead Update rust sdk to 0.1.31: fix build 2023-07-12 16:50:40 +02:00
Benoit Marty
281d0dde56
Merge pull request #847 from vector-im/feature/bma/blockUserUx
Improve block/unblock user ux
2023-07-12 16:33:12 +02:00
ganfra
6622889b09 Update rust sdk to 0.1.31: new app service 2023-07-12 16:05:51 +02:00
ganfra
1472a29441 Update rust sdk to 0.1.31: new notification api 2023-07-12 16:05:36 +02:00
ganfra
beb10cbfc4 Update rust sdk to 0.1.31: new uniqueId on timeline 2023-07-12 16:04:10 +02:00
Benoit Marty
67fd2ebba9 Fix warning (rename the base parameter name). 2023-07-12 14:11:26 +02:00
Benoit Marty
1627dbfd27 Improve logs. 2023-07-12 12:39:41 +02:00
Benoit Marty
d56c668663 Improve UX on Block/Unblock user action. Add loading and error case. And make the value (a bit more) live. 2023-07-11 17:48:31 +02:00
ganfra
4012317e40 Coroutine: introduce scoped dispatcher with limitedParalellism 2023-07-11 11:41:24 +02:00
ganfra
9e5a3d14e5 Merge branch 'develop' into feature/fga/update-rust-sdk-0.1.29-again 2023-07-10 15:41:42 +02:00
Jorge Martin Espinosa
a0c1f2c18a
Display room invitation notification (#735)
* Notifications: Add some extra mappings so we keep the original contents and can pass it later to an UI layer

* Fix notifications not appearing for a room if the app was on that room when it went to background.

* Modernize how we create spannable strings for notifications, remove unneeded dependency

* Remove actions from invite notifications temporarily

* Add `NotificationDrawerManager` interface to be able to clear membership notifications when accepting or rejecting a room invite

* Fix tests

* Add comment to clarify some weird behaviours

* Address review comments

* Set circle shape for `largeBitmap` in message notifications

* Fix no avatar in DM rooms

* Fix rebase issues

* Add invite list pending intent:

- Refactor pending intents.
- Make `DeepLinkData` a sealed interface.
- Fix and add tests.

* Rename `navigate__` functions to `attach__`

* Add an extra test case for the `InviteList` deep link

* Address most review comments.

* Fix rebase issue

* Add fallback notification type, allow dismissing invite notifications.

Fallback notifications have a different underlying type and can be dismissed at will.

* Fix tests
2023-07-10 14:34:58 +02:00
ganfra
65210b72f5 Sync: add more safety to avoid some race conditions 2023-07-10 13:25:16 +02:00
ganfra
785c4a52f1 Sync: should avoid having multiple sync loops 2023-07-10 13:08:55 +02:00
ganfra
fed958bc28 Update rust sdk to 0.1.29 (new back pagination status api) 2023-07-07 17:37:46 +02:00
Chris Smith
1ca7b0ab55
Merge pull request #797 from vector-im/feature/cjs/hide-self-in-search 2023-07-07 12:26:05 +01:00
Chris Smith
303a0a6677 Introduce MatrixClient.isMe for checking sessionID 2023-07-07 12:03:43 +01:00
ganfra
10c2859fac Merge branch 'develop' into feature/fga/waiting_ss_room 2023-07-07 11:34:45 +02:00
ganfra
8852514652 Room: add extension method awaitAllRoomsAreLoaded with Timeout 2023-07-07 10:51:43 +02:00
Benoit Marty
f7dd327cb6
Merge pull request #808 from vector-im/feature/fga/update-rust-sdk-0.1.28
Matrix rust sdk: update to 0.1.28
2023-07-07 09:43:33 +02:00
ganfra
7dbac91cd3 Room : Fix tests as there is less recomposition 2023-07-06 19:58:06 +02:00
ganfra
b89e357520 Matrix rust sdk: update to 0.1.28 2023-07-06 18:56:11 +02:00
Jorge Martin Espinosa
c133a6e606
Fix displaying reaction row in message action list (#788)
* Fix displaying reaction row in message action list

* Rename `sendState` to `localSendState` and make it nullable.

Create an `isRemote` helper to detect if an event comes from the server instead.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-07-06 16:51:51 +00:00
Chris Smith
83338131fd Show descriptions for locations.
Descriptions show in the same message bubble above the map in
the timeline, and in a bar at the top of the expanded map view.
2023-07-05 15:18:36 +01:00
Jorge Martin Espinosa
78a26c034e Fix actions for redacted, not sent and media messages (#771)
* Fix actions for redacted, not sent and media messages

* Make `EventDebugInfoView` sections fill max width

* Don't display action list if there are no actions to display

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-07-05 14:08:17 +00:00
ganfra
11f236aba5 Room: dispatch getRooms on background thread 2023-07-05 12:56:39 +02:00
ganfra
2dcd94076f Room: remove bestName and use displayName instead of name where it makes sense 2023-07-05 12:01:51 +02:00
ganfra
d59f59e9f6 Await room: first attempt to wait for a room to be ready 2023-07-04 18:19:06 +02:00
Marco Romano
ae054b7130 Adds new optional parameters to MatrixRoom.sendLocation() (#767)
For location sharing.
2023-07-04 13:57:19 +00:00
ganfra
91ad3dc834 Merge branch 'develop' into feature/fga/room_detail_factory_improvement 2023-07-04 10:22:52 +02:00
Benoit Marty
e7331e8be0 Merge pull request #742 from vector-im/feature/bma/settingsUi
Settings UI
2023-07-04 10:13:14 +02:00
ganfra
4ecd1f9f66 Update rust sdk to 0.1.27 2023-07-03 20:53:16 +02:00
ganfra
f64c491805 RoomDetailsFRoomList: don't use full room except for invites 2023-07-03 20:52:46 +02:00
ganfra
bbaed2e402 Merge branch 'feature/fga/update-rust-sdk-0.1.27' into feature/fga/room_detail_factory_improvement 2023-07-03 20:49:20 +02:00
ganfra
348f99970b Update rust sdk to 0.1.27 2023-07-03 20:47:17 +02:00
ganfra
61dff7570c RoomList: prepare code to not fetch fullRoom 2023-07-03 17:48:00 +02:00
Benoit Marty
73b1ffd7d0 Replace CurrentUserProvider by an extension on MatrixClient. 2023-07-03 17:09:04 +02:00
Benoit Marty
34f4078d5f Move BuildMeta fake to common test module. 2023-07-03 17:09:04 +02:00
Benoit Marty
e1b528e861 Show current user in the settings and extract code in CurrentUserProvider. 2023-07-03 17:09:04 +02:00
Chris Smith
005b22391f Merge remote-tracking branch 'origin/develop' into feature/cjs/view-location-in-timeline 2023-06-30 09:30:31 +01:00
Benoit Marty
a2a5d251d1 Merge pull request #731 from vector-im/feature/fga/timeline_back_pagination
Feature/fga/timeline back pagination
2023-06-30 09:27:36 +02:00
ganfra
3aa5cce8dc Timeline: use val instead of fun for flows 2023-06-29 18:03:12 +02:00
ganfra
84fce4bcc7 Merge pull request #721 from vector-im/feature/fga/media_upload_progress
Feature/fga/media upload progress
2023-06-29 18:01:50 +02:00
ganfra
2bd325620c Fix coverage and address PR review comment. 2023-06-29 17:40:19 +02:00