Commit graph

220 commits

Author SHA1 Message Date
SBiOSoftWhare
9f2c88c244 MXSession: Expose HomeserverConfiguration based on session Well Known config or hardcoded values. 2021-04-29 12:37:11 +02:00
SBiOSoftWhare
6ba8023a9b Update Riot/Categories/MXSession+Riot.m
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2021-04-29 12:37:11 +02:00
SBiOSoftWhare
562b76f23f WellKnown: Handle new and deprecated Element properties. 2021-04-29 12:36:55 +02:00
SBiOSoftWhare
731567c84a MXSession+Riot: Update vc_isE2EByDefaultEnabledByHSAdmin method. 2021-04-29 12:36:17 +02:00
SBiOSoftWhare
c8dcbf6ec3 Create MXWellKnown extension to manage WellKnown keys specific to Element app and default values. 2021-04-29 12:36:17 +02:00
ismailgulek
6725bce7a9
Add shadow extension methods 2021-04-27 01:34:15 +03:00
ismailgulek
4086e1b0ef
Merge branch 'develop' into voip_design_updates 2021-04-02 14:39:37 +03:00
Gil Eluard
419f20b1a2 SR sizing is inconsistent with RR & Message states cosmetic changes 2021-03-17 20:09:44 +01:00
ismailgulek
c228f8859d
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
4554f6201e
Add call actions 2021-03-12 04:04:23 +03:00
Gil Eluard
877356138b Retrying & deleting failed messages
- Update after code review
2021-03-10 22:19:04 +01:00
Gil Eluard
d0e0dc856e Merge branch 'element_4014' into element_4013
# Conflicts:
#	Riot/Modules/Room/DataSources/RoomDataSource.m
2021-03-09 13:22:13 +01:00
Gil Eluard
1a71e61a66 Improve the status of send messages (sending, sent, received, failed)
- update after review
2021-03-09 11:59:54 +01:00
Gil Eluard
bfccb32b22 merged element_4014 into element_4013 2021-03-02 22:06:24 +01:00
Gil Eluard
9a41f0d4b8 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
419efd886a 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
6363e9018f Improve the status of send messages (sending, sent, received, failed)
- code tweaks
2021-02-25 11:10:38 +01:00
Gil Eluard
0a931cef6e 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
a250f4db44 RoomCreationIntroCellContentView: Improve add topic case. 2021-02-23 15:46:20 +01:00
Gil Eluard
2f774022e2 Improve the status of send messages (sending, sent, received, failed)
- First implementation
2021-02-22 13:51:25 +01:00
SBiOSoftWhare
d451788b35 UIView: Add accessibility commodity method. 2021-02-22 00:12:00 +01:00
ismailgulek
f41efd90d9 Merge branch 'voip_2746' into voip_tiles
# Conflicts:
#	Riot.xcodeproj/project.pbxproj
2021-02-10 21:41:51 +03:00
ismailgulek
e652206c0a Avoid force unwraps 2021-02-10 00:05:27 +03:00
ismailgulek
f82e64bf31 Make extension objc 2021-01-21 14:27:55 +03:00
ismailgulek
bfc82b0b0f Merge branch 'voip_2746' into voip_dialpad
# Conflicts:
#	Riot.xcodeproj/project.pbxproj
2021-01-20 16:25:36 +03:00
ismailgulek
58243aa7de Implement call cells, introduce allLinkedEvents on bubble cell data 2021-01-20 13:26:28 +03:00
ismailgulek
46a64d7ed3 Add call back action identifier 2021-01-20 13:23:09 +03:00
ismailgulek
6f3f7ddfd9 Merge branch 'develop' into voip_2746
# Conflicts:
#	Riot/Modules/Application/LegacyAppDelegate.m
2021-01-15 16:07:36 +03:00
ismailgulek
5c4062511b Introduce vc_removingAllWhitespaces on String 2021-01-13 21:49:45 +03:00
SBiOSoftWhare
68f4bcfc23
Update Riot/Categories/UIImage.swift
Co-authored-by: ismailgulek <ismailgulek@users.noreply.github.com>
2021-01-08 15:52:23 +01:00
SBiOSoftWhare
1fb17c712b Add convenient methods on URLComponents. 2021-01-07 11:22:24 +01:00
SBiOSoftWhare
a47e277058 UIImage: Add convenient method to resize an image. 2020-12-18 18:44:08 +01:00
ismailgulek
dfa9dc8ff2
Merge branch 'develop' into voip_2746 2020-12-03 12:26:26 +03:00
ismailgulek
70204abd53 Introduce CallService 2020-12-01 13:41:31 +03:00
SBiOSoftWhare
ad85de8573 InviteRecentTableViewCell: Add disclosure indicator to indicate preview action. 2020-11-13 17:16:43 +01:00
ismailgulek
6200e09484 Return image view instance as fab 2020-10-09 12:38:09 +03:00
ismailgulek
a83b999c3a Add an extension methof for simplicity 2020-10-09 12:26:54 +03:00
ismailgulek
0e6a286fe0 Factorize layout of table header and footers 2020-10-07 15:26:58 +03:00
manuroe
0c036e4cc2 MXSession: Make sure vc_canSetupSecureBackup is reusable
Put specific additional check out of this method
2020-10-01 16:46:32 +02:00
ismailgulek
409082a891 Remove the method not used anymore 2020-09-23 13:36:49 +03:00
ismailgulek
c12975c032 Introduce an extension method to hide cell separators 2020-09-21 14:05:27 +03:00
ismailgulek
47d067e23e Merge branch 'develop' into element_3628
# Conflicts:
#	Riot.xcodeproj/project.pbxproj
2020-09-10 18:18:29 +03:00
ismailgulek
7f562a3c84 Move MXThirdPartyProtocolInstance extension to a new file 2020-09-10 11:25:43 +03:00
ismailgulek
0495ba8f66 Make some legacy cells conform Reusable & Themable, add some new 2020-09-09 19:32:54 +03:00
ismailgulek
88de16b0e6 Introduce vc_closeKeyboard on UIApplication 2020-09-07 13:51:30 +03:00
SBiOSoftWhare
1d1a324c1b Remove deprecated -[UIApplication openURL] usage. 2020-09-01 12:20:44 +02:00
ismailgulek
80891db6c2 Make MXSessionState comparable 2020-08-21 14:06:35 +03:00
ismailgulek
c4c16f399f Merge branch 'develop' into element_3452 2020-08-13 13:32:46 +03:00
ismailgulek
7d28480219 Introduce vc_notRenderedImage 2020-08-12 18:41:38 +03:00
ismailgulek
dcded30cc4 Fix default orientation for navigation controllers 2020-08-12 17:41:54 +03:00
ismailgulek
877c72fb91 Refactor remove call notifications method 2020-08-11 12:53:51 +03:00
ismailgulek
ea7bca3a9b Remove call notifications on various points 2020-08-10 18:20:02 +03:00
ismailgulek
f4b32dc4d5 Fix crash 2020-08-10 14:28:05 +03:00
ismailgulek
d9dc80ec36 Introduce isPhone 2020-08-06 16:32:58 +03:00
ismailgulek
2aef5f33f0 Move scroll method to an extension 2020-08-05 15:22:27 +03:00
manuroe
13d1b51a79 BuildSettings: Make it work from extensions 2020-07-30 11:35:50 +02:00
ismailgulek
26055b96c7
Add view shaker 2020-07-21 16:16:39 +03:00
SBiOSoftWhare
e4c93e4d25 UITableViewCell: Add convenient method to set disclosure indicator with tint color. 2020-07-16 23:12:33 +02:00
SBiOSoftWhare
8ccd4952fa HomeVC: Room actions, update icons and add background corner radius. 2020-07-07 02:29:41 +02:00
ismailgulek
ed9750e53f
Merge branch 'develop' into xcode11
# Conflicts:
#	CHANGES.rst
#	Riot.xcodeproj/project.pbxproj
2020-06-26 17:33:09 +03:00
SBiOSoftWhare
77b726189b Refactoring secure backup references. 2020-06-26 14:13:37 +02:00
SBiOSoftWhare
4a74b09245 MXSession: Add convenient method to check if we can setup secure key backup. 2020-06-25 15:58:52 +02:00
SBiOSoftWhare
994d64ca20 MXSession+Riot: Use vc prefix as other extensions. 2020-06-25 10:23:24 +02:00
SBiOSoftWhare
d4f1aef1fc
Merge branch 'develop' into riot_3344 2020-06-24 21:57:37 +02:00
manuroe
3159131651 E2E by default: Disable it if the HS admin disabled it
#3305
2020-06-24 17:08:14 +02:00
SBiOSoftWhare
90ed345679 UIImage: Add convenient method to set the alpha. 2020-06-23 18:31:52 +02:00
SBiOSoftWhare
cdb6369231 MXRecoveryService: Add convenient var to return SecretsRecoveryAvailability. 2020-06-15 16:12:58 +02:00
ismailgulek
a9e862138f
Enhance NSE logs for debugging 2020-06-02 18:25:19 +03:00
ismailgulek
0d73c8dccf
Merge pull request #3268 from vector-im/remove_pushkit
Remove PushKit
2020-05-29 12:34:20 +03:00
SBiOSoftWhare
b713293347 Fix some SwiftLint warnings. 2020-05-29 09:35:46 +02:00
ismailgulek
f85aee0a56
Implement a workaround to delete some notifications afterwards
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-25 17:52:29 +03:00
ismailgulek
abb2976e9a Removed latest categories
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-22 12:10:58 +03:00
ismailgulek
c92f0b9b0b Direct status bar hidden & style properties to children for UINavigationController, UITabBarController and UISplitViewController
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-22 12:08:16 +03:00
SBiOSoftWhare
c27d679c41 Add convenient multiline UILabel height fix method. 2020-05-07 10:52:12 +02:00
SBiOSoftWhare
333f7a0db4 MasterTatBarVC: Fix navigation stack issue when show security screen. 2020-05-05 09:17:47 +02:00
SBiOSoftWhare
c88ef8f549 UILabel: Add convenient method for setting line spacing. 2020-04-24 16:23:15 +02:00
ismailgulek
911eb38026
Merge pull request #3084 from vector-im/riot_3067
Consider Safe Area Insets for Some Screens
2020-04-23 20:56:58 +03:00
manuroe
020fbc4ed6 Rename UserEncryptionTrustLevelNormal to UserEncryptionTrustLevelNotVerified 2020-04-23 15:25:43 +02:00
manuroe
38fd4fd831 Cross-signing: Allow to verify each device of users with no cross-signing
Fix #3138
This is implemented by adding a new `UserEncryptionTrustLevel` value: `UserEncryptionTrustLevelNoCrossSigning`
2020-04-23 15:10:41 +02:00
ismailgulek
58de3a7898
Some custom constraints on table view cells fixed for safe area
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 16:15:30 +03:00
ismailgulek
a2e35356e1
ContactsTableViewController safe area insets, fixes #3072
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 13:53:12 +03:00
ismailgulek
5d9737f67b
Return to call button safe area insets
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 13:53:09 +03:00
manuroe
f337e84888 Badges: Make Riot build again 2020-04-21 14:26:20 +02:00
manuroe
801da3d129 RoomMember scree: Display the verify button even in non e2e rooms
#3046
Display also the shield on the user to have the same screen for e2e and non e2e rooms
2020-03-27 09:12:49 +01:00
SBiOSoftWhare
22b9b6df21 MXRoom: Add a method to get user encryption trust level. 2020-02-03 18:59:25 +01:00
manuroe
09c77e6142 Room e2e decoration: Change the algo a bit 2020-02-01 17:25:23 +01:00
manuroe
c70452661a Room decoration: Use shields instead of padlocks
#2906
2020-01-31 14:59:54 +01:00
manuroe
750be94854 E2E by default: canEnableE2EByDefaultInNewRoomWithUsers is now defined in the SDK 2020-01-30 16:08:58 +01:00
manuroe
12ec147b62 Negotiate E2E by default for DMs
#2943
2020-01-28 15:16:53 +01:00
SBiOSoftWhare
a47522b7c5 MXKRoomBubbleTableViewCell: Add incoming key verification request action identifiers. 2020-01-14 19:55:49 +01:00
SBiOSoftWhare
25bb439aff UIView: Add convenient vc_removeAllSubviews method. 2019-12-20 10:32:33 +01:00
SBiOSoftWhare
643418142a UIStackView: Refactor extension method vc_removeAllSubviews to vc_removeAllArrangedSubviews. 2019-12-20 10:32:09 +01:00
SBiOSoftWhare
719c0a9b68 Add convenient method to UIButton to set a background color as an image. 2019-11-28 12:42:19 +01:00
SBiOSoftWhare
e866817e82 Add convenient clamped method to FloatingPoint. 2019-11-28 12:41:18 +01:00
manuroe
ac1858a730 iOS13 code cannot be built from Xcode10 2019-08-08 15:05:50 +02:00
manuroe
ec768b1202 BF: Fix crash for earch bar customisation in iOS13
#2626
2019-08-07 18:36:58 +02:00
SBiOSoftWhare
8b9ca69836 Reactions: Add long press gesture on bubble cell reactions. 2019-07-30 17:24:45 +02:00
SBiOSoftWhare
a769f6290e Emoji picker: Implement Emoji picker screen. 2019-07-25 16:58:14 +02:00
SBiOSoftWhare
62dabebdd8 Themes: Handle search bar text color. 2019-07-25 16:58:14 +02:00
SBiOSoftWhare
85e8d6eb27 MXKRoomBubbleTableViewCell: Add a method to get surrounding bubble component frame. 2019-07-08 18:42:32 +02:00