1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-24 13:43:12 +02:00
focalboard/server/services
Miguel de la Cruz 08c0b7a2fd
Refactor error usage from the store level up and add API helpers (#3792)
* Refactor error usage from the store level up and add API helpers

* Complete API tests

* Fix merge errorResponse calls

* Remove ensure helpers to allow for custom messages on permission errors

* Fix bad import and call

* Remove bad user check on auth that was added as part of the main merge

* Fix empty list test

* Replace deprecated proxy calls to ioutil.ReadAll with io.ReadAll

* Add information to the NotFound errors

* Add context to all remaining errors and address review comments

* Fix linter

* Adapt the new card API endpoints to the error refactor

* Remove almost all customErrorResponse calls

* Add request entity too large to errorResponse and remove customErrorResponse

* Fix linter
2022-09-13 12:18:40 +02:00
..
audit
auth
config Read Mattermost s3 timeout value and used a default if not exist (#3817) 2022-09-09 11:42:55 +02:00
metrics Multi product architecture (#3381) 2022-07-18 13:21:57 -04:00
notify Multi product architecture (#3381) 2022-07-18 13:21:57 -04:00
permissions getBlocks store API with query options (#3755) 2022-08-30 15:56:41 +02:00
scheduler
store Refactor error usage from the store level up and add API helpers (#3792) 2022-09-13 12:18:40 +02:00
telemetry Multi product architecture (#3381) 2022-07-18 13:21:57 -04:00
webhook Refactor error usage from the store level up and add API helpers (#3792) 2022-09-13 12:18:40 +02:00