Commit Graph

2920 Commits

Author SHA1 Message Date
Benoit Marty
b4e9799fec Better handling on null reset handler.
This is not an error, but in this case, the reset identity is successful.
2024-08-29 09:41:13 +02:00
ganfra
879b842a91 Fix maplibre annotation plugins dependency 2024-08-28 16:50:51 +02:00
Benoit Marty
9939c43f36 Merge pull request #3343 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-0.x
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.40
2024-08-28 10:21:21 +02:00
ganfra
5da76f6ff8 Rust sdk : fix tests after api breaks 2024-08-27 20:46:15 +02:00
Benoit Marty
edd0700bf8 Remove feature flag PictureInPicture 2024-08-27 18:41:40 +02:00
ganfra
f06b2290ea Rust sdk : handle the remaining changes 2024-08-27 17:45:32 +02:00
ganfra
18959a930f Rust sdk : refactor LocalSendState to use the new failure states as iOS does 2024-08-27 17:45:22 +02:00
ganfra
57c6abfe47 Rust sdk : use newMessageShield state 2024-08-27 17:43:07 +02:00
bmarty
1b064a008f Sync Strings from Localazy 2024-08-26 00:25:40 +00:00
Jorge Martin Espinosa
49440ecef0 Improve the text for mentions and replies in notifications (#3328) 2024-08-22 17:25:44 +00:00
Benoit Marty
89316b0a25 Reuse existing function 2024-08-22 15:25:04 +02:00
Benoit Marty
f7fe898e66 Add test on extension MatrixRoom.getCurrentRoomMember 2024-08-22 15:22:14 +02:00
Benoit Marty
4e82cb1ddc Add test on extension MatrixRoom.getDirectRoomMember 2024-08-22 15:20:37 +02:00
Benoit Marty
c075cbaf42 Remove unused code. 2024-08-22 15:01:00 +02:00
Benoit Marty
eb520f5d9a Merge pull request #3322 from element-hq/feature/bma/roomAliasCompletion
Suggestion for room alias (disabled for now)
2024-08-22 14:47:29 +02:00
networkException
12648c42de Fix broken direct room member for rooms with old users that left (#3324)
This patch fixes getDirectRoomMember not respecting direct rooms
with more than two members total but only two active. This commonly
occurs when users migrate to a new account by adding a new account
to rooms and leaving with the old one.

Other parts of the codebase (such as the people room list filter)
already respect the active member count of a room instead of the
total (historic) number of unique members.

This fixes the room details screen not showing up correctly, for
example missing the avatar cluster.

Signed-off-by: networkException <git@nwex.de>
2024-08-22 14:47:13 +02:00
Benoit Marty
ef015904ff Rename test because method has been renamed. 2024-08-21 18:36:06 +02:00
Benoit Marty
7890c5d9c6 Add missing test for MarkdownTextEditorState 2024-08-21 18:35:23 +02:00
Benoit Marty
8d3237b3ba Reorder imports 2024-08-21 17:27:55 +02:00
Benoit Marty
71c9a187da Fix test regression. 2024-08-21 16:59:44 +02:00
Benoit Marty
33d69178ec Fix test compilation issue. 2024-08-21 16:32:37 +02:00
Benoit Marty
6aab5f59cf Add feature flag for room alias suggestions, disabled by default. 2024-08-21 15:50:55 +02:00
Benoit Marty
4b8985e501 Suggestion for room alias.
Rename `Mention` to `IntentionalMention` for clarity
Remove dead code, there is no intentional mention for Room or RoomAlias.
Rename `IntentionalMention.AtRoom` to `IntentionalMention.Room` to match Rust naming
2024-08-21 15:32:05 +02:00
Benoit Marty
a8f0c6c2b2 Add test on function name which may start or end with spaces and fix existing issues. 2024-08-20 17:11:30 +02:00
Benoit Marty
5c2072ae5b Merge pull request #3307 from element-hq/feature/bma/cleanup
Cleanup and add unit test for DefaultPinnedMessagesBannerFormatter
2024-08-20 09:10:31 +02:00
bmarty
5765d9bf9f Sync Strings from Localazy 2024-08-19 00:25:36 +00:00
Benoit Marty
c420fcad18 Merge pull request #3240 from element-hq/feature/valere/message_shields
Timeline UI | MessageShield Support
2024-08-16 14:25:33 +02:00
Benoit Marty
6b620ccb57 Add unit test for DefaultPinnedMessagesBannerFormatter 2024-08-16 12:26:39 +02:00
Benoit Marty
7182baf298 Move editMessageLambda to the constructor. 2024-08-16 11:58:17 +02:00
Benoit Marty
0362498fae Make extension isCritical a val instead of a fun. 2024-08-16 09:56:01 +02:00
Benoit Marty
34268a30ea Iterate on shield mapping and rendering
Also handle click on the timeline and information displayed on long click.
2024-08-14 17:24:11 +02:00
Jorge Martín
9c09f96c0b Fix most review comments 2024-08-14 16:53:50 +02:00
Benoit Marty
5dceba8146 Merge branch 'develop' into feature/valere/message_shields 2024-08-14 12:37:31 +02:00
Jorge Martín
04cb1b7d2e Fix OidcView preview 2024-08-13 08:55:06 +02:00
Jorge Martín
0ddadd8c5a Fix lint issues 2024-08-13 08:55:06 +02:00
Jorge Martín
903d24ea2f Improve APIs, add tests 2024-08-13 08:55:06 +02:00
Jorge Martín
252b3e11a0 Improve existing APIs 2024-08-13 08:55:06 +02:00
Jorge Martín
d5c2e5e436 Extract OIDC to its own module 2024-08-13 08:55:05 +02:00
Jorge Martín
e16057a366 Initial implementation of the reset identity feature 2024-08-13 08:55:05 +02:00
Benoit Marty
0d5f6d3e67 Fix formatting and improve comment. 2024-08-12 14:55:12 +02:00
Benoit Marty
08b5cc7261 Ensure sessionPath is not reused for different homeserver. 2024-08-12 14:16:58 +02:00
Benoit Marty
393f9c3637 Merge pull request #3294 from element-hq/ci/jme/fix-nightly-reports-firebase
Fix proguard config for nightly and release builds
2024-08-12 12:31:44 +02:00
ElementBot
01617e1c9d Sync Strings (#3297)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-08-12 06:03:23 +00:00
Jorge Martín
7bbcc90cab Try removing isMinified instead. This should now be controlled at the app module level. 2024-08-11 12:32:28 +02:00
Jorge Martín
e9d8ba1177 Add proguard file for firebase for release variant too 2024-08-11 10:23:22 +02:00
Jorge Martín
e56c64cb10 Try fixing proguard config for nightly builds 2024-08-11 09:55:24 +02:00
renovate[bot]
9b061ca798 Update android.gradle.plugin to v8.5.2 (#3004)
* Update android.gradle.plugin

* Fix release builds with AGP 8.5 by removing the minification config in each library module. I believe this is now centralised.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2024-08-09 15:04:10 +02:00
Jorge Martin Espinosa
7f08380b2a Enable sync on push feature flag to partially sync when notifications arrive (#3290) 2024-08-09 15:02:50 +02:00
Jorge Martin Espinosa
d510941e83 Update the SDK bindings to v0.2.39 (#3288)
- Rework `RoomSyncSubscriber` to work with the new `RoomListService.subscribeToRooms` API.
2024-08-09 12:42:15 +02:00
ganfra
fa3fa2623e Merge branch 'develop' into feature/fga/pinned_message_banner_logic 2024-08-07 16:05:41 +02:00