Commit graph

228 commits

Author SHA1 Message Date
ganfra
5cd8e7c6c0 Merge branch 'develop' into feature/fga/some_room_related_fixes 2023-04-28 15:58:54 +02:00
Jorge Martin Espinosa
eeca1c9ee3 Add PickerLauncher wrapper for media/file pickers. (#361)
* Add `PickerLauncher` wrapper for media/file pickers.

* Add FileProvider path, handle Camera picker and add NoOp implementation to fix tests.

* Move media pickers to their own module.

* Add missing media pickers

* Add feature flag and some extra tests
2023-04-28 10:52:34 +02:00
ganfra
1ab96e2f34 Some clean up 2023-04-25 11:17:05 +02:00
Jorge Martin Espinosa
1828270c06 Fix more R8 issues (#337) 2023-04-18 19:21:46 +02:00
ganfra
638b45930e Merge pull request #334 from vector-im/feature/fga/feature_flag
Feature/fga/feature flag
2023-04-18 15:24:04 +02:00
Benoit Marty
b97b9d07c4 Merge pull request #333 from vector-im/feature/bma/push5
Small cleanup and add log
2023-04-18 14:05:00 +02:00
Jorge Martin Espinosa
deb14865c6 Fix: JNA issue in release mode (#335)
* Restore checkout config for nightly workflows.

* Add missing proguard config line for JNA.
2023-04-18 11:31:25 +00:00
ganfra
df29b1dd8e [BuildMeta] introduce BuildType and remove Network related code from BuildMeta 2023-04-18 11:58:24 +02:00
Benoit Marty
7e28794a3b Add some log to the Activity, to help debugging from Rageshake. 2023-04-18 10:17:59 +02:00
Jorge Martin Espinosa
de010545fb Update Gradle to 8.1 and AGP to v8.0 (#329)
* Update AGP to 8.0.0.

* Set JAVA_HOME to JDK17

* Update lint version.

* Use right JDK for dependency analysis, replace deprecated env var.

* Upgrade to Gradle 8.1.

* Remove `@Supress(DSL_SCOPE_VIOLATION)` as it's no longer needed.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-17 08:49:52 +00:00
Benoit Marty
b0f14bfb15 Deeplink: handle notification click to open a room. 2023-04-13 15:35:01 +02:00
Benoit Marty
ce11c33680 Add firebase resource file generated by the firebase plugin, to be able to remove the plugin. 2023-04-12 12:03:19 +02:00
Benoit Marty
287fca5438 UnifiedPush WIP 2023-04-12 09:49:23 +02:00
Benoit Marty
aef48bdf8a Cleanup, Firebase dep. is not necessary here. 2023-04-12 09:48:56 +02:00
Benoit Marty
1faedca69d Add some tests (mainly imported from EA). Also change type from String to SessionId, RoomId, etc. 2023-04-05 16:59:17 +02:00
Benoit Marty
7e7e798acf Making progress on notification for multi account. 2023-04-05 16:59:17 +02:00
Benoit Marty
8d5ecfd358 Fix multi Activity wen opening app from notification. 2023-04-05 16:59:17 +02:00
Benoit Marty
e6ac547501 Show basic notification when push is recieve 2023-04-05 16:32:28 +02:00
Benoit Marty
275fa03de3 Import some stuff about Push and notification from Element Android - WIP 2023-04-05 16:18:44 +02:00
Benoit Marty
c2fb2c48c6 Add google-services.json files to the project. 2023-04-05 16:18:44 +02:00
Benoit Marty
7fad3caea4 Configure com.google.firebase:firebase-bom and add dependency on firebase-messaging-ktx 2023-04-05 16:18:44 +02:00
Benoit Marty
a073afe8c9 Setup Google services Gradle plugin. 2023-04-05 16:18:44 +02:00
Jorge Martin Espinosa
3aea24380a [Room Details] Leave room (#296)
* Add leave room functionality to the Room Details screen

* Add snackbar message throught `SnackbarDistpacher`
2023-04-05 15:36:41 +02: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
renovate[bot]
0bc2bcb353 Update dependency com.android.tools:desugar_jdk_libs to v2.0.3 (#281)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-04 09:16:53 +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
91bff7fad4 Add utility methods for automatically including api/impl feature modules 2023-03-23 18:06:32 +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
93cd58feb5 Create allServicesImpl() 2023-03-16 11:30:09 +01:00
Benoit Marty
63fabed8ce Introduce AppNavigationStateService. 2023-03-16 11:30:09 +01:00
Benoit Marty
b74e1e6074 allLibraries renamed to allLibrariesImpl and only reference implementation of the libraries. 2023-03-16 10:10:55 +01:00
ganfra
a230144431 Merge branch 'develop' into feature/fga/improve_node_architecture 2023-03-09 15:42:23 +01:00
Benoit Marty
9bdcaae0cf Create allFeatureApis extension and rename allFeatures to allFeaturesImpl 2023-03-09 14:52:40 +01:00
Benoit Marty
f0ca807809 Fix application distribution for nightly build. 2023-03-09 12:20:01 +01:00
ganfra
ec1c84e058 Merge branch 'develop' into feature/fga/improve_node_architecture 2023-03-09 10:27:00 +01:00
ganfra
bc9f3b69cc [Architecture] split all feature modules to api/impl 2023-03-08 16:13:45 +01:00
Florian Renaud
5c80ec1854 Rename parent node to flow node 2023-03-08 15:46:45 +01:00
Florian Renaud
a8101d3b32 Add empty create room fab button 2023-03-08 15:46:45 +01:00
ganfra
84bfb14bd9 [Architecture] introduce nodeBuilder concept 2023-03-07 20:31:16 +01:00
renovate[bot]
8ff46bd668 Update plugin com.google.firebase.appdistribution to v4 2023-03-07 12:21:06 +00:00
ganfra
49f624afd3 Fix warning 2023-03-07 12:14:15 +01:00
ganfra
7f3679a15e Merge branch 'develop' into feature/fga/improve_node_architecture 2023-03-07 12:10:20 +01:00
renovate[bot]
3594925931 Update plugin com.google.firebase.appdistribution to v3.2.0 2023-03-07 10:54:41 +00:00
ganfra
a13cba9571 [Architecture] : create appnav module so we can use only api feature modules 2023-03-06 20:30:48 +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
af6dd3ee30 [Architecture] experiments to remove DI graph managements from navigation flow nodes 2023-03-04 14:14:47 +01:00
ganfra
a94862d778 Try splitting messages into api and impl modules 2023-03-03 14:38:05 +01:00