Commit graph

413 commits

Author SHA1 Message Date
Florian Renaud
0dffd78872 Use RetryDialog 2023-04-05 12:02:10 +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
014d14ff79 Use string resource 2023-04-04 15:44:37 +02:00
Florian Renaud
7e3b69f06b convert rustsdk gradle file to kts 2023-04-04 15:44:37 +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
4a121fbd0f Improve ButtonWithProgress component, replace login and change server buttons (#235)
* Improve `ButtonWithProgress` component.

* Replace `CircularProgresIndicator` with `ButtonWithProgress` in login and server selection screens.
2023-03-28 22:56:59 +02:00
Benoit Marty
998178b70f [Strings] Use strings from localazy. 2023-03-27 14:44:24 +02:00
Benoit Marty
0af5ee0741 [Strings] Sync the strings. 2023-03-27 14:36:46 +02:00
Benoit Marty
522fbeb39d Remove useless file 2023-03-27 14:33:22 +02:00
Benoit Marty
59f57da728 [Strings] Remove previous strings. 2023-03-27 14:32:28 +02:00
Jorge Martin Espinosa
f744691c15 Move StateMachine to its own module. (#257) 2023-03-23 16:49:15 +00:00
Jorge Martin Espinosa
7d0d076657 [Verify Session] Design fixes (#230)
* Design fixes.

* Make text in emoji items secondary color and the snackbar duration short again

* Try to make margins smaller on smaller displays

---------

Co-authored-by: Florian Renaud <florianr@element.io>
2023-03-23 14:54:44 +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
Florian Renaud
d69f1b0b1f Merge pull request #223 from vector-im/feature/mna/select-members-ui
[Create room] Select members before creating a room (UI for selection)
2023-03-23 14:46:57 +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
Florian Renaud
ac8a6f90fd Remove default onClick from MatrixUserRow 2023-03-23 11:46:56 +01:00
Maxime NATUREL
a1fe191b64 Reuse fillMaxWidth on MatrixUserRow 2023-03-22 12:26:01 +01:00
Maxime NATUREL
ceef65316e Using nullable onClick to avoid passing a new parameter 2023-03-22 12:26:01 +01:00
Maxime NATUREL
ddcde735fe Present the last added user first 2023-03-22 12:25:59 +01:00
Maxime NATUREL
cee313597b Adding checkbox in result when multi selection of users is enabled 2023-03-22 12:25:59 +01:00
Florian Renaud
62a65f7507 Merge pull request #211 from vector-im/feature/fre/start_chat_search_matrixid
[Start chat] Show a single result when searching for a matrixId
2023-03-21 13:58:24 +01:00
Benoit Marty
8032fb3992 Merge pull request #224 from vector-im/bma/analytics
Add utility modules
2023-03-21 13:18:10 +01:00
Benoit Marty
ec6004a9a8 Cleanup after PR review. 2023-03-21 12:33:50 +01:00
Jorge Martin Espinosa
2906168baa Handle 'invalid server' error in server selection screen properly. (#214)
* Handle 'invalid server' error in server selection screen properly.

* Use `action_learn_more` for composing the server location footer action.
2023-03-21 09:34:14 +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
6ce7c1e622 Fix test on SessionStore 2023-03-20 13:19:35 +01:00
ganfra
a007df27dd Update code so it compiles 2023-03-20 13:07:50 +01:00
Benoit Marty
930cde37d4 Merge pull request #231 from vector-im/feature/bma/localazy
Localazy
2023-03-20 12:52:29 +01:00
Benoit Marty
33190674c1 Remove automation to sync Element Android strings. 2023-03-20 11:25:53 +01:00
Jorge Martin Espinosa
ea17abebf3 Display most recent activity in room list (#220)
* Create `RoomLastMessageFormatter` to produce readable room summaries.

* Add unit tests using Robolectric, fix bugs

* Add changelog

* Move `RoomLastMessageFormatter` back to `impl` module, allow it to receive an `EventTimelineItem` instead of `MessageContent`.
2023-03-20 11:18:25 +01:00
Benoit Marty
8064ceb68a Merge pull request #227 from pixlwave/doug/localazy
Add localazy.json
2023-03-20 10:28:37 +01:00
Benoit Marty
a7c659eab0 Merge pull request #228 from vector-im/feature/bma/composableCleanup
Composable cleanup
2023-03-20 09:47:39 +01:00
Benoit Marty
c7aac2788e Create ButtonWithProgress composable 2023-03-17 17:22:38 +01:00
Benoit Marty
b86e34d93f Merge pull request #225 from vector-im/feature/bma/upgradeLint
Fix lint warning
2023-03-17 16:14:49 +01:00
Doug
3f9e58cc78 Add localazy.json 2023-03-17 15:12:27 +00:00
Benoit Marty
1f0149daeb Merge branch 'develop' into feature/bma/networkModule 2023-03-17 13:39:01 +01:00
Jorge Martin Espinosa
dcb98f06aa Add Session Verification flow (#197) 2023-03-17 10:07:19 +01:00
Benoit Marty
8f205bd7dd Fix copyright 2023-03-17 10:05:40 +01:00
Benoit Marty
d8be158078 Import some classes from Element into :libraries:androidutils 2023-03-17 10:05:40 +01:00
Benoit Marty
c0cb056328 Inject Lazy and then use callFactory instead of setting client manually. It'll allow to initialise retrofit/okhttp lazily. 2023-03-17 10:02:51 +01:00