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 Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
block_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
client_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
domainblock_test.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
emaildomainblock_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
emoji_test.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
follow_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
followrequest_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
formvalidation.go [feature] Add first iteration of a user panel at `/user` (#736) 2022-08-08 10:40:51 +02:00
formvalidation_test.go [feature] Add first iteration of a user panel at `/user` (#736) 2022-08-08 10:40:51 +02:00
instance_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
mediaattachment_test.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
mention_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
notification_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
routersession_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
status_test.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
statusbookmark_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
statusfave_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
statusmute_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
structvalidation.go [chore] Update Go version to 1.18 (#444) 2022-04-02 15:40:09 +02:00
structvalidation_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
tag_test.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
token_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
user_test.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00