Commit graph

2373 commits

Author SHA1 Message Date
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
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
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
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
Doug
661b53622d Merge branch 'develop' into doug/888_add_url_previews 2021-08-17 10:29:30 +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
ismailgulek
7197c020f6
Merge branch 'develop' into element_4471 2021-08-13 11:52:12 +03:00
Doug
3682d5c5be Remove directRoomBorderView from InviteRecentTableViewCell.xib. 2021-08-12 09:50:18 +01:00
ismailgulek
24a57512ca
Merge branch 'develop' into element_4471 2021-08-12 11:08:29 +03:00
Doug
41d156e948 Merge branch 'develop' into doug/4677_fix_contacts_warnings 2021-08-10 09:41:57 +01:00
ismailgulek
c3019b4cb4
Merge remote-tracking branch 'origin/element_4362' into element_4362 2021-08-09 18:09:54 +03:00
ismailgulek
9a62d5d231
Merge branch 'develop' into element_4362 2021-08-09 18:09:45 +03:00
ismailgulek
0585ffe8d1
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
5303fcc894 Add missing Weakify/Strongify. 2021-08-09 15:59:46 +01:00
Doug
9b94fe9ab8 Fix warnings: Block implicitly retains 'self' 2021-08-09 15:45:59 +01:00
ismailgulek
d0fd3658db
Merge branch 'develop' into ismail/4642_additions 2021-08-06 16:22:38 +03:00
ismailgulek
058b819daf
Use new strings for ended calls 2021-08-06 16:20:10 +03:00
Doug
67f62f5003
Merge branch 'develop' into doug/4520_remove_dm_avatar_border 2021-08-06 12:26:18 +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
Doug
a54b10ef7b Remove green border from DM avatars. 2021-08-06 12:04:19 +01:00
ismailgulek
ef95c448e2
Merge branch 'develop' into element_4471 2021-08-06 13:34:09 +03: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
ismailgulek
12e4630506
Merge branch 'develop' into element_4642 2021-08-04 10:57:34 +03:00
Doug
4f479dcbe7
Merge branch 'develop' into doug/2368_allow_silent_notifications 2021-08-03 16:02:53 +01: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
ismailgulek
1824faa5fc
stable ids for MSC 2858 2021-08-03 14:07:05 +03:00
Gil Eluard
e4f7939ccc
Merge branch 'develop' into gil/voice_messages_rc 2021-07-29 14:11:49 +02:00
Doug
28df9ac7ec
Merge branch 'develop' into doug/2368_allow_silent_notifications 2021-07-29 11:38:57 +01:00
Doug
fda058002c Use MXWeakify/MXStrongifyAndReturnIfNil. 2021-07-29 11:37:19 +01:00
Doug
5716c5ff68
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
8e64a98c22
Merge branch 'develop' into steve/improve_recentsdatasource 2021-07-29 12:04:49 +02:00
Doug
c4ca715a8b Move refreshLocalContacts call to viewDidAppear. 2021-07-29 09:37:14 +01:00
Doug
a737470bf4 Request confirmation for contact sync on self rather than a non-existent presentedViewController. 2021-07-29 09:31:07 +01:00
Doug
489e0d4cfa Only set the voice message toolbar view on RoomInputToolbarView. 2021-07-28 16:40:03 +01:00