Commit Graph

25 Commits

Author SHA1 Message Date
Jorge Martin Espinosa
d9183e4092 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
Jorge Martin Espinosa
9639d62bb3 Add Session Verification flow (#197) 2023-03-17 10:07:19 +01:00
ganfra
76aefaf995 [MatrixSDK] remove Rust AuthenticationService from the dependency graph 2023-03-14 12:04:53 +01:00
ganfra
38dc36e7bf [MatrixSDK] finish mapping timeline and makes it compile 2023-03-13 20:18:16 +01:00
ganfra
c5c39dc40a [Architecture] fix compile and rename LoginRootScreen -> LoginRootView 2023-03-09 10:37:17 +01:00
ganfra
b07e0e62b1 [Architecture] clean and makes compile 2023-03-09 10:18:25 +01:00
ganfra
9d91fb06cc Merge branch 'develop' into feature/fga/improve_node_architecture 2023-03-07 12:10:20 +01:00
Benoit Marty
ccf4cc1bc4 Move InMemorySessionStore in it's own module implementation 2023-03-06 13:10:27 +01:00
Benoit Marty
a66312d9e2 Split module session-storage into api and impl. 2023-03-06 13:10:27 +01:00
Benoit Marty
0037da4ce5 Split module dateformatter into api, impl and test. 2023-03-06 11:58:11 +01:00
Jorge Martin Espinosa
33b88b8026 Refine sign in flow to match designs and iOS flow (#100)
* Fix dark theme

* First attempt at replicating iOS' UI & flows.

* Try to fix Maestro tests

* Add error dialogs and tests

* Remove unused modifiers

* Try to fix detekt issues

* Tidy up maestro login flow a bit

* Add `CompoundColorPalette` with some needed colors

* Fixes to designs

* Fix detekt issues

* More design fixes

* Some other minor design fixes

* Add changelog

* Minor tweaks.

* Remove legacy dark material theme as it's no longer needed.

* Move sliding sync 'learn more' url to constants object

* Remove unused focusManager

* Change how the displayed homeserver works

* Keep user input as homeserver if it's valid

* Remove `CompoundColorPalette`, try to fix issue when toggling dark mode.

* Add `@Stable` to the theme, adjust how it toggles in dark mode

* Remove unused strings

* Update screenshots

* Re-organize components in LoginRootScreen

* Bump min coverage to 55, max to 60

* Always replace the snapshots contents when running `recordPaparazzi`

* Fix dark theme preview of components using content colors

* Add `BackButton` component

* Handle errors with dialogs in a generic way

* Align our Dialog components with the designs, use them were needed

* Use a `MatrixHomeserverDetails` data class instead of just an URL.

* `AuthenticationService.getHomeserverDetails()` now returns a `StateFlow`.

Also, try to fix coverage issues in tests.
2023-03-06 09:30:16 +01:00
Benoit Marty
8faca4fdac Move class of matrix.api module to api sub package. 2023-03-02 17:32:47 +01:00
Benoit Marty
fbdc1a477a Split module matrix to matrix.api with interfaces and data classes and matrix.impl with Rust implementation. 2023-03-02 17:12:13 +01:00
Jorge Martin Espinosa
c20013243b Store session data in a secure way (#98)
* Replace SessionData DataStore with an encrypted SQLite DB.

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
2023-03-02 16:48:54 +01:00
ganfra
9d730d8b74 [Architecture] use impl instead of implementation 2023-03-02 15:49:20 +01:00
ganfra
da92113e43 [Architecture] Introduce EntryPoint and use createNode for ParentNode too 2023-03-02 12:33:18 +01:00
ganfra
13f6643ef0 Sample: remove unused drawables 2023-03-01 12:11:43 +01:00
ganfra
d687acf57f Fix test compilation 2023-03-01 11:11:09 +01:00
ganfra
b6606577d5 Should fix CI 2023-02-28 15:19:33 +01:00
ganfra
085dbec3f7 Clean minimal sample 2023-02-28 11:56:45 +01:00
ganfra
a23ecfca1b Merge branch 'develop' into feature/fga/update_rust_sdk and allow using 'libs' from precompiled script 2023-02-27 14:14:49 +01:00
ganfra
bf95f2a2c7 Format code 2023-02-24 20:40:48 +01:00
ganfra
247f6d2188 Update rust-sdk (from maven) 2023-02-24 15:05:20 +01:00
ganfra
8d4d8e96bd Merge develop into feature/fga/update_rust_sdk 2023-02-24 11:14:36 +01:00
ganfra
d4146891d9 Create sample app for checking stuff quickly 2023-02-14 20:57:11 +01:00