2692 Commits

Author SHA1 Message Date
Stefan Ceriu
681daf50ea Stop adding empty groups to the gallery. 2024-12-13 19:31:35 +02:00
Stefan Ceriu
40d820d4f4 Stop passing the whole timeline item to the bubble background modifier. 2024-12-13 19:31:35 +02:00
Mauro
b11fbc6cce
Security and privacy part 1 (#3617)
* added the security and settings button in details

* added content to the view

* added enable encryption alert

* updated preview tests and the UI

* removed wrong plists committed by mistake

* pr suggestions
2024-12-13 18:29:17 +01:00
Stefan Ceriu
e5da7ebd2d Various danger swift rule tweaks
* remove the ticket number check, it's noisy
* remove signoff now that we have cla checks
* fix description image attachments check
2024-12-13 17:43:25 +02:00
Stefan Ceriu
56ffe40e97 Bump the RustSDK to v1.0.80 2024-12-13 12:56:35 +02:00
Valere
40714f32fd feat(posthog): wire support for extra utd error properties 2024-12-13 12:56:35 +02:00
renovate[bot]
92ca7b5f3c Update dependency fastlane to v2.226.0 2024-12-13 09:58:33 +02:00
Stefan Ceriu
256ae4d2cc
Custom media gallery views for files and voice messages (#3610)
* Extract the timeline item background from the BubbledStyler.
* Use different views for files and voices messages, reuse the timeline content but only keep the bubble background instead of the whole TimelineStyler.
* Add back max voice message width and add missing accessibility label
nightly/1.9.10.787
2024-12-12 17:48:41 +02:00
Doug
88b5426e97
Hook up the actions in the media details sheet. (#3607) 2024-12-12 09:22:36 +00:00
Stefan Ceriu
114255c5ec
Media gallery - support for files and voice messages (#3605)
* Move the voice message views to where they belong
* Add separate struct for each media events timeline view
* Add support for all the different media gallery message types and get the files section working
2024-12-12 10:02:10 +02:00
Doug
606eb0a30a Fix a bug where you're shown the remove caption action when it isn't available. 2024-12-12 08:29:15 +02:00
renovate[bot]
5e2ddf6402 Update dependency fastlane to v2.226.0 2024-12-12 08:28:16 +02:00
Mauro
89b9259b76
Design Tweaks (#3606)
* updated the order of the room details

also...
- removed the bloom bg from the join room screen
- now DMs do not necessarily need to be encrypted rooms
- changed bg of the knock banner

* removed unnecessary disabled

* updated join room screen tests
nightly/1.9.10.786
2024-12-11 17:42:33 +00:00
Doug
c827ab9165
Configure the media preview screen based on the event and presentation. (#3604)
* Configure media previews based on the presenting screen.

* Switch on TimelineKind instead of having an isPinnedEventsTimeline Bool.
2024-12-11 15:40:31 +00:00
Mauro
9856e3e5b4
Fix tap knockable room and custom keyboard did show scrolling (#3603)
* making knockable rooms tappable

* added a way to customise the keyboard scrolling

in case we want the focussed view/textview to display something outside its content

* better documentation
2024-12-11 16:09:52 +01:00
renovate[bot]
4931ad0ed3 Update dependency fastlane to v2.226.0 2024-12-11 13:36:53 +02:00
Stefan Ceriu
0b85964f73
Monthly media gallery separators (#3601)
* Fix the order of the items in the media grid.
* Add media gallery timeline separators.
* Change the `SeparatorRoomTimelineItem` to have it expose a Date timestamp instead of a text string.
2024-12-11 13:32:29 +02:00
renovate[bot]
ee2da536af
Update dependency fastlane to v2.226.0 (#3600)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-11 08:58:08 +00:00
Stefan Ceriu
df3e5976ce Bump the RustSDK to v1.0.79; add a feature flag for the new rust side ClientBuilder::useEventCachePersistentStorage nightly/1.9.10.785 2024-12-10 18:19:31 +02:00
Doug
e59a705459
Use TimelineMediaQuickLook in the MediaEventsTimelineScreen. (#3598) 2024-12-10 14:56:51 +02:00
Stefan Ceriu
ea0fa6b3b6
UI test snapshot fixes (#3597) 2024-12-10 10:02:57 +02:00
Doug
b5605a52e3
Update the timeline media QuickLook modifier. (#3593)
Not hooked up to any flows yet.
nightly/1.9.10.784
2024-12-09 15:23:12 +00:00
ElementRobot
7254b6e029
Translations update (#3592)
Co-authored-by: pixlwave <6060466+pixlwave@users.noreply.github.com>
2024-12-09 09:24:29 +00:00
Stefan Ceriu
caaa89af62
Media gallery - part 1(#3588)
* Introduce a `MediaEventsTimelineFlowCoordinator`
* Update SDK API and architecture
* Add a feature flag, add translations
* Move the media events timeline presentation under the room flow coordinator state machine
* Rename `TimelineViewState.timelineViewState` of type `TimelineState` to `timelineState`
* Enabled SwiftLint's `trailing_closure` rule and fix the warnings.
nightly/1.9.10.783
2024-12-06 16:58:14 +02:00
Doug
a9e4837b62
Use a Date for the timestamp in all timeline items. (#3590)
* Use a Date for the timestamp in all timeline items.

* UI test snapshots.

* Update snapshots

---------

Co-authored-by: Stefan Ceriu <stefanc@matrix.org>
2024-12-06 13:55:29 +00:00
Element CI
176a8b880a Prepare next release nightly/1.9.10.782 2024-12-05 08:28:20 -08:00
Doug
40d739f7ed
Use the new SendButton v2 design. (#3589) 1.9.9 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
Doug
ab2152096d
Fix UI snapshots. (#3585)
* Remove old snapshots.

* Add a check for the correct simulator name.

* Record mismatched snapshots.

* Regenerate more snapshots using a (temporary) higher precision.

* Fix snapshot.
nightly/1.9.9.781
2024-12-04 11:59:53 +00:00
fkwp
0085c20c64 increase ringing timeout from 15 seconds to 90 seconds 2024-12-04 10:40:11 +02:00
Doug
4966083b58
Add new development assets and use in mocks/previews. (#3581) nightly/1.9.9.780 2024-12-03 17:14:05 +00:00
Mauro
c566c64c78
added historical message error label string (#3580) 2024-12-03 17:21:02 +01:00
Element CI
7e5624f9c0 Prepare next release 2024-12-03 03:45:37 -08:00
Doug
4187155159
Enable local echoes for media uploads for all builds. (#3579)
* Enable local echoes for media uploads for all builds.

* Update a string.
1.9.8
2024-12-03 11:28:21 +00: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
Mauro
c7afde3801
Knock a room - added a char counter for the message (#3570)
* added a char counter

* moved code
nightly/1.9.8.779
2024-12-02 17:28:50 +01:00
ElementRobot
b8085356fb
Translations update (#3576)
* Translations update

* fix a test

---------

Co-authored-by: pixlwave <6060466+pixlwave@users.noreply.github.com>
Co-authored-by: Mauro Romito <mauro.romito@element.io>
2024-12-02 10:21:08 +00:00
Doug
34f1c61fe2
Add a warning to the media caption composer. (#3574)
We can now remove the feature flag.
nightly/1.9.8.778
2024-11-29 16:23:20 +00:00
Mauro Romito
8d6909982d Move pinned messages button in details 2024-11-29 17:04:15 +01:00
Doug
671e675412 Fix a compile error. nightly/1.9.8.777 2024-11-29 13:11:14 +00:00
Doug
49a94e0bdb
Handle media source validation more gracefully. (#3571)
* Handle media source validation more gracefully.

* Fix unit tests.
nightly/1.9.8.776
2024-11-29 12:42:27 +00:00
Doug
c8627cfd64
Add support for copying a caption. (#3563)
* Add timeline item action for copying a media caption.

* Fix the action colours when long pressing a timeline item.

Nice side effect: Reasonable sized buttons when button shapes are enabled.

* Re-arrange the Timeline Item Menu.

* Add timeline item menu snapshots for media items.
2024-11-29 12:26:59 +00:00
Doug
fdbacbc22d
Add the unit test media files as development assets. (#3569)
Move UnitTests/Resources/Media into a top-level DevelopmentAssets directory.
nightly/1.9.8.775
2024-11-28 17:30:26 +00:00
Doug
4869dcfe97
Wait until the sync has stopped before marking the task as complete. (#3564) 2024-11-28 17:30:07 +00:00
Mauro
d48fb64468
Small Knock adjustments (#3568)
* small adjustments

* autocorrection disabled
2024-11-28 18:02:07 +01:00
Element CI
000073c7a0 Prepare next release 2024-11-28 07:03:12 -08:00
Doug
c598b6325d
Fix a bug on iOS 17 where you couldn't long press on a message. (#3567) 1.9.7 2024-11-28 14:44:34 +00: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.
nightly/1.9.7.774
2024-11-28 08:34:38 +00:00
Doug
e70a95cfa2
Add back missing send button when media captions are disabled. (#3561) nightly/1.9.7.773 2024-11-27 11:35:53 +00:00
Stefan Ceriu
be8c1477c0
Stop delaying ElementCall until the next sync loop and only notify other participants when presumed to already be up to date. (#3559) nightly/1.9.7.772 2024-11-27 09:57:18 +02:00