mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-02 05:42:26 -06:00
[feature] Parse instance descriptors as markdown, show T&C on /about (#2481)
* [feature] Parse instance descriptors as markdown, show T&C on /about * lint * remove unnecessary nullzero tags
This commit is contained in:
parent
511ad97fe7
commit
d5e3996a18
23 changed files with 885 additions and 515 deletions
|
|
@ -31,8 +31,11 @@ type Instance struct {
|
|||
DomainBlockID string `bun:"type:CHAR(26),nullzero"` // ID of any existing domain block for this instance in the database
|
||||
DomainBlock *DomainBlock `bun:"rel:belongs-to"` // Domain block corresponding to domainBlockID
|
||||
ShortDescription string `bun:""` // Short description of this instance
|
||||
Description string `bun:""` // Longer description of this instance
|
||||
Terms string `bun:""` // Terms and conditions of this instance
|
||||
ShortDescriptionText string `bun:""` // Raw text version of short description (before parsing).
|
||||
Description string `bun:""` // Longer description of this instance.
|
||||
DescriptionText string `bun:""` // Raw text version of long description (before parsing).
|
||||
Terms string `bun:""` // Terms and conditions of this instance.
|
||||
TermsText string `bun:""` // Raw text version of terms (before parsing).
|
||||
ContactEmail string `bun:""` // Contact email address for this instance
|
||||
ContactAccountUsername string `bun:",nullzero"` // Username of the contact account for this instance
|
||||
ContactAccountID string `bun:"type:CHAR(26),nullzero"` // Contact account ID in the database for this instance
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue