Commit graph

177 commits

Author SHA1 Message Date
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
SBiOSoftWhare
f33a0e9b7a MXKRoomBubbleTableViewCell: Add convenient method to compute bubble cell height for cell with attachment view. 2019-06-18 18:29:12 +02:00
SBiOSoftWhare
c8bbf9fd00 MXKRoomBubbleTableViewCell: Improve timestamp label positioning. 2019-06-18 17:41:09 +02:00
SBiOSoftWhare
4e9cb9d52f
Update Riot/Categories/MXKRoomBubbleTableViewCell+Riot.m
Co-Authored-By: giomfo <giom@matrix.org>
2019-05-29 15:22:42 +02:00
SBiOSoftWhare
dc61c7dee1
Update Riot/Categories/MXKRoomBubbleTableViewCell+Riot.h
Co-Authored-By: giomfo <giom@matrix.org>
2019-05-29 15:17:20 +02:00
SBiOSoftWhare
bd78e32cc7
Update Riot/Categories/MXKRoomBubbleTableViewCell+Riot.h
Co-Authored-By: giomfo <giom@matrix.org>
2019-05-29 15:16:38 +02:00
SBiOSoftWhare
599bab3967 MXKRoomBubbleTableViewCell: Display timestamp on left when select memberships. 2019-05-29 12:59:46 +02:00
SBiOSoftWhare
550f3aac9e MXKRoomBubbleTableViewCell: Add convenient method to get frame of a MXKRoomBubbleComponent in cell contentView. Update timestamp label frame calculation. 2019-05-29 12:18:56 +02:00
SBiOSoftWhare
4cb166072a MXKRoomBubbleTableViewCell: Add convenient method to calculate a bubble component frame in table view. 2019-05-22 18:46:22 +02:00
SBiOSoftWhare
4e1e95fd2c
Update Riot/Categories/MXKRoomBubbleTableViewCell+Riot.m
Co-Authored-By: manuroe <manuroe@users.noreply.github.com>
2019-05-22 17:28:08 +02:00
SBiOSoftWhare
727f44295b Add convenient method on UITouch to determine if touch is inside a given view. 2019-05-22 16:35:26 +02:00
SBiOSoftWhare
6419fd6ecc MXRoomBubbleTableViewCell: Display the timestamp of the selected component on the left when there is enough space. 2019-05-22 16:22:26 +02:00
SBiOSoftWhare
0c8a98327d Add convenient methods on UIGestureRecognizer, UIImage and UIStackView. 2019-05-15 21:29:47 +02:00
SBiOSoftWhare
d6509d01f8 MXKRoomBubbleTableViewCell+Riot: Add possibility to hide timestamp when selecting a component. 2019-05-15 21:15:50 +02:00
SBiOSoftWhare
b4d7b3f78e MXKRoomBubbleTableViewCell+Riot: Add possibility to hide edit button on selection. 2019-05-07 16:49:12 +02:00
SBiOSoftWhare
f401f31021 Add a convenience method on MXKRoomBubbleTableViewCell Riot category to update the color name based on the sender id. 2019-03-07 17:44:15 +01:00
SBiOSoftWhare
3e776ebae7 Add a custom hash method on String same as Riot Web 2019-03-07 17:32:10 +01:00
manuroe
99bb7b9324
Update Riot/Categories/UIApplication.swift
Co-Authored-By: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2019-03-04 19:06:14 +01:00
SBiOSoftWhare
b0d456b028 Add convenient method on UIApplication for opening an URL on iOS 9 and iOS 10+ 2019-03-04 18:03:20 +01:00
SBiOSoftWhare
a4e2e6ee6f Fix SwiftLint warnings 2019-02-27 10:07:51 +01:00
manuroe
7a5c0bef99 Maintenance: Update cocopoads and pods. Automatic update to Swift4.2 2019-02-20 16:45:32 +01:00
manuroe
91861ef4df key backup: Add a dedicated section to settings
#2193

Still WIP
2019-01-31 03:06:47 +01:00
SBiOSoftWhare
4d4a33fd29 Add convenient method on UIButton to enable title with multiple lines. 2019-01-30 11:14:03 +01:00
SBiOSoftWhare
86586dd6e2 Add commodity methods on OperationQueue and use them in key backup setup view models. 2019-01-23 12:11:30 +01:00
SBiOSoftWhare
06f8297ee4 Fix typo in UIView extension 2019-01-22 17:09:15 +01:00
SBiOSoftWhare
c64cc07a31 Add extension methods for view controller containment on UIViewController and add convenient method to remove back bar button title when pushing a view controller on UINavigationViewController. 2019-01-22 00:04:34 +01:00
SBiOSoftWhare
1c8acd572a Add convenient method on UIView to add a subview matching parent 2019-01-21 23:45:51 +01:00
manuroe
09d70b1315 reskin: kill UIColorFromRGB and use UIColor swift extension 2019-01-11 12:15:43 +01:00
manuroe
744208ae25 reskin: Create ThemeService.shared 2019-01-11 11:45:27 +01:00
manuroe
b3b6e2c80c reskin: Rename RiotDesignValues -> ThemeService 2019-01-11 10:46:00 +01:00
manuroe
dfecc403ec reskin: kill kRiotSecondaryTextColor 2019-01-10 18:05:21 +01:00
manuroe
21a9a7c9f3 reskin: kill kRiotPrimaryBgColor 2019-01-10 17:50:26 +01:00
manuroe
8b47ac54ca reskin: Kill RiotDesignValues.kRiotKeyboardColor and replace it by Theme.matrixSearchBackgroundImageTintColor 2019-01-10 17:36:36 +01:00
manuroe
5cf4eb0bdc reskin: Delegate navigation and search bars styling to theme 2019-01-10 16:43:03 +01:00
manuroe
eca85776a1 reskin: rename ColorValues to Theme 2019-01-10 15:32:59 +01:00
manuroe
6f30f88b03 reskin: ColorValues: suffix UIColor properties names with "Color" 2019-01-10 15:23:22 +01:00
manuroe
cecba319cf Merge remote-tracking branch 'origin/develop' into reskin
# Conflicts:
#	Riot/Constants/RiotDesignValues.m
#	Riot/Modules/Authentication/AuthenticationViewController.m
2019-01-10 11:50:57 +01:00
manuroe
d7c3eef632 Merge remote-tracking branch 'origin/develop' into reskin 2019-01-09 16:38:49 +01:00
fridtjof
c7fbca7698
make use of Obj-C's modern syntax for literals and subscripting 2019-01-08 00:24:11 +01:00
fridtjof
8291c99542
fix almost all the warnings caused by -Wstrict-prototypes 2019-01-05 03:28:53 +01:00
manuroe
a50c9f55b1 Reskin: Kill kRiotColorGreen and use RiotDesignValues.colorValues.accent instead 2018-11-30 17:10:28 +01:00
manuroe
6b1e5c6086 Reskin:Create [RiotDesignValues applyStyleOnSearchBar:] and use it 2018-11-30 15:57:19 +01:00
Giom Foret
3258e3abc1 MXImageView: use the new interface [setImageURI:...] instead of the deprecated one [setImageURL:...] .
Note - DirectoryServerTableViewCell:
Presently the thirdPartyProtocolInstance.icon is not a Matrix Content URI. We could not use here MXKImageView setImageURI method
 without breaking the instance icon rendering. We use the deprecated interface until this point is fixed on the server side.
2018-11-11 15:20:32 +01:00
manuroe
c0cbd8004f Swift: Reintroduce 'MatrixSDK/SwiftSupport' 2018-08-24 15:26:14 +02:00