Commit graph

2235 commits

Author SHA1 Message Date
Benoit Marty
87dd1cd4c1 Add unit test on UtdTracker 2024-03-15 12:29:38 +01:00
Benoit Marty
27bb46511b Improve crypto error content. 2024-03-15 09:41:43 +01:00
Benoit Marty
5c948ed0ba Track UTD errors. 2024-03-14 17:03:50 +01:00
Jorge Martin Espinosa
83861c43de
Add SDK git SHA to user agent (#2548) 2024-03-14 09:59:46 +01:00
Jorge Martin Espinosa
69a08b5565
Use userId on display name change state events (#2545)
* Use `userId` on display name change state events
2024-03-14 08:46:20 +00:00
Jorge Martin Espinosa
e3a395f15a
Improve room member list loading UX (#2543)
Improve room member list UX:

- Don't display the list in chunks anymore.
- Use an indeterminate linear progress indicator to display some loading is being done (either loading the cached list or the updated one).
- Try to make sure we don't display the members loaded from timeline items as the cached room list by mistake.
* Update screenshots
* Simplify member loading logic.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-14 08:05:44 +00:00
Benoit Marty
fde349cf4b Run ./tools/localazy/downloadStrings.sh --all. 2024-03-13 09:43:09 +01:00
Benoit Marty
72d215e246 Run ./tools/localazy/downloadStrings.sh --all after config change. 2024-03-12 16:25:48 +01:00
Benoit Marty
ad17afe209
Merge pull request #2533 from element-hq/sync-localazy
Sync Strings
2024-03-12 16:08:52 +01:00
Jorge Martin Espinosa
59a682b407
Change a room's permissions power levels (#2525)
* Change a room's permissions power levels

* Make `currentPermissions` use a `MatrixRoomPowerLevels?` instance instead.

* Update strings

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-12 15:45:06 +01:00
bmarty
c021809479 Sync Strings from Localazy 2024-03-12 13:54:03 +00:00
Jorge Martin Espinosa
3453738344
Prevent sending empty messages (#2527)
* Prevent sending empty messages

* Fix screenshot issue

* Use `aRichTextEditorState` helper function
2024-03-12 12:25:23 +01:00
Benoit Marty
11fbc4eb7c
Merge pull request #2511 from element-hq/bnjbvr/disable-special-log-level-for-read-receipts
Disable trace logs for read receipts
2024-03-11 12:30:21 +01:00
ElementBot
dac54e7154
Sync Strings (#2523)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-03-11 08:46:07 +00:00
Benjamin Bouvier
33a039d2d5 Disable trace logs for read receipts
Read receipts have been considered quite stable over the last few weeks, so
there's no need to keep the trace level for the associated logs for the time
being.
2024-03-08 15:11:46 +01:00
Benoit Marty
3f1b492678 Fix preview on View having ModalBottomSheet. 2024-03-07 13:51:20 +01:00
Benoit Marty
da0ceec844
Merge pull request #2476 from element-hq/renovate/app.cash.paparazzi-1.x
Update plugin paparazzi to v1.3.3
2024-03-07 10:37:54 +01:00
Jorge Martin Espinosa
e4aed6b56c
Fix crash when leaving room using LeaveRoomPresenter (#2498)
This happened because `roomInfoFlow` was shared eagerly and the `initial` part was called after the `Room` Rust object was destroyed.

I think there isn't a need for room info to be shared, it was a mistake I forgot to rollback.
2024-03-06 16:39:44 +00:00
Jorge Martin Espinosa
134cacb024
Room member moderation: kick, ban and unban (#2496)
* Room member moderation: kick, ban and unban

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-06 16:44:05 +01:00
Jorge Martin Espinosa
97f2620997
Add room moderation feature flag (#2495) 2024-03-06 09:51:43 +01:00
Jorge Martin Espinosa
b9d902e3fe
Room admins can change user roles (#2423)
Allow Admins to modify room member roles:

- Add a 'roles and permissions' option for each room.
- Allow promoting users to admins, adding or removing moderators, and demote yourself if you're and admin.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-05 16:46:47 +00:00
Jorge Martin Espinosa
1d892b4bc8
Add extra params to bug reports (#2490)
* Add extra params to bug reports

- `local_time`: the time in the device's timezone.
- `utc_time`: the time in UTC.
- `sdk_sha`: the commit SHA that was used to build the Rust SDK
2024-03-05 17:21:47 +01:00
Timo Kösters
38cea8e68e
Faster member list by avoiding many FFI calls (#2322)
* Faster member list by avoiding many FFI calls
2024-03-05 10:41:51 +01:00
ElementBot
f2169aaaa8
Sync Strings (#2484)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-03-05 09:10:47 +01:00
renovate[bot]
05ca8c959b
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.6 (#2482)
* Update dependency org.matrix.rustcomponents:sdk-android to v0.2.6

* Update SDK changes

* Fix tests

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2024-03-04 17:01:31 +00:00
Benoit Marty
c6c00a60d4 Need a default value for Modifier. 2024-03-01 18:44:08 +01:00
Benoit Marty
7b1e57c9f4 Fix preview error of MediaVideoView. 2024-03-01 18:25:26 +01:00
bmarty
4f81fe2090 Sync Strings from Localazy 2024-02-29 13:48:26 +00:00
bmarty
7710876089 Sync Strings from Localazy 2024-02-28 11:33:05 +00:00
ganfra
bd87e99df1 RoomListFilters : use kotlin filtering as rust one is slower and has more chance to bust the room list cache. 2024-02-27 16:24:54 +01:00
Benoit Marty
7e2fd62d04
Merge pull request #2448 from element-hq/feature/bma/testMediaViewerView
Add test on MediaViewerView and other missing unit tests.
2024-02-27 15:51:45 +01:00
Benoit Marty
0df33bf3e6 An interface is enough. 2024-02-27 14:42:43 +01:00
Benoit Marty
e90b09b9cf Fix import order. 2024-02-27 14:40:50 +01:00
Benoit Marty
b634fb43e2 Add test for DatabaseSessionStore.getAllSessions(), and update data when session is not found. 2024-02-27 12:04:59 +01:00
Benoit Marty
eacb515e14 Add test on DefaultSessionObserver. 2024-02-27 11:39:17 +01:00
Benoit Marty
38bb166298 Remove useless log. 2024-02-27 10:41:14 +01:00
Benoit Marty
cbf6e2383d Add test on TextField for TextFieldValue parameter 2024-02-27 10:18:40 +01:00
Benoit Marty
f484be0e0b Renaming function for code clarity. 2024-02-27 09:53:14 +01:00
Benoit Marty
43b5b2196e Add test on MediaViewerView 2024-02-27 09:49:10 +01:00
Benoit Marty
6d31c7d1d3 Import string again with new post processing. 2024-02-26 21:36:28 +01:00
bmarty
5c8be8f61f Sync Strings from Localazy 2024-02-26 18:17:16 +00:00
Jorge Martin Espinosa
cdf89adcd2
Show blocked users list (#2437)
* Show blocked users list.

Also allow to unblock them from this list.

* Add non-blocking `AsyncIndicatorHost` component

* Use `StateFlow` for getting ignored users.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-02-26 15:24:22 +00:00
Benoit Marty
5939c64158
Merge pull request #2435 from element-hq/feature/bma/proxyConfig
Provide global proxy to the SDK
2024-02-26 11:01:18 +01:00
Benoit Marty
0994960b79 Log the fact that the application is using the global proxy. 2024-02-26 11:01:01 +01:00
ganfra
3213847a5b
Merge pull request #2438 from element-hq/feature/fga/improve_media_viewer
[Improvement] MediaViewer/Attachment experience
2024-02-26 10:39:02 +01:00
Benoit Marty
d169388a80 Also log the filter value. 2024-02-26 10:21:13 +01:00
ganfra
3a5f3c04d2 MediaViewer : fix konsist 2024-02-23 18:55:45 +01:00
Benoit Marty
b9933acf98 Sync Localazy strings - including post treatment.
./tools/localazy/downloadStrings.sh --all
2024-02-23 17:45:22 +01:00
ganfra
22676cc5eb MediaViewer : introduce fullscreen and flick to dismiss behavior 2024-02-23 16:55:41 +01:00
Benoit Marty
5e0b705d44 Sync Localazy strings.
./tools/localazy/downloadStrings.sh --all
2024-02-23 15:42:50 +01:00