Commit graph

724 commits

Author SHA1 Message Date
Benoit Marty
2cb28ba67c Merge pull request #147 from vector-im/renovate/configure
Configure Renovate
2023-03-07 10:59:31 +01:00
renovate[bot]
5bc5f3c138 Add renovate.json 2023-03-07 09:31:10 +00:00
Benoit Marty
c4e7172fcc Merge pull request #145 from vector-im/sync-strings
Sync strings
2023-03-07 09:37:57 +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
c0af3dd923 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
a1d6c374aa 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
d14e6e4ade Merge pull request #136 from vector-im/feature/bma/splitModules
Split some library modules
2023-03-06 15:36:09 +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
dependabot[bot]
de5c1dfbd4 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]
0cddffd896 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
7997a65182 Merge pull request #128 from vector-im/sync-strings
Sync strings
2023-03-03 09:45:41 +01:00
bmarty
e1285c2687 Import strings from Element Android 2023-03-03 06:06:26 +00:00
Jorge Martin Espinosa
0523f61973 Try to run Diawi only for PRs (#124) 2023-03-02 18:08:57 +01:00
Benoit Marty
3cfd208533 Merge pull request #125 from vector-im/feature/bma/splitMatrix
Split matrix module
2023-03-02 18:05:00 +01:00
Benoit Marty
387452679c Remove the line about testFixtures, this is not supported yet. 2023-03-02 18:03:05 +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
Benoit Marty
b8467e547c 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
6677f80abe 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
Benoit Marty
381bd3fd3f 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
f300842a87 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
d9bbe80392 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
947eebdcd0 Sample: remove unused drawables 2023-03-01 12:11:43 +01:00
ganfra
44cd906c6b Add preview to new timeline items 2023-03-01 11:33:54 +01:00
ganfra
c83152b187 Add info about the run configuration 2023-03-01 11:15:22 +01:00
ganfra
c362c7b069 Fix test compilation 2023-03-01 11:11:09 +01:00
Benoit Marty
065daa4899 Split APK per ABI 2023-03-01 10:26:05 +01:00
Benoit Marty
6a6df72220 Setup Diawi to comment Pull Request with a QrCode to download the APK 2023-03-01 10:26:05 +01:00
Benoit Marty
9faeac1a44 Fix typo 2023-03-01 09:55:39 +01:00
Benoit Marty
e57635eede Build unmerged branch on pull request 2023-03-01 09:55:39 +01:00
ganfra
fefbdcdb71 Should fix CI 2023-02-28 15:19:33 +01:00
ganfra
a5b5371fb6 Use DaySeperatorFormatter 2023-02-28 14:27:54 +01:00
ganfra
21a51895b8 Clean minimal sample 2023-02-28 11:56:45 +01:00
ganfra
5fa293b563 Timeline test: check timeline is initialized and disposed 2023-02-28 11:25:08 +01:00
ganfra
45711b062e Makes sure to test loadMore method on TimelinePresenter 2023-02-27 20:30:22 +01:00
ganfra
b86d5a67e5 Bypass error of setHomeserver 2023-02-27 18:11:51 +01:00
ganfra
c729616ce6 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
0b8e258d78 Change back versionCode 2023-02-27 12:58:34 +01:00
ganfra
d5c0f7d76f Update maestro readme 2023-02-27 12:19:56 +01:00
ganfra
4fc12f13d8 Fix test compilation 2023-02-27 12:19:43 +01:00
Benoit Marty
e48a730417 Merge pull request #114 from vector-im/sync-strings
Sync strings
2023-02-27 12:01:06 +01:00
Benoit Marty
7661011e33 Merge pull request #113 from vector-im/dependabot/github_actions/mobile-dev-inc/action-maestro-cloud-1.3.1
Bump mobile-dev-inc/action-maestro-cloud from 1.2.3 to 1.3.1
2023-02-27 12:00:09 +01:00
Benoit Marty
98c610c0d4 Merge pull request #93 from vector-im/feature/bma/upgradeAgp
Upgrade AGP, and some other plugins.
2023-02-27 11:58:20 +01:00
bmarty
fd94874b59 Import strings from Element Android 2023-02-25 06:06:00 +00:00
dependabot[bot]
96198dbe86 Bump mobile-dev-inc/action-maestro-cloud from 1.2.3 to 1.3.1
Bumps [mobile-dev-inc/action-maestro-cloud](https://github.com/mobile-dev-inc/action-maestro-cloud) from 1.2.3 to 1.3.1.
- [Release notes](https://github.com/mobile-dev-inc/action-maestro-cloud/releases)
- [Commits](https://github.com/mobile-dev-inc/action-maestro-cloud/compare/v1.2.3...v1.3.1)

---
updated-dependencies:
- dependency-name: mobile-dev-inc/action-maestro-cloud
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-24 23:05:21 +00:00
ganfra
5731deb9a5 Format code 2023-02-24 20:40:48 +01:00