Commit graph

300 commits

Author SHA1 Message Date
Stefan Ceriu
d5982e813b vector-im/element-ios/issues/5114 - Polls in the timeline. 2021-12-09 09:37:02 +02:00
SBiOSoftWhare
dcad18bfb4
Merge pull request #5219 from vector-im/steve/5020_matrixkit_merge
Merge MatrixKit repository into Element
2021-12-03 15:44:30 +01:00
Stefan Ceriu
ec00c52a0a vector-im/element-ios/issues/4753 - Allow audio file attachments to be played back inline by reusing the existing voice message UI. 2021-12-02 15:38:59 +02:00
SBiOSoftWhare
4081da3ebc Update all Objective-C MatrixKit imports to handle new location. 2021-11-30 16:09:53 +01:00
SBiOSoftWhare
3e6df9749c Remove MatrixKit import from Swift files. 2021-11-29 17:50:30 +01:00
Phl-Pro
8246dc93e0
Merge branch 'develop' into phlpro/4722_objc_headers 2021-11-05 14:41:36 +01:00
Stefan Ceriu
7e6e82d9ef vector-im/element-ios/issues/4976 - Fixed placeholder not displaying after being hidden for resize animations. 2021-10-27 10:15:57 +03:00
Philippe Loriaux
c6c3eaaec1 Improve the Obj-C Generated Interface Header Name definition 2021-10-26 17:42:33 +02:00
Stefan Ceriu
efa726b515 vector-im/element-ios/issues/4976 - Replaced GrowingTextView with simpler, custom implementation. Cleaned up the RoomInputToolbar header. 2021-10-26 17:41:29 +03:00
Stefan Ceriu
35802071dd Fixes vector-im/element-ios/issues/5042 - Message composer doesn't follow keyboard when swiping to dismiss. 2021-10-25 16:23:58 +03:00
Doug
98be850786 Allow images to be pasted from Safari rather than their URL.
Use correct type.
2021-10-18 15:22:55 +01:00
Stefan Ceriu
2e0aab11ea #1098 - Added extra top padding on first list item. Fixed various merge problems. 2021-10-13 11:46:43 +03:00
Stefan Ceriu
0f0acc89d6 #1098 - Various changes following code review. 2021-10-13 11:26:27 +03:00
Stefan Ceriu
e84c8fc2e6 #1098 - Moved new MXKRoomInputToolbarDelegate method to Element. 2021-10-13 11:26:27 +03:00
Stefan Ceriu
9b3e68a3db #1098 - Working real user suggestion inside the main application. 2021-10-13 11:26:22 +03:00
Stefan Ceriu
7de24ab628 #1098 - Generated UserSuggestion from template, got initial UI working and automatically updating. 2021-10-13 11:24:46 +03:00
manuroe
8fad0be309 Merge remote-tracking branch 'origin/master' into develop 2021-10-12 13:43:16 +02:00
Stefan Ceriu
fa05233998 Fixes #4976 - Replaced HPGrowingTextView with GrowingTextView. Reduced inheritance chain. 2021-10-12 14:17:06 +03:00
ismailgulek
e24d7fffcf
Convert number to a string 2021-10-11 22:01:26 +03:00
manuroe
2735166155 Merge branch 'master' into develop 2021-09-30 23:51:17 +01:00
Stefan Ceriu
862464108b vector-im/element-ios/issues/4899 - Replaced (*almost*) all NSLocalizedString calls with newly generated ObjC methods. 2021-09-30 09:40:12 +03:00
SBiOSoftWhare
e3d649c4ea AvatarViewData: Make mediaManager property optional. 2021-09-29 11:28:13 +02:00
Doug
b35838e268 Merge branch 'develop' into doug/4896_url_previews_string_whitespace 2021-09-27 14:44:17 +01:00
Doug
0edf6ba7d6 Include URL previews in addVerticalWhitespaceToString:forEvent: and remove heightForCellData:withMaximumWidth: from the various TextMsgBubbleCell subclasses.
Use the bubble cell data's available width when sizing URL previews and update the defaultAvailableWidth and reducedWidthThreshold accordingly.
2021-09-23 17:30:24 +01:00
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