Commit graph

153 commits

Author SHA1 Message Date
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
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
Doug
76362feea9 Move LegacyAppDelegate.refreshLocalContacts to ContactsTableViewController. 2021-07-28 16:07:07 +01: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
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