Commit graph

403 commits

Author SHA1 Message Date
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
Benoit Marty
3bd98dc578 Fix lint warning
Recommended Action: Apply the 'com.android.lint' plugin to java library project ***. to enable lint to analyze those sources.
2023-03-17 09:57:30 +01:00
Benoit Marty
52b62a2018 Add preview for CircularProgressIndicator 2023-03-16 16:34:36 +01:00
Benoit Marty
771855dfe3 Let coil use our OkHttpClient. 2023-03-16 15:31:57 +01:00
Benoit Marty
a68b3f80eb Add :libraries:network module 2023-03-16 15:31:57 +01:00
Benoit Marty
32d9a183ae Add BuildMeta to the project 2023-03-16 14:21:12 +01:00
Benoit Marty
63fabed8ce Introduce AppNavigationStateService. 2023-03-16 11:30:09 +01:00
Benoit Marty
192bb42106 Add class LoggerTag 2023-03-16 11:21:23 +01:00
Benoit Marty
b74e1e6074 allLibraries renamed to allLibrariesImpl and only reference implementation of the libraries. 2023-03-16 10:10:55 +01:00
Jorge Martin Espinosa
cd09c15df4 Fix behaviour of Enter and Tab hardware keys in TextFields (#216)
* Fix behaviour of Enter and Tab hardware keys in TextFields

* Add changelog
2023-03-15 13:57:51 +01:00
Florian Renaud
0cd8c3f93c Merge remote-tracking branch 'origin/develop' into feature/fre/start_chat_search_matrixid 2023-03-15 11:23:46 +01:00