Projet

Général

Profil

0001-add-URLs-of-the-source-files-for-all-settings-54983.patch

Loïc Dachary, 18 juin 2021 13:16

Télécharger (2,39 ko)

Voir les différences:

Subject: [PATCH] add URLs of the source files for all settings (#54983)

The settings names and default values are scattered in the sources and
it is non trivial to figure out where they are. Add a list of all
source files that contain settings variables as a reference.

License MIT
 configuration.rst | 23 +++++++++++++++++++++--
 1 file changed, 21 insertions(+), 2 deletions(-)
configuration.rst
4 4
Configuration
5 5
=============
6 6

  
7
Configuration with settings
8
===========================
7
Configuration from files
8
========================
9

  
10
Authentic 2 can be configured by adding or overriding:
11

  
12
* `Django settings <https://docs.djangoproject.com/en/2.2/topics/settings/>`__
13
* `Authentic 2 Django settings <https://git.entrouvert.org/authentic.git/tree/src/authentic2/settings.py>`__
14
* `Authentic 2 A2_* settings <https://git.entrouvert.org/authentic.git/tree/src/authentic2/app_settings.py>`__
15
* `Authentic 2 SAML_* settings <https://git.entrouvert.org/authentic.git/tree/src/authentic2/saml/app_settings.py>`__
16
* `Authentic 2 A2_FC_* settings <https://git.entrouvert.org/authentic.git/tree/src/authentic2_auth_fc/app_settings.py>`__
17
* `Authentic 2 A2_AUTH_OIDC_* settings <https://git.entrouvert.org/authentic.git/tree/src/authentic2_auth_oidc/app_settings.py>`__
18
* `Authentic 2 A2_AUTH_SAML_* settings <https://git.entrouvert.org/authentic.git/tree/src/authentic2_auth_saml/app_settings.py>`__
19
* `Authentic 2 A2_IDP_CAS_* settings <https://git.entrouvert.org/authentic.git/tree/src/authentic2_idp_cas/app_settings.py>`__
20
* `Authentic 2 A2_IDP_OIDC_* settings <https://git.entrouvert.org/authentic.git/tree/src/authentic2_idp_oidc/app_settings.py>`__
21
* `Authentic 2 LDAP_AUTH_SETTINGS <https://git.entrouvert.org/authentic.git/tree/src/authentic2/backends/ldap_backend.py#n531>`__
22

  
23
The following files will be read, in the following order, and their
24
value will override the defaults found in the sources above:
25

  
26
* `/etc/authentic2/config.py`
27
* `/etc/authentic2/settings.d/*.py` (sorted in alphabetical order)
9 28

  
10 29
Configuration with the administration interface
11 30
===============================================
12
-