Commit Graph

189 Commits

Author SHA1 Message Date
Stefan Ceriu 8f46e037f2 Revert "#4693 - Drop iOS 11 support."
This reverts commit a2b359f21960e1b9f75139d94adc7aeb35fa479f.
2021-09-06 18:24:26 +03: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 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
David Langley 9ff69eaaf0 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
Gil Eluard 36cefffd7e #4090 - Update after review 2021-07-06 23:03:56 +02:00
SBiOSoftWhare f27402b51e UIButton: Add shortcut to button label property adjustsFontForContentSizeCategory. 2021-06-18 19:26:55 +02:00
SBiOSoftWhare 837e1f5279 ShowDirectory: Update view model and handle direct input of room id alias even non public. 2021-06-14 16:13:46 +02:00
SBiOSoftWhare bd33f8eb38 Create UserAvatarView. 2021-06-07 18:46:16 +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 59f9d5c7fc Change onTintColor 2021-06-01 17:22:45 +03:00
ismailgulek a387194c3f Use tintColor for switches 2021-06-01 17:11:05 +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 5338d47678 UITableViewCell: Add convenient method to hide one separator cell. 2021-05-06 12:04:29 +02:00
ismailgulek 88b087b979 Merge branch 'voip_design_updates' into voip_jitsi_remover 2021-05-04 19:11:17 +03:00
ismailgulek 17e11c6663 Merge branch 'develop' into voip_design_updates 2021-05-04 19:10:22 +03:00
SBiOSoftWhare 45cd1d696f Add comments on new classes and methods. 2021-04-29 12:38:04 +02:00
SBiOSoftWhare 9eb08d1c05 MXSession: Remove vc_isE2EByDefaultEnabledByHSAdmin method and expose vc_homeserverConfiguration. 2021-04-29 12:37:57 +02:00
SBiOSoftWhare fed594a085 Remove MXWellKnown extension. 2021-04-29 12:37:11 +02:00
SBiOSoftWhare cf3826a09c MXSession: Expose HomeserverConfiguration based on session Well Known config or hardcoded values. 2021-04-29 12:37:11 +02:00
SBiOSoftWhare abdb531271 Update Riot/Categories/MXSession+Riot.m
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2021-04-29 12:37:11 +02:00
SBiOSoftWhare 4daf491a6b WellKnown: Handle new and deprecated Element properties. 2021-04-29 12:36:55 +02:00
SBiOSoftWhare 4ded23f21a MXSession+Riot: Update vc_isE2EByDefaultEnabledByHSAdmin method. 2021-04-29 12:36:17 +02:00
SBiOSoftWhare 6067e07a4d Create MXWellKnown extension to manage WellKnown keys specific to Element app and default values. 2021-04-29 12:36:17 +02:00
ismailgulek f49d16c4bd Add shadow extension methods 2021-04-27 01:34:15 +03:00
ismailgulek 979bfebc2a Merge branch 'develop' into voip_design_updates 2021-04-02 14:39:37 +03:00
Gil Eluard de5da473fa SR sizing is inconsistent with RR & Message states cosmetic changes 2021-03-17 20:09:44 +01:00
ismailgulek c73bd32cdd Refactor cell rendering, move most of the controls to the subclass, refactor user actions, add you started call state 2021-03-17 18:17:54 +03:00
ismailgulek ba6a9e8ef1 Add call actions 2021-03-12 04:04:23 +03:00
Gil Eluard f00281c20f Retrying & deleting failed messages
- Update after code review
2021-03-10 22:19:04 +01:00
Gil Eluard 84d49f1344 Merge branch 'element_4014' into element_4013
# Conflicts:
#	Riot/Modules/Room/DataSources/RoomDataSource.m
2021-03-09 13:22:13 +01:00
Gil Eluard 230498192a Improve the status of send messages (sending, sent, received, failed)
- update after review
2021-03-09 11:59:54 +01:00
Gil Eluard 8abede870a merged element_4014 into element_4013 2021-03-02 22:06:24 +01:00
Gil Eluard 5cb904d2ee Retrying & deleting failed messages
- Display an exclamation mark (on a red background). In case of a multi-line message
- When a message with an error is selected, show a bottom bar with the 4 following actions: Retry - Delete - Edit - Copy
- If users press on Delete, a confirmation dialog is displayed
- When error messages occur, a general error message appears above the composer. Selecting Delete will delete all error messages. Pressing on Retry will attempt to resend error messages
- If users press on Delete, a confirmation dialog is displayed
- In room lists, decorate rooms with errored messages with the error icon. Rooms with errors should be sorted first
2021-03-02 21:56:50 +01:00
Gil Eluard 100c16b032 Merge branch 'develop' into element_4014
# Conflicts:
#	Riot.xcodeproj/project.pbxproj
#	Riot/Modules/Room/DataSources/RoomDataSource.m
2021-02-25 15:49:53 +01:00
Gil Eluard 69163b920c Improve the status of send messages (sending, sent, received, failed)
- code tweaks
2021-02-25 11:10:38 +01:00
Gil Eluard 44f1e827cd Improve the status of send messages (sending, sent, received, failed)
- tweaks and new L&F for download progress
2021-02-25 11:07:21 +01:00
SBiOSoftWhare 9a9b63fbd3 RoomCreationIntroCellContentView: Improve add topic case. 2021-02-23 15:46:20 +01:00
Gil Eluard cd76369f9d Improve the status of send messages (sending, sent, received, failed)
- First implementation
2021-02-22 13:51:25 +01:00
SBiOSoftWhare ff888e2a7c UIView: Add accessibility commodity method. 2021-02-22 00:12:00 +01:00
ismailgulek 5581211cd8 Merge branch 'voip_2746' into voip_tiles
# Conflicts:
#	Riot.xcodeproj/project.pbxproj
2021-02-10 21:41:51 +03:00
ismailgulek 689bad45fe Avoid force unwraps 2021-02-10 00:05:27 +03:00
ismailgulek 49157bea7a Make extension objc 2021-01-21 14:27:55 +03:00
ismailgulek ee9779e4ed Merge branch 'voip_2746' into voip_dialpad
# Conflicts:
#	Riot.xcodeproj/project.pbxproj
2021-01-20 16:25:36 +03:00
ismailgulek 2cca34986d Implement call cells, introduce allLinkedEvents on bubble cell data 2021-01-20 13:26:28 +03:00
ismailgulek 5581037554 Add call back action identifier 2021-01-20 13:23:09 +03:00
ismailgulek fd2f8deb5a Merge branch 'develop' into voip_2746
# Conflicts:
#	Riot/Modules/Application/LegacyAppDelegate.m
2021-01-15 16:07:36 +03:00
ismailgulek a1f97fb7d3 Introduce vc_removingAllWhitespaces on String 2021-01-13 21:49:45 +03:00
SBiOSoftWhare e2373fb27b Update Riot/Categories/UIImage.swift
Co-authored-by: ismailgulek <ismailgulek@users.noreply.github.com>
2021-01-08 15:52:23 +01:00
SBiOSoftWhare 82f172cbe6 Add convenient methods on URLComponents. 2021-01-07 11:22:24 +01:00