Commit graph

2898 commits

Author SHA1 Message Date
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
0a95788731 #1098 - Removed vectorHostingController background color. 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
56a7da7759 #1098 - Fixed iOS 15 issues. 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
ismailgulek
6a047f98fb
Improve tab switching performance 2021-10-12 22:56:52 +03:00
ismailgulek
ed3645f1db
Improve mocking performance 2021-10-12 22:42:16 +03:00
ismailgulek
bb1845acce
Merge remote-tracking branch 'origin/ismail/4384_room_summary_store' into ismail/4384_room_summary_store 2021-10-12 21:25:26 +03:00
ismailgulek
8bb1de192c
Refactor cell data arrays 2021-10-12 21:25:15 +03:00
SBiOSoftWhare
bbf1bf7c7c Update room display management where needed. 2021-10-12 19:22:46 +02:00
SBiOSoftWhare
2ad354e83e RoomCoordinator: Update RoomViewControllerDelegate conformance. 2021-10-12 19:21:19 +02:00
SBiOSoftWhare
85023dc271 LegacyAppDelegate: Update universal link management with UniversalLinkParameters. And handle show room with RoomPresentationParameters and room preview with RoomPreviewPresentationParameters. 2021-10-12 19:20:39 +02:00
SBiOSoftWhare
4805516cf9 TabBarCoordinator: Update RoomViewControllerDelegate conformance. Handle RoomPresentationParameters and RoomPreviewPresentationParameters. 2021-10-12 19:15:35 +02:00
SBiOSoftWhare
28278ab47d RoomVC: Update universal link management with UniversalLinkParameters. 2021-10-12 19:12:08 +02:00
SBiOSoftWhare
da80f4e315 MasterTabBarController: Use RoomPresentationParameters and RoomPreviewPresentationParameters input parameters and selecting a room. 2021-10-12 19:10:30 +02:00
SBiOSoftWhare
bb6283554f Add RoomPresentationParameters and RoomPreviewPresentationParameters to display a room or room preview with identifiers and presentation configuration. 2021-10-12 19:09:18 +02:00
SBiOSoftWhare
6381f2e7ac Add UniversalLinkParameters. 2021-10-12 19:07:44 +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
Doug
17110e2a91 Move call to validateSyncLocalContactsState into MatrixKit. 2021-10-12 11:17:20 +01: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
Doug
93e70896ba
Merge pull request #4980 from vector-im/doug/4978_room_avatar_colours
Fix generated avatar colours not matching Element Web.
2021-10-11 16:54:17 +01: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
Doug
bd56dbe731 Fix generated avatar colours not matching Element Web. 2021-10-11 16:06:15 +01:00
SBiOSoftWhare
52fafa1132
Update Riot/Modules/TabBar/TabBarCoordinator.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-11 11:11:13 +02:00
Doug
60bc34d26d
Merge pull request #4709 from vector-im/doug/4484_contacts_access
Add FindYourContactsFooterView to ContactsTableViewController
2021-10-11 10:09:39 +01:00
Gil Eluard
691bf34c28 [Spaces] M10.4.1 Home space data filtering #4570
- Improved visual feedback when switching home settings
2021-10-11 09:52:21 +02:00
Gil Eluard
151a48e0b7 Merge branch 'develop' into gil/4570_home_space_data_filtering 2021-10-11 09:21:48 +02:00
SBiOSoftWhare
feef2baa95 NavigationStore: Update public method signature. 2021-10-08 17:15:14 +02:00
SBiOSoftWhare
c8d9b0afa3
Update Riot/Modules/SplitView/SplitViewCoordinator.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-08 16:39:49 +02:00
SBiOSoftWhare
adc429f6cc
Update Riot/Modules/SplitView/SplitViewCoordinator.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-08 16:39:09 +02:00
SBiOSoftWhare
ac79e07665 Update MasterTabBarController. 2021-10-08 16:06:23 +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
ismailgulek
eb7dbec5f9
Merge remote-tracking branch 'origin/ismail/4384_room_summary_store' into ismail/4384_room_summary_store 2021-10-08 16:58:08 +03:00
ismailgulek
c267fa0ea9
Do not expose session from the protocol 2021-10-08 16:57:54 +03:00
ismailgulek
511c3010af
Update Riot/Modules/Common/Recents/Model/DiscussionsCount.swift
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2021-10-08 16:52:56 +03:00
ismailgulek
9cb67b96bb
Remove old code piece 2021-10-08 16:52:09 +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
33984b6678 ContactDetailsViewController: Update initializer. 2021-10-08 15:08:58 +02:00
SBiOSoftWhare
cd1029b9e5 GroupDetailsViewController: Update initializer. 2021-10-08 14:34:42 +02:00
Doug
494987d11a Update Analytics from Steve's comments. 2021-10-08 12:50:39 +01:00
SBiOSoftWhare
f83aba6c79 RoomCoordinatorProtocol: Update comment description. 2021-10-08 13:47:40 +02:00
SBiOSoftWhare
6b1cd8ddb5 TabBarCoordinator: Fix some typos. 2021-10-08 13:46:33 +02:00
ismailgulek
3095ab6a88
Adapt api changes 2021-10-08 14:43:19 +03:00
SBiOSoftWhare
4e6abae45d
Update Riot/Modules/SplitView/SplitViewCoordinator.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-08 13:28:46 +02:00
SBiOSoftWhare
2877943ab5
Update Riot/Modules/SplitView/SplitViewCoordinator.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-08 13:28:40 +02:00
SBiOSoftWhare
0d4f92301d
Update Riot/Modules/SplitView/SplitViewCoordinator.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-08 13:28:26 +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
Doug
bf52311bda Merge remote-tracking branch 'origin/develop' into doug/4484_contacts_access
# Conflicts:
#	Riot/Modules/ServiceTerms/Modal/ServiceTermsModalCoordinatorBridgePresenter.swift
2021-10-08 11:45:43 +01:00
SBiOSoftWhare
1be2fab297
Update Riot/Modules/TabBar/TabBarCoordinator.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-08 12:23:37 +02:00
Doug
374ab8ab61
Merge pull request #4957 from vector-im/doug/4955_contacts_permissions_analytics
Add an analytics value of accept/decline of identity server terms.
2021-10-08 10:59:08 +01:00
SBiOSoftWhare
01702047dd
Update Riot/Modules/SplitView/SplitViewCoordinator.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-08 11:46:53 +02:00
SBiOSoftWhare
f9d9f2134b
Update Riot/Modules/SplitView/SplitViewCoordinator.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-08 11:45:37 +02:00
SBiOSoftWhare
ab213bf00a
Update Riot/Modules/SplitView/SplitViewCoordinator.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-08 11:45:18 +02: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
Gil Eluard
abfddff1cc [Spaces] M10.4.1 Home space data filtering #4570
- Added settings menu for Home space
2021-10-07 15:37:20 +02:00
Gil Eluard
9e331722cc Fix performance issues with Spaces on very large accounts #4898
- Support optional `MXSpace.room` property
2021-10-07 08:48:41 +02:00
Gil Eluard
b8949fbf5a Fix performance issues with Spaces on very large accounts #4898
- Support optional `MXSpace.room` property
2021-10-07 08:46:19 +02:00
Gil Eluard
be64805fb1 Fix performance issues with Spaces on very large accounts #4898
- Listen to `MXSpaceNotificationCounter` to update the notification badge
2021-10-07 07:16:15 +02:00
Gil Eluard
52e06a88d7 Fix performance issues with Spaces on very large accounts #4898
- Listen to `MXSpaceNotificationCounter` to update the notification badge
2021-10-06 22:06:00 +02:00
Doug
f130bb36f9 Add final strings. Tweak header. 2021-10-06 17:36:28 +01:00
SBiOSoftWhare
766ef66e92 SplitViewCoordinator: Add possibility to stack controllers on detail view. 2021-10-06 17:20:34 +02:00
SBiOSoftWhare
704ee46da7 TabBarCoordinator: Prevent to load twice the same room. 2021-10-06 16:25:30 +02:00
SBiOSoftWhare
2ffd6498b6 Move TabBarCoordinatorParameters. 2021-10-06 15:47:39 +02:00
SBiOSoftWhare
1b1ca2373d Move RoomDataSource releasing from TabBarCoordinator to SplitViewCoordinator. 2021-10-06 15:41:35 +02:00
Doug
53fe72cb19 Track an analytics value on accept/decline of an identity server. 2021-10-05 17:19:19 +01:00
SBiOSoftWhare
8c338c981e RoomCoordinator: Add setup completion on start methods to fit LegacyAppDelegate calls. 2021-10-05 17:35:15 +02:00
SBiOSoftWhare
f2fc5adf00 MasterTabBarController: Clean code. 2021-10-05 16:41:37 +02:00
SBiOSoftWhare
79ff20c3be MasterTabBarController: Clean code. 2021-10-05 16:24:58 +02:00
SBiOSoftWhare
97f567ac9b SplitViewCoordinator: Fix navigation router completion not called with nested navigation controller behavior. 2021-10-05 15:34:15 +02:00
ismailgulek
72b96af055
Remove extra argument labels 2021-10-05 15:17:30 +03:00
SBiOSoftWhare
090e191b96 TabBarCoordinator: Move code that should not be called several time. 2021-10-05 12:52:21 +02:00
ismailgulek
9e1bef0d51
Merge branch 'develop' into ismail/4384_room_summary_store 2021-10-05 13:48:25 +03:00
ismailgulek
914c8f9def
Add comments 2021-10-05 13:29:41 +03:00
ismailgulek
6e44191fa0
Generate server notice rooms 2021-10-05 13:17:15 +03:00
SBiOSoftWhare
0103bfdc9c TabBarCoordinator: Handle new coordinators used as split view detail. Conform to MasterTabBarControllerDelegate updates. Conform to SplitViewMasterPresentable updates. 2021-10-05 10:48:52 +02:00
SBiOSoftWhare
691a82f8e8 MasterTabBarController: Delegate split view detail management. 2021-10-05 10:48:52 +02: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
d58ba33078 Add NavigationRouterStore that enables to get a NavigationRouter from a UINavigationController controller instance. 2021-10-05 10:48:52 +02:00
SBiOSoftWhare
06da3ebcc8 SplitViewCoordinator: Update detail presentation management and add a pop completion and replacing detail controller. 2021-10-05 10:48:52 +02:00
SBiOSoftWhare
0ed776c933 SplitViewMasterPresentable: Simplify protocol. 2021-10-05 10:48:52 +02:00
SBiOSoftWhare
8eed86c8c6 TabBarCoordinator: Improve popToHome method. Do not steal the navigationController.delegate anymore. 2021-10-05 10:48:52 +02:00
SBiOSoftWhare
afdd9c5b12 Create GroupDetailsCoordinator. 2021-10-05 10:48:52 +02:00
SBiOSoftWhare
22d8a182a0 Create ContactDetailsCoordinator. 2021-10-05 10:48:51 +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
ismailgulek
802ad13958
Generate some mock data 2021-10-05 11:44:24 +03:00
ismailgulek
a76360621a
Simplify empty view logic 2021-10-04 17:29:04 +03:00
ismailgulek
25ac775a47
Architecture update 2021-10-04 17:28:21 +03:00
ismailgulek
5cc9633564
Create suggested rooms fetcher 2021-10-02 02:10:13 +03:00
ismailgulek
f9bd1a7542
Adapt changes 2021-10-02 02:09:36 +03:00
Doug
50d9952c08 Small tweaks plus changelog entry.
Use the new generated localisation strings. Add comments.

Address feedback from PR review.
2021-10-01 16:16:26 +01:00
manuroe
e60f92eaf8 i18n: Standardise casing of identity server and integration manager. 2021-10-01 11:51:30 +01:00
manuroe
5592fd46b8 RecentsDataSource: Memory leak in [RecentsDataSource dataSource:didStateChange:] 2021-10-01 11:34:39 +01:00
manuroe
2735166155 Merge branch 'master' into develop 2021-09-30 23:51:17 +01:00
ismailgulek
0c2efd8687
Add suggested rooms fetcher 2021-09-30 16:01:26 +03:00
ismailgulek
52a4d6ecd6
Refactor recent cell data 2021-09-30 16:00:52 +03:00
Doug
b9dc5d6eca Merge branch 'develop' into doug/4484_contacts_access
# Conflicts:
#	Riot/Assets/en.lproj/Vector.strings
#	Riot/Generated/Strings.swift
#	Riot/Modules/Application/LegacyAppDelegate.m
#	Riot/Modules/Settings/SettingsViewController.m
2021-09-30 11:14:02 +01:00
ismailgulek
ad9d712c8a
Fix merge conflict 2021-09-30 12:43:49 +03:00
ismailgulek
129eb9553c
Merge branch 'develop' into ismail/4384_room_summary_store 2021-09-30 12:35:46 +03:00
Gil Eluard
7b28eaa086 Spaces still visible after logging in with another account #4916
- fixed after AvatarViewData rework
2021-09-30 10:45:20 +02: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
manuroe
879864e295 AppDelegate: Fix a crash when backgrounding the app
By avoiding to call [MXCrossSigning refreshStateWithSuccess]  because it leads to a crash in Realm.
2021-09-29 22:02:19 +01:00
Doug
7a46bb4dc1 Add an image for the integration manager to ServiceTermsModalScreenViewController. 2021-09-29 17:40:37 +01:00
Doug
03f813c3d0
Merge pull request #4924 from vector-im/doug/4896_url_previews_string_whitespace
Use attributed string whitespace for URL previews.
2021-09-29 16:18:31 +01:00
ismailgulek
4015b82ee3
Add spaces option 2021-09-29 15:10:41 +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
Gil Eluard
479d8dcf75 Spaces still visible after logging in with another account #4916 2021-09-27 12:51:28 +02:00
Doug
9c7284c832 Rename refreshAttributedTextMessage to makeAttributedString to indicate that it doesn't affect the attributedTextMessage. 2021-09-24 17:06:50 +01:00
ismailgulek
fddfe883b3
Refactor recents data source to use new room list data fetchers 2021-09-24 18:50:41 +03: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
089d72882b Suggested Spaces appear as suggested rooms #4903
- Fixed
2021-09-24 14:31:35 +02: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
2ad094b836 [Spaces] M10.6.1 Handle space link #4498
- Change (+) button behaviour in home screen according to current space
2021-09-23 17:35:49 +02:00
Gil Eluard
ca7bf18f76 [Spaces] M10.6.1 Handle space link #4498
- Update after code review
2021-09-23 17:15:32 +02:00
ismailgulek
05f5fc1d23
Fetch room from session when needed 2021-09-23 16:56:39 +03:00
Gil Eluard
5b50ce2e39 reverted HomeViewControllerWithBannerWrapperViewController 2021-09-23 15:38:43 +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
Gil Eluard
24956e6774 Merge branch 'gil/pre_release_fixes' into gil/4498_Handle_space_link 2021-09-23 15:00:06 +02:00
Gil Eluard
134379bcc5 [spaces] several fixes for pre release
- update after review
2021-09-23 14:50:00 +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
Gil Eluard
c207c8d28a
Update Riot/Modules/Spaces/SpaceList/SpaceListViewCell.swift
Co-authored-by: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2021-09-23 11:47:26 +02:00
Gil Eluard
4619d907ea Merge branch 'gil/pre_release_fixes' into gil/4498_Handle_space_link 2021-09-23 11:35:45 +02: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
Gil Eluard
bf64d9ca49 [spaces] several fixes for pre release
- update after review
2021-09-23 11:32:56 +02: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