ElementBot
17193ad35a
Sync Strings from Localazy ( #4421 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-03-17 09:54:03 +01:00
Jorge Martin Espinosa
fd50ce4daf
Add user verification and verification state violation badges ( #4392 )
...
* Move `observeRoomMemberIdentityStateChange` and associated classes to `libs:matrixui` module so they can be reused
* Add `EncryptionService.getUserIdentity` method to retrieve not only if the user is verified or not, but in which state they are
* Fix `IdentityChangePresenter` after the previous changes
* Fix `withFakeLifecycleOwner` and add `testWithLifecycleOwner` helper
* Display verified badge in DM top app bar when possible
* Display a verification violation warning icon next to the 'People' item in room details screen
* Display either a verified badge or a verification violation warning icon next to the room members in the room member list screen
* Display either a verified badge or a verification violation warning and withdraw verification button in the room member profile.
Generic user profiles won't display verification state anymore since we can't easily track changes in it.
* Add preview for room member details screen with verification violation identity state
* Add verified and violation badge to the `Profile` list item in room details screen
* Update screenshots
---------
Co-authored-by: ElementBot <android@element.io>
2025-03-12 12:22:53 +01:00
bmarty
9a75f40855
Sync Strings from Localazy
2025-03-10 00:28:38 +00:00
Benoit Marty
299f2fbc4e
Coil3: Use newBuilder, see https://coil-kt.github.io/coil/network/#using-a-custom-okhttpclient
2025-03-03 16:40:07 +01:00
Benoit Marty
a70249769d
Migrate to coil3
2025-03-03 12:30:26 +01:00
Benoit Marty
eda18f8b78
Replace Material icons with Compound icons wherever it's possible
2025-02-26 22:19:19 +01:00
Benoit Marty
280287b023
Change CompoundIcons.Error to CompoundIcons.ErrorSolid
2025-02-26 18:52:31 +01:00
ganfra
25d39c285b
feat(join by alias) : add TextFieldValidity.None instead of nullable
2025-02-25 20:27:54 +01:00
ganfra
6f8ca62261
feat(join by alias) : format code
2025-02-25 15:56:14 +01:00
ganfra
786c2adc97
design(text field) : allow setting validity (instead of just isError bool)
2025-02-25 15:45:43 +01:00
Benoit Marty
43ee582213
Sync strings again.
...
Revert wrong change on Hungarian plurals.
2025-02-17 11:29:49 +01:00
bmarty
f549e7bba2
Sync Strings from Localazy
2025-02-17 00:30:17 +00:00
ganfra
a73bcb71d5
feature(room preview): Add option to forget room, improve the room preview screen for banned rooms.
...
Some internal refactoring was done too:
- Remove RoomInfo.isPublic to only use JoinRule.
- Also take into account restricted access rooms for previews.
2025-02-10 19:13:02 +01:00
Benoit Marty
cc7fd55269
Use color from ElementTheme.
2025-02-06 15:10:15 +01:00
Benoit Marty
07d4778ae5
Use ElementTheme instead of MaterialTheme
2025-02-06 15:10:15 +01:00
Benoit Marty
070fd4f53a
Do not rely on RoomAlias constructor to validate the Room alias, since there is no validation in release mode.
...
This is fixing the test in release mode.
2025-02-05 18:05:10 +01:00
Benoit Marty
86c0a37671
Remove string duplication
2025-02-05 15:21:59 +01:00
Benoit Marty
8f281ffa3c
Extract testEnv to the test module
2025-02-05 15:20:18 +01:00
Benoit Marty
b173b10f59
Add unit tests on MatrixUserExtensions
2025-02-05 12:15:30 +01:00
Benoit Marty
9a255c5e31
Display a confirmation dialog before creating a DM.
2025-02-05 09:32:33 +01:00
bmarty
be91da966a
Sync Strings from Localazy
2025-02-03 00:29:01 +00:00
ganfra
706b298c3f
feat(security&privacy) : fix tests after some rework landed
2025-01-28 21:08:14 +01:00
ganfra
d992f38fa5
feat(security&privacy) : clean code
2025-01-28 14:39:27 +01:00
ganfra
876d06f510
feat(security&privacy) : add all tests for EditRoomAddress classes
2025-01-27 22:43:10 +01:00
ganfra
9faa305262
feat(room address) : extract some reusable code
2025-01-21 21:55:11 +01:00
ganfra
d35414407c
change(room details) : update room details with new sections organisation
2025-01-17 17:44:10 +01:00
Benoit Marty
97f3be3dc5
Apply dual licenses: AGPL + Element Commercial to file headers.
...
2 replace all actions have been performed:
- "SPDX-License-Identifier: AGPL-3.0-only" to "SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial"
- "Please see LICENSE in the repository root for full details." to "Please see LICENSE files in the repository root for full details."
2025-01-07 10:05:04 +01:00
ganfra
0ab2ad1b8b
room details : display the item to show request to join list
2024-11-25 16:33:34 +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
Jorge Martin Espinosa
2873a6829b
Use in-memory thumbnail APIs when possible ( #3817 )
...
* Use in-memory thumbnail APIs when possible
* Make an exception for animated image types.
Also add `TimelineItemImageContent.thumbnailMediaRequestData` lazy property.
* Try simplifying the logic a bit more.
2024-11-08 08:40:38 +01:00
Benoit Marty
7146a6c0d6
Use MimeTypes.Jpeg
2024-10-31 12:49:31 +01:00
ganfra
5cce2ff572
knock : improve a bit code and add tests.
2024-10-23 15:44:00 +02:00
ganfra
18914cad80
misc : fix invite sender view
2024-10-22 16:22:20 +02:00
Benoit Marty
f95ab1fb06
Merge pull request #3671 from element-hq/bma/improveRoomModeration
...
Improve room moderation
2024-10-16 17:57:22 +02:00
Benoit Marty
7ece687740
Merge pull request #3574 from element-hq/feature/bma/improveMediaModel
...
Clarify model for Event with attachment
2024-10-16 14:57:05 +02:00
Benoit Marty
598d86607a
Room moderation: make it more reactive and simplify the code.
2024-10-16 11:49:15 +02:00
Benoit Marty
e5a8180acc
Fix issue on canInvite refresh.
2024-10-14 12:16:01 +02:00
ganfra
2e631b1ae5
misc : makes sure to always use the same size for fetching avatar thumbnail so caching works properly.
2024-10-10 14:09:49 +02:00
ganfra
5afa7f6437
misc: extract toSelectRoomInfo method
2024-10-09 11:13:27 +02:00
ganfra
eeb6b6f4bf
misc : remove direct usage of RoomSummary in UI and let RoomSummary use RoomInfo.
2024-10-08 21:34:34 +02:00
Benoit Marty
920dc2b0d7
Improve mapping regarding filename, caption and formattedCaption
2024-10-08 17:12:48 +02:00
bmarty
e25ba65170
Sync Strings from Localazy
2024-10-07 00:28:33 +00:00
Benoit Marty
dd2a1b3388
Add settings to hide images and videos in the timeline.
...
Hide images, videos and stickers in the timeline.
Disable click on hidden content. It must be revealed first.
Add preview without BlurHash.
Also hide image in thumbnails.
2024-10-04 17:01:51 +02:00
Jorge Martin Espinosa
2ce8bb7682
Fix room settings not treating unencrypted DMs as DMs ( #3545 )
2024-09-26 09:37:08 +00:00
renovate[bot]
9756afc5d1
Update dependency androidx.compose:compose-bom to v2024.09.00 ( #3399 )
...
* Update dependency androidx.compose:compose-bom to v2024.09.00
* Adapt code for changes.
* Workaround crash when closing the RTE
* Fix broken bottom sheet colors and shape
* Fix tons of warnings and deprecations
* Fix lint issues
* Fix more M3 update changes
* Update screenshots
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: ganfra <francoisg@matrix.org>
Co-authored-by: ElementBot <android@element.io>
2024-09-26 09:30:20 +02:00
Benoit Marty
f61df38e55
Migrate license to AGPL.
...
Run script `uv run license-editor --repository ../element-x-android`
2024-09-06 17:19:19 +02:00
Benoit Marty
e35ba7af8f
AvatarData.toMediaRequestData() can be internal.
2024-08-30 13:12:03 +02:00
Benoit Marty
34ba0a5e98
CoilMediaFetcher.mediaData cannot be null.
2024-08-30 13:07:39 +02:00
Benoit Marty
cef31d3704
Log more errors.
2024-08-30 13:06:26 +02:00
Benoit Marty
a9ab32c8e3
Rework: extract AvatarFactory and MediaRequestDataFactory from CoilMediaFetcher
2024-08-30 12:57:49 +02:00