Doug
c56a98033d
Revert "Show room member role changes in the timeline." ( #2573 )
...
Until we can handle filtering Rust side, this causes more issues than its worth.
2024-03-14 11:01:23 +00:00
Doug
1c914c314f
More Moderation tweaks ( #2566 )
...
* Show room member role changes in the timeline.
* Fix a bug in room flow coordinator.
* Tidy up roles and permissions flow.
* Refresh the power levels in the room details screen.
* Automatically update permissions after saving.
* Remove extra button.
* Add a short delay to the roles and permissions screen snapshots.
The permissions rows are now in a loading state initially.
2024-03-13 15:36:38 +00:00
Stefan Ceriu
063b3732b1
Fixes #1837 - Add support for m.call.invite events in the timeline, room list and notifications
2024-03-07 18:23:22 +02:00
Doug
7f3451216d
Update the SDK. ( #2529 )
2024-03-05 16:31:27 +00:00
Doug
fdbaef5aee
Kick/ban room members ( #2501 )
...
* Add a temporary membershipChangePublisher on the timeline.
* Kick/Ban users from a room.
* Unit tests.
* Disable autocorrection on the members list search field.
2024-02-27 13:02:35 +00:00
Doug
730d099a76
Add RoomDetails for use (with RoomMemberDetails) in AvatarHeaderView. ( #2490 )
...
* Add RoomDetails and refactor AvatarHeaderView to use it.
* Remove old displayName property and use RoomDetails in the RoomDetailsScreenViewState
2024-02-21 14:19:05 +00:00
Stefan Ceriu
5cb5862e5e
Bump the RustSDK, adopt new marking/flagging rooms as (un)read API and fix sending read receipts when entering rooms or making the app active again
2024-02-14 12:33:19 +02:00
Stefan Ceriu
f2e9c32e8d
Fixes #2347 , #2348 , #2349 - Add support for typing notifications
2024-02-13 15:27:52 +02:00
Mauro
224e4e4881
Room List Filters implementation ( #2423 )
2024-02-08 16:50:44 +01:00
Stefan Ceriu
e1d1e99ad4
Prevent crashes when computing aspect ratios on zero media width or height
2024-02-08 17:42:55 +02:00
Stefan Ceriu
9915a33964
Fixes #2360 - Add support for manually marking rooms as unread ( #2408 )
...
* Fixes #2360 - Add support for manually marking rooms as unread
* Add analytics for marking rooms as (un)read
* Remove unnecessary analytics abstraction levels
* Fix breaking API changes following SDK bump
* Add changelog
* Handle PR comments
* Fix unit tests
2024-02-05 18:06:50 +02:00
Stefan Ceriu
31ca8ed7f2
Prevent unnecessary backpagination requests from running every time a room is entered
...
- related to #1760 which moved initial timeline item computations to a serial queue
2024-02-02 18:20:14 +02:00
Mauro
e755be4cda
Settings to enable and disable sending public RRs ( #2384 )
2024-01-25 15:47:33 +01:00
Mauro
faeab892a9
Filtered out unwanted state events for DMs ( #2361 )
2024-01-19 18:58:29 +01:00
Mauro
1001b5dc33
Reverting RTE to use SDK markdown when in markdown mode ( #2327 )
2024-01-12 11:58:36 +00:00
Stefan Ceriu
b5be6639d1
Fix various small warnings
2024-01-08 12:04:29 +02:00
Stefan Ceriu
2a33ee1f63
Make timeline reactions and reaction senders identifiable
2024-01-08 12:04:29 +02:00
Stefan Ceriu
a96057009e
Introduce more logging around message sending to help debug missing sent messages ( #2285 )
2023-12-22 14:35:09 +02:00
Nicolas Mauri
8dd66d3f48
Fix a crash that can occur when updating timeline items in a background thread ( #2268 )
2023-12-19 15:05:21 +00:00
Mauro
09fb5461e6
Removing dead code part 3 ( #2264 )
2023-12-19 12:12:16 +01:00
Mauro
0f13f186e4
Bump SDK ( #2261 )
2023-12-18 16:50:33 +00:00
Nicolas Mauri
72a84badcb
Polls history ( #2244 )
2023-12-18 15:38:39 +00:00
Mauro
123164f398
Removing dead code part 2 ( #2235 )
...
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com >
2023-12-15 20:16:16 +01:00
Mauro
2f88d39789
Send html in plain text mode ( #2246 )
2023-12-15 10:04:51 +01:00
Mauro
d99d26fcdc
Removing Dead Code part 1 ( #2234 )
2023-12-13 09:51:57 +01:00
Stefan Ceriu
8189b0a471
Fixes #2147 - Scroll the timeline to the bottom when sending message as well as media, polls and locations.
2023-12-04 17:32:26 +02:00
Alfonso Grillo
e7494164b2
Add TimelineProxy (update sdk to 0.0.7-november23) ( #2178 )
...
* Refactor RoomProxy
* Refactor paginateBackwards
* Refactor sendReadReceipt
* Refactor messageEventContent APIs
* Refactor sendMessage
* Refactor toggleReaction
* Refactor send attachments
* Refactor sendLocation
* Refactor cancel/retry send
* ⚠️ Fix encryption build errors
* Refactor editMessage
* Refactor retryDecryption
* Refactor fetchDetails
* Refactor polls APIs
* Refactor fetchMembers
* Refactor RoomTimelineProviderProtocol
* Update sdk to 0.0.7-november23
* Fix UTs
* Fix comment
* Delete old workaround
* Move TimelineProxyError
* Delete queue warnings
* Fix key listener
* Add pollHistory timeline property
* Refactor room/timeline subscriptions
* Delete unused code
2023-11-28 19:01:35 +00:00
Alfonso Grillo
058429b637
Update rust sdk to 0.0.6-november23 ( #2159 )
...
* Update rust sdk to 0.0.6-november23
* Delete unused property
2023-11-23 16:26:44 +00:00
Alfonso Grillo
e583f52c65
Edit poll UX ( #2151 )
...
* Add edit poll on room proxy
* Add CreatePollMode
* Add “edit poll” presentation flow
* Add delete poll section
* Inject editing poll
* Add submit action
* Refactor validation logic
* Add edit/delete actions
* Fix bubble timestamp for polls
* Update localisations
* Refactor CreatePoll -> PollForm
* Refactor tests
* Update rust sdk to 0.0.5-november23
* Update confirmation alerts
* Add edit support in TimelineItem menu
* Refactor a11y id
* Cleanup
* Fix failing tests
* Add tests
* Refine isEditable workaround
* Refactor timestamp in TimelineItemBubbledStylerView
2023-11-23 11:19:15 +00:00
Alfonso Grillo
9f1092b0b6
Reply to a poll ( #2087 )
...
* Refactor TimelineItemReplyDetails for polls
* Fix reply for polls
* Update reply details factory
* Revert Poll Hashable conformance
* PR comments
2023-11-15 15:57:34 +00:00
Doug
2c1e61a1bc
Add SwiftLint rule to enforce stack spacing. ( #2080 )
...
Xcode 15 changes the default behaviour and given we're always working from designs, we shouldn't rely on it for our layout.
2023-11-14 12:38:38 +00:00
Doug
37d88e622c
Add UI tests for AppLockFlowCoordinator. ( #2055 )
...
* Add UITests for the App Lock flow.
* Add Notification Signal
Fix unwanted imports in UITests.
2023-11-10 15:38:54 +00:00
Stefan Ceriu
019ca625ab
Group together voice message and poll actions ( #2054 )
...
* Group together voice message and poll actions
* Extract nested switches into separate methods
2023-11-09 19:16:42 +02:00
Stefan Ceriu
abe2080ee2
Extract room screen action handling into separate component ( #2045 )
...
* Extract room screen action handling into separate component
* Fix tracing configuration unit tests
* Move the custom reactionsCollapsedBinding to the TimelineReactionsView
* Move voice message playback handling from the timelineController to the room view model
* Reorder methods
* Remove the need for a media player provider in the timeline controller
* Move room attachments opening to the view model, remove the need for a media provider in the timeline controller
* Rename RoomScreenActionsHandler -> RoomScreenInteractionHandler
* Move message sending retry and cancellation to the timeline controller.
* Move audio playback, attachment loading and user tapping handling into the InteractionHandler
* Fix unit tests
* Switch back swiftlint file_length rule error to 1000 lines
2023-11-08 18:31:39 +02:00
Alfonso Grillo
530985e674
Add deferred spinner for voice messages ( #2018 )
...
* Add delayedLoaderPlaybackState
* Add more tests
* Fix Xcode 14 build error
* Refactor delayedLoaderPlaybackState -> playerButtonPlaybackState
* Fix runtime issue
2023-11-03 10:39:22 +00:00
Alfonso Grillo
4af8ef2a5f
Voice message UI polish (part 2) ( #1995 )
...
* Update compund
* Fix create poll screen bin button style
* Fix timeline menu description for voice messages
* Fix bin button in ComposerToolbar
* Add VoiceMessageButtonStyle
* Update compound & fix breaking changes
* Fix voice message bin size
* Refactor VoiceMessageRecordingButton
* Fix preview tests
2023-11-01 10:03:35 +01:00
Nicolas Mauri
4f0ed94eaa
Fix the delay when switching between voice messages ( #1985 )
2023-10-30 19:44:59 +00:00
Alfonso Grillo
7ba2e4f9f5
Set voice messages max width ( #1980 )
2023-10-30 12:09:10 +01:00
Alfonso Grillo
5439b650a0
Remove forward action for polls ( #1973 )
2023-10-27 20:35:18 +00:00
Nicolas Mauri
a32a7c8f2c
Fix: Keep the progress indicator visible after pausing or scrubbing a voice message. ( #1969 )
2023-10-27 15:24:22 +00:00
Mauro
0b31446817
Resizable Composer With Completion Suggestion View ( #1971 )
...
* resizable composer with suggestions view
* FF cleanup
* removing the view when the vertical size is compact
* merge conflict fix
* done
* solving a conflict
* Update ElementX/Sources/Screens/ComposerToolbar/View/CompletionSuggestionView.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com >
* pr suggestion
---------
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com >
2023-10-27 13:54:30 +00:00
Alfonso Grillo
acfc564490
Remove feature flag for voice messages ( #1964 )
...
* Delete voice messages feature flag
* Fix preview tests
* Update snapshots
2023-10-27 13:45:15 +02:00
Alfonso Grillo
adfe855b99
Refactor voice messages touch interaction ( #1970 )
...
* Remove enable/disable long press actions
* Working poc
* Refactor interaction in VoiceMessageRoomPlaybackView
* Cleanup DateFormatter
* Fix VoiceMessagePreviewComposer
* Cleanup
* Delete WaveformViewDragState
* Refactor WaveformCursorView
* Cleanup
* Add WaveformInteractionModifier
* Add selection hapitc feedback
* Fix ComposerToolbar ZStack alignment
* Refine cursor size
* Remove haptic feedback
* Fix preview test
* Delete longPressDisabledItemID
* Remove progress animation
* Project file
2023-10-27 10:08:30 +00:00
Nicolas Mauri
8a5986f9b0
Fix: Always detach voice message audio player state before playing another one ( #1965 )
2023-10-26 14:12:21 +02:00
Alfonso Grillo
a1bbc7ecce
Voice messages UI polish ( #1959 )
...
* Add VoiceMessageButton
* Add VoiceMessageRecordBadge
* Make composer transition faster
* Use VoiceMessageButton
* Adjust recording badge
* Update localisation key
* Remove animation in VoiceMessageButton
* Fix preview tests
* Cleanup
* Update preview tests
2023-10-26 09:05:42 +00:00
Nicolas Mauri
30b18031a0
Add a progress indicator to voice message preview ( #1956 )
2023-10-25 10:27:00 +00:00
Nicolas Mauri
f9ad44f96a
Fix playback and recording of voice messages ( #1948 )
2023-10-24 16:49:42 +00:00
Stefan Ceriu
37f1a79a11
Key backup returns ( #1951 )
...
* Converge on UserSessionFlowCoordinator logout confirmation
* Add logout confirmation screen strings to untranslated.
* Fix chat backup learn more URl fragment.
* Implement logout flows that check recovery and key backup for the last session
* Move logout confirmation screen strings to localazy
* Change encrypted timeline item copy to "Waiting for decryption key"
* Use different encrypted history banner based on key backup states
* Introduce a SettingsFlowCoordinator and implement navigation directly to the secure backup screen from the logout flows.
* Fix **mocked** secure backup controller flows
* Simplify encrypted history banner logic
* Address PR comments
2023-10-24 18:38:41 +03:00
Nicolas Mauri
2f57fbc77d
Allow to record a voice message ( #1926 )
2023-10-23 15:47:36 +00:00
Alfonso Grillo
30e6d823c5
Fix EstimatedWaveform amplitudes ( #1939 )
...
* Fix range
* Add data range & cleanup
* Fix preview tests
2023-10-23 14:42:56 +00:00