Commit graph

407 commits

Author SHA1 Message Date
Stefan Ceriu
f2dd0e256b Revert "#4693 - Drop iOS 11 support."
This reverts commit a2b359f219.
2021-09-06 18:24:26 +03: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
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
Stefan Ceriu
0ee9c9ead6 Using a property wrapper for UserDefaults backed application settings (RiotSettings). 2021-08-30 11:02:06 +03:00
David Langley
fb67c9d235 Extract and start to split theme. 2021-08-27 16:26:56 +01:00
Stefan Ceriu
ff405f6b13 #4693 - Updates following code review. 2021-08-25 13:57:32 +03:00
David Langley
ef25ef54dd Add dependency management, AvatarViewModel and placeholder rendering now in AvatarImage. 2021-08-17 10:19:41 +01:00
David Langley
57969ea827 Merge branch 'develop' of github.com:vector-im/element-ios into langleyd/4669_room_notification_settings_swiftui 2021-08-16 13:00:41 +01:00
David Langley
dcfcdac00a
Update Riot/Managers/Theme/SwiftUI/ThemeKey.swift
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2021-08-13 08:24:16 +01:00
David Langley
b792af6594 Cleanup from comments 2021-08-12 16:57:19 +01:00
David Langley
c6ba23ec70 Add theming support, and support for other top level configuration to swiftui views with VectorHostingViewController, VectorContentModifier. Add VisibilityModifier. Move from List to VStack. 2021-08-12 11:52:06 +01:00
ismailgulek
24a57512ca
Merge branch 'develop' into element_4471 2021-08-12 11:08:29 +03:00
David Langley
5672f17819 Merge branch 'develop' of github.com:vector-im/element-ios into langleyd/4669_room_notification_settings_swiftui 2021-08-06 13:52:55 +01:00
Stefan Ceriu
66f248de2d Remove labs setting for voice messages, enable the feature by default. Fixed incorrect ffmpeg arguments. 2021-08-06 14:22:52 +03:00
ismailgulek
ef95c448e2
Merge branch 'develop' into element_4471 2021-08-06 13:34:09 +03:00
David Langley
0865862078 fix warning 2021-08-06 09:52:53 +01:00
David Langley
b866f09f35 merge, finish swiftui and add theming 2021-08-06 00:27:13 +01:00
manuroe
671f2118cc
Merge branch 'develop' into element_4090 2021-07-22 14:16:35 +02:00
Stefan Ceriu
089c6889d6 #4090 - Added voice messages switch to the labs section in settings. 2021-07-16 16:57:29 +03:00
Doug
9db2956578
Merge pull request #4542 from vector-im/doug/fix_warnings
Fix warnings
2021-07-13 11:07:47 +01:00
Gil Eluard
a650e49533 Show / hide reset button in secrets recovery screen (#4546). 2021-07-12 22:51:56 +02: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
e2a9d3bb24 Fix class keyword deprecation warnings everywhere!
Using 'class' keyword for protocol inheritance is deprecated; use 'AnyObject' instead
2021-07-09 17:05:43 +01:00
ismailgulek
76be005313
Merge branch 'develop' into element_4471 2021-07-07 12:26:43 +03:00
ismailgulek
6cb835d53b
Do not present ended calls 2021-07-05 15:27:36 +03:00
Doug
080b3e94bb Fix documentation warnings. 2021-07-02 16:46:27 +01:00
ismailgulek
1ac7a14282
Adapt Swifty session states 2021-06-30 18:02:11 +03:00
SBiOSoftWhare
d4c1765b2a Theme: Update DarkTheme and DefaultTheme with fonts property. 2021-06-21 21:12:27 +02:00
ismailgulek
f749bbca08
Merge branch 'develop' into element_4269_additions 2021-06-11 15:46:20 +03:00
ismailgulek
4f9cb2e179
Enhance logs 2021-06-11 14:38:07 +03:00
ismailgulek
7f534738ff
Handle app state better 2021-06-11 14:37:53 +03:00
ismailgulek
de5ea4e2fb
Handle app inactive state too 2021-06-10 11:43:08 +03:00
ismailgulek
c85101999d
Fix call screen user interaction 2021-06-09 18:33:00 +03:00
ismailgulek
51d6bcf950
Fix corner radius 2021-06-09 18:28:15 +03:00
ismailgulek
99a0b7e892
Bug fixes 2021-06-09 15:46:37 +03:00
ismailgulek
0536cf52e5
Fix PiP state when presenting a call screen 2021-06-09 15:11:06 +03:00
ismailgulek
e4ab0cf7fd
Merge branch 'develop' into remove_call_bar 2021-06-09 13:54:59 +03:00
ismailgulek
7c715c805b
Enhance PictureInPicturable protocol 2021-06-09 13:53:35 +03:00
ismailgulek
378efbc2c5
Remove all call bar related things 2021-06-08 12:13:16 +03:00
SBiOSoftWhare
92cf824b69 Create AppInfo used to handle the application information. 2021-06-07 18:46:16 +02:00
SBiOSoftWhare
dfadf865df Create BuildInfo that gives build information made at compilation time. 2021-06-07 18:46:16 +02:00
ismailgulek
688191b49a
Merge pull request #4388 from vector-im/element_4360_additions
Create Room Last Message Encryption Keys
2021-06-07 19:29:27 +03:00
SBiOSoftWhare
0558280183 UserSessionsService: Add possibility to remove a user session from the associated Matrix session. 2021-06-07 12:09:37 +02:00
ismailgulek
187b08c3f0
Create keys for room last message data type 2021-06-03 15:48:01 +03: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
SBiOSoftWhare
0d6f0a34f1 UserSessionsService: Improve add and removal UserSession. Wait for valid Matrix session state before adding a UserSession. 2021-05-28 12:46:48 +02:00
SBiOSoftWhare
008b5d4d38 UserSession: Now use let non nil property for the MXSession. 2021-05-28 12:44:37 +02:00
ismailgulek
7fefb4a89c
Add logs for group calls 2021-05-24 15:12:32 +03:00
SBiOSoftWhare
007296243d Add UserSession that represents a user session and UserSessionsService that enables to manage multiple user sessions and all logic around sessions management. 2021-05-20 22:10:03 +02:00