Commit Graph

277 Commits

Author SHA1 Message Date
n1aba
13d76a0cb2 PLT-6451 Migrate installed_oauth_app.jsx to be pure and use Redux (#7190)
* Migrate installed_oauth_app.jsx to be pure and use Redux, add test

* Fix behavior for the error case
2017-08-18 12:06:32 -07:00
n1aba
f40f41ed53 PLT-6443 Migrate add_oauth_app.jsx to be pure and use Redux (#7232)
* Migrate add_oauth_app.jsx to be pure and use Redux, add tests

* Remove unused flux code for OAuthApps
2017-08-18 09:42:10 -04:00
Saturnino Abril
9097289c2c [PLT-3377] Open up a shortcuts dialog instead of printing help text (#7064)
* open up a shortcuts dialog instead of printing help text

* Updating UI for keyboard shortcuts modal

* update PR per PLT-7284

* fix typo error

* fix mixed up shortcut keys

* move to client side

* fix shortcuts list, remove unused function and revert server side code for autocompletion

* remove quick team switcher
2017-08-18 17:04:05 +08:00
George Goldberg
5132c62d15 PLT-7309: Fix webook management when permitted for non-admins. (#7132) 2017-08-08 08:45:17 -04:00
Harrison Healey
3998659236 PLT-7267 Refactored tracking of recent emojis to hide deleted emojis (#7102)
* Fixed local ESLint error

* PLT-7267 Refactored tracking of recent emojis to hide deleted emojis
2017-08-04 11:03:41 -07:00
David Meza
b54d134299 PLT-6484 Add /leave command to leave a channel (#6402)
* PLT-6484 Add /leave command to leave a channel

* Text changes requeted on review.

* PLT-6484 Display the right error message when trying to /leave town-square

* PLT-6484 Be able to execute /leave command in direct and group message channels with the same effect as clicking x

* PLT-6484 Refactor to create new leave_private_channel_modal.jsx

* PLT-6484 Remove previous leave private channel logic to use new leave_private_channel_modal.jsx

* Remove dot in command description. Change localized error when leaving Town square.

* disable /leave command in reply threads on the right-hand sidebar, since it is not obvious which channel you should leave
2017-08-03 08:59:42 -04:00
Joram Wilander
eee711145c Do not show non-autocomplete commands for system admins (#7094) 2017-08-02 17:07:30 -04:00
Joram Wilander
6ff7e4ea4b Change refresh on version change to be after explicit click (#7090) 2017-08-02 08:44:25 -04:00
George Goldberg
00e8b6621a PLT-6595 (Client): Elasticsearch indexing system console UI (#6991)
* PLT-6595: System Console for Elasticsearch Job Management.

* Fixing UI issues

* Fixing colors

* ESLint Fixes.

* Update test snapshots.

* Fixing cancel button

* Fix review comments.

* Config capitalisation.

* Review fixes.
2017-08-01 13:11:29 +01:00
Carlos Tadeu Panato Junior
251f000c68 [PLT-6710] /rename [text] slash command: Rename the channel (#6570)
* /rename [text] slash command: Rename the channel

* update strings per review
2017-07-31 12:54:34 -04:00
David Meza
f740698dbe PLT-6486 Add an @username button to the profile popover, that puts the username in the post when clicked (#6349)
* PLT-6486 Add an `@username` button to the profile popover, that puts the username in the post when clicked

* PLT-6486 Display `@username` mention on the right text area on center or RHS.

* Disable @mentions from profile popover on searches, mentions and pinned posts. Fix js errors.

* Control undefined post in SearchStore that causes an exception.
2017-07-31 08:24:13 -04:00
Harrison Healey
67e2715274 RN-152 Updated createGroupChannel's return value to match createDirectChannel (#7027)
* RN-152 Updated createGroupChannel's return value to match createDirectChannel

* Fixed handling of results from createDirectChannel

* Updated yarn.lock
2017-07-27 17:16:48 -04:00
Nick Frazier
cc3a95fdd9 Added websocket event and webapp handler for updating user roles (#6953) 2017-07-27 08:15:50 -04:00
Saturnino Abril
58c6a70d3e Add [...] menu to search results list (#6663)
* Add [...] menu to search results list

* fix updates on search results when post is pinned or edited

* remove app dispatcher from component
2017-07-21 19:02:14 -04:00
Carlos Tadeu Panato Junior
816bfbeb91 [PLT-6708] /purpose [text] slash command: Edit the channel purpose (#6569)
* /purpose [text] slash command: Edit the channel purpose

* update command on server side to check for direct or group channels

* update stings and block the dialog when is DM or GM

* update per review

* remove duplicate websocker event and apply the same for /header command

* update per review

* update
2017-07-21 15:04:41 -04:00
megos
d064f5eba3 Fixed notification text replace line feed to space (#6970) 2017-07-19 14:02:20 +01:00
Christopher Speller
97f34e483b Merge branch 'release-4.0' 2017-07-18 15:45:23 -07:00
Joram Wilander
3ad3aa653f Add back blue bar error for editing post after time limit (#6939) 2017-07-15 01:12:52 +08:00
Harrison Healey
8fb58b1fc9 PLT-7117 Fixed copy paste error in file_actions.jsx (#6928) 2017-07-14 13:01:19 -04:00
George Goldberg
a1f17c1f84 PLT-6474 Basic Elasticsearch System Console Page (#6825)
* PLT-6474: Basic System Console Elasticsearch Config.

* Fix review comments.

* More review fixes.

* Review comments.
2017-07-13 13:00:59 -07:00
Joram Wilander
8395981d2b Properly updated pinned/flagged posts on deletion (#6920) 2017-07-13 01:38:07 +09:00
Saturnino Abril
b1322746d2 dismiss deleted message in RHS (#6914) 2017-07-13 01:31:09 +09:00
Joram Wilander
dc3536a9f8 Properly load user statuses for posts in channel (#6907) 2017-07-12 22:14:32 +09:00
Saturnino Abril
39154d22ae make sidebar right menu Global actions and toggle that on leaving team (#6900) 2017-07-11 05:37:08 +08:00
Harrison Healey
d307162d16 PLT-7039 Use loadProfilesAndStatusesForPosts from the redux library (Resubmit) (#6892)
* PLT-7039 Use loadProfilesAndStatusesForPosts from the redux library

* Switched mattermost-redux to webapp-4.0 branch
2017-07-11 05:36:26 +08:00
Joram Wilander
0c910cc8c5 Fix multiple pinned post issues (#6887) 2017-07-11 05:35:50 +08:00
Joram Wilander
1e7022ff6d Deleting the focused post now sends user to normal channel view (#6890) 2017-07-11 02:51:31 +08:00
Joram Wilander
2bfd7be8d1 Minor status updates (#6889) 2017-07-11 02:49:42 +08:00
Joram Wilander
45e7ad0c34 Fix out of order posts for admins plus two minor fixes (#6886) 2017-07-11 01:58:01 +08:00
Saturnino Abril
4956a7198b Revert "PLT-7039 Use loadProfilesAndStatusesForPosts from the redux library (#6881)" (#6882)
This reverts commit 250a344d04.
2017-07-09 06:36:30 +08:00
Harrison Healey
250a344d04 PLT-7039 Use loadProfilesAndStatusesForPosts from the redux library (#6881) 2017-07-08 08:23:58 +08:00
Joram Wilander
918ce03622 Fix MFA setup page (#6856) 2017-07-06 06:02:53 +08:00
Saturnino Abril
af35dcf9c4 [PLT-6800] Clear center and rhs view on other window when leaving a channel (#6723)
* clear center and rhs view on other window when leaving a channel

* move redirection to websocket actions

* close sidebar at websocket action
2017-07-05 16:36:50 -04:00
Joram Wilander
04e364f4f7 Do not scroll center channel to bottom when posting in RHS (#6852) 2017-07-05 16:28:32 -04:00
Joram Wilander
4efb0f37b7 Increase post visibility in current channel when receiving posts (#6848) 2017-07-05 16:20:25 -04:00
Chris
5bd60a4d1e add /search command (#6741) 2017-07-05 09:26:31 +08:00
Corey Hulen
e60c6dec19 PLT-6935 Fixes issue when locale set to unknown (#6829) 2017-07-03 13:26:30 -04:00
Joram Wilander
a3ece09262 Join channel with permalink to public channel you're not in (#6795) 2017-06-29 09:25:18 -07:00
Corey Hulen
eb7561e05b PLT-6610 sending websocket event for last channel viewed (#6787) 2017-06-29 07:51:15 -07:00
Joram Wilander
3cd8057d28 Various updates to match latest mattermost-redux (#6794) 2017-06-29 10:03:57 -04:00
Carlos Tadeu Panato Junior
976030ea25 [PLT-6707] /header [text] slash command: Edit the channel header (#6566)
* add /header slash command

* update websocket

* updater per review
2017-06-29 08:06:17 -04:00
Harrison Healey
c6602ae2b8 PLT-6844 Change file uploading to use superagent (#6785)
* PLT-6844 Change file uploading to use superagent

* Fixed handling of upload errors
2017-06-28 15:42:54 -04:00
Joram Wilander
5492ca28b1 Fix account creation redirect (#6765) 2017-06-28 09:38:19 -04:00
megos
58b3231916 add attachments notification (#6769) 2017-06-28 13:37:51 +01:00
Carlos Tadeu Panato Junior
155c6600aa [PLT-6599] Add link to check Websocket port error message (#6743) 2017-06-28 13:38:57 +08:00
Saturnino Abril
e2daa425fa fix JS errors in saving preferences - for user's display (including custom theme vector) and advanced settings (#6764) 2017-06-27 18:27:31 +01:00
Joram Wilander
82b36b3721 PLT-6815 Do not disconnect websocket when joining a team (#6746)
* Do not disconnect websocket when joining a team

* Fix eslint error
2017-06-26 13:25:43 -04:00
Joram Wilander
e285839ee1 Fix websocket URL when specifying port in the config (#6748) 2017-06-26 08:39:24 -07:00
Joram Wilander
23ccfc845c Move remaining actions over to use redux and v4 endpoints (#6720) 2017-06-26 08:16:57 -04:00
Saturnino Abril
fe7e9d95b3 fix JS error when saving a custom theme vector (#6734) 2017-06-23 19:12:34 -04:00