Commit Graph

551 Commits

Author SHA1 Message Date
ganfra
11db3195e0 Update rust-sdk : make the app compiles again 2023-04-28 18:26:32 +02: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
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
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
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
0ecd95a3f9 Remove extra plural items manually until the issue on Localazy is fixed. 2023-04-24 17:04:20 +02:00
bmarty
cd5e4458a6 Sync Strings from Localazy 2023-04-24 00:09:54 +00:00
Chris Smith
709101ae8e Merge pull request #348 from vector-im/feature/cjs/accept-reject-invites
Accepting and declining invites
2023-04-21 16:06:07 +01:00
renovate[bot]
9f88cb4886 Update kotlin 2023-04-21 16:29:06 +02:00
Chris Smith
ae97a034e5 Accepting and declining invites
Hook up accept and decline buttons in the invites UI. Accept
will attempt to accept and then navigate to the room; decline
shows a confirmation dialog.

Fixes #106
2023-04-21 15:01:27 +01:00
Jorge Martin Espinosa
e651d2f9c5 Fix: improve offline indicator designs (#341)
* Use the right font weight for the offline indicator title.

* Remove unneeded suppression in some build files.
2023-04-19 15:58:56 +02:00
Chris Smith
9a54bc9168 Merge pull request #297 from csmith/102-show-invites-list
Feat: show invites list
2023-04-19 12:40:29 +01:00
Chris Smith
e90211b5d8 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
Jorge Martin Espinosa
e704870e3f Validate several ids in constructors (#336)
* Validate ids in constructors.

* Remove redundant `.value` usage in string interpolation.

* Make a distinction between `SessionId` and `UserId` in `TestData`.
2023-04-18 16:17:13 +00:00
ganfra
f98fe8e52c Merge pull request #334 from vector-im/feature/fga/feature_flag
Feature/fga/feature flag
2023-04-18 15:24:04 +02:00
Benoit Marty
391fe9b158 Merge pull request #333 from vector-im/feature/bma/push5
Small cleanup and add log
2023-04-18 14:05:00 +02:00
Benoit Marty
f45e66b6c0 Merge pull request #330 from vector-im/feature/bma/ktlint
Upgrade of ktlint (not the plugin but the tool itself)
2023-04-18 14:03:59 +02:00
ganfra
82c9ee9982 [FeatureFlag] add more tests 2023-04-18 12:05:29 +02:00
ganfra
e5d70ff48e [BuildMeta] introduce BuildType and remove Network related code from BuildMeta 2023-04-18 11:58:24 +02:00
Benoit Marty
a0f386c708 Use ContributesMultibinding annotation and remove the module for push providers. 2023-04-18 10:12:45 +02:00
ganfra
de0428a419 [FeatureFlag] add some unittest and fix one case! 2023-04-17 20:17:32 +02:00
ganfra
279185b175 FeatureFlag: first implementation 2023-04-17 19:44:29 +02:00
Jorge Martin Espinosa
aa12feb4d4 [Room details] DM designs (#313)
* Implement member details screen

* Add DM-only sections to the room details screen.
2023-04-17 16:41:10 +00:00
Jorge Martin Espinosa
c8fcf9549b Update the Rust SDK to v0.1.9 (#318)
* Update the Rust SDK to v0.1.7.

* Try to have the same setup for the build apk job and maestro.

* Add option to run maestro manually.

* Update to v0.1.9 (0.1.7 and 0.1.8 were broken in x86_64).
2023-04-17 17:43:21 +02:00
Jorge Martin Espinosa
798bedcaed [Room List] Show offline indicator when the device is offline (#239)
* Implement the network status indicator.

* Add `networkmonitor` feature.
2023-04-17 17:01:16 +02:00
Benoit Marty
328a6ba31a Upgrade ktlint to 0.48.2 2023-04-17 15:18:07 +02:00
Benoit Marty
a9fc545bc6 Merge pull request #326 from vector-im/feature/bma/push4
Notification update
2023-04-17 14:13:39 +02:00
Jorge Martin Espinosa
afd58f1634 Update Gradle to 8.1 and AGP to v8.0 (#329)
* Update AGP to 8.0.0.

* Set JAVA_HOME to JDK17

* Update lint version.

* Use right JDK for dependency analysis, replace deprecated env var.

* Upgrade to Gradle 8.1.

* Remove `@Supress(DSL_SCOPE_VIOLATION)` as it's no longer needed.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-17 08:49:52 +00:00
Benoit Marty
ae7137bd1d Fix tests. 2023-04-17 09:51:52 +02:00
Benoit Marty
e8d1490a92 Small quality fixes 2023-04-17 09:42:59 +02:00
Benoit Marty
ebbd1372a9 More cleanup 2023-04-14 18:34:49 +02:00
Benoit Marty
e92fe45e3c Improve rendering of notifications 2023-04-14 18:31:35 +02:00
Benoit Marty
d7cd24b3d0 small cleanup 2023-04-14 18:19:59 +02:00
Benoit Marty
8a91d31c24 Fix issue with pendingintent data. (Simplier to use String that Serializable) 2023-04-14 18:10:55 +02:00
Benoit Marty
5f3d33ca72 Improve temporary message displayed in notifications 2023-04-14 17:52:39 +02:00
Florian Renaud
c2927140a6 Merge pull request #324 from vector-im/feature/fre/create_room
Handle create room action
2023-04-14 17:50:29 +02:00
Benoit Marty
ffed09175d Create NotificationFactory 2023-04-14 17:49:47 +02:00
Benoit Marty
f4e2775d2a Extract channel management to dedicated class 2023-04-14 17:37:49 +02:00
Benoit Marty
4c10c8fdf9 Create PendingIntentFactory 2023-04-14 17:26:01 +02:00
Benoit Marty
0677b10de3 rename package 2023-04-14 17:17:52 +02:00
ganfra
7e25371bf2 Merge branch 'develop' into feature/fga/clean_up 2023-04-14 17:15:40 +02:00
Benoit Marty
a9881341f1 Create getDismissRoomPendingIntent() 2023-04-14 17:14:29 +02:00
Benoit Marty
cb8d206ed4 Extract code which create notification actions into ActionFactory and disable quick reply and mark as read actions. 2023-04-14 17:09:42 +02:00
Florian Renaud
5c74920a33 Add tests on create action 2023-04-14 16:26:14 +02:00
ganfra
a166636060 Add some tests on RoomFlowNode 2023-04-14 15:34:41 +02:00
Florian Renaud
219ac6578f Merge pull request #320 from vector-im/feature/fre/create_room_flow_persist_data
Persist data in create room flow
2023-04-14 15:09:04 +02:00
Florian Renaud
04ad36641d Handle create room action 2023-04-14 14:57:25 +02:00
Benoit Marty
65717364ca Cleanup 2023-04-14 10:32:20 +02:00
Benoit Marty
c84f6ea74f Merge pull request #321 from vector-im/feature/bma/push3
Handle navigation on notification click
2023-04-14 10:08:42 +02:00