544 Commits

Author SHA1 Message Date
Mauro
e3ad925285
Security and privacy part 2 (#3637)
* handling the history visibility flag

* better logic to handle visibility

* better handling of the visibility options state

* added some copies, and the public room directory

visibility state

* completed the UI

added also the preview tests

* improved the handling of the directory visibility

* added the space users case

and improved handling of the access -> vsibility reaction. Also added a simple error handling for the public directory toggle

* added the edit room address view

but is missing its full implementation

* implement the UI for the edit room address screen

* implemented error checking

when editing the address

* updated preview tests and improved code

* typo fix

* Fix various issues after rebasing.

* Fix build errors and broken snapshot tests

* Adopt latest room privacy and canonical alias setting APIs

* Add support for creating and editing the room's alias.

* Add support for saving room privacy setting changes.

* Fix room alias screen snapshot tests following recent changes.

---------

Co-authored-by: Stefan Ceriu <stefanc@matrix.org>
2025-01-15 11:50:08 +02:00
Stefan Ceriu
ab334e90af Bump the SDK to v25.01.10-2, fix breaking API changes around sending media and mentions 2025-01-10 19:09:52 +02:00
Stefan Ceriu
9a00b983c3 Bump the RustSDK to version 24.12.20 2024-12-20 16:22:03 +02:00
Element CI
98c57b60d3 Prepare next release 2024-12-19 06:59:50 -08:00
Doug
3aa7edc508
Enable the media browser feature 🖼️ (#3642)
* Overlay a progress indicator for downloads instead of using a toast indicator.

* Update the SDK.

* Remove the feature flag for the media browser.

* Remove the media captions feature flag too.

* Add unit test cases for download failure and swiping between items.

* Snapshots (with the media browser visible in the screen).
2024-12-19 14:15:31 +00:00
Doug
2a865ce5bf
Implement the save action when previewing media. (#3630)
* Implement the save action on the media preview.

* Update Compound and use the correct icon.

Also fixes an icon that has been renamed.

* Update the add to photo library usage description to match the designs.

* PR comments.
2024-12-17 16:35:51 +00:00
Mauro
2b82b94500
updated sdk to 1.0.82 (#3631) 2024-12-17 14:42:24 +01:00
Mauro
1496d477a4
updated details design (#3626) 2024-12-17 11:50:01 +00:00
Mauro
45a630dd85
Implement Knock Logic (#3573)
* WIP RequestToJoin struct

* implemented the logic to display the cells

* knock request banner accept flow

* mark all knocks as seen implemented

* details logic

* implemented accept, decline and ban in the list

* added a loader and modified the stacked view

of the banner

* pr suggestions

* updated naming and loading strings

* added the initial loading state

improved code and the tests

* updated a string that has changed

* code improvement

* tests for the room screen view model

* room details tests

and improved the knock requests tests for the room screen

* knock requests list tests

* added error state alerts with retry

* struct has been renamed on the sdk

so I renamed it also on the app side

* update SDK
2024-12-16 15:32:45 +01:00
Stefan Ceriu
56ffe40e97 Bump the RustSDK to v1.0.80 2024-12-13 12:56:35 +02:00
Stefan Ceriu
df3e5976ce Bump the RustSDK to v1.0.79; add a feature flag for the new rust side ClientBuilder::useEventCachePersistentStorage 2024-12-10 18:19:31 +02:00
Element CI
176a8b880a Prepare next release 2024-12-05 08:28:20 -08:00
Doug
40d739f7ed
Use the new SendButton v2 design. (#3589) 2024-12-05 16:08:15 +00:00
Mauro
7cf88a16bd
Update sdk to 1.0.78 (#3586)
* updated sdk

* added cases

* correct error tracking

* right error label
2024-12-05 10:55:49 +01:00
Element CI
7e5624f9c0 Prepare next release 2024-12-03 03:45:37 -08:00
Mauro
4372048c61
Update SDK 1.0.77 (#3578)
* update SDK

* added new cause case

* added historical message
2024-12-03 12:18:16 +01:00
Element CI
000073c7a0 Prepare next release 2024-11-28 07:03:12 -08:00
Doug
751be7b3a7
Update the SDK. (#3565)
* Update the SDK.

* Add mockMXC URLs to fix all the crashes during tests.

* Refactor Voice Messages to not use a MediaSource for local files.
2024-11-28 08:34:38 +00:00
Stefan Ceriu
ed4063a222 Bump the RustSDK to v1.0.75 2024-11-27 08:28:28 +02:00
Doug
03aaf849ee
Update how file captions are rendered (#3554)
* Update the File/Audio captions layout to match Figma.

* Fix caption sizing issues.

The send info label was being added incorrectly.

* Update icon size and regenerate snapshots.

* Fix a regression in the location timeline item layout.
2024-11-26 10:36:46 +00:00
Mauro
26e07f2457
Knock Requests banner display logic (#3550)
* added the join rule to the info

* update SDK and added logic to display the banner

in the room screen

* added the logic to display the banner
2024-11-25 13:14:02 +01:00
Doug
3a9f54a9f6
Update the SDK. (#3545) 2024-11-21 13:28:04 +00:00
Stefan Ceriu
acd670ab56 Link the MatrixRustSDK dynamically and only embed it in the main target 2024-11-20 16:11:54 +02:00
Stefan Ceriu
5eb42eb8ed Fix UI tests, update compound to roll back snapshot testing and avoid the requirement for Swift Testing. 2024-11-20 12:51:27 +02:00
Mauro
bce3b3a385
using roomPreview API for invited rooms (#3530)
* using roomPreview for invited rooms

* Update ElementX/Sources/Services/Room/RoomInfoProxy.swift

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>

* improved code

* fix, but requires a SDK PR

* update sdk

* package resolved

* fixed the tests

---------

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2024-11-19 19:23:06 +00:00
Element CI
352bb577ad Prepare next release 2024-11-19 08:19:20 -08:00
Doug
1901749c17
Update the SDK. (#3535) 2024-11-19 15:58:29 +00:00
Mauro
18cbbe4d4a
Update compound iOS (#3532)
* update

* removed functions that have been migrated in

compound
2024-11-18 18:40:27 +00:00
Doug
c91a9bd9c9
Update the SDK. (#3524) 2024-11-18 11:36:37 +00:00
Doug
c888a5b4aa
Update compound (#3519)
* Update compound

textPlaceholder is now textSecondary.

* Update compound again with support for button shapes on the plain button style.
2024-11-15 13:42:53 +00:00
Stefan Ceriu
79473ef2e9
Bump the RustSDK to v1.0.67 (#3512)
* Bump the RustSDK to v1.0.67

* PR comments

---------

Co-authored-by: Doug <douglase@element.io>
2024-11-13 18:03:30 +00:00
Stefan Ceriu
b122b02bee
Share extension (#3506)
* Setup simple share extension

* Switch the app url scheme to be the full bundle identifier

* Setup a share extension that show a SwiftUI view, uses rust tracing and redirects to the hosting aplication

* Move media as json through the custom scheme into the main app and deep link into the media upload preview screen

* Fix message forwarding and global search screen room summary provider filtering.

* Tweak the message forwarding and global search screen designs.

* Add a room selection screen to use after receiving a share request from the share extension

* Fix share extension entitlements

* Share the temporary directory between the main app and the extensions; rename the caches one.

* Remove the no longer needed notification avatar flipping fix.

* Extract the placeholder avatar image generator from the NSE

* Nest `AvatarSize` within the new `Avatars` enum

* Donate an `INSendMessageIntent` to the system every time we send a message so they appear as share suggestions

* Support suggestions in the share extension itself

* Improve sharing animations and fix presentation when room already on the stack

* Clear all routes when sharing without a preselected room.

* Fix broken unit tests

* Various initial tweaks following code review.

* Correctly clean up and dismiss the share extension for all paths.

* Move the share extension path to a constants enum

* Rename UserSessionFlowCoordinator specific share extension states and events

* Add UserSession and Room flow coordinator share route tests

* Tweak the share extension logic.
2024-11-13 14:02:47 +02:00
Element CI
096bdbb151 Prepare next release 2024-11-11 04:02:37 -08:00
Mauro
e7d4ea0d35
Add alias to public room creation (#3450)
* added the address section

* updated code and strings

* syncing name and address

* improved code

* added a way to reset the state

* better documentation

* update strings

* handling the alias

* alias error state

* update strings

* error handling

* improved the error handling

* new preview tests, even if they do not work well

* improved tests

* unit tests

* pr comments and using the correct value

* fix

* pr comments

* to improve safety and control of the FF

* fixed a test

* updated tests

* update SDK
2024-11-08 15:49:20 +01:00
Doug
c567901ec5
Update compound. (#3498) 2024-11-08 12:18:37 +00:00
Element CI
4f8565c3b4 Prepare next release 2024-11-07 07:29:17 -08:00
Mauro
a5cef53128
Update SDK 1.0.65 (#3494)
* update SDK

* use send queue should be false
2024-11-07 14:40:34 +00:00
Mauro Romito
171fc2cdc5 update sdk 2024-11-06 18:24:06 +01:00
Mauro Romito
c34e3e8d94 update sdk 2024-11-04 12:25:41 +01:00
Doug
1f90f1a9f1
Enable the Optimised Media Uploads feature. (#3467)
* Enable the Optimised Media Uploads feature.

(Well move the toggle from Developer Options to Advanced Settings)

* Add OptimizeMediaUploads analytics.

* Final strings.

* Upload reduced quality media by default 😢

Move the setting out of the feature flags section in the file.

* Fix unit tests now the default has changed.

* Pull in updated string, fix snapshots.
2024-10-31 14:14:14 +00:00
Doug
076ef3e914 Reapply "min macos support" (#3458)
Fixing the version in ASC didn't seem to help, maybe it needs both?
2024-10-29 13:58:30 +00:00
Stefan Ceriu
d77bb935b7
Incoming session verification support (#3428)
* Fixes #1227 - Add support for receiving and interacting with incoming session verification requests.
* Fix a couple of random small warnings
* Move static view config to the view state
* Update snapshots
2024-10-29 15:21:17 +02:00
Doug
ed8aed65c7
Revert "min macos support" (#3458)
This reverts commit 35cbc84a99f3a7d78877504ff64267c7cfa459c7.
2024-10-28 12:12:30 +00:00
Mauro Romito
35cbc84a99 min macos support 2024-10-25 10:50:57 +02:00
Mauro
7d373c07a3
remove iOS 16 support (#3443)
* remove iOS 16 support

* remove iOS 16 support

* test updates

* added more delay

* revert

* adding waiting time on the CI
2024-10-24 17:21:28 +02:00
Element CI
926924912f Prepare next release 2024-10-24 05:53:23 -07:00
Doug
cb4d68a756
Fix a bug where the room state wouldn't indicate when a call was in progress. (#3442)
* Fix breaking changes on decryption errors and sending failures.

* Update SDK and analytics events.

* Add extra UTD strings.

---------

Co-authored-by: Stefan Ceriu <stefan.ceriu@gmail.com>
2024-10-24 12:54:52 +01:00
Mauro
f26159a295
update compound, and updated tests (#3440) 2024-10-23 16:29:41 +00:00
Element CI
01886bb4d8 Prepare next release 2024-10-23 02:48:58 -07:00
Stefan Ceriu
8f9f8cbed0 Adopt the changes introduced in matrix-org/matrix-rust-sdk/pull/4159 2024-10-23 12:15:05 +03:00