Commit graph

4237 commits

Author SHA1 Message Date
Jorge Martín
e1506d9e97 Fix tests and lint issues 2025-03-17 18:22:03 +01:00
Jorge Martín
8f129eb285 Try improved version using snapshotFlow, which seems more performant, as well as an extended threshold (-40 items) 2025-03-17 16:30:43 +01:00
Jorge Martín
d15b227c33 Fix lint issues 2025-03-17 13:53:28 +01:00
Jorge Martín
54221d9951 Add timeline prefetching
This should trigger when getting close the start of the loaded timeline, making scrolling back smoother, specially when combined with the persistent event cache.
2025-03-17 13:53:28 +01:00
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
Benoit Marty
5d881e8b05
Merge branch 'develop' into feature/bma/customPushGateway 2025-03-13 11:39:47 +01:00
Benoit Marty
17f66245f1 Disable click effect on Stickers. Closes #4342 2025-03-12 18:23:52 +01:00
Benoit Marty
5cab146eed Give ability to configure the UnifiedPush default push gateway. 2025-03-12 17:10:33 +01:00
Benoit Marty
cf60f943a8 Give ability to configure the Firebase push gateway. 2025-03-12 16:50:46 +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
Benoit Marty
44b837a6bd
Merge pull request #4378 from element-hq/feature/bma/customSuperButton
Be able to correctly render the UI with other colors.
2025-03-11 09:26:54 +01:00
Benoit Marty
7f59cebe2c Provide buildMeta in IncomingCallActivity. 2025-03-10 14:26:30 +01:00
Benoit Marty
dc00683ab4 Replace ic_public.xml by the icon from Compound. 2025-03-10 14:20:18 +01:00
Jorge Martin Espinosa
f73c0e42a4
Implement user verification (#4294)
* Add support for starting verification of a user

* Add support for replying to incoming user verification requests

* Add reset recovery key button and previews to `ChooseSelfVerificationModeView`

* Add 'Profile' item in room details screen

* Update screenshots

* Remove `showDeviceVerifiedScreen` parameter from `NavTarget.UseAnotherDevice`

* Allow exiting the FTUE flow, which will close the app. The previous state will be restored when the app is reopened.

* When outgoing verification fails, move to the `Canceled` state. Then, when resetting the state machine state also reset the verification service.

---------

Co-authored-by: ElementBot <android@element.io>
2025-03-10 11:20:17 +01:00
Benoit Marty
2ce1b17dae
Merge pull request #4381 from element-hq/sync-localazy
Sync Strings - New translations in Basque
2025-03-10 11:17:49 +01:00
Benoit Marty
96683850ba Change LocalIsEnterpriseBuild to LocalBuildMeta 2025-03-10 11:08:50 +01:00
Benoit Marty
5064b52619 Sync strings (fix typo) 2025-03-10 10:26:50 +01:00
Benoit Marty
7e8ed314e6
Merge pull request #4376 from ShadowRZ/features/shadowrz/long-press-link-copy
Long press link to copy URL to clipboard
2025-03-10 09:17:16 +01:00
bmarty
9a75f40855 Sync Strings from Localazy 2025-03-10 00:28:38 +00:00
夜坂雅
6c4cbcbfb8
feat: Long press link to copy URL to clipboard 2025-03-08 19:54:21 +08:00
Benoit Marty
a1004cc140 Ensure color for highlighted message is ok for enterprise build. 2025-03-07 18:21:29 +01:00
Benoit Marty
3db8ccad88 Change color or TimelineItemReadMarkerView 2025-03-07 18:20:33 +01:00
Benoit Marty
9111a86be6 Add preview for focusedEvent 2025-03-07 16:29:26 +01:00
Benoit Marty
6459e3cabd Rename ic_notification_small to ic_notification 2025-03-07 14:21:09 +01:00
Benoit Marty
9af7737302 Add IconColorButton (CloseButton)
Figma: https://www.figma.com/design/G1xy0HDZKJf5TCRFmKb5d5/Compound-Android-Components?node-id=1956-37586
2025-03-07 13:14:51 +01:00
Benoit Marty
0c35ad7834
Merge pull request #4297 from robintown/ec-close
Show error screens in group calls
2025-03-06 16:22:24 +01:00
Benoit Marty
7c9c725296 Show the clear cache for room only when "View source" is enabled (this is our "developer mode") 2025-03-06 10:58:36 +01:00
Benoit Marty
93c554f929 Remove empty line. 2025-03-05 21:42:18 +01:00
Benoit Marty
b0cd9905ce Remove PreferenceText, replace by ListItem. 2025-03-05 17:25:35 +01:00
ganfra
0d1a35970d
Merge pull request #4353 from element-hq/feature/fga/room_preview_invite_state
[Change] Invited state room preview
2025-03-04 16:45:50 +01:00
ganfra
dca2807d39 change(invites) : fix compilation after last changes 2025-03-04 16:18:25 +01:00
ganfra
3bbf9bbad4
Merge pull request #4348 from element-hq/feature/fga/move_room_directory_entry
change(room directory) : move the the room directory entry
2025-03-04 11:23:39 +01:00
ganfra
6af226dc00 change(room directory) : move the the room directory entry from room list filter to start chat screen. 2025-03-04 10:56:16 +01:00
ganfra
9130f4acf5 change(invites) : clean code 2025-03-04 10:51:22 +01:00
ganfra
a02d876bd3 change(invites) : move inviter view to the top 2025-03-04 10:51:11 +01:00
Benoit Marty
db55b69a49 Coil3: also show the loader when the request is not yet started (State.Empty) 2025-03-03 15:52:30 +01:00
Benoit Marty
a70249769d Migrate to coil3 2025-03-03 12:30:26 +01:00
Benoit Marty
491bb1d8fe
Merge pull request #4346 from element-hq/sync-localazy
Sync Strings
2025-03-03 11:00:16 +01:00
Benoit Marty
9f04b2a8cf Sync string again. 2025-03-03 10:30:50 +01:00
bmarty
46acf414c1 Sync Strings from Localazy 2025-03-03 00:29:16 +00:00
ganfra
c4249bc589 change(invites) : add some tests and update some fakes 2025-02-27 21:33:28 +01:00
ganfra
82dc29b91c change(invites) : add logic to decline invite and block a user 2025-02-27 21:09:47 +01:00
ganfra
e2116e76f2 change(invites) : move some strings to the invite module 2025-02-27 21:04:48 +01:00
ganfra
8e68490215 change(create room) : use history visibility "invited" when creating private room 2025-02-27 17:26:10 +01:00
Benoit Marty
af08d91202
Merge pull request #4323 from element-hq/feature/bma/compoundIcons
Replace Material icons with Compound icons wherever it's possible
2025-02-27 14:58:55 +01:00
Jorge Martin Espinosa
f029c4dd09
Use Settings.System.DEFAULT_RINGTONE_URI for ringing notifications (#4310)
* Use `Settings.System.DEFAULT_RINGTONE_URI` for ringing notifications

This replaces `RingtoneManager.getActualDefaultRingtoneUri`, it should get the same audio file and avoid some reported issues about not having permission to load the audio file.
2025-02-27 12:57:43 +00: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
Benoit Marty
420b6135d2 Change CompoundIcons.VoiceCall to CompoundIcons.VoiceCallSolid 2025-02-26 18:49:22 +01:00
Benoit Marty
1bbcedfa38
Merge pull request #4312 from element-hq/feature/bma/fixMultipleNtfy
Fix issues due to multiple ntfy applications with the same name.
2025-02-26 17:21:51 +01:00