Commit graph

237 commits

Author SHA1 Message Date
Stefan Ceriu
948e23df7e vector-im/element-ios/issues/5298 - Add support for location m.asset types. 2022-01-19 16:11:35 +02:00
SBiOSoftWhare
d1e1a905e1 BubbleRoomCellLayoutUpdater: Update bubble height methods. 2022-01-19 11:46:36 +01:00
SBiOSoftWhare
486bd0bc3d BubbleRoomTimelineStyle: Handle selected style. 2022-01-18 20:49:13 +01:00
SBiOSoftWhare
5a01b0bcbd PlainRoomTimelineStyle: Handle selected style. 2022-01-18 20:46:59 +01:00
SBiOSoftWhare
5b2ae72575 RoomTimelineStyle: Add method to apply selected style. 2022-01-18 20:46:34 +01:00
SBiOSoftWhare
34db84551d Text message bubble cells: Fix call to super.setupViews 2022-01-18 19:35:30 +01:00
Stefan Ceriu
84c01c2735 vector-im/element-ios/issues/5114 - Cleanup + rename PollTimeline to TimelinePoll. 2022-01-18 20:05:10 +02:00
SBiOSoftWhare
ec0a1ca480 BubbleRoomTimelineCellDecorator: Fix CGFloat type issues. 2022-01-18 18:25:48 +01:00
SBiOSoftWhare
f1e8e47248 BubbleRoomTimelineCellDecorator: Show timestamp on every text messages in bubble background. 2022-01-18 17:51:41 +01:00
SBiOSoftWhare
2fcbcf8c8e PlainRoomTimelineCellDecorator: Update timestamp management. 2022-01-18 17:49:47 +01:00
SBiOSoftWhare
14aff2cc0f RoomTimelineCellDecorator: Update add timestamp interface. 2022-01-18 17:46:49 +01:00
SBiOSoftWhare
4b85fbb516 BubbleRoomCellLayoutUpdater: Add extra right space for timestamp. 2022-01-18 17:25:32 +01:00
SBiOSoftWhare
3c583285ba MXKRoomBubbleTableViewCell: Add convenient method to retrieve RoomMessageBubbleBackgroundView. 2022-01-18 17:22:13 +01:00
SBiOSoftWhare
a01bc102bc BubbleRoomTimelineCellDecorator: Handle URL preview. 2022-01-18 15:25:14 +01:00
SBiOSoftWhare
63926dd273 BubbleRoomTimelineCellDecorator: Handle reactions view for incoming and outgoing messages. 2022-01-18 15:22:58 +01:00
SBiOSoftWhare
888f2587ec BubbleRoomCellLayoutUpdater: Update incoming text message right margin. 2022-01-18 15:15:40 +01:00
SBiOSoftWhare
2e52b48712 BubbleRoomTimelineStyle handle cell decorator. 2022-01-18 15:03:56 +01:00
SBiOSoftWhare
ef0dd3852a Create BubbleRoomTimelineCellDecorator. 2022-01-18 15:02:30 +01:00
SBiOSoftWhare
cfad78777f PlainRoomTimelineStyle handle cell decorator. 2022-01-18 15:01:20 +01:00
SBiOSoftWhare
3b1d05829f Implement PlainRoomTimelineCellDecorator. 2022-01-18 15:00:10 +01:00
SBiOSoftWhare
2e3299bd2a RoomTimelineStyle: Add cell decorator property. 2022-01-18 14:59:48 +01:00
SBiOSoftWhare
70b12be987 Create RoomTimelineCellDecorator enables to add decoration on a cell (reactions, read receipts, timestamp, URL preview). 2022-01-18 14:58:34 +01:00
SBiOSoftWhare
7b86a28fdd BubbleRoomCellLayoutUpdater: Update bubble height computation. 2022-01-14 11:15:38 +01:00
SBiOSoftWhare
b2713ea312 Update MatrixKit text message cells. 2022-01-14 10:03:08 +01:00
SBiOSoftWhare
51539821a5 Add RoomTimelineConfiguration that enables to manage room timeline appearance configuration. 2022-01-14 10:02:23 +01:00
SBiOSoftWhare
6fcdae5a5c Add room timeline style for default cell style. 2022-01-14 10:00:21 +01:00
SBiOSoftWhare
54d5bc52e4 Add room timeline style for bubbles. 2022-01-14 09:59:25 +01:00
SBiOSoftWhare
0878d2e64a Add RoomMessageBubbleBackgroundView. 2022-01-14 09:58:55 +01:00
SBiOSoftWhare
88ceb07ea5 Add RoomTimelineStyle that describes a room timeline style used to customize timeline appearance. 2022-01-14 09:55:00 +01:00
SBiOSoftWhare
f90f2fba0e Add cell layout updater implementation for bubbles. 2022-01-14 09:51:08 +01:00
SBiOSoftWhare
2642223430 Move RoomBubbleCellLayout. 2022-01-13 18:25:34 +01:00
SBiOSoftWhare
057ea8dba7 Add RoomCellLayoutUpdaterProtocol that enables to setup or update a room timeline cell view. 2022-01-13 18:20:57 +01:00
SBiOSoftWhare
fca3344101 Add RoomTimelineCellIdentifier that represents room timeline cell identifiers. 2022-01-13 17:36:13 +01:00
SBiOSoftWhare
cc829ecc2a Add BubbleRoomTimelineCellProvider. 2022-01-13 17:33:21 +01:00
SBiOSoftWhare
3d7a7fa9f1 Add PlainRoomTimelineCellProvider. 2022-01-13 17:31:47 +01:00
SBiOSoftWhare
f7fb4c7ca8 Add RoomTimelineCellProviderProtocol that enables to register and provide room timeline cells. 2022-01-13 17:31:03 +01:00
SBiOSoftWhare
24c8b8d79d RoomTimelineStyleIdentifier: Make it available for ObjC. 2022-01-13 16:56:10 +01:00
SBiOSoftWhare
7ae9b40708 Move MatrixKit text message cells to Riot target. 2022-01-13 16:51:51 +01:00
SBiOSoftWhare
565b1cca05
Merge pull request #5342 from vector-im/steve/5321_bubbles_lauching
Message bubbles: Add settings and build flag
2022-01-13 09:50:23 +01:00
Stefan Ceriu
e2a7df1daa Increased the BubbleCellContentView's inner content view bottom padding so it doesn't overlap the send receipt indicator. 2022-01-07 14:18:05 +02:00
SBiOSoftWhare
4d3a8a2ffa Rename RoomTimelineStyle enum to RoomTimelineStyleIdentifier. 2022-01-04 17:53:15 +01:00
Stefan Ceriu
eead770633 vector-im/element-ios/issues/5298 - Various tweaks following code review. 2022-01-04 17:33:32 +02:00
Stefan Ceriu
2c6b286718 vector-im/element-ios/issues/5298 - Added build setting + ui and unit tests. 2022-01-04 17:33:32 +02:00
Stefan Ceriu
592acde1c8 vector-im/element-ios/issues/5298 - Displaying a modal when tapping on a location in the timeline. 2022-01-04 17:33:32 +02:00
Stefan Ceriu
6a46c42cfd vector-im/element-ios/issues/5298 - Implemented location sharing from the input toolbar action menu. 2022-01-04 17:33:32 +02:00
Stefan Ceriu
01f53bd8d1 Rendering location messages in the timeline. 2022-01-04 17:33:32 +02:00
SBiOSoftWhare
ca4dc6d69f Add RoomTimelineStyle enum that represents the room timeline styles available. 2022-01-03 18:16:24 +01:00
SBiOSoftWhare
bd431fa6c9 Move timeline cells in dedicated folders. 2021-12-22 17:25:35 +01:00
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
Philippe Loriaux
c6c3eaaec1 Improve the Obj-C Generated Interface Header Name definition 2021-10-26 17:42:33 +02: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
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
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
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
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
1831b61b12 Show an activity indicator until the preview has loaded. 2021-09-02 17:37:48 +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
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
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
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
Stefan Ceriu
acebef7853 #4094 - Added voice message attachment decryption, transcoding and sampling caching layer. 2021-06-25 12:09:41 +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
99eb2d16ac #4096 - Extracted logic from the VoiceMessagePlaybackView. Exposed power levels from audio recorder. 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
David Langley
5060d46348
Merge pull request #4405 from vector-im/element_4403
Fix crash when entering a DM after a call is hung-up/rejected while being answered (#4403)
2021-06-09 10:33:21 +01:00
langleyd
86a9f4f7be Fix crash when entering a DM after a call is hung-up/rejected while being answered (#4403) 2021-06-08 14:03:17 +01:00
SBiOSoftWhare
f828ce2648 RoomCreationIntroCell: Handle RoomAvatarViewData updates. 2021-06-07 18:46:16 +02:00
Stefan Ceriu
f7a8163947
Adopt consolidated logging mechanism (#4370)
* Adopted the new MXLog and replaced NSLog throughout the application - vector-im/element-ios/issues/4351
* Replaced NSLog() and print() usages with MXLog.debug()
* Added swiftlint rules for NSLog(), print(), println() and os_log()
* Escape paths used to run script build phases for swiftlint and swiftgen
2021-06-03 11:30:07 +03:00
ismailgulek
13f485a5c3
Use new tile theme color 2021-05-04 19:25:24 +03:00
ismailgulek
cf18e1bda9
Use call tile bg color 2021-04-28 13:46:55 +03:00
ismailgulek
2ff05ee81e
Add end call button for active calls 2021-04-27 14:50:58 +03:00
ismailgulek
e7ce0e53f9
Update connecting and ringing state strings 2021-04-27 14:35:56 +03:00
ismailgulek
badbeea0e8
Add leave action to call tiles 2021-04-21 14:52:51 +03:00
ismailgulek
c8224d2c2e
Adjust join button content insets 2021-04-21 13:58:15 +03:00
ismailgulek
b56acd10bc
Change action button font size to 17 2021-04-19 11:44:52 +03:00
ismailgulek
c91f2531a5
Change body font size to 13px 2021-04-19 11:41:06 +03:00
ismailgulek
764b2bdbeb
Change some colors to secondary 2021-04-19 11:36:11 +03:00
ismailgulek
850ad21a91
Update group call icon and title 2021-04-15 16:49:04 +03:00
ismailgulek
0f1d1023b5
Fix cell height for call tiles if read receipts displayed 2021-04-12 02:36:55 +03:00
ismailgulek
55faf7bdf3
Fix read receipts on call tiles 2021-04-12 01:27:38 +03:00
ismailgulek
59cbad8d75
Center align call tiles 2021-04-09 15:59:02 +03:00
ismailgulek
62b9ba0f4c
Fix icon and text colors on tiles 2021-04-09 15:23:46 +03:00
ismailgulek
f86cd04402
Increase icon spacing in call tile 2021-04-09 15:16:07 +03:00
ismailgulek
67fa1ab3b8
Merge branch 'develop' into voip_design_updates 2021-04-09 15:12:51 +03:00