Commit graph

1395 commits

Author SHA1 Message Date
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
ismailgulek
a803aeb1b9
Merge branch 'ismail/5095_thread_search_results' into ismail/5096_thread_notifications 2021-12-10 11:14:55 +03:00
ismailgulek
2ef4e94f8a
Merge branch 'ismail/5094_thread_links' into ismail/5095_thread_search_results 2021-12-10 11:08:50 +03:00
ismailgulek
d5dc6928ea
Merge branch 'ismail/5092_thread_list' into ismail/5094_thread_links 2021-12-10 11:08:01 +03:00
ismailgulek
da9407f062
Merge branch 'ismail/5117_thread_message_actions' into ismail/5092_thread_list 2021-12-10 11:07:27 +03:00
ismailgulek
1f918c921d
Merge branch 'ismail/5068_start_thread' into ismail/5117_thread_message_actions 2021-12-10 11:03:00 +03:00
ismailgulek
1d57a5b6f9
Display threaded events as replies if threads disabled, fix #5266 2021-12-09 16:58:20 +03:00
ismailgulek
d7b18bb223
Apply MatrixKit PR changes 2021-12-09 16:57:43 +03:00
ismailgulek
e3a47a59f9
Merge branch 'develop' into ismail/5068_start_thread 2021-12-09 15:25:14 +03:00
ismailgulek
50f7a01150
Disable thread filtering on regular timeline when threads disabled 2021-12-09 15:11:07 +03:00
Stefan Ceriu
d5982e813b vector-im/element-ios/issues/5114 - Polls in the timeline. 2021-12-09 09:37:02 +02:00
ismailgulek
075495f20a
Hide jump to unread button on threads, override scroll to bottom action, fix #5264 2021-12-08 16:04:11 +03:00
ismailgulek
cd91378845
Hide typing notifications in threads, fix #5271 2021-12-08 14:45:44 +03:00
ismailgulek
e5934227ae
Hide read receipt avatars on threads, fix #5239 2021-12-08 13:31:01 +03:00
ismailgulek
21f843cfb8
Use simpler methods for thread check 2021-12-07 05:18:13 +03: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
ismailgulek
9eef855e7c
Clear highlighted event when view gone 2021-12-03 02:41:01 +03:00
ismailgulek
42185a2ec2
Use attributed string for thread last message 2021-12-03 00:55:13 +03:00
ismailgulek
1fac638bfd
Mark thread as read when viewed 2021-12-02 16:57:41 +03: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
ismailgulek
ac29d71634
Update logic for thread list bar button item 2021-12-02 14:45:23 +03:00
ismailgulek
2ddb6540cc
Create BadgedBarButtonItem class and use it for thread list item 2021-12-01 17:24:47 +03:00
ismailgulek
7bd988317e
Use thread image as template 2021-12-01 17:23:53 +03:00
ismailgulek
385a9ac610
Navigate to thread view for search results in threads 2021-12-01 01:22:16 +03:00
SBiOSoftWhare
4081da3ebc Update all Objective-C MatrixKit imports to handle new location. 2021-11-30 16:09:53 +01:00
ismailgulek
ad5a21edfc
Just highlight event when possible instead of reloading data source 2021-11-30 14:13:57 +03:00
ismailgulek
11ba0958b1
Merge branch 'ismail/5092_thread_list' into ismail/5094_thread_links 2021-11-30 01:54:56 +03:00
ismailgulek
7f53684742
Merge branch 'ismail/5117_thread_message_actions' into ismail/5092_thread_list 2021-11-30 01:34:44 +03:00
ismailgulek
88ab52c3f3
Merge branch 'ismail/5068_start_thread' into ismail/5117_thread_message_actions 2021-11-30 01:34:21 +03:00
ismailgulek
d935ca3fd6
Merge branch 'develop' into ismail/5068_start_thread 2021-11-30 01:33:51 +03:00
ismailgulek
5edcb644ea
Make remove actions destructive & move remove action to the bottom 2021-11-30 01:29:52 +03:00
ismailgulek
ed78757991
Merge branch 'ismail/5119_thread_root_removal' into ismail/5094_thread_links 2021-11-30 01:14:51 +03:00
ismailgulek
42a653309b
Merge branch 'ismail/5117_thread_message_actions' into ismail/5119_thread_root_removal 2021-11-30 01:14:23 +03:00
ismailgulek
4c2e8485d7
Fix alert 2021-11-30 01:14:05 +03:00
ismailgulek
24fe4a51ec
Display room title view for non-live timelines too 2021-11-30 01:13:14 +03:00
ismailgulek
1033271be1
Highlight initial event in the thread view 2021-11-30 00:31:28 +03:00
SBiOSoftWhare
3e6df9749c Remove MatrixKit import from Swift files. 2021-11-29 17:50:30 +01:00
ismailgulek
a16eac19da
Add threadId to room identification 2021-11-29 18:12:20 +03:00
ismailgulek
b779bf477b
Merge branch 'ismail/5092_thread_list' into ismail/5094_thread_links 2021-11-26 01:46:32 +03:00
ismailgulek
65335ce825
Merge branch 'ismail/5117_thread_message_actions' into ismail/5092_thread_list 2021-11-26 01:45:37 +03:00
ismailgulek
7cfa67b704
Merge branch 'ismail/5068_start_thread' into ismail/5117_thread_message_actions 2021-11-26 01:43:44 +03:00
ismailgulek
68ac7cd49d
Adapt to event changes 2021-11-26 01:42:53 +03:00
SBiOSoftWhare
f9dcef37e0 Improve generated Swift header imports. 2021-11-25 23:11:53 +01:00
ismailgulek
7b57570119
Implement actions for a thread 2021-11-25 14:55:44 +03:00
ismailgulek
310841704b
Fix view in room thread action when navigated from thread list 2021-11-22 17:36:28 +03:00
ismailgulek
e8222ad50c
Merge branch 'ismail/5117_thread_message_actions' into ismail/5092_thread_list 2021-11-22 14:59:07 +03:00
ismailgulek
415cf36854
Merge branch 'ismail/5068_start_thread' into ismail/5117_thread_message_actions 2021-11-22 12:26:41 +03:00
ismailgulek
fc87a3534d
Move more button out of the title view & remove weird constraints 2021-11-22 12:22:53 +03:00
ismailgulek
e7190f426f
Don't show thread list button in threads 2021-11-22 11:46:45 +03:00
ismailgulek
08f43e5bcb
Display thread when row tapped 2021-11-19 17:51:40 +03:00
ismailgulek
081a1261d4
Refactor title view 2021-11-19 16:32:42 +03:00
ismailgulek
93509b2e36
Introduce view model for thread title view 2021-11-19 16:32:20 +03:00
ismailgulek
2873d1586e
Merge branch 'ismail/5117_thread_message_actions' into ismail/5092_thread_list 2021-11-19 14:46:51 +03:00
ismailgulek
6751896304
Fix alert 2021-11-19 14:43:38 +03:00
ismailgulek
f56be33f5a
Move view in room action to the top most 2021-11-19 14:37:09 +03:00
ismailgulek
ec666f25a7
Allow dismissal of pushed coordinator 2021-11-19 14:35:46 +03:00
ismailgulek
5238165e63
Merge branch 'ismail/5068_start_thread' into ismail/5117_thread_message_actions 2021-11-19 14:35:11 +03:00
ismailgulek
c9f018f046
Push thread view instead of presenting 2021-11-19 14:19:23 +03:00
ismailgulek
8200882142
Merge branch 'ismail/5117_thread_message_actions' into ismail/5092_thread_list 2021-11-19 02:17:53 +03:00
ismailgulek
4297c6ae4d
Merge branch 'ismail/5068_start_thread' into ismail/5117_thread_message_actions 2021-11-19 02:17:21 +03:00
ismailgulek
484ec0a938
Fix build 2021-11-19 02:17:01 +03:00
ismailgulek
1d76c39f57
Merge branch 'ismail/5117_thread_message_actions' into ismail/5092_thread_list 2021-11-19 00:24:38 +03:00
ismailgulek
a0d7e1fa33
Merge branch 'ismail/5068_start_thread' into ismail/5117_thread_message_actions 2021-11-19 00:24:02 +03:00
ismailgulek
8723a69528
Merge branch 'develop' into ismail/5068_start_thread 2021-11-19 00:23:24 +03:00
ismailgulek
4ad5e9b4b4
Refactor summary view to be configurable via a view model 2021-11-18 17:46:14 +03:00
Doug
e324767d7d Merge branch 'master' into develop
# Conflicts:
#	Podfile.lock
#	Riot/Modules/Room/RoomViewController.m
2021-11-17 17:36:44 +00:00
ismailgulek
485227b94e
Generate classes 2021-11-16 17:14:57 +03:00
ismailgulek
7c7706a607
Merge branch 'ismail/5068_start_thread' into ismail/5117_thread_message_actions 2021-11-16 15:55:57 +03: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
ismailgulek
342372b81d
Move copy action into the more action sheet if threading enabled for an event 2021-11-15 17:44:21 +03:00
ismailgulek
c3adbbd7a7
Merge branch 'ismail/5068_start_thread' into ismail/5117_thread_message_actions 2021-11-15 13:51:11 +03:00
ismailgulek
cc466501b6
Highlight thread root event in the timeline 2021-11-15 13:50:08 +03:00
ismailgulek
1f5f8d1ba4
Hide thread context menu in the thread 2021-11-12 17:30:31 +03:00
ismailgulek
6dd5bf60a6
Implement bridge presenter delegate for opened thread 2021-11-12 17:26:49 +03:00
ismailgulek
ed390db60a
Add new action for the thread root event in thread view 2021-11-12 17:25:58 +03:00
ismailgulek
3766c49e74
Add eventId parameter to delegates 2021-11-12 17:24:58 +03:00
ismailgulek
8d4521143e
Reload data source only after initialization 2021-11-11 22:38:41 +03:00
ismailgulek
7223ed40ed
Reload data source when a new thread created 2021-11-11 22:28:29 +03:00
ismailgulek
a319f076b1
Merge branch 'develop' into ismail/5068_start_thread 2021-11-11 21:43:16 +03:00
ismailgulek
ce6763b6bb
Add a to-do for a bad code 2021-11-11 15:25:21 +03:00
ismailgulek
1126ae995b
Present threads with custom sized presentable 2021-11-11 15:17:01 +03:00
ismailgulek
635826e5de
Use full title mode for now 2021-11-11 15:02:01 +03: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
ismailgulek
c8ad2be1d4
Update title view mode according to thread status 2021-11-11 01:39:14 +03:00
ismailgulek
16b1c8711f
Dismiss thread when close tapped 2021-11-11 01:07:12 +03:00
ismailgulek
c4fbb51fb8
Load correct instance of RoomViewController from the storyboard 2021-11-11 01:06:00 +03:00
ismailgulek
0c195e1f8f
Create specific title view for threads 2021-11-11 01:05:03 +03:00
ismailgulek
be95c95151
Introduce RoomDisplayConfiguration for room display options 2021-11-10 18:03:02 +03:00
ismailgulek
fe1b6d1e50
Implement opening thread modal when tapped 2021-11-10 15:42:42 +03:00
ismailgulek
a049bb9a17
Implement thread filtering logic in RoomDataSource 2021-11-10 13:38:32 +03:00
ismailgulek
79e8c68f89
Add ThreadSummaryView into the cell 2021-11-09 16:50:22 +03:00
ismailgulek
e162f782f5
Create ThreadSummaryView 2021-11-09 16:50:02 +03:00
ismailgulek
d80aba0793
Add thread option to an event if the labs setting enabled 2021-11-09 15:24:08 +03:00
ismailgulek
f25c382511
Add additional height in the cell for thread summary view 2021-11-09 14:46:35 +03: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
ismailgulek
0a8952170a
Initialize thread data source 2021-11-04 02:07:50 +03: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
ismailgulek
788e817617
Add context menu item 2021-11-03 13:36:18 +03: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
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
SBiOSoftWhare
0d1f8305e9 Rename UniversalLinkPresentationParameters to ScreenPresentationParameters. 2021-10-21 10:00:37 +02:00
SBiOSoftWhare
ee573879a3 Merge develop into 4734_room_stack 2021-10-20 11:14:52 +02:00
SBiOSoftWhare
cb3025da19 RoomVC: Fix typo. 2021-10-20 09:21:02 +02:00
SBiOSoftWhare
9d6946ddf1 RoomVC: Update with UniversalLinkPresentationParameters. 2021-10-20 07:32:04 +02:00
ismailgulek
61ce79e50a
Merge branch 'develop' into ismail/4384_room_summary_store 2021-10-19 16:40:34 +03:00
Stefan Ceriu
6f7a9145e4
Merge pull request #5014 from vector-im/stefan/messageForwarding
Message forwarding
2021-10-19 16:17:07 +03:00
ismailgulek
5d08c2e196
Merge branch 'develop' into ismail/4384_room_summary_store 2021-10-19 14:01:32 +03:00
SBiOSoftWhare
c62470bc3c RoomVC: Remove temporary space universal link handling. 2021-10-19 12:29:59 +02: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
12c167ba6c vector-im/element-ios/issues/5009 - Implemented multi-room forwarding and added various tweaks following code review. 2021-10-18 16:40:53 +03:00
Stefan Ceriu
e3f1bd25a9 vector-im/element-ios/issues/5009 - Refactored away the NSExtensionContext dependency from the ShareManager. Introduced different ShareItemProviders for the share extension and the main application. Improved item loading error handling. 2021-10-18 16:40:53 +03:00
Stefan Ceriu
aa790b24a8 vector-im/element-ios/issues/5009 - Fixed share extension setup and cleaned up code. 2021-10-18 16:40:53 +03:00
Stefan Ceriu
d7ab73524f vector-im/element-ios/issues/5009 - Moved files around, cleaned up imports and logs. 2021-10-18 16:40:53 +03:00
Stefan Ceriu
b6514349fb vector-im/element-ios/issues/5009 - Refactored share extension and started using the shared code directly in the main application. 2021-10-18 16:40:48 +03:00
ismailgulek
ef764ef3a8
Merge branch 'develop' into ismail/4384_room_summary_store 2021-10-15 12:07:21 +03:00
Doug
fca940ed54
Merge pull request #5003 from vector-im/doug/5002_stop_requesting_url_previews
Stop requesting URL previews if the homeserver has disabled the feature.
2021-10-14 17:44:18 +01:00
SBiOSoftWhare
5bd1d6a44f Merge branch 'develop' into steve/4734_room_stack 2021-10-14 16:21:03 +02:00
Doug
02753aaf8c Add tags to URLPreviewView and BubbleReactionsView so their highlight behaviour matches their bubble component.
Fix bug setting text alpha.
2021-10-13 14:05:06 +01:00
Doug
842125469d Stop requesting URL previews if the feature has been disabled on the homeserver. 2021-10-13 12:51:15 +01:00
ismailgulek
ba53cb6d41
Merge branch 'develop' into ismail/4384_room_summary_store 2021-10-13 14:34:20 +03: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
109a4e7157 #1098 - Added user suggestions to the main app timeline. 2021-10-13 11:25:36 +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
SBiOSoftWhare
2ad354e83e RoomCoordinator: Update RoomViewControllerDelegate conformance. 2021-10-12 19:21:19 +02:00
SBiOSoftWhare
28278ab47d RoomVC: Update universal link management with UniversalLinkParameters. 2021-10-12 19:12:08 +02:00
manuroe
8fad0be309 Merge remote-tracking branch 'origin/master' into develop 2021-10-12 13:43:16 +02:00
ismailgulek
678f7e2e96
Merge branch 'develop' into ismail/4384_room_summary_store 2021-10-12 14:30:25 +03:00
Stefan Ceriu
fa05233998 Fixes #4976 - Replaced HPGrowingTextView with GrowingTextView. Reduced inheritance chain. 2021-10-12 14:17:06 +03:00
ismailgulek
58df3d3309
Merge branch 'develop' into ismail/4384_room_summary_store 2021-10-12 11:49:55 +03:00
ismailgulek
e24d7fffcf
Convert number to a string 2021-10-11 22:01:26 +03:00
SBiOSoftWhare
f891cce4bb
Merge pull request #4960 from vector-im/steve/4734_master_tab_bar_refacto
Split view: Improve detail view management and add possibility to stack views on it
2021-10-11 17:23:20 +02:00
SBiOSoftWhare
feef2baa95 NavigationStore: Update public method signature. 2021-10-08 17:15:14 +02:00
SBiOSoftWhare
119186bb6b RoomCoordinator: Refactor room loading methods. 2021-10-08 16:00:56 +02:00
ismailgulek
efb495e95f
Merge branch 'develop' into ismail/4384_room_summary_store 2021-10-08 16:59:25 +03:00
Stefan Ceriu
1d53e95a49 Fixes #4970 - Fixed unintentional voice message drafts on automatically cancelled recordings. 2021-10-08 16:28:42 +03:00
SBiOSoftWhare
f83aba6c79 RoomCoordinatorProtocol: Update comment description. 2021-10-08 13:47:40 +02:00
Stefan Ceriu
093b10bfc5 Fixes #4935 - Enable voice message scrubbing pan gesture only after long press. 2021-10-08 14:18:53 +03:00
SBiOSoftWhare
6d48a7e9c7
Update Riot/Modules/Room/RoomCoordinatorBridgePresenter.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-08 11:43:51 +02:00
SBiOSoftWhare
2e1e3abed2
Update Riot/Modules/Room/RoomCoordinatorBridgePresenter.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-08 10:56:49 +02:00
SBiOSoftWhare
5e56f332ef
Update Riot/Modules/Room/RoomCoordinator.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-08 10:55:27 +02:00
Stefan Ceriu
d6ffc55477 vector-im/element-ios/issues/4899 - Fixed various localization issues. 2021-10-08 11:33:13 +03:00
SBiOSoftWhare
8c338c981e RoomCoordinator: Add setup completion on start methods to fit LegacyAppDelegate calls. 2021-10-05 17:35:15 +02:00
ismailgulek
9e1bef0d51
Merge branch 'develop' into ismail/4384_room_summary_store 2021-10-05 13:48:25 +03:00
SBiOSoftWhare
35d246642b Add RoomCoordinator. 2021-10-05 10:48:52 +02:00
SBiOSoftWhare
3d75153bc1 Use NavigationRouterStore where needed. 2021-10-05 10:48:52 +02:00
SBiOSoftWhare
815106f831 Split view: Set navigationItem.leftItemsSupplementBackButton to YES for view controllers used as detail. 2021-10-05 10:48:51 +02:00
manuroe
2735166155 Merge branch 'master' into develop 2021-09-30 23:51:17 +01:00
ismailgulek
129eb9553c
Merge branch 'develop' into ismail/4384_room_summary_store 2021-09-30 12:35:46 +03:00
Stefan Ceriu
2c0bf1e80f vector-im/element-ios/issues/4899 - Fixed various localization issues. 2021-09-30 09:40:12 +03: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
b4569296ac Check whether URL previews should be shown in a single location.
Reset all cell data when this setting is changed to force a refresh.
Rename `hasClosedPreview(from:)` to `shouldShowPreview(for:)` for clarity and potentially adding more rules at a later date.
2021-09-29 11:39:11 +01:00
Doug
4198fa096a Add invalidateLayout to RoomBubbleCellData. 2021-09-29 10:36:35 +01:00
SBiOSoftWhare
e3d649c4ea AvatarViewData: Make mediaManager property optional. 2021-09-29 11:28:13 +02:00
ismailgulek
bc1d0d7172
Merge branch 'develop' into ismail/4384_room_summary_store 2021-09-28 17:30:39 +03:00
Doug
66c92fbe03 Use bubbleComponentWithLinkForEventId: in RoomDataSource. 2021-09-27 18:43:53 +01:00
Doug
f44e1b098e Move URL preview properties from RoomBubbleCellData in MXKRoomBubbleComponent.
Stop breaking up the bubble data for links now that vertical whitespace is added.
2021-09-27 18:15:48 +01:00
Doug
b35838e268 Merge branch 'develop' into doug/4896_url_previews_string_whitespace 2021-09-27 14:44:17 +01:00
Doug
9c7284c832 Rename refreshAttributedTextMessage to makeAttributedString to indicate that it doesn't affect the attributedTextMessage. 2021-09-24 17:06:50 +01:00
Doug
574779fff3 Rename setNeedsUpdateContent to invalidateTextLayout. 2021-09-24 15:33:04 +01:00
Doug
6293efc155 Use setNeedsUpdateContent instead of setting the attributed string to nil. 2021-09-24 15:19:24 +01:00
Gil Eluard
36541a4dab Try to fix CI build issues 2021-09-23 21:33:23 +02:00
Gil Eluard
578dce8590 Try to fix CI build issues 2021-09-23 21:06:29 +02: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
ca7bf18f76 [Spaces] M10.6.1 Handle space link #4498
- Update after code review
2021-09-23 17:15:32 +02:00
Gil Eluard
cc8ac58fd5 Merge branch 'spaces' into gil/4498_Handle_space_link 2021-09-23 15:26:29 +02:00
Gil Eluard
cf51612864 Merge branch 'develop' into spaces 2021-09-23 15:26:06 +02:00
David Langley
53563c996f
Merge pull request #4892 from vector-im/langleyd/4772_voice_message_drafts
Voice message draft persistence
2021-09-23 11:21:26 +00:00
David Langley
eb92cc9cf8 use roomId for audioPlayerId, remove dead code, make functions private. 2021-09-23 10:55:35 +01:00
David Langley
0df653e244
Merge pull request #4878 from vector-im/langleyd/4774_voice_message_scrubbing
Langleyd/4774 voice message scrubbing
2021-09-23 09:35:38 +00:00
David Langley
c1fd40c5bb Remove space 2021-09-23 09:39:09 +01:00
David Langley
007f72d51e Use RoomId for room by room drafts. 2021-09-23 08:48:15 +01:00
David Langley
442708524e Simplify scrubbing logic. 2021-09-22 16:26:20 +01:00
Gil Eluard
4d1dd1eb0a Merge branch 'gil/pre_release_fixes' into gil/4498_Handle_space_link 2021-09-22 16:58:28 +02:00
Stefan Ceriu
6111382a63 Merge branch 'develop' into stefan/4881-configurable-app-name-localization-strings
# Conflicts:
#	Riot/Generated/Strings.swift
2021-09-22 17:17:05 +03:00
Stefan Ceriu
388d828c2b Fixes #4881 - Replaced InfoPlist.cfBundleDisplayName with AppInfo.current.displayName and removed the now unused InfoPlist generated class. 2021-09-22 16:59:47 +03:00
Gil Eluard
f6ea4da656 Merge branch 'develop' into spaces
# Conflicts:
#	Riot/Assets/en.lproj/Vector.strings
2021-09-22 15:39:06 +02:00
Gil Eluard
14f0533a5a [Spaces] M10.6.1 Handle space link #4498
- Fixed universal links
- Added support for space links
2021-09-22 14:58:19 +02:00
David Langley
3bb50d2a35 Build on xcode 12 2021-09-22 13:53:26 +01:00
David Langley
87e84d2f6c Merge branch 'develop' of github.com:vector-im/element-ios into langleyd/4774_voice_message_scrubbing 2021-09-22 13:17:32 +01:00
Stefan Ceriu
0848f66cdb Fixes #4881 - Using the bundle display name as the app name in localizable .strings files. Exposing generated .strings and info.plist members to Objective-C. 2021-09-22 14:10:16 +03:00
David Langley
f87c28318d Simplify scrubbing and reset to stopped if scrub to start/end 2021-09-22 11:12:45 +01:00
David Langley
d3fb3a7e40
Merge pull request #4876 from vector-im/langleyd/4773_pause_resume_voice_messages
Add Pause/Resume support between rooms.
2021-09-22 09:38:35 +00:00
ismailgulek
c71386a2ba
Adapt sentStatus changes 2021-09-22 11:41:22 +03:00
David Langley
87cd6fa209 Add scrubbing 2021-09-22 09:36:20 +01:00
David Langley
1ddd420781 Add Pause/Resume support between rooms. 2021-09-21 15:52:53 +01:00
Stefan Ceriu
abb3259608 Fixes #4830 - Automatically dismissing invites for empty rooms after failing to join. 2021-09-21 16:28:48 +03:00
Gil Eluard
84bdf88fe1 Merge branch 'develop' into spaces 2021-09-20 10:18:01 +02:00
SBiOSoftWhare
521d75e5b7
Merge pull request #4814 from vector-im/steve/4734_room_vc_refacto
RoomVC: Add a delegate, factorize and reduce usage of AppDelegate
2021-09-17 15:58:05 +02:00
SBiOSoftWhare
bdecdfb518 RoomVC: Fix comment mistake. 2021-09-17 14:21:27 +02:00
SBiOSoftWhare
f8e9d15a4a RoomVC: Remove unnecessary nonnull. 2021-09-17 14:19:38 +02:00
SBiOSoftWhare
5859647ddf
Update Riot/Modules/Room/RoomViewController.h
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2021-09-17 13:21:53 +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
a926960970 Merge branch 'develop' into spaces 2021-09-16 15:47:32 +02:00
manuroe
77fc814221 Merge remote-tracking branch 'origin/master' into develop 2021-09-16 15:01:40 +02: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
721e5daa23 Override hasLink in RoomBubbleCellData to only check the last component. 2021-09-13 17:47:52 +01:00
Doug
2b11d4d325 Ensure the last bubble component has a link before loading the URL preview. 2021-09-13 16:49:34 +01:00
SBiOSoftWhare
353cb425b2 Merge branch 'develop' into steve/4734_nav_room_stack
# Conflicts:
#	Riot/Modules/Room/RoomViewController.m
2021-09-09 16:45:35 +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
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
SBiOSoftWhare
6abab61531 RoomVC: Add a delegate, factorize and reduce usage of AppDelegate. 2021-09-07 17:43:49 +02: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
Doug
7448ca1002 Observe URL preview update notification in RoomViewController.
Update bubbleTableView's content offset when a preview above the bottom most visible cell changes the height of the table's content.
2021-09-07 14:49:51 +01:00
Doug
e8bc470bd2 Add MediaCompressionHelper.defaultCompressionMode for use in RoomViewController. 2021-09-07 14:46:02 +01:00
Doug
46b79bec45 Add comments. 2021-09-06 18:15:55 +01:00
Doug
a300cab626 Merge branch 'develop' into doug/4479_media_size_selection
# Conflicts:
#	Riot/Managers/Settings/RiotSettings.swift
2021-09-06 17:04:22 +01:00
Stefan Ceriu
f2dd0e256b Revert "#4693 - Drop iOS 11 support."
This reverts commit a2b359f219.
2021-09-06 18:24:26 +03:00
Doug
55df9303de Fix potentially redundant table reloading. 2021-09-03 18:18:36 +01:00
Doug
434657ea6b Fix reactions beneath URL previews. 2021-09-03 12:07:29 +01:00
Doug
7db81ccf2a Break-up cell data after a link even if the new event isn't a message. 2021-09-03 11:52:57 +01:00
Doug
80f8cc6dac Hide the loading state on error. 2021-09-03 11:32:09 +01:00
Doug
be83d8e2f6 Fix edits to previewable links not working. 2021-09-03 11:21:07 +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
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
David Langley
55c515fe4a Merge branch 'develop' of https://github.com/vector-im/element-ios into langleyd/4776_extract_swiftui 2021-09-02 10:14:11 +01:00
David Langley
43ad395e8d move full module and reorganize folders 2021-09-02 10:00:59 +01:00
Gil Eluard
be960960db [Spaces] M10.8 Browsing users in a space #4682
- Update after design review
2021-09-02 11:24:07 +03:00
Stefan Ceriu
c5e53d178e Moved converted voice messages to their own folder. Cleaning up all temporary files on reload and logout. 2021-09-01 17:08:07 +03:00
Stefan Ceriu
a786cbb90a #4693 - Drop iOS 11 support. 2021-09-01 15:55:41 +03:00
David Langley
790301ccb6 Finish extraction
- Moves SwiftUI code out of Riot and into RiotSwiftUI which has no dependency on Matrix SDK.
- Git wasn't smart enough to see the file moves. Most feature function has remain unchanged. 1 change I did make was remove NotificationSettingsViewModel's dependence on MxPushRule, so that the view model could be moved into RiotSwiftUI.
- Add LocaleProvider to abstract VectorL10n's use of Matrix SDK language so it can be used in RiotSwiftUI.
- Split Theme into UKit/SwiftUI version to remove RiotSwiftUI's dependence on ThemeService and ThemeV1.
- Migrated from ThemeObserver to ThemePublisher. We push updates to ThemePublisher so that we can remove ThemeService as dependency.
- Add .DS_Store to .gitignore
2021-09-01 12:34:38 +01: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
04c63d4e33 Merge branch 'develop' into doug/4479_media_size_selection
# Conflicts:
#	Riot/Assets/en.lproj/Vector.strings
2021-08-27 16:30:01 +01:00
Doug
99d66f0c0a Merge branch 'develop' into doug/4479_media_size_selection 2021-08-27 16:28:15 +01:00
David Langley
fb67c9d235 Extract and start to split theme. 2021-08-27 16:26:56 +01:00
David Langley
45540f1d4f
Merge pull request #4752 from vector-im/langleyd/4467_account_notification_settings
Account Notification Settings and Keywords
2021-08-26 11:07:11 +01:00
Stefan Ceriu
495ce11569 Fixes #4748 - Fixed cached callbacks race condition, serialized all async operations, properly cleaning up callbacks on failure. 2021-08-25 14:03:42 +03: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
Doug
ad1044cb9a Merge branch 'develop' into doug/4479_media_size_selection 2021-08-23 12:49:28 +01:00
Doug
b61135ffb7 Merge branch 'develop' into doug/4479_media_size_selection 2021-08-23 12:49:06 +01:00
Doug
fc75307c54 Combine confirm image/video size settings into one. 2021-08-23 11:16:32 +01:00
Gil Eluard
91d9169da6 [Spaces] M10.8 Browsing users in a space #4682
- Added navigation to member detail page
2021-08-22 08:48:54 +03:00
David Langley
d81f4ad23c
Merge pull request #4670 from vector-im/langleyd/4669_room_notification_settings_swiftui 2021-08-18 17:51:39 +01:00
Doug
22382e955b Merge branch 'develop' into doug/888_add_url_previews 2021-08-18 16:47:22 +01:00
Stefan Ceriu
f33dd76930 Fixes #4714 - Flickering voice message cells while being sent. 2021-08-18 14:58:32 +03:00
David Langley
26278f1556 indentation 2021-08-18 12:48:04 +01:00
David Langley
19ff75ddaf Fix imports and move logic to AvatarViewModel 2021-08-18 12:45:13 +01:00
David Langley
29b436f9a8 Add NotificationSettings and Keywords UI and VM 2021-08-18 09:33:56 +01:00
David Langley
48d69ba041 run template, add entrypoint and update BuildSetting 2021-08-17 15:00:20 +01:00
David Langley
666e8364c0 Move SwiftUI version of ViewModel to a subclass 2021-08-17 13:19:27 +01:00
David Langley
de33b607b0 Add activity indicator 2021-08-17 11:44:08 +01:00
Doug
661b53622d Merge branch 'develop' into doug/888_add_url_previews 2021-08-17 10:29:30 +01:00
David Langley
ef25ef54dd Add dependency management, AvatarViewModel and placeholder rendering now in AvatarImage. 2021-08-17 10:19:41 +01:00
Doug
9031412c02 Add an (optional) prompt when sending a video to select its size.
Use high quality when filming video in-app.
2021-08-16 17:48:26 +01:00
Gil Eluard
3b1c0119b7 [Spaces] M10.7 Explore rooms #4571
- Update after design review
2021-08-16 15:44:44 +02:00
David Langley
57969ea827 Merge branch 'develop' of github.com:vector-im/element-ios into langleyd/4669_room_notification_settings_swiftui 2021-08-16 13:00:41 +01:00
Doug
b7245935a1 Merge branch 'develop' into doug/4479_media_size_selection
# Conflicts:
#	Riot/Managers/Settings/RiotSettings.swift
2021-08-16 10:01:54 +01:00
David Langley
e70987d8a7 Do avatar placeholder in SwiftUI, Add AvatarViewModel, Add dependency injection for MxMediaManager dependency. 2021-08-15 00:36:15 +01:00
Stefan Ceriu
fc11b3476a Fixes #1482 - Popping the user back to the home screen after leaving a room. 2021-08-13 17:57:50 +03:00
David Langley
a388db0412 Fix header font size 2021-08-12 17:51:50 +01:00
David Langley
a20fa1c338 Typo 2021-08-12 17:10:19 +01:00
David Langley
b792af6594 Cleanup from comments 2021-08-12 16:57:19 +01:00
David Langley
3dfdb0fa83 Fix avatar service not returning generated image on network error. Fix padding and make nav buttons private. 2021-08-12 13:49:56 +01:00
David Langley
33aea8588f Remove visibility modifier 2021-08-12 12:42:26 +01:00
David Langley
7d1b893db6 Merge branch 'develop' of github.com:vector-im/element-ios into langleyd/4669_room_notification_settings_swiftui 2021-08-12 11:52:50 +01:00
David Langley
c6ba23ec70 Add theming support, and support for other top level configuration to swiftui views with VectorHostingViewController, VectorContentModifier. Add VisibilityModifier. Move from List to VStack. 2021-08-12 11:52:06 +01:00
ismailgulek
058b819daf
Use new strings for ended calls 2021-08-06 16:20:10 +03:00
David Langley
5672f17819 Merge branch 'develop' of github.com:vector-im/element-ios into langleyd/4669_room_notification_settings_swiftui 2021-08-06 13:52:55 +01: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
Stefan Ceriu
8923f0c8db Fixes voice message audio quality. 2021-08-06 14:22:52 +03:00
David Langley
b866f09f35 merge, finish swiftui and add theming 2021-08-06 00:27:13 +01:00
Stefan Ceriu
5551bac29f #4655 - Localized lock screen voice message name placeholder. 2021-08-05 16:55:02 +03:00
ismailgulek
8246350592 Update Riot/Modules/Room/VoiceMessages/VoiceMessageMediaServiceProvider.swift
Co-authored-by: Stefan Ceriu <stefanc@matrix.org>
2021-08-05 16:55:02 +03:00
ismailgulek
48938a6131 Fix room avatar 2021-08-05 16:55:02 +03:00
Stefan Ceriu
84a9e76173 #4656 - Stop recording voice message and go into locked mode when the application becomes inactive. Updated changes.rst. 2021-08-05 16:55:02 +03:00
Stefan Ceriu
66d6a1a2b2 #4655 - Allowing voice message playback to be controlled from the lock screen or the control center. 2021-08-05 16:55:02 +03:00