diff --git a/docs/installation/configuration/env_config.rst b/docs/installation/configuration/env_config.rst index 4eca0904..5339fdd3 100644 --- a/docs/installation/configuration/env_config.rst +++ b/docs/installation/configuration/env_config.rst @@ -91,10 +91,12 @@ Optional * ``EMAIL_HOST_PASSWORD``: password to connect to the mail server. Defaults to: ``(empty string)``. * ``EMAIL_USE_TLS``: whether to use TLS or not to connect to the mail server. Should be True if you're changing the ``EMAIL_PORT`` to 487. Defaults to: ``False``. * ``DEFAULT_FROM_EMAIL``: The default email address from which emails are sent. Defaults to: ``nrc@example.com``. -* ``LOG_STDOUT``: whether to log to stdout or not. Defaults to: ``False``. +* ``LOG_STDOUT``: whether to log to stdout or not. Defaults to: ``True``. * ``LOG_LEVEL``: control the verbosity of logging output. Available values are ``CRITICAL``, ``ERROR``, ``WARNING``, ``INFO`` and ``DEBUG``. Defaults to: ``WARNING``. * ``LOG_QUERIES``: enable (query) logging at the database backend level. Note that you must also set ``DEBUG=1``, which should be done very sparingly!. Defaults to: ``False``. * ``LOG_REQUESTS``: enable logging of the outgoing requests. Defaults to: ``False``. +* ``CELERY_LOGLEVEL``: control the verbosity of logging output for celery, independent of ``LOG_LEVEL``. Available values are ``CRITICAL``, ``ERROR``, ``WARNING``, ``INFO`` and ``DEBUG``. Defaults to: ``INFO``. +* ``SESSION_COOKIE_AGE``: For how long, in seconds, the session cookie will be valid. Defaults to: ``1209600``. * ``SESSION_COOKIE_SAMESITE``: The value of the SameSite flag on the session cookie. This flag prevents the cookie from being sent in cross-site requests thus preventing CSRF attacks and making some methods of stealing session cookie impossible.Currently interferes with OIDC. Keep the value set at Lax if used. Defaults to: ``Lax``. * ``CSRF_COOKIE_SAMESITE``: The value of the SameSite flag on the CSRF cookie. This flag prevents the cookie from being sent in cross-site requests. Defaults to: ``Strict``. * ``ENVIRONMENT``: An identifier for the environment, displayed in the admin depending on the settings module used and included in the error monitoring (see ``SENTRY_DSN``). The default is set according to ``DJANGO_SETTINGS_MODULE``. diff --git a/requirements/base.txt b/requirements/base.txt index ca47466d..b883c15b 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -97,6 +97,7 @@ django==4.2.15 # django-relativedelta # django-rest-framework-condition # django-sendfile2 + # django-sessionprofile # django-setup-configuration # django-simple-certmanager # django-solo @@ -153,6 +154,8 @@ django-rest-framework-condition==0.1.1 # via commonground-api-common django-sendfile2==0.7.1 # via django-privates +django-sessionprofile==3.0.0 + # via open-api-framework django-setup-configuration==0.5.0 # via # -r requirements/base.in @@ -255,7 +258,7 @@ notifications-api-common[setup-configuration]==0.4.0 # via # -r requirements/base.in # commonground-api-common -open-api-framework==0.8.1 +open-api-framework==0.9.1 # via -r requirements/base.in orderedmultidict==1.0.1 # via furl diff --git a/requirements/ci.txt b/requirements/ci.txt index 382bd12e..b3f77f75 100644 --- a/requirements/ci.txt +++ b/requirements/ci.txt @@ -151,6 +151,7 @@ django==4.2.15 # django-relativedelta # django-rest-framework-condition # django-sendfile2 + # django-sessionprofile # django-setup-configuration # django-simple-certmanager # django-solo @@ -242,6 +243,10 @@ django-sendfile2==0.7.1 # via # -r requirements/base.txt # django-privates +django-sessionprofile==3.0.0 + # via + # -r requirements/base.txt + # open-api-framework django-setup-configuration==0.5.0 # via # -r requirements/base.txt @@ -436,7 +441,7 @@ notifications-api-common[setup-configuration]==0.4.0 # -r requirements/base.txt # commonground-api-common # notifications-api-common -open-api-framework==0.8.1 +open-api-framework==0.9.1 # via -r requirements/base.txt orderedmultidict==1.0.1 # via diff --git a/requirements/dev.txt b/requirements/dev.txt index 71e514d0..088ab231 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -154,6 +154,7 @@ django==4.2.15 # django-relativedelta # django-rest-framework-condition # django-sendfile2 + # django-sessionprofile # django-setup-configuration # django-simple-certmanager # django-solo @@ -249,6 +250,10 @@ django-sendfile2==0.7.1 # via # -r requirements/base.txt # django-privates +django-sessionprofile==3.0.0 + # via + # -r requirements/base.txt + # open-api-framework django-setup-configuration==0.5.0 # via # -r requirements/base.txt @@ -445,7 +450,7 @@ notifications-api-common[setup-configuration]==0.4.0 # -r requirements/base.txt # commonground-api-common # notifications-api-common -open-api-framework==0.8.1 +open-api-framework==0.9.1 # via -r requirements/base.txt orderedmultidict==1.0.1 # via diff --git a/src/nrc/fixtures/default_admin_index.json b/src/nrc/fixtures/default_admin_index.json index 82e61102..81cbb21e 100644 --- a/src/nrc/fixtures/default_admin_index.json +++ b/src/nrc/fixtures/default_admin_index.json @@ -21,6 +21,10 @@ [ "two_factor_webauthn", "webauthndevice" + ], + [ + "sessionprofile", + "sessionprofile" ] ] }