diff --git a/Dockerfile b/Dockerfile index 9c94fde6..4794f8c8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,6 +43,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ libproj-dev \ gdal-bin \ libgdal-dev \ + gettext \ && rm -rf /var/lib/apt/lists/* RUN pip install pip "setuptools>=70.0.0" diff --git a/docs/installation/config.rst b/docs/installation/config.rst index 8cab50e0..0e85f4ba 100644 --- a/docs/installation/config.rst +++ b/docs/installation/config.rst @@ -82,10 +82,11 @@ 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: ``objects@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``. diff --git a/requirements/base.txt b/requirements/base.txt index 9bfcefad..1afb8d07 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -251,7 +251,7 @@ notifications-api-common[setup-configuration]==0.4.0 # via # -r requirements/base.in # commonground-api-common -open-api-framework==0.9.0 +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 3aa7a0e7..f3a10f61 100644 --- a/requirements/ci.txt +++ b/requirements/ci.txt @@ -411,7 +411,7 @@ notifications-api-common[setup-configuration]==0.4.0 # via # -r requirements/base.txt # commonground-api-common -open-api-framework==0.9.0 +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 d9cacd19..0ac9bb4e 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -433,7 +433,7 @@ notifications-api-common[setup-configuration]==0.4.0 # via # -r requirements/base.txt # commonground-api-common -open-api-framework==0.9.0 +open-api-framework==0.9.1 # via -r requirements/base.txt orderedmultidict==1.0.1 # via