focalboard/server/api
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
..
admin.go Refactor error usage from the store level up and add API helpers (#3792) 2022-09-13 12:18:40 +02:00
api.go Refactor error usage from the store level up and add API helpers (#3792) 2022-09-13 12:18:40 +02:00
api_test.go Refactor error usage from the store level up and add API helpers (#3792) 2022-09-13 12:18:40 +02:00
archive.go Refactor error usage from the store level up and add API helpers (#3792) 2022-09-13 12:18:40 +02:00
audit.go Updated go version (#3189) 2022-06-06 10:18:21 +02:00
auth.go Refactor error usage from the store level up and add API helpers (#3792) 2022-09-13 12:18:40 +02:00
blocks.go Refactor error usage from the store level up and add API helpers (#3792) 2022-09-13 12:18:40 +02:00
boards.go Refactor error usage from the store level up and add API helpers (#3792) 2022-09-13 12:18:40 +02:00
boards_and_blocks.go Refactor error usage from the store level up and add API helpers (#3792) 2022-09-13 12:18:40 +02:00
cards.go Refactor error usage from the store level up and add API helpers (#3792) 2022-09-13 12:18:40 +02:00
categories.go Refactor error usage from the store level up and add API helpers (#3792) 2022-09-13 12:18:40 +02:00
channels.go Refactor error usage from the store level up and add API helpers (#3792) 2022-09-13 12:18:40 +02:00
config.go Refactor error usage from the store level up and add API helpers (#3792) 2022-09-13 12:18:40 +02:00
context.go fix remaining golangci linter warnings (#686) 2021-07-08 21:09:02 -04:00
files.go Refactor error usage from the store level up and add API helpers (#3792) 2022-09-13 12:18:40 +02:00
insights.go Refactor error usage from the store level up and add API helpers (#3792) 2022-09-13 12:18:40 +02:00
limits.go Refactor error usage from the store level up and add API helpers (#3792) 2022-09-13 12:18:40 +02:00
members.go Refactor error usage from the store level up and add API helpers (#3792) 2022-09-13 12:18:40 +02:00
onboarding.go Refactor error usage from the store level up and add API helpers (#3792) 2022-09-13 12:18:40 +02:00
search.go Refactor error usage from the store level up and add API helpers (#3792) 2022-09-13 12:18:40 +02:00
sharing.go Refactor error usage from the store level up and add API helpers (#3792) 2022-09-13 12:18:40 +02:00
subscriptions.go Refactor error usage from the store level up and add API helpers (#3792) 2022-09-13 12:18:40 +02:00
system.go Rest API reorganization (#3624) 2022-08-10 08:20:42 -04:00
teams.go Refactor error usage from the store level up and add API helpers (#3792) 2022-09-13 12:18:40 +02:00
templates.go Refactor error usage from the store level up and add API helpers (#3792) 2022-09-13 12:18:40 +02:00
users.go Refactor error usage from the store level up and add API helpers (#3792) 2022-09-13 12:18:40 +02:00