diff options
author | 2022-11-15 10:19:32 +0100 | |
---|---|---|
committer | 2022-11-15 10:19:32 +0100 | |
commit | a39a664525f55846dd5eea52fcc7009867835989 (patch) | |
tree | 33ba8c86bff8ea31853c1f52a92260d2909edcd4 /internal/api/client/account/account_test.go | |
parent | [feature] Allow newly uploaded emojis to be placed in categories (#939) (diff) | |
download | gotosocial-a39a664525f55846dd5eea52fcc7009867835989.tar.xz |
[feature] Serialize local account role via API, and show it via web view (#1045)
* [feature] Add 'role' field to api serialization of local accounts
* [chore] Add a bit of license text while I'm here
* [frogend] render account role on same line as username in web view of profile
* style tweaking on role badges, general profile header layout
* profile stats wrapping
* don't render standard 'user' role on web view
Co-authored-by: f0x <f0x@cthu.lu>
Diffstat (limited to 'internal/api/client/account/account_test.go')
-rw-r--r-- | internal/api/client/account/account_test.go | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/internal/api/client/account/account_test.go b/internal/api/client/account/account_test.go index aa639b3f4..6275e89c1 100644 --- a/internal/api/client/account/account_test.go +++ b/internal/api/client/account/account_test.go @@ -1,3 +1,21 @@ +/* + GoToSocial + Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + package account_test import ( |