Commit graph

240 commits

Author SHA1 Message Date
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)