1
0
Fork 0
forked from fedi/mastodon
mastodon/app/models/form
ThibG 720daa8143 Add instance-wide setting to disable profile directory (#9497)
* Add instance-wide setting to disable profile directory

Fixes #9496

When the profile directory is disabled:
- The “discoverable” setting is hidden from users
- The “profile directory” link is not shown on public pages
- /explore returns 404

* Move Setting.profile_directory check to a before_action filter
2018-12-11 19:18:29 +01:00
..
admin_settings.rb Add instance-wide setting to disable profile directory (#9497) 2018-12-11 19:18:29 +01:00
admin_suspension_confirmation.rb Add confirmation step to account suspensions (#8353) 2018-08-22 11:53:41 +02:00
delete_confirmation.rb Account deletion (#3728) 2017-06-14 18:01:27 +02:00
migration.rb Rename ResolveRemoteAccountService to ResolveAccountService (#6327) 2018-01-22 14:25:09 +01:00
status_batch.rb Get rid of all batch order warnings (#8334) 2018-08-21 12:25:50 +02:00
two_factor_confirmation.rb Fix #795, fix #704, fix #835 - 2FA requires confirmation to be enabled (#1278) 2017-04-08 22:20:08 +02:00