Commit Graph

996 Commits

Author SHA1 Message Date
Jorge Martin Espinosa
6a75be7bf0 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
ElementBot
bd85def8fa Sync Strings (#2484)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-03-05 09:10:47 +01:00
bmarty
a5aa446dce Sync Strings from Localazy 2024-02-29 13:48:26 +00:00
bmarty
7fd358166d Sync Strings from Localazy 2024-02-28 11:33:05 +00:00
Benoit Marty
05c9c4e227 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
b843b5d9fa Renaming function for code clarity. 2024-02-27 09:53:14 +01:00
Benoit Marty
66aa342d73 Import string again with new post processing. 2024-02-26 21:36:28 +01:00
bmarty
54ef435d9c Sync Strings from Localazy 2024-02-26 18:17:16 +00:00
ganfra
2c8c43f5d3 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
c746a0acc5 Sync Localazy strings - including post treatment.
./tools/localazy/downloadStrings.sh --all
2024-02-23 17:45:22 +01:00
ganfra
aff9943f24 AttachmentsPreview: set zoomable state 2024-02-23 17:36:38 +01:00
ganfra
e9e99918be Attachment : quickly improve rendering too 2024-02-23 17:26:31 +01:00
ganfra
f0483b8fdb MediaViewer : introduce fullscreen and flick to dismiss behavior 2024-02-23 16:55:41 +01:00
Benoit Marty
37e85b4db0 Sync Localazy strings.
./tools/localazy/downloadStrings.sh --all
2024-02-23 15:42:50 +01:00
Benoit Marty
9119a7b7fb Sync Localazy strings.
./tools/localazy/downloadStrings.sh --all
2024-02-23 12:23:11 +01:00
Benoit Marty
afec6370c1 Merge pull request #2413 from element-hq/feature/bma/unitTests
Add more unit tests
2024-02-19 16:15:28 +01:00
Jorge Martin Espinosa
87823fe8a4 Sort the room member list and display member roles (#2412)
* Sort the room member list and display member roles

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-02-19 15:03:36 +00:00
Benoit Marty
9586c61273 Add test for MessageComposerEvents.SendUri 2024-02-19 13:42:15 +01:00
Benoit Marty
e006f375ae Add test for MessagesEvents.HandleAction(TimelineItemAction.EndPoll) 2024-02-19 13:42:15 +01:00
Benoit Marty
6240f24e10 Remove warning in tests 2024-02-19 13:35:24 +01:00
Jorge Martin Espinosa
8d543e19b1 Improve how Talkback works with the timeline (#2404)
* Improve how Talkback works with the timeline

* Fix interaction test by adding test tag

* Disable reverse layout when a screen reader is enabled

This messes up with the ordering, but fixes the scrolling when a screen reader is used.
2024-02-19 11:36:15 +01:00
Jorge Martin Espinosa
cbad781090 Merge pull request #2389 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-0.x
* Update dependency org.matrix.rustcomponents:sdk-android to v0.2.1

* read : use the new apis

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: ganfra <francoisg@matrix.org>
Co-authored-by: Jorge Martín <jorgem@element.io>
2024-02-14 13:38:09 +01:00
Jorge Martín
78177ff065 Do some cleanup 2024-02-14 12:35:25 +01:00
Jorge Martín
b04dbcbe95 Fix tests 2024-02-14 12:06:09 +01:00
ganfra
7e0e0f9ec4 read : use the new apis 2024-02-14 11:09:46 +01:00
Jorge Martin Espinosa
00dd0cbcd1 Improve typing notification animations (#2386)
Only modify the layout for typing notifications when the first one is displayed: after that, just show/hide them using a fade animation, but keep the empty space there ready to be reused.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-02-14 08:05:55 +00:00
Benoit Marty
72d861af50 Extract fun to create VideoInfo in test. 2024-02-13 00:05:37 +01:00
Benoit Marty
ef52f2a645 Test that blurhash is correctly used and fix issue on StickerContent. 2024-02-13 00:01:57 +01:00
Benoit Marty
45295c2d8a Add missing test for StickerContent 2024-02-12 23:52:45 +01:00
Benoit Marty
07c23cbcdd Remove text from parent interface. 2024-02-12 23:45:40 +01:00
Benoit Marty
af497e1282 Add missing tests 2024-02-12 22:02:54 +01:00
Benoit Marty
7c2717fbc0 remove unused import 2024-02-12 21:28:04 +01:00
Benoit Marty
2c55484890 Endure methods annotated with PreviewsDayNight contains ElementPreview (reported by Konsist test) 2024-02-12 18:22:42 +01:00
Benoit Marty
06fad3aeec Render correctly in reply to data when Event cannot be decrypted or has been redacted 2024-02-12 17:58:16 +01:00
Jorge Martin Espinosa
973c57d401 Update Compound to v0.0.5 and update icons (#2380)
Update Compound to `v0.0.5`:

- Make sure we fix all the breaking changes.
- Update some icons to use the compound version instead.
-Replace icons with their Compound counterparts when possible.
- Clean up unused icons.
- Fix issues with incorrect icons or sizes being used after replacing the temporary icons with the Compound ones.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-02-12 16:41:58 +00:00
Benoit Marty
58c8bb43c8 Open the keyboard (and keep it opened) when creating a poll.
Actually replace a Disposable effect by a action to close the keyboard in the `onBackPressed` callback.
2024-02-12 15:20:28 +01:00
Benoit Marty
c69d996641 Merge pull request #2376 from element-hq/feature/bma/testUi
More test on MessagesView, and harmonize preview on Dialogs
2024-02-12 10:41:46 +01:00
bmarty
0224d036c7 Sync Strings from Localazy 2024-02-12 00:10:26 +00:00
Benoit Marty
a11922e57b Add test on MessagesViewTest: clicking on a custom emoji emits the expected Events.
And fix a bug, the Event `CustomReactionEvents.DismissCustomReactionSheet` is actually managed by the BottomSheet itself.
2024-02-09 22:36:50 +01:00
Benoit Marty
9f50b5a31d Add test on MessagesViewTest: clicking on more reaction from action list emits the expected Event. 2024-02-09 22:36:50 +01:00
Benoit Marty
c580184b66 Add test on MessagesViewTest: swiping on an Event emits the expected Event. 2024-02-09 22:36:50 +01:00
Benoit Marty
240e2cd09f Add test on MessagesViewTest: clicking on a read receipt list emits the expected Event. 2024-02-09 22:36:50 +01:00
Benoit Marty
446ba571a3 Add test on MessagesViewTest: long click on an Event. 2024-02-09 22:32:23 +01:00
Benoit Marty
81ca61645f Add test MessagesViewTest.clicking on an Event timestamp in error emits the expected Event 2024-02-09 22:32:23 +01:00
Benoit Marty
e9ea5e2037 Fix Konsist test by removing the explicit type. 2024-02-09 12:47:23 +01:00
Benoit Marty
9dfb6f2c65 Use ImmutableList type. 2024-02-09 10:11:33 +01:00
Benoit Marty
996c5fad95 Typing notification: disable rendering when the user preference isRenderTypingNotificationsEnabled is false. 2024-02-09 09:35:52 +01:00
Benoit Marty
6f70e587cf Typing notification: fix test compilation issue after rebase. 2024-02-08 18:31:37 +01:00
Benoit Marty
282bd9b866 Typing notification: reduce horizontal padding. 2024-02-08 18:17:57 +01:00
Benoit Marty
f9dcd00193 Add a way to hide the Jump to Bottom button for coherent preview 2024-02-08 17:38:59 +01:00