Bump dependency versions

Not all dependencies work well on Alpine 3.11. Thus, bump dependencies and lock
again.

Due to also updating the CORS packages while dependency locking, the
CORS_ORIGIN_WHITELIST had to be changed to valid URIs, which are now required
by the respective packages.
This commit is contained in:
Johannes Wienke
2020-02-29 17:34:39 +01:00
parent 11c0de7c88
commit 2bf709568d
3 changed files with 282 additions and 297 deletions

View File

@@ -60,7 +60,7 @@ if _allowed_hosts:
ALLOWED_HOSTS = _allowed_hosts.split(",")
FORCE_SCRIPT_NAME = os.getenv("PAPERLESS_FORCE_SCRIPT_NAME")
# Application definition
INSTALLED_APPS = [
@@ -109,7 +109,7 @@ MIDDLEWARE = [
STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'
# We allow CORS from localhost:8080
CORS_ORIGIN_WHITELIST = tuple(os.getenv("PAPERLESS_CORS_ALLOWED_HOSTS", "localhost:8080").split(","))
CORS_ORIGIN_WHITELIST = tuple(os.getenv("PAPERLESS_CORS_ALLOWED_HOSTS", "http://localhost:8080,https://localhost:8080").split(","))
# If auth is disabled, we just use our "bypass" authentication middleware
if bool(os.getenv("PAPERLESS_DISABLE_LOGIN", "false").lower() in ("yes", "y", "1", "t", "true")):