mirror of
https://github.com/Cian-H/invenio-config-iform.git
synced 2025-12-22 21:11:57 +00:00
gloabl: changes to pre-v8
* config: set samesite cookie to strict * dep: bump in base
This commit is contained in:
@@ -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
|
||||
|
||||
6
setup.py
6
setup.py
@@ -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"
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user