Commit graph

565 commits

Author SHA1 Message Date
ganfra
ca6a47edcd Merge pull request #353 from vector-im/feature/fga/some_room_related_fixes
Feature/fga/some room related fixes
2023-05-02 13:20:10 +02:00
ganfra
58e2c93018 Update tests and avoid useless recomposition 2023-05-02 13:04:00 +02:00
ganfra
154bd5e714 Update rust-sdk : make the app compiles again 2023-04-28 18:26:32 +02:00
ganfra
5cd8e7c6c0 Merge branch 'develop' into feature/fga/some_room_related_fixes 2023-04-28 15:58:54 +02:00
ganfra
23a7b871f7 RoomMembers: change the API again.. 2023-04-28 15:04:33 +02:00
Jorge Martin Espinosa
eeca1c9ee3 Add PickerLauncher wrapper for media/file pickers. (#361)
* Add `PickerLauncher` wrapper for media/file pickers.

* Add FileProvider path, handle Camera picker and add NoOp implementation to fix tests.

* Move media pickers to their own module.

* Add missing media pickers

* Add feature flag and some extra tests
2023-04-28 10:52:34 +02:00
ganfra
4b9f2fdae0 Don't pass RoomMember to Node but a UserId instead 2023-04-27 22:38:52 +02:00
ganfra
64c50d4468 Ignore/Unignore: makes more sense to be at the client level than room 2023-04-27 22:13:25 +02:00
ganfra
40f3f2873b Merge branch 'develop' into feature/fga/some_room_related_fixes 2023-04-27 17:25:12 +02:00
Jorge Martin Espinosa
78a715ce8d Fix NotificationData?.orDefault using an invalid UserId (#362) 2023-04-27 12:46:32 +02:00
Jorge Martin Espinosa
2376d32b9e [Room Details] Block & unblock user (#340) 2023-04-26 16:14:44 +02:00
Jorge Martin Espinosa
0389f782c9 Fix: Maestro tests fail when using settings (#358)
* Fix Maestro tests using 'Settings' to open the settings screen.

* Try to allow manually running Maestro tests.

* Also adjust logout flow.
2023-04-25 18:01:54 +02:00
Jorge Martin Espinosa
0234553bca [Room list] Search & menu improvements (#356)
* Remove settings menu item, start splitting search UI. Also, add `applyIf` and `circularReveal` modifiers.

* Split UI & logic for room list search

* Suppress `composed` warning, improve its debuggability

* Add content description to the user's avatar, fix window insets. Also, remove unused `SearchRoomListTopBar`.
2023-04-25 11:35:36 +00:00
ganfra
1ab96e2f34 Some clean up 2023-04-25 11:17:05 +02:00
ganfra
1d690fdd00 Merge develop into feature/fga/some_room_related_fixes 2023-04-24 18:13:12 +02:00
Benoit Marty
913e6465cb Remove extra plural items manually until the issue on Localazy is fixed. 2023-04-24 17:04:20 +02:00
ganfra
f601bb5c1b Timeline: copy getInitial method from EA to avoid showing @ as avatar. 2023-04-24 10:57:05 +02:00
ganfra
dfabc02bf6 Timeline : Add isInit to avoid calling rust methods when the timeline is not ready. 2023-04-24 10:43:37 +02:00
bmarty
860777d20c Sync Strings from Localazy 2023-04-24 00:09:54 +00:00
Chris Smith
17e645f507 Merge pull request #348 from vector-im/feature/cjs/accept-reject-invites
Accepting and declining invites
2023-04-21 16:06:07 +01:00
renovate[bot]
61a01b003b Update kotlin 2023-04-21 16:29:06 +02:00
Chris Smith
ff5672597a Accepting and declining invites
Hook up accept and decline buttons in the invites UI. Accept
will attempt to accept and then navigate to the room; decline
shows a confirmation dialog.

Fixes #106
2023-04-21 15:01:27 +01:00
ganfra
90bfe97250 Room : continue improving members loading 2023-04-21 14:39:47 +02:00
ganfra
a1869a3019 Improve handling members 2023-04-20 18:21:47 +02:00
ganfra
5104fc8ac1 Fix bottomsheet not using right theme (BottomSheet is not part of material3) 2023-04-20 15:58:20 +02:00
Jorge Martin Espinosa
30d4a63ed2 Fix: improve offline indicator designs (#341)
* Use the right font weight for the offline indicator title.

* Remove unneeded suppression in some build files.
2023-04-19 15:58:56 +02:00
Chris Smith
88360802af Merge pull request #297 from csmith/102-show-invites-list
Feat: show invites list
2023-04-19 12:40:29 +01:00
Chris Smith
34cc352053 Invite list view
Adds a CTA on the room list to view invites if there are any.

The invite list presents each invite with accept/decline buttons
and (for room invites) the sender details.

Fixes #102
2023-04-19 10:20:48 +01:00
Jorge Martin Espinosa
fae3417181 Validate several ids in constructors (#336)
* Validate ids in constructors.

* Remove redundant `.value` usage in string interpolation.

* Make a distinction between `SessionId` and `UserId` in `TestData`.
2023-04-18 16:17:13 +00:00
ganfra
638b45930e Merge pull request #334 from vector-im/feature/fga/feature_flag
Feature/fga/feature flag
2023-04-18 15:24:04 +02:00
Benoit Marty
b97b9d07c4 Merge pull request #333 from vector-im/feature/bma/push5
Small cleanup and add log
2023-04-18 14:05:00 +02:00
Benoit Marty
ed8f867e1c Merge pull request #330 from vector-im/feature/bma/ktlint
Upgrade of ktlint (not the plugin but the tool itself)
2023-04-18 14:03:59 +02:00
ganfra
991c7ff7f0 [FeatureFlag] add more tests 2023-04-18 12:05:29 +02:00
ganfra
df29b1dd8e [BuildMeta] introduce BuildType and remove Network related code from BuildMeta 2023-04-18 11:58:24 +02:00
Benoit Marty
a8ae909137 Use ContributesMultibinding annotation and remove the module for push providers. 2023-04-18 10:12:45 +02:00
ganfra
4c04836dbc [FeatureFlag] add some unittest and fix one case! 2023-04-17 20:17:32 +02:00
ganfra
a11b407038 FeatureFlag: first implementation 2023-04-17 19:44:29 +02:00
Jorge Martin Espinosa
30eb794d9c [Room details] DM designs (#313)
* Implement member details screen

* Add DM-only sections to the room details screen.
2023-04-17 16:41:10 +00:00
Jorge Martin Espinosa
97917e7a2d Update the Rust SDK to v0.1.9 (#318)
* Update the Rust SDK to v0.1.7.

* Try to have the same setup for the build apk job and maestro.

* Add option to run maestro manually.

* Update to v0.1.9 (0.1.7 and 0.1.8 were broken in x86_64).
2023-04-17 17:43:21 +02:00
Jorge Martin Espinosa
d391275420 [Room List] Show offline indicator when the device is offline (#239)
* Implement the network status indicator.

* Add `networkmonitor` feature.
2023-04-17 17:01:16 +02:00
Benoit Marty
ff36c461b5 Upgrade ktlint to 0.48.2 2023-04-17 15:18:07 +02:00
Benoit Marty
d68e4bd4f0 Merge pull request #326 from vector-im/feature/bma/push4
Notification update
2023-04-17 14:13:39 +02:00
Jorge Martin Espinosa
de010545fb Update Gradle to 8.1 and AGP to v8.0 (#329)
* Update AGP to 8.0.0.

* Set JAVA_HOME to JDK17

* Update lint version.

* Use right JDK for dependency analysis, replace deprecated env var.

* Upgrade to Gradle 8.1.

* Remove `@Supress(DSL_SCOPE_VIOLATION)` as it's no longer needed.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-17 08:49:52 +00:00
Benoit Marty
9971926760 Fix tests. 2023-04-17 09:51:52 +02:00
Benoit Marty
a4897e6b76 Small quality fixes 2023-04-17 09:42:59 +02:00
Benoit Marty
cbc1bdfe52 More cleanup 2023-04-14 18:34:49 +02:00
Benoit Marty
96812209a3 Improve rendering of notifications 2023-04-14 18:31:35 +02:00
Benoit Marty
aad55d6341 small cleanup 2023-04-14 18:19:59 +02:00
Benoit Marty
aba39ef568 Fix issue with pendingintent data. (Simplier to use String that Serializable) 2023-04-14 18:10:55 +02:00
Benoit Marty
3966a03e3b Improve temporary message displayed in notifications 2023-04-14 17:52:39 +02:00