Merge branch 'main' into glitch-soc/merge-upstream

Conflicts:
- `README.md`:
  Minor upstream change, our README is completely different.
  Kept ours.
- `lib/tasks/assets.rake`:
  glitch-soc has extra code to deal with its theming system,
  upstream changed a line that exists in glitch-soc.
  Applied upstream changes.
This commit is contained in:
Claire
2023-02-09 12:46:12 +01:00
216 changed files with 767 additions and 324 deletions

View File

@ -45,6 +45,7 @@ class REST::InstanceSerializer < ActiveModel::Serializer
{
urls: {
streaming: Rails.configuration.x.streaming_api_base_url,
status: object.status_page_url,
},
accounts: {
@ -97,8 +98,6 @@ class REST::InstanceSerializer < ActiveModel::Serializer
def registrations_message
if Setting.closed_registrations_message.present?
markdown.render(Setting.closed_registrations_message)
else
nil
end
end