Stefan Ceriu
fddeb5e0ee
#1098 - Added extra top padding on first list item. Fixed various merge problems.
2021-10-13 11:46:43 +03:00
Stefan Ceriu
432af4b879
#1098 - Various changes following code review.
2021-10-13 11:26:27 +03:00
Stefan Ceriu
b847528d81
#1098 - Moved new MXKRoomInputToolbarDelegate method to Element.
2021-10-13 11:26:27 +03:00
Stefan Ceriu
9724409fc0
#1098 - Working real user suggestion inside the main application.
2021-10-13 11:26:22 +03:00
Stefan Ceriu
97a16806b1
#1098 - Generated UserSuggestion from template, got initial UI working and automatically updating.
2021-10-13 11:24:46 +03:00
manuroe
71d1a65b67
Merge remote-tracking branch 'origin/master' into develop
2021-10-12 13:43:16 +02:00
Stefan Ceriu
712434ea0f
Fixes #4976 - Replaced HPGrowingTextView with GrowingTextView. Reduced inheritance chain.
2021-10-12 14:17:06 +03:00
ismailgulek
baada9efda
Convert number to a string
2021-10-11 22:01:26 +03:00
manuroe
e5f9ee42f2
Merge branch 'master' into develop
2021-09-30 23:51:17 +01:00
Stefan Ceriu
7b75dec011
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
65660c6d3f
AvatarViewData: Make mediaManager property optional.
2021-09-29 11:28:13 +02:00
Doug
df8ac48ba2
Merge branch 'develop' into doug/4896_url_previews_string_whitespace
2021-09-27 14:44:17 +01:00
Doug
ac3b2c1677
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
d6b824c54f
Merge branch 'develop' into spaces
2021-09-20 10:18:01 +02:00
Doug
f644eaec8a
Use constants.
2021-09-16 17:13:56 +01:00
Doug
e2a0b5fc23
Reduce the width of URL previews on 4" devices.
2021-09-16 16:41:21 +01:00
Gil Eluard
6335acc0cd
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
ee417c21d8
Revert "Revert " #4693 - Drop iOS 11 support.""
2021-09-14 11:41:36 +03:00
Doug
b7ed2d6d58
Revert height computation for now.
2021-09-08 15:59:30 +01:00
Doug
ecf9503dc9
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
a8675e8f27
Add more docs and comments.
...
Rename store.store(_:) to store.cache(_:).
2021-09-08 09:51:47 +01:00
Doug
f92fae96d0
Merge branch 'develop' into doug/888_add_url_previews
2021-09-07 17:51:31 +01:00
Doug
f9a656c74d
Remove "Loading preview..." label.
2021-09-07 16:12:12 +01:00
Doug
f604049083
Fix unsatisfiable constraints messages.
2021-09-07 14:49:51 +01:00
Stefan Ceriu
7d6a1cac40
Revert " #4693 - Drop iOS 11 support."
...
This reverts commit a2b359f21960e1b9f75139d94adc7aeb35fa479f.
2021-09-06 18:24:26 +03:00
Doug
ef65feb3de
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
8f8322a94c
Ensure correct font is used.
2021-09-02 18:08:35 +01:00
Doug
f8bc972ff8
Merge remote-tracking branch 'origin/develop' into doug/888_add_url_previews
2021-09-02 17:39:42 +01:00
Doug
26e356776c
Show an activity indicator until the preview has loaded.
2021-09-02 17:37:48 +01:00
Doug
3db5d7f605
Update layout for text only previews.
2021-09-02 12:41:55 +01:00
Doug
0491195401
Use stack views for layout.
2021-09-02 11:38:16 +01:00
Stefan Ceriu
ef3fb0433e
#4693 - Drop iOS 11 support.
2021-09-01 15:55:41 +03:00
Doug
f93b96fa50
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
cd87095453
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
2abc19b599
Add comments about the un-sanitized URL.
2021-08-24 09:42:55 +01:00
Doug
5d66333d63
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
b22868b0a0
Use new strings for ended calls
2021-08-06 16:20:10 +03:00
Stefan Ceriu
ecfa544cd0
Remove labs setting for voice messages, enable the feature by default. Fixed incorrect ffmpeg arguments.
2021-08-06 14:22:52 +03:00
ismailgulek
0a53a63a74
Add strings for incoming calls
2021-08-03 17:07:15 +03:00
ismailgulek
8aecaa2ab1
Adapt string changes & new icons
2021-08-03 17:02:40 +03:00
ismailgulek
3d66d7288d
Update icon color
2021-08-03 17:01:38 +03:00
ismailgulek
a2516f6fc1
Remove type and dot labels
2021-08-03 17:01:17 +03:00
Gil Eluard
fe0c81cdc6
Merge branch 'spaces' into element_4509
2021-07-26 10:42:49 +02:00
manuroe
09f7701e09
Merge branch 'develop' into element_4090
2021-07-22 14:16:35 +02:00
Stefan Ceriu
031ef98ac4
#4090 - Added voice messages switch to the labs section in settings.
2021-07-16 16:57:29 +03:00
Doug
29d7262e38
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
c2302ac81c
#4090 - Update after review
2021-07-06 23:03:56 +02:00
Doug
f76db0baa4
Fix documentation warnings.
2021-07-02 16:46:27 +01:00
SBiOSoftWhare
63300796f8
Update avatar view and view data usage.
2021-07-01 00:07:46 +02:00
SBiOSoftWhare
58bee63caf
AvatarView: Update AvatarViewDataProtocol, add possibility to set a defaut image.
2021-06-30 23:25:15 +02:00