Configuration Variables Reference
This document lists all configuration variables used by oarepo-config and related extensions.
It is automatically generated from:
- The Flask application's configuration (via invenio_app.factory.create_app())
- The docstrings in oarepo_config/* modules
- Configuration files from installed invenio_ and oarepo_ extensions
How to Use This Document
- Summary Table: Quickly find which configure_* functions set each variable.
- Detailed Reference: For each variable, see its default value, type, source, and which configure_* functions reference it.
Summary Table
Detailed Variable Reference
ACCESS_ACTION_CACHE_PREFIX
Prefix for actions cached when used in dynamic permissions.
| Invenio RDM Default Value |
'Permission::action::' |
| Type |
str |
| Source |
invenio-access |
ACCESS_CACHE
A cache instance or an importable string pointing to the cache instance.
ACCESS_LOAD_SYSTEM_ROLE_NEEDS
Enables the loading of system role needs when users' identity change.
ACCOUNTS
Tells if the templates should use the accounts module.
If False, you won't be able to login via the web UI.
ACCOUNTS_BASE_TEMPLATE
| Default Value |
'invenio_theme/page.html' |
| Type |
str |
| Source |
unknown |
ACCOUNTS_CONFIRM_EMAIL_ENDPOINT
Value to be used for the confirmation email link in the UI application.
ACCOUNTS_COVER_TEMPLATE
| Default Value |
'invenio_theme/page_cover.html' |
| Type |
str |
| Source |
unknown |
ACCOUNTS_DEFAULT_EMAIL_VISIBILITY
Default Email visibility value can be set to either 'restricted' or 'public'.
ACCOUNTS_DEFAULT_USERS_VERIFIED
Default verified status: if set to 'True', users are verified by default.
ACCOUNTS_DEFAULT_USER_VISIBILITY
Default User visibility value can be set to either 'restricted' or 'public'.
ACCOUNTS_FORGOT_PASSWORD_EMAIL_RATELIMIT
Flask-Limiter rate limit string for forgot-password requests per account.
Example: "3 per hour". Disabled when None.
ACCOUNTS_FORGOT_PASSWORD_EMAIL_RATELIMIT_KEY_PREFIX
Prefix used to namespace forgot-password per-account limiter keys.
ACCOUNTS_FORGOT_PASSWORD_EMAIL_RATELIMIT_MSG
| Invenio RDM Default Value |
l'Too many password-reset requests for this account. Please try again later.' |
| Type |
LazyString |
| Source |
invenio-accounts |
ACCOUNTS_JWT_ALOGORITHM
Set JWT encryption alogirthm.
.. note::
Available aglorithms
<https://pyjwt.readthedocs.io/en/latest/algorithms.html>_
ACCOUNTS_JWT_CREATION_FACTORY
Import path of factory used to generate JWT.
| Invenio RDM Default Value |
'invenio_accounts.utils:jwt_create_token' |
| Type |
str |
| Source |
invenio-accounts |
ACCOUNTS_JWT_DECODE_FACTORY
Import path of factory used to decode JWT.
| Invenio RDM Default Value |
'invenio_accounts.utils:jwt_decode_token' |
| Type |
str |
| Source |
invenio-accounts |
ACCOUNTS_JWT_DOM_TOKEN
Register JWT context processor.
.. code-block:: html
{% if current_user.is_authenticated %}
{{ jwt() }}
{% endif %}
This will generate a hidden field as follows:
.. code-block:: html
<input type="hidden" name="authorized_token" value="xxx">
On your API call you can use it with simple javascript, an example using
jQuery is the following:
.. code-block:: javascript
$.ajax({
url: '/example',
method: 'POST',
beforeSend: function(request) {
request.setRequestHeader(
'Authorization',
'Bearer ' + $('[name=authorized_token]').val()
);
},
});
ACCOUNTS_JWT_DOM_TOKEN_TEMPLATE
Template for the context processor.
| Invenio RDM Default Value |
'invenio_accounts/jwt.html' |
| Type |
str |
| Source |
invenio-accounts |
ACCOUNTS_JWT_ENABLE
Enable JWT support.
.. note::
More details about `JWT <https://jwt.io>`_
ACCOUNTS_JWT_EXPIRATION_DELTA
Token expiration period for JWT.
| Invenio RDM Default Value |
datetime.timedelta(days=1) |
| Type |
timedelta |
| Source |
invenio-accounts |
ACCOUNTS_JWT_SECRET_KEY
Secret key for JWT.
.. note::
If is set to ``None`` it will use the ``SECRET_KEY``.
*ACCOUNTS_LOCAL_LOGIN_ENABLED
Whether or not login with local account credentials should be enabled.
ACCOUNTS_LOGIN_RATELIMIT
Flask-Limiter rate limit string for login requests per account.
Example: "5 per 15 minutes". Disabled when None.
ACCOUNTS_LOGIN_RATELIMIT_KEY_PREFIX
Prefix used to namespace login per-account limiter keys.
ACCOUNTS_LOGIN_RATELIMIT_MSG
| Invenio RDM Default Value |
l'Too many login attempts for this account. Please try again later.' |
| Type |
LazyString |
| Source |
invenio-accounts |
*ACCOUNTS_LOGIN_VIEW_FUNCTION
The view function to use for the login endpoint.
This can be either an import string, or the view function itself.
If set to None, the default login view function from Flask-Security will be
left as is.
ACCOUNTS_REGISTER_BLUEPRINT
Register the Security blueprint or not.
It can be used to override the register_blueprint option.
.. note:: If the value is None, then the blueprint is not registered.
ACCOUNTS_RESET_PASSWORD_ENDPOINT
Value to be used for the confirmation email link in the UI application.
ACCOUNTS_REST_AUTH_VIEWS
{'login': 'invenio_accounts.views.rest:LoginView',
'logout': 'invenio_accounts.views.rest:LogoutView',
'user_info': 'invenio_accounts.views.rest:UserInfoView',
'register': 'invenio_accounts.views.rest:RegisterView',
'forgot_password': 'invenio_accounts.views.rest:ForgotPasswordView',
'reset_password': 'invenio_accounts.views.rest:ResetPasswordView',
'change_password': 'invenio_accounts.views.rest:ChangePasswordView',
'send_confirmation': 'invenio_accounts.views.rest:SendConfirmationEmailView',
'confirm_email': 'invenio_accounts.views.rest:ConfirmEmailView',
'sessions_list': 'invenio_accounts.views.rest:SessionsListView',
'sessions_item': 'invenio_accounts.views.rest:SessionsItemView'}
ACCOUNTS_REST_CONFIRM_EMAIL_ENDPOINT
Value to be used for the confirmation email link in the API application.
Can be a Flask endpoint (e.g. "invenio_accounts_rest_auth.confirm_email"), or
a URL part (e.g. "https://ui.example.com/confirm-email", "/confirm-email").
This will be used to build an absolute URL, thus if e.g. a hostname isn't
included, the one from the current request's context will be used.
ACCOUNTS_REST_RESET_PASSWORD_ENDPOINT
Value to be used for the reset password link in the API application.
Can be a Flask endpoint (e.g. "invenio_accounts_rest_auth.reset_password"), or
a URL part (e.g. "https://ui.example.com/reset-password", "/reset-password").
This will be used to build an absolute URL, thus if e.g. a hostname isn't
included, the one from the current request's context will be used.
| Invenio RDM Default Value |
'/lost-password/{token}' |
| Type |
str |
| Source |
invenio-accounts |
ACCOUNTS_RETENTION_PERIOD
| Invenio RDM Default Value |
datetime.timedelta(days=30) |
| Type |
timedelta |
| Source |
invenio-accounts |
ACCOUNTS_SEND_CONFIRMATION_RATELIMIT
Flask-Limiter rate limit string for send-confirmation requests per account.
Example: "3 per hour". Disabled when None.
ACCOUNTS_SEND_CONFIRMATION_RATELIMIT_KEY_PREFIX
Prefix used to namespace send-confirmation per-account limiter keys.
ACCOUNTS_SEND_CONFIRMATION_RATELIMIT_MSG
| Invenio RDM Default Value |
l'Too many confirmation-email requests for this account. Please try again later.' |
| Type |
LazyString |
| Source |
invenio-accounts |
ACCOUNTS_SESSION_ACTIVITY_ENABLED
Enable session activity tracking.
*ACCOUNTS_SESSION_REDIS_URL
Redis URL used by the module as a cache system for sessions.
ACCOUNTS_SESSION_STORE_FACTORY
| Invenio RDM Default Value |
'invenio_accounts.sessions:default_session_store_factory' |
| Type |
str |
| Source |
invenio-accounts |
ACCOUNTS_SETTINGS_SECURITY_TEMPLATE
Template for the account security page.
| Invenio RDM Default Value |
'invenio_accounts/settings/security.html' |
| Type |
str |
| Source |
invenio-accounts |
ACCOUNTS_SETTINGS_TEMPLATE
| Default Value |
'invenio_theme/page_settings.html' |
| Type |
str |
| Source |
unknown |
ACCOUNTS_SITENAME
| Default Value |
l'Invenio' |
| Type |
LazyString |
| Source |
unknown |
If True, add X-Session-ID and X-User-ID to the HTTP response.
ACCOUNTS_USERNAME_REGEX
The regular expression used for validating usernames.
.. note:: When this configuration value is overridden, the value for
ACCOUNTS_USERNAME_RULES_TEXT should be updated as well,
to reflect the changes.
| Invenio RDM Default Value |
'^[a-zA-Z][a-zA-Z0-9-_]{2,255}$' |
| Type |
str |
| Source |
invenio-accounts |
ACCOUNTS_USERNAME_RULES_TEXT
| Invenio RDM Default Value |
l'Username must start with a letter, be at least three characters long and only contain alphanumeric... |
| Type |
LazyString |
| Source |
invenio-accounts |
ACCOUNTS_USER_PREFERENCES_SCHEMA
The schema to use for validation of the user preferences.
ACCOUNTS_USER_PROFILE_SCHEMA
The schema to use for validation of the user profile.
| Invenio RDM Default Value |
<UserProfileSchema(many=False)> |
| Type |
UserProfileSchema |
| Source |
invenio-accounts |
ACCOUNTS_USE_CELERY
Tells if the module should use Celery or not.
By default, it uses Celery if it can find it.
ADMINISTRATION_APPNAME
Name of the Flask-Admin app (also the page title of admin panel).
ADMINISTRATION_BASE_TEMPLATE
Admin panel base template.
By default (None) uses the Flask-Admin template.
ADMINISTRATION_DASHBOARD_VIEW
| Invenio RDM Default Value |
'invenio_administration.views.dashboard.AdminDashboardView' |
| Type |
str |
| Source |
invenio-administration |
ADMINISTRATION_DISPLAY_VERSIONS
Display packages versions in the admin panel side bar.
Accepts a list of tuples in the format (package name, version).
Example: [("my-app", "v1.3.2")]
*ADMINISTRATION_THEME_BASE_TEMPLATE
Administration base template.
ADMIN_BASE_TEMPLATE
Base template for the administration interface.
The template changes the administration interface from using a standard
Bootstrap interface to using
AdminLTE 2 <https://almsaeedstudio.com/themes/AdminLTE/index2.html>_.
The variable is defined in Invenio-Admin which will use the value defined here
if Invenio-Theme is installed.
| Invenio RDM Default Value |
'invenio_theme/page_admin.html' |
| Type |
str |
| Source |
invenio-theme |
ALEMBIC
| Default Value |
<dict> |
| Type |
dict |
| Source |
unknown |
{'script_location': '/Users/m/Workspaces/repositories/feat-convert-old-catchall/oarepo-config/.venv/lib/python3.14/site-packages/invenio_db/alembic',
'version_locations': [('invenio_pages',
'/Users/m/Workspaces/repositories/feat-convert-old-catchall/oarepo-config/.venv/lib/python3.14/site-packages/invenio_pages/alembic'),
('invenio_checks',
'/Users/m/Workspaces/repositories/feat-convert-old-catchall/oarepo-config/.venv/lib/python3.14/site-packages/invenio_checks/alembic'),
('invenio_records_files',
'/Users/m/Workspaces/repositories/feat-convert-old-catchall/oarepo-config/.venv/lib/python3.14/site-packages/invenio_records_files/alembic'),
('invenio_vocabularies',
'/Users/m/Workspaces/repositories/feat-convert-old-catchall/oarepo-config/.venv/lib/python3.14/site-packages/invenio_vocabularies/alembic'),
('invenio_oauthclient',
'/Users/m/Workspaces/repositories/feat-convert-old-catchall/oarepo-config/.venv/lib/python3.14/site-packages/invenio_oauthclient/alembic'),
('oarepo_doi',
'/Users/m/Workspaces/repositories/feat-convert-old-catchall/oarepo-config/.venv/lib/python3.14/site-packages/oarepo_doi/alembic'),
('jobs',
'/Users/m/Workspaces/repositories/feat-convert-old-catchall/oarepo-config/.venv/lib/python3.14/site-packages/invenio_jobs/alembic'),
('invenio_audit_logs',
'/Users/m/Workspaces/repositories/feat-convert-old-catchall/oarepo-config/.venv/lib/python3.14/site-packages/invenio_audit_logs/alembic'),
('invenio_collections',
'/Users/m/Workspaces/repositories/feat-convert-old-catchall/oarepo-config/.venv/lib/python3.14/site-packages/invenio_collections/alembic'),
('oarepo_vocabularies',
'/Users/m/Workspaces/repositories/feat-convert-old-catchall/oarepo-config/.venv/lib/python3.14/site-packages/oarepo_vocabularies/alembic'),
('invenio_userprofiles',
'/Users/m/Workspaces/repositories/feat-convert-old-catchall/oarepo-config/.venv/lib/python3.14/site-packages/invenio_userprofiles/alembic'),
('invenio_files_rest',
'/Users/m/Workspaces/repositories/feat-convert-old-catchall/oarepo-config/.venv/lib/python3.14/site-packages/invenio_files_rest/alembic'),
('invenio_records',
'/Users/m/Workspaces/repositories/feat-convert-old-catchall/oarepo-config/.venv/lib/python3.14/site-packages/invenio_records/alembic'),
('oarepo_requests',
'/Users/m/Workspaces/repositories/feat-convert-old-catchall/oarepo-config/.venv/lib/python3.14/site-packages/oarepo_requests/alembic'),
('invenio_access',
'/Users/m/Workspaces/repositories/feat-convert-old-catchall/oarepo-config/.venv/lib/python3.14/site-packages/invenio_access/alembic'),
('oarepo_oidc_einfra',
'/Users/m/Workspaces/repositories/feat-convert-old-catchall/oarepo-config/.venv/lib/python3.14/site-packages/oarepo_oidc_einfra/alembic'),
('invenio_oauth2server',
'/Users/m/Workspaces/repositories/feat-convert-old-catchall/oarepo-config/.venv/lib/python3.14/site-packages/invenio_oauth2server/alembic'),
('invenio_requests',
'/Users/m/Workspaces/repositories/feat-convert-old-catchall/oarepo-config/.venv/lib/python3.14/site-packages/invenio_requests/alembic'),
('invenio_rdm_records',
'/Users/m/Workspaces/repositories/feat-convert-old-catchall/oarepo-config/.venv/lib/python3.14/site-packages/invenio_rdm_records/alembic'),
('invenio_banners',
'/Users/m/Workspaces/repositories/feat-convert-old-catchall/oarepo-config/.venv/lib/python3.14/site-packages/invenio_banners/alembic'),
('invenio_oaiserver',
'/Users/m/Workspaces/repositories/feat-convert-old-catchall/oarepo-config/.venv/lib/python3.14/site-packages/invenio_oaiserver/alembic'),
('invenio_pidstore',
'/Users/m/Workspaces/repositories/feat-convert-old-catchall/oarepo-config/.venv/lib/python3.14/site-packages/invenio_pidstore/alembic'),
('invenio_communities',
'/Users/m/Workspaces/repositories/feat-convert-old-catchall/oarepo-config/.venv/lib/python3.14/site-packages/invenio_communities/alembic'),
('invenio_accounts',
'/Users/m/Workspaces/repositories/feat-convert-old-catchall/oarepo-config/.venv/lib/python3.14/site-packages/invenio_accounts/alembic')]}
ALEMBIC_CONTEXT
| Default Value |
<dict> |
| Type |
dict |
| Source |
unknown |
{'transaction_per_migration': True,
'compare_type': True,
'autogenerate_plugins': ['alembic.autogenerate.*',
'~alembic.autogenerate.checkconstraint_byname'],
'compare_server_default': True}
ALLOWED_HTML_ATTRS
| Default Value |
<dict> |
| Type |
dict |
| Source |
unknown |
{'*': ['class'],
'a': ['href', 'title', 'name', 'class', 'rel'],
'abbr': ['title'],
'acronym': ['title']}
| Default Value |
<list> |
| Type |
list |
| Source |
unknown |
['a',
'abbr',
'acronym',
'b',
'blockquote',
'br',
'code',
'div',
'table',
'tbody',
'td',
'th',
'tr',
'em',
'h1',
'h2',
'h3',
'h4',
'h5',
'i',
'li',
'ol',
'p',
'pre',
'span',
'strike',
'strong',
'sub',
'sup',
'u',
'ul']
APPLICATION_ROOT
| Default Value |
'/' |
| Type |
str |
| Source |
unknown |
{'force_https': True,
'force_https_permanent': False,
'force_file_save': False,
'frame_options': 'sameorigin',
'frame_options_allow_from': None,
'strict_transport_security': True,
'strict_transport_security_preload': False,
'strict_transport_security_max_age': 31556926,
'strict_transport_security_include_subdomains': True,
'content_security_policy': {'default-src': ["'self'"], 'object-src': ["'none'"]},
'content_security_policy_report_uri': None,
'content_security_policy_report_only': False,
'session_cookie_secure': True,
'session_cookie_http_only': True}
Enable Secure Headers. (Default: True)
In case you want to disable completely Talisman, you can set to False.
Remember that, for development purpose, setting DEBUG = True is already
enough to disable any side effects such as force https.
.. note::
W3C
<https://www.w3.org/TR/CSP2/>_
| Invenio RDM Default Value |
True |
| Type |
bool |
| Source |
invenio-app |
APP_HEALTH_BLUEPRINT_ENABLED
Enable the ping (healthcheck) blueprint. (Default: False)
| Invenio RDM Default Value |
True |
| Type |
bool |
| Source |
invenio-app |
*APP_LOGS_PERMISSION_POLICY
Permission policy for job logs.
APP_RDM_ADMIN_EMAIL_RECIPIENT
Admin e-mail
| Invenio RDM Default Value |
'info@inveniosoftware.org' |
| Type |
unknown |
| Source |
invenio-app-rdm |
Behavior for autocomplete names search field for creators/contributors.
Available options:
search (default): Show search field and form always.
search_only: Only show search field. Form displayed after selection or
explicit "manual" entry.
off: Only show person form (no search field).
Default values for custom fields in new records in the deposit UI.
The keys denote the dot-separated path, where in the record's custom field
values should be set (see invenio-records.dictutils).
If the value is callable, its return value will be used for the field
(e.g. lambda/function for dynamic calculation of values).
{'publication_date': <function <lambda>>}
Additional text/html to be displayed in the publish and submit for review modal.
{
'maxFiles': 100,
'maxStorage': RDM_FILES_DEFAULT_QUOTA_SIZE,
}
Deposit page's form template.
| Invenio RDM Default Value |
'invenio_app_rdm/records/deposit.html' |
| Type |
unknown |
| Source |
invenio-app-rdm |
*APP_RDM_DEPOSIT_NG_FILES_UI_ENABLED
Feature toggle to enable the next-generation (NG) file uploader UI in the deposit form.
When enabled, the deposit form will use the new Uppy.io-based file uploader, replacing the current file upload interface.
*APP_RDM_DETAIL_SIDE_BAR_TEMPLATES
[
'invenio_app_rdm/records/details/side_bar/manage_menu.html',
'invenio_app_rdm/records/details/side_bar/metrics.html',
'invenio_app_rdm/records/details/side_bar/versions.html',
'invenio_app_rdm/records/details/side_bar/external_resources.html',
'invenio_app_rdm/records/details/side_bar/communities.html',
'invenio_app_rdm/records/details/side_bar/keywords_subjects.html',
'invenio_app_rdm/records/details/side_bar/details.html',
'invenio_app_rdm/records/details/side_bar/locations.html',
'invenio_app_rdm/records/details/side_bar/licenses.html',
'invenio_app_rdm/records/details/side_bar/citations.html',
'invenio_app_rdm/records/details/side_bar/export.html',
'invenio_app_rdm/records/details/side_bar/technical_metadata.html',
]
APP_RDM_DISPLAY_DECIMAL_FILE_SIZES
Display the file sizes in powers of 1000 (KB, ...) or 1024 (KiB, ...).
APP_RDM_FILES_INTEGRITY_REPORT_SUBJECT
Files integrity report subject
| Invenio RDM Default Value |
_('Files integrity report') |
| Type |
unknown |
| Source |
invenio-app-rdm |
APP_RDM_FILES_INTEGRITY_REPORT_TEMPLATE
| Invenio RDM Default Value |
'invenio_app_rdm/files_integrity_report/email/files_integrity_report.html' |
| Type |
unknown |
| Source |
invenio-app-rdm |
*APP_RDM_IDENTIFIER_SCHEMES_UI
{
'orcid': {
'url_prefix': 'http://orcid.org/',
'icon': 'images/orcid.svg',
'label': 'ORCID',
},
'ror': {
'url_prefix': 'https://ror.org/',
'icon': 'images/ror-icon.svg',
'label': 'ROR',
},
'gnd': {
'url_prefix': 'http://d-nb.info/gnd/',
'icon': 'images/gnd-icon.svg',
'label': 'GND',
},
}
APP_RDM_MODERATION_REQUEST_FACETS
{'status': {'facet': <invenio_records_resources.services.records.facets.facets.TermsFacet object>,
'ui': {'field': 'status'}},
'is_open': {'facet': <invenio_records_resources.services.records.facets.facets.TermsFacet object>,
'ui': {'field': 'is_open'}}}
APP_RDM_MODERATION_REQUEST_SEARCH
{'facets': ['status', 'is_open'],
'sort': ['bestmatch', 'newest', 'oldest', 'newestactivity', 'oldestactivity']}
APP_RDM_MODERATION_REQUEST_SORT_OPTIONS
{'bestmatch': {'title': 'Best match', 'fields': ['_score']},
'newest': {'title': 'Newest', 'fields': ['-created']},
'oldest': {'title': 'Oldest', 'fields': ['created']},
'newestactivity': {'title': 'Newest activity', 'fields': ['-last_activity_at']},
'oldestactivity': {'title': 'Oldest activity', 'fields': ['last_activity_at']}}
APP_RDM_PAGES
Register static pages with predefined initial content from 'pages.yaml' file.
Example:
{
"about": "/about",
"terms": "/terms",
"privacy-policy": "/privacy-policy",
}
APP_RDM_RECORDS_EXPORT_URL
| Invenio RDM Default Value |
'/records/<pid_value>/export/<export_format>' |
| Type |
unknown |
| Source |
invenio-app-rdm |
APP_RDM_RECORD_EXPORTERS
{
'json': {
'name': _('JSON'),
'serializer': 'flask_resources.serializers:JSONSerializer',
'params': {
'options': {
'indent': 2,
'sort_keys': True,
},
},
'content-type': 'application/json',
'filename': '{id}.json',
},
'json-ld': {
'name': _('JSON-LD'),
'serializer': 'invenio_rdm_records.resources.serializers:SchemaorgJSONLDSerializer',
'content-type': 'application/ld+json',
'filename': '{id}.json',
},
'csl': {
'name': _('CSL'),
'serializer': 'invenio_rdm_records.resources.serializers:CSLJSONSerializer',
'params': {
'options': {
'indent': 2,
'sort_keys': True,
},
},
'content-type': 'application/vnd.citationstyles.csl+json',
'filename': '{id}.json',
},
'datacite-json': {
'name': _('DataCite JSON'),
'serializer': 'invenio_rdm_records.resources.serializers:DataCite45JSONSerializer',
'params': {
'options': {
'indent': 2,
'sort_keys': True,
},
},
'content-type': 'application/vnd.datacite.datacite+json',
'filename': '{id}.json',
},
'datacite-xml': {
'name': _('DataCite XML'),
'serializer': 'invenio_rdm_records.resources.serializers:DataCite45XMLSerializer',
'params': {},
'content-type': 'application/vnd.datacite.datacite+xml',
'filename': '{id}.xml',
},
'dublincore': {
'name': _('Dublin Core XML'),
'serializer': 'invenio_rdm_records.resources.serializers:DublinCoreXMLSerializer',
'params': {},
'content-type': 'application/x-dc+xml',
'filename': '{id}.xml',
},
'marcxml': {
'name': _('MARCXML'),
'serializer': 'invenio_rdm_records.resources.serializers:MARCXMLSerializer',
'params': {},
'content-type': 'application/marcxml+xml',
'filename': '{id}.xml',
},
'bibtex': {
'name': _('BibTeX'),
'serializer': 'invenio_rdm_records.resources.serializers:BibtexSerializer',
'params': {},
'content-type': 'application/x-bibtex',
'filename': '{id}.bib',
},
'geojson': {
'name': _('GeoJSON'),
'serializer': 'invenio_rdm_records.resources.serializers:GeoJSONSerializer',
'params': {
'options': {
'indent': 2,
'sort_keys': True,
},
},
'content-type': 'application/vnd.geo+json',
'filename': '{id}.geojson',
},
'dcat-ap': {
'name': _('DCAT'),
'serializer': 'invenio_rdm_records.resources.serializers:DCATSerializer',
'params': {},
'content-type': 'application/dcat+xml',
'filename': '{id}.xml',
},
'codemeta': {
'name': _('Codemeta'),
'serializer': 'invenio_rdm_records.resources.serializers:CodemetaSerializer',
'params': {},
'content-type': 'application/ld+json',
'filename': '{id}.json',
},
'cff': {
'name': _('Citation File Format'),
'serializer': 'invenio_rdm_records.resources.serializers:CFFSerializer',
'params': {},
'content-type': 'application/x-yaml',
'filename': '{id}.yaml',
},
'datapackage': {
'name': _('Data Package JSON'),
'serializer': 'invenio_rdm_records.resources.serializers:DataPackageSerializer',
'params': {},
'content-type': 'application/ld+json',
'filename': '{id}.json',
},
}
APP_RDM_RECORD_LANDING_PAGE_EXTERNAL_LINKS
Default format used for adding badges to a record.
Make sure the 'render' field points to a valid render function in invenio_app_rdm.records_ui.utils.
Example implementation can also be found in invenio_app_rdm.records_ui.utils.
APP_RDM_RECORD_LANDING_PAGE_EXTERNAL_LINKS = [
{
"id": "github",
"render": github_link_render,
},
{
"id": "openaire",
"render": openaire_link_render,
},
}
def github_link_render(record):
...
APP_RDM_RECORD_LANDING_PAGE_FAIR_SIGNPOSTING_LEVEL_1_ENABLED
APP_RDM_RECORD_LANDING_PAGE_TEMPLATE
APP_RDM_RECORD_THUMBNAIL_SIZES
Allowed record thumbnail sizes.
[
10,
50,
100,
250,
750,
1200,
]
APP_RDM_ROUTES
{'index': '/',
'robots': '/robots.txt',
'help_search': '/help/search',
'help_statistics': '/help/statistics',
'help_versioning': '/help/versioning',
'record_search': '/search',
'record_detail': '/records/<pid_value>',
'record_export': '/records/<pid_value>/export/<export_format>',
'record_file_preview': '/records/<pid_value>/preview/<path:filename>',
'record_container_item_preview': '/records/<pid_value>/preview/<path:filename>/container/<path:path>',
'record_file_download': '/records/<pid_value>/files/<path:filename>',
'record_container_item_download': '/records/<pid_value>/files/<path:filename>/container/<path:path>',
'record_thumbnail': '/records/<pid_value>/thumb<int:size>',
'record_media_file_download': '/records/<pid_value>/media-files/<path:filename>',
'record_from_pid': '/<any({schemes}):pid_scheme>/<path:pid_value>',
'record_latest': '/records/<pid_value>/latest',
'dashboard_home': '/me',
'deposit_create': '/uploads/new',
'deposit_edit': '/uploads/<pid_value>'}
APP_RDM_SUBCOMMUNITIES_LABEL
Label for the subcommunities in the community browse page.
| Invenio RDM Default Value |
_('Subcommunities') |
| Type |
unknown |
| Source |
invenio-app-rdm |
APP_RDM_USER_DASHBOARD_ROUTES
{'uploads': '/me/uploads', 'communities': '/me/communities', 'requests': '/me/requests'}
Name of header containing a request id (max length 200 characters).
If set, the request id will be extracted from the header and set on the global
Flask g request object. The extracted request id can be used by other
Invenio modules - e.g. Invenio-Logging could include it in log messages.
The request id can be used to trace requests between systems to make
troubleshooting easier.
You can configure Nginx 1.10+ to automatically generate a request id and
add it as a header to both the upstream WSGI server and downstream client::
add_header X-Request-ID $request_id;
Set to None to not extract a request id.
| Invenio RDM Default Value |
'X-Request-Id' |
| Type |
str |
| Source |
invenio-app |
*APP_THEME
Application-wide themes list used for template and assets lookup.
The value is a list of theme strings applied in a fallback fashion in the order
they are specified:
.. code-block:: python
APP_THEME = ['my-overlay', 'semantic-ui']
From the above example, templates and assets with the my-overlay prefix
will be looked up first, and if not found the semantic-ui prefix will be
used. If none of the lookups are successful, a non-prefixed lookup is done.
*ASSETS_BUILDER
AUDIT_LOGS_DISABLED_ACTIONS
Disabled actions to be excluded from the audit logs.
To find all the available actions, check the entry points in the invenio_audit_logs.actions group.
>>> from invenio_base.utils import entry_points
>>> [ep.name for ep in entry_points(group="invenio_audit_logs.actions")]
*AUDIT_LOGS_ENABLED
Feature flag. Disabled by default.
AUDIT_LOGS_FACETS
{'resource': {'facet': <invenio_records_resources.services.records.facets.facets.TermsFacet object>,
'ui': {'field': 'resource.type'}},
'action_name': {'facet': <invenio_records_resources.services.records.facets.facets.TermsFacet object>,
'ui': {'field': 'action'}}}
AUDIT_LOGS_SEARCH
{'facets': ['resource', 'action_name'], 'sort': ['bestmatch', 'newest', 'oldest']}
AUDIT_LOGS_SORT_OPTIONS
{'bestmatch': {'title': 'Best match', 'fields': ['_score']},
'newest': {'title': 'Newest', 'fields': ['-@timestamp']},
'oldest': {'title': 'Oldest', 'fields': ['@timestamp']}}
*BABEL_DEFAULT_LOCALE
Default locale (language).
*BABEL_DEFAULT_TIMEZONE
Default time zone.
BANNERS_CATEGORIES
[('info', l'Info'), ('warning', l'Warning'), ('other', l'Other')]
BANNERS_CATEGORIES_TO_STYLE
Function to transform the banner category to a specific Semantic-UI class.
| Invenio RDM Default Value |
style_category |
| Type |
unknown |
| Source |
invenio-banners |
BANNERS_SEARCH
{'facets': [], 'sort': ['url_path', 'start_datetime', 'end_datetime', 'active']}
BANNERS_SORT_OPTIONS
{'url_path': {'title': l'URL path', 'fields': ['url_path']},
'start_datetime': {'title': l'Start DateTime', 'fields': ['start_datetime']},
'end_datetime': {'title': l'End DateTime', 'fields': ['end_datetime']},
'active': {'title': l'Active', 'fields': ['active']}}
*BASE_TEMPLATE
Base template for user facing pages.
The template provides a basic skeleton which takes care of loading assets,
embedding header metadata and define basic template blocks. All other user
facing templates usually extends from this template and thus changing this
template allows to change design and layout of Invenio.
*BROKER_URL
URL of message broker for Celery 3 (default is RabbitMQ).
CACHE_IS_AUTHENTICATED_CALLBACK
Import path to callback.
Callback is executed to determine if request is authenticated.
| Invenio RDM Default Value |
None |
| Type |
NoneType |
| Source |
invenio-cache |
CACHE_KEY_PREFIX
Cache key prefix.
| Invenio RDM Default Value |
'cache::' |
| Type |
str |
| Source |
invenio-cache |
*CACHE_REDIS_URL
Redis location and database.
CACHE_TYPE
Cache type.
Please refer to Flask-Caching documentation for other cache types.
CELERY_ACCEPT_CONTENT
A whitelist of content-types/serializers.
['json', 'msgpack', 'yaml']
*CELERY_BEAT_SCHEDULE
{
'indexer': {
'task': 'invenio_records_resources.tasks.manage_indexer_queues',
'schedule': timedelta(seconds=10),
},
'accounts_sessions': {
'task': 'invenio_accounts.tasks.clean_session_table',
'schedule': timedelta(minutes=60),
},
'accounts_ips': {
'task': 'invenio_accounts.tasks.delete_ips',
'schedule': timedelta(hours=6),
},
'update_domain_status': {
'task': 'invenio_accounts.tasks.update_domain_status',
'schedule': timedelta(hours=4),
},
'draft_resources': {
'task': 'invenio_drafts_resources.services.records.tasks.cleanup_drafts',
'schedule': timedelta(minutes=60),
},
'rdm_records': {
'task': 'invenio_rdm_records.services.tasks.update_expired_embargos',
'schedule': crontab(minute=2, hour=0),
},
'expire_requests': {
'task': 'invenio_requests.tasks.check_expired_requests',
'schedule': crontab(minute=3, hour=0),
},
'file-checks': {
'task': 'invenio_files_rest.tasks.schedule_checksum_verification',
'schedule': timedelta(hours=1),
'kwargs': {
'batch_interval': {
'hours': 1,
},
'frequency': {
'days': 14,
},
'max_count': 0,
'files_query': 'invenio_app_rdm.utils.files.checksum_verification_files_query',
},
},
'file-integrity-report': {
'task': 'invenio_app_rdm.tasks.file_integrity_report',
'schedule': crontab(minute=0, hour=7),
},
'stats-process-events': {
**StatsEventTask,
'schedule': crontab(minute='25,55'),
},
'stats-aggregate-events': {
**StatsAggregationTask,
'schedule': crontab(minute=0),
},
'reindex-stats': StatsRDMReindexTask,
'clear-cache': {
'task': 'invenio_communities.tasks.clear_cache',
'schedule': crontab(minute=0, hour=1),
},
'clean-access-request-tokens': {
'task': 'invenio_rdm_records.requests.access.tasks.clean_expired_request_access_tokens',
'schedule': crontab(minute=4, hour=0),
},
'delete-job-logs': {
'task': 'invenio_jobs.logging.tasks.delete_logs',
'schedule': crontab(minute=5, hour=0),
},
'update_sitemap': {
'task': 'invenio_sitemap.tasks.update_sitemap_cache',
'schedule': crontab(minute=0, hour=2),
},
'update-collections-size': {
'task': 'invenio_rdm_records.collections.tasks.update_collections_size',
'schedule': timedelta(hours=1),
},
}
*CELERY_BROKER_URL
Same as BROKER_URL to support Celery 4.
*CELERY_RESULT_BACKEND
URL of backend for result storage (default is Redis).
CELERY_RESULT_SERIALIZER
Result serialization format. Default is msgpack.
CELERY_TASK_SERIALIZER
The default serialization method to use. Default is msgpack.
CHECKS_COMMUNITIES_SERVICE_COMPONENTS
Extra components that are registered to COMMUNITIES_SERVICE_COMPONENTS.
The default (RegisterCheckComponent) will create a LLM configuration for a community
whenever it is added/modified.
[
RegisterCheckComponent,
]
*CHECKS_ENABLED
Enable checks.
A slug of community that is used for LLM prompt when record does not belong to a community.
COLLECTIONS_BASE_TEMPLATE
| Default Value |
'invenio_theme/page.html' |
| Type |
str |
| Source |
unknown |
COLLECTIONS_MAX_COLLECTIONS_PER_TREE
Maximum number of collections allowed per tree.
This counts all collections in a tree, regardless of depth.
Set to 0 for unlimited collections.
Default: 100
COLLECTIONS_MAX_DEPTH
Maximum depth for collection hierarchies.
Depth 0 = root collections
Depth 1 = children of root
Depth 2 = grandchildren (not allowed by default)
Setting this to 1 allows 2 levels: root + children only.
Setting this to 2 would allow 3 levels: root + children + grandchildren.
COLLECTIONS_MAX_TREES
Maximum number of collection trees allowed per namespace.
Set to 0 for unlimited trees.
Default: 10
COLLECTIONS_PERMISSION_POLICY
Permission policy used by invenio-collections for managing collection trees.
COLLECT_STATIC_ROOT
| Default Value |
'/Users/m/Workspaces/repositories/feat-convert-old-catchall/oarepo-config/.venv/var/instance/static' |
| Type |
str |
| Source |
unknown |
*COLLECT_STORAGE
Static files collection method (defaults to copying files).
COMMUNITIES_ALLOW_MEMBERSHIP_REQUESTS
Feature flag for membership request.
COMMUNITIES_ALLOW_RESTRICTED
COMMUNITIES_ALWAYS_SHOW_CREATE_LINK
Controls visibility of 'New Community' btn based on user's permission when set to True.
COMMUNITIES_COLLECTIONS_ENABLED
Feature flag to enable/disable collections feature.
COMMUNITIES_CUSTOM_FIELDS
Communities custom fields definition.
Of the shape:
.. code-block:: python
[
<custom-field-class-type(name='field')>,
# ...
<custom-field-class-type(name='fieldN')>'
]
For example:
.. code-block:: python
[
TextCF(name="experiment"),
...
]
[<oarepo_communities.services.custom_fields.workflow.WorkflowCF object>,
<oarepo_communities.services.custom_fields.workflow.WorkflowCF object>]
COMMUNITIES_CUSTOM_FIELDS_UI
Communities custom fields UI configuration.
Of the shape:
.. code-block:: python
[{
section: <section_name>,
fields: [
{
field: "path-to-field", # this should be validated against the defined fields in `RDM_CUSTOM_FIELDS`
ui_widget: "<ui-widget-name>", # predefined or user defined ui widget
props: {
label:"<ui-label-to-display>",
placeholder:"<placeholder-passed-to-widget>",
icon:"<icon-passed-to-widget>",
description:"<description-passed-to-widget>",
}
},
],
# ...
}]
For example:
.. code-block:: python
[{
"section": "CERN Experiment"
"fields" : [{
field: "experiment", # this should be validated against the defined fields in `RDM_CUSTOM_FIELDS`
ui_widget: "CustomTextField", # user defined widget in my-site
props: {
label: "Experiment",
placeholder: "Type an experiment...",
icon: "pencil",
description: "You should fill this field with one of the experiments e.g LHC, ATLAS etc.",
}
},
...
}]
[{'section': l'Workflows',
'fields': [{'field': 'workflow',
'ui_widget': 'Dropdown',
'props': {'label': l'Default workflow',
'description': l'Default workflow for the community if workflow is not specified when depositing a record.',
'options': []}},
{'field': 'allowed_workflows',
'ui_widget': 'Dropdown',
'props': {'label': l'Allowed workflows',
'multiple': True,
'description': l'Workflows allowed for the community.',
'options': []}}]}]
COMMUNITIES_DEFAULT_RECORD_SUBMISSION_POLICY
Default value of record submission policy community access setting.
| Invenio RDM Default Value |
<RecordSubmissionPolicyEnum.OPEN: 'open'> |
| Type |
RecordSubmissionPolicyEnum |
| Source |
invenio-communities |
COMMUNITIES_ERROR_HANDLERS
{
**community_error_handlers,
InvalidCommunityVisibility: create_error_handler(lambda e: HTTPJSONException(code=400, description=e.reason)),
}
COMMUNITIES_FACETS
{'type': {'facet': <invenio_records_resources.services.records.facets.facets.TermsFacet object>,
'ui': {'field': 'type'}},
'visibility': {'facet': <invenio_records_resources.services.records.facets.facets.TermsFacet object>,
'ui': {'field': 'visibility'}}}
COMMUNITIES_IDENTITIES_CACHE_HANDLER
| Invenio RDM Default Value |
'invenio_communities.cache.redis:IdentityRedisCache' |
| Type |
str |
| Source |
invenio-communities |
*COMMUNITIES_IDENTITIES_CACHE_REDIS_URL
COMMUNITIES_IDENTITIES_CACHE_TIME
COMMUNITIES_INVITATIONS_EXPIRES_IN
Default amount of time before an invitation expires.
| Invenio RDM Default Value |
datetime.timedelta(days=30) |
| Type |
timedelta |
| Source |
invenio-communities |
COMMUNITIES_INVITATIONS_SEARCH
{'facets': ['type', 'status'], 'sort': ['bestmatch', 'name', 'newest', 'oldest']}
COMMUNITIES_INVITATIONS_SORT_OPTIONS
{'bestmatch': {'title': l'Best match', 'fields': ['_score']},
'name': {'title': l'Name', 'fields': ['user.profile.full_name.keyword']},
'newest': {'title': l'Newest', 'fields': ['-created']},
'oldest': {'title': l'Oldest', 'fields': ['created']}}
COMMUNITIES_LOGO_MAX_FILE_SIZE
Community logo size quota, in bytes.
COMMUNITIES_MEMBERSHIP_REQUESTS_DEFAULT_ROLE
Role assigned to a member who joins via a membership request.
Must be the name of one of the roles defined in COMMUNITIES_ROLES.
Deployments that customise COMMUNITIES_ROLES (and therefore may not define a
reader role) can point this at their own lowest-privilege role.
COMMUNITIES_MEMBERSHIP_REQUESTS_EXPIRES_IN
Default amount of time before a membership request expires.
| Invenio RDM Default Value |
datetime.timedelta(days=30) |
| Type |
timedelta |
| Source |
invenio-communities |
COMMUNITIES_MEMBERSHIP_REQUESTS_FACETS
{'role': {'facet': <invenio_records_resources.services.records.facets.facets.TermsFacet object>,
'ui': {'field': 'role'}},
'status': {'facet': <invenio_records_resources.services.records.facets.facets.TermsFacet object>,
'ui': {'field': 'role'}}}
COMMUNITIES_MEMBERSHIP_REQUESTS_SEARCH
{'facets': ['role', 'status'], 'sort': ['bestmatch', 'name', 'newest', 'oldest']}
COMMUNITIES_MEMBERS_FACETS
{'role': {'facet': <invenio_records_resources.services.records.facets.facets.TermsFacet object>,
'ui': {'field': 'role'}},
'visibility': {'facet': <invenio_records_resources.services.records.facets.facets.TermsFacet object>,
'ui': {'field': 'visible'}}}
COMMUNITIES_MEMBERS_SEARCH
{'facets': ['role', 'visibility'], 'sort': ['bestmatch', 'name', 'newest', 'oldest']}
COMMUNITIES_MEMBERS_SORT_OPTIONS
{'bestmatch': {'title': l'Best match', 'fields': ['_score']},
'name': {'title': l'Name', 'fields': ['user.profile.full_name.keyword']},
'newest': {'title': l'Newest', 'fields': ['-created']},
'oldest': {'title': l'Oldest', 'fields': ['created']}}
COMMUNITIES_NAMESPACES
Custom fields namespaces.
.. code-block:: python
{: , ...}
For example:
.. code-block:: python
{
"cern": "https://cern.ch/terms",
"dwc": "http://rs.tdwg.org/dwc/terms/"
}
COMMUNITIES_OAI_SETS_PREFIX
*COMMUNITIES_PERMISSION_POLICY
COMMUNITIES_RECORDS_SEARCH
| OARepo Default Value |
LocalProxy(lambda: current_oarepo_rdm.dynamic_rdm_search) |
| Type |
unknown |
| Sources |
oarepo-rdm; invenio-app-rdm |
COMMUNITIES_RECORDS_SEARCH_ALL
| Default Value |
False |
| Type |
bool |
| Source |
unknown |
*COMMUNITIES_REGISTER_UI_BLUEPRINT
COMMUNITIES_REQUESTS_SEARCH
{'facets': ['type', 'status'],
'sort': ['bestmatch', 'newest', 'oldest', 'newestactivity', 'oldestactivity']}
*COMMUNITIES_ROLES
[{'name': 'reader',
'title': l'Reader',
'description': l'Can view restricted records.',
'can_view': True},
{'name': 'curator',
'title': l'Curator',
'description': l'Can curate records and view restricted records.',
'can_curate': True,
'can_view': True},
{'name': 'manager',
'title': l'Manager',
'description': l'Can manage members, curate records and view restricted records.',
'can_manage_roles': ['manager', 'curator', 'reader'],
'can_manage': True,
'can_curate': True,
'can_view': True},
{'name': 'owner',
'title': l'Owner',
'description': l'Full administrative access to the entire community.',
'can_manage_roles': ['owner', 'manager', 'curator', 'reader'],
'is_owner': True,
'can_manage': True,
'can_curate': True,
'can_view': True}]
COMMUNITIES_ROUTES
{'frontpage': '/communities',
'search': '/communities-search',
'deprecated_search': '/communities/search',
'new': '/communities-new',
'deprecated_new': '/communities/new',
'upload': '/communities/<pid_value>/upload',
'requests': '/communities/<pid_value>/requests',
'subcommunities': '/communities/<pid_value>/browse/subcommunities',
'new_subcommunity': '/communities/<pid_value>/subcommunities/new',
'settings': '/communities/<pid_value>/settings',
'settings_privileges': '/communities/<pid_value>/settings/privileges',
'settings_submission_policy': '/communities/<pid_value>/settings/submission-policy',
'settings_pages': '/communities/<pid_value>/settings/pages',
'settings_collections': '/communities/<pid_value>/settings/collections',
'members': '/communities/<pid_value>/members',
'invitations': '/communities/<pid_value>/invitations',
'membership_requests': '/communities/<pid_value>/membership-requests',
'about': '/communities/<pid_value>/about',
'curation_policy': '/communities/<pid_value>/curation-policy',
'my_communities': '/me/communities'}
COMMUNITIES_SEARCH
{'facets': ['type', 'visibility'], 'sort': ['bestmatch', 'newest', 'oldest']}
COMMUNITIES_SEARCH_SORT_BY_VERIFIED
Sort communities by 'verified' first.
COMMUNITIES_SERVICE_COMPONENTS
[<class 'invenio_records_resources.services.records.components.metadata.MetadataComponent'>,
<class 'invenio_communities.communities.services.components.CommunityThemeComponent'>,
<class 'invenio_communities.communities.services.components.CustomFieldsComponent'>,
<class 'invenio_communities.communities.services.components.PIDComponent'>,
<class 'invenio_records_resources.services.records.components.relations.RelationsComponent'>,
<class 'invenio_communities.communities.services.components.CommunityAccessComponent'>,
<class 'invenio_communities.communities.services.components.OwnershipComponent'>,
<class 'invenio_communities.communities.services.components.FeaturedCommunityComponent'>,
<class 'invenio_communities.communities.services.components.OAISetComponent'>,
<class 'invenio_communities.communities.services.components.CommunityDeletionComponent'>,
<class 'invenio_communities.communities.services.components.ChildrenComponent'>,
<class 'invenio_communities.communities.services.components.CommunityParentComponent'>,
<class 'oarepo_checks.services.components.register_check_config.RegisterCheckComponent'>]
COMMUNITIES_SORT_OPTIONS
{'bestmatch': {'title': l'Best match', 'fields': ['_score']},
'newest': {'title': l'Newest', 'fields': ['-created']},
'oldest': {'title': l'Oldest', 'fields': ['created']},
'version': {'title': l'Version', 'fields': ['-versions.index']},
'updated-desc': {'title': l'Recently updated', 'fields': ['-updated']},
'updated-asc': {'title': l'Least recently updated', 'fields': ['updated']},
'newestactivity': {'title': l'Newest activity', 'fields': ['-last_activity_at']},
'oldestactivity': {'title': l'Oldest activity', 'fields': ['last_activity_at']}}
COMMUNITIES_SUBCOMMUNITIES_FACETS
{'type': {'facet': <invenio_records_resources.services.records.facets.facets.TermsFacet object>,
'ui': {'field': 'type'}},
'visibility': {'facet': <invenio_records_resources.services.records.facets.facets.TermsFacet object>,
'ui': {'field': 'visibility'}}}
COMMUNITIES_SUBCOMMUNITIES_SEARCH
{'facets': ['type'], 'sort': ['bestmatch', 'newest', 'oldest']}
COMMUNITIES_SUB_INVITATION_REQUEST_CLS
RDM specific request type for subcommunity invitations.
| Invenio RDM Default Value |
RDMSubCommunityInvitationRequest |
| Type |
unknown |
| Source |
invenio-app-rdm |
COMMUNITIES_SUB_REQUEST_CLS
RDM specific request type for subcommunities.
| Invenio RDM Default Value |
<list> |
| Type |
unknown |
| Source |
invenio-rest |
[
'ETag',
'Link',
'X-RateLimit-Limit',
'X-RateLimit-Remaining',
'X-RateLimit-Reset',
'Content-Type',
]
CORS_RESOURCES
Dictionary for configuring CORS for endpoints.
See Flask-CORS for further details.
.. note:: Overwrites
Flask-CORS
<https://flask-cors.readthedocs.io/en/latest/api.html#flask_cors.CORS>_
configuration.
| Invenio RDM Default Value |
'*' |
| Type |
unknown |
| Source |
invenio-rest |
CORS_SEND_WILDCARD
Sending wildcard CORS header.
.. note:: Overwrites
Flask-CORS
<https://flask-cors.readthedocs.io/en/latest/api.html#flask_cors.CORS>_
configuration.
| Invenio RDM Default Value |
True |
| Type |
unknown |
| Source |
invenio-rest |
*COVER_TEMPLATE
Cover page template normally used e.g. for login and sign up pages.
CROSSREF_ADDITIONAL_PREFIXES
List of additional Crossref DOI prefixes supported for registration.
CROSSREF_DEPOSITOR
Crossref depositor name.
CROSSREF_EMAIL
Crossref depositor email.
CROSSREF_ENABLED
Flag to enable/disable Crossref DOI registration.
A string used for formatting the DOI or a callable.
If set to a string, you can used {prefix} and {id} inside the string.
You can also provide a callable instead:
.. code-block:: python
def make_doi(prefix, record):
return f"{prefix}/{record.pid.pid_value}"
CROSSREF_FORMAT = make_doi
CROSSREF_PASSWORD
Crossref password.
CROSSREF_PREFIX
Crossref DOI prefix.
CROSSREF_REGISTRANT
Crossref registrant.
CROSSREF_TEST_MODE
Crossref test mode enabled.
CROSSREF_URL
CROSSREF_USERNAME
Crossref username.
*CSP
CSRF_ALLOWED_CHARS
| Default Value |
'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789' |
| Type |
str |
| Source |
unknown |
CSRF_COOKIE_NAME
| Default Value |
'csrftoken' |
| Type |
str |
| Source |
unknown |
CSRF_COOKIE_SAMESITE
| Default Value |
'Lax' |
| Type |
str |
| Source |
unknown |
CSRF_FORCE_SECURE_REFERER
| Default Value |
True |
| Type |
bool |
| Source |
unknown |
| Default Value |
'X-CSRFToken' |
| Type |
str |
| Source |
unknown |
CSRF_METHODS
| Default Value |
<list> |
| Type |
list |
| Source |
unknown |
['POST', 'PUT', 'PATCH', 'DELETE']
CSRF_SECRET_SALT
| Default Value |
'invenio-csrf-token' |
| Type |
str |
| Source |
unknown |
CSRF_TOKEN_EXPIRES_IN
| Default Value |
86400 |
| Type |
int |
| Source |
unknown |
CSRF_TOKEN_GRACE_PERIOD
| Default Value |
604800 |
| Type |
int |
| Source |
unknown |
CSRF_TOKEN_LENGTH
| Default Value |
32 |
| Type |
int |
| Source |
unknown |
*DASHBOARD_RECORD_CREATE_URL
DATACITE_ADDITIONAL_PREFIXES
List of additional DataCite DOI prefixes supported for registration.
DATACITE_DATACENTER_SYMBOL
DataCite data center symbol.
This is only required if you want your records to be harvestable (OAI-PMH)
in DataCite XML format.
DATACITE_ENABLED
Flag to enable/disable DataCite DOI registration.
A string used for formatting the DOI or a callable.
If set to a string, you can used {prefix} and {id} inside the string.
You can also provide a callable instead:
.. code-block:: python
def make_doi(prefix, record):
return f"{prefix}/{record.pid.pid_value}"
DATACITE_FORMAT = make_doi
DATACITE_PASSWORD
DataCite password.
DATACITE_PREFIX
DataCite DOI prefix.
*DATACITE_TEST_MODE
DataCite test mode enabled.
DATACITE_URL
DATACITE_USERNAME
DataCite username.
DB_VERSIONING
| Default Value |
True |
| Type |
bool |
| Source |
unknown |
DB_VERSIONING_USER_MODEL
DEBUG
| Default Value |
False |
| Type |
bool |
| Source |
unknown |
DEBUG_TB_INTERCEPT_REDIRECTS
Switches off incept of redirects by Flask-DebugToolbar.
DEFAULT_COMMUNITIES_CUSTOM_FIELDS
| Default Value |
<list> |
| Type |
list |
| Source |
unknown |
[<oarepo_communities.services.custom_fields.workflow.WorkflowCF object>,
<oarepo_communities.services.custom_fields.workflow.WorkflowCF object>]
DEFAULT_COMMUNITIES_CUSTOM_FIELDS_UI
| Default Value |
<list> |
| Type |
list |
| Source |
unknown |
[{'section': l'Workflows',
'fields': [{'field': 'workflow',
'ui_widget': 'Dropdown',
'props': {'label': l'Default workflow',
'description': l'Default workflow for the community if workflow is not specified when depositing a record.',
'options': []}},
{'field': 'allowed_workflows',
'ui_widget': 'Dropdown',
'props': {'label': l'Allowed workflows',
'multiple': True,
'description': l'Workflows allowed for the community.',
'options': []}}]}]
DEFAULT_WORKFLOW_EVENTS
| Default Value |
<dict> |
| Type |
dict |
| Source |
unknown |
{'C': WorkflowEvent(submitters=[<invenio_records_permissions.generators.IfConfig object>]),
'L': WorkflowEvent(submitters=[<invenio_records_permissions.generators.IfConfig object>])}
*DEPLOYMENT_VERSION
DISPLAY_NEW_COMMUNITIES
| Default Value |
True |
| Type |
bool |
| Source |
unknown |
DISPLAY_USER_COMMUNITIES
| Default Value |
True |
| Type |
bool |
| Source |
unknown |
DOI_SETTINGS_FACETS
| OARepo Default Value |
<dict> |
| Type |
dict |
| Source |
oarepo-doi |
{'community_slug': {'facet': <invenio_records_resources.services.records.facets.facets.TermsFacet object>,
'ui': {'field': 'community_slug'}},
'prefix': {'facet': <invenio_records_resources.services.records.facets.facets.TermsFacet object>,
'ui': {'field': 'prefix'}}}
DOI_SETTINGS_SEARCH
| OARepo Default Value |
<dict> |
| Type |
dict |
| Source |
oarepo-doi |
{'facets': ['community_slug', 'prefix'],
'sort': ['newest'],
'sort_default': 'newest',
'sort_default_no_query': 'newest'}
DOI_SETTINGS_SORT_OPTIONS
| OARepo Default Value |
<dict> |
| Type |
dict |
| Source |
oarepo-doi |
{'newest': {'title': l'Newest', 'fields': ['-created']}}
*EINFRA
EINFRA_CAPABILITIES_ATTRIBUTE_NAME
Attribute name for resource capabilities in the PERUN dump.
| OARepo Default Value |
'urn:perun:resource:attribute-def:def:capabilities' |
| Type |
str |
| Source |
oarepo-oidc-einfra |
*EINFRA_ENTITLEMENTS_PARSER
EINFRA_ENTITLEMENT_NAMESPACES
URN prefix for capabilities that can represent community roles.
EINFRA_ENTITLEMENT_PREFIX
Parts of the entitlement URN name that represent communities.
EINFRA_LAST_DUMP_PATH
Path to the last dump file in the S3 bucket.
*EINFRA_LOGIN_APP
EINFRA_RSA_KEY
| OARepo Default Value |
b'-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmho5h/lz6USUUazQaVT3\nPHlo... |
| Type |
bytes |
| Source |
oarepo-oidc-einfra |
EINFRA_TOKEN_EXCHANGE_ISSUER
Issuer of the token exchange token.
EINFRA_TOKEN_EXCHANGE_PUBLIC_KEY
Public key of the token exchange token's issuer.
If not set, EINFRA_RSA_KEY is used instead.
| OARepo Default Value |
b'-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmho5h/lz6USUUazQaVT3\nPHlo... |
| Type |
bytes |
| Source |
oarepo-oidc-einfra |
EINFRA_USER_DISPLAY_NAME_ATTRIBUTE
Attribute on user inside perun that represents the display name of the user.
| OARepo Default Value |
'urn:perun:user:attribute-def:core:displayName' |
| Type |
str |
| Source |
oarepo-oidc-einfra |
EINFRA_USER_DUMP_S3_ACCESS_KEY
Access key for the S3 bucket where the user dump from PERUN is stored.
EINFRA_USER_DUMP_S3_BUCKET
Bucket where the user dump from PERUN is stored.
EINFRA_USER_DUMP_S3_ENDPOINT
Endpoint for the S3 bucket where the user dump from PERUN is stored.
EINFRA_USER_DUMP_S3_SECRET_KEY
Secret key for the S3 bucket where the user dump from PERUN is stored.
EINFRA_USER_ID_DUMP_ATTRIBUTE
Attribute on user inside perun that represents the E-INFRA ID of the user.
| OARepo Default Value |
'urn:perun:user:attribute-def:virt:login-namespace:einfraid-persistent' |
| Type |
str |
| Source |
oarepo-oidc-einfra |
EINFRA_USER_ORGANIZATION_ATTRIBUTE
Attribute on user inside perun that represents the organization of the user.
| OARepo Default Value |
'urn:perun:user:attribute-def:def:organization' |
| Type |
str |
| Source |
oarepo-oidc-einfra |
EINFRA_USER_PREFERRED_MAIL_ATTRIBUTE
Attribute on user inside perun that represents the preferred mail of the user.
| OARepo Default Value |
'urn:perun:user:attribute-def:def:preferredMail' |
| Type |
str |
| Source |
oarepo-oidc-einfra |
EXPLAIN_TEMPLATE_LOADING
| Default Value |
False |
| Type |
bool |
| Source |
unknown |
FILES_REST_ALLOW_RANGE_REQUESTS
Enable support for HTTP Range Requests.
FILES_REST_CHECKSUM_VERIFICATION_URI_PREFIXES
URI prefixes of files their checksums should be verified
*FILES_REST_DEFAULT_MAX_FILE_SIZE
Default maximum file size for a bucket in bytes. None if unlimited.
*FILES_REST_DEFAULT_QUOTA_SIZE
Default quota size for a bucket in bytes. None if unlimited.
*FILES_REST_DEFAULT_STORAGE_CLASS
Default storage class. Must be one of FILES_REST_STORAGE_CLASS_LIST.
Header for updating file tags.
FILES_REST_FILE_URI_MAX_LEN
Maximum length of the FileInstance.uri field.
.. warning::
Setting this variable to anything higher than 255 is only supported
with PostgreSQL database.
FILES_REST_MIN_FILE_SIZE
Minimum file size when uploading, in bytes (do not allow empty files).
FILES_REST_MULTIPART_CHUNKSIZE_MAX
Maximum chunk size in bytes of multipart objects.
FILES_REST_MULTIPART_CHUNKSIZE_MIN
Minimum chunk size in bytes of multipart objects.
FILES_REST_MULTIPART_EXPIRES
Time delta after which a multipart upload is considered expired.
| Invenio RDM Default Value |
datetime.timedelta(days=4) |
| Type |
timedelta |
| Source |
invenio-files-rest |
FILES_REST_MULTIPART_MAX_PARTS
Maximum number of parts when uploading files with multipart uploads.
FILES_REST_MULTIPART_PART_FACTORIES
['invenio_files_rest.views:default_partfactory',
'invenio_files_rest.views:ngfileupload_partfactory']
FILES_REST_OBJECT_KEY_MAX_LEN
Maximum length of the ObjectVersion.key field.
.. warning::
Setting this variable to anything higher than 255 is only supported
with PostgreSQL database.
FILES_REST_PERMISSION_FACTORY
Permission factory to control the files access from the REST interface.
FILES_REST_SIZE_LIMITERS
Import path of file size limiters factory to control bucket size limits.
| Invenio RDM Default Value |
'invenio_files_rest.limiters.file_size_limiters' |
| Type |
str |
| Source |
invenio-files-rest |
*FILES_REST_STORAGE_CLASS_LIST
{'S': 'Standard', 'A': 'Archive'}
*FILES_REST_STORAGE_FACTORY
Import path of factory used to create a storage instance.
FILES_REST_STORAGE_PATH_DIMENSIONS
Number of directory levels created when generating the path of a file.
For example, if split length set to 2 and dimension to 3, the final
path will be a2/ad/4k/c9-8j39-34jn/.
FILES_REST_STORAGE_PATH_SPLIT_LENGTH
Number of chars to use as folder name when generating the path of a file.
For example, if split length set to 4 and dimension to 4, the final
path will be a2ad/4kc9/8j39-34jn/.
FILES_REST_TASK_WAIT_INTERVAL
Interval in seconds between sending a whitespace to not close connection.
FILES_REST_TASK_WAIT_MAX_SECONDS
Maximum number of seconds to wait for a task to finish.
FILES_REST_UPLOAD_FACTORIES
['invenio_files_rest.views:stream_uploadfactory',
'invenio_files_rest.views:ngfileupload_uploadfactory']
FILES_REST_XSENDFILE_ENABLED
Use the X-Accel-Redirect header to stream the file through a reverse proxy(
e.g NGINX).
FILES_REST_XSENDFILE_RESPONSE_FUNC
Function for the creation of a file streaming redirect response.
| Invenio RDM Default Value |
create_file_streaming_redirect_response |
| Type |
unknown |
| Source |
invenio-files-rest |
List of allowed titles in badges.
| Default Value |
True |
| Type |
bool |
| Source |
unknown |
The maximum amount of time a badge will be considered fresh.
Mapping of titles.
HANDLE_URL
Base header template to be extended on custom headers.
I18N_DEFAULT_REDIRECT_ENDPOINT
Endpoint to redirect if no next parameter is provided.
| Invenio RDM Default Value |
None |
| Type |
NoneType |
| Source |
invenio-i18n |
I18N_JS_DISTR_EXCEPTIONAL_PACKAGE_MAP
Exceptional package name mapper for JS/React localization distribution.
Webpack entrypoints are used to determine the asset path for distributing JS/React localizations.
Entrypoint names usually match the corresponding package name, but some differ.
This mapping is used to associate exceptional entrypoint names with their package names.
| Invenio RDM Default Value |
<dict> |
| Type |
dict |
| Source |
invenio-i18n |
*I18N_LANGUAGES
List of tuples of available languages.
Example configuration with english and danish with english as default language:
.. code-block:: python
from flask_babel import lazy_gettext as _
BABEL_DEFAULT_LOCALE = 'en'
I18N_LANGUAGES = (('da', _('Danish')),)
.. note:: You should not include BABEL_DEFAULT_LOCALE in this list.
I18N_SESSION_KEY
Key to retrieve language identifier from the current session object.
| Invenio RDM Default Value |
'language' |
| Type |
str |
| Source |
invenio-i18n |
I18N_SET_LANGUAGE_URL
URL prefix for set language view.
Set to None to prevent view from being installed.
| Invenio RDM Default Value |
'/lang' |
| Type |
str |
| Source |
invenio-i18n |
I18N_TRANSIFEX_JS_RESOURCES_MAP
Mapping of transifex resource names to invenioRDM package names.
All resources/packages that should be translated with Transifex should be added here.
| Invenio RDM Default Value |
<dict> |
| Type |
dict |
| Source |
invenio-i18n |
I18N_TRANSLATIONS_PATHS
List of paths to load message catalogs from.
| Invenio RDM Default Value |
<list> |
| Type |
list |
| Source |
invenio-i18n |
I18N_USER_LANG_ATTR
Attribute name which contains language identifier on the User object.
It is used only when the login manager is installed and a user is
authenticated. Set to None to prevent selector from being used.
| Invenio RDM Default Value |
'prefered_language' |
| Type |
str |
| Source |
invenio-i18n |
IIIF_API_DECORATOR_HANDLER
IIIF_API_INFO_RESPONSE_SKELETON
| Default Value |
<dict> |
| Type |
dict |
| Source |
unknown |
{'v1': {'@context': 'http://library.stanford.edu/iiif/image-api/1.1/context.json',
'@id': '',
'width': '',
'height': '',
'profile': 'http://library.stanford.edu/iiif/image-api/compliance.html#level1',
'tile_width': 256,
'tile_height': 256,
'scale_factors': [1, 2, 4, 8, 16, 32, 64]},
'v2': {'@context': 'http://iiif.io/api/image/2/context.json',
'@id': '',
'protocol': 'http://iiif.io/api/image',
'width': '',
'height': '',
'tiles': [{'width': 256, 'scaleFactors': [1, 2, 4, 8, 16, 32, 64]}],
'profile': ['http://iiif.io/api/image/2/level2.json']}}
IIIF_CACHE_HANDLER
| Default Value |
'flask_iiif.cache.simple:ImageSimpleCache' |
| Type |
str |
| Source |
unknown |
IIIF_CACHE_IGNORE_ERRORS
| Default Value |
False |
| Type |
bool |
| Source |
unknown |
IIIF_CACHE_REDIS_URL
| Default Value |
'redis://localhost:6379/0' |
| Type |
str |
| Source |
unknown |
IIIF_CACHE_TIME
| Default Value |
172800 |
| Type |
int |
| Source |
unknown |
IIIF_CONVERTERS
| Default Value |
<tuple> |
| Type |
tuple |
| Source |
unknown |
('', 'L', 'L', '1', '', '')
{'gif': 'image/gif',
'jp2': 'image/jp2',
'jpeg': 'image/jpeg',
'jpg': 'image/jpeg',
'pdf': 'application/pdf',
'png': 'image/png',
'tif': 'image/tiff',
'tiff': 'image/tiff',
'webp': 'image/webp'}
{'gif': 'gif',
'jp2': 'jpeg2000',
'jpeg': 'jpeg',
'jpg': 'jpeg',
'pdf': 'pdf',
'png': 'png',
'tif': 'tiff',
'tiff': 'tiff',
'webp': 'webp'}
IIIF_GIF_TEMP_FOLDER_PATH
| Default Value |
'/tmp' |
| Type |
str |
| Source |
unknown |
IIIF_MODE
| Default Value |
<dict> |
| Type |
dict |
| Source |
unknown |
{'1': ['default', 'bitonal'],
'L': ['default', 'gray', 'grey', 'bitonal'],
'P': ['default', 'gray', 'grey', 'bitonal'],
'RGB': ['default', 'color', 'gray', 'grey', 'bitonal'],
'RGBA': ['default', 'color', 'gray', 'grey', 'bitonal'],
'CMYK': ['default', 'color', 'gray', 'grey', 'bitonal'],
'YCbCr': ['default', 'color', 'gray', 'grey', 'bitonal'],
'I': ['default', 'color', 'gray', 'grey', 'bitonal'],
'F': ['default', 'color', 'gray', 'grey', 'bitonal']}
IIIF_PREVIEW_TEMPLATE
Template for IIIF image preview.
| Invenio RDM Default Value |
'invenio_app_rdm/records/iiif_preview.html' |
| Type |
str |
| Source |
invenio-app-rdm |
IIIF_QUALITIES
| Default Value |
<tuple> |
| Type |
tuple |
| Source |
unknown |
('default', 'gray', 'grey', 'bitonal', 'color', 'native')
IIIF_SIMPLE_PREVIEWER_NATIVE_EXTENSIONS
Images are converted to JPEG for preview, unless listed here.
IIIF_SIMPLE_PREVIEWER_SIZE
Size of image in IIIF preview window. Must be a valid IIIF Image API size parameter.
IIIF_TILES_CONVERTER_PARAMS
{'compression': 'jpeg', 'Q': 90, 'tile_width': 256, 'tile_height': 256}
IIIF_TILES_GENERATION_ENABLED
Enable generating pyramidal TIFF tiles for uploaded images.
IIIF_TILES_STORAGE_BASE_PATH
Base path for storing IIIF tiles.
Relative paths are resolved against the application instance path.
IIIF_TILES_VALID_EXTENSIONS
['jp2', 'jpeg', 'jpg', 'pdf', 'png', 'png', 'tif', 'tiff']
IIIF_VALIDATIONS
| Default Value |
<dict> |
| Type |
dict |
| Source |
unknown |
{'v1': {'region': {'ignore': 'full',
'validate': '(^full|(pct:)?([\\d.]+,){3}([\\d.]+))'},
'size': {'ignore': 'full',
'validate': '(^full|[\\d.]+,|,[\\d.]+|pct:[\\d.]+|[\\d.]+,[\\d.]+|![\\d.]+,[\\d.]+)'},
'rotation': {'ignore': '0', 'validate': '^[\\d.]+$'},
'quality': {'ignore': 'default', 'validate': '(native|color|gr[ae]y|bitonal)'},
'image_format': {'ignore': '',
'validate': '(gif|jp2|jpe?g|pdf|png|tiff?|webp)'}},
'v2': {'region': {'ignore': 'full',
'validate': '(^full|(pct:)?([\\d.]+,){3}([\\d.]+))'},
'size': {'ignore': 'full',
'validate': '(^full|[\\d.]+,|,[\\d.]+|pct:[\\d.]+|[\\d.]+,[\\d.]+|![\\d.]+,[\\d.]+)'},
'rotation': {'ignore': '0', 'validate': '^!?[\\d.]+$'},
'quality': {'ignore': 'default', 'validate': '(default|color|gr[ae]y|bitonal)'},
'image_format': {'ignore': '',
'validate': '(gif|jp2|jpe?g|pdf|png|tiff?|webp)'}}}
INDEXER_BEFORE_INDEX_HOOKS
List of automatically connected hooks (function or importable string).
INDEXER_BULK_REQUEST_TIMEOUT
Request timeout to use in Bulk indexing.
INDEXER_DEFAULT_INDEX
Default index to use if no schema is defined.
INDEXER_MAX_BULK_CONSUMERS
Maximum number of concurrent consumers for bulk indexing.
This threshold is applied per queue, so each indexing queue would
have a maximum of 5 consumers at the same time.
INDEXER_MQ_EXCHANGE
Default exchange for message queue.
| Invenio RDM Default Value |
Exchange('indexer', type='direct') |
| Type |
unknown |
| Source |
invenio-indexer |
INDEXER_MQ_PUBLISH_KWARGS
Default message queue producer publishing kwargs.
Passed to kombu.Producer:publish.
.. code-block:: python
INDEXER_MQ_PUBLISH_KWARGS = {
"retry": True,
"retry_policy": { # Setting for maximum waiting time of ~10min:
"interval_start": 0, # First retry immediately,
"interval_step": 2, # then increase by 2s for every retry.
"interval_max": 30, # but don't exceed 30s between retries.
"max_retries": 30, # give up after 30 tries.
},
}
INDEXER_MQ_QUEUE
Default queue for message queue.
| Invenio RDM Default Value |
Queue('indexer', exchange=INDEXER_MQ_EXCHANGE, routing_key='indexer') |
| Type |
unknown |
| Source |
invenio-indexer |
INDEXER_MQ_ROUTING_KEY
Default routing key for message queue.
INDEXER_RECORD_TO_INDEX
Provide an implementation of record_to_index function
| Invenio RDM Default Value |
'invenio_indexer.utils.default_record_to_index' |
| Type |
str |
| Source |
invenio-indexer |
INDEXER_REPLACE_REFS
Whether to replace JSONRefs prior to indexing record.
INFO_ENDPOINT_COMPONENTS
| Default Value |
<list> |
| Type |
list |
| Source |
unknown |
['oarepo_rdm.info:RDMInfoComponent']
*INSTANCE_THEME_FILE
*INVENIO_CACHE_TYPE
Slug of the community that holds cross-repository ("global") collection trees.
Collections on this community search across every published record instead of
only records tagged with the holder community (the parent.communities.ids
filter is skipped). The behavior is implemented by the collections records
service in oarepo-rdm. Set to None in deployment config to disable it.
INVENIO_COLLECTIONS_UI_URL_PREFIX
URL prefix mounted by the collections UI blueprint.
INVENIO_RDM_ENABLED
| Default Value |
True |
| Type |
bool |
| Source |
unknown |
*JAVASCRIPT_PACKAGES_MANAGER
JOBS_DEFAULT_QUEUE
Default Celery queue.
| Invenio RDM Default Value |
None |
| Type |
NoneType |
| Source |
invenio-jobs |
JOBS_FACETS
Facets/aggregations for Jobs results.
| Invenio RDM Default Value |
<dict> |
| Type |
dict |
| Source |
invenio-jobs |
JOBS_LOGGING
Enable logging for jobs.
| Invenio RDM Default Value |
True |
| Type |
bool |
| Source |
invenio-jobs |
JOBS_LOGGING_INDEX
"Index name for job logs.
| Invenio RDM Default Value |
'job-logs' |
| Type |
str |
| Source |
invenio-jobs |
*JOBS_LOGGING_LEVEL
Logging level for jobs.
JOBS_LOGGING_RETENTION_DAYS
Retention period for job logs in days.
JOBS_LOGS_BATCH_SIZE
Number of log results to fetch per batch from the search backend.
JOBS_LOGS_MAX_RESULTS
Maximum total number of log results to return in a single search request.
JOBS_PERMISSION_POLICY
Permission policy for jobs.
| Invenio RDM Default Value |
JobPermissionPolicy |
| Type |
unknown |
| Source |
invenio-jobs |
JOBS_QUEUES
| Invenio RDM Default Value |
<dict> |
| Type |
dict |
| Source |
invenio-jobs |
{'celery': {'name': 'celery', 'title': l'Default', 'description': l'Default queue'},
'low': {'name': 'low', 'title': l'Low', 'description': l'Low priority queue'}}
JOBS_RUNS_PERMISSION_POLICY
Permission policy for job runs.
| Invenio RDM Default Value |
RunPermissionPolicy |
| Type |
unknown |
| Source |
invenio-jobs |
JOBS_SEARCH
| Invenio RDM Default Value |
<dict> |
| Type |
dict |
| Source |
invenio-jobs |
{'facets': [], 'sort': ['jobs', 'last_run_start_time', 'user', 'next_run']}
JOBS_SORT_OPTIONS
| Invenio RDM Default Value |
<dict> |
| Type |
dict |
| Source |
invenio-jobs |
{'jobs': {'title': l'Jobs', 'fields': ['jobs']},
'last_run_start_time': {'title': l'Last run', 'fields': ['last_run_start_time']},
'user': {'title': l'Started by', 'fields': ['user']},
'next_run': {'title': l'Next run', 'fields': ['next_run']}}
JOBS_TASKS_PERMISSION_POLICY
Permission policy for tasks.
| Invenio RDM Default Value |
TasksPermissionPolicy |
| Type |
unknown |
| Source |
invenio-jobs |
JSONSCHEMAS_ENDPOINT
Default schema endpoint.
*JSONSCHEMAS_HOST
Default json schema host.
JSONSCHEMAS_LOADER_CLS
Loader class used in JSONRef when replacing $ref.
JSONSCHEMAS_LOCAL_REFRESOLVER_URI_SCHEME
Non-standard URI scheme to reference local schemas.
JSONSCHEMAS_REGISTER_ENDPOINTS_API
Register the endpoints on the API app.
JSONSCHEMAS_REGISTER_ENDPOINTS_UI
Register the endpoints on the UI app.
JSONSCHEMAS_REPLACE_REFS
Whether to resolve $ref before serving a schema.
JSONSCHEMAS_RESOLVER_CLS
Resolver used to resolve the schema.
if :py:const:invenio_jsonschemas.config.JSONSCHEMAS_RESOLVE_SCHEMA is
True or there is ?resolved=1 parameter on the request the resolver
will run over the schema. This can be used for custom schemas resolver.
| Invenio RDM Default Value |
'invenio_jsonschemas.utils.resolve_schema' |
| Type |
str |
| Source |
invenio-jsonschemas |
JSONSCHEMAS_RESOLVE_SCHEMA
Whether to resolve schema using the Resolver Class.
If is True, will replace $ref and run the
:py:const:invenio_jsonschemas.config.JSONSCHEMAS_RESOLVER_CLS class
before serving a schema.
JSONSCHEMAS_SCHEMAS
List of entrypoint names to register JSON Schemas for.
If None, all JSON Schemas defined through the invenio_jsonschemas.schemas
entry point in setup.py will be registered.
If [], no JSON Schemas will be registered.
For example, if you only want to register foo and skip bar schemas:
.. code-block:: python
# in your `setup.py` you would specify:
entry_points={
'invenio_jsonschemas.schemas': [
'foo = invenio_foo.schemas',
'bar = invenio_bar.schemas',
],
}
# and in your config.py
JSONSCHEMAS_SCHEMAS = ['foo']
JSONSCHEMAS_URL_SCHEME
Default url scheme for schemas.
LOGGING_CONSOLE
Enable logging to the console.
LOGGING_CONSOLE_LEVEL
Console logging level.
Set to a valid Python logging level: CRITICAL, ERROR, WARNING,
INFO, DEBUG, or NOTSET.
LOGGING_CONSOLE_PYWARNINGS
Enable logging of Python warnings to the console.
By default, warnings are logged to the console if the application is in debug
mode, otherwise warnings are not logged.
LOGGING_FS_BACKUPCOUNT
Number of rotated log files to keep.
LOGGING_FS_LEVEL
Filesystem logging level.
Set to a valid Python logging level: CRITICAL, ERROR, WARNING,
INFO, DEBUG, or NOTSET.
LOGGING_FS_LOGFILE
Enable logging to the filesystem.
LOGGING_FS_MAXBYTES
Maximum size of logging file. Default: 100MB.
LOGGING_FS_PYWARNINGS
Enable logging of Python warnings to filesystem logging.
LOGGING_SENTRY_CELERY
Configure Celery to send logging to Sentry.
LOGGING_SENTRY_CLASS
Import path of sentry Flask extension class.
This allows you to customize the Sentry extension class.
LOGGING_SENTRY_INIT_KWARGS
Pass extra options when initializing Sentry instance.
LOGGING_SENTRY_LEVEL
Sentry logging level.
Defaults to only reporting errors and warnings.
LOGGING_SENTRY_PYWARNINGS
Enable logging of Python warnings to Sentry.
LOGGING_SENTRY_REDIS
Configure REDIS to send logging to Sentry.
LOGGING_SENTRY_SQLALCHEMY
Configure SQL Alchemy to send logging to Sentry.
MAIL_DEBUG
| Default Value |
False |
| Type |
bool |
| Source |
unknown |
MAIL_DEFAULT_REPLY_TO
Reply to mail address for e-mails.
| Invenio RDM Default Value |
None |
| Type |
NoneType |
| Source |
invenio-mail |
*MAIL_DEFAULT_SENDER
Email address used as sender of account registration emails.
SECURITY_EMAIL_SENDER will default to this value.
MAIL_MAX_ATTACHMENT_SIZE
Max size of inline attachments, in bytes.
| Invenio RDM Default Value |
1000000 |
| Type |
int |
| Source |
invenio-mail |
MAIL_MAX_RETRIES
How often will we repeat if a problem occurred.
MAIL_MIN_LOGGING_LEVEL
Minimum logging level for the mail logger.
*MAIL_SUPPRESS_SEND
Disable email sending by default.
*MATOMO_ANALYTICS_SITE_ID
*MATOMO_ANALYTICS_TEMPLATE
*MATOMO_ANALYTICS_URL
MAX_CONTENT_LENGTH
Maximum allowed content length for form data.
This value limits the maximum file upload size via multipart-formdata and is
a Flask configuration variable that by default is unlimited. The value must
be larger than the maximum part size you want to accept via
application/multipart-formdata (used by e.g. ng-file upload). This value only
limits file upload size via application/multipart-formdata and in particular
does not restrict the maximum file size possible when streaming a file in the
body of a PUT request.
Flask, by default, saves any file bigger than 500kb to a temporary file on
disk, thus do not set this value to large or you may run out of disk space on
your nodes.
MAX_COOKIE_SIZE
| Default Value |
4093 |
| Type |
int |
| Source |
unknown |
| Default Value |
500000 |
| Type |
int |
| Source |
unknown |
| Default Value |
1000 |
| Type |
int |
| Source |
unknown |
MULTIPROFILER_BASE_TEMPLATE
Base template for the profiler page.
| Invenio RDM Default Value |
'flask_multiprofiler/index.html' |
| Type |
unknown |
| Source |
invenio-app-rdm |
MULTIPROFILER_IGNORED_ENDPOINTS
[
'static',
'_debug_toolbar.static',
'profiler\\..+',
'invenio_formatter_badges.badge',
]
MULTIPROFILER_PERMISSION
Function to check for permissions to access the profiler.
| Invenio RDM Default Value |
administration_permission.can |
| Type |
unknown |
| Source |
invenio-app-rdm |
NOTIFICATIONS_BACKENDS
Notification backends.
.. code-block::python
NOTIFICATIONS_BACKENDS = {
"email": EmailBackend,
"cern": CERNNotificationsBackend,
"slack": SlackBackend,
}
{'email': <invenio_notifications.backends.email.EmailNotificationBackend object>}
NOTIFICATIONS_BUILDERS
Notification builders.
The notification builders need to be registered by their type as lookup key for the
notification manager to be able to look up the right notification builder to process
scheduled notifications.
This is because if run as background task, the notification manager will be running
in a Python interpreter different from the one in which the notification was
originally built.
.. code-block::python
NOTIFICATIONS_BUILDERS = {
"community_submission_create": CommunitySubmissionCreate,
"community_submission_accept": CommunitySubmissionAccept,
"community_submission_reject": CommunitySubmissionReject,
"member_invitation_create": CommunityMemberInvitationCreate,
"member_invitation_accept": CommunityMemberInvitationAccept,
"member_invitation_reject": CommunityMemberInvitationReject,
"request_comment_create": RequestCommentCreate,
}
{'guest-access-request-token.create': <class 'invenio_rdm_records.notifications.builders.GuestAccessRequestTokenCreateNotificationBuilder'>,
'guest-access-request.accept': <class 'invenio_rdm_records.notifications.builders.GuestAccessRequestAcceptNotificationBuilder'>,
'guest-access-request.submit': <class 'invenio_rdm_records.notifications.builders.GuestAccessRequestSubmitNotificationBuilder'>,
'guest-access-request.submitted': <class 'invenio_rdm_records.notifications.builders.GuestAccessRequestSubmittedNotificationBuilder'>,
'guest-access-request.cancel': <class 'invenio_rdm_records.notifications.builders.GuestAccessRequestCancelNotificationBuilder'>,
'guest-access-request.decline': <class 'invenio_rdm_records.notifications.builders.GuestAccessRequestDeclineNotificationBuilder'>,
'user-access-request.accept': <class 'invenio_rdm_records.notifications.builders.UserAccessRequestAcceptNotificationBuilder'>,
'user-access-request.submit': <class 'invenio_rdm_records.notifications.builders.UserAccessRequestSubmitNotificationBuilder'>,
'user-access-request.decline': <class 'invenio_rdm_records.notifications.builders.UserAccessRequestDeclineNotificationBuilder'>,
'user-access-request.cancel': <class 'invenio_rdm_records.notifications.builders.UserAccessRequestCancelNotificationBuilder'>,
'grant-user-access.create': <class 'invenio_rdm_records.notifications.builders.GrantUserAccessNotificationBuilder'>,
'comment-request-event.create': <class 'oarepo_requests.notifications.builders.comment.CommentRequestEventCreateNotificationBuilder'>,
'comment-request-event.reply': <class 'invenio_requests.notifications.builders.CommentRequestEventReplyNotificationBuilder'>,
'comment-subcommunity-request.create': <class 'invenio_communities.notifications.builders.SubComReqCommentNotificationBuilder'>,
'comment-subcommunity-invitation-request.create': <class 'invenio_communities.notifications.builders.SubComInvCommentNotificationBuilder'>,
'community-submission.accept': <class 'invenio_rdm_records.notifications.builders.CommunityInclusionAcceptNotificationBuilder'>,
'community-submission.cancel': <class 'invenio_rdm_records.notifications.builders.CommunityInclusionCancelNotificationBuilder'>,
'community-submission.decline': <class 'invenio_rdm_records.notifications.builders.CommunityInclusionDeclineNotificationBuilder'>,
'community-submission.expire': <class 'invenio_rdm_records.notifications.builders.CommunityInclusionExpireNotificationBuilder'>,
'community-submission.submit': <class 'invenio_rdm_records.notifications.builders.CommunityInclusionSubmittedNotificationBuilder'>,
'community-invitation.accept': <class 'invenio_communities.notifications.builders.CommunityInvitationAcceptNotificationBuilder'>,
'community-invitation.cancel': <class 'invenio_communities.notifications.builders.CommunityInvitationCancelNotificationBuilder'>,
'community-invitation.decline': <class 'invenio_communities.notifications.builders.CommunityInvitationDeclineNotificationBuilder'>,
'community-invitation.expire': <class 'invenio_communities.notifications.builders.CommunityInvitationExpireNotificationBuilder'>,
'community-invitation.submit': <class 'invenio_communities.notifications.builders.CommunityInvitationSubmittedNotificationBuilder'>,
'community-membership-request.accept': <class 'invenio_communities.notifications.builders.CommunityMembershipRequestAcceptedNotificationBuilder'>,
'community-membership-request.cancel': <class 'invenio_communities.notifications.builders.CommunityMembershipRequestCancelledNotificationBuilder'>,
'community-membership-request.decline': <class 'invenio_communities.notifications.builders.CommunityMembershipRequestDeclinedNotificationBuilder'>,
'community-membership-request.expire': <class 'invenio_communities.notifications.builders.CommunityMembershipRequestExpiredNotificationBuilder'>,
'community-membership-request.submit': <class 'invenio_communities.notifications.builders.CommunityMembershipRequestSubmittedNotificationBuilder'>,
'subcommunity-request.create': <class 'invenio_communities.notifications.builders.SubCommunityCreate'>,
'subcommunity-request.accept': <class 'invenio_communities.notifications.builders.SubCommunityAccept'>,
'subcommunity-request.decline': <class 'invenio_communities.notifications.builders.SubCommunityDecline'>,
'subcommunity-invitation-request.create': <class 'invenio_communities.notifications.builders.SubComInvitationCreate'>,
'subcommunity-invitation-request.accept': <class 'invenio_communities.notifications.builders.SubComInvitationAccept'>,
'subcommunity-invitation-request.decline': <class 'invenio_communities.notifications.builders.SubComInvitationDecline'>,
'subcommunity-invitation-request.expire': <class 'invenio_communities.notifications.builders.SubComInvitationExpire'>,
'record-deletion.accept': <class 'invenio_rdm_records.notifications.builders.RecordDeletionAcceptNotificationBuilder'>,
'record-deletion.decline': <class 'invenio_rdm_records.notifications.builders.RecordDeletionDeclineNotificationBuilder'>,
'delete-published-record-request-event.submit': <class 'oarepo_requests.notifications.builders.delete_published_record.DeletePublishedRecordRequestSubmitNotificationBuilder'>,
'delete-published-record-request-event.accept': <class 'oarepo_requests.notifications.builders.delete_published_record.DeletePublishedRecordRequestAcceptNotificationBuilder'>,
'delete-published-record-request-event.decline': <class 'oarepo_requests.notifications.builders.delete_published_record.DeletePublishedRecordRequestDeclineNotificationBuilder'>,
'publish-draft-request-event.submit': <class 'oarepo_requests.notifications.builders.publish.PublishDraftRequestSubmitNotificationBuilder'>,
'publish-draft-request-event.accept': <class 'oarepo_requests.notifications.builders.publish.PublishDraftRequestAcceptNotificationBuilder'>,
'publish-draft-request-event.decline': <class 'oarepo_requests.notifications.builders.publish.PublishDraftRequestDeclineNotificationBuilder'>,
'publish-changed-metadata-request-event.submit': <class 'oarepo_requests.notifications.builders.publish.PublishChangedMetadataRequestSubmitNotificationBuilder'>,
'publish-changed-metadata-request-event.accept': <class 'oarepo_requests.notifications.builders.publish.PublishChangedMetadataRequestAcceptNotificationBuilder'>,
'publish-changed-metadata-request-event.decline': <class 'oarepo_requests.notifications.builders.publish.PublishChangedMetadataRequestDeclineNotificationBuilder'>,
'publish-new-version-request-event.submit': <class 'oarepo_requests.notifications.builders.publish.PublishNewVersionRequestSubmitNotificationBuilder'>,
'publish-new-version-request-event.accept': <class 'oarepo_requests.notifications.builders.publish.PublishNewVersionRequestAcceptNotificationBuilder'>,
'publish-new-version-request-event.decline': <class 'oarepo_requests.notifications.builders.publish.PublishNewVersionRequestDeclineNotificationBuilder'>,
'group-membership-request-event.submit': <class 'oarepo_requests.notifications.builders.group_membership.GroupMembershipRequestSubmitNotificationBuilder'>,
'group-membership-request-event.accept': <class 'oarepo_requests.notifications.builders.group_membership.GroupMembershipRequestAcceptNotificationBuilder'>,
'group-membership-request-event.decline': <class 'oarepo_requests.notifications.builders.group_membership.GroupMembershipRequestDeclineNotificationBuilder'>}
NOTIFICATIONS_ENTITY_RESOLVERS
List of entity resolvers used by notification builders.
.. code-block::python
NOTIFICATIONS_ENTITY_RESOLVERS = [
UserResultItemResolver(),
RDMRecordResultItemResolver(),
CommunityResultItemResolver(),
RequestResultItemResolver(),
RequestEventResultItemResolver(),
]
[<invenio_records_resources.references.entity_resolvers.results.ServiceResultResolver object>,
<invenio_records_resources.references.entity_resolvers.results.ServiceResultResolver object>,
<invenio_rdm_records.requests.entity_resolvers.RDMRecordServiceResultResolver object>,
<invenio_records_resources.references.entity_resolvers.results.ServiceResultResolver object>,
<invenio_rdm_records.requests.entity_resolvers.EmailResolver object>,
<invenio_records_resources.references.entity_resolvers.results.ServiceResultResolver object>,
<invenio_records_resources.references.entity_resolvers.results.ServiceResultResolver object>,
<oarepo_requests.notifications.resolvers.MultipleEntitiesNotificationResolver object>]
NOTIFICATIONS_GROUP_EMAIL_DOMAIN
Domain suffix to append to group names when email is not provided.
When a recipient is a group and has no email or email_hidden field, the group's
name will be used as the email address with this domain appended.
Example:
NOTIFICATIONS_GROUP_EMAIL_DOMAIN = "cern.ch"
# Group "physics-team" becomes "physics-team@cern.ch"
Set to None to disable domain formatting (groups must have email field set).
NOTIFICATIONS_MANAGER_CLS
| Default Value |
'oarepo_requests.notifications.manager.NotificationManager' |
| Type |
str |
| Source |
unknown |
NOTIFICATIONS_SETTINGS_VIEW_FUNCTION
View function for notification settings.
This should be set higher up in the module hierarchy (e.g. invenio-app-rdm), as
this module does not have knowledge of the settings view.
NOTIFICATION_RECIPIENTS_RESOLVERS
| Default Value |
<dict> |
| Type |
dict |
| Source |
unknown |
{'community_role': <function <lambda>>,
'community': <function <lambda>>,
'user': <function <lambda>>,
'group': <function <lambda>>,
'multiple': <function <lambda>>,
'action_need': <function <lambda>>}
OAISERVER_ADMIN_EMAILS
['info@inveniosoftware.org']
OAISERVER_BASE_TEMPLATE
| Default Value |
'invenio_theme/page.html' |
| Type |
str |
| Source |
unknown |
OAISERVER_CACHE_KEY
Key prefix added before all keys in cache server.
OAISERVER_CELERY_TASK_CHUNK_SIZE
Specify the maximum number of records each task will update.
OAISERVER_COMPRESSIONS
OAISERVER_CONTROL_NUMBER_FETCHER
PIDStore fetcher for the OAI ID control number.
OAISERVER_CREATED_KEY
Record created key.
OAISERVER_DELETE_PERCOLATOR_FUNCTION
| Invenio RDM Default Value |
'invenio_oaiserver.percolator:_delete_percolator' |
| Type |
str |
| Source |
invenio-oaiserver |
OAISERVER_DESCRIPTIONS
Specify the optional description containers that can be used to express
properties of the repository that are not covered by the standard response
to the Identify verb.
For further information see:
http://www.openarchives.org/OAI/2.0/guidelines.htm
The eprints, oai_identifier and friends description can be added using
the helper functions in utils.py as follows:
.. code-block:: python
from invenio_oaiserver.utils import eprints_description
from invenio_oaiserver.utils import friends_description
from invenio_oaiserver.utils import oai_identifier_description
OAISERVER_DESCRIPTIONS = [
eprints_description(metadataPolicy, dataPolicy,
submissionPolicy, content),
oai_identifier_description(scheme, repositoryIdentifier,
delimiter, sampleIdentifier),
friends_description(baseUrls)
]
The parameters of each description element are strings if their type is unique
or dictionaries, with the type being the key, if it can differ.
E.g. the dataPolicy of the eprints element can consist of a
text and or URL so it will have the form:
.. code-block:: python
metadataPolicy = {'text': 'Metadata can be used by commercial'
'and non-commercial service providers',
'URL': 'http://arXiv.org/arXiv_metadata_use.htm'}
Whereas for the scheme of the oai_identifier it will just be:
.. code-block:: python
If the parameter can take an arbitrary amount of elements it can be a list:
.. code-block:: python
baseUrls = [http://oai.east.org/foo/,
http://oai.hq.org/bar/,
http://oai.south.org/repo.cgi]
OAISERVER_GETRECORD_FETCHER
Record data fetcher for serialization.
OAISERVER_GRANULARITY
The finest harvesting granularity supported by the repository.
The legitimate values are YYYY-MM-DD and YYYY-MM-DDThh:mm:ssZ
with meanings as defined in ISO8601.
OAISERVER_ID_FETCHER
OAI ID fetcher function.
*OAISERVER_ID_PREFIX
The prefix that will be applied to the generated OAI-PMH ids.
OAISERVER_LAST_UPDATE_KEY
Record update key.
OAISERVER_NEW_PERCOLATOR_FUNCTION
| Invenio RDM Default Value |
'invenio_oaiserver.percolator:_new_percolator' |
| Type |
str |
| Source |
invenio-oaiserver |
OAISERVER_PAGE_SIZE
Define maximum length of list responses.
Request with verbs ListRecords, ListIdentifiers, and ListSets
are affected by this option.
OAISERVER_PERCOLATOR_DEDICATED_INDEX
Create a dedicated index for the percolators, instead of storing them in
the same index as the records.
OAISERVER_PROTOCOL_VERSION
OAISERVER_QUERY_PARSER
Define query parser for OIASet definition.
| Invenio RDM Default Value |
invenio_search.engine.dsl.Q |
| Type |
unknown |
| Source |
invenio-oaiserver |
OAISERVER_QUERY_PARSER_FIELDS
Define query parser search fields list for OIASet definition.
OAISERVER_RECORD_CLS
Record retrieval class.
OAISERVER_RECORD_INDEX
Specify a search index with records that should be exposed via OAI-PMH.
OAISERVER_RECORD_LIST_SETS_FETCHER
Record's list OAI sets function.
| Invenio RDM Default Value |
'invenio_oaiserver.percolator:sets_search_all' |
| Type |
str |
| Source |
invenio-oaiserver |
OAISERVER_RECORD_SETS_FETCHER
Record's OAI sets function.
OAISERVER_REGISTER_RECORD_SIGNALS
Catch record/set insert/update/delete signals and update the _oai
field.
OAISERVER_REGISTER_SET_SIGNALS
Catch set insert/update/delete signals and update the _oai record
field.
*OAISERVER_REPOSITORY_NAME
| Default Value |
l'Invenio' |
| Type |
LazyString |
| Source |
unknown |
| Set by |
configure_oai |
OAISERVER_RESUMPTION_TOKEN_EXPIRE_TIME
The expiration time of a resumption token in seconds.
Default: 60 seconds = 1 minute.
.. note::
Setting longer expiration time may have a negative impact on your
search cluster as it might need to keep open cursors.
https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-scroll.html
OAISERVER_SEARCH_CLS
Class for record search.
OAISERVER_SET_RECORDS_QUERY_FETCHER
| Invenio RDM Default Value |
'invenio_oaiserver.fetchers:set_records_query_fetcher' |
| Type |
str |
| Source |
invenio-oaiserver |
OAISERVER_XSL_URL
Specify the url (relative or absolute) to the XML Stylesheet file to
transform XML OAI 2.0 responses into XHTML.
The url can be a relative path to a local static file:
.. code-block:: python
OAISERVER_XSL_URL = '/static/xsl/oai2.xsl'
or an absolute url to a remote file (be aware of CORS restrictions):
.. code-block:: python
OAISERVER_XSL_URL = 'https//www.otherdomain.org/oai2.xsl'
You can obtain an already defined XSL Stylesheet for OAIS 2.0 on EPrints
repository
<https://raw.githubusercontent.com/eprints/eprints/3.3/lib/static/oai2.xsl>_
(GPLv3 licensed).
*OAREPO_CHECKS_DEFAULT_CHAT_EINFRA_CLIENT
*OAREPO_CHECKS_DEFAULT_LLM_CLIENT
*OAREPO_CHECKS_LLM_CLIENTS
| Default Value |
2000000 |
| Type |
int |
| Source |
unknown |
OAREPO_CHECKS_MAX_LLM_OUTPUT_CHARS
| Default Value |
5000000 |
| Type |
int |
| Source |
unknown |
OAREPO_COMMUNITIES_DEFAULT_WORKFLOW
| Default Value |
'default' |
| Type |
str |
| Source |
unknown |
OAREPO_MODELS
| Default Value |
<dict> |
| Type |
dict |
| Source |
unknown |
{'vocabularies': <oarepo_runtime.api.Model object>,
'affiliations': <oarepo_runtime.api.Model object>,
'funders': <oarepo_runtime.api.Model object>,
'awards': <oarepo_runtime.api.Model object>,
'names': <oarepo_runtime.api.Model object>,
'subjects': <oarepo_runtime.api.Model object>}
OAREPO_PERMISSIONS_PRESETS
| Default Value |
<dict> |
| Type |
dict |
| Source |
unknown |
{'vocabularies': <class 'invenio_vocabularies.services.permissions.PermissionPolicy'>}
OAREPO_REQUESTS_DEFAULT_RECEIVER
| Default Value |
'oarepo_requests.receiver.default_workflow_receiver_function' |
| Type |
str |
| Source |
unknown |
OAREPO_UI_JINJAX_FILTERS
| OARepo Default Value |
<dict> |
| Type |
dict |
| Source |
oarepo-ui |
{'compact_number': 'invenio_app_rdm.records_ui.views.filters:compact_number',
'localize_number': 'invenio_app_rdm.records_ui.views.filters:localize_number',
'truncate_number': 'invenio_app_rdm.records_ui.views.filters:truncate_number',
'as_dict': 'oarepo_ui.templating.filters:as_dict',
'ui_value': 'oarepo_ui.templating.filters:ui_value',
'localized': 'oarepo_ui.templating.filters:localized',
'append_query_params': 'oarepo_ui.utils:append_query_params'}
OAREPO_UI_JINJAX_GLOBALS
| OARepo Default Value |
<dict> |
| Type |
dict |
| Source |
oarepo-ui |
{'ui_value': 'oarepo_ui.templating.filters:ui_value',
'as_array': 'oarepo_ui.templating.filters:as_array',
'value': 'oarepo_ui.templating.filters:value',
'as_dict': 'oarepo_ui.templating.filters:as_dict',
'localized': 'oarepo_ui.templating.filters:localized',
'append_query_params': 'oarepo_ui.utils:append_query_params',
'can_view_deposit_page': 'oarepo_ui.utils:can_view_deposit_page'}
OAREPO_UI_LESS_COMPONENTS
| Default Value |
<list> |
| Type |
list |
| Source |
unknown |
OAREPO_UI_MULTILINGUAL_FIELD_LANGUAGES
| OARepo Default Value |
<list> |
| Type |
list |
| Source |
oarepo-ui |
[{'text': 'English', 'value': 'en'}, {'text': 'Czech', 'value': 'cs'}]
OAREPO_UI_OVERRIDES
| Default Value |
<set> |
| Type |
set |
| Source |
unknown |
{UIComponentOverride(endpoint='invenio_app_rdm.index',
overridable_id='InvenioAppRDM.RecordsList.layout',
component=UIComponent(RecordsList <@js/oarepo_ui/search/RecordsList>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_communities.communities_detail',
overridable_id='InvenioCommunities.DetailsSearch.ResultsList.item',
component=UIComponent(DynamicResultsListItem <@js/oarepo_ui/search/DynamicResultsListItem>, UIComponentImportMode.DEFAULT import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_communities.communities_detail',
overridable_id='InvenioCommunities.DetailsSearch.SearchBar.element',
component=UIComponent(ClearableSearchbarElement <@js/oarepo_ui/search/ClearableSearchbarElement>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.community_dashboard_invitation_view',
overridable_id='InvenioRequests.RequestTypeIcon.layout.delete_published_record',
component=UIComponent(IconTypeDeletePublishedRecord <@js/oarepo_requests/components/icons>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.community_dashboard_invitation_view',
overridable_id='InvenioRequests.RequestTypeIcon.layout.edit_published_record',
component=UIComponent(IconTypeEditPublishedRecord <@js/oarepo_requests/components/icons>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.community_dashboard_invitation_view',
overridable_id='InvenioRequests.RequestTypeIcon.layout.new_version',
component=UIComponent(IconTypeNewVersion <@js/oarepo_requests/components/icons>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.community_dashboard_invitation_view',
overridable_id='InvenioRequests.RequestTypeIcon.layout.publish_changed_metadata',
component=UIComponent(IconTypePublishChangedMetadata <@js/oarepo_requests/components/icons>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.community_dashboard_invitation_view',
overridable_id='InvenioRequests.RequestTypeIcon.layout.publish_draft',
component=UIComponent(IconTypePublishDraft <@js/oarepo_requests/components/icons>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.community_dashboard_invitation_view',
overridable_id='InvenioRequests.RequestTypeIcon.layout.publish_new_version',
component=UIComponent(IconTypePublishNewVersion <@js/oarepo_requests/components/icons>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.community_dashboard_invitation_view',
overridable_id='RequestTypeLabel.layout.delete_published_record',
component=UIComponent(LabelTypeDeletePublishedRecord <@js/oarepo_requests/components/labels>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.community_dashboard_invitation_view',
overridable_id='RequestTypeLabel.layout.edit_published_record',
component=UIComponent(LabelTypeEditPublishedRecord <@js/oarepo_requests/components/labels>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.community_dashboard_invitation_view',
overridable_id='RequestTypeLabel.layout.new_version',
component=UIComponent(LabelTypeNewVersion <@js/oarepo_requests/components/labels>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.community_dashboard_invitation_view',
overridable_id='RequestTypeLabel.layout.publish_changed_metadata',
component=UIComponent(LabelTypePublishChangedMetadata <@js/oarepo_requests/components/labels>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.community_dashboard_invitation_view',
overridable_id='RequestTypeLabel.layout.publish_draft',
component=UIComponent(LabelTypePublishDraft <@js/oarepo_requests/components/labels>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.community_dashboard_invitation_view',
overridable_id='RequestTypeLabel.layout.publish_new_version',
component=UIComponent(LabelTypePublishNewVersion <@js/oarepo_requests/components/labels>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.community_dashboard_membership_request_view',
overridable_id='InvenioRequests.RequestTypeIcon.layout.delete_published_record',
component=UIComponent(IconTypeDeletePublishedRecord <@js/oarepo_requests/components/icons>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.community_dashboard_membership_request_view',
overridable_id='InvenioRequests.RequestTypeIcon.layout.edit_published_record',
component=UIComponent(IconTypeEditPublishedRecord <@js/oarepo_requests/components/icons>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.community_dashboard_membership_request_view',
overridable_id='InvenioRequests.RequestTypeIcon.layout.new_version',
component=UIComponent(IconTypeNewVersion <@js/oarepo_requests/components/icons>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.community_dashboard_membership_request_view',
overridable_id='InvenioRequests.RequestTypeIcon.layout.publish_changed_metadata',
component=UIComponent(IconTypePublishChangedMetadata <@js/oarepo_requests/components/icons>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.community_dashboard_membership_request_view',
overridable_id='InvenioRequests.RequestTypeIcon.layout.publish_draft',
component=UIComponent(IconTypePublishDraft <@js/oarepo_requests/components/icons>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.community_dashboard_membership_request_view',
overridable_id='InvenioRequests.RequestTypeIcon.layout.publish_new_version',
component=UIComponent(IconTypePublishNewVersion <@js/oarepo_requests/components/icons>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.community_dashboard_membership_request_view',
overridable_id='RequestTypeLabel.layout.delete_published_record',
component=UIComponent(LabelTypeDeletePublishedRecord <@js/oarepo_requests/components/labels>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.community_dashboard_membership_request_view',
overridable_id='RequestTypeLabel.layout.edit_published_record',
component=UIComponent(LabelTypeEditPublishedRecord <@js/oarepo_requests/components/labels>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.community_dashboard_membership_request_view',
overridable_id='RequestTypeLabel.layout.new_version',
component=UIComponent(LabelTypeNewVersion <@js/oarepo_requests/components/labels>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.community_dashboard_membership_request_view',
overridable_id='RequestTypeLabel.layout.publish_changed_metadata',
component=UIComponent(LabelTypePublishChangedMetadata <@js/oarepo_requests/components/labels>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.community_dashboard_membership_request_view',
overridable_id='RequestTypeLabel.layout.publish_draft',
component=UIComponent(LabelTypePublishDraft <@js/oarepo_requests/components/labels>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.community_dashboard_membership_request_view',
overridable_id='RequestTypeLabel.layout.publish_new_version',
component=UIComponent(LabelTypePublishNewVersion <@js/oarepo_requests/components/labels>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.community_dashboard_request_view',
overridable_id='InvenioRequests.RequestTypeIcon.layout.delete_published_record',
component=UIComponent(IconTypeDeletePublishedRecord <@js/oarepo_requests/components/icons>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.community_dashboard_request_view',
overridable_id='InvenioRequests.RequestTypeIcon.layout.edit_published_record',
component=UIComponent(IconTypeEditPublishedRecord <@js/oarepo_requests/components/icons>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.community_dashboard_request_view',
overridable_id='InvenioRequests.RequestTypeIcon.layout.new_version',
component=UIComponent(IconTypeNewVersion <@js/oarepo_requests/components/icons>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.community_dashboard_request_view',
overridable_id='InvenioRequests.RequestTypeIcon.layout.publish_changed_metadata',
component=UIComponent(IconTypePublishChangedMetadata <@js/oarepo_requests/components/icons>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.community_dashboard_request_view',
overridable_id='InvenioRequests.RequestTypeIcon.layout.publish_draft',
component=UIComponent(IconTypePublishDraft <@js/oarepo_requests/components/icons>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.community_dashboard_request_view',
overridable_id='InvenioRequests.RequestTypeIcon.layout.publish_new_version',
component=UIComponent(IconTypePublishNewVersion <@js/oarepo_requests/components/icons>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.community_dashboard_request_view',
overridable_id='RequestTypeLabel.layout.delete_published_record',
component=UIComponent(LabelTypeDeletePublishedRecord <@js/oarepo_requests/components/labels>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.community_dashboard_request_view',
overridable_id='RequestTypeLabel.layout.edit_published_record',
component=UIComponent(LabelTypeEditPublishedRecord <@js/oarepo_requests/components/labels>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.community_dashboard_request_view',
overridable_id='RequestTypeLabel.layout.new_version',
component=UIComponent(LabelTypeNewVersion <@js/oarepo_requests/components/labels>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.community_dashboard_request_view',
overridable_id='RequestTypeLabel.layout.publish_changed_metadata',
component=UIComponent(LabelTypePublishChangedMetadata <@js/oarepo_requests/components/labels>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.community_dashboard_request_view',
overridable_id='RequestTypeLabel.layout.publish_draft',
component=UIComponent(LabelTypePublishDraft <@js/oarepo_requests/components/labels>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.community_dashboard_request_view',
overridable_id='RequestTypeLabel.layout.publish_new_version',
component=UIComponent(LabelTypePublishNewVersion <@js/oarepo_requests/components/labels>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.user_dashboard_request_view',
overridable_id='InvenioRequests.RequestTypeIcon.layout.delete_published_record',
component=UIComponent(IconTypeDeletePublishedRecord <@js/oarepo_requests/components/icons>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.user_dashboard_request_view',
overridable_id='InvenioRequests.RequestTypeIcon.layout.edit_published_record',
component=UIComponent(IconTypeEditPublishedRecord <@js/oarepo_requests/components/icons>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.user_dashboard_request_view',
overridable_id='InvenioRequests.RequestTypeIcon.layout.new_version',
component=UIComponent(IconTypeNewVersion <@js/oarepo_requests/components/icons>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.user_dashboard_request_view',
overridable_id='InvenioRequests.RequestTypeIcon.layout.publish_changed_metadata',
component=UIComponent(IconTypePublishChangedMetadata <@js/oarepo_requests/components/icons>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.user_dashboard_request_view',
overridable_id='InvenioRequests.RequestTypeIcon.layout.publish_draft',
component=UIComponent(IconTypePublishDraft <@js/oarepo_requests/components/icons>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.user_dashboard_request_view',
overridable_id='InvenioRequests.RequestTypeIcon.layout.publish_new_version',
component=UIComponent(IconTypePublishNewVersion <@js/oarepo_requests/components/icons>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.user_dashboard_request_view',
overridable_id='RequestTypeLabel.layout.delete_published_record',
component=UIComponent(LabelTypeDeletePublishedRecord <@js/oarepo_requests/components/labels>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.user_dashboard_request_view',
overridable_id='RequestTypeLabel.layout.edit_published_record',
component=UIComponent(LabelTypeEditPublishedRecord <@js/oarepo_requests/components/labels>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.user_dashboard_request_view',
overridable_id='RequestTypeLabel.layout.new_version',
component=UIComponent(LabelTypeNewVersion <@js/oarepo_requests/components/labels>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.user_dashboard_request_view',
overridable_id='RequestTypeLabel.layout.publish_changed_metadata',
component=UIComponent(LabelTypePublishChangedMetadata <@js/oarepo_requests/components/labels>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.user_dashboard_request_view',
overridable_id='RequestTypeLabel.layout.publish_draft',
component=UIComponent(LabelTypePublishDraft <@js/oarepo_requests/components/labels>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_requests.user_dashboard_request_view',
overridable_id='RequestTypeLabel.layout.publish_new_version',
component=UIComponent(LabelTypePublishNewVersion <@js/oarepo_requests/components/labels>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_users.requests',
overridable_id='InvenioRequests.RequestTypeIcon.layout.delete_published_record',
component=UIComponent(IconTypeDeletePublishedRecord <@js/oarepo_requests/components/icons>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_users.requests',
overridable_id='InvenioRequests.RequestTypeIcon.layout.edit_published_record',
component=UIComponent(IconTypeEditPublishedRecord <@js/oarepo_requests/components/icons>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_users.requests',
overridable_id='InvenioRequests.RequestTypeIcon.layout.new_version',
component=UIComponent(IconTypeNewVersion <@js/oarepo_requests/components/icons>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_users.requests',
overridable_id='InvenioRequests.RequestTypeIcon.layout.publish_changed_metadata',
component=UIComponent(IconTypePublishChangedMetadata <@js/oarepo_requests/components/icons>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_users.requests',
overridable_id='InvenioRequests.RequestTypeIcon.layout.publish_draft',
component=UIComponent(IconTypePublishDraft <@js/oarepo_requests/components/icons>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_users.requests',
overridable_id='InvenioRequests.RequestTypeIcon.layout.publish_new_version',
component=UIComponent(IconTypePublishNewVersion <@js/oarepo_requests/components/icons>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_users.requests',
overridable_id='RequestTypeLabel.layout.delete_published_record',
component=UIComponent(LabelTypeDeletePublishedRecord <@js/oarepo_requests/components/labels>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_users.requests',
overridable_id='RequestTypeLabel.layout.edit_published_record',
component=UIComponent(LabelTypeEditPublishedRecord <@js/oarepo_requests/components/labels>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_users.requests',
overridable_id='RequestTypeLabel.layout.new_version',
component=UIComponent(LabelTypeNewVersion <@js/oarepo_requests/components/labels>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_users.requests',
overridable_id='RequestTypeLabel.layout.publish_changed_metadata',
component=UIComponent(LabelTypePublishChangedMetadata <@js/oarepo_requests/components/labels>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_users.requests',
overridable_id='RequestTypeLabel.layout.publish_draft',
component=UIComponent(LabelTypePublishDraft <@js/oarepo_requests/components/labels>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_users.requests',
overridable_id='RequestTypeLabel.layout.publish_new_version',
component=UIComponent(LabelTypePublishNewVersion <@js/oarepo_requests/components/labels>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_app_rdm_users.uploads',
overridable_id='InvenioAppRdm.DashboardUploads.ResultsList.item',
component=UIComponent(DynamicResultsListItem <@js/oarepo_ui/search/DynamicResultsListItem>, UIComponentImportMode.DEFAULT import)>)),
UIComponentOverride(endpoint='invenio_communities.communities_requests',
overridable_id='InvenioRequests.RequestTypeIcon.layout.delete_published_record',
component=UIComponent(IconTypeDeletePublishedRecord <@js/oarepo_requests/components/icons>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_communities.communities_requests',
overridable_id='InvenioRequests.RequestTypeIcon.layout.edit_published_record',
component=UIComponent(IconTypeEditPublishedRecord <@js/oarepo_requests/components/icons>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_communities.communities_requests',
overridable_id='InvenioRequests.RequestTypeIcon.layout.new_version',
component=UIComponent(IconTypeNewVersion <@js/oarepo_requests/components/icons>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_communities.communities_requests',
overridable_id='InvenioRequests.RequestTypeIcon.layout.publish_changed_metadata',
component=UIComponent(IconTypePublishChangedMetadata <@js/oarepo_requests/components/icons>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_communities.communities_requests',
overridable_id='InvenioRequests.RequestTypeIcon.layout.publish_draft',
component=UIComponent(IconTypePublishDraft <@js/oarepo_requests/components/icons>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_communities.communities_requests',
overridable_id='InvenioRequests.RequestTypeIcon.layout.publish_new_version',
component=UIComponent(IconTypePublishNewVersion <@js/oarepo_requests/components/icons>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_communities.communities_requests',
overridable_id='RequestTypeLabel.layout.delete_published_record',
component=UIComponent(LabelTypeDeletePublishedRecord <@js/oarepo_requests/components/labels>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_communities.communities_requests',
overridable_id='RequestTypeLabel.layout.edit_published_record',
component=UIComponent(LabelTypeEditPublishedRecord <@js/oarepo_requests/components/labels>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_communities.communities_requests',
overridable_id='RequestTypeLabel.layout.new_version',
component=UIComponent(LabelTypeNewVersion <@js/oarepo_requests/components/labels>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_communities.communities_requests',
overridable_id='RequestTypeLabel.layout.publish_changed_metadata',
component=UIComponent(LabelTypePublishChangedMetadata <@js/oarepo_requests/components/labels>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_communities.communities_requests',
overridable_id='RequestTypeLabel.layout.publish_draft',
component=UIComponent(LabelTypePublishDraft <@js/oarepo_requests/components/labels>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_communities.communities_requests',
overridable_id='RequestTypeLabel.layout.publish_new_version',
component=UIComponent(LabelTypePublishNewVersion <@js/oarepo_requests/components/labels>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_communities.communities_settings',
overridable_id='InvenioCommunities.CommunityProfileForm.GridRow.DangerZone',
component=UIComponent(Disabled <@js/oarepo_ui/components/Disabled>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='invenio_search_ui.search',
overridable_id='InvenioAppRdm.Search.ResultsList.item',
component=UIComponent(DynamicResultsListItem <@js/oarepo_ui/search/DynamicResultsListItem>, UIComponentImportMode.DEFAULT import)>)),
UIComponentOverride(endpoint='invenio_search_ui.search',
overridable_id='InvenioAppRdm.Search.SearchBar.element',
component=UIComponent(ClearableSearchbarElement <@js/oarepo_ui/search/ClearableSearchbarElement>, UIComponentImportMode.NAMED import)>)),
UIComponentOverride(endpoint='oarepo_communities_collections.collection_detail',
overridable_id='InvenioAppRdm.Search.ResultsList.item',
component=UIComponent(DynamicResultsListItem <@js/oarepo_ui/search/DynamicResultsListItem>, UIComponentImportMode.DEFAULT import)>)),
UIComponentOverride(endpoint='oarepo_communities_collections.collection_detail',
overridable_id='InvenioAppRdm.Search.SearchBar.element',
component=UIComponent(ClearableSearchbarElement <@js/oarepo_ui/search/ClearableSearchbarElement>, UIComponentImportMode.NAMED import)>))}
OAREPO_UI_RECORD_ACTIONS
| OARepo Default Value |
<set> |
| Type |
set |
| Source |
oarepo-ui |
{'create',
'delete',
'delete_draft',
'draft_read_deleted_files',
'draft_read_files',
'draft_update_files',
'edit',
'manage',
'manage_files',
'manage_record_access',
'media_read_files',
'moderate',
'new_version',
'publish',
'read',
'read_deleted_files',
'read_draft',
'read_files',
'review',
'search',
'update',
'update_draft',
'update_files',
'view'}
OAREPO_UI_RESULT_LIST_ITEM_REGISTRATION_CALLBACKS
| Default Value |
<list> |
| Type |
list |
| Source |
unknown |
[<function _register_main_search_result_item>,
<function _register_home_page_search_result_item>,
<function _register_collection_search_result_item>,
<function _register_community_uploads_result_item>,
<function _register_dashboard_uploads_result_item>]
OAREPO_VOCABULARIES_PERMISSIONS_PRESETS
{'vocabularies': <class 'invenio_vocabularies.services.permissions.PermissionPolicy'>}
OAREPO_VOCABULARIES_SORT_CF
| Default Value |
<list> |
| Type |
list |
| Source |
unknown |
OAREPO_VOCABULARIES_SUGGEST_CF
| Default Value |
<list> |
| Type |
list |
| Source |
unknown |
OAREPO_VOCABULARIES_UI_RESOURCE
| Default Value |
'oarepo_vocabularies.ui.resources.resource:InvenioVocabulariesUIResource' |
| Type |
str |
| Source |
unknown |
OAREPO_VOCABULARIES_UI_RESOURCE_CONFIG
| Default Value |
'oarepo_vocabularies.ui.resources.config:InvenioVocabulariesUIResourceConfig' |
| Type |
str |
| Source |
unknown |
OAREPO_VOCABULARY_NAMESPACE_URI
| Default Value |
None |
| Type |
NoneType |
| Source |
unknown |
OAREPO_VOCABULARY_TYPE_RESOURCE
OAREPO_VOCABULARY_TYPE_RESOURCE_CONFIG
OAREPO_VOCABULARY_TYPE_SERVICE
OAREPO_VOCABULARY_TYPE_SERVICE_CONFIG
OAUTH2SERVER_ALLOWED_GRANT_TYPES
{'authorization_code', 'client_credentials', 'refresh_token'}
OAUTH2SERVER_ALLOWED_RESPONSE_TYPES
OAUTH2SERVER_ALLOWED_URLENCODE_CHARACTERS
A string of special characters that should be valid inside a query string.
.. seealso::
See :py:func:`monkeypatch_oauthlib_urlencode_chars
<invenio_oauth2server.ext.InvenioOAuth2ServerREST.monkeypatch_oauthlib_urlencode_chars>`
for a full explanation.
OAUTH2SERVER_AUTHORIZE_TEMPLATE
Template used for rendering the authorization request.
| Invenio RDM Default Value |
'invenio_oauth2server/authorize.html' |
| Type |
str |
| Source |
invenio-oauth2server |
OAUTH2SERVER_BASE_TEMPLATE
| Default Value |
'invenio_theme/page.html' |
| Type |
str |
| Source |
unknown |
OAUTH2SERVER_CLIENT_ID_SALT_LEN
Length of client id.
OAUTH2SERVER_CLIENT_SECRET_SALT_LEN
Length of the client secret.
OAUTH2SERVER_COVER_TEMPLATE
| Default Value |
'invenio_theme/page_cover.html' |
| Type |
str |
| Source |
unknown |
Header for the JWT.
.. note::
Authorization: Bearer xxx
Header Authorization type.
.. note::
By default the authorization type is ``Bearer`` as recommented by
`JWT <https://jwt.io>`_
OAUTH2SERVER_JWT_VERIFICATION_FACTORY
Import path of factory used to verify JWT.
The request.headers should be passed as parameter.
| Invenio RDM Default Value |
'invenio_oauth2server.utils:jwt_verify_token' |
| Type |
str |
| Source |
invenio-oauth2server |
OAUTH2SERVER_SETTINGS_TEMPLATE
| Default Value |
'invenio_theme/page_settings.html' |
| Type |
str |
| Source |
unknown |
OAUTH2SERVER_TOKEN_PERSONAL_SALT_LEN
Length of the personal access token.
OAUTH2_CACHE_REDIS_HOST
| Default Value |
<redis.client.Redis(<redis.connection.ConnectionPool(<redis.connection.Connection(host=localhost,por... |
| Type |
Redis |
| Source |
unknown |
OAUTH2_CACHE_TYPE
Type of cache to use for storing the temporary grant token.
OAUTH2_PROVIDER_ERROR_ENDPOINT
Error view endpoint.
*OAUTHCLIENT_AUTO_REDIRECT_TO_EXTERNAL_LOGIN
Redirect to the only external login service under specific conditions.
If this option is enabled and there is exactly one external authentication
service enabled (i.e. one OAuthClient remote app is configured, and local
login is disabled), the login view function will automatically redirect to
that external authentication service.
OAUTHCLIENT_BASE_TEMPLATE
| Default Value |
'invenio_theme/page.html' |
| Type |
str |
| Source |
unknown |
OAUTHCLIENT_COVER_TEMPLATE
| Default Value |
'invenio_theme/page_cover.html' |
| Type |
str |
| Source |
unknown |
OAUTHCLIENT_LOGIN_USER_TEMPLATE_PARENT
| Default Value |
'invenio_accounts/login_user.html' |
| Type |
str |
| Source |
unknown |
*OAUTHCLIENT_REMOTE_APPS
Configuration of remote applications.
OAUTHCLIENT_REST_DEFAULT_ERROR_REDIRECT_URL
Configuration of default error redirect URL.
OAUTHCLIENT_REST_DEFAULT_RESPONSE_HANDLER
Default REST response handler.
OAUTHCLIENT_REST_REMOTE_APPS
Configuration of remote rest applications.
OAUTHCLIENT_SESSION_KEY_PREFIX
Session key prefix used when storing the access token for a remote app.
OAUTHCLIENT_SETTINGS_TEMPLATE
| Default Value |
'invenio_theme/page_settings.html' |
| Type |
str |
| Source |
unknown |
Function called to render the sign up form after authorization succeeded.
OAUTHCLIENT_SIGNUP_TEMPLATE
Template for the signup page.
| Invenio RDM Default Value |
'invenio_oauthclient/signup.html' |
| Type |
str |
| Source |
invenio-oauthclient |
OAUTHCLIENT_SITENAME
| Default Value |
l'Invenio' |
| Type |
LazyString |
| Source |
unknown |
OAUTHCLIENT_STATE_ENABLED
Internal variable used to disable state validation during tests.
OAUTHCLIENT_STATE_EXPIRES
Number of seconds after which the state token expires.
OAUTHCLIENT_TOKEN_EXPIRES_LEEWAY
The number of seconds before the actual expiration of an access token from which it is considered expired.
This ensures that it won't cause issues if some time passes between the check for whether the token is expired and any requests that the token is then used in.
ORCID_PUBLIC_DUMP_S3_BUCKET_NAME
{'img': ['src', 'alt', 'title', 'width', 'height', 'loading'],
'button': ['type', 'name', 'value', 'disabled', 'onclick']}
Extend allowed HTML tags list for static pages content.
PAGES_BASE_TEMPLATE
| Default Value |
'invenio_pages/base.html' |
| Type |
str |
| Source |
unknown |
PAGES_DEFAULT_TEMPLATE
Default template to render.
PAGES_FACETS
Available facets defined for this module.
PAGES_SEARCH
{'facets': [], 'sort': ['url', 'title', 'created', 'updated']}
PAGES_SORT_OPTIONS
{'url': {'title': l'URL', 'fields': ['url']},
'title': {'title': l'Title', 'fields': ['title']},
'created': {'title': l'Created', 'fields': ['created']},
'updated': {'title': l'Updated', 'fields': ['updated']}}
PAGES_TEMPLATES
[('invenio_pages/default.html', 'Default'),
('invenio_pages/dynamic.html', 'Default dynamic')]
PAGES_WHITELIST_CONFIG_KEYS
PERMANENT_SESSION_LIFETIME
| Default Value |
datetime.timedelta(days=31) |
| Type |
timedelta |
| Source |
unknown |
PIDSTORE_APP_LOGGER_HANDLERS
| Default Value |
False |
| Type |
bool |
| Source |
unknown |
PIDSTORE_DATACITE_DOI_PREFIX
Provide a DOI prefix here.
PIDSTORE_OBJECT_ENDPOINTS
| Default Value |
<dict> |
| Type |
dict |
| Source |
unknown |
{'rec': 'recordmetadata.details_view'}
PIDSTORE_RECID_FIELD
Default record id field inside the json data.
This name will be used by the fetcher, to retrieve the record ID value from the
JSON, and by the minter, to store it inside the JSON.
PIDSTORE_RECORDID_OPTIONS
{'length': 10, 'split_every': 5, 'checksum': True}
PREFERRED_URL_SCHEME
| Default Value |
'http' |
| Type |
str |
| Source |
unknown |
PREVIEWABLE_ZIP_PREVIEWER_NATIVE_EXTENSIONS
Extensions for previewable zip.
PREVIEWER_ABSTRACT_TEMPLATE
Parent template used by the available previewers.
PREVIEWER_BASE_CSS_BUNDLES
Basic bundle which includes Font-Awesome/Bootstrap.
PREVIEWER_BASE_JS_BUNDLES
Basic bundle which includes Bootstrap/jQuery.
PREVIEWER_BASE_TEMPLATE
| Default Value |
'invenio_previewer/base.html' |
| Type |
str |
| Source |
unknown |
PREVIEWER_CHARDET_BYTES
Number of bytes to read for character encoding detection by cchardet.
PREVIEWER_CHARDET_CONFIDENCE
Confidence threshold for character encoding detection by cchardet.
PREVIEWER_CONTAINER_ITEM_PREFERENCE
['csv_papaparsejs',
'pdfjs',
'simple_image',
'json_prismjs',
'xml_prismjs',
'mistune',
'video_videojs',
'audio_videojs',
'ipynb',
'zip',
'txt']
PREVIEWER_CSV_MAX_BYTES
Maximum file size in bytes for CSV files.
PREVIEWER_CSV_SNIFFER_ALLOWED_DELIMITERS
Allowed delimiter characters passed to the csv.Sniffer.sniff method.
PREVIEWER_CSV_VALIDATION_BYTES
Number of bytes read by CSV previewer to validate the file.
PREVIEWER_MAX_FILE_SIZE_BYTES
Maximum file size in bytes for JSON/XML files.
PREVIEWER_MAX_IMAGE_SIZE_BYTES
Maximum file size in bytes for image files.
PREVIEWER_PDF_JS_DOCUMENT_INIT_PARAMS
Additional DocumentInitParameters passed to pdfjsLib.getDocument().
See https://mozilla.github.io/pdf.js/api/draft/module-pdfjsLib.html for the full
list of available options.
Example (disable range requests, streaming, and auto-fetching)::
PREVIEWER_PDF_JS_DOCUMENT_INIT_PARAMS = {
"disableStream": True,
"disableRange": True,
"disableAutoFetch": True,
}
PREVIEWER_PDF_JS_ENABLE_SCRIPTING
Enable JavaScript execution in PDF files (disabled by default for security).
PREVIEWER_PREFERENCE
['csv_papaparsejs',
'pdfjs',
'iiif_simple',
'simple_image',
'json_prismjs',
'xml_prismjs',
'mistune',
'video_videojs',
'audio_videojs',
'ipynb',
'previewable_zip',
'txt']
PREVIEWER_RECORD_FILE_FACOTRY
Factory for extracting files from records.
PREVIEWER_TXT_MAX_BYTES
Maximum number of .txt file bytes to preview before truncated.
PREVIEWER_WEB_ARCHIVE_RANGE_REQUESTS
Whether the file server supports range requests or not.
PREVIEWER_ZIP_MAX_FILES
Max number of files showed in the ZIP previewer.
PROPAGATE_EXCEPTIONS
| Default Value |
None |
| Type |
NoneType |
| Source |
unknown |
PROVIDE_AUTOMATIC_OPTIONS
| Default Value |
True |
| Type |
bool |
| Source |
unknown |
PUBLISH_REQUEST_TYPES
| Default Value |
<list> |
| Type |
list |
| Source |
unknown |
['publish_draft', 'publish_new_version']
QUEUES_BROKER_URL
Broker URL for queues.
If the variable is not configured it falls back to the default BROKER_URL
of our application. For more information about how to define your broker here:
https://kombu.readthedocs.io/en/latest/reference/kombu.connection.html#connection
QUEUES_CONNECTION_POOL
Default queues connection pool.
| Invenio RDM Default Value |
get_connection_pool |
| Type |
unknown |
| Source |
invenio-queues |
QUEUES_DEFINITIONS
Static queue definitions.
RATELIMIT_APPLICATION
Global rate limit.
| Invenio RDM Default Value |
set_rate_limit |
| Type |
unknown |
| Source |
invenio-app |
*RATELIMIT_AUTHENTICATED_USER
Rate limit for logged in users.
RATELIMIT_ENABLED
| Default Value |
True |
| Type |
bool |
| Source |
unknown |
*RATELIMIT_GUEST_USER
Rate limit for non logged in users.
Enable rate limit headers. (Default: True)
| Invenio RDM Default Value |
True |
| Type |
bool |
| Source |
invenio-app |
RATELIMIT_KEY_FUNC
Define custom key function.
This config is not part of Flask-Limiter.
This function is used to generate a unique key for each visitor to track
the number of performed requests. If not defined, the default key_func
will be used, which will create the key by concatenating the user agent and
the IP address of the user.
For more information you can also see here
<https://flask-limiter.readthedocs.io/en/stable/#rate-limit-domain>_
| Invenio RDM Default Value |
None |
| Type |
NoneType |
| Source |
invenio-app |
RATELIMIT_PER_ENDPOINT
| Invenio RDM Default Value |
<dict> |
| Type |
dict |
| Source |
invenio-app |
{'security.login': '10 per minute',
'security.register': '10 per minute',
'security.forgot_password': '10 per minute',
'security.reset_password': '10 per minute'}
RATELIMIT_STORAGE_URI
Storage backend to store rate-limiting information.
Memory is used by default if no value is provided.
For more information regarding the mentioned above configuration values and
their available options you can see the `Flask-Limiter configuration
<https://flask-limiter.readthedocs.io/en/stable/#configuration>`_.
.. note::
Provide your Redis URL if you are rate limiting a multithreaded application.
RATELIMIT_STRATEGY
The rate limiting strategy to use.
The strategy used here is the most consistant but also expensive one.
If you are experiencing performance issues due to the increased Redis
traffic, you can replace it with another one from the following
Flask-Limiter strategies
<https://flask-limiter.readthedocs.io/en/stable/#ratelimit-strategy>_.
| Invenio RDM Default Value |
'moving-window' |
| Type |
str |
| Source |
invenio-app |
RDM_ALLOW_EXTERNAL_DOI_VERSIONING
Allow records with external DOIs to be versioned.
Allow users to publish metadata-only records.
Allow record owners to remove communities from records.
When set to False, only community curators, managers, and owners can remove
communities from records. This applies to published records.
Record owners will still be able to add communities, but removal is restricted
to community curators, managers, and owners.
Default: True (backwards compatible - owners can remove communities)
RDM_ALLOW_RESTRICTED_RECORDS
Allow users to set restricted/private records.
RDM_ARCHIVE_DOWNLOAD_ENABLED
Flag to enable/disable the all-in-one download endpoint.
RDM_CITATION_STYLES
[('apa', 'APA'),
('harvard-cite-them-right', 'Harvard'),
('modern-language-association', 'MLA'),
('nlm-citation-sequence', 'Vancouver'),
('chicago-notes-bibliography', 'Chicago'),
('ieee', 'IEEE'),
('iso690-author-date-cs', l'ÄŒSN ISO 690')]
RDM_CITATION_STYLES_DEFAULT
Default citation style
| Invenio RDM Default Value |
'iso690-author-date-cs' |
| Type |
str |
| Source |
invenio-app-rdm |
RDM_COMMUNITIES_ROUTES
{'community-detail': '/communities/<pid_value>/records',
'community-home': '/communities/<pid_value>/',
'community-browse': '/communities/<pid_value>/browse',
'community-static-page': '/communities/<pid_value>/pages/<path:page_slug>',
'community-collection': '/communities/<pid_value>/collections/<tree_slug>/<collection_slug>'}
Records service backing collections; searches all records for the global-collections community.
| OARepo Default Value |
'oarepo_rdm.services.collections:OARepoCollectionsRecordsService' |
| Type |
str |
| Source |
oarepo-rdm |
RDM_COMMUNITY_CONTENT_MODERATION_HANDLERS
[<invenio_rdm_records.services.communities.moderation.UserModerationHandler object>]
Request type for record inclusion requests.
Enforces at least one community per record.
Request type for community submission requests.
RDM_CONTENT_MODERATION_HANDLERS
[<invenio_rdm_records.services.components.verified.UserModerationHandler object>]
RDM_CUSTOM_FIELDS
Records custom fields definition.
.. code-block:: python
[<custom-field-class-type>, <custom-field-class-type>, ...]
For example:
.. code-block:: python
[TextCF(name="experiment"), ...]
RDM_CUSTOM_FIELDS_UI
Upload form custom fields UI configuration.
Of the shape:
.. code-block:: python
[{
section: <section_name>,
fields: [
{
field: "path-to-field", # this should be validated against the defined fields in `RDM_CUSTOM_FIELDS`
ui_widget: "<ui-widget-name>", # predefined or user defined ui widget
props: {
label:"<ui-label-to-display>",
placeholder:"<placeholder-passed-to-widget>",
icon:"<icon-passed-to-widget>",
description:"<description-passed-to-widget>",
}
},
],
# ...
}]
For example:
.. code-block:: python
[{
"section": "CERN Experiment"
"fields" : [{
field: "experiment", # this should be validated against the defined fields in `RDM_CUSTOM_FIELDS`
ui_widget: "CustomTextField", # user defined widget in my-site
props: {
label: "Experiment",
placeholder: "Type an experiment...",
icon: "pencil",
description: "You should fill this field with one of the experiments e.g LHC, ATLAS etc.",
}
},
...
}]
RDM_DATACITE_DUMP_OPENAIRE_ACCESS_RIGHTS
Flag to control dumping DataCite OpenAIRE access rights.
See https://guidelines.openaire.eu/en/latest/data/field_rights.html for further
information on how the OpenAIRE Guidelines expect access rights to be exposed
via the DataCite schema.
RDM_DATACITE_FUNDER_IDENTIFIERS_PRIORITY
Priority of funder identifiers types to be used for DataCite serialization.
('ror', 'doi', 'grid', 'isni', 'gnd')
RDM_DEFAULT_FILES_ENABLED
Deposit page files enabled value on new records.
RDM_DETAIL_SIDE_BAR_MANAGE_ATTRIBUTES_EXTENSION_TEMPLATE
Side bar manage attributes extension template.
RDM_FACETS
{
'access_status': {
'facet': facets.access_status,
'ui': {
'field': 'access.status',
},
},
'is_published': {
'facet': facets.is_published,
'ui': {
'field': 'is_published',
},
},
'file_type': {
'facet': facets.filetype,
'ui': {
'field': 'files.types',
},
},
'language': {
'facet': facets.language,
'ui': {
'field': 'languages',
},
},
'resource_type': {
'facet': facets.resource_type,
'ui': {
'field': 'resource_type.type',
'childAgg': {
'field': 'resource_type.subtype',
},
},
},
'subject': {
'facet': facets.subject,
'ui': {
'field': 'subjects.subject',
},
},
'subject_nested': {
'facet': facets.subject_nested,
'ui': {
'field': 'subjects.scheme',
'childAgg': {
'field': 'subjects.subject',
},
},
},
'subject_combined': {
'facet': facets.subject_combined,
'ui': {
'field': 'subjects.scheme',
'childAgg': {
'field': 'subjects.subject',
},
},
},
'publication_date': {
'facet': facets.publication_date,
'ui': {
'field': 'publication_date',
'type': 'date',
'separator': '..',
},
},
}
*RDM_FILES_DEFAULT_MAX_ADDITIONAL_QUOTA_SIZE
Default additional quota size for a bucket in bytes for files.
*RDM_FILES_DEFAULT_MAX_FILE_SIZE
Default maximum file size for a bucket in bytes for files.
*RDM_FILES_DEFAULT_QUOTA_SIZE
Default size for a bucket in bytes for files.
*RDM_FILE_MODIFICATION_PERIOD
Time period after creation during which modified files can be published.
30 + 30 denotes grace period + extra days for file modification. This is checked
during publish to block people from publishing after this period given the bucket stays open.
RDM_FILE_MODIFICATION_POLICY
Policy class which evaluates whether published files can be modified by a user.
| Invenio RDM Default Value |
FileModificationPolicyEvaluator |
| Type |
unknown |
| Source |
invenio-rdm-records |
['gif', 'jp2', 'jpeg', 'jpg', 'png', 'tif', 'tiff']
Allow editing of published files (by default by admins only).
List of policies for editing published files immediately.
To enable users to modify the files of their records, configure as:
.. code-block:: python
from invenio_rdm_records.services.request_policies import (
FileModificationGracePeriodPolicy,
FileModificationAdminPolicy,
)
RDM_IMMEDIATE_FILE_MODIFICATION_POLICIES = [
FileModificationGracePeriodPolicy(),
FileModificationAdminPolicy(),
]
Also check whether you also want to pass a custom grace period or change
RDM_FILE_MODIFICATION_PERIOD.
Policies are executed in order and the first one to return True is used
as the policy for the record. As such, policies should be specified from most
to least specific.
To update a policy, create a duplicate of it and add a check on creation date to
both. When your policy comes into effect on a date in the future it will be used,
and this is the date which you will use to check whether the new or old policy
will apply.
[<invenio_rdm_records.services.request_policies.FileModificationAdminPolicy object>]
Allow increasing of draft's quota from a user's additional quota.
RDM_FILES_DEFAULT_MAX_ADDITIONAL_QUOTA_SIZE controls how much each user has
available across their records
List of policies for user's increasing their quota for a draft.
To enable users and admins to increase the quota for drafts, configure as:
.. code-block:: python
from invenio_rdm_records.services.request_policies import (
QuotaIncreaseAdminPolicy,
QuotaIncreasePolicy,
)
RDM_IMMEDIATE_QUOTA_INCREASE_POLICIES = [
QuotaIncreasePolicy(),
QuotaIncreaseAdminPolicy(),
]
Policies are executed in order and the first one to return True is used
as the policy for the record. As such, policies should be specified from most
to least specific.
To update a policy, create a duplicate of it and add a check on creation date to
both. When your policy comes into effect on a date in the future it will be used,
and this is the date which you will use to check whether the new or old policy
will apply.
Checklist which appears on the modal to redirect user from immediate record deletion if possible.
The config accepts a list of dictionaries with "label" and "message" key-value pairs.
The "label" is used as the checklist question item, and the "message" is displayed in
case the user selects "Yes" on the checklist item.
Example config value:
.. code-block:: python
RDM_IMMEDIATE_RECORD_DELETION_CHECKLIST = [
{
"label": _("I want to change the metadata (title, description, etc.)"),
"message": _(
"You can edit the metadata of a published record at any time."
),
},
{
"label": _("I forgot to submit to a community"),
"message": _(
"You can submit a published record to a community by going to the "
"record landing page and selecting the cog in the communities sidebar."
),
},
]
Allow users to immediately delete records.
List of policies for immediate record deletion.
Policies are executed in order and the first one to return True is used
as the policy for the record. As such, policies should be specified from most
to least specific.
To update a policy, create a duplicate of it and add a check on creation date to
both. When your policy comes into effect on a date in the future it will be used,
and this is the date which you will use to check whether the new or old policy
will apply.
[<invenio_rdm_records.services.request_policies.GracePeriodPolicy object>]
RDM_LOCK_EDIT_PUBLISHED_FILES
Lock editing already published files (enforce record versioning).
signature to implement:
def lock_edit_published_files(service, identity, record=None, draft=None):
Default maximum file size for a bucket in bytes for media files.
Default size for a bucket in bytes for media files.
RDM_NAMESPACES
Custom fields namespaces.
.. code-block:: python
{<namespace>: <uri>, ...}
For example:
.. code-block:: python
{
"cern": "https://cern.ch/terms",
"dwc": "http://rs.tdwg.org/dwc/terms/"
}
RDM_NEW_RECORD_VERSION_REVIEW_POLICY
Policy for when to require a community review for new record versions.
RDM_NOTIFICATIONS_BUILDERS
| Default Value |
<dict> |
| Type |
dict |
| Source |
unknown |
{'guest-access-request-token.create': <class 'invenio_rdm_records.notifications.builders.GuestAccessRequestTokenCreateNotificationBuilder'>,
'guest-access-request.accept': <class 'invenio_rdm_records.notifications.builders.GuestAccessRequestAcceptNotificationBuilder'>,
'guest-access-request.submit': <class 'invenio_rdm_records.notifications.builders.GuestAccessRequestSubmitNotificationBuilder'>,
'guest-access-request.submitted': <class 'invenio_rdm_records.notifications.builders.GuestAccessRequestSubmittedNotificationBuilder'>,
'guest-access-request.cancel': <class 'invenio_rdm_records.notifications.builders.GuestAccessRequestCancelNotificationBuilder'>,
'guest-access-request.decline': <class 'invenio_rdm_records.notifications.builders.GuestAccessRequestDeclineNotificationBuilder'>,
'user-access-request.accept': <class 'invenio_rdm_records.notifications.builders.UserAccessRequestAcceptNotificationBuilder'>,
'user-access-request.submit': <class 'invenio_rdm_records.notifications.builders.UserAccessRequestSubmitNotificationBuilder'>,
'user-access-request.decline': <class 'invenio_rdm_records.notifications.builders.UserAccessRequestDeclineNotificationBuilder'>,
'user-access-request.cancel': <class 'invenio_rdm_records.notifications.builders.UserAccessRequestCancelNotificationBuilder'>,
'grant-user-access.create': <class 'invenio_rdm_records.notifications.builders.GrantUserAccessNotificationBuilder'>,
'comment-request-event.create': <class 'invenio_requests.notifications.builders.CommentRequestEventCreateNotificationBuilder'>,
'comment-request-event.reply': <class 'invenio_requests.notifications.builders.CommentRequestEventReplyNotificationBuilder'>,
'comment-subcommunity-request.create': <class 'invenio_communities.notifications.builders.SubComReqCommentNotificationBuilder'>,
'comment-subcommunity-invitation-request.create': <class 'invenio_communities.notifications.builders.SubComInvCommentNotificationBuilder'>,
'community-submission.accept': <class 'invenio_rdm_records.notifications.builders.CommunityInclusionAcceptNotificationBuilder'>,
'community-submission.cancel': <class 'invenio_rdm_records.notifications.builders.CommunityInclusionCancelNotificationBuilder'>,
'community-submission.decline': <class 'invenio_rdm_records.notifications.builders.CommunityInclusionDeclineNotificationBuilder'>,
'community-submission.expire': <class 'invenio_rdm_records.notifications.builders.CommunityInclusionExpireNotificationBuilder'>,
'community-submission.submit': <class 'invenio_rdm_records.notifications.builders.CommunityInclusionSubmittedNotificationBuilder'>,
'community-invitation.accept': <class 'invenio_communities.notifications.builders.CommunityInvitationAcceptNotificationBuilder'>,
'community-invitation.cancel': <class 'invenio_communities.notifications.builders.CommunityInvitationCancelNotificationBuilder'>,
'community-invitation.decline': <class 'invenio_communities.notifications.builders.CommunityInvitationDeclineNotificationBuilder'>,
'community-invitation.expire': <class 'invenio_communities.notifications.builders.CommunityInvitationExpireNotificationBuilder'>,
'community-invitation.submit': <class 'invenio_communities.notifications.builders.CommunityInvitationSubmittedNotificationBuilder'>,
'community-membership-request.accept': <class 'invenio_communities.notifications.builders.CommunityMembershipRequestAcceptedNotificationBuilder'>,
'community-membership-request.cancel': <class 'invenio_communities.notifications.builders.CommunityMembershipRequestCancelledNotificationBuilder'>,
'community-membership-request.decline': <class 'invenio_communities.notifications.builders.CommunityMembershipRequestDeclinedNotificationBuilder'>,
'community-membership-request.expire': <class 'invenio_communities.notifications.builders.CommunityMembershipRequestExpiredNotificationBuilder'>,
'community-membership-request.submit': <class 'invenio_communities.notifications.builders.CommunityMembershipRequestSubmittedNotificationBuilder'>,
'subcommunity-request.create': <class 'invenio_communities.notifications.builders.SubCommunityCreate'>,
'subcommunity-request.accept': <class 'invenio_communities.notifications.builders.SubCommunityAccept'>,
'subcommunity-request.decline': <class 'invenio_communities.notifications.builders.SubCommunityDecline'>,
'subcommunity-invitation-request.create': <class 'invenio_communities.notifications.builders.SubComInvitationCreate'>,
'subcommunity-invitation-request.accept': <class 'invenio_communities.notifications.builders.SubComInvitationAccept'>,
'subcommunity-invitation-request.decline': <class 'invenio_communities.notifications.builders.SubComInvitationDecline'>,
'subcommunity-invitation-request.expire': <class 'invenio_communities.notifications.builders.SubComInvitationExpire'>,
'record-deletion.accept': <class 'invenio_rdm_records.notifications.builders.RecordDeletionAcceptNotificationBuilder'>,
'record-deletion.decline': <class 'invenio_rdm_records.notifications.builders.RecordDeletionDeclineNotificationBuilder'>}
RDM_OAI_PMH_FACETS
RDM_OAI_PMH_SEARCH
{'facets': [], 'sort': ['name', 'spec', 'created', 'updated']}
RDM_OAI_PMH_SORT_OPTIONS
{'name': {'title': l'Set name', 'fields': ['name']},
'spec': {'title': l'Set spec', 'fields': ['spec']},
'created': {'title': l'Created', 'fields': ['created']},
'updated': {'title': l'Updated', 'fields': ['updated']}}
RDM_OPTIONAL_DOI_VALIDATOR
Optional DOI transitions validate method.
Check the signature of validate_optional_doi for more information.
RDM_PARENT_PERSISTENT_IDENTIFIERS
{'doi': {'providers': ['datacite'],
'required': True,
'condition': <function <lambda>>,
'label': l'Concept DOI',
'validator': <function is_doi>,
'normalizer': <function normalize_doi>,
'is_enabled': <bound method DataCitePIDProvider.is_enabled of <class 'oarepo_doi.services.providers.provider.DataCiteRecordAwareProvider'>>}}
RDM_PARENT_PERSISTENT_IDENTIFIER_PROVIDERS
[<oarepo_doi.services.providers.provider.DataCiteRecordAwareProvider object>]
RDM_PERMISSION_POLICY
Override the default record permission policy.
RDM_PERSISTENT_IDENTIFIERS
{'doi': {'providers': ['datacite'],
'required': True,
'label': l'DOI',
'validator': <function is_doi>,
'normalizer': <function normalize_doi>,
'is_enabled': <bound method DataCitePIDProvider.is_enabled of <class 'oarepo_doi.services.providers.provider.DataCiteRecordAwareProvider'>>,
'ui': {'default_selected': 'no'}},
'oai': {'providers': ['oai'],
'required': True,
'label': l'OAI',
'is_enabled': <bound method OAIPIDProvider.is_enabled of <class 'invenio_rdm_records.services.pids.providers.oai.OAIPIDProvider'>>}}
RDM_PERSISTENT_IDENTIFIER_PROVIDERS
[<oarepo_doi.services.providers.provider.DataCiteRecordAwareProvider object>,
<invenio_rdm_records.services.pids.providers.oai.OAIPIDProvider object>]
RDM_QUOTA_INCREASE_POLICY
Policy class which evaluates whether the quota for drafts can be increased.
RDM_RECORDS_ACCESS_SERVICE_CLASS
| OARepo Default Value |
'oarepo_rdm.services.delegating.DelegatingRecordAccessService' |
| Type |
str |
| Source |
oarepo-rdm |
RDM_RECORDS_ALLOW_RESTRICTION_AFTER_GRACE_PERIOD
Whether record access restriction is allowed after the grace period or not.
Community records service config that uses the multiplexed search options.
| OARepo Default Value |
'oarepo_rdm.services.config:OARepoCommunityRecordsConfig' |
| Type |
str |
| Source |
oarepo-rdm |
Community records service that multiplexes search across per-model services.
| OARepo Default Value |
'oarepo_rdm.services.service:OARepoCommunityRecordsService' |
| Type |
str |
| Source |
oarepo-rdm |
RDM_RECORDS_CONTAINER_EXTENSIONS
List of file extensions for container files.
Experimental, this config can later be removed.
*RDM_RECORDS_ERROR_HANDLERS
{<class 'marshmallow.exceptions.ValidationError'>: <function create_error_handler.<locals>.error_handler>,
<class 'invenio_records_resources.services.errors.ValidationErrorGroup'>: <function create_error_handler.<locals>.error_handler>,
<class 'invenio_records_resources.services.errors.RevisionIdMismatchError'>: <function create_error_handler.<locals>.error_handler>,
<class 'invenio_records_resources.services.errors.QuerystringValidationError'>: <function create_error_handler.<locals>.error_handler>,
<class 'invenio_records_resources.services.errors.PermissionDeniedError'>: <function create_error_handler.<locals>.error_handler>,
<class 'invenio_records_resources.services.errors.RecordPermissionDeniedError'>: <function create_error_handler.<locals>.error_handler>,
<class 'invenio_pidstore.errors.PIDDeletedError'>: <function create_error_handler.<locals>.error_handler>,
<class 'invenio_pidstore.errors.PIDAlreadyExists'>: <function create_error_handler.<locals>.error_handler>,
<class 'invenio_pidstore.errors.PIDDoesNotExistError'>: <function create_error_handler.<locals>.error_handler>,
<class 'invenio_pidstore.errors.PIDUnregistered'>: <function create_error_handler.<locals>.error_handler>,
<class 'invenio_pidstore.errors.PIDRedirectedError'>: <function create_pid_redirected_error_handler.<locals>.pid_redirected_error_handler>,
<class 'sqlalchemy.exc.NoResultFound'>: <function create_error_handler.<locals>.error_handler>,
<class 'invenio_records_resources.services.errors.FacetNotFoundError'>: <function create_error_handler.<locals>.error_handler>,
<class 'invenio_records_resources.services.errors.FileKeyNotFoundError'>: <function create_error_handler.<locals>.error_handler>,
<class 'invenio_records_resources.services.errors.ArchiveDownloadTooLargeException'>: <function create_error_handler.<locals>.error_handler>,
<class 'json.decoder.JSONDecodeError'>: <function create_error_handler.<locals>.error_handler>,
<class 'invenio_records.systemfields.relations.errors.InvalidRelationValue'>: <function create_error_handler.<locals>.error_handler>,
<class 'invenio_records.systemfields.relations.errors.InvalidCheckValue'>: <function create_error_handler.<locals>.error_handler>,
<class 'opensearchpy.exceptions.RequestError'>: <function create_error_handler.<locals>.error_handler>,
<class 'invenio_records_resources.services.errors.FailedFileUploadException'>: <function create_error_handler.<locals>.error_handler>,
<class 'invenio_records_resources.services.errors.FilesCountExceededException'>: <function create_error_handler.<locals>.error_handler>,
<class 'invenio_rdm_records.resources.deserializers.errors.DeserializerError'>: <function create_error_handler.<locals>.error_handler>,
<class 'citeproc_styles.errors.StyleNotFoundError'>: <function create_error_handler.<locals>.error_handler>,
<class 'invenio_rdm_records.services.errors.ReviewNotFoundError'>: <function create_error_handler.<locals>.error_handler>,
<class 'invenio_rdm_records.services.errors.ReviewStateError'>: <function create_error_handler.<locals>.error_handler>,
<class 'invenio_rdm_records.services.errors.ReviewExistsError'>: <function create_error_handler.<locals>.error_handler>,
<class 'invenio_rdm_records.services.errors.InvalidAccessRestrictions'>: <function create_error_handler.<locals>.error_handler>,
<class 'invenio_rdm_records.services.errors.ValidationErrorWithMessageAsList'>: <function create_error_handler.<locals>.error_handler>,
<class 'invenio_rdm_records.services.errors.AccessRequestExistsError'>: <function create_error_handler.<locals>.error_handler>,
<class 'invenio_rdm_records.services.errors.RecordDeletedException'>: <function create_error_handler.<locals>.error_handler>,
<class 'invenio_rdm_records.services.errors.DeletionStatusException'>: <function create_error_handler.<locals>.error_handler>,
<class 'invenio_rdm_records.services.errors.RecordSubmissionClosedCommunityError'>: <function create_error_handler.<locals>.error_handler>,
<class 'invenio_rdm_records.services.errors.CommunityRequiredError'>: <function create_error_handler.<locals>.error_handler>,
<class 'oarepo_rdm.errors.UndefinedModelError'>: <function create_error_handler.<locals>.error_handler>}
RDM_RECORDS_IDENTIFIERS_SCHEMES
{'ark': {'label': l'ARK',
'validator': <function is_ark>,
'datacite': 'ARK'},
'arxiv': {'label': l'arXiv',
'validator': <function is_arxiv>,
'datacite': 'arXiv'},
'ads': {'label': l'Bibcode',
'validator': <function is_ads>,
'datacite': 'bibcode'},
'crossreffunderid': {'label': l'Crossref Funder ID',
'validator': <function always_valid>,
'datacite': 'Crossref Funder ID'},
'cstr': {'label': l'CSTR',
'validator': <function is_cstr>,
'datacite': 'CSTR'},
'doi': {'label': l'DOI',
'validator': <function is_doi>,
'datacite': 'DOI'},
'ean13': {'label': l'EAN13',
'validator': <function is_ean13>,
'datacite': 'EAN13'},
'eissn': {'label': l'EISSN',
'validator': <function is_issn>,
'datacite': 'EISSN'},
'grid': {'label': l'GRID',
'validator': <function always_valid>,
'datacite': 'GRID'},
'handle': {'label': l'Handle',
'validator': <function is_handle>,
'datacite': 'Handle'},
'igsn': {'label': l'IGSN',
'validator': <function always_valid>,
'datacite': 'IGSN'},
'isbn': {'label': l'ISBN',
'validator': <function is_isbn>,
'datacite': 'ISBN'},
'isni': {'label': l'ISNI',
'validator': <function is_isni>,
'datacite': 'ISNI'},
'issn': {'label': l'ISSN',
'validator': <function is_issn>,
'datacite': 'ISSN'},
'istc': {'label': l'ISTC',
'validator': <function is_istc>,
'datacite': 'ISTC'},
'lissn': {'label': l'LISSN',
'validator': <function is_issn>,
'datacite': 'LISSN'},
'lsid': {'label': l'LSID',
'validator': <function is_lsid>,
'datacite': 'LSID'},
'pmid': {'label': l'PMID',
'validator': <function is_pmid>,
'datacite': 'PMID'},
'purl': {'label': l'PURL',
'validator': <function is_purl>,
'datacite': 'PURL'},
'rrid': {'label': l'RRID',
'validator': <function is_rrid>,
'datacite': 'RRID'},
'upc': {'label': l'UPC',
'validator': <function always_valid>,
'datacite': 'UPC'},
'url': {'label': l'URL',
'validator': <function is_url>,
'datacite': 'URL'},
'urn': {'label': l'URN',
'validator': <function is_urn>,
'datacite': 'URN'},
'wikidata': {'label': l'Wikidata',
'validator': <function is_wikidata>,
'datacite': 'Other'},
'w3id': {'label': l'W3ID',
'validator': <function always_valid>,
'datacite': 'w3id'},
'other': {'label': l'Other',
'validator': <function always_valid>,
'datacite': 'Other'}}
RDM_RECORDS_LOCATION_SCHEMES
{'wikidata': {'label': l'Wikidata', 'validator': <function is_wikidata>},
'geonames': {'label': l'GeoNames',
'validator': <function always_valid>}}
*RDM_RECORDS_MAX_FILES_COUNT
Max amount of files allowed to upload in the deposit form.
Max amount of media files allowed to upload in the deposit form.
RDM_RECORDS_PERSONORG_SCHEMES
{'orcid': {'label': l'ORCID',
'validator': <function is_orcid>,
'datacite': 'ORCID'},
'isni': {'label': l'ISNI',
'validator': <function is_isni>,
'datacite': 'ISNI'},
'gnd': {'label': l'GND',
'validator': <function is_gnd>,
'datacite': 'GND'},
'ror': {'label': l'ROR',
'validator': <function is_ror>,
'datacite': 'ROR'},
'scopusid': {'label': l'Scopus Author ID',
'validator': <function is_scopus_id>,
'datacite': 'Scopus Author ID'},
'researcherid': {'label': l'Researcher ID',
'validator': <function is_researcher_id>,
'datacite': 'ResearcherID'},
'czenasautid': {'label': l'CzenasAutID',
'validator': <function <lambda>>},
'vedidk': {'label': l'vedIDK', 'validator': <function is_vedidk>},
'institutionalid': {'label': l'InstitutionalID',
'validator': <function <lambda>>},
'ico': {'label': l'ICO', 'validator': <function <lambda>>},
'doi': {'label': l'DOI',
'validator': <function is_doi>,
'datacite': 'DOI'},
'url': {'label': l'URL', 'validator': <function <lambda>>},
'grid': {'label': l'GRID', 'validator': <function <lambda>>}}
RDM_RECORDS_PIDS_SERVICE_CLASS
| OARepo Default Value |
'oarepo_rdm.services.delegating.DelegatingPIDsService' |
| Type |
str |
| Source |
oarepo-rdm |
This variable is used to separate related identifiers.
{'ark': {'label': l'ARK',
'validator': <function is_ark>,
'datacite': 'ARK'},
'arxiv': {'label': l'arXiv',
'validator': <function is_arxiv>,
'datacite': 'arXiv'},
'ads': {'label': l'Bibcode',
'validator': <function is_ads>,
'datacite': 'bibcode'},
'crossreffunderid': {'label': l'Crossref Funder ID',
'validator': <function always_valid>,
'datacite': 'Crossref Funder ID'},
'cstr': {'label': l'CSTR',
'validator': <function is_cstr>,
'datacite': 'CSTR'},
'doi': {'label': l'DOI',
'validator': <function is_doi>,
'datacite': 'DOI'},
'ean13': {'label': l'EAN13',
'validator': <function is_ean13>,
'datacite': 'EAN13'},
'eissn': {'label': l'EISSN',
'validator': <function is_issn>,
'datacite': 'EISSN'},
'grid': {'label': l'GRID',
'validator': <function always_valid>,
'datacite': 'GRID'},
'handle': {'label': l'Handle',
'validator': <function is_handle>,
'datacite': 'Handle'},
'igsn': {'label': l'IGSN',
'validator': <function always_valid>,
'datacite': 'IGSN'},
'isbn': {'label': l'ISBN',
'validator': <function is_isbn>,
'datacite': 'ISBN'},
'isni': {'label': l'ISNI',
'validator': <function is_isni>,
'datacite': 'ISNI'},
'issn': {'label': l'ISSN',
'validator': <function is_issn>,
'datacite': 'ISSN'},
'istc': {'label': l'ISTC',
'validator': <function is_istc>,
'datacite': 'ISTC'},
'lissn': {'label': l'LISSN',
'validator': <function is_issn>,
'datacite': 'LISSN'},
'lsid': {'label': l'LSID',
'validator': <function is_lsid>,
'datacite': 'LSID'},
'pmid': {'label': l'PMID',
'validator': <function is_pmid>,
'datacite': 'PMID'},
'purl': {'label': l'PURL',
'validator': <function is_purl>,
'datacite': 'PURL'},
'rrid': {'label': l'RRID',
'validator': <function is_rrid>,
'datacite': 'RRID'},
'upc': {'label': l'UPC',
'validator': <function always_valid>,
'datacite': 'UPC'},
'url': {'label': l'URL',
'validator': <function is_url>,
'datacite': 'URL'},
'urn': {'label': l'URN',
'validator': <function is_urn>,
'datacite': 'URN'},
'wikidata': {'label': l'Wikidata',
'validator': <function is_wikidata>,
'datacite': 'Other'},
'w3id': {'label': l'W3ID',
'validator': <function always_valid>,
'datacite': 'w3id'},
'other': {'label': l'Other',
'validator': <function always_valid>,
'datacite': 'Other'}}
RDM_RECORDS_REQUIRE_SECRET_LINKS_EXPIRATION
Whether share access links require an expiration date to be set or not.
RDM_RECORDS_RESOURCE_CLASS
Replacement for the plain RDM resource class.
| OARepo Default Value |
'oarepo_rdm.resources.records.resource:OARepoRDMRecordResource' |
| Type |
str |
| Source |
oarepo-rdm |
RDM_RECORDS_RESOURCE_CONFIG_CLASS
Resource config class.
| OARepo Default Value |
'oarepo_rdm.resources.records.config:OARepoRDMRecordResourceConfig' |
| Type |
str |
| Source |
oarepo-rdm |
RDM_RECORDS_RESTRICTION_GRACE_PERIOD
Grace period for changing record access to restricted.
| Invenio RDM Default Value |
datetime.timedelta(days=30) |
| Type |
timedelta |
| Source |
invenio-rdm-records |
RDM_RECORDS_REVIEWS
RDM_RECORDS_REVIEW_SERVICE_CLASS
| OARepo Default Value |
'oarepo_rdm.services.delegating.DelegatingReviewService' |
| Type |
str |
| Source |
oarepo-rdm |
RDM_RECORDS_SERVICE_CLASS
Replacement for the plain RDM service class.
| OARepo Default Value |
'oarepo_rdm.services.service:OARepoRDMService' |
| Type |
str |
| Source |
oarepo-rdm |
RDM_RECORDS_SERVICE_COMPONENTS
| Default Value |
<list> |
| Type |
list |
| Source |
unknown |
[<class 'invenio_rdm_records.services.components.metadata.MetadataComponent'>,
<class 'invenio_rdm_records.services.components.custom_fields.CustomFieldsComponent'>,
<class 'invenio_rdm_records.services.components.access.AccessComponent'>,
<class 'invenio_rdm_records.services.components.files.RDMDraftFilesComponent'>,
<class 'invenio_records_resources.services.base.config.Custom_DraftMediaFilesComponent'>,
<class 'invenio_rdm_records.services.components.record_files.RecordFilesProcessorComponent'>,
<class 'invenio_rdm_records.services.components.record_deletion.RecordDeletionComponent'>,
<class 'invenio_drafts_resources.services.records.components.pid.PIDComponent'>,
<class 'invenio_rdm_records.services.components.pids.PIDsComponent'>,
<class 'invenio_rdm_records.services.components.pids.ParentPIDsComponent'>,
<class 'invenio_drafts_resources.services.records.components.relations.RelationsComponent'>,
<class 'invenio_rdm_records.services.components.review.ReviewComponent'>,
<class 'invenio_rdm_records.services.components.verified.ContentModerationComponent'>,
<class 'invenio_rdm_records.services.components.internal_notes.InternalNotesComponent'>,
<class 'oarepo_checks.services.components.checks.OARepoCheckComponent'>]
RDM_RECORDS_SERVICE_CONFIG_CLASS
Service config class.
| OARepo Default Value |
'oarepo_rdm.services.config:OARepoRDMServiceConfig' |
| Type |
str |
| Source |
oarepo-rdm |
RDM_RECORDS_UI_EDIT_URL
Default UI URL for the edit page of a Bibliographic Record.
RDM_RECORDS_USER_FIXTURE_PASSWORDS
Overrides for the user fixtures' passwords.
The password set for a user fixture in this dictionary overrides the
password set in the users.yaml file. This can be used to set custom
passwords for the fixture users (of course, this has to be configured
before the fixtures are installed, e.g. by setting up the services).
If None or an empty string is configured in this dictionary, then the
password from users.yaml will be used. If that is also absent, a password
will be generated randomly.
{'admin@inveniosoftware.org': None}
RDM_RECORD_DELETION_POLICY
Policy class which evaluates whether a record can be deleted by a user.
[<invenio_records_resources.services.files.extractors.zip.ZipExtractor object>]
RDM_REQUESTS_ROUTES
{'user-dashboard-request-details': '/me/requests/<uuid:request_pid_value>',
'community-dashboard-request-details': '/communities/<pid_value>/requests/<uuid:request_pid_value>',
'community-dashboard-invitation-details': '/communities/<pid_value>/invitations/<uuid:request_pid_value>',
'community-dashboard-membership-request-details': '/communities/<pid_value>/membership-requests/<uuid:request_pid_value>'}
RDM_REQUEST_RECORD_DELETION_CHECKLIST
Checklist which appears on the modal to redirect user from record deletion request if possible.
RDM_REQUEST_RECORD_DELETION_ENABLED
Allow users to request record deletion.
RDM_REQUEST_RECORD_DELETION_POLICIES
List of policies for record deletion requests.
[<invenio_rdm_records.services.request_policies.RequestDeletionPolicy object>]
RDM_RESOURCE_ACCESS_TOKENS_ENABLED
Flag to show whether RATs feature should be enabled.
RDM_RESOURCE_ACCESS_TOKENS_JWT_LIFETIME
Maximum tokens lifetime.
| Invenio RDM Default Value |
datetime.timedelta(seconds=1800) |
| Type |
timedelta |
| Source |
invenio-rdm-records |
RDM_RESOURCE_ACCESS_TOKENS_SUBJECT_SCHEMA
Resource access token Marshmallow schema for parsing JWT subject.
| Invenio RDM Default Value |
tokens.resource_access.SubjectSchema |
| Type |
unknown |
| Source |
invenio-rdm-records |
RDM_RESOURCE_ACCESS_TOKENS_WHITELISTED_JWT_ALGORITHMS
Accepted JWT algorithms for decoding the RAT.
['HS256', 'HS384', 'HS512']
RDM_RESOURCE_ACCESS_TOKEN_REQUEST_ARG
URL argument to provide resource access token.
RDM_SEARCH
{
'facets': [
'publication_date',
'access_status',
'file_type',
'resource_type',
],
'sort': [
'bestmatch',
'newest',
'oldest',
'version',
'mostviewed',
'mostdownloaded',
],
'query_parser_cls': QueryParser.factory(mapping={'internal_notes.note': RestrictedTerm(system_permission), 'internal_notes.id': RestrictedTerm(system_permission), 'internal_notes.added_by': RestrictedTerm(system_permission), 'internal_notes.timestamp': RestrictedTerm(system_permission), '_exists_': RestrictedTermValue(system_permission, word=word_internal_notes)}, tree_transformer_cls=SearchFieldTransformer),
}
RDM_SEARCH_DRAFTS
{
'facets': [
'publication_date',
'access_status',
'is_published',
'resource_type',
'file_type',
],
'sort': [
'bestmatch',
'updated-desc',
'updated-asc',
'newest',
'oldest',
'version',
],
}
RDM_SEARCH_SORT_BY_VERIFIED
Sort records by 'verified' first.
RDM_SEARCH_USER_COMMUNITIES
{'facets': ['visibility', 'type'], 'sort': ['bestmatch', 'newest', 'oldest']}
RDM_SEARCH_USER_REQUESTS
{'facets': ['type', 'status'], 'sort': ['bestmatch', 'newest', 'oldest']}
RDM_SEARCH_VERSIONING
{'facets': [],
'sort': ['version'],
'sort_default': 'version',
'sort_default_no_query': 'version'}
RDM_SORT_OPTIONS
{'bestmatch': {'title': l'Best match', 'fields': ['_score']},
'newest': {'title': l'Newest', 'fields': ['-created']},
'oldest': {'title': l'Oldest', 'fields': ['created']},
'version': {'title': l'Version', 'fields': ['-versions.index']},
'updated-desc': {'title': l'Recently updated', 'fields': ['-updated']},
'updated-asc': {'title': l'Least recently updated', 'fields': ['updated']},
'mostviewed': {'title': l'Most viewed',
'fields': ['-stats.all_versions.unique_views']},
'mostdownloaded': {'title': l'Most downloaded',
'fields': ['-stats.all_versions.unique_downloads']},
'newestactivity': {'title': l'Newest activity', 'fields': ['-last_activity_at']},
'oldestactivity': {'title': l'Oldest activity', 'fields': ['last_activity_at']}}
RDM_STATS_EXCLUDE_PREVIEW_FILE_DOWNLOAD_EVENTS
Exclude file-download stats events whose Referer is the file's own preview page.
RDM_USER_MODERATION_ENABLED
Flag to enable creation of user moderation requests on specific user actions.
RECAPTCHA_PRIVATE_KEY
reCAPTCHA private key.
RECAPTCHA_PUBLIC_KEY
reCAPTCHA public key.
RECORDS_FILES_REST_ENDPOINTS
REST endpoints configuration.
You can configure the REST API endpoint to access the record's
files as follows:
.. code-block:: python
RECORDS_FILES_REST_ENDPOINTS = {
'<*_REST_ENDPOINTS>': {
'<endpoint-prefix>': '<endpoint-suffix>',
}
}
-
<*_REST_ENDPOINTS> corresponds to Invenio-Records-REST endpoint
configurations names
<https://invenio-records-rest.readthedocs.io/en/latest/configuration.html
#invenio_records_rest.config.RECORDS_REST_ENDPOINTS>_
that you have defined in your application.
-
<endpoint-prefix> is the unique name of the endpoint configuration as it
is defined in Invenio-Records-REST
<https://invenio-records-rest.readthedocs.io/en/latest/configuration.html
#invenio_records_rest.config.RECORDS_REST_ENDPOINTS>_ like configuration.
This needs to match an already existing endpoint name in the
<*_REST_ENDPOINTS> configuration.
-
<endpoint-suffix> is the endpoint path name to access the record's files.
.. code-block:: console
{'recid': '/myawesomefiles'} -> /records/1/myawesomefiles
An example of this configuration is provided in the
Integration with Invenio REST API
<usage.html#integration-with-invenio-rest-api>_ section of the documentation.
RECORDS_PERMISSIONS_BASE_TEMPLATE
| Default Value |
'invenio_theme/page.html' |
| Type |
str |
| Source |
unknown |
RECORDS_PERMISSIONS_RECORD_POLICY
*RECORDS_REFRESOLVER_CLS
Custom JSONSchemas ref resolver class.
Note that when using a custom ref resolver class you should also set
RECORDS_REFRESOLVER_STORE to point to a JSONSchema ref resolver store.
*RECORDS_REFRESOLVER_STORE
JSONSchemas ref resolver store.
Used together with RECORDS_REFRESOLVER_CLS to provide a specific
ref resolver store.
*RECORDS_RESOURCES_ALLOW_EMPTY_FILES
Allow empty files to be uploaded.
RECORDS_RESOURCES_ARCHIVE_DOWNLOAD_MAX_SIZE
Max total file size (bytes) for archive download. None disables the cap.
RECORDS_RESOURCES_DEFAULT_TRANSFER_TYPE
Default transfer class to use.
One of 'L' (local), 'F' (fetch), 'R' (point to remote), 'M' (multipart).
Chunk size of extracted stream used in ContainerItemResult.send_file().
RECORDS_RESOURCES_FILES_ALLOWED_DOMAINS
Explicitly allowed domains for external file fetching.
Only file URLs from these domains will be allowed to be fetched.
Which image formats to extract metadata for.
['.jpg', '.jpeg', '.jp2', '.png', '.tif', '.tiff']
RECORDS_RESOURCES_TRANSFERS
['invenio_records_resources.services.files.transfer.LocalTransfer',
'invenio_records_resources.services.files.transfer.FetchTransfer',
'invenio_records_resources.services.files.transfer.RemoteTransfer',
'invenio_records_resources.services.files.transfer.MultipartTransfer']
File extensions interpreted as ZIP files.
RECORDS_RESOURCES_ZIP_MAX_ENTRIES
Max allowed entries inside ZIP file.
Max header size of ZIP file that can be preloaded.
RECORDS_RESOURCES_ZIP_MAX_LISTING_ENTRIES
Max entries returned by the container listing API.
RECORDS_RESOURCES_ZIP_MAX_RATIO
Max allowed compression ratio of an entry inside ZIP file.
RECORDS_RESOURCES_ZIP_MAX_TOTAL_UNCOMPRESSED
Max allowed uncompressed size of ZIP.
RECORDS_REST_DEFAULT_CREATE_PERMISSION_FACTORY
Default create permission factory: reject any request.
RECORDS_REST_DEFAULT_DELETE_PERMISSION_FACTORY
Default delete permission factory: reject any request.
RECORDS_REST_DEFAULT_LIST_PERMISSION_FACTORY
Default list permission factory: allow all requests
RECORDS_REST_DEFAULT_LOADERS
{
'application/json': lambda: request.get_json(),
'application/json-patch+json': lambda: request.get_json(force=True),
}
RECORDS_REST_DEFAULT_READ_PERMISSION_FACTORY
Default read permission factory: check if the record exists.
RECORDS_REST_DEFAULT_RESULTS_SIZE
Default search results size.
RECORDS_REST_DEFAULT_SORT
| Invenio RDM Default Value |
dict(records=dict(query='bestmatch', noquery='mostrecent')) |
| Type |
unknown |
| Source |
invenio-records-rest |
RECORDS_REST_DEFAULT_UPDATE_PERMISSION_FACTORY
Default update permission factory: reject any request.
*RECORDS_REST_ENDPOINTS
RECORDS_REST_FACETS
| Invenio RDM Default Value |
dict(records=dict(aggs=dict(type=dict(terms=dict(field='type'))), post_filters=dict(type=terms_filte... |
| Type |
unknown |
| Source |
invenio-records-rest |
RECORDS_REST_FACETS_POST_FILTERS_PROPAGATE
Define if the post_filters facets in one category should be applied as filters to all the other categories
RECORDS_REST_SEARCH_ERROR_HANDLERS
{
'query_parsing_exception': 'invenio_records_rest.views:search_query_parsing_exception_handler',
'query_shard_exception': 'invenio_records_rest.views:search_query_parsing_exception_handler',
}
RECORDS_REST_SORT_OPTIONS
| Invenio RDM Default Value |
dict(records=dict(bestmatch=dict(title=_('Best match'), fields=['_score'], default_order='desc', ord... |
| Type |
unknown |
| Source |
invenio-records-rest |
RECORDS_UI_BASE_TEMPLATE
| Default Value |
'invenio_theme/page.html' |
| Type |
str |
| Source |
unknown |
RECORDS_UI_DEFAULT_PERMISSION_FACTORY
Configure the default permission factory.
*RECORDS_UI_ENDPOINTS
{'recid': {'pid_type': 'recid',
'route': '/records/<pid_value>',
'template': 'invenio_records_ui/detail.html'},
'recid_export': {'pid_type': 'recid',
'route': '/records/<pid_value>/export/<format>',
'view_imp': 'invenio_records_ui.views.export',
'template': 'invenio_records_ui/export.html'}}
Defaut record serialization views.
The structure of the dictionary is as follows:
.. code-block:: python
RECORDS_UI_EXPORT_FORMATS = {
{"<pid-type>": {
"<format-slug>": {
"title": "<export format title>",
"serializer": "<object or import path to record serializer>",
"order": 1,
},
...
},
...
}
RECORDS_UI_LOGIN_ENDPOINT
Endpoint where redirect the user if login is required.
RECORDS_UI_TOMBSTONE_TEMPLATE
Configure the tombstone template.
| Invenio RDM Default Value |
'invenio_records_ui/tombstone.html' |
| Type |
str |
| Source |
invenio-records-ui |
RECORDS_VALIDATION_TYPES
Pass additional types when validating a record against a schema.
For more details, see:
<https://python-jsonschema.readthedocs.io/en/latest/validate/#validating-types>_.
*RECORD_ROUTES
| OARepo Default Value |
'invenio_rdm_records.resources.serializers.ui.UIRecordSchema' |
| Type |
str |
| Source |
oarepo-related-resources |
| OARepo Default Value |
'oarepo_related_resources.resources.RelatedResourcesResource' |
| Type |
str |
| Source |
oarepo-related-resources |
| OARepo Default Value |
'oarepo_related_resources.resources.RelatedResourcesResourceConfig' |
| Type |
str |
| Source |
oarepo-related-resources |
| OARepo Default Value |
'oarepo_related_resources.services.RelatedResourcesService' |
| Type |
str |
| Source |
oarepo-related-resources |
| OARepo Default Value |
'oarepo_related_resources.services.RelatedResourcesServiceConfig' |
| Type |
str |
| Source |
oarepo-related-resources |
REMEMBER_COOKIE_DURATION
Remember me cookie life time changed to 90 days instead of 365 days.
| Invenio RDM Default Value |
timedelta(days=90) |
| Type |
unknown |
| Source |
invenio-accounts |
*REPOSITORY_DESCRIPTION
*REPOSITORY_KEYWORDS
*REPOSITORY_NAME
*REPOSITORY_SUBTITLE
REQUESTS_ACTION_COMPONENTS
| Default Value |
<list> |
| Type |
list |
| Source |
unknown |
[<class 'oarepo_requests.actions.components.WorkflowTransitionComponent'>,
<class 'oarepo_requests.actions.components.AutoAcceptComponent'>]
REQUESTS_ALLOWED_RECEIVERS
| Default Value |
<list> |
| Type |
list |
| Source |
unknown |
['community_role', 'user', 'group', 'auto_approve', 'multiple', 'action_need']
{'img': ['src', 'alt', 'width', 'height']}
Extend allowed HTML tags list for requests comments content.
Number of most recent child comments to inline in parent's search index.
This limits the size of indexed documents when comments have many replies.
Additional replies can be loaded via pagination.
REQUESTS_ENTITY_RESOLVERS
Registered resolvers for resolving/creating references in request metadata.
[<invenio_users_resources.entity_resolvers.UserResolver object>,
<invenio_users_resources.entity_resolvers.GroupResolver object>]
REQUESTS_ERROR_HANDLERS
{
**request_error_handlers,
InvalidAccessRestrictions: create_error_handler(lambda e: HTTPJSONException(code=400, description=e.description)),
}
REQUESTS_EVENTS_SERVICE_COMPONENTS
[<class 'invenio_requests.services.requests.components.RequestCommentFileValidationComponent'>,
<class 'invenio_requests.services.requests.components.RequestCommentFileCleanupComponent'>]
REQUESTS_FACETS
{'type': {'facet': <invenio_records_resources.services.records.facets.facets.TermsFacet object>,
'ui': {'field': 'type'}},
'status': {'facet': <invenio_records_resources.services.records.facets.facets.TermsFacet object>,
'ui': {'field': 'status'}}}
REQUESTS_FILES_DEFAULT_MAX_FILE_SIZE
10MB
REQUESTS_FILES_DEFAULT_QUOTA_SIZE
100MB
REQUESTS_LOCKING_ENABLED
Enable locking/unlocking for request conversations.
REQUESTS_MODERATION_ROLE
ID of the Role used for moderation.
| Invenio RDM Default Value |
'administration-moderation' |
| Type |
str |
| Source |
invenio-requests |
REQUESTS_PERMISSION_POLICY
The requests permission policy, extended to work with guest access requests.
REQUESTS_REGISTERED_EVENT_TYPES
[<RequestEventType 'L'>, <RequestEventType 'C'>, <RequestEventType 'R'>]
REQUESTS_REGISTERED_TYPES
Configuration for registered Request Types.
REQUESTS_RESOURCE_CLASS
| OARepo Default Value |
OARepoRequestsResource |
| Type |
unknown |
| Source |
oarepo-requests |
REQUESTS_RESOURCE_CONFIG_CLASS
| OARepo Default Value |
OARepoRequestsResourceConfig |
| Type |
unknown |
| Source |
oarepo-requests |
REQUESTS_REVIEWERS_ENABLED
Enable reviewers for requests.
REQUESTS_REVIEWERS_MAX_NUMBER
Maximum number of reviewers allowed for a request.
REQUESTS_ROUTES
{'download_file_html': '/requests/<uuid:pid_value>/files/<path:file_key>'}
REQUESTS_SEARCH
{'facets': ['type', 'status'],
'sort': ['bestmatch', 'newest', 'oldest', 'newestactivity', 'oldestactivity']}
REQUESTS_SERVICE_CLASS
| OARepo Default Value |
OARepoRequestsService |
| Type |
unknown |
| Source |
oarepo-requests |
REQUESTS_SERVICE_CONFIG_CLASS
| OARepo Default Value |
OARepoRequestsServiceConfig |
| Type |
unknown |
| Source |
oarepo-requests |
REQUESTS_SORT_OPTIONS
{'bestmatch': {'title': l'Best match', 'fields': ['_score']},
'newest': {'title': l'Newest', 'fields': ['-created']},
'oldest': {'title': l'Oldest', 'fields': ['created']},
'newestactivity': {'title': l'Newest activity', 'fields': ['-last_activity_at']},
'oldestactivity': {'title': l'Oldest activity', 'fields': ['last_activity_at']}}
REQUESTS_TIMELINE_PAGE_SIZE
Amount of items per page on the request details timeline
REQUESTS_USER_MODERATION_FACETS
{'status': {'facet': <invenio_records_resources.services.records.facets.facets.TermsFacet object>,
'ui': {'field': 'status'}},
'is_open': {'facet': <invenio_records_resources.services.records.facets.facets.TermsFacet object>,
'ui': {'field': 'is_open'}}}
REQUESTS_USER_MODERATION_SEARCH
{'facets': ['status', 'is_open'], 'sort': ['bestmatch', 'newest', 'oldest']}
REQUESTS_USER_MODERATION_SORT_OPTIONS
{'bestmatch': {'title': l'Best match', 'fields': ['_score']},
'newest': {'title': l'Newest', 'fields': ['-created']},
'oldest': {'title': l'Oldest', 'fields': ['created']}}
REST_CSRF_ENABLED
Enable CSRF middleware. (Default: False).
.. note::
The CSRF middleware accepts some configuration parameters that are used to
adjust the workflow of the CSRF validation. The available options are:
\CSRF_SAFE_METHODS\\: HTTP methods against which the csrf check should
NOT run.
Defaults to \['POST', 'PUT', 'PATCH', 'DELETE']\\.
\CSRF_HEADER\\: The name of the request header used for CSRF
authentication. Defaults to \X-CSRF-Token\\.
\CSRF_COOKIE_NAME\\: The name of the request cookie used for CSRF
authentication. Defaults to \_csrftoken\\.
\CSRF_COOKIE_MAX_AGE\\: The maximum time until the cookie expires. After
the expiration the cookie will be removed. Defaults to \60*60*24*7*52\\
(1 year).
\CSRF_COOKIE_DOMAIN\\: The domain for which the CSRF cookie should be
valid. Defaults to \flask.sessions.SessionInterface.get_cookie_domain\\.
\CSRF_COOKIE_PATH\\: The url path for which the cookie is set. This is
useful if you have multiple Flask instances running under the same hostname.
They can use different cookie paths, and each instance will only see its own
CSRF cookie.
Defaults to \flask.sessions.SessionInterface.get_cookie_path\\.
\CSRF_COOKIE_SAMESITE\\: Restrict if CSRF cookie should be sent along
requests coming from external sites. Defaults to
\SESSION_COOKIE_SAMESITE\\ configuation variable, if this is set to
a not \None\\ value, or \Lax\\. Lax prevents sending cookies with
CSRF-prone requests from external sites, such as submitting a form.
\CSRF_SECRET\\: Secret key to encode/decode csrf token. Defaults to
application \SECRET_KEY\\.
\CSRF_SECRET_SALT\\: The salt value used to encode/decode csrf token.
Defaults to \invenio-csrf-token\\.
\CSRF_TOKEN_LENGTH\\: The length of the generated csrf token. Defaults to
\12\\.
\CSRF_ALLOWED_CHARS\\: The allowed characters that can be included in the
generation of the csrf token. Defaults to \string.ascii_letters\\ +
\string.digits\\.
\CSRF_FORCE_SECURE_REFERER\\: Flag to disable secure referrer check. This
should used only in development if you run your UI application over HTTP.
Defaults to \True\\.
REST_ENABLE_CORS
Enable CORS configuration. (Default: False).
| Invenio RDM Default Value |
False |
| Type |
unknown |
| Source |
invenio-rest |
REST_MIMETYPE_QUERY_ARG_NAME
Name of the query argument to specify the mimetype wanted for the output.
Set it to None to disable.
.. note::
You can customize the query argument name by specifying it as a string::
REST_MIMETYPE_QUERY_ARG_NAME = 'format'
With this value, the url will be::
/api/record/<id>?format=<value>
You can set the accepted values passing a dictionary to the key
record_serializers_aliases::
record_serializers_aliases={
'json': 'application/json',
'marc21': 'application/marcxml+xml'
}
| Invenio RDM Default Value |
None |
| Type |
unknown |
| Source |
invenio-rest |
*ROR_CLIENT_ID
*S3_ACCESS_KEY_ID
The access key to use when creating the client.
This is entirely optional, and if not provided, the credentials configured for
the session will automatically be used.
See Configuring Credentials
<https://boto3.readthedocs.io/en/latest/guide/configuration.html#credentials>_.
for more information.
Additional configuration to be passed to S3f3.
In some cases, specially those not using AWS S3, some extra configuration might be needed.
.. code-block:: python
{
"request_checksum_calculation": "WHEN_REQUIRED",
"response_checksum_validation": "WHEN_REQUIRED",
}
| Invenio RDM Default Value |
<dict> |
| Type |
dict |
| Source |
invenio-s3 |
S3_DEFAULT_BLOCK_SIZE
Default block size value used to send multi-part uploads to S3.
Typically 5Mb is minimum allowed by the API.
| Invenio RDM Default Value |
5242880 |
| Type |
int |
| Source |
invenio-s3 |
*S3_ENDPOINT_URL
S3 server URL endpoint.
If using Amazon AWS S3 service this config variable can be set to None as the
underlining library, boto3 <https://boto3.readthedocs.io/en/latest/>_,
will automatically construct the appropriate URL to use when communicating with
a service.
If set to a value (including the "http/https" scheme) it will be passed as
endpoint_url to boto3 client
<https://boto3.readthedocs.io/en/latest/reference/core/session.html#boto3.session.Session.client>_.
S3_MAXIMUM_NUMBER_OF_PARTS
Maximum number of parts to be used.
See AWS Multipart Upload Overview
<https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html>_ for more
information.
| Invenio RDM Default Value |
10000 |
| Type |
int |
| Source |
invenio-s3 |
S3_REGION_NAME
S3 region name
This is entirely optional, and if not provided, the region name will be
automatically set to 'us-east-1'.
If set to a value it will be passed as region_name to boto3 client
<https://boto3.readthedocs.io/en/latest/reference/core/session.html#boto3.session.Session.client>_.
| Invenio RDM Default Value |
None |
| Type |
NoneType |
| Source |
invenio-s3 |
*S3_SECRET_ACCESS_KEY
The secret key to use when creating the client.
This is entirely optional, and if not provided, the credentials configured for
the session will automatically be used.
See Configuring Credentials
<https://boto3.readthedocs.io/en/latest/guide/configuration.html#credentials>_.
for more information.
S3_SIGNATURE_VERSION
Version of the S3 signature algorithm. Can be 's3' (v2) or 's3v4' (v4).
See Amazon Boto3 documentation on configuration variables
<https://boto3.amazonaws.com/v1/documentation/api/latest/guide/configuration.html#configuration-file>_
for more information.
| Invenio RDM Default Value |
's3v4' |
| Type |
str |
| Source |
invenio-s3 |
S3_UPLOAD_URL_EXPIRATION
Number of seconds the file upload URL will be valid. The default here is 7 days
to allow large file uploads with large number of chunks to be completed. This is
currently the maximum allowed by the AWS.
See Amazon Boto3 documentation on presigned URLs
<https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3.html#S3.Client.generate_presigned_url>_
for more information.
| Invenio RDM Default Value |
604800 |
| Type |
int |
| Source |
invenio-s3 |
S3_URL_EXPIRATION
Number of seconds the file serving URL will be valid.
See Amazon Boto3 documentation on presigned URLs
<https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3.html#S3.Client.generate_presigned_url>_
for more information.
| Invenio RDM Default Value |
60 |
| Type |
int |
| Source |
invenio-s3 |
*SEARCH_CLIENT_CONFIG
Dictionary of options for the Elasticsearch/OpenSearch client.
The value of this variable is passed to :py:class:elasticsearch.Elasticsearch
(or :py:class:opensearchpy.OpenSearch) as keyword arguments and is used to configure
the client. See the available keyword arguments in the two following classes:
- :py:class:
elasticsearch.Elasticsearch
- :py:class:
elasticsearch.Transport
Or:
- :py:class:
opensearchpy.OpenSearch
- :py:class:
opensearchpy.Transport
If you specify the key hosts in this dictionary, the configuration variable
:py:class:~invenio_search.config.SEARCH_HOSTS will have no effect.
SEARCH_ELASTIC_HOSTS
Deprecated alias for SEARCH_HOSTS.
*SEARCH_HOSTS
Search hosts.
*SEARCH_INDEX_PREFIX
Any index, alias and templates will be prefixed with this string.
Useful to host multiple instances of the app on the same Elasticsearch cluster,
for example on one app you can set it to dev- and on the other to prod-,
and each will create non-colliding indices prefixed with the corresponding
string.
Usage example:
.. code-block:: python
# in your config.py
SEARCH_INDEX_PREFIX = 'prod-'
For templates, ensure that the prefix __SEARCH_INDEX_PREFIX__ is added to
your index names. This pattern will be replaced by the prefix config value.
Usage example in your template.json:
.. code-block:: json
{
"index_patterns": ["__SEARCH_INDEX_PREFIX__myindex-name-*"]
}
SEARCH_MAPPINGS
List of aliases for which, their search mappings should be created.
- If
None all aliases (and their search mappings) defined through the
invenio_search.mappings entry point in setup.py will be created.
- Provide an empty list
[] if no aliases (or their search mappings)
should be created.
For example if you don't want to create aliases
and their mappings for authors:
.. code-block:: python
# in your `setup.py` you would specify:
entry_points={
'invenio_search.mappings': [
'records = invenio_foo_bar.mappings',
'authors = invenio_foo_bar.mappings',
],
}
# and in your config.py
SEARCH_MAPPINGS = ['records']
SEARCH_RESULTS_MIN_SCORE
If set, the min_score parameter is added to each search request body.
The min_score parameter excludes results which have a _score less than
the minimum specified in min_score.
Note that the max_score varies depending on the number of results for a given
search query and it is not absolute value. Therefore, setting min_score too
high can lead to 0 results because it can be higher than any result's _score.
Please refer to Elasticsearch min_score documentation
<https://www.elastic.co/guide/en/elasticsearch/reference/current/
search-request-min-score.html>_ for more information.
SEARCH_UI_BASE_TEMPLATE
| Default Value |
'invenio_theme/page.html' |
| Type |
str |
| Source |
unknown |
| Default Value |
None |
| Type |
NoneType |
| Source |
unknown |
SEARCH_UI_JSTEMPLATE_COUNT
Configure the count template.
| Invenio RDM Default Value |
'templates/invenio_search_ui/count.html' |
| Type |
str |
| Source |
invenio-search-ui |
SEARCH_UI_JSTEMPLATE_ERROR
Configure the error page template.
| Invenio RDM Default Value |
'templates/invenio_search_ui/error.html' |
| Type |
str |
| Source |
invenio-search-ui |
SEARCH_UI_JSTEMPLATE_FACETS
Configure the facets template.
| Invenio RDM Default Value |
'templates/invenio_search_ui/facets.html' |
| Type |
str |
| Source |
invenio-search-ui |
SEARCH_UI_JSTEMPLATE_LOADING
Configure the loading template.
| Invenio RDM Default Value |
'templates/invenio_search_ui/loading.html' |
| Type |
str |
| Source |
invenio-search-ui |
Configure the pagination template.
| Invenio RDM Default Value |
'templates/invenio_search_ui/pagination.html' |
| Type |
str |
| Source |
invenio-search-ui |
SEARCH_UI_JSTEMPLATE_RANGE
Configure the range template.
| Invenio RDM Default Value |
'templates/invenio_search_ui/range.html' |
| Type |
str |
| Source |
invenio-search-ui |
SEARCH_UI_JSTEMPLATE_RANGE_OPTIONS
{'histogramId': '#year_hist',
'selectionId': '#year_select',
'name': 'years',
'width': 180}
SEARCH_UI_JSTEMPLATE_RESULTS
Configure the results template.
| Invenio RDM Default Value |
'templates/invenio_search_ui/results.html' |
| Type |
str |
| Source |
invenio-search-ui |
SEARCH_UI_JSTEMPLATE_SELECT_BOX
Configure the select box template.
| Invenio RDM Default Value |
'templates/invenio_search_ui/selectbox.html' |
| Type |
str |
| Source |
invenio-search-ui |
SEARCH_UI_JSTEMPLATE_SORT_ORDER
Configure the toggle button template.
| Invenio RDM Default Value |
'templates/invenio_search_ui/togglebutton.html' |
| Type |
str |
| Source |
invenio-search-ui |
SEARCH_UI_SEARCH_API
Configure the search engine endpoint.
SEARCH_UI_SEARCH_CONFIG_GEN
{'invenio_records_rest': <class 'invenio_search_ui.views.SearchAppInvenioRestConfigHelper'>}
SEARCH_UI_SEARCH_INDEX
Name of the search index used.
*SEARCH_UI_SEARCH_TEMPLATE
Configure the search page template.
*SEARCH_UI_SEARCH_VIEW
Default funtion to do the search route.
*SECRET_KEY
Flask secret key.
Each installation (dev, production, ...) needs a separate key.
SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY_FALLBACKS
| Default Value |
None |
| Type |
NoneType |
| Source |
unknown |
SECURITY_AUTO_LOGIN_AFTER_CONFIRM
| Default Value |
True |
| Type |
bool |
| Source |
unknown |
SECURITY_BLUEPRINT_NAME
| Default Value |
'security' |
| Type |
str |
| Source |
unknown |
*SECURITY_CHANGEABLE
Allow password change by users.
SECURITY_CHANGE_PASSWORD_TEMPLATE
Default template for change password.
| Invenio RDM Default Value |
'invenio_accounts/change_password.html' |
| Type |
str |
| Source |
invenio-accounts |
SECURITY_CHANGE_SALT
| Default Value |
'change-salt' |
| Type |
str |
| Source |
unknown |
SECURITY_CHANGE_URL
URL endpoint for password change.
| Invenio RDM Default Value |
'/account/settings/password/' |
| Type |
str |
| Source |
invenio-accounts |
SECURITY_CLI_ROLES_NAME
| Default Value |
'roles' |
| Type |
str |
| Source |
unknown |
SECURITY_CLI_USERS_NAME
| Default Value |
'users' |
| Type |
str |
| Source |
unknown |
*SECURITY_CONFIRMABLE
Allow user to confirm their email address.
SECURITY_CONFIRM_EMAIL_WITHIN
Amount of time the email confirmation link is active.
Note, since the confirmation link will also login the associated user we expire
the link fast.
SECURITY_CONFIRM_ERROR_VIEW
| Default Value |
None |
| Type |
NoneType |
| Source |
unknown |
SECURITY_CONFIRM_SALT
| Default Value |
'confirm-salt' |
| Type |
str |
| Source |
unknown |
SECURITY_CONFIRM_URL
| Default Value |
'/confirm' |
| Type |
str |
| Source |
unknown |
SECURITY_DEFAULT_HTTP_AUTH_REALM
| Default Value |
'Login Required' |
| Type |
str |
| Source |
unknown |
SECURITY_DEFAULT_REMEMBER_ME
"Remember me" default value in login form.
This is only the default value in the login form. A user can always choose to
change it when they login.
SECURITY_DEPRECATED_HASHING_SCHEMES
| Default Value |
<list> |
| Type |
list |
| Source |
unknown |
SECURITY_DEPRECATED_PASSWORD_SCHEMES
Deprecated password hashing algorithms.
Password hashes in a deprecated scheme are automatically migrated to the
new default algorithm the next time the user login.
['invenio_aes_encrypted_email']
SECURITY_EMAIL_HTML
| Default Value |
True |
| Type |
bool |
| Source |
unknown |
SECURITY_EMAIL_PLAINTEXT
| Default Value |
True |
| Type |
bool |
| Source |
unknown |
SECURITY_EMAIL_SUBJECT_CONFIRM
| Default Value |
'Please confirm your email' |
| Type |
str |
| Source |
unknown |
SECURITY_EMAIL_SUBJECT_PASSWORD_CHANGE_NOTICE
| Default Value |
'Your password has been changed' |
| Type |
str |
| Source |
unknown |
SECURITY_EMAIL_SUBJECT_PASSWORD_NOTICE
| Default Value |
'Your password has been reset' |
| Type |
str |
| Source |
unknown |
SECURITY_EMAIL_SUBJECT_PASSWORD_RESET
| Default Value |
'Password reset instructions' |
| Type |
str |
| Source |
unknown |
SECURITY_EMAIL_SUBJECT_REGISTER
Email subject for account registration emails.
SECURITY_FLASH_MESSAGES
| Default Value |
True |
| Type |
bool |
| Source |
unknown |
SECURITY_FORGOT_PASSWORD_TEMPLATE
Default template for password recovery (asking for email).
| Invenio RDM Default Value |
'invenio_accounts/forgot_password.html' |
| Type |
str |
| Source |
invenio-accounts |
SECURITY_HASHING_SCHEMES
| Default Value |
<list> |
| Type |
list |
| Source |
unknown |
['sha256_crypt', 'hex_md5']
SECURITY_I18N_DIRNAME
| Default Value |
'/Users/m/Workspaces/repositories/feat-convert-old-catchall/oarepo-config/.venv/lib/python3.14/site-... |
| Type |
str |
| Source |
unknown |
SECURITY_I18N_DOMAIN
| Default Value |
'messages' |
| Type |
str |
| Source |
unknown |
SECURITY_LOGIN_SALT
| Default Value |
'login-salt' |
| Type |
str |
| Source |
unknown |
SECURITY_LOGIN_URL
URL endpoint for login.
SECURITY_LOGIN_USER_TEMPLATE
Default template for login.
| Invenio RDM Default Value |
'invenio_oauthclient/login_user.html' |
| Type |
str |
| Source |
invenio-accounts |
SECURITY_LOGIN_WITHIN
| Default Value |
'1 days' |
| Type |
str |
| Source |
unknown |
*SECURITY_LOGIN_WITHOUT_CONFIRMATION
Allow users to login without first confirming their email address.
SECURITY_LOGOUT_URL
URL endpoint for logout.
SECURITY_MSG_ALREADY_CONFIRMED
| Default Value |
<tuple> |
| Type |
tuple |
| Source |
unknown |
('Your email has already been confirmed.', 'info')
SECURITY_MSG_CONFIRMATION_EXPIRED
| Default Value |
<tuple> |
| Type |
tuple |
| Source |
unknown |
('You did not confirm your email within %(within)s. New instructions to confirm your '
'email have been sent to %(email)s.',
'error')
SECURITY_MSG_CONFIRMATION_REQUEST
| Default Value |
<tuple> |
| Type |
tuple |
| Source |
unknown |
('Confirmation instructions have been sent to %(email)s.', 'info')
SECURITY_MSG_CONFIRMATION_REQUIRED
| Default Value |
<tuple> |
| Type |
tuple |
| Source |
unknown |
('Email requires confirmation.', 'error')
SECURITY_MSG_CONFIRM_REGISTRATION
| Default Value |
<tuple> |
| Type |
tuple |
| Source |
unknown |
('Thank you. Confirmation instructions have been sent to %(email)s.', 'success')
SECURITY_MSG_DISABLED_ACCOUNT
| Default Value |
<tuple> |
| Type |
tuple |
| Source |
unknown |
('Account is disabled.', 'error')
SECURITY_MSG_EMAIL_ALREADY_ASSOCIATED
| Default Value |
<tuple> |
| Type |
tuple |
| Source |
unknown |
('%(email)s is already associated with an account.', 'error')
SECURITY_MSG_EMAIL_CONFIRMED
| Default Value |
<tuple> |
| Type |
tuple |
| Source |
unknown |
('Thank you. Your email has been confirmed.', 'success')
SECURITY_MSG_EMAIL_NOT_PROVIDED
| Default Value |
<tuple> |
| Type |
tuple |
| Source |
unknown |
('Email not provided', 'error')
SECURITY_MSG_FORGOT_PASSWORD
| Default Value |
<tuple> |
| Type |
tuple |
| Source |
unknown |
('Forgot password?', 'info')
SECURITY_MSG_INVALID_CONFIRMATION_TOKEN
| Default Value |
<tuple> |
| Type |
tuple |
| Source |
unknown |
('Invalid confirmation token.', 'error')
SECURITY_MSG_INVALID_EMAIL_ADDRESS
| Default Value |
<tuple> |
| Type |
tuple |
| Source |
unknown |
('Invalid email address', 'error')
SECURITY_MSG_INVALID_LOGIN_TOKEN
| Default Value |
<tuple> |
| Type |
tuple |
| Source |
unknown |
('Invalid login token.', 'error')
SECURITY_MSG_INVALID_PASSWORD
| Default Value |
<tuple> |
| Type |
tuple |
| Source |
unknown |
('Invalid password', 'error')
SECURITY_MSG_INVALID_REDIRECT
| Default Value |
<tuple> |
| Type |
tuple |
| Source |
unknown |
('Redirections outside the domain are forbidden', 'error')
SECURITY_MSG_INVALID_RESET_PASSWORD_TOKEN
| Default Value |
<tuple> |
| Type |
tuple |
| Source |
unknown |
('Invalid reset password token.', 'error')
SECURITY_MSG_LOCAL_LOGIN_DISABLED
The error to be displayed in REST login when local login is disabled.
('Local login is disabled.', 'error')
SECURITY_MSG_LOGIN
| Default Value |
<tuple> |
| Type |
tuple |
| Source |
unknown |
('Please log in to access this page.', 'info')
SECURITY_MSG_LOGIN_EMAIL_SENT
| Default Value |
<tuple> |
| Type |
tuple |
| Source |
unknown |
('Instructions to login have been sent to %(email)s.', 'success')
SECURITY_MSG_LOGIN_EXPIRED
| Default Value |
<tuple> |
| Type |
tuple |
| Source |
unknown |
('You did not login within %(within)s. New instructions to login have been sent to '
'%(email)s.',
'error')
SECURITY_MSG_PASSWORD_BREACHED
| Default Value |
<tuple> |
| Type |
tuple |
| Source |
unknown |
('Password on breached list', 'error')
SECURITY_MSG_PASSWORD_BREACHED_SITE_ERROR
| Default Value |
<tuple> |
| Type |
tuple |
| Source |
unknown |
('Failed to contact breached passwords site', 'error')
SECURITY_MSG_PASSWORD_CHANGE
| Default Value |
<tuple> |
| Type |
tuple |
| Source |
unknown |
('You successfully changed your password.', 'success')
SECURITY_MSG_PASSWORD_CHANGE_DISABLED
The error to be displayed in REST password change when it is disabled.
('Password change is disabled.', 'error')
SECURITY_MSG_PASSWORD_INVALID_LENGTH
| Default Value |
<tuple> |
| Type |
tuple |
| Source |
unknown |
('Password must be at least %(length)s characters', 'error')
SECURITY_MSG_PASSWORD_IS_THE_SAME
| Default Value |
<tuple> |
| Type |
tuple |
| Source |
unknown |
('Your new password must be different than your previous password.', 'error')
SECURITY_MSG_PASSWORD_MISMATCH
| Default Value |
<tuple> |
| Type |
tuple |
| Source |
unknown |
('Password does not match', 'error')
SECURITY_MSG_PASSWORD_NOT_PROVIDED
| Default Value |
<tuple> |
| Type |
tuple |
| Source |
unknown |
('Password not provided', 'error')
SECURITY_MSG_PASSWORD_NOT_SET
| Default Value |
<tuple> |
| Type |
tuple |
| Source |
unknown |
('No password is set for this user', 'error')
SECURITY_MSG_PASSWORD_RECOVERY_DISABLED
('Password recovery is disabled.', 'error')
SECURITY_MSG_PASSWORD_RESET
| Default Value |
<tuple> |
| Type |
tuple |
| Source |
unknown |
('You successfully reset your password and you have been logged in automatically.',
'success')
SECURITY_MSG_PASSWORD_RESET_DISABLED
The error to be displayed in REST password reset when it is disabled.
('Password reset is disabled.', 'error')
SECURITY_MSG_PASSWORD_RESET_EXPIRED
| Default Value |
<tuple> |
| Type |
tuple |
| Source |
unknown |
('You did not reset your password within %(within)s. New instructions have been sent '
'to %(email)s.',
'error')
SECURITY_MSG_PASSWORD_RESET_REQUEST
| Default Value |
<tuple> |
| Type |
tuple |
| Source |
unknown |
('Instructions to reset your password have been sent to %(email)s.', 'info')
SECURITY_MSG_PASSWORD_TOO_SIMPLE
| Default Value |
<tuple> |
| Type |
tuple |
| Source |
unknown |
('Password not complex enough', 'error')
SECURITY_MSG_REFRESH
| Default Value |
<tuple> |
| Type |
tuple |
| Source |
unknown |
('Please reauthenticate to access this page.', 'info')
SECURITY_MSG_REGISTRATION_DISABLED
The error to be displayed in REST registration when it is disabled.
('Registration is disabled.', 'error')
SECURITY_MSG_RETYPE_PASSWORD_MISMATCH
| Default Value |
<tuple> |
| Type |
tuple |
| Source |
unknown |
('Passwords do not match', 'error')
SECURITY_MSG_UNAUTHORIZED
| Default Value |
<tuple> |
| Type |
tuple |
| Source |
unknown |
('You do not have permission to view this resource.', 'error')
SECURITY_MSG_USER_DOES_NOT_EXIST
| Default Value |
<tuple> |
| Type |
tuple |
| Source |
unknown |
('Specified user does not exist', 'error')
SECURITY_PASSWORD_BREACHED_COUNT
| Default Value |
1 |
| Type |
int |
| Source |
unknown |
SECURITY_PASSWORD_CHECK_BREACHED
| Default Value |
False |
| Type |
bool |
| Source |
unknown |
SECURITY_PASSWORD_COMPLEXITY_CHECKER
| Default Value |
None |
| Type |
NoneType |
| Source |
unknown |
SECURITY_PASSWORD_HASH
Default password hashing algorithm for new passwords.
SECURITY_PASSWORD_LENGTH_MIN
| Default Value |
6 |
| Type |
int |
| Source |
unknown |
SECURITY_PASSWORD_SALT
Salt for storing passwords.
SECURITY_PASSWORD_SCHEMES
Supported password hashing algorithms (for passwords already stored).
You should include both the default, supported and any deprecated schemes.
['pbkdf2_sha512', 'invenio_aes_encrypted_email']
SECURITY_PASSWORD_SINGLE_HASH
Password hashing algorithms requiring single hasing only.
['invenio_aes_encrypted_email']
SECURITY_POST_CHANGE_VIEW
| Default Value |
None |
| Type |
NoneType |
| Source |
unknown |
SECURITY_POST_CONFIRM_VIEW
| Default Value |
None |
| Type |
NoneType |
| Source |
unknown |
SECURITY_POST_LOGIN_VIEW
| Default Value |
'/' |
| Type |
str |
| Source |
unknown |
SECURITY_POST_LOGOUT_VIEW
| Default Value |
'/' |
| Type |
str |
| Source |
unknown |
SECURITY_POST_REGISTER_VIEW
| Default Value |
None |
| Type |
NoneType |
| Source |
unknown |
SECURITY_POST_RESET_VIEW
| Default Value |
None |
| Type |
NoneType |
| Source |
unknown |
*SECURITY_RECOVERABLE
Allow password recovery by users.
*SECURITY_REGISTERABLE
Allow users to register.
SECURITY_REGISTER_URL
URL endpoint for user registation.
SECURITY_REGISTER_USER_TEMPLATE
Default template for user registration.
| Invenio RDM Default Value |
'invenio_accounts/register_user.html' |
| Type |
str |
| Source |
invenio-accounts |
SECURITY_RESET_PASSWORD_TEMPLATE
Default template for password recovery (reset of the password).
| Invenio RDM Default Value |
'invenio_accounts/reset_password.html' |
| Type |
str |
| Source |
invenio-accounts |
SECURITY_RESET_PASSWORD_WITHIN
Amount of time the password reset link is active.
Note, since the confirmation link will also login the associated user we expire
the link fast.
SECURITY_RESET_SALT
| Default Value |
'reset-salt' |
| Type |
str |
| Source |
unknown |
SECURITY_RESET_URL
URL endpoint for password recovery.
SECURITY_SEND_CONFIRMATION_TEMPLATE
Default template for email confirmation.
| Invenio RDM Default Value |
'invenio_accounts/send_confirmation.html' |
| Type |
str |
| Source |
invenio-accounts |
SECURITY_SEND_LOGIN_TEMPLATE
Default template for email confirmation.
| Invenio RDM Default Value |
'invenio_accounts/send_login.html' |
| Type |
str |
| Source |
invenio-accounts |
SECURITY_SEND_PASSWORD_CHANGE_EMAIL
| Default Value |
True |
| Type |
bool |
| Source |
unknown |
SECURITY_SEND_PASSWORD_RESET_EMAIL
| Default Value |
True |
| Type |
bool |
| Source |
unknown |
SECURITY_SEND_PASSWORD_RESET_NOTICE_EMAIL
| Default Value |
True |
| Type |
bool |
| Source |
unknown |
SECURITY_SEND_REGISTER_EMAIL
| Default Value |
True |
| Type |
bool |
| Source |
unknown |
SECURITY_SUBDOMAIN
| Default Value |
None |
| Type |
NoneType |
| Source |
unknown |
| Default Value |
'Authentication-Token' |
| Type |
str |
| Source |
unknown |
SECURITY_TOKEN_AUTHENTICATION_KEY
| Default Value |
'auth_token' |
| Type |
str |
| Source |
unknown |
SECURITY_TOKEN_MAX_AGE
| Default Value |
None |
| Type |
NoneType |
| Source |
unknown |
SECURITY_TRACKABLE
Enable user tracking on login.
SECURITY_URL_PREFIX
| Default Value |
None |
| Type |
NoneType |
| Source |
unknown |
SECURITY_USER_IDENTITY_ATTRIBUTES
| Default Value |
<list> |
| Type |
list |
| Source |
unknown |
SECURITY_ZXCVBN_MINIMUM_SCORE
| Default Value |
3 |
| Type |
int |
| Source |
unknown |
*SEND_FILE_MAX_AGE_DEFAULT
SENTRY_DSN
Set SENTRY_DSN environment variable.
SERVER_NAME
| Default Value |
None |
| Type |
NoneType |
| Source |
unknown |
*SESSION_COOKIE_DOMAIN
SESSION_COOKIE_HTTPONLY
| Default Value |
True |
| Type |
bool |
| Source |
unknown |
SESSION_COOKIE_NAME
| Default Value |
'session' |
| Type |
str |
| Source |
unknown |
SESSION_COOKIE_PARTITIONED
| Default Value |
False |
| Type |
bool |
| Source |
unknown |
SESSION_COOKIE_PATH
| Default Value |
None |
| Type |
NoneType |
| Source |
unknown |
SESSION_COOKIE_SAMESITE
Restricts how cookies are sent with requests from external sites.
*SESSION_COOKIE_SECURE
Sets cookie with the secure flag by default.
SESSION_KEY_BITS
| Default Value |
64 |
| Type |
int |
| Source |
unknown |
SESSION_RANDOM_SOURCE
| Default Value |
<random.SystemRandom object> |
| Type |
SystemRandom |
| Source |
unknown |
SESSION_REFRESH_EACH_REQUEST
| Default Value |
True |
| Type |
bool |
| Source |
unknown |
*SETTINGS_TEMPLATE
Settings page template used for e.g. display user settings views.
SITEMAP_MAX_ENTRY_COUNT
Maximum number of entries ( or ) per file.
The Sitemap protocol sets it at 50_000, but it also sets the max size of the
resulting file at 50 MiB. Following the initial Zenodo implementation, we
set it much lower than 50_000 so as to not have to check for generated size.
Following the initial Zenodo implementation, we use the same config for the
number of entries in the Sitemap Index and Sitemap files.
SITEMAP_ROOT_VIEW_ENABLED
Enable the /sitemap.xml endpoint serving the first sitemap index.
SITEMAP_SECTIONS
Instances of sitemap.SitemapSection that will populate the Sitemap files.
*SITE_API_URL
*SITE_UI_URL
SQLALCHEMY_BINDS
| Default Value |
<dict> |
| Type |
dict |
| Source |
unknown |
*SQLALCHEMY_DATABASE_URI
SQLALCHEMY_ECHO
Enable to see all SQL queries.
SQLALCHEMY_ENGINE_OPTIONS
SQLALCHEMY_RECORD_QUERIES
| Default Value |
False |
| Type |
bool |
| Source |
unknown |
SQLALCHEMY_TRACK_MODIFICATIONS
| Default Value |
True |
| Type |
bool |
| Source |
unknown |
*STATS_AGGREGATIONS
*STATS_EVENTS
Enabled Events.
Each key is the name of an event. A queue will be created for each event.
If the dict of an event contains the signal key, and the config variable
STATS_REGISTER_RECEIVERS is True, a signal receiver will be registered.
Receiver function which will be connected on a signal and emit events. The key
is the name of the emitted event.
signal: Signal to which the receiver will be connected to.
event_builders: list of functions which will create and enhance the event.
Each function will receive the event created by the previous function and
can update it. Keep in mind that these functions will run synchronously
during the creation of the event, meaning that if the signal is sent during
a request they will increase the response time.
You can find a sampe of STATS_EVENT configuration in the registrations.py
STATS_EVENTS_UTC_DATETIME_ENABLED
Enable timezone-aware UTC datetimes for event timestamps.
When set to False (default), naive UTC datetimes are used (tzinfo is
stripped via datetime.replace(tzinfo=None)). Set to True to use
timezone-aware UTC datetimes with explicit UTC timezone information.
STATS_MQ_EXCHANGE
| Invenio RDM Default Value |
Exchange('events', type='direct', delivery_mode='transient') |
| Type |
unknown |
| Source |
invenio-stats |
*STATS_PERMISSION_FACTORY
Permission factory used by the statistics REST API.
This is a function which returns a permission granting or forbidding access
to a request. It is of the form permission_factory(query_name, params)
where query_name is the name of the statistic requested by the user and
params is a dict of parameters for this statistic. The result of the
function is a Permission.
See Invenio-access and Flask-principal for a better understanding of the
access control mechanisms.
*STATS_QUERIES
STATS_REGISTER_INDEX_TEMPLATES
Register templates as index templates.
Default behaviour will register the templates as search templates.
*STATS_REGISTER_RECEIVERS
Enable the registration of signal receivers.
Default is True.
The signal receivers are functions which will listen to the signals listed in
by the STATS_EVENTS config variable. An event will be generated for each
signal sent.
TEMPLATES_AUTO_RELOAD
| Default Value |
None |
| Type |
NoneType |
| Source |
unknown |
TESTING
| Default Value |
False |
| Type |
bool |
| Source |
unknown |
THEME_401_TEMPLATE
The template used for 401 Unauthorized errors.
| Invenio RDM Default Value |
'invenio_theme/401.html' |
| Type |
str |
| Source |
invenio-theme |
THEME_403_TEMPLATE
The template used for 403 Forbidden errors.
| Invenio RDM Default Value |
'invenio_theme/403.html' |
| Type |
str |
| Source |
invenio-theme |
THEME_404_TEMPLATE
The template used for 404 Not Found errors.
| Invenio RDM Default Value |
'invenio_theme/404.html' |
| Type |
str |
| Source |
invenio-theme |
THEME_429_TEMPLATE
The template used for 429 Too Many Requests errors.
| Invenio RDM Default Value |
'invenio_theme/429.html' |
| Type |
str |
| Source |
invenio-theme |
THEME_500_TEMPLATE
The template used for 500 Internal Server Error errors.
| Invenio RDM Default Value |
'invenio_theme/500.html' |
| Type |
str |
| Source |
invenio-theme |
THEME_BASE_TEMPLATE
Template which all templates in Invenio-Theme all extends from.
Defaults to value of :const:BASE_TEMPLATE.
| Invenio RDM Default Value |
'invenio_theme/page.html' |
| Type |
str |
| Source |
invenio-theme |
THEME_COVER_TEMPLATE
Template which all cover templates in Invenio-Theme all extends from.
Defaults to value of :const:COVER_TEMPLATE.
| Invenio RDM Default Value |
'invenio_theme/page_cover.html' |
| Type |
str |
| Source |
invenio-theme |
*THEME_CSS_TEMPLATE
THEME_ERROR_TEMPLATE
Base template for error pages.
| Invenio RDM Default Value |
'invenio_theme/page_error.html' |
| Type |
str |
| Source |
invenio-theme |
Footer template which is normally included in :data:BASE_TEMPLATE.
*THEME_FRONTPAGE
Enable or disable basic frontpage view.
*THEME_FRONTPAGE_LOGO
*THEME_FRONTPAGE_TEMPLATE
Template for front page.
*THEME_FRONTPAGE_TITLE
The title shown on the frontpage.
THEME_GENERATOR
Generator meta tag to identify the software that generated the page.
Accepts a string or a func returning a string. Set it to None to disable it.
THEME_GOOGLE_SITE_VERIFICATION
List of Google Site Verification tokens to be used.
This adds the Google Site Verification into the meta tags of all pages.
Header login template, included in :data:THEME_HEADER_TEMPLATE.
Header template which is normally included in :data:BASE_TEMPLATE.
THEME_ICONS
{'semantic-ui': {'key': 'key icon',
'link': 'linkify icon',
'shield': 'shield alternate icon',
'user': 'user icon',
'codepen': 'codepen icon',
'cogs': 'cogs icon',
'home': 'home icon',
'exchange': 'exchange icon',
'star_outline': 'star outline icon',
'users': 'users icon',
'*': '{} icon'},
'bootstrap3': {'key': 'fa fa-key fa-fw',
'link': 'fa fa-link fa-fw',
'shield': 'fa fa-shield fa-fw',
'user': 'fa fa-user fa-fw',
'codepen': 'fa fa-codepen fa-fw',
'cogs': 'fa fa-cogs fa-fw',
'*': 'fa fa-{} fa-fw'}}
*THEME_JAVASCRIPT_TEMPLATE
Javascript assets template, normally included in :data:BASE_TEMPLATE.
The default template just includes the Invenio-Theme JavaScript bundle.
Set a new template if you would like to customize which JavaScript assets are
included on all pages.
*THEME_LOGO
The logo to be used on the header and on the cover.
THEME_LOGO_ADMIN
The logo to be used on the admin views header.
| Invenio RDM Default Value |
'images/invenio-white.svg' |
| Type |
str |
| Source |
invenio-theme |
THEME_MATHJAX_CDN
MathJax configuration for rendering mathematical formulas.
Robots meta tag to control indexing of the page.
Accepts a list of dicts that will be converted into meta tag attributes, e.g.:
.. code-block:: python
THEME_META_ROBOT_TAGS = [
{"name": "robots", "content": "noindex, nofollow"},
{"name": "googlebot", "content": "noimageindex"},
]
will generate:
.. code-block:: html
<meta name="robots" content="noindex, nofollow">
<meta name="googlebot" content="noimageindex">
THEME_SEARCHBAR
Enable or disable the header search bar.
*THEME_SEARCH_ENDPOINT
The endpoint for the search bar.
THEME_SETTINGS_TEMPLATE
Template which all settings templates in Invenio-Theme all extends from.
Defaults to value of :const:SETTINGS_TEMPLATE.
| Invenio RDM Default Value |
'invenio_theme/page_settings.html' |
| Type |
str |
| Source |
invenio-theme |
*THEME_SHOW_FRONTPAGE_INTRO_SECTION
Front page intro section visibility
*THEME_SITENAME
The name of the site to be used on the header and as a title.
THEME_SITEURL
*THEME_TRACKINGCODE_TEMPLATE
Template for including a tracking code for web analytics.
The default template does not include any tracking code.
THEME_TWITTERHANDLE
Twitter handle.
TRAP_BAD_REQUEST_ERRORS
| Default Value |
None |
| Type |
NoneType |
| Source |
unknown |
TRAP_HTTP_EXCEPTIONS
| Default Value |
False |
| Type |
bool |
| Source |
unknown |
*TRUSTED_HOSTS
A list of host/domain names that can be served.
This is a security measure to prevent HTTP Host header attacks, which are
possible even under many seemingly-safe web server configurations.
By default all hosts are allowed. Values in this list can be fully qualified
names (e.g. 'www.example.com'). The validation only applies to
request.host.
In addition to this configuration variable, you should make sure that your
web server does not route requests to the application with an invalid Host
header.
TYPE_CHECKING
| Default Value |
False |
| Type |
bool |
| Source |
unknown |
USERPROFILES
Enable or disable module extensions.
USERPROFILES_BASE_TEMPLATE
Base templates for user profile module.
USERPROFILES_EMAIL_ENABLED
Include the user email in the profile form.
Extend the Invenio-Accounts user registration forms.
USERPROFILES_PROFILE_TEMPLATE
Default profile template.
| Invenio RDM Default Value |
'invenio_userprofiles/settings/profile.html' |
| Type |
str |
| Source |
invenio-userprofiles |
USERPROFILES_PROFILE_URL
Default profile URL endpoint.
*USERPROFILES_READ_ONLY
Make the user profiles read-only.
USERPROFILES_SETTINGS_TEMPLATE
Settings base templates for user profile module.
USERS_RESOURCES_AVATAR_COLORS
['#e06055',
'#ff8a65',
'#e91e63',
'#f06292',
'#673ab7',
'#ba68c8',
'#7986cb',
'#3f51b5',
'#5e97f6',
'#00a4e4',
'#4dd0e1',
'#0097a7',
'#d4e157',
'#aed581',
'#57bb8a',
'#4db6ac',
'#607d8b',
'#795548',
'#a1887f',
'#fdd835',
'#a3a3a3',
'#556c60',
'#605264',
'#923035',
'#915a30',
'#55526f',
'#67635a']
USERS_RESOURCES_DOMAINS_ORG_SCHEMA
Domains organisation schema config.
USERS_RESOURCES_DOMAINS_SEARCH
{'sort': ['bestmatch',
'domain',
'newest',
'oldest',
'updated',
'num-users',
'num-active',
'num-inactive',
'num-confirmed',
'num-verified',
'num-blocked'],
'facets': ['status', 'flagged', 'category', 'organisation', 'tld']}
USERS_RESOURCES_DOMAINS_SEARCH_FACETS
{'status': {'facet': <invenio_records_resources.services.records.facets.facets.TermsFacet object>,
'ui': {'field': 'status'}},
'flagged': {'facet': <invenio_records_resources.services.records.facets.facets.TermsFacet object>,
'ui': {'field': 'flagged'}},
'category': {'facet': <invenio_records_resources.services.records.facets.facets.TermsFacet object>,
'ui': {'field': 'category'}},
'organisation': {'facet': <invenio_records_resources.services.records.facets.facets.TermsFacet object>,
'ui': {'field': 'organisation'}},
'tld': {'facet': <invenio_records_resources.services.records.facets.facets.TermsFacet object>,
'ui': {'field': 'tld'}}}
USERS_RESOURCES_DOMAINS_SORT_OPTIONS
{'bestmatch': {'title': l'Best match', 'fields': ['_score']},
'domain': {'title': l'Domain', 'fields': ['domain', '-created']},
'newest': {'title': l'Newest', 'fields': ['-created']},
'oldest': {'title': l'Oldest', 'fields': ['created']},
'updated': {'title': l'Recently updated', 'fields': ['-updated']},
'num-users': {'title': l'# Users', 'fields': ['-num_users']},
'num-active': {'title': l'# Active', 'fields': ['-num_active']},
'num-inactive': {'title': l'# Inactive', 'fields': ['-num_inactive']},
'num-confirmed': {'title': l'# Confirmed', 'fields': ['-num_confirmed']},
'num-verified': {'title': l'# Verified', 'fields': ['-num_verified']},
'num-blocked': {'title': l'# Blocked', 'fields': ['-num_blocked']}}
USERS_RESOURCES_GROUPS_ADMIN_FACETS
{'is_managed': {'facet': <invenio_records_resources.services.records.facets.facets.TermsFacet object>,
'ui': {'field': 'is_managed'}}}
USERS_RESOURCES_GROUPS_ADMIN_SEARCH
{'sort': ['bestmatch', 'name', 'name_desc', 'managed', 'unmanaged'],
'facets': ['is_managed']}
USERS_RESOURCES_GROUPS_ADMIN_SORT_OPTIONS
{'bestmatch': {'title': l'Best match', 'fields': ['_score']},
'name': {'title': l'Name (A-Z)', 'fields': ['name.keyword']},
'name_desc': {'title': l'Name (Z-A)', 'fields': ['-name.keyword']},
'managed': {'title': l'Managed first', 'fields': ['-is_managed', 'name.keyword']},
'unmanaged': {'title': l'Unmanaged first', 'fields': ['is_managed', 'name.keyword']}}
USERS_RESOURCES_GROUPS_ENABLED
Config to enable features related to existence of groups.
USERS_RESOURCES_MODERATION_LOCK_DEFAULT_TIMEOUT
Default timeout, in seconds, to lock a user when moderating.
USERS_RESOURCES_MODERATION_LOCK_RENEWAL_TIMEOUT
Renewal timeout, in seconds, to increase the lock time for a user when moderating.
USERS_RESOURCES_PROTECTED_GROUP_NAMES
['admin', 'administration', 'superuser-access', 'administration-moderation']
USERS_RESOURCES_SEARCH
{'sort': ['bestmatch', 'username', 'email', 'domain', 'newest', 'oldest', 'updated'],
'facets': ['status', 'visibility', 'domain_status', 'domain', 'affiliations', 'roles']}
USERS_RESOURCES_SEARCH_FACETS
{'domain': {'facet': <invenio_records_resources.services.records.facets.facets.TermsFacet object>,
'ui': {'field': 'domain'}},
'domain_status': {'facet': <invenio_records_resources.services.records.facets.facets.TermsFacet object>,
'ui': {'field': 'domain_status'}},
'affiliations': {'facet': <invenio_records_resources.services.records.facets.facets.TermsFacet object>,
'ui': {'field': 'profile.affiliations.keyword'}},
'status': {'facet': <invenio_records_resources.services.records.facets.facets.TermsFacet object>,
'ui': {'field': 'status'}},
'visibility': {'facet': <invenio_records_resources.services.records.facets.facets.TermsFacet object>,
'ui': {'field': 'visibility'}},
'roles': {'facet': <invenio_records_resources.services.records.facets.facets.TermsFacet object>,
'facet_options': {'size': 100},
'ui': {'field': 'roles'}}}
USERS_RESOURCES_SERVICE_SCHEMA
Schema used by the users service.
USERS_RESOURCES_SORT_OPTIONS
{'bestmatch': {'title': l'Best match', 'fields': ['_score']},
'username': {'title': l'Username', 'fields': ['username.keyword', '-created']},
'email': {'title': l'Email', 'fields': ['email_hidden', '-created']},
'domain': {'title': l'Domain', 'fields': ['domain', '-created']},
'newest': {'title': l'Newest', 'fields': ['-created']},
'oldest': {'title': l'Oldest', 'fields': ['created']},
'updated': {'title': l'Recently updated', 'fields': ['-updated']}}
Overrides for "dashboard" menu.
USE_X_SENDFILE
| Default Value |
False |
| Type |
bool |
| Source |
unknown |
VCS_TEMPLATE_INDEX
| Invenio RDM Default Value |
'invenio_vcs/rdm-index.html' |
| Type |
unknown |
| Source |
invenio-app-rdm |
VCS_TEMPLATE_INDEX_ITEM
| Invenio RDM Default Value |
'invenio_vcs/rdm-index-item.html' |
| Type |
unknown |
| Source |
invenio-app-rdm |
VCS_TEMPLATE_RELEASE_ITEM
| Invenio RDM Default Value |
'invenio_vcs/rdm-release-item.html' |
| Type |
unknown |
| Source |
invenio-app-rdm |
VCS_TEMPLATE_REPO_SWITCH
| Invenio RDM Default Value |
'invenio_vcs/rdm-repo-switch.html' |
| Type |
unknown |
| Source |
invenio-app-rdm |
VCS_TEMPLATE_VIEW
| Invenio RDM Default Value |
'invenio_vcs/rdm-view.html' |
| Type |
unknown |
| Source |
invenio-app-rdm |
VOCABULARIES_AFFILIATIONS_EDMO_COUNTRY_MAPPING
{'Cape Verde': 'Cabo Verde'}
*VOCABULARIES_AFFILIATION_SCHEMES
{'grid': {'label': l'GRID', 'validator': <function <lambda>>},
'gnd': {'label': l'GND', 'validator': <function is_gnd>},
'isni': {'label': l'ISNI', 'validator': <function is_isni>},
'ror': {'label': l'ROR', 'validator': <function is_ror>},
'pic': {'label': l'PIC', 'validator': <function is_pic>},
'edmo': {'label': l'EDMO', 'validator': <function is_edmo>}}
VOCABULARIES_AWARDS_EC_ROR_ID
ROR ID for EC funder.
VOCABULARIES_AWARDS_OPENAIRE_FUNDERS
{'aka_________': '05k73zm37',
'anr_________': '00rbzpz17',
'arc_________': '05mmh0f86',
'asap________': '03zj4c476',
'cihr________': '01gavpb45',
'corda_______': '00k4n6c32',
'corda_____he': '00k4n6c32',
'corda__h2020': '00k4n6c32',
'euenvagency_': '02k4b9v70',
'fct_________': '00snfqn58',
'fwf_________': '013tf3c58',
'inca________': '03m8vkq32',
'irb_hr______': '03n51vw80',
'lcs_________': '02ar66p97',
'mestd_______': '01znas443',
'nhmrc_______': '011kf5r70',
'nih_________': '01cwqze88',
'nserc_______': '01h531d29',
'nsf_________': '021nxhr62',
'nwo_________': '04jsz6e67',
'rcuk________': '00dq2kk65',
'sfi_________': '0271asj38',
'snsf________': '00yjd3n13',
'sshrc_______': '006cvnv84',
'tubitakf____': '04w9kkr77',
'twcf________': '00x0z1472',
'ukri________': '001aqnf71',
'wt__________': '029chgv08',
'cf__________': '01kpjmx04',
'fcf_________': '027xav248',
'ibf_________': '04jsz6e67',
'501100011626': '04q0a4f84',
'erasmusplus_': '00k4n6c32',
'dfgf________': '018mejw64',
'drf_________': '004j3q729',
'fmf_________': '0593mby10',
'hsf_________': '05tdna171',
'irfd________': '05svhj534',
'kaute_______': '00zwv5854',
'kf__________': '05jwty529',
'lf__________': '03hz8wd80',
'mtnf________': '047egay20',
'nnf_________': '04txyc737',
'pf__________': '048e7gn38',
'pnf_________': '009vp0837',
'rcn_________': '00epmv149',
'rif_________': '00en9ce74',
'sslf________': '04a31ep84',
've__________': '05nqkay65',
'vf__________': '013w1n936',
'501100001581': '02dd61a62',
'501100001635': '00a0n9e72',
'mvt_________': '019pxzh98',
'100012733___': '03xkf7525',
'100015319___': '04bnxk453',
'100022943___': '02g8v2v69',
'501100001638': '04a1a1e81',
'jaef________': '03vxy9y38',
'100019637___': '003mr9q86',
'501100001630': '051sx6d27',
'100013433___': '054tsxk98',
'501100001587': '04q0a4f84'}
VOCABULARIES_AWARD_SCHEMES
{'url': {'label': l'URL', 'validator': <function is_url>},
'doi': {'label': l'DOI', 'validator': <function is_doi>}}
VOCABULARIES_CF
| Default Value |
<list> |
| Type |
list |
| Source |
unknown |
VOCABULARIES_CUSTOM_VOCABULARY_TYPES
['names', 'affiliations', 'awards', 'funders', 'subjects']
*VOCABULARIES_DATASTREAM_READERS
{'csv': <class 'invenio_vocabularies.datastreams.readers.CSVReader'>,
'json': <class 'invenio_vocabularies.datastreams.readers.JsonReader'>,
'jsonl': <class 'invenio_vocabularies.datastreams.readers.JsonLinesReader'>,
'gzip': <class 'invenio_vocabularies.datastreams.readers.GzipReader'>,
'tar': <class 'invenio_vocabularies.datastreams.readers.TarReader'>,
'http': <class 'invenio_vocabularies.datastreams.readers.SimpleHTTPReader'>,
'rdf': <class 'invenio_vocabularies.datastreams.readers.RDFReader'>,
'sparql': <class 'invenio_vocabularies.datastreams.readers.SPARQLReader'>,
'yaml': <class 'invenio_vocabularies.datastreams.readers.YamlReader'>,
'zip': <class 'invenio_vocabularies.datastreams.readers.ZipReader'>,
'xml': <class 'invenio_vocabularies.datastreams.readers.XMLReader'>,
'oai-pmh': <class 'invenio_vocabularies.datastreams.readers.OAIPMHReader'>}
{'xml': <class 'invenio_vocabularies.datastreams.transformers.XMLTransformer'>}
*VOCABULARIES_DATASTREAM_WRITERS
{'service': <class 'invenio_vocabularies.datastreams.writers.ServiceWriter'>,
'yaml': <class 'invenio_vocabularies.datastreams.writers.YamlWriter'>,
'async': <class 'invenio_vocabularies.datastreams.writers.AsyncWriter'>}
VOCABULARIES_FACET_CACHE_SIZE
VOCABULARIES_FACET_CACHE_TTL
VOCABULARIES_FUNDER_DOI_PREFIX
DOI prefix for the identifier formed with the FundRef id.
*VOCABULARIES_FUNDER_SCHEMES
{'grid': {'label': l'GRID', 'validator': <function <lambda>>},
'gnd': {'label': l'GND', 'validator': <function is_gnd>},
'isni': {'label': l'ISNI', 'validator': <function is_isni>},
'ror': {'label': l'ROR', 'validator': <function is_ror>},
'doi': {'label': l'DOI', 'validator': <function is_doi>}}
VOCABULARIES_IDENTIFIER_SCHEMES
{'grid': {'label': l'GRID', 'validator': <function <lambda>>},
'gnd': {'label': l'GND', 'validator': <function is_gnd>},
'isni': {'label': l'ISNI', 'validator': <function is_isni>},
'ror': {'label': l'ROR', 'validator': <function is_ror>}}
*VOCABULARIES_NAMES_SCHEMES
{'orcid': {'label': l'ORCID',
'validator': <function is_orcid>,
'datacite': 'ORCID'},
'isni': {'label': l'ISNI',
'validator': <function is_isni>,
'datacite': 'ISNI'},
'gnd': {'label': l'GND',
'validator': <function is_gnd>,
'datacite': 'GND'}}
VOCABULARIES_ORCID_ACCESS_KEY
ORCID access key to access the s3 bucket.
VOCABULARIES_ORCID_ORG_IDS_MAPPING_PATH
Path to the CSV file for mapping ORCiD organization IDs to affiliation IDs.
The path can be specified as either an absolute path or a relative path within the
Flask app instance folder (i.e. current_app.instance_path).
The CSV file should have the following columns:
org_scheme: The ORCiD organization ID.
org_id: The ORCiD organization ID.
aff_id: The affiliation ID to map to.
VOCABULARIES_ORCID_SECRET_KEY
ORCID secret key to access the s3 bucket.
VOCABULARIES_ORCID_SUMMARIES_BUCKET
ORCID summaries bucket name.
VOCABULARIES_ORCID_SYNC_MAX_WORKERS
ORCID max number of simultaneous workers/connections.
VOCABULARIES_ORCID_SYNC_SINCE
*VOCABULARIES_RESOURCE_CONFIG
Configure the resource.
*VOCABULARIES_SERVICE_CONFIG
Configure the service.
VOCABULARIES_SUBJECTS_EUROSCIVOC_FILE_URL
Subject EuroSciVoc file download link.
| Invenio RDM Default Value |
'https://publications.europa.eu/resource/distribution/euroscivoc/rdf/skos_ap_eu/EuroSciVoc-skos-ap-e... |
| Type |
str |
| Source |
invenio-vocabularies |
VOCABULARIES_SUBJECTS_GEMET_FILE_URL
| Invenio RDM Default Value |
'https://www.eionet.europa.eu/gemet/latest/gemet.rdf.gz' |
| Type |
str |
| Source |
invenio-vocabularies |
VOCABULARIES_SUBJECTS_NVS_FILE_URL
Subject NVS-P02 file download link.
| Invenio RDM Default Value |
'http://vocab.nerc.ac.uk/collection/P02/current/?_profile=nvs&_mediatype=application/rdf+xml' |
| Type |
str |
| Source |
invenio-vocabularies |
VOCABULARIES_SUBJECTS_SCHEMES
{'gnd': {'label': l'GND',
'validator': <function is_gnd>,
'datacite': 'GND'},
'url': {'label': l'URL', 'validator': <function is_url>}}
VOCABULARIES_TYPES_SEARCH
{'facets': [], 'sort': ['name', 'count']}
VOCABULARIES_TYPES_SORT_OPTIONS
{'name': {'title': l'Name', 'fields': ['id']},
'count': {'title': l'Number of entries', 'fields': ['count']}}
VOCABULARY_TYPE_UI_RESOURCE
| Default Value |
'oarepo_vocabularies.ui.resources.vocabulary_type.resource:VocabularyTypeUIResource' |
| Type |
str |
| Source |
unknown |
VOCABULARY_TYPE_UI_RESOURCE_CONFIG
| Default Value |
'oarepo_vocabularies.ui.resources.vocabulary_type.config:VocabularyTypeUIResourceConfig' |
| Type |
str |
| Source |
unknown |
WEBPACKEXT_MANIFEST_PATH
| Default Value |
'dist/manifest.json' |
| Type |
str |
| Source |
unknown |
*WEBPACKEXT_NPM_PKG_CLS
*WEBPACKEXT_PROJECT
| Default Value |
'oarepo_ui.webpack:project' |
| Type |
str |
| Source |
unknown |
| Set by |
configure_ui |
WEBPACKEXT_PROJECT_BUILDDIR
| Default Value |
'/Users/m/Workspaces/repositories/feat-convert-old-catchall/oarepo-config/.venv/var/instance/assets' |
| Type |
str |
| Source |
unknown |
WEBPACKEXT_PROJECT_DISTDIR
| Default Value |
'/Users/m/Workspaces/repositories/feat-convert-old-catchall/oarepo-config/.venv/var/instance/static/... |
| Type |
str |
| Source |
unknown |
WEBPACKEXT_PROJECT_DISTURL
| Default Value |
'/static/dist' |
| Type |
str |
| Source |
unknown |
WORKFLOWS
| Default Value |
<dict> |
| Type |
dict |
| Source |
unknown |
WORKFLOWS_DEFAULT_WORKFLOW
| Default Value |
'individual' |
| Type |
str |
| Source |
unknown |