Commit graph

1175 commits

Author SHA1 Message Date
SBiOSoftWhare
ac821f4930 RoomDataSource: Use RoomTimelineStyle to apply cell selection style. 2022-01-18 20:51:59 +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
6eb0f6c9ef vector-im/element-ios/issues/5114 - De-labs-ed polls, disabled editing and undisclosed polls until platform parity. 2022-01-18 20:05:10 +02:00
Stefan Ceriu
84c01c2735 vector-im/element-ios/issues/5114 - Cleanup + rename PollTimeline to TimelinePoll. 2022-01-18 20:05:10 +02:00
Stefan Ceriu
a23bd0da99 vector-im/element-ios/issues/5114 - Allow editing poll start events. 2022-01-18 20:05:10 +02:00
SBiOSoftWhare
ec0a1ca480 BubbleRoomTimelineCellDecorator: Fix CGFloat type issues. 2022-01-18 18:25:48 +01:00
SBiOSoftWhare
ce56391bc8 RoomDataSource: Update timestamp decoration. 2022-01-18 17:52:32 +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
19f3435bb5 RoomDataSource: Handle RoomTimelineCellDecorator. 2022-01-18 15:04:46 +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
7ff97f1173 BubbleReactionsView: Add alignement option (left or right). 2022-01-18 14:23:07 +01:00
SBiOSoftWhare
7b86a28fdd BubbleRoomCellLayoutUpdater: Update bubble height computation. 2022-01-14 11:15:38 +01:00
SBiOSoftWhare
9b02f6585e RoomBubbleCellData: Handle event merge configuration. 2022-01-14 11:14:50 +01:00
SBiOSoftWhare
d2ba53e37b RoomVC: Handle cell provider. 2022-01-14 10:23:15 +01:00
SBiOSoftWhare
893fd5f968 RoomDataSource: Handle extra cell layout update if needed. 2022-01-14 10:11:13 +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
Stefan Ceriu
52598a2eab Fixed ffmpeg-kit breaking changes after minor release, fixed version to 4.5.1 2022-01-06 13:31: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
e6379c8588 vector-im/element-ios/issues/5298 - Disable forwarding for location messages and allow replies. 2022-01-04 17:33:32 +02:00
Stefan Ceriu
352d56726e vector-im/element-ios/issues/5298 - Improved error messages and moved map configuration to the BuildSettings 2022-01-04 17:33:32 +02:00
Stefan Ceriu
f0cdbe5a7c vector-im/element-ios/issues/5298 - Attempting to set up cocoapods-keys. 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
574a155c80 vector-im/element-ios/issues/5298 - Added body message content keys and replaced plain string usages. 2022-01-04 17:33:32 +02:00
Stefan Ceriu
5a72750f8d vector-im/element-ios/issues/5298 - Replaced "msgtype" strings with new kMXMessageTypeKey. 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
Doug
3a9d35a50b Add AnalyticsScreenTimer and track more screens.
Update Analytics with new methods in MXAnalyticsDelegate.
2021-12-16 16:59:45 +00:00
Doug
7bdc146b82 Use matrix-analytics-events generated stubs (locally for now).
Track screens, removing any that aren't part of the schema.
2021-12-16 16:59:45 +00:00
Doug
23555b00fd Add specific methods to track analytics and test generated event types. 2021-12-16 16:59:45 +00:00
Doug
6f94303cdc Begin migration from Matomo to PostHog
Add CocoaPods-Keys.
2021-12-16 16:59:26 +00:00
SBiOSoftWhare
92d0c8d6c7 RoomMemberDetailsViewController: Fix user id theming. 2021-12-14 15:47:09 +01:00
SBiOSoftWhare
2a570d22b0
Merge pull request #5297 from vector-im/steve/4568_mxid_copy
RoomMemberDetailsViewController: Show user Matrix id and make it copyable
2021-12-14 12:47:40 +01:00
Stefan Ceriu
e6a417bcec vector-im/element-ios/issues/5114 - Prevent poll events from ever getting merged into other bubble data. 2021-12-10 15:55:17 +02:00
SBiOSoftWhare
ebf733831f RoomMemberDetails: Add safe area layout guides. 2021-12-10 14:02:09 +01:00
SBiOSoftWhare
f0e372f21f RoomMemberDetailsViewController: Refactor a property name. 2021-12-10 09:50:06 +01:00
SBiOSoftWhare
617603ba27 RoomMemberDetailsViewController: Show user Matrix id and make it copyable. 2021-12-10 09:29:09 +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
d3ea267b41 vector-im/element-ios/issues/4753 - Prevent unnecessary audio file conversions if final file already exists on disk. 2021-12-02 15:38:59 +02: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
SBiOSoftWhare
f9dcef37e0 Improve generated Swift header imports. 2021-11-25 23:11:53 +01:00
Doug
e324767d7d Merge branch 'master' into develop
# Conflicts:
#	Podfile.lock
#	Riot/Modules/Room/RoomViewController.m
2021-11-17 17:36:44 +00:00
Stefan Ceriu
88dba32a42 Fix build after changing aggregation method limits from UInt to Int in the SDK. 2021-11-16 13:41:41 +02:00
Stefan Ceriu
30ff8a65fb vector-im/element-ios/issues/5114 - Poll creation screen
- added input toolbar poll creation action.
- reordered input toolbar actions as per designs.
- added multiline text field and extracted common components.
2021-11-11 11:24:28 +02:00
Stefan Ceriu
c961a71f7f vector-im/element-ios/pull/5014 - Forward original message content and remove the need to re-upload media. 2021-11-09 10:41:21 +02:00
Phl-Pro
8246dc93e0
Merge branch 'develop' into phlpro/4722_objc_headers 2021-11-05 14:41:36 +01:00
Doug
fd93bb6fab
Merge pull request #5074 from vector-im/doug/5071_fix_presented_views
Fix more button not working.
2021-11-03 16:35:03 +00:00
SBiOSoftWhare
39c94682a9 Merge branch 'hotfix/1.6.7' into hotfix/1.6.7_2 2021-11-03 17:22:21 +01:00
Doug
458b8543cd Ensure DisabledRoomInputToolbarView is used. Fix previewing rooms. Fix favourited DMs in Home. 2021-11-03 10:18:27 +00:00
Doug
1415155eb6 Present alerts before assigning to currentAlert. 2021-11-01 15:05:02 +00:00
Finn Behrens
f284f2f983 Remember keyboard language for room
This adds a `textInputContextIdentifier` to the RoomViewController to save the current language per room.

Signed-off-by: Finn Behrens <me@kloenk.dev>
2021-10-31 19:58:21 +01:00
SBiOSoftWhare
22d48c7da6
Update Riot/Modules/Room/RoomInfo/RoomInfoCoordinator.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-29 15:42:19 +02:00
SBiOSoftWhare
e33f0779d2 RoomViewController: Fix a crash on before iOS 14. 2021-10-29 13:47:42 +02:00
SBiOSoftWhare
d967d35493 RoomSearchViewController: Fix setup. 2021-10-29 13:47:16 +02:00
SBiOSoftWhare
7b44443f1e RoomInfoListViewController: Weakify self in a closure. 2021-10-29 13:46:34 +02:00
SBiOSoftWhare
41eca48408 Weakify strong reference delegates. 2021-10-29 12:23:06 +02:00
SBiOSoftWhare
a05c488ed6 Update weak views usage. 2021-10-29 10:50:24 +02:00
SBiOSoftWhare
9fc412f41d RoomVC: Fix typo. 2021-10-28 18:51:25 +02:00
SBiOSoftWhare
24e0713f3e RoomCoordinator: Fix RoomVC reatin issue. 2021-10-28 18:01:30 +02:00
SBiOSoftWhare
03cdf3d732 RoomVC: Prevent retain cycles. 2021-10-28 17:41:16 +02: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