Commit graph

338 commits

Author SHA1 Message Date
Gil Eluard
601ba0b472 Merge branch gil/SP1_space_creation into gil/5230_SP2-Adding_Rooms_to_Spaces 2022-02-04 16:43:43 +01:00
ismailgulek
61b741ef2d
Merge branch 'develop' into ismail/5096_thread_notifications 2022-02-02 12:46:00 +03:00
SBiOSoftWhare
5ff5a7065b
Merge pull request #5461 from vector-im/steve/5209_media_bubbles_2
Message bubbles: Layout for media (part 2)
2022-02-01 17:52:19 +01:00
SBiOSoftWhare
26f4aee144 MXKRoomBubbleTableViewCell: Add possiblity to choose between left or right display for timestamp. 2022-01-31 17:15:35 +01:00
ismailgulek
3dec412178
Merge branch 'develop' into ismail/5096_thread_notifications 2022-01-27 03:20:25 +03:00
SBiOSoftWhare
41af0a66f9 MXEvent: Add convenient message type property. 2022-01-26 16:10:38 +01:00
SBiOSoftWhare
ae8d73d9bf MXKRoomBubbleCellData: Remove redundant isSenderCurrentUser method. 2022-01-26 15:52:27 +01:00
SBiOSoftWhare
b5b4b8221f MXKRoomBubbleCellData: Add convenient method to get RoomBubbleCellDataTag value. 2022-01-26 15:45:45 +01:00
ismailgulek
9327626021
Fix Doug's remarks 2022-01-26 15:58:37 +03:00
ismailgulek
67da0c0955
Merge branch 'ismail/5068_start_thread' into ismail/5068_design_tweaks 2022-01-26 14:27:25 +03:00
ismailgulek
ec8acd042d
Merge branch 'ismail/5068_design_tweaks' into ismail/5096_thread_notifications 2022-01-19 00:12:40 +03:00
SBiOSoftWhare
2217a8f9f1 MXKRoomBubbleCellData: Add convenient method. 2022-01-18 17:47:22 +01:00
SBiOSoftWhare
2a26ad1e01 MXKRoomBubbleCellData: Add convenient method to check if the sender is the current user. 2022-01-18 15:13:34 +01:00
ismailgulek
e2664e9534
Speed up toast animation 2022-01-18 02:37:25 +03:00
Gil Eluard
4c4f668e57 Merge branch 'develop' into gil/5230_SP2-Adding_Rooms_to_Spaces
# Conflicts:
#	Riot/Assets/en.lproj/Vector.strings
#	Riot/Generated/Strings.swift
#	Riot/Modules/Room/Members/RoomParticipantsViewController.m
#	Riot/Modules/Spaces/SpaceMembers/MemberList/SpaceMemberListViewController.swift
#	Riot/Modules/Spaces/SpaceRoomList/ExploreRoom/SpaceExploreRoomViewController.swift
#	Riot/SupportingFiles/Riot-Bridging-Header.h
#	RiotSwiftUI/Modules/Common/Mock/MockAppScreens.swift
2022-01-17 20:40:12 +01:00
ismailgulek
f3e492a300
Merge branch 'ismail/5068_start_thread' into ismail/5096_thread_notifications 2022-01-17 11:39:25 +03:00
ismailgulek
e9b24263e7
Merge branch 'ismail/5068_start_thread' into ismail/5068_design_tweaks 2022-01-17 11:37:41 +03:00
ismailgulek
ff9c264c66
Persist rendering mode when resizing an image 2022-01-12 14:47:30 +03:00
ismailgulek
f0ee94ddc8
Implement basic toast 2022-01-06 02:39:20 +03:00
ismailgulek
082607bc0e
Adapt from summaries to rooms & little naming fixes 2021-12-29 17:40:09 +03:00
Gil Eluard
81951176c3 SP2: Adding Rooms to Spaces element-ios#5230
- Implemented designs with new & existing tabs in a bottom sheet
- Replaced rough edge warnings from space panel overflow with working journeys
2021-12-23 14:08:00 +01:00
SBiOSoftWhare
4081da3ebc Update all Objective-C MatrixKit imports to handle new location. 2021-11-30 16:09:53 +01:00
SBiOSoftWhare
7d4c295aef MXKRoomBubbleTableViewCell+Riot: Fix constant defined twice. 2021-11-29 17:56:31 +01:00
SBiOSoftWhare
867158f905 Remove unnecessary MatrixKit imports. 2021-11-29 17:45:35 +01:00
Doug
e324767d7d Merge branch 'master' into develop
# Conflicts:
#	Podfile.lock
#	Riot/Modules/Room/RoomViewController.m
2021-11-17 17:36:44 +00:00
Doug
09bb04ad31 Add changelog.
Remove whitespace.
2021-11-11 09:52:47 +00:00
SBiOSoftWhare
21f114deba MXSession: Add logs to track if E2EE is enabled by default on the current HS. 2021-11-10 18:58:34 +01:00
SBiOSoftWhare
5cd7bfdef0 MXSession: Add logs to track if E2EE is enabled by default on the current HS. 2021-11-10 18:54:39 +01:00
SBiOSoftWhare
1267cf6ee9 MXSession: Add logs to track if E2EE is enabled by default on the current HS. 2021-11-10 18:42:29 +01:00
Philippe Loriaux
c6c3eaaec1 Improve the Obj-C Generated Interface Header Name definition 2021-10-26 17:42:33 +02:00
ismailgulek
bffee105cf
Add docs and rename block parameter 2021-10-12 14:29:16 +03:00
ismailgulek
58df3d3309
Merge branch 'develop' into ismail/4384_room_summary_store 2021-10-12 11:49:55 +03:00
Doug
93e70896ba
Merge pull request #4980 from vector-im/doug/4978_room_avatar_colours
Fix generated avatar colours not matching Element Web.
2021-10-11 16:54:17 +01:00
Doug
bd56dbe731 Fix generated avatar colours not matching Element Web. 2021-10-11 16:06:15 +01:00
SBiOSoftWhare
73919b1791 Array: Update convenient method signature. 2021-10-08 15:45:53 +02:00
SBiOSoftWhare
44ad337908 UIViewController: Add convenient method to set splitViewController displayModeButtonItem if needed. 2021-10-05 10:48:52 +02:00
SBiOSoftWhare
228d4be918 Array: Add convenient remove method. 2021-10-05 10:48:51 +02:00
ismailgulek
bc1d0d7172
Merge branch 'develop' into ismail/4384_room_summary_store 2021-09-28 17:30:39 +03:00
Gil Eluard
cc8ac58fd5 Merge branch 'spaces' into gil/4498_Handle_space_link 2021-09-23 15:26:29 +02:00
Gil Eluard
cf51612864 Merge branch 'develop' into spaces 2021-09-23 15:26:06 +02:00
Gil Eluard
9b8f8d1a20 fixed FAB button in Home screen 2021-09-22 22:57:21 +02:00
ismailgulek
c71386a2ba
Adapt sentStatus changes 2021-09-22 11:41:22 +03:00
ismailgulek
1241ca8a88
Implement NSArray mappers 2021-09-22 11:38:50 +03:00
ismailgulek
c327e3433d
Introduce vc_hasIndexPath on UITableView extension 2021-09-22 11:04:39 +03:00
Gil Eluard
8ba6c55a87 Merge branch 'develop' into spaces
# Conflicts:
#	Riot/Modules/Common/Avatar/AvatarViewDataProtocol.swift
#	Riot/Modules/Common/Recents/RecentsViewController.m
#	Riot/Modules/Home/Views/RoomCollectionViewCell.m
#	Riot/Modules/TabBar/TabBarCoordinator.swift
2021-09-15 14:42:04 +02:00
Stefan Ceriu
d4c7a2b0d1 Revert "Revert "#4693 - Drop iOS 11 support."" 2021-09-14 11:41:36 +03:00
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
Gil Eluard
99caa08860 [Spaces] M10.7 Explore rooms #4571
- Update after review
2021-09-01 18:12:08 +03: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
Gil Eluard
0b7693da85 [Spaces] Show suggested in room lists #4501
- Update after code review
2021-08-16 10:33:10 +02: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
Gil Eluard
dd9a05a1bb [Spaces] Show suggested in room lists #4501
- Show suggested rooms section in home screen (no actions)
- Show suggested rooms section in rooms screen (no actions)
2021-07-29 23:24:34 +02:00
Gil Eluard
e492d2b077 #4090 - Update after review 2021-07-06 23:03:56 +02:00
SBiOSoftWhare
4cdca960b3 UIButton: Add shortcut to button label property adjustsFontForContentSizeCategory. 2021-06-18 19:26:55 +02:00
SBiOSoftWhare
dc5d0433a0 ShowDirectory: Update view model and handle direct input of room id alias even non public. 2021-06-14 16:13:46 +02:00
SBiOSoftWhare
13703325fa Create UserAvatarView. 2021-06-07 18:46:16 +02: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
ismailgulek
993c74e773
Change onTintColor 2021-06-01 17:22:45 +03:00
ismailgulek
58ce8da129
Use tintColor for switches 2021-06-01 17:11:05 +03:00
SBiOSoftWhare
8f437e9fbe Merge branch 'spaces_beta' into spaces_feature_unavailable
# Conflicts:
#	Riot/Modules/Application/LegacyAppDelegate.h
2021-05-07 15:08:45 +02:00
SBiOSoftWhare
c3ea97b6a4 UITableViewCell: Add convenient method to hide one separator cell. 2021-05-06 12:04:29 +02:00
ismailgulek
eb5929d96d
Merge branch 'voip_design_updates' into voip_jitsi_remover 2021-05-04 19:11:17 +03:00
ismailgulek
678fc48b80
Merge branch 'develop' into voip_design_updates 2021-05-04 19:10:22 +03:00
SBiOSoftWhare
c5e82f36d5 Add comments on new classes and methods. 2021-04-29 12:38:04 +02:00
SBiOSoftWhare
41163493d7 MXSession: Remove vc_isE2EByDefaultEnabledByHSAdmin method and expose vc_homeserverConfiguration. 2021-04-29 12:37:57 +02:00
SBiOSoftWhare
863a7cddbf Remove MXWellKnown extension. 2021-04-29 12:37:11 +02:00
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