Commit Graph

2370 Commits

Author SHA1 Message Date
Doug 882fcab738 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 4331994d72 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 660b95b20a Add comments about the un-sanitized URL. 2021-08-24 09:42:55 +01:00
Doug dd600e5e7e 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 eaa853d33f Merge branch 'develop' into doug/888_add_url_previews 2021-08-18 16:47:22 +01:00
Stefan Ceriu c9812a2328 Fixes #4714 - Flickering voice message cells while being sent. 2021-08-18 14:58:32 +03:00
Doug ef92d49456 Merge branch 'develop' into doug/888_add_url_previews 2021-08-17 10:29:30 +01:00
Stefan Ceriu fa9d3eebb6 Fixes #1482 - Popping the user back to the home screen after leaving a room. 2021-08-13 17:57:50 +03:00
ismailgulek 3d7a4615fc Merge branch 'develop' into element_4471 2021-08-13 11:52:12 +03:00
Doug 9a45b38730 Remove directRoomBorderView from InviteRecentTableViewCell.xib. 2021-08-12 09:50:18 +01:00
ismailgulek 12a754fbc5 Merge branch 'develop' into element_4471 2021-08-12 11:08:29 +03:00
Doug c6170e6efa Merge branch 'develop' into doug/4677_fix_contacts_warnings 2021-08-10 09:41:57 +01:00
ismailgulek c76aa7f595 Merge remote-tracking branch 'origin/element_4362' into element_4362 2021-08-09 18:09:54 +03:00
ismailgulek 0d63496ec6 Merge branch 'develop' into element_4362 2021-08-09 18:09:45 +03:00
ismailgulek 6aae1c0408 Update Riot/Modules/Authentication/SSO/SSOURLConstants.swift
Co-authored-by: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2021-08-09 18:06:08 +03:00
Doug 1ae2559e25 Add missing Weakify/Strongify. 2021-08-09 15:59:46 +01:00
Doug 5ec7f4cd61 Fix warnings: Block implicitly retains 'self' 2021-08-09 15:45:59 +01:00
ismailgulek 90fff2696f Merge branch 'develop' into ismail/4642_additions 2021-08-06 16:22:38 +03:00
ismailgulek f85d8c6db2 Use new strings for ended calls 2021-08-06 16:20:10 +03:00
Doug dc2c09fc9e Merge branch 'develop' into doug/4520_remove_dm_avatar_border 2021-08-06 12:26:18 +01:00
Stefan Ceriu 7c637939a9 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 caab471352 Fixes voice message audio quality. 2021-08-06 14:22:52 +03:00
Doug 38b4e94f33 Remove green border from DM avatars. 2021-08-06 12:04:19 +01:00
ismailgulek 80d3a2e7c0 Merge branch 'develop' into element_4471 2021-08-06 13:34:09 +03:00
Stefan Ceriu 79b430b4fa #4655 - Localized lock screen voice message name placeholder. 2021-08-05 16:55:02 +03:00
ismailgulek ac233a3e5b Update Riot/Modules/Room/VoiceMessages/VoiceMessageMediaServiceProvider.swift
Co-authored-by: Stefan Ceriu <stefanc@matrix.org>
2021-08-05 16:55:02 +03:00
ismailgulek a2acdd6f21 Fix room avatar 2021-08-05 16:55:02 +03:00
Stefan Ceriu 59751667db #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 949551c8da #4655 - Allowing voice message playback to be controlled from the lock screen or the control center. 2021-08-05 16:55:02 +03:00
ismailgulek 2a4f29e4f3 Merge branch 'develop' into element_4642 2021-08-04 10:57:34 +03:00
Doug b05809cb58 Merge branch 'develop' into doug/2368_allow_silent_notifications 2021-08-03 16:02:53 +01:00
ismailgulek 6d117e374d Add strings for incoming calls 2021-08-03 17:07:15 +03:00
ismailgulek 85c8241a54 Adapt string changes & new icons 2021-08-03 17:02:40 +03:00
ismailgulek 0d831c30c9 Update icon color 2021-08-03 17:01:38 +03:00
ismailgulek 4bf9461a2a Remove type and dot labels 2021-08-03 17:01:17 +03:00
Stefan Ceriu 8e23e24173 Voice messages - Updated recorded audio file name. 2021-08-03 14:59:44 +03:00
Stefan Ceriu c78bec9228 Voice messages - Increased recording state microphone icon size. 2021-08-03 14:59:44 +03:00
Stefan Ceriu bd8584f90c #4641 - Voice messages - always access local cache manager state from the internal work queue. 2021-08-03 14:59:44 +03:00
ismailgulek d7b63d9f41 stable ids for MSC 2858 2021-08-03 14:07:05 +03:00
Gil Eluard 9114f46dc2 Merge branch 'develop' into gil/voice_messages_rc 2021-07-29 14:11:49 +02:00
Doug adb02c6323 Merge branch 'develop' into doug/2368_allow_silent_notifications 2021-07-29 11:38:57 +01:00
Doug f3beec64f0 Use MXWeakify/MXStrongifyAndReturnIfNil. 2021-07-29 11:37:19 +01:00
Doug c7af677984 Merge pull request #4621 from vector-im/doug/4620_fix_read_only_room_crash
Only set the voice message toolbar view on RoomInputToolbarView.
2021-07-29 11:11:28 +01:00
SBiOSoftWhare edab1e31a7 Merge branch 'develop' into steve/improve_recentsdatasource 2021-07-29 12:04:49 +02:00
Doug 506004af04 Move refreshLocalContacts call to viewDidAppear. 2021-07-29 09:37:14 +01:00
Doug e2466a3fca Request confirmation for contact sync on self rather than a non-existent presentedViewController. 2021-07-29 09:31:07 +01:00
Doug 18d6d1cf98 Only set the voice message toolbar view on RoomInputToolbarView. 2021-07-28 16:40:03 +01:00
Doug 3cfea31852 Move LegacyAppDelegate.refreshLocalContacts to ContactsTableViewController. 2021-07-28 16:07:07 +01:00
Doug cd807d718e Update notifications disabled alert. 2021-07-28 12:45:06 +01:00
Doug 60748a68dc Turn the toggle off if notifications were denied. 2021-07-28 11:38:49 +01:00