Base Configuration

Zenodo default application configuration.

You can customize these configuration variables on your instance by either setting environment variables prefixed with APP_, e.g.

export APP_SUPPORT_EMAIL=info@example.org

or provide an instance configuration file (Python syntax):

# ${VIRTUAL_ENV}/var/instance/zenodo.cfg
SUPPORT_EMAIL = "info@example.org"

Configuration variables

zenodo.config.ACCESS_CACHE = 'zenodo.modules.cache:current_cache'

Cache for storing access restrictions

zenodo.config.ACCOUNTS_SESSION_REDIS_URL = 'redis://localhost:6379/2'

Default cache URL for sessions.

zenodo.config.BABEL_DEFAULT_LANGUAGE = 'en'

Default language.

zenodo.config.BABEL_DEFAULT_TIMEZONE = 'Europe/Zurich'

Default timezone.

zenodo.config.BASE_TEMPLATE = 'zenodo_theme/page.html'

Base template for entire site.

zenodo.config.BROKER_URL = 'amqp://guest:guest@localhost:5672//'

Default broker (RabbitMQ on locahost).

zenodo.config.CACHE_KEY_PREFIX = 'cache::'

Cache key prefix

zenodo.config.CACHE_REDIS_DB = 0

DB

zenodo.config.CACHE_REDIS_HOST = 'localhost'

Host

zenodo.config.CACHE_REDIS_PORT = 6379

Port

zenodo.config.CACHE_REDIS_URL = 'redis://localhost:6379/0'

URL of Redis db.

zenodo.config.CACHE_TYPE = 'redis'

Default cache type.

zenodo.config.CELERYBEAT_SCHEDULE = {'indexer': {'schedule': datetime.timedelta(0, 300), 'task': 'invenio_indexer.tasks.process_bulk_queue'}, 'embargo-updater': {'schedule': <crontab: 2 0 * * * (m/h/d/dM/MY)>, 'task': 'zenodo.modules.records.tasks.update_expired_embargos'}}

Beat schedule

zenodo.config.CELERY_ACCEPT_CONTENT = ['json', 'msgpack', 'yaml']

Accepted content types for Celery.

zenodo.config.CELERY_RESULT_BACKEND = 'redis://localhost:6379/1'

Default Celery result backend.

zenodo.config.COMMUNITIES_COMMUNITY_TEMPLATE = 'zenodo_theme/communities/base.html'

Override templates to use custom search-js

zenodo.config.COMMUNITIES_CURATE_TEMPLATE = 'zenodo_theme/communities/curate.html'

Override templates to use custom search-js

zenodo.config.COMMUNITIES_JSTEMPLATE_RESULTS_CURATE = 'templates/zenodo_search_ui/results_curate.html'

Angular template for rendering search results for curation.

zenodo.config.COMMUNITIES_REQUEST_EMAIL_SENDER = 'info@zenodo.org'

Email sender for communities emails.

zenodo.config.COMMUNITIES_SEARCH_TEMPLATE = 'zenodo_theme/communities/search.html'

Override templates to use custom search-js

zenodo.config.COVER_TEMPLATE = 'zenodo_theme/page_cover.html'

Cover template for entire site.

zenodo.config.CSL_JSTEMPLATE_CITEPROC = 'templates/invenio_csl/citeproc.html'

Template for CSL citation result

zenodo.config.CSL_JSTEMPLATE_DIR = 'node_modules/invenio-csl-js/dist/templates/'

Template dirrectory for CSL

zenodo.config.CSL_JSTEMPLATE_ERROR = 'node_modules/invenio-csl-js/dist/templates/error.html'

Template for CSL error

zenodo.config.CSL_JSTEMPLATE_LIST_ITEM = 'templates/invenio_csl/item.html'

Template for CSL citation list item

zenodo.config.CSL_JSTEMPLATE_LOADING = 'node_modules/invenio-csl-js/dist/templates/loading.html'

Template for CSL loading

zenodo.config.CSL_JSTEMPLATE_TYPEAHEAD = 'node_modules/invenio-csl-js/dist/templates/typeahead.html'

Template for CSL typeahead

zenodo.config.CSL_RECORDS_API_ENDPOINT = '/api/records/'

Records Endpoint for CSL

zenodo.config.CSL_STYLES_API_ENDPOINT = '/api/csl/styles'

Styles Endpoint for CSL

zenodo.config.DEBUG_TB_INTERCEPT_REDIRECTS = False

Do not allow DebugToolbar to redirects redirects.

zenodo.config.DEPOSIT_CONTRIBUTOR_TYPES = [{'datacite': 'ContactPerson', 'marc': 'prc', 'label': 'Contact person'}, {'datacite': 'DataCollector', 'marc': 'col', 'label': 'Data collector'}, {'datacite': 'DataCurator', 'marc': 'cur', 'label': 'Data curator'}, {'datacite': 'DataManager', 'marc': 'dtm', 'label': 'Data manager'}, {'datacite': 'Editor', 'marc': 'edt', 'label': 'Editor'}, {'datacite': 'Researcher', 'marc': 'res', 'label': 'Researcher'}, {'datacite': 'RightsHolder', 'marc': 'cph', 'label': 'Rights holder'}, {'datacite': 'Sponsor', 'marc': 'spn', 'label': 'Sponsor'}, {'datacite': 'Other', 'marc': 'oth', 'label': 'Other'}]

Allow list of contributor types.

zenodo.config.DEPOSIT_DATACITE_MINTING_ENABLED = False

Enable the DataCite minding of DOIs after Deposit publishing

zenodo.config.DEPOSIT_DEFAULT_JSONSCHEMA = 'deposits/records/record-v1.0.0.json'

Default JSON Schema for deposit

zenodo.config.DEPOSIT_DEFAULT_SCHEMAFORM = 'json/zenodo_deposit/deposit_form.json'

Angular Schema Form for deposit

zenodo.config.DEPOSIT_PID_MINTER = 'zenodo_record_minter'

PID minter used during record creation.

zenodo.config.DEPOSIT_REST_ENDPOINTS = {'depid': {'item_route': '/deposit/depositions/<pid(depid,record_class="zenodo.modules.deposit.api:ZenodoDeposit"):pid_value>', 'files_serializers': {'application/json': 'zenodo.modules.records.serializers:legacyjson_v1_files_response'}, 'read_permission_factory_imp': <class 'zenodo.modules.deposit.permissions.DepositPermission'>, 'create_permission_factory_imp': <function check_oauth2_scope.<locals>.check>, 'search_factory_imp': 'zenodo.modules.deposit.query.search_factory', 'default_media_type': 'application/json', 'search_class': 'invenio_deposit.search:DepositSearch', 'search_serializers': {'application/json': 'zenodo.modules.records.serializers:legacyjson_v1_search', 'application/vnd.zenodo.v1+json': 'zenodo.modules.records.serializers:deposit_json_v1_search'}, 'links_factory_imp': 'invenio_deposit.links:deposit_links_factory', 'update_permission_factory_imp': <function check_oauth2_scope.<locals>.check>, 'pid_type': 'depid', 'max_result_window': 10000, 'delete_permission_factory_imp': <function check_oauth2_scope.<locals>.check>, 'file_item_route': '/deposit/depositions/<pid(depid,record_class="zenodo.modules.deposit.api:ZenodoDeposit"):pid_value>/files/<file_key:key>', 'record_loaders': {'application/json': 'zenodo.modules.deposit.loaders:legacyjson_v1', 'application/vnd.zenodo.v1+json': 'zenodo.modules.deposit.loaders:deposit_json_v1'}, 'record_class': 'zenodo.modules.deposit.api:ZenodoDeposit', 'list_route': '/deposit/depositions', 'file_list_route': '/deposit/depositions/<pid(depid,record_class="zenodo.modules.deposit.api:ZenodoDeposit"):pid_value>/files', 'record_serializers': {'application/json': 'zenodo.modules.records.serializers:legacyjson_v1_response', 'application/vnd.zenodo.v1+json': 'zenodo.modules.records.serializers:deposit_json_v1_response'}, 'pid_fetcher': 'zenodo_deposit_fetcher', 'pid_minter': 'zenodo_deposit_minter'}}

Endpoints for deposit.

zenodo.config.DEPOSIT_SEARCH_API = '/api/deposit/depositions'

Template for deposit list view.

zenodo.config.DEPOSIT_SEARCH_MIMETYPE = 'application/vnd.zenodo.v1+json'

Mimetype for deposit search.

zenodo.config.DEPOSIT_UI_INDEX_TEMPLATE = 'zenodo_deposit/index.html'

Template for deposit list view.

zenodo.config.DEPOSIT_UI_NEW_TEMPLATE = 'zenodo_deposit/edit.html'

Template to use for UI.

zenodo.config.FILES_REST_PERMISSION_FACTORY = 'zenodo.modules.records.permissions:files_permission_factory'

Files REST permission factory

zenodo.config.FORMATTER_BADGES_ALLOWED_TITLES = ['DOI', 'doi']

List of allowed titles in badges.

zenodo.config.FORMATTER_BADGES_TITLE_MAPPING = {'doi': 'DOI'}

Mapping of titles.

zenodo.config.FRONTPAGE_ENDPOINT = 'zenodo_frontpage.index'

Frontpage endpoint.

zenodo.config.GITHUB_APP_CREDENTIALS = {'consumer_secret': 'CHANGE_ME', 'consumer_key': 'CHANGE_ME'}

Credentials for GitHub (must be changed to work).

zenodo.config.HEADER_TEMPLATE = 'zenodo_theme/header.html'

Header template for entire site.

zenodo.config.I18N_LANGUAGES = []

Other supported languages.

zenodo.config.JSONSCHEMAS_HOST = 'zenodo.org'

Hostname for JSON Schemas.

zenodo.config.LOGGING_SENTRY_CLASS = 'invenio_logging.sentry6:Sentry6'

Overwrite default Sentry extension class to support Sentry 6.

zenodo.config.OAISERVER_ADMIN_EMAILS = ['info@zenodo.org']

Support email for OAI-PMH.

zenodo.config.OAISERVER_ID_PREFIX = 'oai:zenodo.org:recid/'

OAI identifier prefix

zenodo.config.OAISERVER_METADATA_FORMATS = {'marc21': {'namespace': 'http://www.loc.gov/MARC21/slim', 'schema': 'http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd', 'serializer': 'zenodo.modules.records.serializers.oaipmh_marc21_v1'}, 'marcxml': {'namespace': 'http://www.loc.gov/MARC21/slim', 'schema': 'http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd', 'serializer': 'zenodo.modules.records.serializers.oaipmh_marc21_v1'}, 'oai_dc': {'namespace': 'http://www.openarchives.org/OAI/2.0/oai_dc/', 'schema': 'http://www.openarchives.org/OAI/2.0/oai_dc.xsd', 'serializer': 'zenodo.modules.records.serializers.oaipmh_oai_dc'}, 'oai_datacite': {'namespace': 'http://datacite.org/schema/kernel-3', 'schema': 'http://schema.datacite.org/meta/kernel-3/metadata.xsd', 'serializer': 'zenodo.modules.records.serializers.oaipmh_oai_datacite'}, 'datacite3': {'namespace': 'http://datacite.org/schema/kernel-3', 'schema': 'http://schema.datacite.org/meta/kernel-3/metadata.xsd', 'serializer': 'zenodo.modules.records.serializers.oaipmh_datacite_v31'}}

Metadata formats for OAI-PMH server

zenodo.config.OAISERVER_PAGE_SIZE = 25

Number of records to return per page in OAI-PMH results.

zenodo.config.OAISERVER_RECORD_INDEX = 'records'

Index to use for the OAI-PMH server.

zenodo.config.OAISERVER_REGISTER_RECORD_SIGNALS = False

Do not register signals to automatically update record on updates.

zenodo.config.OAUTHCLIENT_REMOTE_APPS = {'github': {'params': {'access_token_url': 'https://github.com/login/oauth/access_token', 'authorize_url': 'https://github.com/login/oauth/authorize', 'app_key': 'GITHUB_APP_CREDENTIALS', 'access_token_method': 'POST', 'request_token_params': {'scope': 'user,user:email'}, 'request_token_url': None, 'base_url': 'https://api.github.com/'}, 'signup_handler': {'setup': 'invenio_oauthclient.contrib.github:account_setup', 'info': 'invenio_oauthclient.contrib.github:account_info', 'view': 'invenio_oauthclient.handlers:signup_handler'}, 'authorized_handler': 'invenio_oauthclient.handlers:authorized_signup_handler', 'disconnect_handler': 'invenio_oauthclient.contrib.github:disconnect_handler', 'icon': 'fa fa-github', 'title': 'GitHub', 'description': 'Software collaboration platform, with one-click software preservation in Zenodo.'}, 'orcid': {'params': {'access_token_method': 'POST', 'request_token_params': {'show_login': 'true', 'scope': '/authenticate'}, 'request_token_url': None, 'access_token_url': 'https://pub.orcid.org/oauth/token', 'content_type': 'application/json', 'authorize_url': 'https://orcid.org/oauth/authorize', 'app_key': 'ORCID_APP_CREDENTIALS', 'base_url': 'https://pub.orcid.org/v1.2/'}, 'signup_handler': {'setup': 'invenio_oauthclient.contrib.orcid:account_setup', 'info': 'invenio_oauthclient.contrib.orcid:account_info', 'view': 'invenio_oauthclient.handlers:signup_handler'}, 'authorized_handler': 'invenio_oauthclient.handlers:authorized_signup_handler', 'disconnect_handler': 'invenio_oauthclient.contrib.orcid:disconnect_handler', 'icon': '', 'title': 'ORCID', 'description': 'Connecting Research and Researchers.'}}

Defintion of OAuth client applications.

zenodo.config.OAUTHCLIENT_SIGNUP_TEMPLATE = 'zenodo_theme/security/oauth_register_user.html'

Change default template for oauth sign up.

zenodo.config.OAUTHCLIENT_TEMPLATE_KEY = None

Stop oauthclient from taking over template.

zenodo.config.OPENAIRE_JSONRESOLVER_GRANTS_HOST = 'dx.zenodo.org'

Hostname for OpenAIRE’s grant resolver.

zenodo.config.OPENAIRE_SCHEMAS_HOST = 'zenodo.org'

Hostname for JSON Schemas in OpenAIRE.

zenodo.config.OPENDEFINITION_JSONRESOLVER_HOST = 'dx.zenodo.org'

Hostname for OpenAIRE’s grant resolver.

zenodo.config.OPENDEFINITION_SCHEMAS_HOST = 'zenodo.org'

Hostname for JSON Schemas in OpenAIRE.

zenodo.config.ORCID_APP_CREDENTIALS = {'consumer_secret': 'CHANGE_ME', 'consumer_key': 'CHANGE_ME'}

Credentials for ORCID (must be changed to work).

zenodo.config.PAGES_WHITELIST_CONFIG_KEYS = ['PIDSTORE_DATACITE_DOI_PREFIX', 'DEPOSIT_CONTRIBUTOR_TYPES', 'FRONTPAGE_ENDPOINT', 'SUPPORT_EMAIL', 'THEME_SITENAME']

Allowed configuration variables to use in page templates.

zenodo.config.PIDSTORE_DATACITE_DOI_PREFIX = '10.5072'

DataCite API - Prefix for minting DOIs in (10.5072 is a test prefix).

zenodo.config.PIDSTORE_DATACITE_PASSWORD = 'CHANGE_ME'

DataCite MDS password.

zenodo.config.PIDSTORE_DATACITE_TESTMODE = False

DataCite API - Disable test mode (we however use the test prefix).

zenodo.config.PIDSTORE_DATACITE_URL = 'https://mds.datacite.org'

DataCite API - URL endpoint.

zenodo.config.PIDSTORE_DATACITE_USERNAME = 'CERN.ZENODO'

DataCite MDS username.

zenodo.config.PREVIEWER_BASE_CSS_BUNDLES = ['zenodo_theme_css']

Basic bundle which includes Font-Awesome/Bootstrap.

zenodo.config.PREVIEWER_BASE_JS_BUNDLES = ['zenodo_theme_js']

Basic bundle which includes Bootstrap/jQuery.

zenodo.config.RECAPTCHA_PRIVATE_KEY = None

Recaptcha private key (change to enable).

zenodo.config.RECAPTCHA_PUBLIC_KEY = None

Recaptcha public key (change to enable).

zenodo.config.RECORDS_REST_DEFAULT_SORT = {'records': {'query': 'bestmatch', 'noquery': 'mostrecent'}, 'grants': {'query': 'bestmatch', 'noquery': 'bestmatch'}, 'funders': {'query': 'bestmatch', 'noquery': 'bestmatch'}, 'deposits': {'query': 'bestmatch', 'noquery': 'mostrecent'}}

Default sort for records REST API.

zenodo.config.RECORDS_REST_ENDPOINTS = {'recid': {'search_index': 'records', 'item_route': '/records/<pid(recid,record_class="invenio_records_files.api:Record"):pid_value>', 'record_class': 'invenio_records_files.api:Record', 'list_route': '/records/', 'read_permission_factory_imp': <function allow_all>, 'pid_minter': 'zenodo_record_minter', 'default_media_type': 'application/vnd.zenodo.v1+json', 'search_factory_imp': 'invenio_records_rest.query.es_search_factory', 'search_serializers': {'application/marcxml+xml': 'zenodo.modules.records.serializers.marcxml_v1_search', 'application/json': 'zenodo.modules.records.serializers:legacyjson_v1_search', 'application/x-bibtex': 'zenodo.modules.records.serializers:bibtex_v1_search', 'application/x-dc+xml': 'zenodo.modules.records.serializers.dc_v1_search', 'application/x-datacite+xml': 'zenodo.modules.records.serializers.datacite_v31_search', 'application/vnd.zenodo.v1+json': 'zenodo.modules.records.serializers:json_v1_search'}, 'record_serializers': {'application/marcxml+xml': 'zenodo.modules.records.serializers.marcxml_v1_response', 'application/json': 'zenodo.modules.records.serializers.legacyjson_v1_response', 'text/x-bibliography': 'zenodo.modules.records.serializers.citeproc_v1_response', 'application/x-bibtex': 'zenodo.modules.records.serializers.bibtex_v1_response', 'application/x-dc+xml': 'zenodo.modules.records.serializers.dc_v1_response', 'application/x-datacite+xml': 'zenodo.modules.records.serializers.datacite_v31_response', 'application/vnd.citationstyles.csl+json': 'zenodo.modules.records.serializers.csl_v1_response', 'application/vnd.zenodo.v1+json': 'zenodo.modules.records.serializers.json_v1_response'}, 'pid_fetcher': 'zenodo_record_fetcher', 'search_type': ['record-v1.0.0'], 'pid_type': 'recid'}, 'frdoi': {'search_index': 'funders', 'item_route': '/funders/<pidpath(frdoi):pid_value>', 'list_route': '/funders/', 'default_media_type': 'application/json', 'suggesters': {'text': {'completion': {'field': 'suggest'}}}, 'pid_minter': 'openaire_funder_minter', 'read_permission_factory_imp': <function allow_all>, 'search_serializers': {'application/json': 'invenio_records_rest.serializers:json_v1_search'}, 'record_serializers': {'application/json': 'invenio_records_rest.serializers:json_v1_response'}, 'pid_fetcher': 'openaire_funder_fetcher', 'search_type': None, 'pid_type': 'frdoi'}, 'grant': {'search_index': 'grants', 'item_route': '/grants/<pidpath(grant):pid_value>', 'list_route': '/grants/', 'default_media_type': 'application/json', 'suggesters': {'text': {'completion': {'context': 'funder', 'field': 'suggest'}}}, 'pid_minter': 'openaire_grant_minter', 'read_permission_factory_imp': <function allow_all>, 'search_serializers': {'application/json': 'invenio_records_rest.serializers:json_v1_search'}, 'record_serializers': {'application/json': 'invenio_records_rest.serializers:json_v1_response'}, 'pid_fetcher': 'openaire_grant_fetcher', 'search_type': None, 'pid_type': 'grant'}, 'od_lic': {'search_index': 'licenses', 'item_route': '/licenses/<pid(od_lic):pid_value>', 'list_route': '/licenses/', 'default_media_type': 'application/json', 'suggesters': {'text': {'completion': {'field': 'suggest'}}}, 'pid_minter': 'opendefinition_license_minter', 'search_serializers': {'application/json': 'invenio_records_rest.serializers:json_v1_search'}, 'record_serializers': {'application/json': 'invenio_records_rest.serializers:json_v1_response'}, 'pid_fetcher': 'opendefinition_license_fetcher', 'search_type': None, 'pid_type': 'od_lic'}}

Records REST API endpoints.

zenodo.config.RECORDS_REST_FACETS = {'records': {'post_filters': {'subtype': <function terms_filter.<locals>.inner>, 'file_type': <function terms_filter.<locals>.inner>, 'keywords': <function terms_filter.<locals>.inner>, 'type': <function terms_filter.<locals>.inner>, 'access_right': <function terms_filter.<locals>.inner>}, 'filters': {'communities': <function terms_filter.<locals>.inner>, 'provisional_communities': <function terms_filter.<locals>.inner>}, 'aggs': {'file_type': {'terms': {'field': 'files.type'}}, 'keywords': {'terms': {'field': 'keywords'}}, 'type': {'terms': {'field': 'resource_type.type'}, 'aggs': {'subtype': {'terms': {'field': 'resource_type.subtype'}}}}, 'access_right': {'terms': {'field': 'access_right'}}}}, 'grants': {'aggs': {'funder': {'terms': {'field': 'funder.acronyms'}}}, 'filters': {'funder': <function terms_filter.<locals>.inner>}}, 'funders': {'aggs': {'country': {'terms': {'field': 'country'}}, 'type': {'terms': {'field': 'type'}}}, 'filters': {'country': <function terms_filter.<locals>.inner>, 'type': <function terms_filter.<locals>.inner>}}, 'deposits': {'aggs': {'status': {'terms': {'field': '_deposit.status'}}}, 'post_filters': {'status': <function terms_filter.<locals>.inner>}}}

Defined facets for records REST API.

zenodo.config.RECORDS_REST_SORT_OPTIONS = {'records': {'bestmatch': {'default_order': 'asc', 'order': 1, 'title': 'Best match', 'fields': ['-_score']}, 'publication_date': {'default_order': 'desc', 'order': 3, 'title': 'Publication date', 'fields': ['publication_date']}, 'conference_session': {'default_order': 'desc', 'order': 4, 'title': 'Conference session', 'fields': ['meetings.session:asc', 'meetings.session_part:desc']}, 'title': {'order': 4, 'title': 'Title', 'fields': ['title']}, 'mostrecent': {'default_order': 'asc', 'order': 2, 'title': 'Most recent', 'fields': ['-_created']}, 'journal': {'default_order': 'desc', 'order': 6, 'title': 'Journal', 'fields': ['journal.year', 'journal.volume', 'journal.issue', 'journal.pages']}}, 'grants': {'bestmatch': {'default_order': 'asc', 'order': 1, 'title': 'Best match', 'fields': ['-_score']}, 'enddate': {'default_order': 'asc', 'order': 2, 'title': 'End date', 'fields': ['enddate']}, 'startdate': {'default_order': 'asc', 'order': 2, 'title': 'Start date', 'fields': ['startdate']}}, 'funders': {'bestmatch': {'default_order': 'asc', 'order': 1, 'title': 'Best match', 'fields': ['-_score']}, 'name': {'default_order': 'asc', 'order': 2, 'title': 'Name', 'fields': ['name']}}, 'deposits': {'bestmatch': {'default_order': 'asc', 'order': 2, 'title': 'Best match', 'fields': ['-_score']}, 'mostrecent': {'default_order': 'asc', 'order': 1, 'title': 'Most recent', 'fields': ['-_updated']}}}

Sort options records REST API.

zenodo.config.RECORDS_UI_ENDPOINTS = {'recid_files': {'route': '/record/<pid_value>/files/<filename>', 'view_imp': 'invenio_files_rest.views.file_download_ui', 'record_class': 'invenio_records_files.api:Record', 'pid_type': 'recid'}, 'recid_preview': {'route': '/record/<pid_value>/preview/<filename>', 'view_imp': 'invenio_previewer.views.preview', 'record_class': 'invenio_records_files.api:Record', 'pid_type': 'recid'}, 'recid_access_request_email_confirm': {'route': '/record/<pid_value>/accessrequest/<token>/confirm', 'view_imp': 'zenodo_accessrequests.views.requests.confirm', 'pid_type': 'recid'}, 'recid_export': {'route': '/record/<pid_value>/export/<any(xm, cp, csl, dcite3, xn, hm, dcite, json, hx, xw, xd, xe):format>', 'view_imp': 'zenodo.modules.records.views.records_ui_export', 'record_class': 'invenio_records_files.api:Record', 'template': 'zenodo_records/record_export.html', 'pid_type': 'recid'}, 'recid_access_request': {'route': '/record/<pid_value>/accessrequest', 'view_imp': 'zenodo_accessrequests.views.requests.access_request', 'template': 'zenodo_accessrequests/access_request.html', 'methods': ['GET', 'POST'], 'pid_type': 'recid'}, 'recid': {'route': '/record/<pid_value>', 'record_class': 'invenio_records_files.api:Record', 'template': 'zenodo_records/record_detail.html', 'pid_type': 'recid'}}

Endpoints for displaying records.

zenodo.config.RECORDS_UI_TOMBSTONE_TEMPLATE = 'zenodo_records/tombstone.html'

Default tombstone template.

zenodo.config.REQUIREJS_CONFIG = 'js/zenodo-build.js'

JavaScript file containing the require.js build configuration.

zenodo.config.REST_ENABLE_CORS = True

Enable CORS support.

zenodo.config.SEARCH_DOC_TYPE_DEFAULT = None

Default Elasticsearch document type.

zenodo.config.SEARCH_ELASTIC_KEYWORD_MAPPING = {}

Do not map any keywords.

zenodo.config.SEARCH_UI_JSTEMPLATE_FACETS = 'templates/zenodo_search_ui/facets.html'

Angular template for rendering search facets.

zenodo.config.SEARCH_UI_JSTEMPLATE_RESULTS = 'templates/zenodo_search_ui/results.html'

Angular template for rendering search results.

zenodo.config.SEARCH_UI_SEARCH_API = '/api/records/'

Default API endpoint for search UI.

zenodo.config.SEARCH_UI_SEARCH_MIMETYPE = 'application/vnd.zenodo.v1+json'

Accept header fro search-js

zenodo.config.SEARCH_UI_SEARCH_TEMPLATE = 'zenodo_search_ui/search.html'

Default template for search UI.

zenodo.config.SECURITY_LOGIN_USER_TEMPLATE = 'zenodo_theme/security/login_user.html'

Login registration template.

zenodo.config.SECURITY_REGISTER_USER_TEMPLATE = 'zenodo_theme/security/register_user.html'

User registration template.

zenodo.config.SETTINGS_TEMPLATE = 'invenio_theme/page_settings.html'

Settings template for entire site.

zenodo.config.SIPSTORE_AGENT_JSONSCHEMA_ENABLED = True

Enable the agent JSON schema

zenodo.config.SIPSTORE_DEFAULT_AGENT_JSONSCHEMA = 'sipstore/agent-webclient-v1.0.0.json'

Default JSON schema for the SIP agent

zenodo.config.SIPSTORE_FILEPATH_MAX_LEN = 1000

Max length of SIPFile.filepath

zenodo.config.SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2://localhost/zenodo'

Default database host.

zenodo.config.SQLALCHEMY_ECHO = False

Do not print SQL queries to console.

zenodo.config.SQLALCHEMY_TRACK_MODIFICATIONS = True

Track modifications to objects.

zenodo.config.STATSD_HOST = None

Default StatsD host (i.e. no request timing)

zenodo.config.STATSD_PREFIX = 'zenodo'

Default StatsD port

zenodo.config.STATSD_port = 8125

Default StatsD port

zenodo.config.SUPPORT_EMAIL = 'info@zenodo.org'

Email address for support.

zenodo.config.THEME_BREADCRUMB_ROOT_ENDPOINT = 'zenodo_frontpage.index'

Endpoint for breadcrumb root.

zenodo.config.THEME_GOOGLE_SITE_VERIFICATION = ['5fPGCLllnWrvFxH9QWI0l1TadV7byeEvfPcyK2VkS_s', 'Rp5zp04IKW-s1IbpTOGB7Z6XY60oloZD5C3kTM-AiY4']

Google Site Verification ids.

Path to logo file.

zenodo.config.THEME_PIWIK_ID = None

Piwik site id.

zenodo.config.THEME_SITENAME = 'Zenodo'

Default site name.

zenodo.config.THEME_SITEURL = 'https://zenodo.org'

Default site URL (used only when not in a context - e.g. like celery tasks).

zenodo.config.THEME_TWITTERHANDLE = '@zenodo_org'

Twitter handle.

zenodo.config.USERPROFILES_EXTEND_SECURITY_FORMS = True

Extend account registration form with user profiles fields.

zenodo.config.WSGI_PROXIES = 0

Number of proxies in front of application.

zenodo.config.ZENODO_LOCAL_DOI_PREFIXES = ['10.5072', '10.5281']

DOI prefixes considered as local prefixes.

zenodo.config.ZENODO_RECORDS_EXPORTFORMATS = {'xm': {'order': 5, 'title': 'MARC21 XML', 'serializer': 'zenodo.modules.records.serializers.marcxml_v1'}, 'cp': {'order': 7, 'title': 'Citation', 'serializer': 'zenodo.modules.records.serializers.citeproc_v1'}, 'csl': {'order': 6, 'title': 'Citation Style Language JSON', 'serializer': 'zenodo.modules.records.serializers.csl_v1'}, 'dcite3': {'order': 3, 'title': 'DataCite XML', 'serializer': 'zenodo.modules.records.serializers.datacite_v31'}, 'xn': None, 'hm': {'serializer': 'zenodo.modules.records.serializers.marcxml_v1', 'title': 'MARC21 XML'}, 'dcite': {'serializer': 'zenodo.modules.records.serializers.datacite_v31', 'title': 'DataCite XML'}, 'json': {'order': 1, 'title': 'JSON', 'serializer': 'zenodo.modules.records.serializers.json_v1'}, 'hx': {'order': 2, 'title': 'BibTeX', 'serializer': 'zenodo.modules.records.serializers.bibtex_v1'}, 'xw': None, 'xd': {'order': 4, 'title': 'Dublin Core', 'serializer': 'zenodo.modules.records.serializers.dc_v1'}, 'xe': None}

Mapping of old export formats to new content type.