Commit graph

1076 commits

Author SHA1 Message Date
Gil Eluard
8ba6c55a87 Merge branch 'develop' into spaces
# Conflicts:
#	Riot/Modules/Common/Avatar/AvatarViewDataProtocol.swift
#	Riot/Modules/Common/Recents/RecentsViewController.m
#	Riot/Modules/Home/Views/RoomCollectionViewCell.m
#	Riot/Modules/TabBar/TabBarCoordinator.swift
2021-09-15 14:42:04 +02:00
Stefan Ceriu
d4c7a2b0d1 Revert "Revert "#4693 - Drop iOS 11 support."" 2021-09-14 11:41:36 +03:00
Doug
721e5daa23 Override hasLink in RoomBubbleCellData to only check the last component. 2021-09-13 17:47:52 +01:00
Doug
2b11d4d325 Ensure the last bubble component has a link before loading the URL preview. 2021-09-13 16:49:34 +01:00
SBiOSoftWhare
353cb425b2 Merge branch 'develop' into steve/4734_nav_room_stack
# Conflicts:
#	Riot/Modules/Room/RoomViewController.m
2021-09-09 16:45:35 +02:00
Doug
26567464e4 Revert height computation for now. 2021-09-08 15:59:30 +01:00
Doug
24afc7af6c Update for PR feedback.
URLPreviewManager becomes URLPreviewService.
addVerticalWhitespaceToString used instead of heightForCellData multiple times.
All newline characters removed.
2021-09-08 15:10:13 +01:00
Doug
ea14ed9616 Add more docs and comments.
Rename store.store(_:) to store.cache(_:).
2021-09-08 09:51:47 +01:00
Doug
1c7cef52a0 Merge branch 'develop' into doug/888_add_url_previews 2021-09-07 17:51:31 +01:00
SBiOSoftWhare
6abab61531 RoomVC: Add a delegate, factorize and reduce usage of AppDelegate. 2021-09-07 17:43:49 +02:00
Doug
4ad041622c Remove "Loading preview..." label. 2021-09-07 16:12:12 +01:00
Doug
1c7adf0922 Fix unsatisfiable constraints messages. 2021-09-07 14:49:51 +01:00
Doug
7448ca1002 Observe URL preview update notification in RoomViewController.
Update bubbleTableView's content offset when a preview above the bottom most visible cell changes the height of the table's content.
2021-09-07 14:49:51 +01:00
Doug
e8bc470bd2 Add MediaCompressionHelper.defaultCompressionMode for use in RoomViewController. 2021-09-07 14:46:02 +01:00
Doug
46b79bec45 Add comments. 2021-09-06 18:15:55 +01:00
Doug
a300cab626 Merge branch 'develop' into doug/4479_media_size_selection
# Conflicts:
#	Riot/Managers/Settings/RiotSettings.swift
2021-09-06 17:04:22 +01:00
Stefan Ceriu
f2dd0e256b Revert "#4693 - Drop iOS 11 support."
This reverts commit a2b359f219.
2021-09-06 18:24:26 +03:00
Doug
55df9303de Fix potentially redundant table reloading. 2021-09-03 18:18:36 +01:00
Doug
434657ea6b Fix reactions beneath URL previews. 2021-09-03 12:07:29 +01:00
Doug
7db81ccf2a Break-up cell data after a link even if the new event isn't a message. 2021-09-03 11:52:57 +01:00
Doug
80f8cc6dac Hide the loading state on error. 2021-09-03 11:32:09 +01:00
Doug
be83d8e2f6 Fix edits to previewable links not working. 2021-09-03 11:21:07 +01:00
Doug
2e04123337 Add setting to disable URL previews.
Using a temporary position in the settings screen whilst waiting for feedback.
2021-09-03 10:19:26 +01:00
Doug
6a5b12ab8b Ensure correct font is used. 2021-09-02 18:08:35 +01:00
Doug
4924110f8e Merge remote-tracking branch 'origin/develop' into doug/888_add_url_previews 2021-09-02 17:39:42 +01:00
Doug
1831b61b12 Show an activity indicator until the preview has loaded. 2021-09-02 17:37:48 +01:00
Doug
9fb13b7c5a Update layout for text only previews. 2021-09-02 12:41:55 +01:00
Doug
042eb8e2ba Use stack views for layout. 2021-09-02 11:38:16 +01:00
David Langley
55c515fe4a Merge branch 'develop' of https://github.com/vector-im/element-ios into langleyd/4776_extract_swiftui 2021-09-02 10:14:11 +01:00
David Langley
43ad395e8d move full module and reorganize folders 2021-09-02 10:00:59 +01:00
Gil Eluard
be960960db [Spaces] M10.8 Browsing users in a space #4682
- Update after design review
2021-09-02 11:24:07 +03:00
Stefan Ceriu
c5e53d178e Moved converted voice messages to their own folder. Cleaning up all temporary files on reload and logout. 2021-09-01 17:08:07 +03:00
Stefan Ceriu
a786cbb90a #4693 - Drop iOS 11 support. 2021-09-01 15:55:41 +03:00
David Langley
790301ccb6 Finish extraction
- Moves SwiftUI code out of Riot and into RiotSwiftUI which has no dependency on Matrix SDK.
- Git wasn't smart enough to see the file moves. Most feature function has remain unchanged. 1 change I did make was remove NotificationSettingsViewModel's dependence on MxPushRule, so that the view model could be moved into RiotSwiftUI.
- Add LocaleProvider to abstract VectorL10n's use of Matrix SDK language so it can be used in RiotSwiftUI.
- Split Theme into UKit/SwiftUI version to remove RiotSwiftUI's dependence on ThemeService and ThemeV1.
- Migrated from ThemeObserver to ThemePublisher. We push updates to ThemePublisher so that we can remove ThemeService as dependency.
- Add .DS_Store to .gitignore
2021-09-01 12:34:38 +01:00
Doug
a81ebbd0aa Refactoring and tidy up.
Make the preview manager a singleton (passing in the MXSession to functions). Fix tests.

PreviewManager → URLPreviewManager
URLPreviewViewData → URLPreviewData
URLPreviewCache → URLPreviewStore
2021-09-01 12:28:56 +01:00
Doug
59e541667e Load and store URLPreviewViewData in RoomBubbleCellData.
Implement close button and store the action in Core Data. Hide the preview image view when no image is received. Remove line breaks in description text.
2021-09-01 10:37:37 +01:00
Doug
04c63d4e33 Merge branch 'develop' into doug/4479_media_size_selection
# Conflicts:
#	Riot/Assets/en.lproj/Vector.strings
2021-08-27 16:30:01 +01:00
Doug
99d66f0c0a Merge branch 'develop' into doug/4479_media_size_selection 2021-08-27 16:28:15 +01:00
David Langley
fb67c9d235 Extract and start to split theme. 2021-08-27 16:26:56 +01:00
David Langley
45540f1d4f
Merge pull request #4752 from vector-im/langleyd/4467_account_notification_settings
Account Notification Settings and Keywords
2021-08-26 11:07:11 +01:00
Stefan Ceriu
495ce11569 Fixes #4748 - Fixed cached callbacks race condition, serialized all async operations, properly cleaning up callbacks on failure. 2021-08-25 14:03:42 +03:00
Doug
5f598a918c Add comments about the un-sanitized URL. 2021-08-24 09:42:55 +01:00
Doug
29758d1aa7 Add PreviewManger with Core Data cache and a URLPreviewView with a view model.
Changes to RoomDataSource still to come.
2021-08-23 17:56:24 +01:00
Doug
ad1044cb9a Merge branch 'develop' into doug/4479_media_size_selection 2021-08-23 12:49:28 +01:00
Doug
b61135ffb7 Merge branch 'develop' into doug/4479_media_size_selection 2021-08-23 12:49:06 +01:00
Doug
fc75307c54 Combine confirm image/video size settings into one. 2021-08-23 11:16:32 +01:00
Gil Eluard
91d9169da6 [Spaces] M10.8 Browsing users in a space #4682
- Added navigation to member detail page
2021-08-22 08:48:54 +03:00
David Langley
d81f4ad23c
Merge pull request #4670 from vector-im/langleyd/4669_room_notification_settings_swiftui 2021-08-18 17:51:39 +01:00
Doug
22382e955b Merge branch 'develop' into doug/888_add_url_previews 2021-08-18 16:47:22 +01:00
Stefan Ceriu
f33dd76930 Fixes #4714 - Flickering voice message cells while being sent. 2021-08-18 14:58:32 +03:00
David Langley
26278f1556 indentation 2021-08-18 12:48:04 +01:00
David Langley
19ff75ddaf Fix imports and move logic to AvatarViewModel 2021-08-18 12:45:13 +01:00
David Langley
29b436f9a8 Add NotificationSettings and Keywords UI and VM 2021-08-18 09:33:56 +01:00
David Langley
48d69ba041 run template, add entrypoint and update BuildSetting 2021-08-17 15:00:20 +01:00
David Langley
666e8364c0 Move SwiftUI version of ViewModel to a subclass 2021-08-17 13:19:27 +01:00
David Langley
de33b607b0 Add activity indicator 2021-08-17 11:44:08 +01:00
Doug
661b53622d Merge branch 'develop' into doug/888_add_url_previews 2021-08-17 10:29:30 +01:00
David Langley
ef25ef54dd Add dependency management, AvatarViewModel and placeholder rendering now in AvatarImage. 2021-08-17 10:19:41 +01:00
Doug
9031412c02 Add an (optional) prompt when sending a video to select its size.
Use high quality when filming video in-app.
2021-08-16 17:48:26 +01:00
Gil Eluard
3b1c0119b7 [Spaces] M10.7 Explore rooms #4571
- Update after design review
2021-08-16 15:44:44 +02:00
David Langley
57969ea827 Merge branch 'develop' of github.com:vector-im/element-ios into langleyd/4669_room_notification_settings_swiftui 2021-08-16 13:00:41 +01:00
Doug
b7245935a1 Merge branch 'develop' into doug/4479_media_size_selection
# Conflicts:
#	Riot/Managers/Settings/RiotSettings.swift
2021-08-16 10:01:54 +01:00
David Langley
e70987d8a7 Do avatar placeholder in SwiftUI, Add AvatarViewModel, Add dependency injection for MxMediaManager dependency. 2021-08-15 00:36:15 +01:00
Stefan Ceriu
fc11b3476a Fixes #1482 - Popping the user back to the home screen after leaving a room. 2021-08-13 17:57:50 +03:00
David Langley
a388db0412 Fix header font size 2021-08-12 17:51:50 +01:00
David Langley
a20fa1c338 Typo 2021-08-12 17:10:19 +01:00
David Langley
b792af6594 Cleanup from comments 2021-08-12 16:57:19 +01:00
David Langley
3dfdb0fa83 Fix avatar service not returning generated image on network error. Fix padding and make nav buttons private. 2021-08-12 13:49:56 +01:00
David Langley
33aea8588f Remove visibility modifier 2021-08-12 12:42:26 +01:00
David Langley
7d1b893db6 Merge branch 'develop' of github.com:vector-im/element-ios into langleyd/4669_room_notification_settings_swiftui 2021-08-12 11:52:50 +01:00
David Langley
c6ba23ec70 Add theming support, and support for other top level configuration to swiftui views with VectorHostingViewController, VectorContentModifier. Add VisibilityModifier. Move from List to VStack. 2021-08-12 11:52:06 +01:00
ismailgulek
058b819daf
Use new strings for ended calls 2021-08-06 16:20:10 +03:00
David Langley
5672f17819 Merge branch 'develop' of github.com:vector-im/element-ios into langleyd/4669_room_notification_settings_swiftui 2021-08-06 13:52:55 +01:00
Stefan Ceriu
66f248de2d Remove labs setting for voice messages, enable the feature by default. Fixed incorrect ffmpeg arguments. 2021-08-06 14:22:52 +03:00
Stefan Ceriu
8923f0c8db Fixes voice message audio quality. 2021-08-06 14:22:52 +03:00
David Langley
b866f09f35 merge, finish swiftui and add theming 2021-08-06 00:27:13 +01:00
Stefan Ceriu
5551bac29f #4655 - Localized lock screen voice message name placeholder. 2021-08-05 16:55:02 +03:00
ismailgulek
8246350592 Update Riot/Modules/Room/VoiceMessages/VoiceMessageMediaServiceProvider.swift
Co-authored-by: Stefan Ceriu <stefanc@matrix.org>
2021-08-05 16:55:02 +03:00
ismailgulek
48938a6131 Fix room avatar 2021-08-05 16:55:02 +03:00
Stefan Ceriu
84a9e76173 #4656 - Stop recording voice message and go into locked mode when the application becomes inactive. Updated changes.rst. 2021-08-05 16:55:02 +03:00
Stefan Ceriu
66d6a1a2b2 #4655 - Allowing voice message playback to be controlled from the lock screen or the control center. 2021-08-05 16:55:02 +03:00
Gil Eluard
3e7a875c77 Merge branch 'develop' into spaces
# Conflicts:
#	Riot/Modules/Common/Recents/DataSources/RecentsDataSource.m
2021-08-03 21:22:43 +02:00
ismailgulek
5c1c52842b
Add strings for incoming calls 2021-08-03 17:07:15 +03:00
ismailgulek
8c23471e2d
Adapt string changes & new icons 2021-08-03 17:02:40 +03:00
ismailgulek
1bdecc6e2d
Update icon color 2021-08-03 17:01:38 +03:00
ismailgulek
d391e0838f
Remove type and dot labels 2021-08-03 17:01:17 +03:00
Stefan Ceriu
9171c90ac6 Voice messages - Updated recorded audio file name. 2021-08-03 14:59:44 +03:00
Stefan Ceriu
ea2bbeb8a0 Voice messages - Increased recording state microphone icon size. 2021-08-03 14:59:44 +03:00
Stefan Ceriu
e2a1085b13 #4641 - Voice messages - always access local cache manager state from the internal work queue. 2021-08-03 14:59:44 +03:00
Gil Eluard
e4f7939ccc
Merge branch 'develop' into gil/voice_messages_rc 2021-07-29 14:11:49 +02:00
Doug
489e0d4cfa Only set the voice message toolbar view on RoomInputToolbarView. 2021-07-28 16:40:03 +01:00
Doug
32208e615f Add "Confirm image size before sending" setting.
Use this when sending images.
2021-07-28 14:14:34 +01:00
Gil Eluard
abc1f569cc Slide to lock should be more generous #4602
- Distance needed to enter lock mode reduced
2021-07-27 14:55:06 +02:00
Gil Eluard
8b36281cc4 Tapping on waveform in composer glitches UI #4603
- Fixed
2021-07-26 22:19:04 +02:00
Gil Eluard
0cc684959d Tap/hold to send voice messages isn't intuitive #4601
- Fixed
2021-07-26 21:59:16 +02:00
David Langley
4acdb5e678 Fix Crash when opening the new Room Notification Settings Screen (Not yet released) (#4599) 2021-07-26 11:39:45 +01:00
Gil Eluard
7e2178cd63 Fixed build issue after merge 2021-07-26 12:02:38 +02:00
David Langley
04d89a628f add swiftUI view for notification settings 2021-07-26 10:40:52 +01:00
Gil Eluard
43ec74b5ca Merge branch 'spaces' into element_4509 2021-07-26 10:42:49 +02:00
manuroe
671f2118cc
Merge branch 'develop' into element_4090 2021-07-22 14:16:35 +02:00
Doug
eacb8a4653 Begin adding link detection to RoomBubbleCellData. 2021-07-21 15:14:25 +01:00
Stefan Ceriu
34f9fb433f Fixes #4583 - Mention user does not work (settings -> members -> select a member -> mention) 2021-07-21 16:20:50 +03:00
Stefan Ceriu
39084b00da #4090 - Activating the shared AVAudioSession before recording or playback. 2021-07-19 15:54:14 +03:00
Stefan Ceriu
0ead60f397 #4090 - Various tweaks and fixes following code review. Switched back to DateFormatters for formatting durations, sanitising audio player durations and current times. 2021-07-19 15:48:37 +03:00
Stefan Ceriu
089c6889d6 #4090 - Added voice messages switch to the labs section in settings. 2021-07-16 16:57:29 +03:00
Stefan Ceriu
ec33ec81f8 #4090 - Fixed the AttachmentCacheManager's serial nature. 2021-07-16 15:47:56 +03:00
Stefan Ceriu
427e77e619 Revert "Revert "#4094 - Reintroduced serial attachment loading processing queue and fixed completionCallback storage so they take the requestedNumberOfSamples into account.""
This reverts commit cf884c6abf.
2021-07-16 13:46:06 +03:00
Stefan Ceriu
cf884c6abf Revert "#4094 - Reintroduced serial attachment loading processing queue and fixed completionCallback storage so they take the requestedNumberOfSamples into account."
This reverts commit 9a3d26eae3.
2021-07-16 13:31:38 +03:00
Stefan Ceriu
511569a767 #4090 - Switched the sendVoiceMessage method duration parameter to an integer. 2021-07-16 12:49:28 +03:00
Stefan Ceriu
9a3d26eae3 #4094 - Reintroduced serial attachment loading processing queue and fixed completionCallback storage so they take the requestedNumberOfSamples into account. 2021-07-16 12:05:47 +03:00
Stefan Ceriu
521c713d30 #4094 - Redrawing waveforms on bound changes. 2021-07-16 09:06:36 +03:00
Stefan Ceriu
a3ec3356db #4094 - Fixed flickering elapsed time labels and other tweaks. 2021-07-14 14:40:54 +03:00
Doug
30ee01054f Use the layer's corner radius rather than a custom mask.
This will ensure the mask bounds always match the view's size.
2021-07-14 10:37:54 +01:00
Doug
988267c74f Always update the path of the attachmentView's mask to handle reuse. 2021-07-14 10:15:50 +01:00
Stefan Ceriu
1181ccafff #4094 - Switched back to multiple audio player instances (1 per event identifier), strongly retaining the currenty playing one and unloading all stopped ones. Various other improvements and bug fixes. 2021-07-14 10:26:21 +03:00
Stefan Ceriu
ff9384c079 Revert "Revert "#4545 - Switch back to using multiple audio player instances, allow pausing when starting a new player.""
This reverts commit 1a5197c69a.
2021-07-13 16:13:39 +03:00
Stefan Ceriu
227197375c #4094 - Sending voice message recording length and waveform samples. 2021-07-13 16:03:20 +03:00
Stefan Ceriu
cf00d3e8c2 Merge branch 'develop' into element_4090
# Conflicts:
#	CHANGES.rst
2021-07-13 11:30:16 +03:00
Stefan Ceriu
1a5197c69a Revert "#4545 - Switch back to using multiple audio player instances, allow pausing when starting a new player."
This reverts commit 1a2a434d9d.
2021-07-13 08:04:50 +03:00
Doug
989f19696d Merge branch 'develop' into doug/fix_warnings
# Conflicts:
#	Riot/Modules/Room/RoomInfo/RoomInfoList/RoomInfoListViewController.swift
2021-07-12 17:54:34 +01:00
Doug
0cb3aaa267 Use updated methods in MatrixKit. 2021-07-12 14:02:29 +01:00
Stefan Ceriu
a5136a38bb #4094 - Fixed attachments caching layer not working accordingly. 2021-07-12 15:50:44 +03:00
Stefan Ceriu
ba54f91ffc #4094 - Fix crash on concurrent access to waveform audio samples. 2021-07-12 15:31:18 +03:00
Stefan Ceriu
1a2a434d9d #4545 - Switch back to using multiple audio player instances, allow pausing when starting a new player. 2021-07-12 15:30:48 +03:00
Stefan Ceriu
9030f02de6 #4094 - Disable message replies while recording audio messages. 2021-07-12 12:18:49 +03:00
Stefan Ceriu
7d1f33c9ed #4094 - Reduced the minimum recording duration to 1 second. 2021-07-12 10:18:01 +03:00
Gil Eluard
65415c48ef #4090 - Update after review 2021-07-10 00:16:23 +02:00
Doug
e2a9d3bb24 Fix class keyword deprecation warnings everywhere!
Using 'class' keyword for protocol inheritance is deprecated; use 'AnyObject' instead
2021-07-09 17:05:43 +01:00
Doug
39ff2cb13c
Merge branch 'develop' into doug/4483_fix_picking_slow_mo_videos 2021-07-09 11:17:44 +01:00
langleyd
9e7fb75a2f Fix logging, add "Notify me for" label, fix theme on avatar and add changes 2021-07-08 20:54:32 +01:00
Doug
9ec4f75083 Fix sending a video selected from a document picker. 2021-07-08 17:41:55 +01:00
Doug
e134648982 Send videos from the camera as AVURLAsset objects. 2021-07-08 16:55:32 +01:00
Doug
0e2f07a232 Use AVAsset instead of NSURL to enable sending slow motion videos.
Slow motion videos are returned as AVComposition objects when picked. which lacks a URL property.
2021-07-08 16:26:19 +01:00
Gil Eluard
e492d2b077 #4090 - Update after review 2021-07-06 23:03:56 +02:00
langleyd
87d0819bc7 Use theme font types 2021-07-06 21:10:42 +01:00
langleyd
ef87cf1f90 Merge branch 'develop' of github.com:vector-im/element-ios into roomNotificationSettings 2021-07-06 19:51:17 +01:00
langleyd
bbcc2f027b Fix typos, naming and copywright 2021-07-06 19:39:15 +01:00
Gil Eluard
072509e930
Update Riot/Modules/Room/RoomViewController.m
Co-authored-by: ismailgulek <ismailgulek@users.noreply.github.com>
2021-07-06 15:17:22 +02:00
langleyd
fdfde0cc6b Fix build, mute bug and footer label on unencrypted builds 2021-07-06 11:38:29 +01:00
Gil Eluard
d67461f012 MXKeyBackup: trustForKeyBackupVersionFromCryptoQueue must consider MSK trust
- code tweaks and optimizations
2021-07-06 08:57:51 +02:00
langleyd
aa0056e8aa spacing and cleanup dead code 2021-07-05 16:49:06 +01:00
langleyd
e2751b83c4 Fix build and naming of State -> ViewData 2021-07-05 16:28:14 +01:00
langleyd
1b33c7d52d Fix service naming 2021-07-04 17:27:19 +01:00
langleyd
938aa8583a Change in behaviour: mute should actually mean mute on update now. 2021-07-04 17:06:19 +01:00
langleyd
013c271421 Add ViewModel tests and change avatar data to use existing AvatarViewDataProtocol 2021-07-04 17:01:42 +01:00
langleyd
f16d270d6c Add avatar view and title 2021-07-04 10:46:17 +01:00
langleyd
e787d3b695 Add entry points at long press on home view and slide on recents. 2021-07-02 20:19:46 +01:00
Doug
8cd2bd4eda Fix SwiftLint warnings. 2021-07-02 17:13:45 +01:00
Doug
080b3e94bb Fix documentation warnings. 2021-07-02 16:46:27 +01:00
langleyd
f88ef9f017 Update theming and footer 2021-07-02 16:16:54 +01:00
langleyd
76e4e7959b Fix naming of Repository -> Service, Impl -> Type 2021-07-02 10:39:27 +01:00
langleyd
20b8105795 Fix typo and don't show link to account settings until we have global notification settings. 2021-07-02 10:30:44 +01:00
langleyd
ac27d68508 Add translations, footer message and room encryption handling 2021-07-02 10:15:35 +01:00
Gil Eluard
05c02c36c0 #4090 - Improved performances 2021-07-02 07:38:56 +02:00
SBiOSoftWhare
d0b53421ed Update avatar view and view data usage. 2021-07-01 00:07:46 +02:00
SBiOSoftWhare
0232eeef33 AvatarView: Update AvatarViewDataProtocol, add possibility to set a defaut image. 2021-06-30 23:25:15 +02:00
Gil Eluard
760f03d3c3 #4090 - fixed small theme issues 2021-06-29 17:05:01 +02:00
Gil Eluard
c421af03b2 #4090 - bug fixing and removed work queue 2021-06-29 15:08:55 +02:00
Gil Eluard
397f88c696 #4090 - Hide voice message button when on action mode 2021-06-29 10:36:10 +02:00
Gil Eluard
78cb2b8239 #4090 - Fixed UI regression if BuildSettings.voiceMessagesEnabled = false 2021-06-29 10:17:15 +02:00
Gil Eluard
e8a3084b62 #4090 - Use a dedicated dispatch queue for process 2021-06-29 08:52:21 +02:00
langleyd
12651d7bc6 Add NotificationRepository, ViewModel and ViewController 2021-06-25 22:38:31 +01:00
Stefan Ceriu
e0cbe499d5 #4094 - Increased minimum long press duration to 1 second, reversed audio recorder waveform direction, added a minimum recording duration of 5 seconds for hold&send. 2021-06-25 16:51:45 +03:00
Stefan Ceriu
fb87fe0458 #4094 - Fixed toast notifications background color on dark themes. 2021-06-25 15:46:48 +03:00
Stefan Ceriu
2c80e61025 #4094 - Fixed missing ffmpegkit module on release builds. Disabled cache manager work queue for now as it's still not working properly. 2021-06-25 14:42:52 +03:00
Stefan Ceriu
329215d17d #4094 - Caching layer work queue fixes and preventing sampling division by 0. 2021-06-25 13:18:40 +03:00
Stefan Ceriu
24f06a7288 #4094 - Fixed improper weak display link targets. 2021-06-25 12:13:43 +03:00
Stefan Ceriu
acebef7853 #4094 - Added voice message attachment decryption, transcoding and sampling caching layer. 2021-06-25 12:09:41 +03:00
Stefan Ceriu
a80736038d Merge branch 'develop' into element_4090 2021-06-24 14:45:27 +03:00
Stefan Ceriu
c12a7dc582 #4094 - Added toast notifications and maximum recording duration. 2021-06-24 14:02:41 +03:00
Stefan Ceriu
aa6064431e #4094 - Added Opus Ogg support through FFmpegKit backed media conversion. 2021-06-24 12:28:50 +03:00
Stefan Ceriu
1b90b2530f #4094 - Optimize expensive date formatters creation. 2021-06-24 11:33:14 +03:00
Stefan Ceriu
7d257f5878 #4094 - Added multiple observation on media services and a mediaServiceProvider that prevents simultaneous playback from multiple player instances. 2021-06-24 11:29:07 +03:00
Stefan Ceriu
0b6bdfbebc Fix retain cycle between the RoomTitleView (strong tapGestureDelegate) and the RoomViewController. 2021-06-24 09:50:32 +03:00
Stefan Ceriu
fc7d311647 #4094 - Various tweaks, bug fixes and improvements following code review. 2021-06-23 15:37:34 +03:00
langleyd
422ec25878 Add correct asset for notifications icon. 2021-06-22 16:01:21 +01:00
Stefan Ceriu
be8e0f6e34 #4094 - Fixed voice message toolbar states after sending message while recording in locked mode. 2021-06-22 16:58:36 +03:00
langleyd
c8add12654 Add new settings notification feature flag and update ui entry point 2021-06-22 13:39:50 +01:00
Stefan Ceriu
959ccc9527 #4094 - Added voice messages locked mode playback. 2021-06-22 13:19:39 +03:00
Stefan Ceriu
02da2e2c03 #4096 - Weakify display link targets. 2021-06-22 09:59:14 +03:00
Stefan Ceriu
3130fd5257 #4096 - Added locked mode transition and animations, locked recording mode and real time waveform. 2021-06-22 09:42:38 +03:00
Stefan Ceriu
99eb2d16ac #4096 - Extracted logic from the VoiceMessagePlaybackView. Exposed power levels from audio recorder. 2021-06-22 09:42:37 +03:00
Stefan Ceriu
3c1bc56699 #4096 - Various small UI tweaks and bug fixes. 2021-06-22 09:42:37 +03:00
Stefan Ceriu
53307f9662 #4096 - Voice message playback view theme support. 2021-06-22 09:42:37 +03:00
Stefan Ceriu
1294c273a5 #4090 - Added voice messages feature flag. 2021-06-22 09:42:37 +03:00
Stefan Ceriu
ff3170e031 #4096 - Added voice message decoding, timeline cell and playback UI. 2021-06-22 09:42:37 +03:00
Stefan Ceriu
58c1be04a6 #4090 - Added recording duration label and permissions checking. 2021-06-22 09:42:37 +03:00
Stefan Ceriu
8d54e03527 #4090 - Add voice message controller, audio recorder and toolbar view links. Working audio file sending and cancellation. 2021-06-22 09:42:37 +03:00
Stefan Ceriu
b5070975d0 #4090 - Corrected dark theme appearance. 2021-06-22 09:42:37 +03:00
Stefan Ceriu
3015cba8dc #4090 - Corrected dark theme appearance. 2021-06-22 09:42:37 +03:00
Stefan Ceriu
3624d2ec44 #4090 - New voice recording toolbar ui and swipe to cancel interaction. 2021-06-22 09:42:37 +03:00
Gil Eluard
93fd5cd835 Voice Messages - Hold and send
- Added voice message button
- voice recording UI state
2021-06-22 09:42:37 +03:00
David Langley
5060d46348
Merge pull request #4405 from vector-im/element_4403
Fix crash when entering a DM after a call is hung-up/rejected while being answered (#4403)
2021-06-09 10:33:21 +01:00
langleyd
86a9f4f7be Fix crash when entering a DM after a call is hung-up/rejected while being answered (#4403) 2021-06-08 14:03:17 +01:00
SBiOSoftWhare
f828ce2648 RoomCreationIntroCell: Handle RoomAvatarViewData updates. 2021-06-07 18:46:16 +02:00
SBiOSoftWhare
4bf7593784 RoomAvatarView: Now inherits from AvatarView, make RoomAvatarViewData conform to AvatarViewDataProtocol. 2021-06-07 18:46:16 +02:00
Stefan Ceriu
f7a8163947
Adopt consolidated logging mechanism (#4370)
* Adopted the new MXLog and replaced NSLog throughout the application - vector-im/element-ios/issues/4351
* Replaced NSLog() and print() usages with MXLog.debug()
* Added swiftlint rules for NSLog(), print(), println() and os_log()
* Escape paths used to run script build phases for swiftlint and swiftgen
2021-06-03 11:30:07 +03:00
manuroe
ff41ce8fd7 Crypto: Do not decrypt synchronously. It asynchronously happens upstream now
#4306)
2021-05-19 17:29:15 +02:00
ismailgulek
f28ecfb450
Merge branch 'develop' into element_4293 2021-05-12 10:34:03 +03:00
ismailgulek
2348a46247
Implement presentation controller delegate 2021-05-12 00:55:58 +03:00