Commit graph

321 commits

Author SHA1 Message Date
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
manuroe
4daabb5d3e Disable 'MatrixSDK/SwiftSupport' pod
And make Swift code not using NS_REFINED_FOR_SWIFTed methods from MatrixSDK
2018-08-10 17:08:25 +02:00
manuroe
b64b5767fb Make use of MXRoom.roomId and MXRoom.summary instead of MXRooms.state 2018-07-16 22:30:55 +02:00
giomfo
d42f267372 Improve Error Notifications (based on kMXKErrorNotification)
Add the account identifier in userInfo dictionary to let the listener know which account is concerned by the error.

vector-im/riot-ios#1839
2018-04-13 16:43:41 +02:00
Giom Foret
427eca85e1 Groups: self-management of membership of groups
- Improve group details display

vector-im/riot-meta#114
2017-12-20 12:32:40 +01:00
Giom Foret
fcff3fe87d Groups: self-management of membership of groups
- Add Groups tab

vector-im/riot-meta#114
2017-12-12 16:03:26 +01:00
Giom Foret
6c5c162aba Merge branch 'develop' into callkit 2017-09-19 09:50:21 +02:00
Giom Foret
e4bf4f7dfa Handle the room display name and its avatar at the room summary level.
- Update the room display name and its avatar url when the Room Summary is updated on state events change (see `[session: updateRoomSummary: withStateEvents:]`).
- Store the riot display room name and its avatar url in the Room Summary.
- Add a new category `MXRoomSummary+Riot` to handle avatar display.

TODO: Increase file store version in `MXFileStore.h`.
2017-09-14 16:00:50 +02:00
Giom Foret
8f3736c403 Dark theme - Improvements
- the keyboard bubble should be darker too
2017-09-11 22:37:00 +02:00
manuroe
c0ba516a2e Merge remote-tracking branch 'origin/pr/1458' into callkit
# Conflicts:
#	Riot.xcodeproj/project.pbxproj
#	Riot/AppDelegate.m
#	Riot/ViewController/SettingsViewController.m
2017-09-04 15:57:37 +02:00
Giom Foret
9863045ff3 Bug Fix - Dark theme - Improvements #1444
- search dialogs being wrong themed
2017-08-25 13:53:17 +02:00
Denis Morozov
88e9ebddb2 Create app level category for MXSession to count missed notifications count 2017-08-22 10:46:53 +03:00
Giom Foret
e9bc00959d Enable Dark theme
TODO:
- fix the app freeze when user changes the app theme.
2017-08-11 16:56:09 +02:00
giomfo
3fac2a0b63 Merge pull request #1341 from aramsargsyan/read-receipts-details
Read receipts details
2017-06-30 10:33:06 +02:00
Giom Foret
6747ec692e Bug Fix - Chat screen: the message overlaps its timestamp
(related to #1361)
2017-06-28 18:51:05 +02:00
Giom Foret
d7360068fb Read Receipts Details - RoomDataSource: Add RR container in the cell content view
instead of the overlay container to not disturb tag gesture handling.

https://github.com/vector-im/riot-ios/issues/59
2017-06-27 11:05:43 +02:00
Aram Sargsyan
74455c0dc7 Review changes 2017-06-26 22:22:32 +04:00
Aram Sargsyan
e688c61715 Removed the ReceiptsContainerDelegate, used didRecognizeAction: instead 2017-06-26 19:33:53 +04:00
manuroe
d90423e78a Merge remote-tracking branch 'origin/develop' into room_summary
# Conflicts:
#	Riot/Categories/MXRoom+Riot.m
#	Riot/Model/RoomList/RecentCellData.m
2017-03-15 17:24:54 +01:00
Giom Foret
f15035d47b Rebranding: replace Vector by Riot everywhere in the git and github repos
- Rename categories
2017-03-09 11:59:22 +01:00
Giom Foret
08c29911a7 Rebranding: replace Vector by Riot everywhere in the git and github repos
- Rename categories
2017-03-09 11:50:28 +01:00
Giom Foret
7928cd5e47 Rebranding: replace Vector by Riot everywhere in the git and github repos
- Rename categories
2017-03-09 11:50:12 +01:00
Giom Foret
8116de7e0c Rebranding: replace Vector by Riot everywhere in the git and github repos
- Rename categories
2017-03-09 11:25:36 +01:00
Giom Foret
7c20550a4b Rebranding: replace Vector by Riot everywhere in the git and github repos 2017-03-09 11:21:43 +01:00
Giom Foret
61a1723069 Rebranding: replace Vector by Riot everywhere in the git and github repos
- Rename categories
2017-03-09 11:18:18 +01:00
giomfo
ae558ebbe6 Bug Fix - default room avatar for an empty room should not be your own face
Changes:
- If the room has only two members, use the avatar of the second member even if this member is invited.
- The plain solid circle (without initial) is used only for an "empty room" without display name (We name "empty room" a room in which the current user is the only active member).
2017-03-08 18:54:20 +01:00
giomfo
7860d46996 Rebranding: replace Vector by Riot everywhere in the git and github repos
- Rename VectorDesignValues with RiotDesignValues
2017-03-08 16:14:41 +01:00
giomfo
568af33fdf Rebranding: replace Vector by Riot everywhere in the git and github repos
- Rename "Vector" directory with "Riot"
2017-03-08 11:08:03 +01:00