Commit graph

329 commits

Author SHA1 Message Date
ismailgulek
e3a47a59f9
Merge branch 'develop' into ismail/5068_start_thread 2021-12-09 15:25:14 +03:00
SBiOSoftWhare
3d0c77ef30 Merge develop into steve/5020_matrixkit_merge 2021-11-30 16:16:52 +01:00
SBiOSoftWhare
4081da3ebc Update all Objective-C MatrixKit imports to handle new location. 2021-11-30 16:09:53 +01:00
ismailgulek
11ba0958b1
Merge branch 'ismail/5092_thread_list' into ismail/5094_thread_links 2021-11-30 01:54:56 +03:00
ismailgulek
d935ca3fd6
Merge branch 'develop' into ismail/5068_start_thread 2021-11-30 01:33:51 +03:00
ismailgulek
a3877118a0
Open thread view for root events when available 2021-11-30 01:12:53 +03:00
ismailgulek
60557a89d8
Pass thread options for permalinks 2021-11-29 18:22:09 +03:00
ismailgulek
4b016d3cac
Replace threadId with ThreadParameters 2021-11-29 18:11:04 +03:00
SBiOSoftWhare
461c759490 LegacyAppDelegate: Don't use private interface from SDK. 2021-11-26 15:26:34 +01:00
ismailgulek
699526a21d
Adapt to event changes 2021-11-26 01:47:08 +03:00
ismailgulek
1a4ae89fdd
Add threadId parameter to room navigation parameters 2021-11-25 16:28:42 +03:00
ismailgulek
8723a69528
Merge branch 'develop' into ismail/5068_start_thread 2021-11-19 00:23:24 +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
a319f076b1
Merge branch 'develop' into ismail/5068_start_thread 2021-11-11 21:43:16 +03:00
ismailgulek
3effb80aae
Adapt to send event api changes 2021-11-04 02:07:09 +03:00
SBiOSoftWhare
c9f9eb4505 SplitViewCoordinator: Fix detail screen reset behaviour. 2021-11-03 11:41:11 +01:00
Philippe Loriaux
c6c3eaaec1 Improve the Obj-C Generated Interface Header Name definition 2021-10-26 17:42:33 +02:00
SBiOSoftWhare
2cb2464b36 Update comments. 2021-10-21 16:16:32 +02:00
SBiOSoftWhare
cc28f92d39 Make some refacto. 2021-10-21 15:32:43 +02:00
SBiOSoftWhare
6a1829d247 Update folder name. 2021-10-21 15:23:01 +02:00
SBiOSoftWhare
1b5540c064 Refactor SpacePresentationParameters to SpaceNavigationParameters. 2021-10-21 15:22:38 +02:00
SBiOSoftWhare
d7c892d7a8 Refactor RoomPreviewScreenParameters to RoomPreviewNavigationParameters. 2021-10-21 11:57:13 +02:00
SBiOSoftWhare
2cd80ff4ec Refactor RoomScreenParameters to RoomNavigationParameters. 2021-10-21 11:40:18 +02:00
SBiOSoftWhare
638321d123 Refactor RoomPreviewPresentationParameters to RoomPreviewScreenParameters. 2021-10-21 11:00:45 +02:00
SBiOSoftWhare
6ab705416d Refactor RoomPresentationParameters to RoomScreenParameters. 2021-10-21 10:55:13 +02:00
SBiOSoftWhare
0d1f8305e9 Rename UniversalLinkPresentationParameters to ScreenPresentationParameters. 2021-10-21 10:00:37 +02:00
SBiOSoftWhare
54508430d8
Update Riot/Modules/Application/LegacyAppDelegate.m
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-20 18:32:57 +02:00
SBiOSoftWhare
b36920848d
Update Riot/Modules/Application/LegacyAppDelegate.m
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-20 18:32:38 +02:00
SBiOSoftWhare
dcc0662ebc
Update Riot/Modules/Application/LegacyAppDelegate.m
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2021-10-20 18:27:42 +02:00
SBiOSoftWhare
d0ef843302 UniversalLink: Improve group and contact presentation behaviour. 2021-10-20 15:55:46 +02:00
SBiOSoftWhare
c949155134 LegacyAppDelegate: Handle show group with universal link presentation parameters. 2021-10-20 12:29:01 +02:00
SBiOSoftWhare
8538d8e0aa LegacyAppDelegate: Handle universal link presentation parameters when showing contact. 2021-10-20 11:57:56 +02:00
SBiOSoftWhare
61a1bf1aaf Update RoomPresentationParameters usage. 2021-10-20 08:31:51 +02:00
SBiOSoftWhare
1791fe4688 RoomPresentationParameters: Use UniversalLinkPresentationParameters. 2021-10-20 08:29:15 +02:00
SBiOSoftWhare
cbd618fd9e Move files. 2021-10-20 07:50:20 +02:00
SBiOSoftWhare
81698d113c LegacyAppDelegate: Handle UniversalLinkPresentationParameters for space presentation. 2021-10-20 07:37:13 +02:00
SBiOSoftWhare
477b02c8de SpacePresentationParameters: Update with UniversalLinkPresentationParameters. 2021-10-20 07:31:19 +02:00
SBiOSoftWhare
687df745d1 Create UniversalLinkPresentationParameters. 2021-10-20 07:29:18 +02:00
SBiOSoftWhare
ffb9586e9c LegacyAppDelegate: Update space detail presentation. Update room preview presentation. Prevent restoring initial display when not needed. 2021-10-19 14:45:47 +02:00
SBiOSoftWhare
5ba03c6d88 Add space and space preview presentation parameters. 2021-10-19 14:43:08 +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
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
Doug
17110e2a91 Move call to validateSyncLocalContactsState into MatrixKit. 2021-10-12 11:17:20 +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
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
d58ba33078 Add NavigationRouterStore that enables to get a NavigationRouter from a UINavigationController controller instance. 2021-10-05 10:48:52 +02:00
manuroe
e60f92eaf8 i18n: Standardise casing of identity server and integration manager. 2021-10-01 11:51:30 +01:00
manuroe
2735166155 Merge branch 'master' into develop 2021-09-30 23:51:17 +01: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
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
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
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
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
fb0f023964 Merge branch 'develop' of https://github.com/vector-im/element-ios into langleyd/4781_swiftui_template_examples 2021-09-15 14:33:05 +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
Gil Eluard
f4fb4be6fb [Spaces] M10.8 Browsing users in a space #4682
- Update after code review
2021-09-14 16:59:32 +02:00
Doug
4800ff3039 Call -MXKContactManager.validateSyncLocalContactsState when the app is launched. 2021-09-14 14:49:07 +01:00
Gil Eluard
c2e4d915af [Spaces] M10.8 Browsing users in a space #4682
- Update after code review
2021-09-14 15:29:16 +02:00
Gil Eluard
4da3741140 [Spaces] M10.8 Browsing users in a space #4682
- Update after code review
2021-09-14 11:45:33 +02:00
Stefan Ceriu
d4c7a2b0d1 Revert "Revert "#4693 - Drop iOS 11 support."" 2021-09-14 11:41:36 +03:00
David Langley
5f3ddf60ec Always get the identifier from the theme. 2021-09-10 11:14:42 +01:00
David Langley
0ac0c2a230 get theme id from theme, always republish theme updates. 2021-09-10 10:54:50 +01:00
David Langley
fb203cce5e Add configurable logger for RiotSwiftUI 2021-09-09 22:42:00 +01:00
Doug
94b996fb12 Merge branch 'develop' into doug/4484_contacts_access 2021-09-09 12:24:08 +01:00
Doug
0e64b60f02
Merge pull request #4790 from vector-im/doug/888_add_url_previews
Add URL previews as a Labs feature
2021-09-08 17:19:41 +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
ismailgulek
c475e85771
Remove forgotten Jitsi call property and function 2021-09-08 14:07:19 +03:00
ismailgulek
8649dbe51b
Wait for sync response when clearing cache 2021-09-08 14:06:41 +03:00
ismailgulek
ec23468244
Listen for recents data ready notification in an async method 2021-09-08 11:21:04 +03:00
Doug
1c7cef52a0 Merge branch 'develop' into doug/888_add_url_previews 2021-09-07 17:51:31 +01:00
ismailgulek
55fe0180ab
Wait for the room list data to be ready to hide launch animation 2021-09-07 18:23:23 +03:00
Stefan Ceriu
f2dd0e256b Revert "#4693 - Drop iOS 11 support."
This reverts commit a2b359f219.
2021-09-06 18:24:26 +03:00
Doug
cf3733c8b9 Clear the URL preview manager's store when clearing caches. 2021-09-03 12:12:44 +01:00
Doug
4924110f8e Merge remote-tracking branch 'origin/develop' into doug/888_add_url_previews 2021-09-02 17:39:42 +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
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
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
Paulo Pinto
e632b6b0eb Standardise casing of identity server
Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com>
2021-08-18 17:30:45 +01:00
Doug
32f4fccadf Use areAllTermsAgreed instead of hasAccountDataIdentityServerValue. Move identity server terms modal from LegacyAppDelegate into ContactsTableViewController. 2021-08-11 17:13:15 +01:00
Gil Eluard
3e7a875c77 Merge branch 'develop' into spaces
# Conflicts:
#	Riot/Modules/Common/Recents/DataSources/RecentsDataSource.m
2021-08-03 21:22:43 +02:00
Doug
76362feea9 Move LegacyAppDelegate.refreshLocalContacts to ContactsTableViewController. 2021-07-28 16:07:07 +01:00
Gil Eluard
43ec74b5ca Merge branch 'spaces' into element_4509 2021-07-26 10:42:49 +02:00
Doug
6229055e3a Merge branch 'develop' into doug/4519_decrypt_notifications_by_default_fix
# Conflicts:
#	CHANGES.rst
#	Config/BuildSettings.swift
2021-07-23 10:15:44 +01:00
Doug
989f19696d Merge branch 'develop' into doug/fix_warnings
# Conflicts:
#	Riot/Modules/Room/RoomInfo/RoomInfoList/RoomInfoListViewController.swift
2021-07-12 17:54:34 +01:00
Doug
9ba4066257 Add decryptNotificationsByDefault build setting. 2021-07-09 15:00:03 +01:00
Doug
9160283477 Fix crash when running on macOS with Apple Silicon. 2021-07-05 19:19:51 +01:00
Doug
a15c274002 Show encrypted message notification content by default. 2021-07-05 15:27:52 +01:00
Doug
8cd2bd4eda Fix SwiftLint warnings. 2021-07-02 17:13:45 +01:00
Doug
080b3e94bb Fix documentation warnings. 2021-07-02 16:46:27 +01:00
SBiOSoftWhare
fd878892c7 AppCoordinator: Update space switch. 2021-07-02 16:50:28 +02:00
SBiOSoftWhare
bf971a599f AppCoordinator: Update AppNavigator usage. Prepare space switching. 2021-07-01 00:25:00 +02:00
SBiOSoftWhare
c7d21ae735 AppNavigator: Add method to navigate to a screen or a state. 2021-07-01 00:21:20 +02:00
ismailgulek
f749bbca08
Merge branch 'develop' into element_4269_additions 2021-06-11 15:46:20 +03:00
ismailgulek
5812750c50
Do not terminate the app according to isProtectedDataAvailable 2021-06-11 15:45:49 +03:00
ismailgulek
b9f4aedde5
Merge pull request #4409 from vector-im/remove_call_bar
VoIP: Replace Call Bar with PiP Tiles
2021-06-11 14:54:54 +03:00
langleyd
9e270dd124 Merge develop 2021-06-09 14:58:19 +01:00
langleyd
40bf968720 Add more helpful message when trying to start DM with a user that does not exist (#224). 2021-06-09 14:57:40 +01:00
ismailgulek
e4ab0cf7fd
Merge branch 'develop' into remove_call_bar 2021-06-09 13:54:59 +03:00
SBiOSoftWhare
367940475b
Merge pull request #4399 from vector-im/element_4398 2021-06-09 11:00:47 +02:00
Stefan Ceriu
f3f3e971d2
Integrate FLEX (#4394)
Set up FLEX for debug builds under a 2 finger double tap anywhere on the screen.
2021-06-09 09:58:22 +03:00
ismailgulek
208494d245
Remove call bar view 2021-06-08 15:59:06 +03:00
ismailgulek
378efbc2c5
Remove all call bar related things 2021-06-08 12:13:16 +03:00
SBiOSoftWhare
dd152581a5 AppCoordinator: Handle side menu and AppNavigator injection. 2021-06-07 18:46:16 +02:00
SBiOSoftWhare
7bb1147c7b Add AlertPresentable that absracts an alert presenter. 2021-06-07 18:46:16 +02:00
SBiOSoftWhare
bb10eb892f LegacyAppDelegate: Use AppInfo. 2021-06-07 18:46:16 +02:00
SBiOSoftWhare
3950242f1b AppCoordinator: Handle user session removal on clear cache. 2021-06-07 12:12:00 +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
f63642403d
Set a root view controller for call status bar window 2021-05-26 15:07:47 +03:00
SBiOSoftWhare
ed7fe1ac36 AppCoordinator: Handle UserSessionsService and inject it to the SplitViewCoordinator. 2021-05-20 22:19:08 +02:00
SBiOSoftWhare
a6202ea2e0 LegacyAppDelegate: Add delegation methods to advertize account and Matrix session add/remove. 2021-05-20 22:14:49 +02:00
ismailgulek
3620be9800
Merge pull request #4316 from vector-im/pushkit_crashes
Fixes for Pushkit Crashes
2021-05-12 10:31:54 +03:00
ismailgulek
682ab521cd
Add logs 2021-05-11 16:17:25 +03:00
ismailgulek
433adaba11
Terminate app if protected data not available 2021-05-10 15:28:57 +03:00
SBiOSoftWhare
8f437e9fbe Merge branch 'spaces_beta' into spaces_feature_unavailable
# Conflicts:
#	Riot/Modules/Application/LegacyAppDelegate.h
2021-05-07 15:08:45 +02:00
SBiOSoftWhare
c60861054b SpaceFeatureUnaivableViewController: Update UI. 2021-05-06 13:31:49 +02:00
SBiOSoftWhare
5909b3b00e LegacyAppDelegate: Add new universal link management methods and handle more precisely spaces not available cases. 2021-05-04 10:41:02 +02:00
SBiOSoftWhare
e30f2d58d6 LegacyAppDelegate: Adverstize that spaces are not supported when tapping on a space link. 2021-04-29 14:37:07 +02:00
ismailgulek
850cfed45a
Merge branch 'develop' into voip_design_updates 2021-04-28 14:03:13 +03:00
Gil Eluard
2eece8153a clear cache support for RiotSettings 2021-04-23 22:26:54 +02:00
ismailgulek
ba81000e56
Merge branch 'develop' into voip_design_updates 2021-04-20 11:41:53 +03:00
ismailgulek
068bd1fb5b
Disable sliding animations for call screen 2021-04-19 15:58:30 +03:00
manuroe
d621bf6151
Update Riot/Modules/Application/LegacyAppDelegate.m 2021-04-15 15:44:31 +02:00
manuroe
c4ec5a1a82
Update Riot/Modules/Application/LegacyAppDelegate.m 2021-04-15 15:44:23 +02:00
manuroe
5e1e226d51 Self-verification: Double check cross-signing state before displaying popups 2021-04-15 09:50:56 +02:00
manuroe
c28a991984 Self-verification: Fix compatibility with Element-Web when logging in on web
#4217

If web triggers a verification request (because the users clicked on "Use another login"), remove the newSignIn alert dialog before display the incoming verification request.
2021-04-14 18:50:37 +02:00
ismailgulek
4086e1b0ef
Merge branch 'develop' into voip_design_updates 2021-04-02 14:39:37 +03:00
ismailgulek
c6981f7aab
Unify call screen methods, use UIViewController 2021-04-02 14:22:03 +03:00
ismailgulek
0d93e3aa60
Update method name 2021-04-02 00:01:43 +03:00
ismailgulek
53527d0b8e
Add call bar update delegate method 2021-04-02 00:01:23 +03:00
ismailgulek
3d7bf72a1a
Update call bar 2021-04-01 23:56:51 +03:00
Gil Eluard
9a5c66190c Make the application settings more configurable
- Update after review
2021-04-01 14:16:06 +02:00
ismailgulek
0cfde0fe76
Move Jitsi view controller to CallPresenter 2021-03-19 17:33:07 +03:00
ismailgulek
f439f619c4
Little refactoring 2021-03-19 14:35:34 +03:00
ismailgulek
a084c2e844
Remove permission check from Jitsi widgets 2021-03-19 03:01:29 +03:00
ismailgulek
43f529cfa1
Call new Jitsi call related methods from AppDelegate 2021-03-19 02:59:38 +03:00
ismailgulek
5f29eb3d7b
Make call presenter public 2021-03-19 02:57:58 +03:00
ismailgulek
a99e85e5dc
Handle group call tile tap 2021-03-17 19:41:31 +03:00
ismailgulek
8539a2a801 Dismiss the call screen instead of alerts on it 2021-02-16 21:45:53 +03:00
ismailgulek
da350de736 Fix call status bar layout on orientation changes 2021-02-15 17:47:22 +03:00
ismailgulek
b9bb5d300a Update variable name after voip_2746 changes 2021-02-10 00:51:41 +03:00