mirror of
1
Fork 0
gotosocial/testrig
tobi 1ede54ddf6
[feature] More consistent API error handling (#637)
* update templates

* start reworking api error handling

* update template

* return AP status at web endpoint if negotiated

* start making api error handling much more consistent

* update account endpoints to new error handling

* use new api error handling in admin endpoints

* go fmt ./...

* use api error logic in app

* use generic error handling in auth

* don't export generic error handler

* don't defer clearing session

* user nicer error handling on oidc callback handler

* tidy up the sign in handler

* tidy up the token handler

* use nicer error handling in blocksget

* auth emojis endpoint

* fix up remaining api endpoints

* fix whoopsie during login flow

* regenerate swagger docs

* change http error logging to debug
2022-06-08 20:38:03 +02:00
..
media [bugfix] Fix images not being processed correctly sometimes (#437) 2022-03-21 19:46:51 +01:00
config.go [feature] Start adding advanced configuration options, starting with `samesite` (#628) 2022-06-03 15:40:38 +02:00
db.go [chore] Global server configuration overhaul (#575) 2022-05-30 14:41:24 +02:00
email.go [chore] Global server configuration overhaul (#575) 2022-05-30 14:41:24 +02:00
federatingdb.go [security] transport.Controller{} and transport.Transport{} security and performance improvements (#564) 2022-05-15 11:16:43 +02:00
federator.go [security] transport.Controller{} and transport.Transport{} security and performance improvements (#564) 2022-05-15 11:16:43 +02:00
log.go [bugfix] update syslog tests to listen/connect specifically to ipv4 loopback (#561) 2022-05-13 13:35:41 +02:00
mediahandler.go test the media manager a bit, add shutdown logic 2022-01-10 18:36:09 +01:00
oauthserver.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
processor.go [security] transport.Controller{} and transport.Transport{} security and performance improvements (#564) 2022-05-15 11:16:43 +02:00
router.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
storage.go pass reader around instead of []byte 2022-01-16 18:52:55 +01:00
testmodels.go [chore] Add test for dereferencing Owncast service account (#613) 2022-05-27 16:35:35 +02:00
transportcontroller.go [security] transport.Controller{} and transport.Transport{} security and performance improvements (#564) 2022-05-15 11:16:43 +02:00
typeconverter.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
util.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00