mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-10-15 19:42:04 +00:00
[v7.0/forgejo] Add optional pronoun field in user settings (#3076)
**Backport:** https://codeberg.org/forgejo/forgejo/pulls/1518 An attempt at adding an optional pronoun field for user profiles, as suggested here 3 years ago: https://github.com/go-gitea/gitea/issues/13990  I made this for [my own instance](https://git.gay/h) and didn't initially think I'd make a PR because of the previous closed issue, but I thought I'd ask the Forgejo matrix chat to see if there was any support and there was! I'm told I should make a database migration, some help as to how to do that would be appreciated. Co-authored-by: hazycora <hazysu@riseup.net> Co-authored-by: Gergely Nagy <forgejo@gergo.csillger.hu> Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3076 Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org> Co-authored-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org> Co-committed-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org>
This commit is contained in:
parent
a070f28c81
commit
5bde9555b1
21 changed files with 331 additions and 1 deletions
17
templates/swagger/v1_json.tmpl
generated
17
templates/swagger/v1_json.tmpl
generated
|
@ -20331,6 +20331,10 @@
|
|||
"type": "boolean",
|
||||
"x-go-name": "ProhibitLogin"
|
||||
},
|
||||
"pronouns": {
|
||||
"type": "string",
|
||||
"x-go-name": "Pronouns"
|
||||
},
|
||||
"restricted": {
|
||||
"type": "boolean",
|
||||
"x-go-name": "Restricted"
|
||||
|
@ -23830,6 +23834,11 @@
|
|||
"type": "boolean",
|
||||
"x-go-name": "ProhibitLogin"
|
||||
},
|
||||
"pronouns": {
|
||||
"description": "the user's pronouns",
|
||||
"type": "string",
|
||||
"x-go-name": "Pronouns"
|
||||
},
|
||||
"restricted": {
|
||||
"description": "Is user restricted",
|
||||
"type": "boolean",
|
||||
|
@ -23905,6 +23914,10 @@
|
|||
"type": "string",
|
||||
"x-go-name": "Location"
|
||||
},
|
||||
"pronouns": {
|
||||
"type": "string",
|
||||
"x-go-name": "Pronouns"
|
||||
},
|
||||
"theme": {
|
||||
"type": "string",
|
||||
"x-go-name": "Theme"
|
||||
|
@ -23953,6 +23966,10 @@
|
|||
"type": "string",
|
||||
"x-go-name": "Location"
|
||||
},
|
||||
"pronouns": {
|
||||
"type": "string",
|
||||
"x-go-name": "Pronouns"
|
||||
},
|
||||
"theme": {
|
||||
"type": "string",
|
||||
"x-go-name": "Theme"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue