Commit Graph

1425 Commits

Author SHA1 Message Date
Florian Renaud
e1dbc8fadf Perform get profile request on matrix ID 2023-05-04 16:27:50 +02:00
Chris Smith
7e6341c4f3 Add Marco to dangerfile (#388) 2023-05-04 12:39:40 +00:00
Chris Smith
54510e13f5 Add debounce/minimum length for add user search (#387)
This functionality was already implemented, it just didn't
have the right parameters configured for the user list
presenter.

Closes #109
2023-05-04 12:30:20 +00:00
Jorge Martin Espinosa
31ac97d17a [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
5c935818c6 Move and refactor MatrixUser (#381)
Move and refactor MatrixUser

Instead of living in matrixui and having an AvatarData, this can
reside in the matrix module and just have the URL. An extension
method in matrixui can then provide the AvatarData when required.

This removes some small duplication, and pushes the UI-specific
information (i.e., what size of avatar is going to be rendered)
further down the stack. It also aligns the field names with those
used by the rust SDK (e.g. "displayName" instead of "userName").
2023-05-03 16:30:19 +00:00
Chris Smith
908bdcf6cd Fix screenshot tests for userlists (#382)
These were recorded before Paparazzi's rendering mode was changed
to SHRINK.
2023-05-03 18:00:08 +02:00
Chris Smith
63168d4656 Search for users to start a new DM. (#376)
Search for users to start a new DM.

Hooks up the create room UI to the matrix client to get
search results. Searches are debounced for 500ms and
only executed when 3 or more characters are entered.

Wrap the result state so we can distinguish between
"no results because we haven't searched yet" and
"no results because the API returned nothing", and
add a "No results found" message in the UI for the
latter case.

Closes #95
2023-05-03 13:26:31 +00:00
Benoit Marty
c196174a95 Merge pull request #377 from vector-im/renovate/major-io.element.android
Update dependency io.element.android:wysiwyg to v2
2023-05-03 14:17:25 +02:00
renovate[bot]
bace2b4245 Update dependency io.element.android:wysiwyg to v2 2023-05-03 06:26:38 +00:00
renovate[bot]
df5ebbd300 Update dependency org.robolectric:robolectric to v4.10.1 (#378)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-03 08:21:43 +02:00
Jorge Martin Espinosa
921fb55220 Group design components in Showkase for the Compound team (#375)
* Screenshot tests changes:

    - Group components for Showkase.
    - Set special Paparazzi config for scrolling screens using non null `Preview.heightDp`.
    - Add merged theme preview with `ElementThemedPreview` component.
2023-05-02 16:13:35 +00:00
Benoit Marty
977c87c141 Merge pull request #370 from vector-im/sync-localazy
Sync Strings
2023-05-02 17:45:50 +02:00
jonnyandrew
d2d01c08df Allow custom push gateway to use non-default port (#374) 2023-05-02 15:04:47 +00:00
Jorge Martin Espinosa
e5a8548ab9 Design fixes for room detail, dm & room member detail screens (#363)
* Design fixes for room detail, dm & room member detail screens.

* Record new screenshots, improve RoomDetailsStateProvider.

* Move MainActionButton to its own component in the design system.
2023-05-02 14:02:51 +00:00
ganfra
56f6ad69a9 Merge pull request #353 from vector-im/feature/fga/some_room_related_fixes
Feature/fga/some room related fixes
2023-05-02 13:20:10 +02:00
ganfra
f256f7b225 Merge pull request #367 from vector-im/feature/fga/update-rust-sdk-0.1.11
Feature/fga/update rust sdk 0.1.11
2023-05-02 13:05:26 +02:00
ganfra
e73d92124e Update tests and avoid useless recomposition 2023-05-02 13:04:00 +02:00
Benoit Marty
8068915b32 Merge pull request #373 from vector-im/feature/bma/upgrade_gradle_build_action
Upgrade gradle/gradle-build-action to v2.4.2
2023-05-02 11:10:10 +02:00
Benoit Marty
fd9910ad45 Merge pull request #371 from vector-im/renovate/android_gradle_plugin
Update android_gradle_plugin to v8.0.1
2023-05-02 10:59:28 +02:00
Benoit Marty
94f6fd293b Merge pull request #359 from vector-im/renovate/org.jlleitschuh.gradle.ktlint-11.x
Update plugin ktlint to v11.3.2
2023-05-02 10:58:49 +02:00
Benoit Marty
6180205efd Merge pull request #372 from vector-im/renovate/major-com.google.firebase
Update dependency com.google.firebase:firebase-bom to v32
2023-05-02 10:58:28 +02:00
Benoit Marty
c7a3362700 Merge pull request #368 from vector-im/renovate/dagger
Update dagger to v2.46
2023-05-02 10:57:26 +02:00
Benoit Marty
43070f7c59 Upgrade gradle/gradle-build-action to v2.4.2 2023-05-02 10:55:05 +02:00
Benoit Marty
f5bdd1248d trigger CI 2023-05-02 10:50:04 +02:00
renovate[bot]
912a1f3d5f Update dependency net.zetetic:android-database-sqlcipher to v4.5.4 (#364)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-02 09:56:20 +02:00
renovate[bot]
7d7137b805 Update dependency org.jsoup:jsoup to v1.16.1 (#369)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-02 08:17:37 +02:00
renovate[bot]
8d649a76e8 Update dependency com.google.firebase:firebase-bom to v32 2023-05-02 01:03:43 +00:00
renovate[bot]
1f519a2bad Update android_gradle_plugin to v8.0.1 2023-05-01 20:29:50 +00:00
bmarty
066ee4f43a Sync Strings from Localazy 2023-05-01 00:09:50 +00:00
renovate[bot]
60c2e163d4 Update dagger to v2.46 2023-04-28 22:29:38 +00:00
ganfra
64755e60c8 Merge pull request #366 from vector-im/renovate/com.squareup-kotlinpoet-1.x
Update dependency com.squareup:kotlinpoet to v1.13.1
2023-04-28 18:40:14 +02:00
ganfra
11db3195e0 Update rust-sdk : make the app compiles again 2023-04-28 18:26:32 +02:00
renovate[bot]
ad1d54716f Update dependency com.squareup:kotlinpoet to v1.13.1 2023-04-28 14:54:19 +00:00
ganfra
ed3f0f1430 Merge branch 'develop' into feature/fga/some_room_related_fixes 2023-04-28 15:58:54 +02:00
ganfra
d7cd8a2915 RoomMembers: change the API again.. 2023-04-28 15:04:33 +02:00
renovate[bot]
a492177473 Update dependency org.matrix.rustcomponents:sdk-android to v0.1.11 2023-04-28 11:05:14 +00:00
Jorge Martin Espinosa
8e451c934e Add PickerLauncher wrapper for media/file pickers. (#361)
* Add `PickerLauncher` wrapper for media/file pickers.

* Add FileProvider path, handle Camera picker and add NoOp implementation to fix tests.

* Move media pickers to their own module.

* Add missing media pickers

* Add feature flag and some extra tests
2023-04-28 10:52:34 +02:00
ganfra
16a43befcc Don't pass RoomMember to Node but a UserId instead 2023-04-27 22:38:52 +02:00
ganfra
884cdb9575 Ignore/Unignore: makes more sense to be at the client level than room 2023-04-27 22:13:25 +02:00
ganfra
ccfe0bb10c RoomDetailsPresenter: fix dm test 2023-04-27 17:34:27 +02:00
ganfra
f4c98aeef5 Merge branch 'develop' into feature/fga/some_room_related_fixes 2023-04-27 17:25:12 +02:00
Jorge Martin Espinosa
e2db1cf7a9 Fix NotificationData?.orDefault using an invalid UserId (#362) 2023-04-27 12:46:32 +02:00
Jorge Martin Espinosa
aef2b38983 [Room Details] Block & unblock user (#340) 2023-04-26 16:14:44 +02:00
renovate[bot]
444086d24b Update plugin ktlint to v11.3.2 2023-04-25 19:36:57 +00:00
ganfra
0d327cd543 Update kotlinc.xml with kotlin 1.8.20 2023-04-25 18:26:18 +02:00
Jorge Martin Espinosa
27824a279a Fix: Maestro tests fail when using settings (#358)
* Fix Maestro tests using 'Settings' to open the settings screen.

* Try to allow manually running Maestro tests.

* Also adjust logout flow.
2023-04-25 18:01:54 +02:00
Kat Gerasimova
dbbc14f683 Update labelled issue automation
Migrate from graphql to actions.

Add QA team
2023-04-25 13:29:27 +01:00
Jorge Martin Espinosa
e2b2dbf59f [Room list] Search & menu improvements (#356)
* Remove settings menu item, start splitting search UI. Also, add `applyIf` and `circularReveal` modifiers.

* Split UI & logic for room list search

* Suppress `composed` warning, improve its debuggability

* Add content description to the user's avatar, fix window insets. Also, remove unused `SearchRoomListTopBar`.
2023-04-25 11:35:36 +00:00
Benoit Marty
4a689267f5 Merge pull request #352 from vector-im/sync-localazy
Sync Strings
2023-04-25 11:47:25 +02:00
ganfra
4b4c8c9e4d Generate new snapshots 2023-04-25 11:37:27 +02:00