Commit graph

578 commits

Author SHA1 Message Date
ismailgulek
95767ba452 Override preferredStatusBarStyle for missing pages and ensure setNeedsStatusBarAppearanceUpdate will be called
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-22 12:10:27 +03:00
manuroe
71b3e167ef Jitsi: Support v1 and v2 widget types 2020-04-24 09:04:49 +02:00
ismailgulek
d632ee8499
RoomViewController navigation bar remaining translucent on some cases bug fix
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 14:00:31 +03:00
ismailgulek
90ebc08e74
RoomViewController fix redundant space on table bottom
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 13:58:35 +03:00
SBiOSoftWhare
ba7ad7b9c7 RoomVC: Handle title view encryption trust level badge image 2020-04-08 15:07:24 +02: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
5480e913ad RoomVC: Use encryption normal shield when retrieving room encryption trust level. 2020-01-24 17:13:08 +01:00
SBiOSoftWhare
2ab9a4ae83 RoomVC: Handle encryption shields decoration for composer and expanded header. 2020-01-22 16:27:04 +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
2fba33e598 RoomVC: Handle DM key verification cells. 2019-12-20 10:43:07 +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
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
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
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
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
SBiOSoftWhare
119d7239a8 RoomVC: Handle presentation for new native camera and media library actions. 2019-08-02 17:19:29 +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
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
6d63d704f7 RoomVC: Handle external file upload. 2019-07-11 19:17:55 +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
SBiOSoftWhare
436f501a91 LABS: Remove reaction settings, reactions are enabled by default. 2019-07-09 13:51:14 +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
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
3a8122bdb1 Message edits history: Handle message edits history display from RoomViewController. 2019-07-04 19:24:15 +02:00
SBiOSoftWhare
78351941e4 Message editing: Handle reply edition. 2019-07-03 11:13:53 +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
SBiOSoftWhare
cd57ed1f9b RoomViewController: Handle updated RoomContextualMenuViewController. 2019-06-25 14:00:12 +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
manuroe
84cd3d5e9d Reactions: Change reaction and unreaction methods signatures 2019-06-12 18:25:47 +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
6e90168a1c RoomViewController: Use new component frame method calculation. 2019-05-29 12:26:48 +02:00
SBiOSoftWhare
55f3a68afb RoomVC: Prevent user interaction in timeline while presenting context menu. 2019-05-24 11:33:44 +02:00
SBiOSoftWhare
366d27ebab Contextual menu: Improve reactions menu position. 2019-05-22 18:48:50 +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
manuroe
6866fe8e2c Reactions: Add a labs setting
#2441
2019-05-20 17:31:25 +02:00
manuroe
b1ebf79e50 RoomVC: ContextualMenu: Plug reactions menu 2019-05-17 12:17:59 +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
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
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
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
f4aa2e66b4 Apply new lineBreakColor where needed 2019-02-18 12:53:13 +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
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
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
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
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
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
fridtjof
c7fbca7698
make use of Obj-C's modern syntax for literals and subscripting 2019-01-08 00:24:11 +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
ac08e7670a Reskin: Change the 2 notifications colors 2018-11-30 16:36:34 +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
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
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
manuroe
4b1c17b747 Chat screen: Add "view decrypted source" option on the selected event
#1642
2018-08-08 16:14:56 +02:00
manuroe
1ed670e1c3 Fix compilation issue while merging room versioning and lazy_loading 2018-08-07 18:20:22 +02:00
manuroe
0556ef2ee2 Merge remote-tracking branch 'origin/develop' into lazy_loading
# Conflicts:
#	CHANGES.rst
#	Riot/Modules/Room/RoomViewController.m
2018-08-07 18:06:58 +02:00
SBiOSoftWhare
11fc687897 [RoomViewController] Now use RoomPredecessorBubbleCell to display room predecessor informations. 2018-08-07 11:27:37 +02:00
SBiOSoftWhare
62a443f6b0 [RoomViewController] Fix a crash when user highlight a message and write to room is forbidden. 2018-08-06 14:08:28 +02:00
SBiOSoftWhare
82fdd062b6 [RoomViewController] Use simple cell in order to display room create predecessor information 2018-07-27 18:53:51 +02:00
SBiOSoftWhare
9fc272f612 [RoomViewController] Handle obsolete room (m.room.tombstone event type) and display replacement room in activities view 2018-07-27 11:56:51 +02:00
SBiOSoftWhare
abb80a46f9 Fix MXKSlashCommands import from RoomViewController 2018-07-24 16:53:07 +02:00
SBiOSoftWhare
7af523af72 Update join slash command constant in RoomViewController from MXKSlashCommands 2018-07-24 16:53:07 +02:00
SBiOSoftWhare
f52121e53f [RoomViewController] Handle sending a reply by highlighting a message on timeline for supported events. 2018-07-24 16:53:06 +02:00
manuroe
75c0393701 New async [MXRoom state:]: Fix issue reported in Steve's review 2018-07-24 16:30:48 +02:00
SBiOSoftWhare
20ca54f5fb Fix MXKSlashCommands import from RoomViewController 2018-07-24 13:31:37 +02:00
SBiOSoftWhare
8ab3add9cb Update join slash command constant in RoomViewController from MXKSlashCommands 2018-07-24 12:24:12 +02:00
manuroe
2a14c0fdfb New async [MXRoom state:]: Use new [MXRoom listenToEventsOfTypes:] 2018-07-23 18:14:45 +02:00
SBiOSoftWhare
804d76ae92 [RoomViewController] Handle sending a reply by highlighting a message on timeline for supported events. 2018-07-23 16:56:03 +02:00
manuroe
f701e4cd3c New async [MXRoom state:]: Make Riot build 2018-07-20 11:28:02 +02:00
manuroe
bbaca0e3df Make Riot build with new async [MXRoom liveTimeline:] 2018-07-19 09:47:34 +02:00
manuroe
b79b1b0c38 MXRoomState: Apply new membership property 2018-07-17 18:00:56 +02:00
manuroe
fd6a106da6 Make use of MXRoom.summary instead of MXRooms.state 2018-07-17 17:28:32 +02:00
manuroe
b64b5767fb Make use of MXRoom.roomId and MXRoom.summary instead of MXRooms.state 2018-07-16 22:30:55 +02:00
manuroe
5a61d1c227 Use new MXRoomState.membersCount 2018-07-12 10:50:59 +02:00
manuroe
7af86d9f9d MXRoomState: Apply new MXRoomMembers property 2018-07-12 00:19:48 +02:00
SBiOSoftWhare
3f3c4f471b Structure project almost by features. Start by organizing view controllers. 2018-07-10 10:21:20 +02:00
Renamed from Riot/ViewController/RoomViewController.m (Browse further)