summaryrefslogtreecommitdiffstats
path: root/api
Commit message (Collapse)AuthorAgeFilesLines
* PLT-7470: Add metrics for searches. (#7507)George Goldberg2017-09-251-0/+12
|
* Move sql store code into store/sqlstore package (#7502)Chris2017-09-251-7/+8
| | | | | | | | | | * move sql store code into store/sqlstore package * move non-sql constants back up to store * fix api test * derp
* remove global refs from api/api4 (#7496)Chris2017-09-2221-340/+349
|
* remove more global refs (#7480)Chris2017-09-212-19/+18
|
* remove einterface gets (#7455)Chris2017-09-193-29/+26
|
* Fixing profile image tag (#7435)Corey Hulen2017-09-192-3/+3
| | | | | | | | * Fixing profile image tag * Fixing unit test * Fixing unit test
* generate web error when opening an invalid public file link (#7475)Saturnino Abril2017-09-191-0/+4
|
* PLT-7539: Remove redundant license checks from CLI commands. (#7451)George Goldberg2017-09-151-106/+57
|
* Fix update SQL query to include refresh token (#7425)Joram Wilander2017-09-141-0/+29
|
* fix plugin test (#7436)Chris2017-09-121-3/+5
| | | | | | | | | | | | * fix plugin test * ugh. global state * Fix plugin test * Fix TestDeleteChannel * Remove plugin config listener when shutting down
* Remove global app references (#7433)Chris2017-09-123-50/+37
| | | | | | | | * remove global app references * test fix * fix api4 test compilation
* Disabling oauth testChristopher Speller2017-09-071-2/+2
|
* Adjustments to JenkinsfileChristopher Speller2017-09-071-20/+20
|
* 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