focalboard/server/services/store/sqlstore
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
..
migrations Add remove templates channel link migration (#3794) 2022-09-07 14:22:06 -06:00
migrationstests Add remove templates channel link migration (#3794) 2022-09-07 14:22:06 -06:00
blocks.go Refactor error usage from the store level up and add API helpers (#3792) 2022-09-13 12:18:40 +02:00
board.go Refactor error usage from the store level up and add API helpers (#3792) 2022-09-13 12:18:40 +02:00
board_insights.go [MM-43781] Feature: boards insights (#3005) 2022-08-08 11:42:02 +05:30
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
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 Refactor error usage from the store level up and add API helpers (#3792) 2022-09-13 12:18:40 +02:00
cloud.go Adds limits implementation to the server (#3213) 2022-06-15 12:17:44 +02:00
data_migrations.go Add foundation tests (#3670) 2022-08-18 17:03:33 +02:00
data_migrations_test.go Add foundation tests (#3670) 2022-08-18 17:03:33 +02:00
data_retention.go Refactor error usage from the store level up and add API helpers (#3792) 2022-09-13 12:18:40 +02:00
file.go Refactor error usage from the store level up and add API helpers (#3792) 2022-09-13 12:18:40 +02:00
helpers_test.go Add foundation tests (#3670) 2022-08-18 17:03:33 +02:00
legacy_blocks.go Adds data migration to clean badly assigned boards (#3635) 2022-08-11 09:22:32 -06:00
migrate.go Refactor schema table migration mechanism (#3709) 2022-09-01 15:05:11 +02:00
notificationhints.go Refactor error usage from the store level up and add API helpers (#3792) 2022-09-13 12:18:40 +02:00
params.go Add foundation tests (#3670) 2022-08-18 17:03:33 +02:00
public_methods.go fix: filter out bots for sharing, @mention-ing, and Person property (#3762) 2022-09-09 19:56:44 -06:00
schema_table_migration.go Refactor schema table migration mechanism (#3709) 2022-09-01 15:05:11 +02:00
schema_table_migration_test.go Refactor schema table migration mechanism (#3709) 2022-09-01 15:05:11 +02:00
session.go Adds a generator that wraps store methods with transactions and migrates implementations to use transactions (#1440) 2021-10-22 12:48:53 +02:00
sharing.go Permissions feature branch (#2578) 2022-03-22 08:24:34 -06:00
sqlstore.go Adds a check that errors on store start if MariaDB is detected (#3725) 2022-08-24 14:36:43 -06:00
sqlstore_test.go Persist category state (#3579) 2022-08-08 14:55:47 -06: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 Standardize err not found (#2834) 2022-04-20 11:02:12 -04:00
team.go Refactor error usage from the store level up and add API helpers (#3792) 2022-09-13 12:18:40 +02:00
templates.go GH-2745 Don't init default templates when unit testing (#2748) 2022-04-08 13:46:16 +02:00
user.go Refactor error usage from the store level up and add API helpers (#3792) 2022-09-13 12:18:40 +02:00
util.go Refactor error usage from the store level up and add API helpers (#3792) 2022-09-13 12:18:40 +02:00