Commit graph

756 commits

Author SHA1 Message Date
manuroe
373b9b2fef Add a status section to indicate the project is still WIP
to avoid confusion
2023-03-07 18:20:40 +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
Benoit Marty
f1afd67397 Merge pull request #158 from vector-im/renovate/com.adevinta.android
Update dependency com.adevinta.android:barista to v4.3.0
2023-03-07 17:24:00 +01:00
Benoit Marty
bf1479d332 Merge pull request #163 from vector-im/renovate/ktlint
Update dependency org.jlleitschuh.gradle.ktlint to v11.3.1
2023-03-07 17:21:38 +01:00
Benoit Marty
515b3fc120 Merge pull request #175 from vector-im/michaelk/gradle-cache
Use the gradle plugin (same usage as in element-android) to use caching.
2023-03-07 16:49:53 +01:00
Benoit Marty
c969a0308f Attempt to remove false positive: Renovate failed to look up the following dependencies: string:app_name. 2023-03-07 14:54:49 +01:00
Benoit Marty
700a2f00d3 Merge pull request #142 from vector-im/feature/fga/update_build_rust_sdk_doc
[Doc] add some documentation about rust-sdk
2023-03-07 14:37:44 +01:00
Michael Kaye
7e0a284669 Use the gradle plugin (same usage as in element-android) to standardise caching.
This may or may not speed up build times.
2023-03-07 13:32:32 +00:00
Benoit Marty
8f2b0314bf Merge pull request #169 from vector-im/renovate/major-io.element.android
Update dependency io.element.android:wysiwyg to v1
2023-03-07 14:17:41 +01:00
renovate[bot]
ea6e9e33e8 Update plugin sonarqube to v4 (#172)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-07 14:17:12 +01:00
Benoit Marty
52baad29e9 Merge pull request #164 from vector-im/renovate/com.google.firebase.appdistribution-3.x
Update plugin com.google.firebase.appdistribution to v3.2.0
2023-03-07 13:19:42 +01:00
renovate[bot]
35b5006151 Update dagger to v2.45 (#157)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-07 12:50:28 +01:00
renovate[bot]
1acb040971 Update dependency app.cash.molecule:molecule-runtime to v0.7.1 (#152)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-07 12:49:23 +01:00
Benoit Marty
7c3a48f9cd Merge pull request #154 from vector-im/renovate/jsoup
Update dependency org.jsoup:jsoup to v1.15.4
2023-03-07 12:41:41 +01:00
Benoit Marty
b0478862c1 Update the doc, mainly add formatting. 2023-03-07 12:41:02 +01:00
Benoit Marty
de8f00abf2 Merge pull request #148 from vector-im/renovate/android_gradle_plugin
Update android_gradle_plugin to v7.4.2
2023-03-07 12:07:57 +01:00
renovate[bot]
144316c8e5 Update dependency io.element.android:wysiwyg to v1 2023-03-07 10:59:47 +00:00
renovate[bot]
3594925931 Update plugin com.google.firebase.appdistribution to v3.2.0 2023-03-07 10:54:41 +00:00
renovate[bot]
65c76b143a Update dependency org.jlleitschuh.gradle.ktlint to v11.3.1 2023-03-07 10:54:33 +00:00
renovate[bot]
feef7f0ccb Update dependency com.adevinta.android:barista to v4.3.0 2023-03-07 10:49:07 +00:00
renovate[bot]
2d3f1d5770 Update dependency org.jsoup:jsoup to v1.15.4 2023-03-07 10:48:30 +00:00
Benoit Marty
8268266a7e Merge pull request #149 from vector-im/renovate/androidx.test
Update androidx.test
2023-03-07 11:48:22 +01:00
renovate[bot]
e2ba07bb3c Update androidx.test 2023-03-07 10:48:00 +00:00
renovate[bot]
49887c7114 Update android_gradle_plugin to v7.4.2 2023-03-07 10:47:56 +00:00
Benoit Marty
c273818c75 Merge branch 'feature/bma/renovateConfig' into develop 2023-03-07 11:45:41 +01:00
Benoit Marty
fcf1b4358e Renovate: Add a reviewer for each PR from the team element-x-android-reviewers 2023-03-07 11:44:49 +01:00
Benoit Marty
3b829b6c4f Renovate: Add dependencies label to all created PRs. 2023-03-07 11:44:49 +01:00
Benoit Marty
8ca7e32a8d Move renovate configuration to .github folder.
This is valid, see: https://docs.renovatebot.com/configuration-options/#configuration-options
2023-03-07 11:33:50 +01:00
Benoit Marty
bf6bf9a739 white list renovate, so that the tool does not need to sign-off. 2023-03-07 11:28:52 +01:00
Benoit Marty
f2832d9ce5 Remove invalid dependency 2023-03-07 11:02:59 +01:00
Benoit Marty
2cb28ba67c Merge pull request #147 from vector-im/renovate/configure
Configure Renovate
2023-03-07 10:59:31 +01:00
ganfra
96d1a7c00f Apply suggestions from code review
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2023-03-07 10:43:06 +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
ganfra
2beb8439e8 [Doc] add some documentation about rust-sdk 2023-03-06 21:22:35 +01: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