Commit Graph

8915 Commits

Author SHA1 Message Date
Joram Wilander
59992ae4a4 PLT-6763 Implement user access tokens and new roles (server-side) (#6972)
* Implement user access tokens and new roles

* Update config.json

* Add public post permission to apiv3

* Remove old comment

* Fix model unit test

* Updates to store per feedback

* Updates per feedback from CS
2017-07-31 12:59:32 -04:00
Jonathan
ed62660e96 PLT-7185: Double clicking Create Account attempts to create an account twice (#7025)
* PLT-7185: Disabled submit button after it is clicked for the first time, unless an error occurs

* PLT-7140: Removed all static function decorators that I previously added to jsx files. These were suggested by eslint, but can cause issues for functions that override parent functionality. still can't reproduce the errors seen on spinmint locally, so I'm guessing at this point

(cherry picked from commit 34b87fe88a)
2017-07-31 17:55:49 +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
Harshavardhana
489602efe5 Allow regions to be set and honored for S3 driver. (#7010)
This is necessary for certain users where
GetBucketLocation API is disabled using IAM
policies. There is a field AmazonS3Region
which we need to re-purpose and use to support
this properly.

Fixes https://github.com/mattermost/platform/issues/6999
2017-07-31 12:22:52 -04:00
George Goldberg
c506c5cac6 PLT-6961: Add Elasticsearch settings to diagnostics. (#7021) 2017-07-31 11:53:44 -04:00
Chris
72f61ab96a make cli team / channel delete operations also delete webhooks and slash commands (#7028) 2017-07-31 11:52:45 -04:00
Joram Wilander
0f786a42d3 Select page correctly in more channels modal (#7035) 2017-07-31 11:52:02 -04:00
Jonathan
d01261a228 PLT-7177: Change the default email frequency to 15 minutes if batching is enabled on the server. (#7036)
* PLT-7177: Found default preference that needs to be changed

* PLT-7177: Front end behaves as desired

* PLT-7177: Changed default batching interval on server side

* PLT-7177: Added unit tests for new default interval

* PLT-7177: Removed unused import

* PLT-7177: Renamed constants to increase clarity
2017-07-31 11:51:43 -04:00
Jason Blais
8d7dcf44e2 PLT-7235 Fix broken links on System Console Mobile Push settings page (#7047)
* Update push_settings.jsx

* Update en.json
2017-07-31 11:37:54 -04:00
Saturnino Abril
c130d3630b prevent ViewImageModal to re-render when file count is unchanged (#7048) 2017-07-31 11:36:46 -04:00
Chris
094c2f7308 fix away/offline/online commands repeating user message (#7060) 2017-07-31 11:26:54 -04:00
Christopher Speller
09b49c26dd PLT-5308 Caching layer part 2 (#6973)
* Adding Reaction store cache layer example

* Implementing reaction store in new caching system.

* Redis for reaction store

* Adding redis library

* Adding invalidation for DeleteAllWithEmojiName and other minor enhancements
2017-07-31 08:15:23 -07:00
AJ Moon
6f4e38d129 [GH-6366] Add functionality to disable Authentication when connecting to SMTP (#6639)
* Issue #6366: Add feature to disable auth for Encrypted connections to SMTP settings.

* Clean PLAIN AUTH Option

* Reorder SMTP server setup and change helptext

* remove unneeded setting and modify logic

* text description change
2017-07-31 08:15:01 -07:00
Maxime Buquet
cf32b59e64 Make login_controller consistent with signup_controller by using Client4.getOAuthRoute (#7033)
* Use Client4.getOAuthUrl instead of making the url by hand with getUrl

* Use the correct function name. thanks jwilander
2017-07-31 08:31:28 -04:00
94117nl
6ec24867bc GH-6448 Migrate edit_command.jsx to be pure and use Redux (#6858)
* Migrate edit_command.jsx to be pure and use Redux, add basic test

* Update newCommand to reference modified command

* Fix typo

* Remove unnecessary re-renders
2017-07-31 08:26:04 -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
Corey Hulen
22fa48f455 Don't send last view message for null channels (#7051) 2017-07-31 08:18:40 -04:00
Asaad Mahmood
860f2c8332 Multiple Ui improvements (#7029)
* PLT-7119 - Updating headings on compact view

* PLT-7103 - Removing line below channel intro

* PLT-7112 - Fixing system console banner

* PLT-7144 - Adding ellipsis to system console boxes

* PLT-7181 - Changing channel header opacity

* PLT-6899 - Updating unread bar

* Updating margin for new messages indicator
2017-07-31 08:10:43 -04:00
Harrison Healey
3c0f082506 PLT-6924 Added config options to disable file uploads/downloads on mobile (#7049) 2017-07-28 11:52:31 -06:00
Joram Wilander
da6e6ca0bf Fix TestCreateOAuthUser unit test (#7034) 2017-07-28 11:48:34 -06:00
Corey Hulen
571e4f2ae1 Fixing issue with compliance export encoding (#7042) 2017-07-28 09:32:37 -06:00
Harrison Healey
2d43e99757 PLT-7032/PLT-7155 Updated marked to fix empty table cells and code block whitespace (#7015) 2017-07-27 17:17:03 -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
Joram Wilander
e83ba9a4a7 Add retries to TestEmailMention test (#6893) 2017-07-27 08:21:08 -04:00
Jonathan
27ff8bb146 PLT-7128: Added an undefined check around the scrollIntoView() command to avoid trying to scroll to something that has gone out of scope (#6998) 2017-07-27 08:17:47 -04:00
Nick Frazier
cc3a95fdd9 Added websocket event and webapp handler for updating user roles (#6953) 2017-07-27 08:15:50 -04:00
Joram Wilander
ac5dd4aa70 Show channel switcher help text on small desktop windows (#6978) 2017-07-27 08:06:24 -04:00
Joram Wilander
b428d565ca Go to page zero when searching direct channels (#6977) 2017-07-27 07:44:47 -04:00
Carlos Tadeu Panato Junior
3043b5d52a Migrate add and edit incoming webhook components to redux (#6885)
* Migrate add incoming webhook components to redux

* Migrate edit incoming webhook components to redux

* Add tests
2017-07-27 09:16:16 +01:00
George Goldberg
ff0a790516 PLT-7040: Fix capitalisation of Elasticsearch in Config. (#7020) 2017-07-27 08:48:02 +01:00
Saturnino Abril
244b15ea5b [PLT-7069] Remove shortcut key on Switch Channels when viewing on mobile web (#7012)
* remove shortcut key on Switch Channels when viewing on mobile web

* apply hidden-xs class for mobile view
2017-07-27 13:27:12 +08:00
George Goldberg
4132a02319 PLT-7183: User/Channel NotifyProps Bulk Import. (#7019) 2017-07-26 08:51:25 +01:00
Saturnino Abril
489151d2d2 [PLT-1031] Update clicking on @mention to show the contact card (#6989)
* update clicking on @mention to show the contact card

* update per comment - getUserFromMentionName and suffix
2017-07-26 07:45:55 +08:00
Carlos Tadeu Panato Junior
5840905c7f [PLT-6744] Add "Only visible to you" note for ephemeral messages (#6790) 2017-07-25 12:10:39 -07:00
Harrison Healey
b92d0b0024 Changed default Makefile target (#6647) 2017-07-25 12:10:00 -07:00
Chris
d49419776d Refresh the emoji library (#7001)
* refresh the emoji library

* fix img_trans.gif

* compress sprite sheet

* remove note on compression - webpack seems to handle compression decently

* better emoji sheet preloading

* requested changes
2017-07-25 14:47:03 -04:00
Chris
e5e450fc09 fix dm custom slash command regression (#7008) 2017-07-25 11:36:14 -07:00
Saturnino Abril
6418e912df [PLT-7219] Fix username as default for Teammate Name Display setting (#7023)
* fix username as default for Teammate Name Display setting

* update localizeMessage at UsersAndTeamsSettings
2017-07-25 21:55:21 +08:00
Chris
345dd400bb PLT-6706: add /code command (#6936)
* add /code command

* return an error for empty /code message
2017-07-24 14:55:37 -04:00
Chris
72355ba2bf fix uncleared server errors in user settings (#6964) 2017-07-24 18:06:45 +01:00
Jonathan
87746227bf PLT-3470: Changed all instances of user list to show full name, username, and nickname (#6994) 2017-07-24 08:22:19 -04:00
Saturnino Abril
b27d51d512 [PLT-7051] Fix hide/show for CMD/CTRL + Shift + A keyboard shortcut (#6979)
* fix hide/show for CMD/CTRL + Shift + A keyboard shortcut

* simplify setting value of show
2017-07-23 14:42:04 +08: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
Saturnino Abril
10b7b96a29 match header of system console and normal header except profile popover (#6986) 2017-07-22 02:57:54 +08:00
George Goldberg
02abaabf1f PLT-7123: Add tutorial, flags and favorites to bulk importer. (#7000) 2017-07-21 09:23:27 -04:00
George Goldberg
f30c0b5d38 PLT-6596: Elasticsearch interface changes. (#6993) 2017-07-21 08:38:44 +08:00
Christopher Speller
58839cefb5 Upgrading server dependancies (#6984) 2017-07-20 15:22:49 -07:00
George Goldberg
e2f4492ead Remove systemwide mutex from Yarn commands. (#6983) 2017-07-20 11:34:33 -07:00
George Goldberg
6c6f2a1138 PLT-6595-Server: Job Management APIs. (#6931)
* PLT-6595-Server: Job Management APIs.

* MANAGE_JOBS Permission

* Fix test.
2017-07-20 08:25:35 -07:00