Commit Graph

311 Commits

Author SHA1 Message Date
David Langley 27eb881bb1 get theme id from theme, always republish theme updates. 2021-09-10 10:54:50 +01:00
David Langley 8c9a00b688 Add configurable logger for RiotSwiftUI 2021-09-09 22:42:00 +01:00
Doug d02a4fe779 Merge branch 'develop' into doug/4484_contacts_access 2021-09-09 12:24:08 +01:00
Doug 06d2c41638 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 4a33f7f1e6 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 d945f5fead Remove forgotten Jitsi call property and function 2021-09-08 14:07:19 +03:00
ismailgulek 55578481ff Wait for sync response when clearing cache 2021-09-08 14:06:41 +03:00
ismailgulek 0df5b2b03a Listen for recents data ready notification in an async method 2021-09-08 11:21:04 +03:00
Doug 75a9a19421 Merge branch 'develop' into doug/888_add_url_previews 2021-09-07 17:51:31 +01:00
ismailgulek c6b87f5a0c Wait for the room list data to be ready to hide launch animation 2021-09-07 18:23:23 +03:00
Stefan Ceriu c686a6b653 Revert "#4693 - Drop iOS 11 support."
This reverts commit a2b359f21960e1b9f75139d94adc7aeb35fa479f.
2021-09-06 18:24:26 +03:00
Doug 63144b8e8b Clear the URL preview manager's store when clearing caches. 2021-09-03 12:12:44 +01:00
Doug a599f18be2 Merge remote-tracking branch 'origin/develop' into doug/888_add_url_previews 2021-09-02 17:39:42 +01:00
David Langley 8c7514c865 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 c716098dd4 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 9457c25981 #4693 - Drop iOS 11 support. 2021-09-01 15:55:41 +03:00
David Langley f4cb404df0 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 3c85db9f3d 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 7ba054f6c9 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 7ad705d92d Standardise casing of identity server
Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com>
2021-08-18 17:30:45 +01:00
Doug d7b15f8c2f Use areAllTermsAgreed instead of hasAccountDataIdentityServerValue. Move identity server terms modal from LegacyAppDelegate into ContactsTableViewController. 2021-08-11 17:13:15 +01:00
Gil Eluard 28015fcd29 Merge branch 'develop' into spaces
# Conflicts:
#	Riot/Modules/Common/Recents/DataSources/RecentsDataSource.m
2021-08-03 21:22:43 +02:00
Doug adb9e64fbf Move LegacyAppDelegate.refreshLocalContacts to ContactsTableViewController. 2021-07-28 16:07:07 +01:00
Gil Eluard 3f932732d4 Merge branch 'spaces' into element_4509 2021-07-26 10:42:49 +02:00
Doug 1db4e68c50 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 9eea959032 Merge branch 'develop' into doug/fix_warnings
# Conflicts:
#	Riot/Modules/Room/RoomInfo/RoomInfoList/RoomInfoListViewController.swift
2021-07-12 17:54:34 +01:00
Doug 4f16c3f8b5 Add decryptNotificationsByDefault build setting. 2021-07-09 15:00:03 +01:00
Doug 07ec3d2f52 Fix crash when running on macOS with Apple Silicon. 2021-07-05 19:19:51 +01:00
Doug d6c0be5a6b Show encrypted message notification content by default. 2021-07-05 15:27:52 +01:00
Doug 41c51f0f50 Fix SwiftLint warnings. 2021-07-02 17:13:45 +01:00
Doug 6575447f51 Fix documentation warnings. 2021-07-02 16:46:27 +01:00
SBiOSoftWhare 644c32006d AppCoordinator: Update space switch. 2021-07-02 16:50:28 +02:00
SBiOSoftWhare c547c058dd AppCoordinator: Update AppNavigator usage. Prepare space switching. 2021-07-01 00:25:00 +02:00
SBiOSoftWhare 4068d81812 AppNavigator: Add method to navigate to a screen or a state. 2021-07-01 00:21:20 +02:00
ismailgulek 7b103dc2a1 Merge branch 'develop' into element_4269_additions 2021-06-11 15:46:20 +03:00
ismailgulek dd5439816d Do not terminate the app according to isProtectedDataAvailable 2021-06-11 15:45:49 +03:00
ismailgulek e26828c2d3 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 579874d145 Merge develop 2021-06-09 14:58:19 +01:00
langleyd afced894dc 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 891a3bc8ba Merge branch 'develop' into remove_call_bar 2021-06-09 13:54:59 +03:00
SBiOSoftWhare 74dafb15c2 Merge pull request #4399 from vector-im/element_4398 2021-06-09 11:00:47 +02:00
Stefan Ceriu 4891251141 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 2d0b48d9ee Remove call bar view 2021-06-08 15:59:06 +03:00
ismailgulek 28352b6607 Remove all call bar related things 2021-06-08 12:13:16 +03:00
SBiOSoftWhare 1e071e6e9e AppCoordinator: Handle side menu and AppNavigator injection. 2021-06-07 18:46:16 +02:00
SBiOSoftWhare da86c29768 Add AlertPresentable that absracts an alert presenter. 2021-06-07 18:46:16 +02:00
SBiOSoftWhare 4f2b5745c3 LegacyAppDelegate: Use AppInfo. 2021-06-07 18:46:16 +02:00
SBiOSoftWhare 3e479425df AppCoordinator: Handle user session removal on clear cache. 2021-06-07 12:12:00 +02:00
Stefan Ceriu b00d07ffca 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 fdc7550812 Set a root view controller for call status bar window 2021-05-26 15:07:47 +03:00