coder/coderd/httpapi
Steven Masley 38e5b9679b
chore: Rbac errors should be returned, and not hidden behind 404 (#7122)
* chore: Rbac errors should be returned, and not hidden behind 404

SqlErrNoRows was hiding actual errors
* Replace sql.ErrNoRow checks
* Remove sql err no rows check from dbauthz test
* Fix to use dbauthz system user
2023-04-13 13:06:16 -05:00
..
cookie.go chore: ticket provider interface (#6915) 2023-04-04 00:59:41 +00:00
cookie_test.go feat: Implement (but not enforce) CSRF for FE requests (#3786) 2022-09-13 15:26:46 -04:00
httpapi.go chore: Rbac errors should be returned, and not hidden behind 404 (#7122) 2023-04-13 13:06:16 -05:00
httpapi_test.go fix: actually test `httpapi.WebsocketCloseSprintf` (#6261) 2023-02-17 17:50:21 +00:00
json.go chore: format Go more aggressively 2023-02-18 18:32:09 -06:00
json_test.go feat: add load testing harness, coder loadtest command (#4853) 2022-11-02 18:30:00 +00:00
name.go fix: extend regex for template version name (#6876) 2023-03-30 13:27:58 +02:00
name_test.go fix: extend regex for template version name (#6876) 2023-03-30 13:27:58 +02:00
queryparams.go chore: Add "required" to allow requring url params (#6994) 2023-04-03 20:59:59 -05:00
queryparams_test.go chore: Add "required" to allow requring url params (#6994) 2023-04-03 20:59:59 -05:00
request.go feat: add panic recovery middleware (#3687) 2022-08-29 17:00:52 -05:00
url.go feat: use JWT ticket to avoid DB queries on apps (#6148) 2023-03-07 19:38:11 +00:00
url_test.go feat: use JWT ticket to avoid DB queries on apps (#6148) 2023-03-07 19:38:11 +00:00
websocket.go fix: Ensure WebSockets routinely transfer data (#4367) 2022-10-04 17:10:58 -05:00