Commit graph

596 commits

Author SHA1 Message Date
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
SBiOSoftWhare
96c771bbfe Update ReactionsMenuView layout. 2019-06-25 13:40:59 +02:00
SBiOSoftWhare
833ba360ee Update ReactionsMenuViewModel to handle a list of reactions. 2019-06-25 13:23:07 +02:00
SBiOSoftWhare
af92b98065 Update ReactionsMenuButton UI 2019-06-25 12:06:54 +02:00
SBiOSoftWhare
98361afa6f e2e room message: Fix padlock position on last message with sender name. 2019-06-20 12:07:04 +02:00
SBiOSoftWhare
4e6c1c36af RoomDataSource: Fix bubble cell data additional content height update. 2019-06-19 14:22:38 +02:00
SBiOSoftWhare
2b28f25883 Merge develop into fix_riot_attachmentview_reactions 2019-06-19 11:44:42 +02:00
SBiOSoftWhare
8e50ff08c1 Fix bubble cell height for cells with attachment view and reactions. 2019-06-18 18:36:22 +02:00
SBiOSoftWhare
3295b649c9 RoomBubbleCellData: Add additionalContentHeight property to cache additional views height like reactions view and read receipts container. 2019-06-18 18:30:39 +02:00
SBiOSoftWhare
0809c8af55 RoomBubbleCellData: Fix bubble component position when display last message timestamp. 2019-06-18 17:42:00 +02:00
manuroe
872976f798 Read receipts: Manage live update in the kit too 2019-06-18 14:06:23 +02:00
manuroe
ba6d5939a3 Read receipts: They are now counted at the MatrixKit level 2019-06-18 12:28:59 +02:00
SBiOSoftWhare
8aea88139e
Merge pull request #2471 from vector-im/fix_show_context_menu_interaction_when_animate
RoomVC: Prevent user interaction in timeline while presenting context menu
2019-06-18 11:49:44 +02:00
manuroe
82f52378dd Menu actions: Display the keyboard once the users tap on reply or edit
This also fixes the local echo issues we had when this screen stayed displayed
2019-06-14 16:29:25 +02:00
manuroe
6a3cfc0172 Reactions menu: leave the menu once the user tapped a reaction 2019-06-14 16:15:27 +02:00
manuroe
5836ebb97e
Merge pull request #2490 from vector-im/reaction_echo
Local echo for reactions
2019-06-13 17:50:31 +02:00
SBiOSoftWhare
e610bd96e8 RoomViewController: Add message editing support. 2019-06-13 16:38:20 +02:00
SBiOSoftWhare
3c4961af8f RoomInputToolbarView: Add editing mode. 2019-06-13 16:37:28 +02:00
manuroe
84cd3d5e9d Reactions: Change reaction and unreaction methods signatures 2019-06-12 18:25:47 +02:00
manuroe
531cc4b68f Reactions local echoes: Do not show reactions with 0 count (case of reaction being removed) 2019-06-12 18:03:21 +02:00
SBiOSoftWhare
d751af48ff RoomViewController: Prepare message edited mention tap. 2019-06-12 16:06:27 +02:00
SBiOSoftWhare
3a2162f46c
Merge pull request #2482 from vector-im/ReactionsMenuViewModel_update
ReactionsMenuViewModel: Do not perform directly reaction requests
2019-06-11 17:51:28 +02:00
SBiOSoftWhare
310c5cc581 RoomViewController: Display an error when react or unreact on event fails. 2019-06-11 17:43:32 +02:00
SBiOSoftWhare
daab6950d4 [Reactions] Allow reaction only on room messages (Fix #2476). 2019-06-06 13:50:45 +02:00
SBiOSoftWhare
6f7400840d RoomViewController: Conforms to ReactionsMenuViewModelCoordinatorDelegate. 2019-06-06 11:30:57 +02:00
SBiOSoftWhare
940680ed75 [ReactionsMenuViewModel] Do not perform directly reaction requests and use delegation. 2019-06-06 11:29:28 +02:00
SBiOSoftWhare
6e90168a1c RoomViewController: Use new component frame method calculation. 2019-05-29 12:26:48 +02:00
SBiOSoftWhare
ee15eccb40 RoomDataSource: Fix reactions and read receipts positions. 2019-05-29 12:25:57 +02:00
SBiOSoftWhare
99b746681b RoomBubbleCellData: Fix reactions height calculation. Fix timestamp position. 2019-05-29 12:24:43 +02:00
SBiOSoftWhare
b0fbcde9dd Create RoomBubbleCellLayout class to handle MXKRoomBubbleTableViewCell layout constants. 2019-05-29 12:15:31 +02:00
SBiOSoftWhare
55f3a68afb RoomVC: Prevent user interaction in timeline while presenting context menu. 2019-05-24 11:33:44 +02:00
SBiOSoftWhare
31feca6f17 Room contextual menu: Update button titles color and disabled opacity. 2019-05-23 17:48:52 +02:00
SBiOSoftWhare
366d27ebab Contextual menu: Improve reactions menu position. 2019-05-22 18:48:50 +02:00
SBiOSoftWhare
09991e53c7
Merge pull request #2464 from vector-im/riot_2446
BF: Menu actions: Display message time
2019-05-22 17:41:18 +02:00
SBiOSoftWhare
a62548c545
Update Riot/Modules/Room/CellData/RoomBubbleCellData.h
Co-Authored-By: manuroe <manuroe@users.noreply.github.com>
2019-05-22 17:27:29 +02:00
SBiOSoftWhare
0fb13febee RoomVC: Display message time when contextual menu is shown. 2019-05-22 16:54:51 +02:00
SBiOSoftWhare
6ce4a826be RoomVC: Show contextual menu on single tap. 2019-05-22 16:37:06 +02:00
SBiOSoftWhare
4bde8a435b Room contextual menu: Dismiss when swipe up or down. 2019-05-22 16:35:46 +02:00
SBiOSoftWhare
b234a09bf1 RoomBubbleCellData: Add a property to display the timestamp of the selected component on the left when there is enough space. 2019-05-22 16:17:55 +02:00
manuroe
98c95fb849 Reactions menu: Patch RoomContextualMenuPresenter while we have a retain cycle 2019-05-21 02:12:14 +02:00
SBiOSoftWhare
3117c4322c Theme: Remove non needed reaction colors 2019-05-21 01:09:42 +02:00
SBiOSoftWhare
321811283a BubbleReactionsView: Use a UICollectionViewFlowLayout subclass with left alignement. 2019-05-21 00:43:10 +02:00
SBiOSoftWhare
d2cfe4891a RoomDataSource: Handle reactions display on bubble cell. 2019-05-20 21:59:18 +02:00
SBiOSoftWhare
75d7b26bfc RoomBubbleCellData: Improve reactions view vertical space calculation 2019-05-20 21:57:29 +02:00
SBiOSoftWhare
4ababf957e Create BubbleReactionsView 2019-05-20 21:54:23 +02:00
SBiOSoftWhare
2caf4e326f Create BubbleReactionsViewModel 2019-05-20 21:52:07 +02:00
SBiOSoftWhare
e5d8910a92 Create BubbleReactionViewCell 2019-05-20 21:51:24 +02:00
manuroe
aadac45de6 Reactions menu: Do not notify delegate if reaction requires an unreaction
Fix Steve's remark
2019-05-20 20:41:05 +02:00
manuroe
86808b16e2 Reactions menu: Do not notify delegate if reaction requires an unreaction
This avoids to call the delegate twice.
Note: In a short future, we will no more have those 3 state buttons
2019-05-20 19:48:29 +02:00
manuroe
d72f2eb762 Reactions: Remove the send reaction hack as it is now done in the SDK 2019-05-20 19:40:52 +02:00
manuroe
6866fe8e2c Reactions: Add a labs setting
#2441
2019-05-20 17:31:25 +02:00
manuroe
2b7b2c5a6c Reactions: Use the hack like on riot-android and riot-web if the server has not yet the aggregations API
Fix Steve's comment
2019-05-20 17:00:57 +02:00
manuroe
4a7677a667 Reactions: Use the hack like on riot-android and riot-web if the server has not yet the aggregations API 2019-05-20 16:04:54 +02:00
manuroe
0973d3886b Reactions: Reactions menu: highlight reactiosn only our user made 2019-05-20 15:00:47 +02:00
manuroe
80d817c98e Reactions: Reactions menu: plug unreact 2019-05-17 17:39:31 +02:00
manuroe
443b886a34
Merge pull request #2430 from vector-im/reactions_in_context_menu
RoomVC: ContextualMenu: Plug reactions menu
2019-05-17 13:33:57 +02:00
manuroe
b1ebf79e50 RoomVC: ContextualMenu: Plug reactions menu 2019-05-17 12:17:59 +02:00
manuroe
00bebecc29 Reactions: Add placeholder for reactions list under message 2019-05-17 01:28:45 +02:00
manuroe
3249751dc2 RoomBubbleCellData: Do readReceiptVerticalWhitespace thing in one place 2019-05-16 18:27:48 +02:00
manuroe
0ed0d8cef5 Reactions: Follow small SDK change 2019-05-16 17:44:07 +02:00
manuroe
0bc5c28390 Reactions: Fix Steve's comments 2019-05-16 16:07:07 +02:00
manuroe
8d7f535581
Merge branch 'aggregations' into riot_2393 2019-05-16 14:51:14 +02:00
manuroe
ec758a84b7 Reactions: we cannot like & dislike at the same time 2019-05-16 14:45:42 +02:00
manuroe
13beb50abb Reactions: notify coordinator for every reaction request steps
so that it can leave the view when it wants
2019-05-16 08:07:52 +02:00
manuroe
65ec1e9988 Reactions: Plug button actions 2019-05-16 07:47:23 +02:00
manuroe
7cd5e79bc6 Reactions: Customise primary reactions buttons 2019-05-15 23:35:09 +02:00
SBiOSoftWhare
f5887c4774 RoomViewController: Disable reply on single tap selection. 2019-05-15 23:30:33 +02:00
SBiOSoftWhare
c0e313f156 RoomViewController: Show contextual menu toolbar on long press. 2019-05-15 23:24:34 +02:00
SBiOSoftWhare
1f43a8ee5e Create RoomContextualMenuPresenter 2019-05-15 23:10:07 +02:00
SBiOSoftWhare
d682b97441 Create RoomContextualMenuViewController 2019-05-15 23:09:03 +02:00
SBiOSoftWhare
cd238cc2f0 Create RoomContextualMenuToolbarView 2019-05-15 23:07:50 +02:00
SBiOSoftWhare
444a2ee452 Create room contextual menu action enum 2019-05-15 23:02:25 +02:00
SBiOSoftWhare
3be7a5274a RoomDataSource: Add a property to show or hide timestamp when selecting an event. 2019-05-15 21:44:07 +02:00
SBiOSoftWhare
c808ae5057 RoomBubbleCellData: Add a property to show or hide timestamp for selected component. 2019-05-15 21:34:32 +02:00
manuroe
52a480db92 Reactions: Translate primary reactions 2019-05-15 16:38:28 +02:00
manuroe
e419eecfeb Reactions: Add primary reactions as message actions 2019-05-15 16:00:36 +02:00
manuroe
ef4fed1bb2 RoomVC: When replying, use a "Reply" button instead of "Send" 2019-04-30 17:27:57 +02:00
manuroe
16dc04e18d RoomInputToolbarView: Turn the boolean replyToEnabled into an enum: sendMode
because message editing (#2404) is coming
2019-04-30 17:08:52 +02:00
SBiOSoftWhare
42ddca925f Use a weak reference for mediaPicker property in RoomInputToobarView. 2019-04-24 17:56:59 +02:00
manuroe
cab15e7477
Merge pull request #2372 from vector-im/riot_2323
E2E: SAS Verification
2019-04-24 14:51:04 +02:00
manuroe
7bc6ba25af Device Verification: Make incoming requests dialogs dequeueing work without a random sleep 2019-04-24 08:55:45 +02:00
manuroe
01e699fdf1 Device Verification: Plug it in the code more 2019-04-17 08:09:43 +02:00
manuroe
dd34bfe716 Device Verification: Plug it in the code 2019-04-16 17:55:40 +02:00
SBiOSoftWhare
7263b268e1
Merge branch 'develop' into avoid_tableview_crashes_settings 2019-04-10 17:49:37 +02:00
SBiOSoftWhare
bf3750f254 [RoomSettingsViewController] Avoid some crashes when reload sections animated. 2019-04-10 14:50:14 +02:00
SBiOSoftWhare
24e74f3577 Make read receipt label text color use primary text color (Fix #2294). 2019-04-10 12:10:15 +02:00
SBiOSoftWhare
64083f49df Apply new user name color generation on bubble cells where needed 2019-03-07 17:46:45 +01:00
manuroe
58e7cba5f3 RoomVC: Use accent color (green) for the ongoing conference call banner 2019-03-07 10:42:55 +01:00
SBiOSoftWhare
396f184bc1 Handle quick tap on link in RoomViewController. Retrieve URL interaction information when user tap a link in a MXKRoomBubbleTableViewCell to indicate the type of interaction expected with the URL. 2019-03-04 18:29:13 +01:00
SBiOSoftWhare
ad289a2685 Use MXKMessageTextView in text message bubble cells to allow link detection without text selection 2019-03-04 17:03:04 +01:00
manuroe
932fcd888f RoomVC: Remove the beta warning modal when enabling e2e in a room
This is the other part of #2239.
2019-02-21 15:07:50 +01:00
manuroe
95f3c07b54 Reskin: Text in badges should be white in dark theme
#2283
2019-02-21 13:07:37 +01:00
manuroe
b9df55535f
Merge pull request #2221 from fridtjof/deprecations/percent_encoding
Take care of percent encoding related deprecations
2019-02-20 15:06:11 +01:00
SBiOSoftWhare
91c95e0cf6 Update jump to last unread banner separator color in RoomViewController 2019-02-19 16:55:58 +01:00
SBiOSoftWhare
25d20b727c Fix expanded header color in RoomViewController 2019-02-19 15:56:17 +01:00
fridtjof
e138dd8d2c
use the Matrix SDK's method for percent encoding 2019-02-18 15:31:55 +01:00
SBiOSoftWhare
3d675245db
Merge pull request #2262 from vector-im/reskin_linebreakcolor
Reskin: Apply theme line break color
2019-02-18 13:50:06 +01:00
SBiOSoftWhare
f4aa2e66b4 Apply new lineBreakColor where needed 2019-02-18 12:53:13 +01:00
manuroe
f2424f3f2a Reskin: Fix navigation bar background after accepting an invite 2019-02-18 10:59:57 +01:00
manuroe
992ebcdbff Reskin: Fix text color in room preview 2019-02-18 10:59:36 +01:00
manuroe
5044dc6e2e BF: Reskin: Sometimes the roomVC navigation bar is tranparent
#2252
2019-02-15 15:21:33 +01:00
manuroe
8701de43dd Fix: Jump to first unread message doesn't show up
#2218
2019-02-15 13:45:09 +01:00
manuroe
e37d07c4ce
Merge pull request #2240 from vector-im/riot_2237
Reskin: Update colors
2019-02-13 10:11:33 +01:00
manuroe
f45303baad RoomVC: Remove the beta warning modal when opening an e2e room
#2239
2019-02-12 19:24:08 +01:00
manuroe
338fa64bd4 Reskin: Use same color names as in https://app.zeplin.io/project/5c122fa790c5b4241ffa6be7/screen/5c619592daff2f1241d82e75 2019-02-12 19:06:22 +01:00
fridtjof
d14d472b60
take care of percent encoding related deprecations 2019-02-04 21:22:43 +01:00
SBiOSoftWhare
6a175d4838 Enhance tap on room predecessor cell used to go back to the old version of the room (Fix issue #2179) 2019-02-04 15:49:49 +01:00
manuroe
c48856afde reskin: kill dead code around placeholderTextColor
#2174
2019-01-23 12:03:55 +01:00
manuroe
ac1cab56e4 BF: Ban and kick reasons are silently discarded
#2162

Fix Steve's remark everywhere we do `[self->currentAlert textFields].firstObject.text`
2019-01-23 11:01:53 +01:00
manuroe
c7552f4ad9 BF: Ban and kick reasons are silently discarded
#2162
2019-01-22 17:18:42 +01:00
manuroe
9371f0e1cb reskin: kill riotColorRed & riotColorPinkRed
Merge them into Theme.warningColor

Part of #2174
2019-01-18 13:40:09 +01:00
manuroe
c61144cf78 reskin: Theme: rename colors as it is in the palette now 2019-01-11 13:13:31 +01:00
manuroe
93b01f9e17 reskin: Fix color of display name in RoomMemberDetailsVC 2019-01-11 12:55:23 +01:00
manuroe
403a09dc26 reskin: kill ThemeService.kRiotRoomXxxxLevel 2019-01-11 12:43:47 +01:00
manuroe
6eeef644d3 reskin: Kill kRiotColorXxxx 2019-01-11 11:57:02 +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
bfa3eccacf reskin: kill last customisable kRiotXColors 2019-01-10 18:47:49 +01:00
manuroe
19ebc9317b reskin: kill headerTextSecondaryColor 2019-01-10 18:10:10 +01:00
manuroe
373be3b64c reskin: kill kRiotTopicTextColor 2019-01-10 18:08:10 +01:00
manuroe
dfecc403ec reskin: kill kRiotSecondaryTextColor 2019-01-10 18:05:21 +01:00
manuroe
52869d8c05 reskin: kill kRiotPrimaryTextColor 2019-01-10 18:00:45 +01:00
manuroe
39ffac13b1 reskin: kill kRiotSecondaryBgColor 2019-01-10 17:57:17 +01:00
manuroe
21a9a7c9f3 reskin: kill kRiotPrimaryBgColor 2019-01-10 17:50:26 +01:00
manuroe
da0b5d7d56 reskin: Kill RiotDesignValues.kRiotKeyboard and replace it by Theme.keyboardAppearance 2019-01-10 17:42:43 +01:00
manuroe
8b47ac54ca reskin: Kill RiotDesignValues.kRiotKeyboardColor and replace it by Theme.matrixSearchBackgroundImageTintColor 2019-01-10 17:36:36 +01:00
manuroe
91e20b59a5 reskin: remove bar style ivars from RiotDesignValues 2019-01-10 17:08:32 +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
4aba851079 reskin: Fix header display of room preview 2019-01-10 14:47:58 +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
db0a1b8864 reskin: Fix display of RoomMemberDetailsVC header.
Apply the same logic as in RoomVC in the previous commit
2018-12-28 17:54:19 +01:00
manuroe
fc86a37d11 reskin: Improve a bit RoomVC expanded header display
RoomVC is displayed in another UINavigationController. Its bar can be translucent. Then, we just need to make sure that the main UINavigationController navigationBar is translucent when displaying the expanded header.

Note: there is a UI glitch when navigating back when the expanded header is displayed but that bug existed before (in v0.7.8)
2018-12-28 17:52:45 +01:00
manuroe
2edf1d88a9 reskin: Fix display of expanded header in Room VC 2018-12-28 09:16:24 +01:00
manuroe
c4b6cfdaf4 Reskin: Paint icons with RiotDesignValues.colorValues.accent when possible 2018-12-03 17:14:32 +01:00
manuroe
a50c9f55b1 Reskin: Kill kRiotColorGreen and use RiotDesignValues.colorValues.accent instead 2018-11-30 17:10:28 +01:00
manuroe
ac08e7670a Reskin: Change the 2 notifications colors 2018-11-30 16:36:34 +01:00
manuroe
6b1e5c6086 Reskin:Create [RiotDesignValues applyStyleOnSearchBar:] and use it 2018-11-30 15:57:19 +01:00
manuroe
d2d401ed8b Reskin: Factorise *RoomTitleViews
and apply them kRiotDesignNavigationBarBarTintColor as background color to mimic the nav bar color
2018-11-29 17:47:42 +01:00
manuroe
6f98822179 Reskin: Use the new [RiotDesignValues applyStyleOnNavigationBar:] method everywhere
Note that we do not change anymore the bar tint color when changing tabs. This is alwasy the same.
2018-11-29 17:31:41 +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
Giom Foret
d40d40068e Replace the deprecated MXMediaManager and MXMediaLoader interfaces use 2018-11-10 14:28:08 +01:00
manuroe
c13fb587ca Server Quota Notices: Implement the blue banner
Fix Steves's remark
2018-10-04 18:37:25 +02:00
manuroe
d867c89c3b Server Quota Notices: Implement the blue banner
Closes #1937
2018-10-02 15:30:00 +02:00
manuroe
523ed24950 BF: Weird text color when selecting a message
#2046
2018-09-24 14:23:48 +02:00
manuroe
3f40b1c804 Room settings: Anyone can now set a room alias
Fix #2033
2018-09-21 16:23:32 +02:00
manuroe
e129e37fa4 Make code use the "Empty room" i18n string from MatrixKit 2018-09-20 11:05:46 +02:00
manuroe
60e07e1be6 Lazy-Loading: Fix missing read receipts 2018-09-13 17:12:53 +02:00
SBiOSoftWhare
011a878f86 Fix roomInputToolbar reset (cleared text, black avatar, wrong e2e icon) in RoomViewController when MXSession state change. 2018-08-27 15:32:37 +02:00
manuroe
2036ec1d3c MAU: Fix text font in red banner 2018-08-24 17:05:22 +02:00
manuroe
9ef3ec3516 RoomVC: Show a "Resource Limit Exceeded" banner if it happens in a /sync response
Hide the text composer too.
2018-08-23 17:03:32 +02:00
manuroe
a07d836240 RoomVC: Show a "Resource Limit Exceeded" banner if it happens in a /sync response
#1937
2018-08-21 18:25:56 +02:00