summaryrefslogtreecommitdiffstats
path: root/api
Commit message (Collapse)AuthorAgeFilesLines
* Support AWS Signature V2 for Mattermost for S3 storage. (#6462)Harshavardhana2017-05-302-5/+13
| | | | | | | Certain S3 compatible servers only use Legacy Signature (AWS Signature V2), current code only supports signature v4. This PR adds facility to click a button on the UI to enable legacy signature with S3 compatible servers.
* Adding short unit tests by default (#6494)Christopher Speller2017-05-252-30/+31
|
* PLT-6471 Properly panic when translations can't be loaded (#6414)Harrison Healey2017-05-232-2/+2
| | | | | | | | | | * PLT-6471 Properly panic when translations can't be loaded * Print usage messages when errors occur during CLI initialization * Reverted behaviour of FindDir and added second return value to it * Fixed merge conflict
* Ability to use OAuth login from mobile (#6432)enahum2017-05-171-1/+1
|
* Detach session activity update from statuses (#6379)Joram Wilander2017-05-101-0/+1
|
* Forward port 3.8.1 changes that missed master (#6362)Joram Wilander2017-05-091-1/+1
|
* PLT-6393: Fix Websocket CORS header check. (#6335)George Goldberg2017-05-041-2/+2
|
* Removing password reset salt (#6334)Christopher Speller2017-05-041-3/+0
|
* PLT-6492 Use new cookie to determine if user is logged in (#6317)Joram Wilander2017-05-041-0/+22
| | | | | | * Use new cookie to determine if user is logged in * Add temporary code for 3.9 to prevent forced re-login
* PLT-6262 Add config setting to disable file attachments (#6301)Joram Wilander2017-05-042-3/+18
| | | | | | | | | | | | | | * Add config setting to disable file attachments * Add unit tests * Updating UI for no attachments (#6312) * Update UI text on file upload System Console setting (#6313) * Update storage_settings.jsx * Update en.json
* PLT-6322 log error messages in english (#6234)Corey Hulen2017-04-281-4/+4
|
* Creating common token store and moving email invites and verification to it ↵Christopher Speller2017-04-273-44/+44
| | | | (#6213)
* Fix OAuth SSO first account creation, add mobile support, and fix refresh ↵Joram Wilander2017-04-251-1/+26
| | | | tokens (#6181)
* APIv4 DELETE /users/{user_id}/posts/{post_id}/reactions/name (#6117)Saturnino Abril2017-04-221-19/+4
| | | | | | | | | | * APIv4 DELETE /users/{user_id}/posts/{post_id}/reactions/name * updated v3 deleteReaction endpoint * update parameter of app.DeleteReactionForPost() * update utils.IsValidAlphaNum, add utils.IsValidAlphaNumHyphenUnderscore, and add related tests
* [APIV4] GET /emoji/{emoji_id}/image for apiV4 (#6141)Carlos Tadeu Panato Junior2017-04-201-21/+7
| | | | | | * implement GET /emoji/{emoji_id}/image for apiV4 * update per request
* Implement v4 endpoints for OAuth (#6040)Joram Wilander2017-04-204-201/+12
| | | | | | | | | | | | | | | | | | * Implement POST /oauth/apps endpoint for APIv4 * Implement GET /oauth/apps endpoint for APIv4 * Implement GET /oauth/apps/{app_id} and /oauth/apps/{app_id}/info endpoints for APIv4 * Refactor API version independent oauth endpoints * Implement DELETE /oauth/apps/{app_id} endpoint for APIv4 * Implement /oauth/apps/{app_id}/regen_secret endpoint for APIv4 * Implement GET /user/{user_id}/oauth/apps/authorized endpoint for APIv4 * Implement POST /oauth/deauthorize endpoint
* PLT-1384 Added websocket event when preferences are updated/deleted (#6107)Harrison Healey2017-04-201-26/+5
|
* Revert "Usernames must start with a letter (#5581)"Christopher Speller2017-04-183-56/+50
| | | | This reverts commit 2e911b77c3386833f8f0cea82c7b6b3e5583a08e.
* APIv4 POST /reactions (#6092)Saturnino Abril2017-04-181-8/+3
| | | | | | * APIv4 POST /reactions * update corresponding V3 endpoint
* Merge branch 'release-3.8'Christopher Speller2017-04-172-3/+3
|\
| * get the latest message from the mailbox. It fixes the issue PLT-6176 (#6005)Carlos Tadeu Panato Junior2017-04-101-2/+2
| |
| * Fix configuration settingJoramWilander2017-04-101-2/+2
| |
| * Use SiteURL for OAuth login (#6032)Joram Wilander2017-04-101-1/+1
| |
| * PLT-5977: Only reload clients when client config changes. (#5989)George Goldberg2017-04-051-1/+1
| |
* | implement DELETE /emoji/{emoji_id} fro apiV4 (#6021)Carlos Tadeu Panato Junior2017-04-171-29/+12
| | | | | | implement GET /emoji/{emoji_id} for apiv4
* | Implement GET /webrtc/token endpoint for APIv4 (#6046)Joram Wilander2017-04-161-68/+4
| |
* | Refactor OAuth 2.0 code into app layer (#6037)Joram Wilander2017-04-123-624/+104
| |
* | PLT-5860 Updated copyright date (#6058)Harrison Healey2017-04-1252-52/+52
| | | | | | | | | | | | | | | | | | | | | | | | * PLT-5860 Updated copyright date in about modal * PLT-5860 Updated copyright notice in JSX files * PLT-5860 Updated copyright notice in go files * Fixed misc copyright dates * Fixed component snapshots
* | Refactor switching login type code into app layer and add v4 endpoint (#6000)Joram Wilander2017-04-102-266/+16
| | | | | | | | | | | | * Refactor switching login type code into app layer and add v4 endpoint * Fix unit test
* | get the latest message from the mailbox. It fixes the issue PLT-6176 (#6005)Carlos Tadeu Panato Junior2017-04-071-2/+2
| |
* | implement GET /emoji for apiV4 (#6007)Carlos Tadeu Panato Junior2017-04-071-4/+4
| |
* | implement POST /emoji for apiV4 (#5868)Carlos Tadeu Panato Junior2017-04-062-143/+30
|/
* Fix blanking out of FileIds and backwards compatability issue with v3 (#5950)Joram Wilander2017-04-041-1/+1
|
* Fixing race conditions in the code base (#5966)Corey Hulen2017-04-042-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Adding initial race detector * Remove setting of config twice * Fixing config file watch and config reload on license save * Fixing config file watch and config reload on license save * Fixing build error * Fixing locking issue * Fixing makefile * Fixing race in config * Fixing race in status unit test * Adding EE race tests * Fixing race in cluster info * Removing code that's isn't needed * Fixing some more races * Fixing govet issue
* PLT-6198: Use added to channel system message on default channels. (#5969)George Goldberg2017-04-042-2/+2
| | | | Use a different sytem message when a user was added to a default channel by someone else than when they joined themselves.
* PLT-5900 Removed automatic configuration of SiteURL (#5952)Harrison Healey2017-04-0412-67/+63
| | | | | | | | | | | | | | | | * Revert "PLT-5765 Passed SiteURL to SendNotifications (#5705)" This reverts commit a8e68bd8905972ae59de90fa33d5b3e3c274dc47. * Removed automatic configuration of SiteURL * Reverted unintentional config changes * Updated help text * Added link to docs in Site URL warning * Fixed merge conflict
* Fixing config file watch and config reload on license save (#5954)Corey Hulen2017-04-041-2/+0
| | | | | | | | | | * Fixing config file watch and config reload on license save * Fixing config file watch and config reload on license save * Fixing build error * Fixing locking issue
* Add more OAuth unit tests (#5946)enahum2017-04-032-65/+565
|
* PLT-6139 (Server): Private Channel member managing (#5941)George Goldberg2017-04-031-2/+220
| | | | Adds an EE policy feature to allow restricting system-wide which level of Admins can manage the membership of private channels.
* implement GET /commands (#5865)Carlos Tadeu Panato Junior2017-04-031-1/+1
|
* PLT-5483 Fix bug where flagged posts endpoint returned posts on other teams ↵Joram Wilander2017-03-312-1/+11
| | | | | | | | (#5765) * Fix bug where flagged posts endpoint returned posts on other teams * Include flagged posts from DMs/GMs
* PLT-6090 adding ability to read license file from disk (#5895)Corey Hulen2017-03-311-0/+2
| | | | | | | | * PLT-6090 adding ability to read license file from disk * Fixing unit test that fails only sometimes * Fixing test that fails randomly
* Remove API endpoints being deprecated in 3.8 (#5880)Joram Wilander2017-03-282-221/+1
|
* Move WebSocket API to it's own package and add websocket v4 endpoint (#5881)Joram Wilander2017-03-288-153/+6
|
* Implement some MFA endpoints for APIv4 (#5864)Joram Wilander2017-03-271-20/+2
|
* PLT-6063: AddUserToTeam permission depends on policy. (#5869)George Goldberg2017-03-261-3/+77
| | | Uses same policy setting as InviteUserToTeam.
* PLT-6046 remove webrtc from tests (#5872)enahum2017-03-261-44/+0
|
* Merge branch 'release-3.7'George Goldberg2017-03-233-3/+102
|\
| * Fix policy application in team edition. (#5771)George Goldberg2017-03-153-3/+102
| |
* | Websocket CORS Support (#5667)Brad Howes2017-03-232-1/+46
| | | | | | | | | | | | | | | | | | | | * Second attept at patching api/websocket.go for CORS support. * Missing include * Fixed whitespace formatting so that gofmt passes. * Added tests for CORS filtering