Commit graph

71 commits

Author SHA1 Message Date
Jorge Martín
9efbe52c0d Remove duplicate issue reporting by Danger 2023-06-01 11:04:52 +02:00
Benoit Marty
4ecd7a2417 Fix test script 2023-05-30 15:59:58 +02:00
Benoit Marty
d2f969252d Oidc with CustomTab 2023-05-30 15:59:58 +02:00
renovate[bot]
29fcfcf68c Update dependency io.gitlab.arturbosch.detekt to v1.23.0 (#454)
* Update dependency io.gitlab.arturbosch.detekt to v1.23.0

* Disable new detekt rules for unused params

UnusedParameter and UnusedPrivateProperty are both potentially
useful but we currently break them a lot, for the most part
in places that haven't been fully implemented yet.

The unused params are reported as build warnings anyway, so
we're not missing much by disabling these for now.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Chris Smith <csmith@lunarian.uk>
2023-05-30 11:18:51 +00:00
Benoit Marty
0c95912c9c Group some state events in the timeline 2023-05-25 14:17:09 +02:00
Benoit Marty
9d66af834d Move RoomLastMessageFormatter and related class and resource to the new module eventformatter, in order to prepare rendering of state event in the timeline. 2023-05-25 14:15:35 +02:00
Chris Smith
6165e60e53 Make danger check view changes (#391)
Make danger check view changes

Add a check that if a file with @Preview or @LargeHeightPreview
in it is changed, then the corresponding build file includes
the showkase processor.

Also change the check that prompts about screenshots to use
the same @Preview logic instead of checking for "/layout" in
the path which doesn't work with compose.

Also add missing showkase processors
2023-05-05 08:24:12 +00:00
Chris Smith
e5912edfb5 Add Marco to dangerfile (#388) 2023-05-04 12:39:40 +00:00
Jorge Martin Espinosa
014c0f4186 [Media upload] Add media pickers to the Room screen and the composer (#380)
* Add media pickers to the Room screen and the composer.

* Fix exclude rules for translations
2023-05-04 11:51:03 +02:00
Chris Smith
88360802af Merge pull request #297 from csmith/102-show-invites-list
Feat: show invites list
2023-04-19 12:40:29 +01:00
Chris Smith
34cc352053 Invite list view
Adds a CTA on the room list to view invites if there are any.

The invite list presents each invite with accept/decline buttons
and (for room invites) the sender details.

Fixes #102
2023-04-19 10:20:48 +01:00
Benoit Marty
edb5695e24 Merge pull request #179 from vector-im/michaelk/danger_check_github_org
Attempt to check org/group membership before danger complains about signoff.
2023-04-18 10:49:46 +02:00
Benoit Marty
9d39d815ea Merge pull request #321 from vector-im/feature/bma/push3
Handle navigation on notification click
2023-04-14 10:08:42 +02:00
Florian Renaud
99bb29c81a Use string resources 2023-04-13 15:49:00 +02:00
Benoit Marty
1858eadd70 Fix typo 2023-04-13 15:47:23 +02:00
Benoit Marty
b0f14bfb15 Deeplink: handle notification click to open a room. 2023-04-13 15:35:01 +02:00
Benoit Marty
b396ce3e20 Add default value for noActivityFoundMessage 2023-04-12 09:41:22 +02:00
Benoit Marty
d003a9023b For usage of Python3
CI complain with:
 Traceback (most recent call last):
  File "./tools/localazy/generateLocalazyConfig.py", line 39, in <module>
    action = baseAction | {
TypeError: unsupported operand type(s) for |: 'dict' and 'dict'
2023-04-07 14:39:13 +02:00
Benoit Marty
8541fdf64d Add strings to localazy and import them 2023-04-05 16:59:17 +02:00
Benoit Marty
41fccb4056 Merge pull request #299 from vector-im/feature/bma/translations
Translations - Localazy improvement
2023-04-05 14:10:52 +02:00
Benoit Marty
64476de153 Create baseAction for shared values. 2023-04-05 12:23:47 +02:00
Benoit Marty
85b825e669 Ensure ellipsis char is used (fix lint issue). 2023-04-05 11:44:55 +02:00
Benoit Marty
c87716a744 Merge pull request #266 from vector-im/feature/bma/namingRules
Add string key naming rules.
2023-04-05 11:36:04 +02:00
Benoit Marty
601a170ec2 Add a section about placeholders. 2023-04-05 11:35:16 +02:00
Benoit Marty
00adf78eeb Add key naming rules for dialogs. 2023-04-05 11:22:53 +02:00
Benoit Marty
6ff7066897 Add ability to download only English string (for developer). This is default behavior. 2023-04-05 10:58:18 +02:00
Jorge Martin Espinosa
11f041d940 [Room member list] Display room member list (#276)
* Implement room member list

* Move timeline initialization back to `TimelinePresenter`.

* Fix crash when the `innerRoom` inside a `RustMatrixRoom` is destroyed but `syncUpdateFlow` is still running.

* Address review comments
2023-04-04 16:07:57 +00:00
Michael Kaye
fc0373d1e5 Check for team membership, not org membership 2023-04-04 12:57:43 +01:00
Michael Kaye
15d8980214 Fix 2023-04-04 12:48:54 +01:00
Jorge Martín
ebbc4e1569 Add Chris to the team in the Dangerfile, remove some former colleagues 😢 2023-04-03 16:15:13 +02:00
Jorge Martin Espinosa
ecc73dd325 [Room Details] Implement room details screen (#256)
* Implement Room Details screen

* Add option to create permalink from room id and alias, add share room action
2023-03-29 05:16:27 +00:00
Benoit Marty
8ffad2f5a9 Add rules for platform suffixes. 2023-03-28 15:16:03 +02:00
Benoit Marty
aa2ba24e23 Add rule for string keys starting with a11y. 2023-03-28 14:07:22 +02:00
Benoit Marty
9735598f9b Small clarification 2023-03-28 14:05:50 +02:00
Benoit Marty
217f1ea9ba Update documentation about strings. 2023-03-28 14:03:52 +02:00
Benoit Marty
d44040a8f0 Add string key naming rules. 2023-03-28 11:36:23 +02:00
ganfra
aafe90d165 Merge pull request #260 from vector-im/feature/fga/module_templates
Feature/fga/module templates
2023-03-28 10:07:06 +02:00
ganfra
d5bc8923b9 [Templates] changes after review 2023-03-27 17:43:02 +02:00
Benoit Marty
db788183e7 Fix typo 2023-03-27 16:39:15 +02:00
ganfra
019aa0ecca [Templates] Re-export with some fixes 2023-03-27 16:19:21 +02:00
Benoit Marty
bcb7e5a7c4 [Strings] Ignore unused strings 2023-03-27 14:44:24 +02:00
Benoit Marty
992b087303 [Strings] Add script to generate config to download Strings from Localazy. 2023-03-27 14:35:06 +02:00
ganfra
cc476a4f47 [Template] Reexport file templates 2023-03-27 12:56:52 +02:00
ganfra
61eae879d4 Share the template files and update documentation about it. 2023-03-24 17:24:06 +01:00
Jorge Martin Espinosa
93a77d94c1 Try to improve Danger rule for PNGs to ignore screenshots (#234) 2023-03-20 15:09:50 +01:00
Benoit Marty
dcaaecde02 Move localazy.json configuration file to its own folder and add a README.md 2023-03-20 11:25:53 +01:00
Michael Kaye
9df1359f61 Attempt to check public org membership before complaining about signoff. 2023-03-13 14:30:41 +00: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
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
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