Commit Graph

151 Commits

Author SHA1 Message Date
Doug a1e508c4ce 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 1963f35d30 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 58bb1cafe7 Remove forgotten Jitsi call property and function 2021-09-08 14:07:19 +03:00
ismailgulek bb827470a6 Wait for sync response when clearing cache 2021-09-08 14:06:41 +03:00
ismailgulek 7fe5b9c6c8 Listen for recents data ready notification in an async method 2021-09-08 11:21:04 +03:00
Doug bb98bbe1c0 Merge branch 'develop' into doug/888_add_url_previews 2021-09-07 17:51:31 +01:00
ismailgulek c86ced6dc4 Wait for the room list data to be ready to hide launch animation 2021-09-07 18:23:23 +03:00
Stefan Ceriu 8f46e037f2 Revert "#4693 - Drop iOS 11 support."
This reverts commit a2b359f21960e1b9f75139d94adc7aeb35fa479f.
2021-09-06 18:24:26 +03:00
Doug 29daec8173 Clear the URL preview manager's store when clearing caches. 2021-09-03 12:12:44 +01:00
Doug 0ea0380da7 Merge remote-tracking branch 'origin/develop' into doug/888_add_url_previews 2021-09-02 17:39:42 +01:00
David Langley c5881e11ae 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 d2908eec5c 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 0b2616ddb3 #4693 - Drop iOS 11 support. 2021-09-01 15:55:41 +03:00
David Langley ada377dcf2 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 882fcab738 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 dd600e5e7e 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 3cfea31852 Move LegacyAppDelegate.refreshLocalContacts to ContactsTableViewController. 2021-07-28 16:07:07 +01:00
Doug 21049b5ad0 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 cec15f8f1d Merge branch 'develop' into doug/fix_warnings
# Conflicts:
#	Riot/Modules/Room/RoomInfo/RoomInfoList/RoomInfoListViewController.swift
2021-07-12 17:54:34 +01:00
Doug afd4d16696 Add decryptNotificationsByDefault build setting. 2021-07-09 15:00:03 +01:00
Doug 019b2c1a70 Fix crash when running on macOS with Apple Silicon. 2021-07-05 19:19:51 +01:00
Doug 620b54583a Show encrypted message notification content by default. 2021-07-05 15:27:52 +01:00
Doug cf860049ef Fix SwiftLint warnings. 2021-07-02 17:13:45 +01:00
Doug 0f720e56d7 Fix documentation warnings. 2021-07-02 16:46:27 +01:00
ismailgulek cec10e9722 Merge branch 'develop' into element_4269_additions 2021-06-11 15:46:20 +03:00
ismailgulek 0fdfe1c133 Do not terminate the app according to isProtectedDataAvailable 2021-06-11 15:45:49 +03:00
ismailgulek 33091000f8 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 c3f803fcf1 Merge develop 2021-06-09 14:58:19 +01:00
langleyd 89e9469dac 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 e1706f7793 Merge branch 'develop' into remove_call_bar 2021-06-09 13:54:59 +03:00
SBiOSoftWhare 9e88854d36 Merge pull request #4399 from vector-im/element_4398 2021-06-09 11:00:47 +02:00
Stefan Ceriu 01cd128e46 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 0c16999ecf Remove call bar view 2021-06-08 15:59:06 +03:00
ismailgulek 0d052f09af Remove all call bar related things 2021-06-08 12:13:16 +03:00
SBiOSoftWhare f63920f73f AppCoordinator: Handle side menu and AppNavigator injection. 2021-06-07 18:46:16 +02:00
SBiOSoftWhare 87cb67ff15 Add AlertPresentable that absracts an alert presenter. 2021-06-07 18:46:16 +02:00
SBiOSoftWhare c3c29ce1fd LegacyAppDelegate: Use AppInfo. 2021-06-07 18:46:16 +02:00
SBiOSoftWhare 21bd76e304 AppCoordinator: Handle user session removal on clear cache. 2021-06-07 12:12:00 +02:00
Stefan Ceriu 43f6c44c78 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 1e56a62ca2 Set a root view controller for call status bar window 2021-05-26 15:07:47 +03:00
SBiOSoftWhare d8a68b48d4 AppCoordinator: Handle UserSessionsService and inject it to the SplitViewCoordinator. 2021-05-20 22:19:08 +02:00
SBiOSoftWhare 5a5f161b6c LegacyAppDelegate: Add delegation methods to advertize account and Matrix session add/remove. 2021-05-20 22:14:49 +02:00
ismailgulek 46d966b109 Merge pull request #4316 from vector-im/pushkit_crashes
Fixes for Pushkit Crashes
2021-05-12 10:31:54 +03:00
ismailgulek c7aca9b902 Add logs 2021-05-11 16:17:25 +03:00
ismailgulek 2ff736aa80 Terminate app if protected data not available 2021-05-10 15:28:57 +03:00
SBiOSoftWhare 8a15d0e993 Merge branch 'spaces_beta' into spaces_feature_unavailable
# Conflicts:
#	Riot/Modules/Application/LegacyAppDelegate.h
2021-05-07 15:08:45 +02:00
SBiOSoftWhare 7c56116b6c SpaceFeatureUnaivableViewController: Update UI. 2021-05-06 13:31:49 +02:00
SBiOSoftWhare 4d10065bb7 LegacyAppDelegate: Add new universal link management methods and handle more precisely spaces not available cases. 2021-05-04 10:41:02 +02:00
SBiOSoftWhare 8c21fb808a LegacyAppDelegate: Adverstize that spaces are not supported when tapping on a space link. 2021-04-29 14:37:07 +02:00
ismailgulek 5266254232 Merge branch 'develop' into voip_design_updates 2021-04-28 14:03:13 +03:00