Commit Graph

24 Commits

Author SHA1 Message Date
Benoit Marty
24e46d2ebe white list renovate, so that the tool does not need to sign-off. 2023-03-07 11:28:52 +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
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
Benoit Marty
732fb9bd1e Fix detekt issue, optimize import, fix color of preference category title 2023-02-03 13:43:00 +01:00
Benoit Marty
40a24bb51c Merge pull request #50 from vector-im/sync-strings
Sync strings
2023-01-19 15:11:57 +01:00
Benoit Marty
19f2310191 Allow user github-actions[bot] to update translations.
Check that new strings are not added to `values/strings.xml`
Signoff not required for "github-actions[bot]" user.
2023-01-19 11:13:48 +01:00
Benoit Marty
d653d68b97 Fix licence template 2023-01-18 15:49:57 +01:00
Benoit Marty
7caff5c2dd Setup git lfs 2023-01-18 15:20:32 +01:00
Benoit Marty
2c1a2dc444 Add script to import strings, and doc.
Add GitHub action to sync strings.
2023-01-18 11:54:02 +01:00
Benoit Marty
45a455f8af Setup towncrier 2023-01-11 14:57:14 +01:00
Benoit Marty
d5aeae72a1 Let detekt check if the license is set on Kotlin files. 2022-12-22 14:17:35 +01:00
Benoit Marty
e2515020cf Add missing Copyright 2022-12-22 13:51:56 +01:00
Benoit Marty
90f9a7a69f Add module graph plugin and expose the graph in the README 2022-12-22 12:28:14 +01:00
Benoit Marty
a4fd7bab4f Code quality
Code quality
2022-12-21 15:32:53 +01:00
Benoit Marty
30d8c63392 Fix Unknown issue id "ComposableLambdaParameterNaming" and Unknown issue id "ComposableLambdaParameterPosition" 2022-12-13 12:26:44 +01:00
Benoit Marty
0e558d603d Adapt twitter rules. 2022-12-12 16:24:35 +01:00
Benoit Marty
4baaf8cbfe Add twitter rules for Compose 2022-12-09 17:12:08 +01:00
Benoit Marty
032e1921df Setup Detekt - specific rule for Composable function 2022-12-09 16:12:36 +01:00
Benoit Marty
e11a2b5341 Setup Detekt 2022-12-09 16:12:36 +01:00
Benoit Marty
5c8549575f Warning for UnknownIssueId (since all the module does not have the compose dependencies) 2022-12-09 15:45:35 +01:00
Benoit Marty
92b06ced6b Add quality workflow and Danger files. 2022-12-09 12:06:37 +01:00
Benoit Marty
0de0069b1d Fix some lint issues and reduce severity of UnusedResources 2022-12-09 12:06:37 +01:00
Benoit Marty
53fe139b92 Disable unknown issue 2022-12-09 12:06:37 +01:00
Benoit Marty
27608eca64 [lint] Import lint.xml from Element Android 2022-12-09 12:06:37 +01:00