mirror of
https://github.com/glitch-soc/mastodon.git
synced 2026-03-29 03:00:33 +02:00
Change avatar and account header description limit and expose it in API (#38384)
This commit is contained in:
@@ -66,8 +66,15 @@ RSpec.describe 'Instances' do
|
||||
include(
|
||||
configuration: include(
|
||||
accounts: include(
|
||||
max_display_name_length: Account::DISPLAY_NAME_LENGTH_LIMIT,
|
||||
max_note_length: Account::NOTE_LENGTH_LIMIT,
|
||||
max_avatar_description_length: Account::Avatar::MAX_DESCRIPTION_LENGTH,
|
||||
max_header_description_length: Account::Header::MAX_DESCRIPTION_LENGTH,
|
||||
max_featured_tags: FeaturedTag::LIMIT,
|
||||
max_pinned_statuses: StatusPinValidator::PIN_LIMIT
|
||||
max_pinned_statuses: StatusPinValidator::PIN_LIMIT,
|
||||
max_profile_fields: Account::DEFAULT_FIELDS_SIZE,
|
||||
profile_field_name_limit: Account::Field::MAX_CHARACTERS_LOCAL,
|
||||
profile_field_value_limit: Account::Field::MAX_CHARACTERS_LOCAL
|
||||
),
|
||||
statuses: include(
|
||||
max_characters: StatusLengthValidator::MAX_CHARS,
|
||||
|
||||
Reference in New Issue
Block a user