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

Conflicts:
- `.github/workflows/build-image.yml`:
  Upstream updated `docker/build-push-action`, and we a different config
  for `docker/metadata-action` so the lines directly above were different,
  but it's not a real conflict.
  Upgraded `docker/build-push-action` as upstream did.
- `app/javascript/mastodon/features/compose/components/compose_form.js`:
  Upstream changed the codestyle near a line we had modified to accommodate
  configurable character count.
  Kept our change.
This commit is contained in:
Claire
2023-02-03 19:07:58 +01:00
249 changed files with 4854 additions and 3174 deletions

View File

@ -2,7 +2,7 @@
class REST::Admin::AccountSerializer < ActiveModel::Serializer
attributes :id, :username, :domain, :created_at,
:email, :ip, :role, :confirmed, :suspended,
:email, :ip, :confirmed, :suspended,
:silenced, :sensitized, :disabled, :approved, :locale,
:invite_request
@ -11,6 +11,7 @@ class REST::Admin::AccountSerializer < ActiveModel::Serializer
has_many :ips, serializer: REST::Admin::IpSerializer
has_one :account, serializer: REST::AccountSerializer
has_one :role, serializer: REST::RoleSerializer
def id
object.id.to_s