Commit Graph

203 Commits

Author SHA1 Message Date
Jorge Martin Espinosa
4e085efcf4 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
d60a653d83 Add utility methods for automatically including api/impl feature modules 2023-03-23 18:06:32 +01:00
Benoit Marty
c9c1a77eab Add :libraries:network module 2023-03-16 15:31:57 +01:00
Benoit Marty
1c58e8ef35 Add BuildMeta to the project 2023-03-16 14:21:12 +01:00
Benoit Marty
dc7a1132b8 Create allServicesImpl() 2023-03-16 11:30:09 +01:00
Benoit Marty
137e9b61f0 Introduce AppNavigationStateService. 2023-03-16 11:30:09 +01:00
Benoit Marty
ad6a2e9595 allLibraries renamed to allLibrariesImpl and only reference implementation of the libraries. 2023-03-16 10:10:55 +01:00
ganfra
ed853fe0a4 Merge branch 'develop' into feature/fga/improve_node_architecture 2023-03-09 15:42:23 +01:00
Benoit Marty
6a34caf33d Create allFeatureApis extension and rename allFeatures to allFeaturesImpl 2023-03-09 14:52:40 +01:00
Benoit Marty
8e2e09986c Fix application distribution for nightly build. 2023-03-09 12:20:01 +01:00
ganfra
a19917da80 Merge branch 'develop' into feature/fga/improve_node_architecture 2023-03-09 10:27:00 +01:00
ganfra
7051bfc14e [Architecture] split all feature modules to api/impl 2023-03-08 16:13:45 +01:00
Florian Renaud
e8a4365b05 Rename parent node to flow node 2023-03-08 15:46:45 +01:00
Florian Renaud
7fbab8939b Add empty create room fab button 2023-03-08 15:46:45 +01:00
ganfra
b2c68d555a [Architecture] introduce nodeBuilder concept 2023-03-07 20:31:16 +01:00
renovate[bot]
f65f280b7f Update plugin com.google.firebase.appdistribution to v4 2023-03-07 12:21:06 +00:00
ganfra
4cff199446 Fix warning 2023-03-07 12:14:15 +01:00
ganfra
9d91fb06cc Merge branch 'develop' into feature/fga/improve_node_architecture 2023-03-07 12:10:20 +01:00
renovate[bot]
38f38c8aca Update plugin com.google.firebase.appdistribution to v3.2.0 2023-03-07 10:54:41 +00:00
ganfra
5b16f8c4b0 [Architecture] : create appnav module so we can use only api feature modules 2023-03-06 20:30:48 +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
ganfra
b9febcd8d7 [Architecture] experiments to remove DI graph managements from navigation flow nodes 2023-03-04 14:14:47 +01:00
ganfra
43b304e523 Try splitting messages into api and impl modules 2023-03-03 14:38:05 +01:00
ganfra
bc14afe05d [Architecture]: use FeatureEntryPoint on Messages feature 2023-03-02 18:16:17 +01:00
ganfra
c581f0b383 [Architecture] introduce BackstackNode 2023-03-02 17:55:26 +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
0b5abc7a73 Move module matrixtest to matrix.test 2023-03-02 17:19:58 +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
15ed58b756 [Architecture] use FeatureEntryPoint on Preferences 2023-03-02 15:59:25 +01:00
ganfra
da92113e43 [Architecture] Introduce EntryPoint and use createNode for ParentNode too 2023-03-02 12:33:18 +01:00
Benoit Marty
1ec629c304 Merge pull request #92 from vector-im/feature/bma/pr_improvement
Configure Diawi and split APK
2023-03-02 11:44:34 +01:00
Benoit Marty
d617a9a3dc Split APK per ABI 2023-03-01 10:26:05 +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
8d4d8e96bd Merge develop into feature/fga/update_rust_sdk 2023-02-24 11:14:36 +01:00
Benoit Marty
1e01f3d043 Also upgrade com.android.tools:desugar_jdk_libs (was waiting for AGP upgrade) 2023-02-17 14:00:34 +01:00
Benoit Marty
cec8c4644c Upgrade AGP, and some other plugins. 2023-02-17 12:28:03 +01:00
ganfra
31eb01a7c2 Merge branch 'develop' into feature/fga/update_rust_sdk 2023-02-14 21:15:28 +01:00
ganfra
d4146891d9 Create sample app for checking stuff quickly 2023-02-14 20:57:11 +01:00
Benoit Marty
e40735e0e0 Remove duplicated ShowkaseButton and fix colors. 2023-02-14 17:03:02 +01:00
Benoit Marty
41e63173b3 Make @Preview internal.
And exclude class generated by Showkase
2023-02-14 17:03:02 +01:00
Benoit Marty
ec687edc2d Extract Provider (and rename them) to their own file and move fixture(s) there. 2023-02-14 17:03:02 +01:00
Benoit Marty
e1b9d1da02 PreviewParameterProvider FTW 2023-02-14 17:03:02 +01:00
Benoit Marty
2a04cd3983 Create RootStatePreviewParameter 2023-02-14 17:03:02 +01:00
Benoit Marty
395d432220 Add some Preview 2023-02-14 17:03:02 +01:00
Benoit Marty
2a0f636250 Remove dead code 2023-02-14 17:03:02 +01:00
Benoit Marty
6169323043 Move test data to TestData.kt 2023-02-09 18:41:58 +01:00
Benoit Marty
23f206f7f2 Add test for RootPresenter 2023-02-09 12:30:53 +01:00