summaryrefslogtreecommitdiffstats
path: root/api
Commit message (Collapse)AuthorAgeFilesLines
* Fix bad condition on hiding email addresses and update user etag to include ↵Joram Wilander2016-06-141-4/+4
| | | | privacy settings (#3327)
* PLT-3143 Added serverside code for custom Emoji (#3311)Harrison Healey2016-06-143-0/+701
| | | | | | | | | | | | | | * Added model objects for emoji * Added database tables for emoji * Added settings for custom emoji * Added serverside APIs and unit tests for custom emoji * Added additional validation to catch duplicate emoji names earlier on * Added additional validation to prevent users from adding emoji as another user
* Made error message clearer (#3318)David Lu2016-06-141-2/+8
|
* Merge branch 'release-3.1'JoramWilander2016-06-133-40/+59
|\ | | | | | | | | Conflicts: webapp/components/create_comment.jsx
| * Auto join teams if coming from team sign-up page to login for GitLab (#3284)Joram Wilander2016-06-073-40/+59
| |
* | PLT-2058 Debugging incoming web hook content (#3150)Martin Schenck2016-06-101-3/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PLT-2058 Debugging incoming web hook content This change debugs contents of incoming webhooks using l4g. The problem is that in order to debug the request body, it neads to be read. And a Reader can only be read once. Hence, the body is only read for Debugging if it is actually enabled. Furthermore, a new reader is created from the content of the old reader in order for the rest of the method to work as usual (with or without debugging). The debug statement is wrapped in a closure, so that the content is only copied if Debug is actually enabled. It is not possible to return `(string, string)` from the closure to `l4g.Debug()`. That is the reason the debugging is not done with `=%v`, but the translations strings end with a space. I tested the change with a `application/json` HTTP header as well as `payload=` The debug method is extracted into util/log.go in order to be re-usable for debugging `io.Reader` * Added a config flag to turn off incoming webhook debugging Setting `EnableWebhookDebugging` to false in the `config.json` will disable the printing of the content of incoming webhooks to the console * Defaulting webhook debugging to true * Added the setting of debugging incoming webhooks to the system console
* | CLI: invite user by email - missing siteURL in email (#3297)Thomas Balthazar2016-06-101-2/+2
|/
* System messages trigger notifications when user is mentioned (#3235)Joram Wilander2016-06-061-24/+23
|
* PLT-3114 Moved preview collapse out of pre-release features (#3206)Joram Wilander2016-06-062-0/+124
| | | | | | | | | | * Added user setting to auto collapse image previews * Added slash commands for collapsing/expanding image previews * Added translation strings for collapse setting * Add default props for preview collapse setting
* PLT-2559 Always return successful when trying to join a channel that the ↵Harrison Healey2016-06-063-4/+37
| | | | | | | | | | user is already a member of (#3265) * Added unit tests for SqlChannelStore.GetMember * Fixed api routes for accessing channels by name when the name includes an underscore * Changed join channel API to always return successful when the user is already a member of the channel
* PLT-2990 Clicking on a desktop notification from another team opens the team ↵enahum2016-06-061-0/+1
| | | | (#3253)
* PLT-2939 Fix Default slash command icon is invalid (#3250)enahum2016-06-061-1/+1
|
* LDAP users should not be subject to password guess limits or email ↵Christopher Speller2016-06-051-3/+6
| | | | verification (#3245)
* PLT-2994 Added @all (#3233)David Lu2016-06-041-4/+4
| | | | | | * Added @all * Uncomment @all server side
* Don't allow users to be added to a channel they are not in the team of (#3246)Joram Wilander2016-06-043-3/+17
|
* Adding LDAP Syncronization (#3219)Christopher Speller2016-06-031-0/+23
|
* PLT-3131 Add slash command for sending email invites (#3218)Joram Wilander2016-06-023-4/+113
| | | | | | | | | | * Add slash command for sending email invites * Add response for empty message and trim commas * Check for @ in email addresses before sending * Update invite people error message
* PLT-1800 Load server side locale from the config.json (#3202)enahum2016-06-023-3/+3
| | | | | | | | | | | | * PLT-1800 Load server side locale from the config.json * Add support for locales with country specifics * Fix localization on served locale file as plain/text * Remove github.com/cloudfoundry/jibber_jabber as vendor dependency * Fix get locale on login_controller
* Close HTTP response bodies properly in golang driver (and some api ↵Joram Wilander2016-06-022-0/+6
| | | | functions) (#3217)
* Allow system admins to update and delete channels (#3161)Joram Wilander2016-06-012-23/+56
|
* Revert "PLT-1800 Load server side locale from the config.json" (#3201)Christopher Speller2016-06-013-3/+3
|
* PLT-1800 Load server side locale from the config.json (#3135)enahum2016-06-013-3/+3
| | | | | | | | | | * PLT-1800 Load server side locale from the config.json * Add support for locales with country specifics * Fix localization on served locale file as plain/text * Remove github.com/cloudfoundry/jibber_jabber as vendor dependency
* Add a wait condition in outgoing webhook test to prevent race condition (#3177)Joram Wilander2016-05-311-0/+5
|
* PLT-2170 Send payload in application/json for outgoing webhooks (#3160)Thomas Balthazar2016-05-312-88/+92
| | | | | | | | | | | | | | | * Send payload in application/json for outgoing webhooks The Add outgoing webhook UI now has a 'Content-Type' field that allows to choose between application/x-www-form-urlencoded and application/json. All outgoing webhooks created before this change will be considered as x-www-form-urlencoded. There's also a minor change in the way the outgoing webhook summary is displayed: the 'Callback URLs' label was missing. * Fix JS formatting errors * Increase ContentType field length to 128
* Send websocket event for system message posts (#3162)Joram Wilander2016-05-311-15/+17
|
* PLT-2061 Include FULL PATH in logs when referring to a directory (#3170)Khoa Lê2016-05-311-1/+2
|
* Don't allow gitlab users to activate mfa (#3125)Joram Wilander2016-05-271-0/+4
|
* Added duplicated trigger validation (#3124)David Lu2016-05-274-13/+76
|
* Revert "PLT-1800 Load server side locale from the config.json" (#3133)Christopher Speller2016-05-272-3/+2
|
* PLT-1800 Load server side locale from the config.json (#3092)enahum2016-05-272-2/+3
| | | | | | | | * PLT-1800 Load server side locale from the config.json * Add support for locales with country specifics * Fix localization on served locale file as plain/text
* Send Post ID in webhooks (#3120)Thomas Balthazar2016-05-262-3/+136
|
* Made message command for all users (#3122)David Lu2016-05-261-1/+1
|
* PLT-2976 Adding checkout for missing SMTP server when testing email ↵Corey Hulen2016-05-262-2/+12
| | | | | | | | connection (#3115) * PLT-2976 Adding checkout for missing SMTP server when testing email connection * Fixing unit test
* fixed type speical -> special (#3052)rompic2016-05-251-2/+2
|
* Adding APIs to reload config, recycle db connections and ping server (#3096)Corey Hulen2016-05-245-42/+166
| | | | | | | | * Adding APIs to reload config, recycle db connections and ping server * Fixing unit test * Adding unit tests
* Revert "PLT-1800 Load server side locale from the config.json (#3076)"Christopher Speller2016-05-242-3/+2
| | | | This reverts commit 34beaa569bfb32f1607375f1d5a22859322060d2.
* Max_File_Size setting in System Console > File Settings (#3070)Thomas Balthazar2016-05-244-10/+11
|
* Removed isTestDomain (#3069)David Lu2016-05-241-64/+0
|
* PLT-1800 Load server side locale from the config.json (#3076)enahum2016-05-242-2/+3
| | | | | | * PLT-1800 Load server side locale from the config.json * Add support for locales with country specifics
* Fixed double join messages (#3059)David Lu2016-05-202-21/+2
|
* PLT-2664 Split out push notifications from email notifications (#3049)Joram Wilander2016-05-191-177/+206
| | | | | | | | * Split out push and email notification logic, always send push notifications on mention * Add user setting to control push notifications * Minor changeto simplify code
* Added /shortcuts (#3048)David Lu2016-05-192-0/+58
| | | | | | | | | | | Added message and tests Remember that lower vs uppercase matters Accidentally removed \n Added more Formatted
* Move away from the "andForget" style of function (#3046)Thomas Balthazar2016-05-187-351/+332
| | | | | This is the second and last part of the refactoring. First part is documented here: https://github.com/mattermost/platform/pull/3043
* Move away from the "andForget" style of function (#3043)Thomas Balthazar2016-05-182-170/+144
| | | | As suggested by @crspeller here: https://github.com/mattermost/platform/pull/3022#issuecomment-220004020
* Send email notification when username changed (#3022)Thomas Balthazar2016-05-181-9/+35
|
* Merge branch 'release-3.0'Christopher Speller2016-05-174-13/+8
|\
| * Fixing websocket connection=Corey Hulen2016-05-173-8/+8
| |
| * Removed check of email signup from creating a team (#3029)Harrison Healey2016-05-171-5/+0
| |
* | PLT-1909 Removed the ability to edit system posts (#3013)Harrison Healey2016-05-172-0/+17
| | | | | | | | | | | | * Removed the ability to edit system posts * Added increased timeout to SpinnerButton unit tests
* | PLT-2188 Integrations: Support raw new lines in the text payload (#2993)Thomas Balthazar2016-05-171-0/+11
| | | | | | | | | | | | | | | | | | | | * Integrations: Support raw new lines in the text payload * Improve support for raw new lines in text payload The regexp used to escape control characters now also searches for additional fields: text|fallback|pretext|author_name|title|value