mirror of
https://github.com/Cian-H/invenio-config-iform.git
synced 2025-12-23 05:21:57 +00:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
91464bbd7c | ||
|
|
d7fe2926c7 | ||
|
|
d5fcf60cf7 | ||
|
|
772b21c93a |
@@ -7,6 +7,15 @@
|
|||||||
|
|
||||||
Changes
|
Changes
|
||||||
=======
|
=======
|
||||||
|
Version 0.8.1 (released 2022-02-28)
|
||||||
|
|
||||||
|
- config: set samesite cookie to strict
|
||||||
|
- dep: bump in base dependencies
|
||||||
|
|
||||||
|
Version 0.8.0 (released 2022-02-09)
|
||||||
|
|
||||||
|
- dep: bump rdm-records version
|
||||||
|
|
||||||
Version 0.7.1 (released 2021-12-07)
|
Version 0.7.1 (released 2021-12-07)
|
||||||
|
|
||||||
- configs: adds new & changed configs for v7 #76
|
- configs: adds new & changed configs for v7 #76
|
||||||
|
|||||||
@@ -324,9 +324,21 @@ RATELIMIT_AUTHENTICATED_USER = "25000 per hour;1000 per minute"
|
|||||||
RATELIMIT_GUEST_USER = "5000 per hour;500 per minute"
|
RATELIMIT_GUEST_USER = "5000 per hour;500 per minute"
|
||||||
"""Increase defaults for guest users."""
|
"""Increase defaults for guest users."""
|
||||||
|
|
||||||
|
SESSION_COOKIE_SAMESITE = 'Strict'
|
||||||
|
"""Sets cookie with the samesite flag to 'Strict' by default."""
|
||||||
|
|
||||||
|
|
||||||
# OAI-PMH
|
# OAI-PMH
|
||||||
# =======
|
# =======
|
||||||
# See https://github.com/inveniosoftware/invenio-oaiserver/blob/master/invenio_oaiserver/config.py
|
# See https://github.com/inveniosoftware/invenio-oaiserver/blob/master/invenio_oaiserver/config.py
|
||||||
|
|
||||||
OAISERVER_ID_PREFIX = "repository.tugraz.at"
|
OAISERVER_ID_PREFIX = "repository.tugraz.at"
|
||||||
"""The prefix that will be applied to the generated OAI-PMH ids."""
|
"""The prefix that will be applied to the generated OAI-PMH ids."""
|
||||||
|
|
||||||
|
OAISERVER_ADMIN_EMAILS = [
|
||||||
|
'oai@repository.tugraz.at',
|
||||||
|
]
|
||||||
|
"""The e-mail addresses of administrators of the repository.
|
||||||
|
|
||||||
|
It **must** include one or more instances.
|
||||||
|
"""
|
||||||
|
|||||||
@@ -12,4 +12,4 @@ This file is imported by ``invenio_config_tugraz.__init__``,
|
|||||||
and parsed by ``setup.py``.
|
and parsed by ``setup.py``.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
__version__ = "0.7.1"
|
__version__ = "0.8.1"
|
||||||
|
|||||||
6
setup.py
6
setup.py
@@ -20,8 +20,8 @@ tests_require = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
# Should follow invenio-app-rdm
|
# Should follow invenio-app-rdm
|
||||||
invenio_search_version = ">=1.4.1,<1.5.0"
|
invenio_search_version = ">=1.4.2,<1.5.0"
|
||||||
invenio_db_version = ">=1.0.9,<1.1.0"
|
invenio_db_version = ">=1.0.11,<1.1.0"
|
||||||
|
|
||||||
extras_require = {
|
extras_require = {
|
||||||
"elasticsearch7": [f"invenio-search[elasticsearch7]{invenio_search_version}"],
|
"elasticsearch7": [f"invenio-search[elasticsearch7]{invenio_search_version}"],
|
||||||
@@ -51,7 +51,7 @@ setup_requires = [
|
|||||||
|
|
||||||
install_requires = [
|
install_requires = [
|
||||||
# keep this in sync with invenioRDM release
|
# keep this in sync with invenioRDM release
|
||||||
"invenio-rdm-records>=0.33.2,<0.34.0",
|
"invenio-rdm-records>=0.34.5,<0.35.0",
|
||||||
"invenio-cache>=1.1.0"
|
"invenio-cache>=1.1.0"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user