Commit graph

276 commits

Author SHA1 Message Date
Gil Eluard
84bdf88fe1 Merge branch 'develop' into spaces 2021-09-20 10:18:01 +02:00
Doug
7807b21e09 Use constants. 2021-09-16 17:13:56 +01:00
Doug
38db80ac6b Reduce the width of URL previews on 4" devices. 2021-09-16 16:41:21 +01:00
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
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
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
Stefan Ceriu
f2dd0e256b Revert "#4693 - Drop iOS 11 support."
This reverts commit a2b359f219.
2021-09-06 18:24:26 +03: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
Stefan Ceriu
a786cbb90a #4693 - Drop iOS 11 support. 2021-09-01 15:55:41 +03: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
ismailgulek
058b819daf
Use new strings for ended calls 2021-08-06 16:20:10 +03: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
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
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
Stefan Ceriu
089c6889d6 #4090 - Added voice messages switch to the labs section in settings. 2021-07-16 16:57:29 +03: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
Gil Eluard
e492d2b077 #4090 - Update after review 2021-07-06 23:03:56 +02:00
Doug
080b3e94bb Fix documentation warnings. 2021-07-02 16:46:27 +01: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
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
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
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
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
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
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