Verified Commit 7ad21b7d authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Fix #186: moved high-level settings to database preferences

parent a3b2125d
......@@ -13,7 +13,7 @@ def test_list_permission_no_protect(anonymous_user, api_request, settings):
def test_list_permission_protect_anonymous(
anonymous_user, api_request, settings):
db, anonymous_user, api_request, settings):
view = APIView.as_view()
permission = permissions.Listen()
Store high-level settings (such as federation or auth-related ones) in database (#186)
Due to the work done in #186, the following environment variables have been
Configuration for this settings has been moved to database, as it will provide
a better user-experience, by allowing you to edit these values on-the-fly,
without restarting Funkwhale processes.
You can leave those environment variables in your .env file for now, as the
values will be used to populate the database entries. We'll make a proper
announcement when the variables won't be used anymore.
Please browse
for more information about instance configuration using the web interface.
......@@ -18,6 +18,8 @@ and technical aspects of your instance, such as database credentials.
on environment variables.
.. _instance-settings:
Instance settings
......@@ -12,8 +12,7 @@ Managing federation
Federation management is only available to instance admins and users
who have the proper permissions. You can disable federation completely
at the instance level by setting the FEDERATION_ENABLED environment variable
to False.
at the instance level by editing the ``federation__enabled`` :ref:`setting <instance-settings>`.
On the front end, assuming you have the proper permission, you will see
a "Federation" link in the sidebar.
......@@ -52,6 +51,6 @@ each other instance asking for access to library. This is by design,
to ensure your library is not shared publicly without your consent.
However, if you're confident about federating publicly without manual approval,
you can set the FEDERATION_MUSIC_NEEDS_APPROVAL environment variable to false.
you can set the ``federation__music_needs_approval`` :ref:`setting <instance-settings>` to false.
Follow requests will be accepted automatically and followers
given access to your library without manual intervention.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment