Commit Graph

1981 Commits

Author SHA1 Message Date
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
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
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 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
Florian Renaud 13f1ca3a60 Merge pull request #324 from vector-im/feature/fre/create_room
Handle create room action
2023-04-14 17:50:29 +02:00
ganfra f001460a3a Merge branch 'develop' into feature/fga/clean_up 2023-04-14 17:15:40 +02:00
Florian Renaud 3c9af936ab Add tests on create action 2023-04-14 16:26:14 +02:00
ganfra 776e9bd221 Add some tests on RoomFlowNode 2023-04-14 15:34:41 +02:00
Florian Renaud 81fc3406c8 Handle create room action 2023-04-14 14:57:25 +02:00
Florian Renaud 33bac15b44 Merge remote-tracking branch 'origin/develop' into feature/fre/create_room_flow_persist_data 2023-04-13 23:45:33 +02:00
Jorge Martin Espinosa 851c0eeb8f [Room Details] Implement member details screen (#302) 2023-04-13 16:41:57 +00:00
Florian Renaud f5f322c14c Add create room API 2023-04-13 16:19:55 +02:00
Benoit Marty 0659c1f953 Do check only on Debug 2023-04-13 13:00:16 +02:00
ganfra 281f90e148 Some clean up on room details 2023-04-12 12:22:13 +02:00
Benoit Marty eb6276e09d Improve asXId and make tests pass in release and debug mode. 2023-04-12 09:50:04 +02:00
Benoit Marty 287fca5438 UnifiedPush WIP 2023-04-12 09:49:23 +02:00
Benoit Marty 986fbcdce2 Add some check on as*Id() methods, to fail in debug mode. 2023-04-12 09:41:22 +02:00
Benoit Marty 3c2542847c Add test for Push parsers. 2023-04-12 09:40:04 +02:00
Benoit Marty df731042c6 Merge branch 'develop' into feature/bma/push 2023-04-06 09:13:24 +02:00
Florian Renaud 8132dc15e7 Merge remote-tracking branch 'origin/develop' into feature/fre/start_chat_with_matrix_id 2023-04-05 17:43:52 +02:00
Benoit Marty d650a28904 Finish and test NotificationIdProvider 2023-04-05 16:59:17 +02:00
Benoit Marty 1faedca69d Add some tests (mainly imported from EA). Also change type from String to SessionId, RoomId, etc. 2023-04-05 16:59:17 +02:00
Benoit Marty 7ff72d480c Protect call to getNotificationItem 2023-04-05 16:59:17 +02:00
Benoit Marty b27f6c6594 Add Result + Dispatcher on SDK call. 2023-04-05 16:59:17 +02:00
Benoit Marty c10df50622 Add missing Fake classes 2023-04-05 16:32:28 +02:00
Benoit Marty d41f4fc954 Retrieve notification - WIP 2023-04-05 16:32:28 +02:00
Benoit Marty 2247639a89 Register pusher - WIP 2023-04-05 16:31:43 +02:00
Benoit Marty 2135d75712 Use correct type (it's a type alias) 2023-04-05 16:31:09 +02:00
Jorge Martin Espinosa 3aea24380a [Room Details] Leave room (#296)
* Add leave room functionality to the Room Details screen

* Add snackbar message throught `SnackbarDistpacher`
2023-04-05 15:36:41 +02:00
Florian Renaud eef1eea2a8 Merge remote-tracking branch 'origin/develop' into
feature/fre/start_chat_with_matrix_id
2023-04-05 10:16:33 +02:00
Jorge Martin Espinosa 11f041d940 [Room member list] Display room member list (#276)
* Implement room member list

* Move timeline initialization back to `TimelinePresenter`.

* Fix crash when the `innerRoom` inside a `RustMatrixRoom` is destroyed but `syncUpdateFlow` is still running.

* Address review comments
2023-04-04 16:07:57 +00:00
Jorge Martin Espinosa 610e4aa8b6 Revert "Update Gradle and AGP to v8.0 (#283)" (#295)
This reverts commit cda0606a0d.
2023-04-04 14:44:01 +00:00
Florian Renaud a335022499 Pass null name when creating DM 2023-04-04 15:45:58 +02:00
Florian Renaud 36afd71c29 Handle errors on create DM 2023-04-04 15:44:38 +02:00
Florian Renaud 44e2e24733 Create or retrieve DM 2023-04-04 15:34:40 +02:00
Jorge Martin Espinosa cda0606a0d Update Gradle and AGP to v8.0 (#283)
* Update dependency gradle to v8

* Handle upgrading Gradle to v8.0.2

* Update AGP to 8.0.0-RC01

* Try to set JAVA_HOME to JDK17

* Update lint version.

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

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-03 18:02:34 +02:00
ganfra af12d8b89e Makes MatrixClient Closeable outside of logout function. 2023-03-30 20:52:32 +02:00
Benoit Marty 46fb688add Small API change in SDK 0.1.5: RustRoomMember 2023-03-29 10:41:10 +02:00
Benoit Marty 1708a77fb3 Small API change in SDK 0.1.5: SlidingSyncState 2023-03-29 10:39:36 +02:00
Benoit Marty 18867dc8e6 Small API change in SDK 0.1.5 2023-03-29 10:39:36 +02:00
Jorge Martin Espinosa ecc73dd325 [Room Details] Implement room details screen (#256)
* Implement Room Details screen

* Add option to create permalink from room id and alias, add share room action
2023-03-29 05:16:27 +00:00
Jorge Martin Espinosa fb0acc9f51 Make ChangeServerPresenter.submit fail as expected (#236)
* Make `ChangeServerPresenter.submit` fail as expected

* Fix tests to prevent this from ever happening again
2023-03-23 15:19:18 +01:00
Jorge Martin Espinosa 09c275d883 [Verify Session] Add missing 'start verification' screen. (#241)
* Add missing 'start verification' screen. 
* Fix retries sometimes not working because of `SessionVerificationController.setDelegate`.
* Make the negative button invisible when not needed.
2023-03-23 14:24:25 +01:00
ganfra 73b79cadd0 Merge pull request #215 from vector-im/renovate/org.matrix.rustcomponents
Update dependency org.matrix.rustcomponents:sdk-android to v0.1.3
2023-03-20 14:57:36 +01:00
ganfra a007df27dd Update code so it compiles 2023-03-20 13:07:50 +01:00