mirror of
1
Fork 0
gotosocial/internal/validate
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
..
account_test.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
application_test.go
block_test.go
client_test.go
domainblock_test.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
emaildomainblock_test.go
emoji_test.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
follow_test.go
followrequest_test.go
formvalidation.go
formvalidation_test.go
instance_test.go
mediaattachment_test.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
mention_test.go
notification_test.go
routersession_test.go
status_test.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
statusbookmark_test.go
statusfave_test.go
statusmute_test.go
structvalidation.go
structvalidation_test.go
tag_test.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
token_test.go
user_test.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00