Commit graph

353 commits

Author SHA1 Message Date
Jorge Martin Espinosa
dcb98f06aa Add Session Verification flow (#197) 2023-03-17 10:07:19 +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
ganfra
ccde8adef3 [MatrixSDK] map the remaining EventContents 2023-03-14 12:28:46 +01:00
ganfra
2dc44250fb [MatrixSDK] remove Rust AuthenticationService from the dependency graph 2023-03-14 12:04:53 +01:00
ganfra
497fd635f8 [MatrixSDK] make tests passes 2023-03-13 21:12:42 +01:00
ganfra
801eecfe8d [MatrixSDK] finish mapping timeline and makes it compile 2023-03-13 20:18:16 +01:00
ganfra
fb85f35525 [MatrixSDK] start mapping all the timeline objects 2023-03-10 18:32:46 +01:00
ganfra
98911a12ad [MatrixSDK] makes sure to release FFI objects from RustMatrixRoom by calling close 2023-03-09 20:22:16 +01:00
ganfra
fc51bd44e8 [MatrixSDK] makes sure to release FFI objects from RustRoomSummaryDataSource 2023-03-09 20:08:53 +01:00
ganfra
7504b0fdbd [MatrixSDK] makes sure to release FFI objects from RustMatrixClient 2023-03-09 19:58:17 +01:00
ganfra
c9e15ea3e9 Add small comments 2023-03-09 17:54:35 +01:00
ganfra
a230144431 Merge branch 'develop' into feature/fga/improve_node_architecture 2023-03-09 15:42:23 +01:00
Jorge Martin Espinosa
ff5694239c Address design comments on the change server screen (#196)
* Address design comments on the change server screen

* Update screenshots

* Address review comments.
2023-03-09 13:51:44 +00:00
ganfra
7455c4923f Merge branch 'develop' into feature/fga/improve_node_architecture 2023-03-09 12:00:34 +01:00
ganfra
ec1c84e058 Merge branch 'develop' into feature/fga/improve_node_architecture 2023-03-09 10:27:00 +01:00
ganfra
86ebcc376d [Architecture] clean and makes compile 2023-03-09 10:18:25 +01:00
ganfra
bc9f3b69cc [Architecture] split all feature modules to api/impl 2023-03-08 16:13:45 +01:00
Florian Renaud
3fc55a8d95 Rework create room action buttons and remove custom TextIconButton 2023-03-08 15:46:48 +01:00
Florian Renaud
5d521b5b9f Use material icons while design system is not ready 2023-03-08 15:46:48 +01:00
Florian Renaud
604d9447e4 Fix rendering of wrong composable in preview 2023-03-08 15:46:48 +01:00
Maxime NATUREL
e198e93090 TextIconButton component 2023-03-08 15:46:47 +01:00
Maxime NATUREL
8bd40867b4 Wrapper for TextButton 2023-03-08 15:46:47 +01:00
Maxime NATUREL
e5349040b2 Moving back button into button package 2023-03-08 15:46:47 +01:00
Maxime NATUREL
e6c7afd614 Add buttons to create and invite 2023-03-08 15:46:47 +01:00
Maxime NATUREL
3efb141afc Fix duplicated strings and use back button 2023-03-08 15:46:46 +01:00
Florian Renaud
1f85df8a1a Update SearchBar by using the DockedSearchBar from material3 2023-03-08 15:46:46 +01:00
Maxime NATUREL
4342c4ec07 Search bar 2023-03-08 15:46:46 +01:00
Maxime NATUREL
fd43b6b336 Top app bar for the start chat screen 2023-03-08 15:46:46 +01:00
Maxime NATUREL
0470abaded Revert the color change in theme 2023-03-08 15:46:45 +01:00
Florian Renaud
cec6d3ef88 Update create room screen 2023-03-08 15:46:45 +01:00
Florian Renaud
61a4776907 Customize create room floating button 2023-03-08 15:46:45 +01:00
Jorge Martin Espinosa
8bfa4d7074 Fix the case when a valid homeserver url can't be extracted from the MXID (#182)
* Fix the case when a valid homeserver url can't be extracted from the mxid

* Add changelog

* Add `use` to Rust SDK calls in loginto automatically free memory from Rust objects
2023-03-08 15:36:36 +01:00
bmarty
db5107a292 Import strings from Element Android 2023-03-08 06:06:37 +00:00
ganfra
84bfb14bd9 [Architecture] introduce nodeBuilder concept 2023-03-07 20:31:16 +01:00
Jorge Martin Espinosa
d36ca2907c Use user friendly error messages in login following iOS logic (#174)
* Use user friendly error messages in login following iOS logic, fix dialog colors.

* Use `AlertDialogDefaults` for the default properties of dialogs

* Improve Maestro tests with wrong password dialog

* Add tests for error messages
2023-03-07 17:55:48 +01:00
ganfra
7f3679a15e Merge branch 'develop' into feature/fga/improve_node_architecture 2023-03-07 12:10:20 +01:00
bmarty
423c655101 Import strings from Element Android 2023-03-07 06:06:30 +00:00
Jorge Martin Espinosa
ea454ff1c3 Add consumer proguard rules for SQLCipher (#138)
* Add consumer proguard rules for SQLCipher

* Add changelog

* Explain why these rules are necessary

Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>

* Try to switch to a supported version of Compose Rules to avoid dependency issues

---------

Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
2023-03-06 19:40:05 +01:00
Benoit Marty
95ccccc33b Move InMemorySessionStore in it's own module implementation 2023-03-06 13:10:27 +01:00
Benoit Marty
5ea2a4292d Split module session-storage into api and impl. 2023-03-06 13:10:27 +01:00
Benoit Marty
e2bd966878 Split module dateformatter into api, impl and test. 2023-03-06 11:58:11 +01:00
Jorge Martin Espinosa
c87c0ea28c 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
ganfra
a94862d778 Try splitting messages into api and impl modules 2023-03-03 14:38:05 +01:00
bmarty
e1285c2687 Import strings from Element Android 2023-03-03 06:06:26 +00:00
ganfra
91863e2529 [Architecture] introduce BackstackNode 2023-03-02 17:55:26 +01:00
Benoit Marty
466579c4d3 Move class of matrix.api module to api sub package. 2023-03-02 17:32:47 +01:00
Benoit Marty
c2dff7888c Move module matrixtest to matrix.test 2023-03-02 17:19:58 +01:00