summaryrefslogtreecommitdiffstats
path: root/api4/webhook.go
Commit message (Collapse)AuthorAgeFilesLines
* MM-11520: Make entity ID checks consistent across api4. (#9395)George Goldberg2018-09-141-13/+32
| | | | | | * MM-11520: Make entity ID checks consistent across api4. * Update tests.
* Migrate all the api4 to handle errors in idiomatic way (#9143)Jesús Espino2018-08-011-60/+65
|
* Refactor context out of API packages (#8755)Joram Wilander2018-05-141-91/+0
| | | | | | | | | | | | * Refactor context out of API packages * Update function names per feedback * Move webhook handlers to web and fix web tests * Move more webhook tests out of api package * Fix static handler
* Structured logging (#8673)Christopher Speller2018-04-271-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implementing structured logging * Changes to en.json to allow refactor to run. * Fixing global logger * Structured logger initalization. * Add caller. * Do some log redirection. * Auto refactor * Cleaning up l4g reference and removing dependancy. * Removing junk. * Copyright headers. * Fixing tests * Revert "Changes to en.json to allow refactor to run." This reverts commit fd8249e99bcad0231e6ea65cd77c32aae9a54026. * Fixing some auto refactor strangeness and typo. * Making keys more human readable.
* MM-10232, MM-10259: Improve error handling from invalid json (#8668)Jesse Hallam2018-04-261-4/+8
| | | | | | | | | | | | | | * 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
* Merge branch 'master' into advanced-permissions-phase-1George Goldberg2018-03-131-1/+0
|\
| * general cleanup (#8387)Chris2018-03-071-1/+0
| |
* | MM-8830 Consistent Incomming/Outgoing webhooks permissions (#8335)Jesús Espino2018-03-071-8/+20
|/
* [PLT-539] Update incoming webhooks to accept multipart/form-data content (#7873)Carlos Tadeu Panato Junior2018-02-161-18/+38
|
* Reduce logging data races, fix MySQL test race condition (#7994)Chris2017-12-221-3/+0
| | | | | | | | * fix races * revert unintentional change * fix test as intended
* fix PUT webhook permissions (#7970)Chris2017-12-121-1/+1
|
* Performance improvements for 40M posts (#7708)Christopher Speller2017-10-251-19/+18
| | | | | | | | | | | | | | | | | | | | | | * 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
* Reduce utils.Cfg references (#7650)Chris2017-10-181-1/+1
| | | | | | | | | | | | * app.UpdateConfig method * test fix * another test fix * the config override option as-was is just error prone, remove it for now * derp
* remove global refs from api/api4 (#7496)Chris2017-09-221-15/+15
|
* Renaming repoChristopher Speller2017-09-061-3/+3
|
* app type transition (#7167)Chris2017-09-061-30/+30
|
* APIv4: NewLocAppError -> NewAppError (#7328)George Goldberg2017-08-311-6/+1
|
* Switch hook debug msg to info (#7272)Corey Hulen2017-08-221-1/+1
|
* Adding debugging for webhook (#7199)Corey Hulen2017-08-181-1/+6
| | | | | | | | * Adding debugging for webhook * Fixing build error * Moving error down
* webhook merge fix (#7250)Chris2017-08-171-0/+17
|
* PLT-7408 Move webhook handling into api4 package to fix EnableAPIv3 config ↵Joram Wilander2017-08-161-0/+51
| | | | | | | | setting (#7219) * Move webhook handling into api4 package to fix EnableAPIv3 config setting * Fix unit test
* Move integrations over to redux and v4 (#6679)Joram Wilander2017-06-191-7/+11
|
* 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
* add implementation for endpoint DELETE outgoing webhook for apiv4 (#5828)Carlos Tadeu Panato Junior2017-03-231-2/+38
|
* add implementation to get outgoing webhook for apiv4 (#5827)Carlos Tadeu Panato Junior2017-03-231-0/+30
|
* implement PUT /hooks/outgoing/{hook_id} - update outgoing hook (#5793)Carlos Tadeu Panato Junior2017-03-211-0/+44
|
* [APIV4] POST /hooks/outgoing/{hook_id}/regen_token - regentoken endpoint ↵Carlos Tadeu Panato Junior2017-03-201-0/+34
| | | | for apiV4 (#5783)
* Implement update IncomingHook for apiV4 (#5762)Carlos Tadeu Panato Junior2017-03-151-0/+61
|
* Implement GET and POST /hooks/outgoing endpoints for APIv4 (#5645)Joram Wilander2017-03-131-2/+70
|
* Adding functionality to get & delete incoming webhooks (#5648)Poornima2017-03-111-0/+75
|
* Implement create and get incoming webhook endpoints for APIv4 (#5407)Joram Wilander2017-02-211-0/+85
* Implement POST /hooks/incoming endpoint for APIv4 * Implement GET /hooks/incoming endpoint for APIv4 * Updates per feedback