Doug
6e51969d27
Update the SDK and use media filename and caption internally. ( #3375 )
...
Doesn't render captions (other than in fallback places).
2024-10-08 11:00:58 +01:00
Stefan Ceriu
794d0eead1
Fixes element-hq/element-meta/issues/2525 - Display a warning when a user's pinned identity changes
2024-10-07 20:47:31 +03:00
Doug
e6f4dd33a0
Add developer option to hide media in the timeline. ( #3366 )
2024-10-03 17:59:39 +01:00
Stefan Ceriu
4f29821306
Workaround for #1786 - Disable auto correction when running on the Mac
2024-10-03 13:49:37 +03:00
Doug
5522871dd9
MockMediaProvider → MediaProviderMock.
2024-10-03 10:58:59 +01:00
Doug
77e4fae2fb
Use the new @Entry macro everywhere.
...
Fix analytics service optionality.
2024-10-03 10:58:59 +01:00
Stefan Ceriu
c79dbe85a0
Bump the RustSDK to v1.0.53: adopt latest record based timeline item APIs ( #3356 )
2024-10-01 18:50:11 +03:00
Mauro
5f4c2890f6
Remove message pinning FF ( #3318 )
2024-09-30 12:32:35 +00:00
Doug
2184081bc5
Make sure the room header takes up as much space as possible (to hide the back button). ( #3335 )
...
* Make sure the room header takes up as much space as possible (to hide the back button).
* Ignore coverage on the developer options screen.
2024-09-26 18:07:50 +01:00
Stefan Ceriu
dc6d7f2985
Integration test improvements ( #3330 )
...
* Send a message from integration tests and check that it doesn't show up in the app logs
* Increase photo library timeout
* Wait for image tapping to process
* Send a message using the rich text editor too
* Wait for the various pickers to finish loading
* Set all logs to `trace` in integration tests
* Close formatting options after sending the second message
* Make sure logs are actually sent to tracing and get redirected to the right file
* Switch from using a custom `trace` log configuration to the lowest level `TracingConfiguration` we support
2024-09-26 10:15:09 +03:00
Doug
c264e9e590
Use the UIColors directly instead of wrapping the SwiftUI Colors. ( #3324 )
2024-09-24 12:24:03 +01:00
Doug
83b0670503
Fix a regression where you can't scroll the timeline on iOS 17 ( #3320 )
...
It was caused by a fix for the same bug on iOS 18 🤦♂️
2024-09-23 19:00:05 +01:00
Doug
4996137006
Fix various flakey tests.
2024-09-23 16:25:49 +01:00
Mauro
efe352c319
Added analytics for message pinning ( #3284 )
2024-09-17 10:02:26 +02:00
Stefan Ceriu
eb60a8d3f4
Fixes #3249 - Converge on the same max height for both text composers.
2024-09-11 13:52:28 +03:00
Doug
cc4942fb78
Require acknowledgement to send to verified users who have unsigned devices or have changed their identity. ( #3215 )
...
* Refactor HeroImage style.
* Add a screen to resolve (crypto-related) timeline item send failures.
* Refactor send failures.
* Update the SDK.
2024-09-10 09:56:11 +01:00
Mauro Romito
1a3378f6d3
tweaks for the RC
2024-09-09 18:01:16 +02:00
Stefan Ceriu
a4166de502
Add support for showing media playback controls on the lock screen
2024-09-09 14:42:32 +03:00
Stefan Ceriu
a5fe629790
Fix message composer presendCallback warnings
2024-09-09 14:42:32 +03:00
Stefan Ceriu
664e87fe87
Switch license to AGPL ( #3237 )
...
* Switch license file to AGPL
* Update file copyright headers
* Update the default project file header
2024-09-06 16:34:30 +03:00
Stefan Ceriu
bf127f441f
Fixes #3217 - Force room title headers to layout on one single line
2024-09-04 09:39:46 +03:00
Stefan Ceriu
062811cac4
Accept current autocorrection/suggestion before sending a message ( #3219 )
...
* Fixes #3216 - Accept current autocorrection/suggestion before sending a message.
* Switch from a temporary textField to `inputDelegate` selection changes
2024-09-02 16:33:40 +03:00
Mauro
993fe8cd36
TimelineKind refactor (#3193 )
2024-08-22 18:33:21 +00:00
Mauro
4eb1ed5d09
Pinned Events Timeline actions and differentiation ( #3182 )
2024-08-22 17:35:44 +02:00
Doug
304070e8cc
Use native video call picture in picture! ( #3190 )
...
* Use native video call picture in picture!
* Handle isSupported, isPossible and web view errors.
* Use new canEnterPip method.
* Hide a room's Call button when already joined to the call.
* Tweak feature flag description.
* PR comments.
2024-08-21 17:48:57 +01:00
Stefan Ceriu
e281a3f242
Introduce a new RoomProxyType and treat rooms differently based on their membership state
2024-08-21 12:24:20 +03:00
Doug
ebf7c00eeb
Navigation support for upcoming Element Call Picture in Picture mode. ( #3174 )
2024-08-16 11:25:36 +01:00
Stefan Ceriu
f89c3e54b4
Automatically try reloading failed images on network changes ( #3170 )
...
* Add the networkMonitor to the NSE and delete the old MockMediaLoader
* Generate a MediaLoaderMock through AutoMockable and use it in the MediaProviderTests
* Implement an ImageProvider mechanism that automatically tries reloading images when connectivity is established again and use it for LoadableImages
* Merge the ImageProvider protocol back into the MediaProvider
* Address PR review comments
* Provide a default sdk client request configuration
* Address tasks not automatically cancelling themselves when views get deallocated
2024-08-15 18:20:19 +03:00
Mauro
0bbdb05220
RoomScreenViewModel refactor part 2 ( #3169 )
2024-08-14 18:03:46 +02:00
Mauro
c71da91d54
PinnedBanner is now managed by the RoomScreenViewModel ( #3163 )
2024-08-14 12:38:10 +02:00
Mauro
1ad361a6e8
RoomScreenViewModel is now TimelineViewModel ( #3157 )
...
Co-authored-by: Stefan Ceriu <stefanc@matrix.org >
2024-08-13 13:36:40 +02:00
Mauro
c62c12397b
Remove links from pinned events banner ( #3153 )
2024-08-12 10:43:30 +02:00
Mauro
b84c436551
Fix for a memory leak ( #3143 )
2024-08-08 19:04:02 +02:00
Mauro
ed7d3b0b13
Navigate to the Pinned events timeline ( #3139 )
2024-08-08 18:29:39 +02:00
Stefan Ceriu
0c47ea7231
Delete more unnecessary logs
2024-08-07 17:53:10 +03:00
Mauro
91a42538ac
Pinned events banner goes backwards ( #3128 )
2024-08-07 14:01:01 +00:00
Doug
3d112a5683
Make sure the whole room header is tappable. ( #3125 )
...
The space between the avatar and the label wasn't.
2024-08-07 09:39:18 +01:00
Doug
e2712f6b0a
Finalise strings/icons for EncryptionAuthenticity. ( #3121 )
2024-08-06 15:03:11 +01:00
Mauro
08347e15a5
Pinned events banner loading state ( #3118 )
2024-08-06 15:46:56 +02:00
Doug
e667be0f43
Add Encryption Authenticity explanations. ( #3116 )
2024-08-06 10:45:46 +01:00
Doug
6a45ffc939
Fix a bug where moving a new line in the composer could move the caret. ( #3114 )
2024-08-05 14:46:40 +01:00
Mauro
ff2c42d53b
Pinned items timeline implementation for the banner ( #3099 )
2024-08-05 14:09:05 +02:00
Valere
a11faeb131
Show Encryption Authenticity warnings on messages in the timeline. ( #3051 )
...
* Initial implementation.
* Add developer option for showing timeline item authenticity.
* Refactor code to use new SendInfo.Status.
---------
Co-authored-by: Doug <douglase@element.io >
2024-08-05 11:15:38 +00:00
Doug
a2ea9c4a06
Refactor TimelineItemSendInfo out of the styler. ( #3100 )
...
* Reorder some properties.
No code changes.
* Refactor TimelineItemSendInfo out of the styler.
* Add (unused) examples of encryption shields.
* Rename file.
2024-07-30 09:43:17 +01:00
Mauro
0da2d4917b
Pin/Unpin Logic ( #3084 )
2024-07-26 20:41:00 +02:00
Mauro
37786b8fad
Hide/Show pin banner based on scroll direction ( #3080 )
2024-07-24 12:15:36 +02:00
Mauro
5cb44ee60c
Pinned Items Banner UI ( #3072 )
2024-07-22 12:57:04 +00:00
Mauro
d437e1f3ed
Pinning items Feature Flag ( #3063 )
2024-07-18 18:28:30 +02:00
Doug
6339fe2bf0
Fix a potential race condition when redacting a message. ( #3061 )
...
* Refactor the timeline item menu action provider.
- Move it into its own struct.
- Use an item, not an ID so it doesn't randomly change.
- Move permissions into the room screen view model.
* Use the stable ID when redacting/editing/forwarding a message.
Just like we do when fetching the item in the actions menu.
2024-07-18 15:14:38 +01:00
Mauro
dbdea337ca
Restore Mentions in plain text mode ( #3018 )
2024-07-09 13:02:46 +02:00