summaryrefslogtreecommitdiffstats
path: root/api
Commit message (Collapse)AuthorAgeFilesLines
* Minor updates to teamJoramWilander2017-08-082-7/+19
|
* PLT-7261 Fixed incorrect content type for preview and thumbnail images (#7119)Harrison Healey2017-08-041-2/+7
|
* PLT-6484 Add /leave command to leave a channel (#6402)David Meza2017-08-031-0/+66
| | | | | | | | | | | | | | | | | | * 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
* If login is using mobile respond with JSON object (#7030)enahum2017-08-031-5/+11
|
* Revert " #4755 Combining consecutive user join/leave system messages to ↵Saturnino Abril2017-08-011-1/+1
| | | | | | | | | | | | single message and few other changes." (#7072) * Revert "PLT-6603: Don't return all posts on invalid query. (#7061)" This reverts commit 25a2013890c7e07b4621fa9b18342e7f35363049. * Revert " #4755 Combining consecutive user join/leave system messages to single message and few other changes. (#5945)" This reverts commit 8a91235fb3cdc8d094dbc2eaa0d7baa447132b3c.
* #4755 Combining consecutive user join/leave system messages to single ↵Debanshu Kundu2017-08-011-1/+1
| | | | | | | | | message and few other changes. (#5945) fix 7 and 8 remove @ at "{username} joined the channel" refactor and update test
* PLT-6763 Implement user access tokens and new roles (server-side) (#6972)Joram Wilander2017-07-312-3/+17
| | | | | | | | | | | | | | | | * 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
* Allow regions to be set and honored for S3 driver. (#7010)Harshavardhana2017-07-312-6/+18
| | | | | | | | | 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
* Add retries to TestEmailMention test (#6893)Joram Wilander2017-07-271-4/+9
|
* Merge branch 'release-4.0'Christopher Speller2017-07-183-6/+24
|\
| * Fixed downloading of image files (#6934)Harrison Healey2017-07-151-3/+21
| | | | | | | | | | | | | | | | | | | | * Fixed downloading of image files * Fixed captitalization * Fixed missing import * Rename image to media
| * Tweak WebSocket header-processing (#6929)Chris2017-07-131-0/+9
| | | | | | | | | | | | * fix * consolidate code
| * Minor fixJoramWilander2017-07-062-3/+3
| |
* | [PLT-6676] Make OutgoingWebhook to fire when post has no text content but ↵Saturnino Abril2017-07-181-11/+28
| | | | | | | | | | | | | | | | only attachment (#6935) * make OutgoingWebhook to fire when post has no text content but only attachment * update per comment and modify payload & test
* | Tweak WebSocket header-processing (#6929)Chris2017-07-131-0/+9
| | | | | | | | | | | | * fix * consolidate code
* | PLT-7092 Fixed creation of PostList with null Posts fields (#6924)Harrison Healey2017-07-131-3/+2
|/
* add /search command (#6741)Chris2017-07-051-0/+13
|
* PLT-6554 Add config setting to control enabling API version 3 (#6835)Joram Wilander2017-07-043-0/+31
| | | | | | | | | | * Add config setting to control enabling API version 3 * Update help text for APIv3 config setting (#6843) * Update configuration_settings.jsx * Update en.json
* Add paging to the GET /emojis endpoint (#6802)Joram Wilander2017-07-031-1/+1
|
* Add /help slash command (#6650)Jaehyun, Park2017-06-291-0/+33
| | | | | | | | | | | | | | | | * 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
* Stage 1 of caching layer. Framework (#6693)Christopher Speller2017-06-271-2/+2
|
* add /open command (#6717)Chris2017-06-262-3/+20
|
* PLT-3711: Add websocket event for emoji addition (#6211)VeraLyu2017-06-231-0/+4
| | | | | | | | | | | | * 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.
* PLT-6714: add /settings command (#6716)Chris2017-06-231-0/+13
| | | | | | * add /settings command * update receiver name
* Fix places where we still refer to "/loadtest" (#6732)Jason Blais2017-06-231-3/+3
| | | | | | | | * Update README.md * Update developer_settings.jsx * Update command_loadtest_test.go
* PLT-6761 fixing unit tests (#6671)Corey Hulen2017-06-194-118/+118
|
* PLT-6080 moving clustering to memberlist (#6499)Corey Hulen2017-06-192-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PLT-6080 adding cluster discovery service * Adding memberlist lib * Adding memberlist lib * WIP * WIP * WIP * WIP * Rolling back config changes * Fixing make file * Fixing config for cluster * WIP * Fixing system console for clustering * Fixing default config * Fixing config * Fixing system console for clustering * Tweaking hub setting * Bumping up time * merging vendor dir * Updating vendor dir * Fixing unit test * Fixing bad merge * Remove some testing code * Moving comment * PLT-6868 adding db ping retry * Removing unused loc strings * Adding defer to cancel
* PLT-6678 Change Cache-Control to private for files (#6660)Harrison Healey2017-06-161-1/+1
|
* Merge release-3.10 into master (#6654)Joram Wilander2017-06-152-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PLT-6787 Fixed being able to send a post before files finished uploading (#6617) * Fix quick switcher for channels/users not stored locally (#6610) * Fix button text on confirm mention modal (#6609) * fix post delete permission of channel admin (#6608) * open comment thread for the most recent reply-able message (#6605) * Use mutex flag with yarn to prevent concurrent builds interfering (#6619) * Use mutex flag with yarn to prevent concurrent builds interfering * Remove yarn mutex file with clean * Minor bug fixes (#6615) * PLT-6774 - Fixing color for offline icon * PLT-6784 - Fixing status icon * Fixing icon margin * Updating caret position * PLT-6070 Have ChannelMentionProvider stop searching after a term returns no results (#6620) * Fixing JS error (#6623) * Minor bug fixes (#6622) * PLT-6808 - Updating channel switcher on mobile * PLT-6743 - Updating scrollbar styling * Login instead of failing if user exists in OAuth sign-up flow (#6627) * PLT-6802 Disable team switcher (#6626) * Disable team switcher * Fix ESLint errors * PLT-6807 Ensured select teams page can scroll on iOS (#6630) * Do not redirect from account switch pages on 401 (#6631) * Fixing loadtest command and renaming to /test (#6624) * PLT-6820 Update mattermost-redux dependency (#6632) * translations PR 20170612 (#6629) * Bump HTTP client timeout to 30 seconds (#6633) * For team unreads return empty array instead of null (#6636) * PLT-6831 Fix status modal localization IDs (#6637) * Fix status modal localization IDs * Update test snapshot
* PLT-6581 breakup webhooks greater than 4K into multiple posts (#6530)Corey Hulen2017-06-021-50/+50
|
* 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
|\