nyastodon/app/views/admin
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
..
account_moderation_notes Improve admin UI for accounts (#7360) 2018-05-05 23:06:29 +02:00
accounts Redesign admin accounts index (#9340) 2018-11-26 15:53:27 +01:00
action_logs Improve report layout (#7188) 2018-04-20 02:28:48 +02:00
change_emails Redesign forms, verify link ownership with rel="me" (#8703) 2018-09-18 16:45:58 +02:00
custom_emojis Redesign forms, verify link ownership with rel="me" (#8703) 2018-09-18 16:45:58 +02:00
dashboard Add instance-wide setting to disable profile directory (#9497) 2018-12-11 19:18:29 +01:00
domain_blocks Add option to block reports from domain (#8830) 2018-10-20 08:02:44 +02:00
email_domain_blocks Add option to block reports from domain (#8830) 2018-10-20 08:02:44 +02:00
instances Add option to block reports from domain (#8830) 2018-10-20 08:02:44 +02:00
invites Add admin function to deactivate all invites (#8279) 2018-08-19 00:58:53 +02:00
relays Display pending message on admin relays UI (#8494) 2018-08-28 05:39:43 +02:00
report_notes Improve report layout (#7188) 2018-04-20 02:28:48 +02:00
reports Add "disable" button to report screen (#9024) 2018-10-20 02:39:39 +02:00
settings Add instance-wide setting to disable profile directory (#9497) 2018-12-11 19:18:29 +01:00
statuses Improve admin UI for accounts (#7360) 2018-05-05 23:06:29 +02:00
subscriptions Scrollable tables in settings pages (#4857) 2017-09-09 02:26:58 +02:00
suspensions Better singulars of account followers/toots. (#8471) 2018-08-26 21:30:53 +02:00
tags Add profile directory (#9427) 2018-12-06 17:36:11 +01:00