Commit graph

226 commits

Author SHA1 Message Date
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
ismailgulek
df1d60139f Merge branch 'voip_call_transfer' into voip_all
# Conflicts:
#	Podfile
#	Podfile.lock
#	Riot.xcodeproj/project.pbxproj
2021-02-10 00:47:51 +03:00
ismailgulek
ab92b8b3f4 Merge branch 'voip_2746' into voip_tiles 2021-02-10 00:38:49 +03:00
ismailgulek
03da63e14f Merge branch 'voip_2746' of https://github.com/vector-im/element-ios into voip_2746 2021-02-07 20:26:51 +03:00