Commit graph

525 commits

Author SHA1 Message Date
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
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
0ab7da2539 Create RoomPredecessorBubbleCell in order to display room predecessor info when needed 2018-08-07 11:26:35 +02:00
SBiOSoftWhare
32467af2ed [RoomBubbleCellData] Update way to put tag `RoomBubbleCellDataTagRoomCreateWithPredecessor 2018-08-07 11:25:04 +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
manuroe
969cb79fad Lazy-loading: Fix search display
Use profile info sent in the search response.
2018-08-03 17:01:53 +02:00
manuroe
805869eb4d Lazy-loading server side: Use MXRoomSummary.membersCount when possible 2018-08-02 11:36:40 +02:00
manuroe
0e2fde84f9 Lazy-loading server side: Use new async [MXRoom members:lazyLoadedMembers:] 2018-08-01 17:25:38 +02:00
manuroe
861c5e55e5 New async [MXRoom state:]: Fix issue using preloadRoomsData 2018-07-31 16:53:08 +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
238ed98afd [RoomBubbleCellData] Add room create with predecessor tag in order to identify this particular case 2018-07-27 18:49:36 +02:00
SBiOSoftWhare
24deeb6516 [RoomActivities] Improve display room replacement 2018-07-27 18:33:46 +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
9ed03a49e6 [RoomActivitiesView] Add room replacement display 2018-07-27 11:48:38 +02:00
SBiOSoftWhare
2a67f5fb36 Fix boolean condition when updating placholder in RoomInputToolbarView 2018-07-24 16:53:07 +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
SBiOSoftWhare
2ec5d88d75 Add send reply mode in RoomInputToolbarView in order to update text input placeholder when sending a reply. 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
3a7a5c93a2 Fix boolean condition when updating placholder in RoomInputToolbarView 2018-07-24 13:32:40 +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
SBiOSoftWhare
1e42fc5b81 Add send reply mode in RoomInputToolbarView in order to update text input placeholder when sending a reply. 2018-07-23 16:54:23 +02:00
manuroe
ee419fb1a0 New async [MXRoom state:]: Use [MXRoom members:] 2018-07-23 15:38:50 +02:00
manuroe
0e58a385dc New async [MXRoom state:]: Use [MXSession preloadRoomsData:] 2018-07-23 14:05:18 +02:00
manuroe
239e3f9f6f New async [MXRoom state:]: MXKSearchCellDataStoring: Replace initWithSearchResult by async cellDataWithSearchResult 2018-07-20 15:27:54 +02:00
manuroe
b7352358ab New async [MXRoom state:]: Make use of MXRoom.dangerousSyncState 2018-07-20 13:38:32 +02:00
manuroe
f701e4cd3c New async [MXRoom state:]: Make Riot build 2018-07-20 11:28:02 +02:00
manuroe
100493ac37 New async [MXRoom state:]: Create async factory methods for MXKRoomDataSource 2018-07-20 11:14:49 +02:00
manuroe
2f90842345 New async [MXRoom state:]: Make Riot build 2018-07-20 10:40:42 +02:00
manuroe
bbaca0e3df Make Riot build with new async [MXRoom liveTimeline:] 2018-07-19 09:47:34 +02:00
manuroe
e7deec57a5 Fix regression with new MXRoomMembers 2018-07-17 18:41:28 +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
0e3ee5a5c8 Fix image references in xib and storyboards by removing .png suffix 2018-07-10 17:16:26 +02:00
SBiOSoftWhare
c377f5f739 Move cell data and data sources to corresponding modules. 2018-07-10 10:21:21 +02:00
SBiOSoftWhare
421e8bc84b Organize views by feature 2018-07-10 10:21:20 +02:00
SBiOSoftWhare
3f3c4f471b Structure project almost by features. Start by organizing view controllers. 2018-07-10 10:21:20 +02:00