Commit Graph

8724 Commits

Author SHA1 Message Date
Saturnino Abril
648f333850 [PLT-6496] Remove System Console and config settings for image height and width (#6688)
* remove System Console and config settings for image height and width

* add constants and update config.json

* updated as per review
2017-06-29 10:39:57 -04:00
Carlos Tadeu Panato Junior
e1168ab7cc [PLT-6847] If a message starts with a / but is not a slash command, put the text back in the input box when it fails to send (#6695)
* If a message starts with a / but is not a slash command, put the text back in the input box when it fails to send

* update string per review

* update per review
2017-06-29 10:39:13 -04:00
Jaehyun, Park
50b662040c Add /help slash command (#6650)
* Add /help slash command

* Fix copyright year

* go fmt

* Add help command test at api4

* Fix jasonblais's issue

* Update test code

* Fix unit test issue - keep config unchanged
2017-06-29 10:38:56 -04:00
Saturnino Abril
94e734c1bd [PLT-6655] Remove 1024 character limit with text settings at system console, except sitename of custom branding (#6597)
* remove 1024 character limit with text settings at system console, except sitename of custom branding

* add ability to set textarea of TextSetting
2017-06-29 10:36:55 -04:00
Joram Wilander
fcc9a8e6ae Fix bad merge (#6796) 2017-06-29 10:14:51 -04:00
Joram Wilander
3cd8057d28 Various updates to match latest mattermost-redux (#6794) 2017-06-29 10:03:57 -04:00
Joram Wilander
bef07fc53e Fix sidebar status not updating (#6752) 2017-06-29 09:37:57 -04:00
Pieter Lexis
227586e09a [PLT-5639] Show a message when invited addresses are blocked (#6691)
* Show a message when invited addresses are blocked

When using the "Send Email Invite" functionality. Emails were sent to
domains that were not on the `RestrictCreationToDomains` list. This
would lead to users getting a message that they can't create an account
if they follow the link in the email.

This commit will check the email addresses before the mails are sent and
warn the user typing them in which ones are blocked.

* Add unit test for domain restrictions on invite

* Invite Member: Clear serverError on toggle
2017-06-29 09:04:14 -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
520cedea16 PLT-6909 Remove deleted emojis from cache (#6757)
* PLT-6909 Remove deleted emojis from cache

* Fixed unit tests
2017-06-29 11:06:45 +08:00
Corey Hulen
9e600fcdcc PLT-3901 fixing push notificaiton with images message (#6783) 2017-06-29 11:05:34 +08:00
Joram Wilander
2a96b7e15e Remove unneeded return and add logging for marking channels unread (#6788) 2017-06-28 20:56:14 -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
7bde11d21b Make sure to log errors when failing to send emails (#6754) 2017-06-28 12:07:52 -04:00
94117nl
28e0b8dc27 PLT-6456 Migrate installed_commands.jsx to be pure and use Redux (#6759)
* Add documentation to props, migrate to pure component

* Migrate commands_container and installed_commands to redux

* Partially move confirm_integration to redux

* Add more props to commands_container

* Fix identation issue

* Remove unused import

* Update command token to reference redux store
2017-06-28 07:38:57 -07:00
Joram Wilander
005dd0754b Update gorp to support query timeouts on postgres (#6730)
* Update gorp to support query timeouts on postgres

* Update help text to remove postgres exception

* Fix glide.lock
2017-06-28 07:34:00 -07:00
Harrison Healey
2dea567dcf Added MarkdownImage component (#6774)
* Added MarkdownImage component

* Fixed unit tests
2017-06-28 07:30:02 -07:00
George Goldberg
0f69920342 PLT-6920: Fix password reset email. (#6773) 2017-06-28 07:29:19 -07:00
Joram Wilander
e527b6bbe4 PLT-6931 Properly parse request body in post search (#6768)
* Properly parse request body in post search

* Update driver to use correct body
2017-06-28 07:28:17 -07:00
Harrison Healey
3e9b5c2776 PLT-6813 Removed misleading and outdated link tests (#6767)
* PLT-6813 Removed misleading tests using default ports

* PLT-6813 Removed tests using basic authentication
2017-06-28 07:27:32 -07:00
George Goldberg
37642a4f1e PLT-6937: Bulk Importing of Direct/Group channels and posts. (#6761)
* PLT-6937: Bulk Importing of Direct/Group channels and posts.

* Show group/direct channels in sidebar.
2017-06-28 07:26:38 -07:00
Carlos Tadeu Panato Junior
fb2ef7708b PLT-6796 - Regression: Code tag is empty for html code blocks (#6779) 2017-06-28 09:39:12 -04:00
Joram Wilander
5492ca28b1 Fix account creation redirect (#6765) 2017-06-28 09:38:19 -04:00
lindalumitchell
a32f6f7733 Update test-tables.md (#6775) 2017-06-28 09:37:43 -04:00
Joram Wilander
bc2cad397a Fix searching by user id in system console (#6763) 2017-06-28 09:36:13 -04:00
megos
58b3231916 add attachments notification (#6769) 2017-06-28 13:37:51 +01:00
Harrison Healey
c66799a839 Fixed error information being obscured when joining teams with API v4 (#6751) 2017-06-28 07:56:29 -04:00
Harrison Healey
4484c82b1b PLT-6799 Removed <wbr> tags from markdown links (#6766)
* PLT-6799 Removed <wbr> tags from markdown links

* Fixed unit tests
2017-06-28 13:47:51 +08:00
George Goldberg
99fc4b0988 PLT-6900: Hide DotMenu container when DotMenu empty. (#6770) 2017-06-28 13:44:02 +08: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
Joram Wilander
a2f7de52c3 Remove unnecessary API calls on first page load (#6762) 2017-06-27 20:49:03 -07:00
Saturnino Abril
0b62078712 [PLT-6745] Fix action of SHIFT+UP by fixing latest replay-able post (#6738)
* fix latest replayable post

* use PostUtils.isSystemMessage instead of checkin that post.type is empty
2017-06-27 14:59:08 -04: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
Christopher Speller
9659a6da06 Stage 1 of caching layer. Framework (#6693) 2017-06-27 08:02:08 -07:00
Joram Wilander
28bf900205 Update to latest mattermost-redux (#6753) 2017-06-27 07:36:07 -04:00
Corey Hulen
58e8de3899 Fixing mean request time (#6760) 2017-06-26 21:46:19 -07:00
Saturnino Abril
f2abb9d8eb fix permission app error with updatePost (#6749) 2017-06-26 21:05:50 +01:00
Saturnino Abril
ffaab0bf22 Update dialog help text of 'MoreDirectChannels' and 'AddUsersToTeam' modals (#6744) 2017-06-26 14:34:44 -04:00
Chris
69ae5cef16 verify for email domain for everything but ldap / saml (#6718) 2017-06-26 14:33:48 -04:00
Adrien
f404483834 platform/model: Don't pull in the "testing" package in normal builds (#6735)
Rename all files importing the "testing" package in "platform/model"
so that they only get compiled in test builds. This avoids the side
effects of the testing package (notably, defining some command line
flags with the "flags" package) for codebases importing the model
package.
2017-06-26 14:32:39 -04: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
Harrison Healey
072da672a8 Required space before brackets in async arrow functions (#6721) 2017-06-26 09:38:50 -07:00
Chris
14467ee134 add /open command (#6717) 2017-06-26 09:36:47 -07: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
VeraLyu
33eb77b757 PLT-3711: Add websocket event for emoji addition (#6211)
* PLT-3711: Add websocket event for emoji addition

* (SA) updated as per review

This PR is edited directly to merge into master.

* (SA) updated as per review

This PR is edited directly to merge into master.
2017-06-23 19:09:17 -04:00
Chris
4df36a504c PLT-6714: add /settings command (#6716)
* add /settings command

* update receiver name
2017-06-23 15:47:24 -07:00
Harrison Healey
bf12e7e32c Load current user after loading client config (#6648) 2017-06-23 17:08:25 -04:00
enahum
964077eba3 translations PR 20170619 (#6686) 2017-06-23 16:48:49 -04:00