mirror of
1
Fork 0
gotosocial/internal/api/client/auth
tobi ac6ed3d939
[chore] Update bun / sqlite versions; update gtsmodels (#754)
* upstep bun and sqlite versions

* allow specific columns to be updated in the db

* only update necessary columns for user

* bit tidier

* only update necessary fields of media_attachment

* only update relevant instance fields

* update tests

* update only specific account columns

* use bool pointers on gtsmodels
includes attachment, status, account, user

* update columns more selectively

* test all default fields on new account insert

* updating remaining bools on gtsmodels

* initialize pointer fields when extracting AP emoji

* copy bools properly

* add copyBoolPtr convenience function + test it

* initialize false bool ptrs a bit more neatly
2022-08-15 11:35:05 +01:00
..
auth.go [feature] add 'state' oauth2 param to /oauth/authorize (#730) 2022-07-28 16:43:27 +02:00
auth_test.go [chore] improved router logging, recovery and error handling (#705) 2022-07-12 08:32:20 +01:00
authorize.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
authorize_test.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
callback.go [feature] add 'state' oauth2 param to /oauth/authorize (#730) 2022-07-28 16:43:27 +02:00
signin.go [feature] Add first iteration of a user panel at `/user` (#736) 2022-08-08 10:40:51 +02:00
token.go [feature] Add `created_at` and `error_description` to `/oauth/token` endpoint (#645) 2022-06-11 10:39:39 +02:00
token_test.go [feature] Add `created_at` and `error_description` to `/oauth/token` endpoint (#645) 2022-06-11 10:39:39 +02:00
util.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00