summaryrefslogtreecommitdiffstats
path: root/api4/command.go
Commit message (Collapse)AuthorAgeFilesLines
* Migrate all the api4 to handle errors in idiomatic way (#9143)Jesús Espino2018-08-011-1/+3
|
* [MM-10754] Remove unnecessary command_test route (#9050)Saturnino Abril2018-07-061-26/+0
| | | | | | * remove unnecessary command_test route * replaced localhost with ts.URL
* Reduce logging data races, fix MySQL test race condition (#7994)Chris2017-12-221-4/+0
| | | | | | | | * fix races * revert unintentional change * fix test as intended
* several one-line panic, race, and logic fixes (#7766)Chris2017-11-031-2/+2
|
* Performance improvements for 40M posts (#7708)Christopher Speller2017-10-251-12/+11
| | | | | | | | | | | | | | | | | | | | | | * Optimizing get root posts SQL query * Setting session invalidation to be reliable * Adding app reciever to SessionHasPermissionToUser * Adding app reciever to SessionHasPermissionToTeam * Adding app reciever to SessionHasPermissionTo * Clear session cache if permission was denied * Fixing rebase issues * Revert "Optimizing get root posts SQL query" This reverts commit f364757e7015cfb4ec673d0a4fc3d57cd25d8dd7. * Fixing build
* PLT-7193: Regression - Custom slash commands don't work in direct or group ↵Jonathan2017-10-171-4/+14
| | | | | | | | message channels (#7635) * No longer overriding specified team id for DMs/GMs, as these types of channels don't belong to a team, and doing so breaks slash commands for them * Ensured user is on specified team in case of GM/DM, extended test suite
* PLT-7785: Slash commands can be issued to a channel in a team without it (#7567)Jonathan2017-10-041-6/+3
| | | | | | * Ensured that specified channel is a part of specified team * Simplified approach to just infer team id from specified channel id to eliminate the attack vector entirely
* PLT-7684 Add support to outgoing webhooks and slash commands to set post ↵Joram Wilander2017-09-281-0/+2
| | | | | | | | type and props (#7531) * Add support to outgoing webhooks and slash commands to set post type and props * Fix nil access
* remove global refs from api/api4 (#7496)Chris2017-09-221-10/+10
|
* Renaming repoChristopher Speller2017-09-061-3/+3
|
* app type transition (#7167)Chris2017-09-061-14/+14
|
* fix dm custom slash command regression (#7008)Chris2017-07-251-1/+7
|
* APIv4 POST /commands/execute (#6205)Saturnino Abril2017-04-271-0/+64
|
* [APIV4] POST /commands/{command_id}/regen_token for apiV4 (#6052)Carlos Tadeu Panato Junior2017-04-161-0/+38
| | | | | | * implement POST /commands/{command_id}/regen_token for apiV4 * update comment
* PLT-5860 Updated copyright date (#6058)Harrison Healey2017-04-121-1/+1
| | | | | | | | | | | | * 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
* APIv4 DELETE /commands/{command_id} (#6012)Saturnino Abril2017-04-101-0/+38
|
* APIv4 PUT /commands/{command_id} (#5999)Saturnino Abril2017-04-071-0/+50
| | | | | | * APIv4 PUT /commands/{command_id} * update client parameter and api4 test
* implement GET /teams/{team_id}/commands/autocomplete (#5951)Carlos Tadeu Panato Junior2017-04-031-0/+22
|
* implement GET /commands (#5865)Carlos Tadeu Panato Junior2017-04-031-0/+47
|
* Use 201 status code where appropriate for APIv4 (#5903)Joram Wilander2017-03-311-0/+1
|
* implement POST /commands for apiv4 (#5849)Carlos Tadeu Panato Junior2017-03-231-0/+45