Christopher Speller
da265fbaf7
Moving app from singular to being created for every request ( #9889 )
...
* Moving app from singular to being created for every request.
* Automatic refactor
* Adding license header
* Feedback fixes
2018-11-28 10:56:21 -08:00
George Goldberg
fdbb6de3d5
MM-11520: Make entity ID checks consistent across api4. ( #9395 )
...
* MM-11520: Make entity ID checks consistent across api4.
* Update tests.
2018-09-14 08:21:05 -07:00
Jesús Espino
d81a61398d
Migrate all the api4 to handle errors in idiomatic way ( #9143 )
2018-08-01 16:55:18 +02:00
Joram Wilander
47250c6629
Refactor context out of API packages ( #8755 )
...
* 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
2018-05-14 10:24:58 -04:00
Christopher Speller
686c2fbab7
Structured logging ( #8673 )
...
* 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 fd8249e99b .
* Fixing some auto refactor strangeness and typo.
* Making keys more human readable.
2018-04-27 12:49:45 -07:00
Jesse Hallam
6d50d836f5
MM-10232, MM-10259: Improve error handling from invalid json ( #8668 )
...
* 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
2018-04-26 11:19:25 -04:00
George Goldberg
fadcdd271a
Merge branch 'master' into advanced-permissions-phase-1
2018-03-13 13:36:23 +00:00
Chris
e8943936c5
general cleanup ( #8387 )
2018-03-07 12:36:40 -06:00
Jesús Espino
b66e4bc932
MM-8830 Consistent Incomming/Outgoing webhooks permissions ( #8335 )
2018-03-07 14:54:47 +00:00
Carlos Tadeu Panato Junior
8c3a7b75de
[PLT-539] Update incoming webhooks to accept multipart/form-data content ( #7873 )
2018-02-16 08:29:12 -08:00
Chris
91bfc72a99
Reduce logging data races, fix MySQL test race condition ( #7994 )
...
* fix races
* revert unintentional change
* fix test as intended
2017-12-22 12:09:33 +00:00
Chris
03f5c939de
fix PUT webhook permissions ( #7970 )
2017-12-12 17:44:01 -06:00
Christopher Speller
4491b5ecdf
Performance improvements for 40M posts ( #7708 )
...
* 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
2017-10-25 11:48:15 -07:00
Chris
8e19ba029f
Reduce utils.Cfg references ( #7650 )
...
* app.UpdateConfig method
* test fix
* another test fix
* the config override option as-was is just error prone, remove it for now
* derp
2017-10-18 15:36:43 -07:00
Chris
dcf9e96a0b
remove global refs from api/api4 ( #7496 )
2017-09-22 13:54:27 -04:00
Christopher Speller
29fca51821
Renaming repo
2017-09-06 23:11:59 -07:00
Chris
1adfd0e9be
app type transition ( #7167 )
2017-09-06 17:12:54 -05:00
George Goldberg
63b10be020
APIv4: NewLocAppError -> NewAppError ( #7328 )
2017-08-31 10:03:16 -04:00
Corey Hulen
7dad3965a6
Switch hook debug msg to info ( #7272 )
2017-08-22 15:57:02 -07:00
Corey Hulen
4a8afebcdb
Adding debugging for webhook ( #7199 )
...
* Adding debugging for webhook
* Fixing build error
* Moving error down
2017-08-18 15:58:26 -07:00
Chris
2c895ee66e
webhook merge fix ( #7250 )
2017-08-17 15:07:47 -07:00
Joram Wilander
0033e3e37b
PLT-7408 Move webhook handling into api4 package to fix EnableAPIv3 config setting ( #7219 )
...
* Move webhook handling into api4 package to fix EnableAPIv3 config setting
* Fix unit test
2017-08-16 04:25:36 +08:00
Joram Wilander
ef9326bcbb
Move integrations over to redux and v4 ( #6679 )
2017-06-19 10:55:47 -07:00
Harrison Healey
fb6f2a123c
PLT-5860 Updated copyright date ( #6058 )
...
* 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
2017-04-12 08:27:57 -04:00
Carlos Tadeu Panato Junior
34cb70d005
add implementation for endpoint DELETE outgoing webhook for apiv4 ( #5828 )
2017-03-23 12:50:06 +00:00
Carlos Tadeu Panato Junior
78e5b803cc
add implementation to get outgoing webhook for apiv4 ( #5827 )
2017-03-23 11:02:42 +00:00
Carlos Tadeu Panato Junior
4968ef0759
implement PUT /hooks/outgoing/{hook_id} - update outgoing hook ( #5793 )
2017-03-21 11:56:42 +00:00
Carlos Tadeu Panato Junior
3d14573b8c
[APIV4] POST /hooks/outgoing/{hook_id}/regen_token - regentoken endpoint for apiV4 ( #5783 )
2017-03-20 12:56:23 +00:00
Carlos Tadeu Panato Junior
241f9e8888
Implement update IncomingHook for apiV4 ( #5762 )
2017-03-15 19:47:15 -04:00
Joram Wilander
19c67d7fe3
Implement GET and POST /hooks/outgoing endpoints for APIv4 ( #5645 )
2017-03-13 10:40:43 -04:00
Poornima
482a0fb5fc
Adding functionality to get & delete incoming webhooks ( #5648 )
2017-03-11 19:40:56 -03:00
Joram Wilander
69cac604e0
Implement create and get incoming webhook endpoints for APIv4 ( #5407 )
...
* Implement POST /hooks/incoming endpoint for APIv4
* Implement GET /hooks/incoming endpoint for APIv4
* Updates per feedback
2017-02-21 19:42:34 -05:00