gotosocial/web/template
Vyr Cossont fd837776e2
[feature] Implement Mastodon-compatible roles (#3136)
* Implement Mastodon-compatible roles

- `Account.role` should only be available through verify_credentials for checking current user's permissions
- `Account.role` now carries a Mastodon-compatible permissions bitmap and a marker for whether it should be shown to the public
- `Account.roles` added for *public* display roles (undocumented but stable since Mastodon 4.1)
- Web template now uses only public display roles (no user-visible change here, we already special-cased the `user` role)

* Handle verify_credentials case for default role

* Update JSON exact-match tests

* Address review comments

* Add blocks bit to admin permissions bitmap
2024-07-31 09:26:09 -07:00
..
404.tmpl [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
about.tmpl [feature] New user sign-up via web page (#2796) 2024-04-11 11:45:53 +02:00
authorize.tmpl [feature] New user sign-up via web page (#2796) 2024-04-11 11:45:53 +02:00
confirm_email.tmpl [feature] New user sign-up via web page (#2796) 2024-04-11 11:45:53 +02:00
confirmed_email.tmpl [feature] New user sign-up via web page (#2796) 2024-04-11 11:45:53 +02:00
domain-blocklist.tmpl [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
email_confirm.tmpl [feature] Self-serve email change for users (#2957) 2024-06-06 14:43:25 +01:00
email_new_report.tmpl [feature] Email notifications for new / closed moderation reports (#1628) 2023-03-19 13:11:46 +01:00
email_new_signup.tmpl [feature] New user sign-up via web page (#2796) 2024-04-11 11:45:53 +02:00
email_report_closed.tmpl [feature] Admin accounts endpoints; approve/reject sign-ups (#2826) 2024-04-13 13:25:10 +02:00
email_reset.tmpl [feature] Admin accounts endpoints; approve/reject sign-ups (#2826) 2024-04-13 13:25:10 +02:00
email_signup_approved.tmpl [feature] Admin accounts endpoints; approve/reject sign-ups (#2826) 2024-04-13 13:25:10 +02:00
email_signup_rejected.tmpl [feature] Admin accounts endpoints; approve/reject sign-ups (#2826) 2024-04-13 13:25:10 +02:00
email_test.tmpl [feature/frontend] Let admins send test email to validate SMTP config (#2934) 2024-05-27 17:03:54 +00:00
error.tmpl [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
finalize.tmpl [feature] New user sign-up via web page (#2796) 2024-04-11 11:45:53 +02:00
index.tmpl [feature] New user sign-up via web page (#2796) 2024-04-11 11:45:53 +02:00
index_apps.tmpl [feature] New user sign-up via web page (#2796) 2024-04-11 11:45:53 +02:00
index_register.tmpl [feature] New user sign-up via web page (#2796) 2024-04-11 11:45:53 +02:00
index_what_is_this.tmpl [chore/frontend] Put ActivityPub logo on index page (#3087) 2024-07-08 18:12:33 +02:00
oob.tmpl [feature] New user sign-up via web page (#2796) 2024-04-11 11:45:53 +02:00
page.tmpl [feature/frontend] Respect prefers-reduced-motion for avatars, headers, and emojis (#3118) 2024-07-21 14:22:08 +02:00
page_footer.tmpl [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
page_header.tmpl [feature/frontend] Respect prefers-reduced-motion for avatars, headers, and emojis (#3118) 2024-07-21 14:22:08 +02:00
page_ogmeta.tmpl [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
page_stylesheets.tmpl [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
profile.tmpl [feature] Implement Mastodon-compatible roles (#3136) 2024-07-31 09:26:09 -07:00
profile_fields.tmpl [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
settings.tmpl [chore] Rename frontend.tmpl to settings.tmpl, remove unused "lightgray" class (#2674) 2024-02-21 16:11:11 +01:00
sign-in.tmpl [feature] New user sign-up via web page (#2796) 2024-04-11 11:45:53 +02:00
sign-up.tmpl [frontend] Better autocapitalize/spellcheck settings on forms (#3077) 2024-07-08 09:38:27 +02:00
signed-up.tmpl [feature] New user sign-up via web page (#2796) 2024-04-11 11:45:53 +02:00
status.tmpl [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
status_attachments.tmpl [chore/frontend] Use smaller webp images for logo and default avatars (#3119) 2024-07-20 14:02:22 +01:00
status_attributes.tmpl [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
status_header.tmpl [feature/frontend] Respect prefers-reduced-motion for avatars, headers, and emojis (#3118) 2024-07-21 14:22:08 +02:00
status_info.tmpl [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
status_poll.tmpl [feature/frontend] Better visual separation between "main" thread and "replies" (#3093) 2024-07-12 20:36:03 +02:00
tag.tmpl [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
thread.tmpl [chore/frontend] Tweak threading a bit, inform about hidden replies (#3097) 2024-07-13 12:26:16 +02:00