1
0
Fork 1
forked from fedi/mastodon
mastodon/app
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
..
chewy Get rid of Chewy order/limit warning (#8355) 2018-08-22 02:44:56 +02:00
controllers Add instance-wide setting to disable profile directory (#9497) 2018-12-11 19:18:29 +01:00
helpers Add profile directory (#9427) 2018-12-06 17:36:11 +01:00
javascript [i18n] Update Occitan (#9491) 2018-12-11 05:38:57 +01:00
lib Add setting to not aggregate reblogs (#9248) 2018-12-09 13:03:01 +01:00
mailers Fix low-hanging rubocop gripes (#8458) 2018-08-26 19:22:46 +02:00
models Add instance-wide setting to disable profile directory (#9497) 2018-12-11 19:18:29 +01:00
policies Add profile directory (#9427) 2018-12-06 17:36:11 +01:00
presenters Don't count suspended users in user count (#9380) 2018-11-27 18:49:37 +01:00
serializers Fix filter ID not being a string in REST API (#9303) 2018-11-19 10:37:57 +01:00
services Add profile directory (#9427) 2018-12-06 17:36:11 +01:00
validators Improve e-mail MX validator and add tests (#9489) 2018-12-10 22:53:25 +01:00
views Add instance-wide setting to disable profile directory (#9497) 2018-12-11 19:18:29 +01:00
workers Improve account suspension speed and completeness (#9290) 2018-12-03 01:32:08 +01:00