2681 Commits

Author SHA1 Message Date
Doug
7e1476d973
Add support for adding/editing/removing media captions. (#3547)
* Add support for editing media captions.

* Add composer snapshots.

* PR comment.
2024-11-21 18:18:27 +00:00
Doug
c081e538b4
Add support for sharing URLs and text. (#3546)
* Add support for sharing URLs and text.

* Fix a bug where a stored draft would overwrite the shared text.

* Add tests.
2024-11-21 14:48:38 +00:00
Doug
3a9f54a9f6
Update the SDK. (#3545) 2024-11-21 13:28:04 +00:00
Doug
19ed65bbd5 Fix the media upload preview screen on macOS. nightly/1.9.7.766 2024-11-20 21:22:21 +02:00
Stefan Ceriu
1c62792813 Enable inline replies for push notifications. 2024-11-20 18:42:36 +02:00
Stefan Ceriu
b2137ad01d
Handle NSItemProvider public.image data types. (#3541) 2024-11-20 16:12:27 +02: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
Stefan Ceriu
51227fffe3
Show both defaults and frequent emojis in the timeline item menu, make the list scrollable (#3534) nightly/1.9.7.765 2024-11-19 21:53:57 +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
Doug
b75ad6a5aa
Support adding a caption to media uploads. (#3531)
* Add a composer to the MediaUploadPreviewScreen.

And send it's content to the media upload's caption.

* Use the new compound SendButton (updating relative padding in the toolbar).

* Update snapshots.

* Add unit tests for sending a caption.
2024-11-19 16:35:01 +00:00
Element CI
352bb577ad Prepare next release 2024-11-19 08:19:20 -08:00
Doug
1901749c17
Update the SDK. (#3535) 1.9.6 2024-11-19 15:58:29 +00:00
Stefan Ceriu
6b6420a229 Expose the public search feature flag in the developer settings and disable it by default. nightly/1.9.6.764 2024-11-18 21:08:03 +02:00
Mauro
18cbbe4d4a
Update compound iOS (#3532)
* update

* removed functions that have been migrated in

compound
2024-11-18 18:40:27 +00:00
Stefan Ceriu
dc0563764d Fix image animations / remove fading when switching between local and remote echoes. 2024-11-18 14:50:35 +02:00
Doug
bef1eda533
Fix a bug where the security banner has the wrong state when out of sync. (#3511) 2024-11-18 11:38:20 +00:00
Doug
c91a9bd9c9
Update the SDK. (#3524) 2024-11-18 11:36:37 +00:00
ElementRobot
9157bf267e
Translations update (#3523) 2024-11-18 10:59:17 +00:00
Stefan Ceriu
9697d59710 Fixes #1918 - Revert 1a12c729de521d2dcb664bed6b19a75ec139bede as #617 is no longer reproducible on iOS 18. nightly/1.9.6.763 2024-11-15 17:37:50 +02: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
ef288a9662
Group image and video metadata in specialised structs (#3518) nightly/1.9.6.762 2024-11-15 15:00:27 +02:00
Stefan Ceriu
4ea276dc99 Fix share extension app group so it works for nightlies too 2024-11-15 14:59:56 +02:00
Mauro
e17a4d5275
Knocking Request Cell (#3516)
* knocking request cell

* moved media provider
2024-11-15 13:42:30 +01:00
Stefan Ceriu
7e192b7571
Enable local echoes for media uploads on development builds. (#3514)
* Enable local echoes for media uploads on development builds.
* Use media sizes when loading timeline items so they can take advantage of the cached local echo data.
nightly/1.9.6.761
2024-11-14 18:33:37 +02:00
Stefan Ceriu
5aadf4e65b
UI test fixes (#3515)
* More UI test fixes

* Update all UITest snapshots.

* Wait for reset waiting indicator to be removed before snapshotting the encryption reset screen
2024-11-14 16:44:36 +02:00
Mauro
2cb7faca88
Fix Rooms that user has knocked not displaying the request sent screen (#3513)
* fix knocked state

* pr suggestion

* code improvement
2024-11-14 13:43:40 +01:00
Stefan Ceriu
9746da78a2 Fix UI tests following Xcode 16.1 migration nightly/1.9.6.760 nightly/1.9.6.759 2024-11-14 08:16:23 +02: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>
nightly/1.9.6.756
2024-11-13 18:03:30 +00:00
Mauro
03cb50e6e3
Knock requests banner (#3510)
* need to add strings

* preview tests

* code improvements

* fixed an error
2024-11-13 15:14:18 +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
Stefan Ceriu
3a600a94d5 Fix #1947 - Check expected files are still present before restoring a session. nightly/1.9.6.755 2024-11-12 15:50:51 +02:00
Mauro
f7aeb3ee95
Stacked Avatars View (#3504)
* stacked avatars

* fix tests

* remove comment
2024-11-12 13:00:51 +00:00
Doug
2b153306dd
Update the project to use Xcode 16.1 (#3505) 2024-11-12 12:24:08 +00:00
Doug
77ade52718
Update the strings for unsupported calls. (#3502) nightly/1.9.6.754 2024-11-11 17:45:06 +00:00
Doug
a0c99e88ce
Regenerate thumbnails to see if it helps with phantom avatar switching. (#3503) 2024-11-11 16:48:19 +00:00
Element CI
096bdbb151 Prepare next release 2024-11-11 04:02:37 -08:00
Doug
468afd8e87
Make stopSync more aware of background usage. (#3501) 1.9.5 2024-11-11 10:32:58 +00:00
Stefan Ceriu
b9409e5310 Tweak the session verification icons and copy. 2024-11-11 12:15:00 +02:00
Velin92
814eff28dd Translations update 2024-11-11 10:57:18 +01:00
Mauro
c9aeebca2d
Fix for creating a knocking room (#3499)
* fix for join rule override in knocking rooms.

* improved some copies
nightly/1.9.5.753
2024-11-08 16:55:32 +00: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
Stefan Ceriu
c42ef40aa4 #3372 - Stop setting up CallKit sessions when joining calls
- comes following the discussions on https://developer.apple.com/forums//thread/767949?answerId=812951022#812951022
- this removes the lock screen controls entirely and lets the rest of the app behave normally
2024-11-08 10:37:05 +02:00
Doug
4e880f1924
Fix incorrect analytics mapping for UTDs. (#3497)
* Fix incorrect analytics mapping for UTDs.

* Upgrade GitHub workflows to use macOS 15.
2024-11-08 08:36:15 +00:00
Element CI
4f8565c3b4 Prepare next release nightly/1.9.5.752 2024-11-07 07:29:17 -08:00
Mauro
a5cef53128
Update SDK 1.0.65 (#3494)
* update SDK

* use send queue should be false
1.9.4
2024-11-07 14:40:34 +00:00
Stefan Ceriu
e4f346cbc7 Fix useSessionScreen test snapshots. 2024-11-07 11:36:44 +02:00
Stefan Ceriu
1347992cbc Fix ElementCall UI test 2024-11-07 11:36:44 +02:00
Stefan Ceriu
5ead649489 Fastlane fails resetting the right simulator, use device instead of destination. 2024-11-07 11:36:44 +02:00