Commit graph

451 commits

Author SHA1 Message Date
ismailgulek
90ebc08e74
RoomViewController fix redundant space on table bottom
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 13:58:35 +03:00
ismailgulek
cf29ff4349
RoomMemberDetailsViewController bug fix: navigationBar was remaining translucent
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 13:53:13 +03:00
ismailgulek
7d5b7f15a7
Bug fix: When navigating back from a child page using edgeScreenPanRecognizer, do not destroy child pages until navigation completed
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 13:53:13 +03:00
ismailgulek
383438174f
RoomViewController bubblesTableView bottom constraint fix
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 13:53:13 +03:00
ismailgulek
475deda512
Layout problem on back from RoomSearchViewController, fixes #3073
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 13:53:12 +03:00
ismailgulek
1376c6b27b
RoomParticipantsViewController safe area insets
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 13:53:12 +03:00
ismailgulek
f753d97ba1
RoomViewController safe area insets 2020-04-22 13:53:11 +03:00
manuroe
f337e84888 Badges: Make Riot build again 2020-04-21 14:26:20 +02:00
manuroe
35bc453ef0 Remove LABS > Enable Cross-signing 2020-04-15 23:17:10 +02:00
manuroe
ee62f3b6f2 KeyVerificationCoordinatorBridgePresenterDelegate: Add keyVerificationCoordinatorBridgePresenterDelegateDidCancel 2020-04-14 12:50:53 +02:00
SBiOSoftWhare
ba7ad7b9c7 RoomVC: Handle title view encryption trust level badge image 2020-04-08 15:07:24 +02:00
SBiOSoftWhare
ffa560dc81 RoomTitleView: Add badge image view. 2020-04-08 15:06:59 +02:00
SBiOSoftWhare
26ac56d908 Use EncryptionTrustLevelBadgeImageHelper where needed. 2020-04-08 15:06:27 +02:00
SBiOSoftWhare
b8f82a6bef ExpandedRoomTitleView: Reduce trust level badge size. 2020-04-08 12:42:12 +02:00
SBiOSoftWhare
06b0f8db9e RoomMemberTitleView: Remove power level badge. 2020-04-08 12:38:55 +02:00
SBiOSoftWhare
0afdd7af5f RoomMemberDetailsViewController: Add power level label instead of badge. 2020-04-08 12:37:52 +02:00
SBiOSoftWhare
7e0331a9cb RoomParticipantsViewController: Handle power level label instead of badge. 2020-04-08 12:36:34 +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
90208e3b0f Refactor DeviceVerification prefix classes to KeyVerification where needed. And move key verification related classes into the same module KeyVerification. 2020-03-18 17:39:26 +01:00
manuroe
3195283768 MXCrypto: Rename MXDeviceVerificationManager to MXKeyVerificationManager
Because it makes more sense now
2020-02-11 13:56:36 +01:00
SBiOSoftWhare
a46e8e025b RoomVC: For a room preview use room canonical alias if present when joining a room. 2020-02-10 17:54:52 +01:00
SBiOSoftWhare
97dc906553 RoomVC: Use cells with encryption badge only if needed in order to recover horizontal white space. 2020-02-06 18:46:32 +01:00
SBiOSoftWhare
17d443de42 Message decoration: Fix shield appearance behavior. 2020-02-06 11:14:13 +01:00
SBiOSoftWhare
260d05ab81
Merge pull request #2967 from vector-im/riot_2960_2
User verification: Use localization strings
2020-02-04 10:27:37 +01:00
SBiOSoftWhare
48125b6147 RoomMemberDetailsViewController: Use NSArray instead of NSMutableArray for security section. 2020-02-04 10:23:19 +01:00
SBiOSoftWhare
e05f3ae6af RoomMemberDetailsViewController: Get user encryption trust level with MXRoom. 2020-02-03 19:00:33 +01:00
SBiOSoftWhare
72da7b1f2e RoomMemberDetailsViewController: Update security section and use localization strings. 2020-02-03 17:50:52 +01:00
SBiOSoftWhare
17fb117329 Merge branch 'develop' into riot_2924
# Conflicts:
#	Riot/Modules/Room/DataSources/RoomDataSource.m
2020-01-31 16:45:35 +01:00
manuroe
c70452661a Room decoration: Use shields instead of padlocks
#2906
2020-01-31 14:59:54 +01:00
SBiOSoftWhare
81466c5417 Update MXUsersTrustLevelSummary fetch. 2020-01-30 21:37:25 +01:00
SBiOSoftWhare
0d23b2d461 User verification: Update room member details screen with security section and shields. 2020-01-30 18:05:41 +01:00
manuroe
23a23445fa Shields: Shields in one self room should be green if I have no other device 2020-01-30 17:48:22 +01:00
SBiOSoftWhare
3b005d282d User verification: Create UserEncryptionTrustLevel enum. 2020-01-30 17:42:54 +01:00
manuroe
82c1578aaa Room Shield: Use sync version of [MXRoom membersTrustLevelSummary:]
https://github.com/vector-im/riot-ios/issues/2956
to break keys downloads in loop
2020-01-30 17:16:53 +01:00
manuroe
589c1ca3b6 Message decoration: Do not decorate state events
#2947
2020-01-28 15:53:09 +01:00
SBiOSoftWhare
5480e913ad RoomVC: Use encryption normal shield when retrieving room encryption trust level. 2020-01-24 17:13:08 +01:00
SBiOSoftWhare
a7df696f5b RoomDataSource: Fix refactoring. 2020-01-23 16:39:33 +01:00
SBiOSoftWhare
d2e93bb9aa RoomDataSource: Now compute encryption trust level from trusted devices percentage in room. 2020-01-23 16:37:23 +01:00
SBiOSoftWhare
2ab9a4ae83 RoomVC: Handle encryption shields decoration for composer and expanded header. 2020-01-22 16:27:04 +01:00
SBiOSoftWhare
69a04c1af8 Room messages: Handle encryption shields decoration. 2020-01-22 16:25:39 +01:00
SBiOSoftWhare
39e841963e ExpandedRoomTitleView: Add badge image view on room avatar. 2020-01-22 16:23:39 +01:00
SBiOSoftWhare
927a909f21 RoomDataSource: Handle room members trust level for an encrypted room. 2020-01-22 16:21:47 +01:00
manuroe
75b740efe2
Merge branch 'develop' into riot_2890 2020-01-16 09:33:57 +01:00
manuroe
3d7c468936 Cross-signing: Follow API change on MXDeviceInfo.trustLevel 2020-01-16 09:24:40 +01:00
SBiOSoftWhare
3718d0fbdb
Merge pull request #2902 from vector-im/riot_2851
Notification in DMs / new Notification type
2020-01-15 18:21:05 +01:00
SBiOSoftWhare
b41343f3f6 KeyVerificationConclusionBubbleCell: Update warning title and badge image. 2020-01-15 10:50:36 +01:00
manuroe
c659e87a32 Cross-signing: Follow API change on [MXCrypto downloadKeys:] 2020-01-15 08:38:35 +01:00
SBiOSoftWhare
0ad759c18e RoomDataSource: Handle RoomBubbleCellData key verification update. Handle incoming key verification approval. 2020-01-14 21:47:16 +01:00
SBiOSoftWhare
3ea3f1f847 RoomViewController: Handle key verification cells with pagination title. Handle key verification incoming request approval actions. Remove copy action in context menu for key verification cells. 2020-01-14 20:23:36 +01:00
SBiOSoftWhare
d290938fb1 Add key verification cells with pagination title. 2020-01-14 20:15:28 +01:00
SBiOSoftWhare
148c0686fa Handle key verification cells data filling. 2020-01-14 20:14:17 +01:00
SBiOSoftWhare
28bd41f197 KeyVerificationBaseBubbleCell: Use BubbleCellContentView. Improve cell height caching. 2020-01-14 20:10:13 +01:00
SBiOSoftWhare
6fe6067529 Refactor BubbleCellWithoutSenderInfoContentView to BubbleCellContentView and handle pagination title. 2020-01-14 20:02:34 +01:00
SBiOSoftWhare
d9408dda33 RoomBubbleCellData: Handle key verification cells. Add key verification property and add key verification cell data tags. 2020-01-14 19:46:02 +01:00
Giom Foret
1d52a55d8a Code cleaning 2019-12-26 23:24:09 +01:00
SBiOSoftWhare
5cfe5833ce RoomDataSource: Handle read receipts display for cells conforming to BubbleCellReadReceiptsDisplayable. 2019-12-20 10:44:01 +01:00
SBiOSoftWhare
2fba33e598 RoomVC: Handle DM key verification cells. 2019-12-20 10:43:07 +01:00
SBiOSoftWhare
48db9c37a4 Create DM key verification cells. 2019-12-20 10:42:28 +01:00
SBiOSoftWhare
d4fd68e405 Create BubbleCellWithoutSenderInfoContentView a base room bubble cell content view. 2019-12-20 10:39:22 +01:00
SBiOSoftWhare
fc77865f84 Add BubbleCellReadReceiptsDisplayable protocol describing a cell able to manage read receipts display. 2019-12-20 10:37:53 +01:00
SBiOSoftWhare
4dcc6fb861 RoomBubbleCellData: Add new tags in RoomBubbleCellDataTag for key verification cells. 2019-12-20 10:35:04 +01:00
SBiOSoftWhare
643418142a UIStackView: Refactor extension method vc_removeAllSubviews to vc_removeAllArrangedSubviews. 2019-12-20 10:32:09 +01:00
SBiOSoftWhare
5a593a95d3 RoomVC: Handle tap and long tap on UITextView detected data other than links (Fix #2803). 2019-12-03 19:58:51 +01:00
SBiOSoftWhare
b50f8979f0 RoomVC: Prevent tableView scroll when displaying contextual menu. 2019-10-29 09:19:37 +01:00
SBiOSoftWhare
ea031cd033 RoomVC: Prevent tableView scroll when displaying contextual menu (Fix #2687). 2019-10-28 18:55:55 +01:00
SBiOSoftWhare
82527c2a3f Emoji picker: Fix reverse header and background colors (Fix #2630). 2019-10-22 18:54:59 +02:00
SBiOSoftWhare
57f2278d45 RoomViewController: Fix crash occurring when tap on an unsent media with retrieved event equal to nil. 2019-10-22 11:50:25 +02:00
SBiOSoftWhare
733298ede8 RoomViewController: Add logs when copy text failed. 2019-10-22 10:55:28 +02:00
SBiOSoftWhare
588168b342 RoomSettingsViewController: Fix a crash when setting a nil string on UIPasteboard. 2019-10-21 17:37:36 +02:00
SBiOSoftWhare
a5671878bb RoomViewController: Fix a crash when setting a nil string on UIPasteboard. 2019-10-21 17:36:58 +02:00
manuroe
ead5e435b3
Merge branch 'develop' into privacy 2019-10-04 11:56:55 +02:00
manuroe
ccfd5a8b51 Merge tag 'v0.9.5' into develop
Finish voice_over

# Conflicts:
#	CHANGES.rst
#	Riot/SupportingFiles/Info.plist
#	RiotShareExtension/SupportingFiles/Info.plist
#	SiriIntents/Info.plist
2019-09-20 17:28:16 +02:00
manuroe
871b9b1f6f VoiceOver: Make ScrollToBottomButton speakable 2019-09-20 17:21:00 +02:00
manuroe
d79ce22df5 VoiceOver: RoomVC: No VoiceOver on media
#2726
2019-09-20 16:25:15 +02:00
manuroe
e0406d4cec VoiceOver: RoomVC: Do not lose the focus on the timeline when paginating (with 3 fingers)
#2720
2019-09-19 17:21:03 +02:00
manuroe
952bf89068 VoiceOver: RoomVC: Make VoiceOver focus on the contextual menu when selecting an event
#2721
2019-09-18 13:51:45 +02:00
manuroe
1a63ece5ab VoiceOver: RoomVC: Fix some missing accessibility labels for buttons
#2722
2019-09-18 13:08:42 +02:00
manuroe
1c1825f856 i18n: improve naming: error_no_identity_server -> error_invite_3pid_with_no_identity_server 2019-09-17 10:56:46 +02:00
manuroe
c80e4b6a4d Privacy: If there is no IS, we cannot invite people by email
#2672

Display a message for MXRestClientErrorMissingIdentityServer errors
2019-09-17 10:06:10 +02:00
Giom Foret
9a18ced34a fix compilation issue 2019-09-04 17:26:06 +02:00
Giom Foret
30d757aa8c Room members: third-party invites can now be revoked 2019-09-04 17:14:36 +02:00
manuroe
ec768b1202 BF: Fix crash for earch bar customisation in iOS13
#2626
2019-08-07 18:36:58 +02:00
SBiOSoftWhare
20a7b04743
Update Riot/Modules/Room/Views/InputToolbar/RoomInputToolbarView.m
Co-Authored-By: manuroe <manuroe@users.noreply.github.com>
2019-08-02 18:12:41 +02:00
SBiOSoftWhare
ccc930ccc7 RoomSettingsViewController: Use SingleImagePickerPresenter for room avatar picture. 2019-08-02 17:26:34 +02:00
SBiOSoftWhare
119d7239a8 RoomVC: Handle presentation for new native camera and media library actions. 2019-08-02 17:19:29 +02:00
SBiOSoftWhare
b31087ec12 RoomInputToolbarView: Add separate actions for camera and media library. 2019-08-02 17:16:06 +02:00
SBiOSoftWhare
2bdd4d782e RoomDataSource: Do not display reactions when event is redacted. 2019-07-30 18:24:12 +02:00
SBiOSoftWhare
17775afd0e ReactionHistoryViewCell: Update copyright. 2019-07-30 18:06:13 +02:00
SBiOSoftWhare
58f485c56e Edit history: Fix some issues. 2019-07-30 17:24:46 +02:00
SBiOSoftWhare
06feb8e28b Reaction history: Handle presentation from room VC by long press on reactions or from contextual menu. 2019-07-30 17:24:46 +02:00
SBiOSoftWhare
1ad0d6908e Reaction history: Implement coordinator. 2019-07-30 17:24:46 +02:00
SBiOSoftWhare
8c83e1d51d Reaction history: Implement screen. 2019-07-30 17:24:45 +02:00
SBiOSoftWhare
f8cdb2afd6 Reaction history: Implement view model. 2019-07-30 17:24:45 +02:00
SBiOSoftWhare
8b9ca69836 Reactions: Add long press gesture on bubble cell reactions. 2019-07-30 17:24:45 +02:00
SBiOSoftWhare
ca7779ae58 Emoji picker: Handle Manu's comments. 2019-07-26 14:06:19 +02:00
SBiOSoftWhare
46434d7596
Update Riot/Modules/Room/RoomViewController.m
Co-Authored-By: manuroe <manuroe@users.noreply.github.com>
2019-07-25 19:16:15 +02:00
SBiOSoftWhare
39629a6638 RoomVC: Handle Emoji picker. 2019-07-25 16:58:14 +02:00
SBiOSoftWhare
7066c58a0b Emoji picker: Implement coordinator bridge presenter. 2019-07-25 16:58:14 +02:00
SBiOSoftWhare
a769f6290e Emoji picker: Implement Emoji picker screen. 2019-07-25 16:58:14 +02:00
SBiOSoftWhare
04d142ab65 Emoji picker: Implement cell and header view. 2019-07-25 16:58:14 +02:00
SBiOSoftWhare
c9d4b4193a Emoji picker: Implement Emoji store, view model and view data. 2019-07-25 16:58:14 +02:00
SBiOSoftWhare
e4df031451 Contextual menu: Fix reactions menu theme update. 2019-07-25 16:58:14 +02:00
SBiOSoftWhare
01b9b483c6 Emoji picker: Handle Emoji parsing with EmojiService. 2019-07-25 16:58:14 +02:00
SBiOSoftWhare
2f9419f0bc Reactions menu: Add more reactions button. 2019-07-25 16:58:14 +02:00
manuroe
9b63577447 BF: Edits history: Original event is missing
#2585

The original event is not an edit event. It must be processed a bit differently
2019-07-17 13:58:09 +02:00
manuroe
5e0b61b034
Update Riot/Modules/Room/DataSources/RoomDataSource.h 2019-07-12 09:51:12 +02:00
SBiOSoftWhare
6d63d704f7 RoomVC: Handle external file upload. 2019-07-11 19:17:55 +02:00
SBiOSoftWhare
20458bca20 MXKRoomDataSource: Handle video thumbnail generation with MXKVideoThumbnailGenerator. 2019-07-11 19:07:45 +02:00
SBiOSoftWhare
928eb0c69e RoomInputToolbarView: Add file upload action. 2019-07-11 19:03:32 +02:00
manuroe
47c05e9ce9
Merge pull request #2570 from vector-im/riot_2559
Edits history: Display original event
2019-07-10 15:58:41 +02:00
manuroe
54af44d2ad Room upgrade: Autojoin the upgraded room when the user taps on the tombstone banner
#2486
2019-07-10 14:58:47 +02:00
manuroe
c09faea091 Edits history: Display original event
#2559
2019-07-10 09:53:29 +02:00
SBiOSoftWhare
cece0404ba
Merge pull request #2567 from vector-im/riot_2553
Reactions: Reinstate the ability to react with non-unicode keys
2019-07-09 14:20:03 +02:00
SBiOSoftWhare
436f501a91 LABS: Remove reaction settings, reactions are enabled by default. 2019-07-09 13:51:14 +02:00
SBiOSoftWhare
012ea5b9c3 Bubble reaction view: Handle emoji label theme color. 2019-07-09 11:23:46 +02:00
SBiOSoftWhare
3b45885143 Reactions: Limit Emoji string length in reaction bubble. 2019-07-09 11:02:52 +02:00
SBiOSoftWhare
81b30b4916
Merge pull request #2564 from vector-im/riot_2538
BF: Quick reactions menu hide time and user display name
2019-07-09 10:37:40 +02:00
SBiOSoftWhare
24f6d03e4c RoomVC: Fix reactions menu timestamp and display name overlap (Fix #2538). 2019-07-08 18:43:55 +02:00
SBiOSoftWhare
593e3b3765 RoomBubbleCellData: Add a method to get first visible component index. 2019-07-08 18:34:08 +02:00
manuroe
3a80274bc4
Merge pull request #2555 from vector-im/riot_2548
BF: Reactions: Unexpected padding after event selection
2019-07-08 16:26:43 +02:00
manuroe
138d03d5b2
Merge pull request #2557 from vector-im/riot_2547
Join Room: Support via parameters to better handle federation
2019-07-08 14:53:02 +02:00
manuroe
0d5eac4cf6 Room upgrade: Use the server_name parameter when joining the new room
#2550
2019-07-08 11:46:10 +02:00
manuroe
87b1e15f36 Join Room: Support via parameters to better handle federation
#2547
2019-07-08 11:15:44 +02:00
SBiOSoftWhare
4f6f5a771f Reactions: Fix unexpected padding after event selection (Fix #2548). 2019-07-05 20:56:37 +02:00
SBiOSoftWhare
12896ffc36 Message editing: Handle encrypted message edits history. 2019-07-05 14:14:46 +02:00
SBiOSoftWhare
3a8122bdb1 Message edits history: Handle message edits history display from RoomViewController. 2019-07-04 19:24:15 +02:00
SBiOSoftWhare
11012933ae Message edits history: Update EditHistoryViewController to use UITableView to display messages and dates. 2019-07-04 19:22:29 +02:00
SBiOSoftWhare
8ae74d507d Message edits history: Update view model to handle message history grouping by day. 2019-07-04 19:18:13 +02:00
SBiOSoftWhare
8fe0213c44 Message edits history: Create edit history section struct. 2019-07-04 19:04:53 +02:00
SBiOSoftWhare
884f47b33e Message edits history: Create header view. 2019-07-04 19:03:39 +02:00
SBiOSoftWhare
a943361051 Message edits history: Create edit message cell. 2019-07-04 19:02:54 +02:00
manuroe
2a22e4c0a9 Reactions: Show at most 8 reactions
#2510
2019-07-04 11:38:48 +02:00
SBiOSoftWhare
78351941e4 Message editing: Handle reply edition. 2019-07-03 11:13:53 +02:00
manuroe
63aca2b130 Edits history: Manage date 2019-07-01 14:39:39 +02:00
manuroe
4c7a652fd9 EventFormatter: add showEditionMention setting 2019-07-01 12:42:42 +02:00
manuroe
26a8a6fd8d Edits history: Use a dedicated event formatter 2019-07-01 12:34:20 +02:00
manuroe
4f6986c0ea Edits history: Improve temporary UX a bit 2019-07-01 10:51:07 +02:00
manuroe
54e3155763 Edits history: Fix missing navigation bar 2019-07-01 10:34:02 +02:00
manuroe
d09ff5961c Edits: Start history 2019-06-28 19:27:46 +02:00
SBiOSoftWhare
2980e0fd99
Merge pull request #2534 from vector-im/context_menu_UX_improvements
Room: Improve context menu UX
2019-06-27 16:36:17 +02:00
SBiOSoftWhare
9a217a1098 RoomVC: Improve RoomContextualMenuPresenter loading speed. 2019-06-27 14:37:17 +02:00
manuroe
3eda67435e BF: Edits: editing an unsent msg gets cancelled if the original msg send completes during the edit
#2495
2019-06-27 12:25:01 +02:00
SBiOSoftWhare
392d2ae972 RoomVC: Reduce animation duration when presenting contextual menu. Make animation quicker for a single tap. 2019-06-27 11:41:25 +02:00
SBiOSoftWhare
32de513df5 RoomViewController: Improve additional event actions menu behavior. Remove more action. 2019-06-27 10:23:20 +02:00
manuroe
f63d2e1398
Merge pull request #2531 from vector-im/riot_2449
Edits: Support edits in e2e rooms
2019-06-26 12:14:25 +02:00
manuroe
3db1cffe28 Edits: Support edits in e2e rooms 2019-06-25 18:32:34 +02:00
SBiOSoftWhare
066927c4d4 Bubble cell reactions: Fix BubbleReactionViewCell clipped at bottom in selected state (Fix #2515). 2019-06-25 16:21:48 +02:00
SBiOSoftWhare
cd57ed1f9b RoomViewController: Handle updated RoomContextualMenuViewController. 2019-06-25 14:00:12 +02:00
SBiOSoftWhare
dab7d224eb RoomContextualMenuPresenter: Handle new reactions menu animations, reduce context menu show/hide animation duration. 2019-06-25 13:56:44 +02:00
SBiOSoftWhare
77d27d5fce RoomContextualMenuViewController: Handle updated ReactionsMenuView and new animations instructions. 2019-06-25 13:48:16 +02:00