Commit graph

2287 commits

Author SHA1 Message Date
Benoit Marty
565e5ce87d Improve openUrlInExternalApp API and move url to UnifiedPushConfig 2024-04-02 18:12:36 +02:00
Benoit Marty
09b2cbaaf5 Localize Troubleshoot notification feature. 2024-04-02 16:15:04 +02:00
Benoit Marty
74048cca8f Avoid tryEmit(), use emit() 2024-04-02 16:15:01 +02:00
Benoit Marty
a83952814f Rename Fake class with Mockk prefix for clarity 2024-04-02 16:15:00 +02:00
Benoit Marty
2bfe125a77 Troubleshoot notifications screen 2024-04-02 16:15:00 +02:00
Benoit Marty
6c9ea2b920 Create FakePushService. 2024-04-02 16:14:59 +02:00
Benoit Marty
609f636d1c
Merge pull request #2639 from element-hq/feature/bma/hideCallMemberEvents
Hide call member events
2024-04-02 16:14:11 +02:00
Benoit Marty
8e7fdc859c Code quality and remove reference to DefaultMatrixToConverter.SUPPORTED_PATHS in MatrixToConverter 2024-04-02 15:51:59 +02:00
Benoit Marty
2a248417fa Move Event exclusion to the module appconfig.
It has to become an android module to be able to add a dependency on : libraries:matrix:api.
2024-04-02 14:35:58 +02:00
Benoit Marty
1e5a61a49c Move PermalinkBuilder, MatrixToConverter and PermalinkParser content to the impl project in order to remove projects.appconfig dependency from matrix.api module. 2024-04-02 14:15:54 +02:00
bmarty
5809864182 Sync Strings from Localazy 2024-04-01 00:17:18 +00:00
ganfra
a9f326c81c
Merge pull request #2620 from element-hq/feature/fga/room_directory
Feature/fga/room directory
2024-03-29 16:54:27 +01:00
ganfra
8325583133 RoomDirectory : set default value of FeatureFlag to false. 2024-03-29 16:17:57 +01:00
ganfra
11dfb32f72 Room directory : fix ci 2024-03-29 11:37:36 +01:00
ganfra
5f8b74055d RoomDirectory : address pr reviews 2024-03-29 11:37:00 +01:00
Benoit Marty
e5db80b0eb Compact code. 2024-03-28 18:14:31 +01:00
Benoit Marty
31e95b1634 Fix crash observed when going back to the room list.
Protect MatrixRoom access when the room is disposed.
2024-03-28 18:14:31 +01:00
ganfra
42004f251b Room directory : more cleanup and more tests 2024-03-28 18:10:29 +01:00
ganfra
3f1f764745 Room directory : add tests and cleanup 2024-03-28 17:03:34 +01:00
ganfra
37d645d153 Merge branch 'develop' into feature/fga/room_directory 2024-03-28 16:15:04 +01:00
Benoit Marty
46008c2887 Fix analytics: spaceId have the same syntax as roomId. Use MatrixRoom.isSpace instead of MatrixPatterns.isSpaceId (#2612)
Also remoce useless orFalse() calls.
2024-03-28 12:13:49 +01:00
ganfra
b900818001 RoomDirectory : continue improving interactions 2024-03-27 12:51:36 +01:00
Benoit Marty
3f85d4e566 Add trophy icon next the the winner vote in polls. 2024-03-26 17:58:31 +01:00
ganfra
f31b50a60f
Merge pull request #2605 from element-hq/feature/fga/enable_room_list_filters
RoomList filters : enable the feature for production build
2024-03-26 13:00:07 +01:00
ganfra
90b2a65c1a Room directory : implement simple join room 2024-03-26 12:32:15 +01:00
ganfra
865b8b0001
Merge pull request #2591 from element-hq/fix/jme/2590-update-room-member-list-after-changing-roles
Update member list after changing member roles
2024-03-26 12:27:42 +01:00
ganfra
e4aaf6af2f RoomList filters : enable the feature for production build 2024-03-25 20:36:39 +01:00
ganfra
e4c7118428 Room directory : fix pagination and add empty state. 2024-03-25 18:21:03 +01:00
ganfra
4c5ae6ae4b RoomDirectory : continue implementing the search 2024-03-25 11:17:19 +01:00
ganfra
d3f219065b
Merge pull request #2567 from element-hq/renovate/com.squareup.retrofit2-retrofit-2.x
Update dependency com.squareup.retrofit2:retrofit to v2.10.0
2024-03-25 10:44:19 +01:00
Benoit Marty
a5d0b47d3a Use new retrofit bom and change Maven coordinates of kotlinx-serialization 2024-03-25 09:56:30 +01:00
bmarty
3af876b953 Sync Strings from Localazy 2024-03-25 00:18:59 +00:00
Jorge Martín
9f2726ec4f Only retrieve active users in RoomMemberListDataSource 2024-03-22 10:14:22 +01:00
ganfra
01e6b46323 Room Directory : start exposing the matrix apis 2024-03-21 19:14:05 +01:00
ganfra
3eae08b3e9 Merge branch 'develop' into feature/fga/room_directory 2024-03-21 17:24:54 +01:00
Jorge Martin Espinosa
998eb7d093
Compound: add BigIcon, BigCheckmark and PageTitle components (#2574)
* Compound: add `BigIcon`, `BigCheckmark` and `PageTitle` components

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-21 11:10:11 +01:00
ganfra
b0894fcd11 Room directory search : start implementing ui with fake data 2024-03-20 18:32:41 +01:00
Jorge Martin Espinosa
6aa84d600e
Implement MSC2530 (#2570)
* Implement MSC2530
* Some layout improvements for images and videos with captions
* Update screenshots
* Replace `it` in several previews with `isMine`

---------

Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
Co-authored-by: Marco Antonio Alvarez <surakin@gmail.com>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-20 13:58:29 +01:00
ganfra
6e8d0ded36 Room Directory Search : setup the feature 2024-03-20 12:59:02 +01:00
Jorge Martín
cc9c04b1a3 Fix SDK integration 2024-03-20 09:36:35 +01:00
Jorge Martin Espinosa
5cc5a0b699
Add isInDebug variable to simulate debug/release configs for tests (#2566)
* `isInDebug` as `ThreadLocal<Boolean>`

* Use a simple var for `isInDebug` and add a helper method to test release mode, when running the debug test.

* Add some more docs

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-03-18 17:56:07 +01:00
Benoit Marty
fb64018110
Merge pull request #2565 from element-hq/feature/bma/userDataCache
Read user avatar from cache
2024-03-18 17:33:26 +01:00
Benoit Marty
a51855a171 Simplification since MatrixUser cannot be null anymore. 2024-03-18 16:46:26 +01:00
Jorge Martin Espinosa
883d834284
Remove unnecessary Room.updateMembers() calls. (#2564)
* Remove unnecessary `updateMembers` calls.

Some of them can be directly removed since we have a way to automatically get member info updates based on membership changes.

Others can be replaced by a simpler `getUpdatedMember` method. This might still need a full member sync, but it's quite unlikely.
2024-03-18 14:57:25 +00:00
Benoit Marty
b18312e3a9
Merge pull request #2559 from element-hq/feature/bma/enableMarkAsUnread
Enable the feature "Mark as unread".
2024-03-18 15:17:52 +01:00
Benoit Marty
68fd649424 Use client.cachedAvatarUrl(), to be able to render the user avatar faster, and even if there is no network (#2488). 2024-03-18 15:02:54 +01:00
bmarty
1cece7d0f3 Sync Strings from Localazy 2024-03-18 00:16:33 +00:00
Benoit Marty
889761a8d8 Enable the feature "Mark as unread". 2024-03-15 17:03:41 +01:00
Benoit Marty
72b814f5a7
Merge pull request #2544 from element-hq/feature/bma/trackUtd
Track UTD errors.
2024-03-15 14:11:29 +01:00
ElementBot
f089847f48
Sync Strings (#2557)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-03-15 13:37:11 +01:00