summaryrefslogtreecommitdiffstats
path: root/model/command_response.go
Commit message (Collapse)AuthorAgeFilesLines
* MM-10232, MM-10259: Improve error handling from invalid json (#8668)Jesse Hallam2018-04-261-9/+15
| | | | | | | | | | | | | | * MM-10232: improve error handling from malformed slash command responses Switch to json.Unmarshal, which doesn't obscure JSON parse failures like json.Decode. The latter is primarily designed for streams of JSON, not necessarily unmarshalling just a single object. * rework HumanizedJsonError to expose Line and Character discretely * MM-10259: pinpoint line and character where json config error occurs * tweak HumanizeJsonError to accept err first
* unnamed return (#8170)Chris2018-01-301-6/+2
|
* PLT-7824 Added support for mentions with <@userid> and <!here> (#7615) (#7737)Joey Lee2017-11-171-2/+1
|
* 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
* more robust command response content-type checking (#7412)Chris2017-09-111-1/+2
|
* PLT-1649: add response_url support for custom slash commands (#6739)Chris2017-08-161-0/+17
| | | | | | | | | | * add response_url support for custom slash commands * pr suggestions * pr update / suggestion * test fix
* PLT-7212: fix missing webhook post attachments (#7011)Chris2017-08-031-7/+7
| | | | | | * fix missing webhook post attachments * make ProcessSlackAttachments return a new slice instead of modifying it
* PLT-7077: ignore null array items in slack attachments (#6904)Chris2017-07-121-15/+8
| | | | | | | | | | * ignore null array items in incoming webhooks / command responses * consolidate code, process announcements in command response as well * make a bit more idiomatic, add tests * add missing file
* 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
* Added additional validation for slack attachment format on server (#5680)Harrison Healey2017-03-081-10/+20
|
* plt-2610 allow slash command to override username/icon_url (#4378)Yusuke Nemoto2016-11-171-0/+2
|
* adding different commands=Corey Hulen2016-01-091-0/+1
|
* partial fix for UI=Corey Hulen2016-01-081-0/+40