mirror of
https://github.com/kikobar/mastodon.git
synced 2024-11-19 13:47:35 +00:00
7d7844a47f
When a new user confirms their e-mail, bootstrap their home timeline by automatically following a set of accounts. By default, all local admin accounts (that are unlocked). Can be customized by new admin setting (comma-separated usernames, local and unlocked only)
32 lines
692 B
Ruby
32 lines
692 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Form::AdminSettings
|
|
include ActiveModel::Model
|
|
|
|
delegate(
|
|
:site_contact_username,
|
|
:site_contact_username=,
|
|
:site_contact_email,
|
|
:site_contact_email=,
|
|
:site_title,
|
|
:site_title=,
|
|
:site_description,
|
|
:site_description=,
|
|
:site_extended_description,
|
|
:site_extended_description=,
|
|
:site_terms,
|
|
:site_terms=,
|
|
:open_registrations,
|
|
:open_registrations=,
|
|
:closed_registrations_message,
|
|
:closed_registrations_message=,
|
|
:open_deletion,
|
|
:open_deletion=,
|
|
:timeline_preview,
|
|
:timeline_preview=,
|
|
:bootstrap_timeline_accounts,
|
|
:bootstrap_timeline_accounts=,
|
|
to: Setting
|
|
)
|
|
end
|