Commit Graph

734 Commits

Author SHA1 Message Date
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
Benoit Marty
c8d1deb653 Merge pull request #145 from vector-im/sync-strings
Sync strings
2023-03-07 09:37:57 +01:00
bmarty
734177571a Import strings from Element Android 2023-03-07 06:06:30 +00:00
ganfra
5b16f8c4b0 [Architecture] : create appnav module so we can use only api feature modules 2023-03-06 20:30:48 +01:00
Jorge Martin Espinosa
e0bb1da258 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
bc011d0444 Merge pull request #126 from vector-im/dependabot/github_actions/danger/danger-js-11.2.4
Bump danger/danger-js from 11.2.3 to 11.2.4
2023-03-06 15:57:14 +01:00
Benoit Marty
59a2a0bf06 Merge pull request #127 from vector-im/dependabot/github_actions/NejcZdovc/comment-pr-2
Bump NejcZdovc/comment-pr from 1 to 2
2023-03-06 15:56:43 +01:00
Benoit Marty
332fc4d1e0 Merge pull request #136 from vector-im/feature/bma/splitModules
Split some library modules
2023-03-06 15:36:09 +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
ganfra
b9febcd8d7 [Architecture] experiments to remove DI graph managements from navigation flow nodes 2023-03-04 14:14:47 +01:00
ganfra
2907189b61 [Architecture] move back java file to the java directory 2023-03-03 18:14:45 +01:00
ganfra
43b304e523 Try splitting messages into api and impl modules 2023-03-03 14:38:05 +01:00
dependabot[bot]
64eb520491 Bump danger/danger-js from 11.2.3 to 11.2.4
Bumps [danger/danger-js](https://github.com/danger/danger-js) from 11.2.3 to 11.2.4.
- [Release notes](https://github.com/danger/danger-js/releases)
- [Changelog](https://github.com/danger/danger-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/danger/danger-js/compare/11.2.3...11.2.4)

---
updated-dependencies:
- dependency-name: danger/danger-js
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-03 09:16:36 +00:00
dependabot[bot]
242042c9b2 Bump NejcZdovc/comment-pr from 1 to 2
Bumps [NejcZdovc/comment-pr](https://github.com/NejcZdovc/comment-pr) from 1 to 2.
- [Release notes](https://github.com/NejcZdovc/comment-pr/releases)
- [Commits](https://github.com/NejcZdovc/comment-pr/compare/v1...v2)

---
updated-dependencies:
- dependency-name: NejcZdovc/comment-pr
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-03 09:08:31 +00:00
Benoit Marty
ced183dd80 Merge pull request #128 from vector-im/sync-strings
Sync strings
2023-03-03 09:45:41 +01:00
bmarty
d2a0ce6935 Import strings from Element Android 2023-03-03 06:06:26 +00:00
ganfra
bc14afe05d [Architecture]: use FeatureEntryPoint on Messages feature 2023-03-02 18:16:17 +01:00
Jorge Martin Espinosa
d8a391ec9b Try to run Diawi only for PRs (#124) 2023-03-02 18:08:57 +01:00
ganfra
d1cbd907e7 [Architecture] clean up 2023-03-02 18:06:31 +01:00
Benoit Marty
c762ed94c9 Merge pull request #125 from vector-im/feature/bma/splitMatrix
Split matrix module
2023-03-02 18:05:00 +01:00
Benoit Marty
87464b9622 Remove the line about testFixtures, this is not supported yet. 2023-03-02 18:03:05 +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
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
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
Jorge Martin Espinosa
633f65e557 CI: make sure Paparazzi test failures stop the test flow (#117)
* Run Paparazzi tests just once when koverMergedReport is used.
* Make sure a Paparazzi failure breaks the test flow and blocks merging.
* Change ./gradlew check call in quality.yml to custom runQualityChecks task.
2023-03-02 09:15:47 +01:00
ganfra
4e1d76cfc1 Merge pull request #112 from vector-im/feature/fga/update_rust_sdk
Feature/fga/update rust sdk
2023-03-01 12:37:58 +01:00
ganfra
13f6643ef0 Sample: remove unused drawables 2023-03-01 12:11:43 +01:00
ganfra
da7af50eb5 Add preview to new timeline items 2023-03-01 11:33:54 +01:00
ganfra
5d4a93554c Add info about the run configuration 2023-03-01 11:15:22 +01:00
ganfra
d687acf57f Fix test compilation 2023-03-01 11:11:09 +01:00
Benoit Marty
d617a9a3dc Split APK per ABI 2023-03-01 10:26:05 +01:00
Benoit Marty
223e264512 Setup Diawi to comment Pull Request with a QrCode to download the APK 2023-03-01 10:26:05 +01:00
Benoit Marty
61f01f1f55 Fix typo 2023-03-01 09:55:39 +01:00
Benoit Marty
01d2dde7be Build unmerged branch on pull request 2023-03-01 09:55:39 +01:00
ganfra
b6606577d5 Should fix CI 2023-02-28 15:19:33 +01:00
ganfra
2bbdecb6f0 Use DaySeperatorFormatter 2023-02-28 14:27:54 +01:00
ganfra
085dbec3f7 Clean minimal sample 2023-02-28 11:56:45 +01:00
ganfra
61ca79a2da Timeline test: check timeline is initialized and disposed 2023-02-28 11:25:08 +01:00
ganfra
39edc780fe Makes sure to test loadMore method on TimelinePresenter 2023-02-27 20:30:22 +01:00
ganfra
c8ec8da44f Bypass error of setHomeserver 2023-02-27 18:11:51 +01:00