Commit graph

213 commits

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