gloabl: changes to pre-v8

* config: set samesite cookie to strict
* dep: bump in base
This commit is contained in:
Mojib Wali
2022-02-28 14:55:20 +01:00
committed by GitHub
parent d5fcf60cf7
commit d7fe2926c7
2 changed files with 7 additions and 3 deletions

View File

@@ -324,6 +324,10 @@ RATELIMIT_AUTHENTICATED_USER = "25000 per hour;1000 per minute"
RATELIMIT_GUEST_USER = "5000 per hour;500 per minute"
"""Increase defaults for guest users."""
SESSION_COOKIE_SAMESITE = 'Strict'
"""Sets cookie with the samesite flag to 'Strict' by default."""
# OAI-PMH
# =======
# See https://github.com/inveniosoftware/invenio-oaiserver/blob/master/invenio_oaiserver/config.py

View File

@@ -20,8 +20,8 @@ tests_require = [
]
# Should follow invenio-app-rdm
invenio_search_version = ">=1.4.1,<1.5.0"
invenio_db_version = ">=1.0.9,<1.1.0"
invenio_search_version = ">=1.4.2,<1.5.0"
invenio_db_version = ">=1.0.11,<1.1.0"
extras_require = {
"elasticsearch7": [f"invenio-search[elasticsearch7]{invenio_search_version}"],
@@ -51,7 +51,7 @@ setup_requires = [
install_requires = [
# keep this in sync with invenioRDM release
"invenio-rdm-records>=0.34.4,<0.35.0",
"invenio-rdm-records>=0.34.5,<0.35.0",
"invenio-cache>=1.1.0"
]