mirror of
1
Fork 0
gotosocial/internal/api/client/instance
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
..
instance.go [feature] Implement `/api/v1/instance/peers` endpoint (#660) 2022-06-23 16:54:54 +02:00
instance_test.go [chore] improved router logging, recovery and error handling (#705) 2022-07-12 08:32:20 +01:00
instanceget.go [feature] Implement `/api/v1/instance/peers` endpoint (#660) 2022-06-23 16:54:54 +02:00
instancepatch.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
instancepatch_test.go [chore] Update image/video size defaults to mastodon's (#723) 2022-07-20 12:25:06 +02:00
instancepeersget.go [feature] Implement `/api/v1/instance/peers` endpoint (#660) 2022-06-23 16:54:54 +02:00
instancepeersget_test.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00