summaryrefslogtreecommitdiffstats
path: root/api
Commit message (Collapse)AuthorAgeFilesLines
* Renaming repoChristopher Speller2017-09-0649-146/+146
|
* Adding jenkinsfile for new build server.Christopher Speller2017-09-062-16/+2
|
* Merge release-4.2Christopher Speller2017-09-064-6/+70
|\
| * Various patchesJoramWilander2017-09-064-6/+70
| |
* | app type transition (#7167)Chris2017-09-0632-430/+436
|/
* Revert "[PLT-7475] Add S3 region to system console and add S3 validation ↵Saturnino Abril2017-09-062-9/+9
| | | | | | | | (#7373)" (#7387) This reverts commit 8d680cf64ec7fb6c8b242b8048989d0f0550cb68. Move to 4.3. Will discuss more if validation is necessary.
* [PLT-7475] Add S3 region to system console and add S3 validation (#7373)Saturnino Abril2017-09-062-9/+9
| | | | | | | | | | * add S3 region to system console and add S3 validation * update translation message * add bool as return value to Validate* functions * update Validate* functions to be pure
* Api: NewLocAppError -> NewAppError (#7280)George Goldberg2017-09-0113-159/+92
|
* Config to make town square read only (#7140)David Meza2017-09-013-2/+64
| | | | | | | | | | | | | | | | | | | | | | * Be able to make Town Square read-only (Disable typing messages for non admins). * Do not emit UserTypingEvent when TownSquareIsReadOnly and is Town Square. * Add unit tests for TownSquareIsReadOnly config value and logic. * Add TownSquareIsReadOnly to System console>Policy. Added Telemetry. * Add control for TownSquareIsReadOnly=true only for License Enterprise Edition E10 & E20. * Update en.json * Update en.json * Update policy_settings.jsx * Change config value from TownSquareIsReadOnly to ExperimentalTownSquareIsReadOnly. * Refactored to simplify. Avoid code repeat and multiple db calls.
* [PLT-5170] Add join the channel system message for the person who created ↵Saturnino Abril2017-08-303-10/+24
| | | | | | | | the channel (#7299) * add join the channel system message for the person who created the channel * update test
* set to default value with config is missing (#7320)Saturnino Abril2017-08-309-40/+40
|
* PLT-5745 Cleaning up duplicate calls (#7298)Corey Hulen2017-08-281-3/+3
| | | | | | | | * PLT-5745 Cleaning up duplicate calls * Fixing missing calls * Fixing broken test
* PLT-???? Prepare file upload infrastructure for Data Retention. (#7266)George Goldberg2017-08-253-14/+51
| | | | | | | | | | | | | | | | | * Prepare file upload infrastructure for Data Retention. This commit prepares the file upload infrastructure for the data retention feature that is under construction. Changes are: * Move file management code to utils to allow access to it from jobs. * From now on, store all file uploads in a top level folder which is the date of the day on which they were uploaded. This commit is based on Harrison Healey's branch, but updated to work with the latest master. * Use NewAppError
* Remove temporary cookie code (#7218)Joram Wilander2017-08-181-14/+0
|
* [PLT-3377] Open up a shortcuts dialog instead of printing help text (#7064)Saturnino Abril2017-08-181-14/+1
| | | | | | | | | | | | | | | | | | * open up a shortcuts dialog instead of printing help text * Updating UI for keyboard shortcuts modal * update PR per PLT-7284 * fix typo error * fix mixed up shortcut keys * move to client side * fix shortcuts list, remove unused function and revert server side code for autocompletion * remove quick team switcher
* Merge branch 'release-4.1'Christopher Speller2017-08-173-61/+41
|\
| * PLT-7408 Move webhook handling into api4 package to fix EnableAPIv3 config ↵Joram Wilander2017-08-161-52/+0
| | | | | | | | | | | | | | | | setting (#7219) * Move webhook handling into api4 package to fix EnableAPIv3 config setting * Fix unit test
| * PLT-7336: Fix team API endpoints.George Goldberg2017-08-112-3/+22
| |
| * Minor updates to teamJoramWilander2017-08-082-7/+19
| |
* | PLT-6226 Fixing races with licensing (#7213)Corey Hulen2017-08-1610-160/+160
| | | | | | | | | | | | | | | | | | | | * PLT-6226 Fixing races with licensing * Fixing build issue * Fixing licensing issue * removing commented code
* | PLT-1649: add response_url support for custom slash commands (#6739)Chris2017-08-161-2/+1
| | | | | | | | | | | | | | | | | | | | * add response_url support for custom slash commands * pr suggestions * pr update / suggestion * test fix
* | PLT-6358: Server HTTP client improvements (#6980)Chris2017-08-092-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * restrict untrusted, internal http connections by default * command test fix * more test fixes * change setting from toggle to whitelist * requested ui changes * add isdefault diagnostic * fix tests
* | PLT-7206: Remove the "Delete Channel" option for private channels if you're ↵Jonathan2017-08-092-17/+7
|/ | | | | | | | | | | | | | | | | | | | | | | | the last channel member and policy setting restricts channel deletion (#7050) * PLT-7206: UI changes. Removed last user in channel loophole, refactored code to clean it up, added differentiated support for public and private channels, added unit tests. Still need to implement server-side checks * PLT-7206: All helper methods in channel_utils.jsx now accept the same three boolean variables in the same order and use the same boolean logic to check their values. * PLT-7206: Added unit tests for showManagementOptions(...) * PLT-7206: Fixed test case descriptions * Added unit tests for showCreateOption(...) * PLT-7206: Added unit tests for canManageMembers(...) * PLT-7206: Removed last person in channel loophole from server-side code * PLT-7206: Reverted config.json * PLT-7206: Fixed double negatives in unit test names * PLT-7206: PR feedback - Removed confusing comment and unused variable
* 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
|