summaryrefslogtreecommitdiffstats
path: root/model/command_response_test.go
Commit message (Collapse)AuthorAgeFilesLines
* fix gofmt for go 1.11 (#9516)Carlos Tadeu Panato Junior2018-10-011-12/+7
| | | | | | | | * fix gofmt for go 1.11 * fix test * comment out one test
* MM-10232, MM-10259: Improve error handling from invalid json (#8668)Jesse Hallam2018-04-261-86/+120
| | | | | | | | | | | | | | * 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
* more robust command response content-type checking (#7412)Chris2017-09-111-0/+1
|
* PLT-1649: add response_url support for custom slash commands (#6739)Chris2017-08-161-0/+24
| | | | | | | | | | * add response_url support for custom slash commands * pr suggestions * pr update / suggestion * test fix
* PLT-7077: ignore null array items in slack attachments (#6904)Chris2017-07-121-0/+14
| | | | | | | | | | * 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-0/+65
|
* partial fix for UI=Corey Hulen2016-01-081-0/+19