focalboard/server/app
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
..
app.go
app_test.go
auth.go Refactor error usage from the store level up and add API helpers (#3792) 2022-09-13 12:18:40 +02:00
auth_test.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
blocks_test.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
boards_test.go
cards.go
cards_test.go
category.go Refactor error usage from the store level up and add API helpers (#3792) 2022-09-13 12:18:40 +02:00
category_boards.go
clientConfig.go
clientConfig_test.go
cloud.go
cloud_test.go
export.go
files.go
files_test.go
helper_test.go
import.go
import_test.go
initialize.go
insights.go
insights_test.go
onboarding.go
onboarding_test.go
sharing.go Refactor error usage from the store level up and add API helpers (#3792) 2022-09-13 12:18:40 +02:00
sharing_test.go Refactor error usage from the store level up and add API helpers (#3792) 2022-09-13 12:18:40 +02:00
subscriptions.go
teams.go
teams_test.go
templates.boardarchive
templates.go
templates_test.go
user.go