]> cat aescling's git repositories - mastodon.git/commit
Default follows for new users (#4871)
authorEugen Rochko <eugen@zeonfederated.com>
Sun, 10 Sep 2017 07:58:38 +0000 (09:58 +0200)
committerGitHub <noreply@github.com>
Sun, 10 Sep 2017 07:58:38 +0000 (09:58 +0200)
commit7d7844a47fdfb8862847f025dc4c1b1bc5fdafe5
treef15741c04d74eb2999a8c36ea758cc20da17830f
parentf2cbfb2eb375cde302461a91e5fb0a3af8f6eeb5
Default follows for new users (#4871)

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)
app/controllers/admin/settings_controller.rb
app/controllers/auth/confirmations_controller.rb
app/models/form/admin_settings.rb
app/services/bootstrap_timeline_service.rb [new file with mode: 0644]
app/services/follow_service.rb
app/views/admin/settings/edit.html.haml
app/workers/bootstrap_timeline_worker.rb [new file with mode: 0644]
config/locales/en.yml
config/settings.yml
spec/controllers/auth/confirmations_controller_spec.rb
spec/services/bootstrap_timeline_service_spec.rb [new file with mode: 0644]