Metadata-Version: 2.1
Name: invenio-rdm-records
Version: 4.6.0
Summary: InvenioRDM module for the communities feature.
Home-page: https://github.com/inveniosoftware/invenio-rdm-records
Author: CERN
Author-email: info@inveniosoftware.org
License: MIT
Keywords: invenio rdm data model
Platform: any
Classifier: Development Status :: 5 - Production/Stable
Requires-Python: >=3.7
Requires-Dist: arrow (>=0.17.0)
Requires-Dist: citeproc-py-styles (>=0.1.2)
Requires-Dist: citeproc-py (>=0.6.0)
Requires-Dist: datacite (>=1.1.1)
Requires-Dist: dcxml (>=0.1.2)
Requires-Dist: Faker (>=2.0.3)
Requires-Dist: flask-iiif (>=0.6.2)
Requires-Dist: ftfy (<5.0.0,>=4.4.3)
Requires-Dist: invenio-administration (<2.0.0,>=1.2.0)
Requires-Dist: invenio-communities (<8.0.0,>=7.0.0)
Requires-Dist: invenio-drafts-resources (<2.0.0,>=1.4.1)
Requires-Dist: invenio-i18n (<3.0.0,>=2.0.0)
Requires-Dist: invenio-oaiserver (<3.0.0,>=2.0.0)
Requires-Dist: invenio-oauth2server (<2.1.0,>=2.0.0)
Requires-Dist: invenio-vocabularies (<2.0.0,>=1.2.0)
Requires-Dist: pytz (>=2020.4)
Requires-Dist: pyyaml (>=5.4.0)
Requires-Dist: python-slugify (>=8.0.1)
Provides-Extra: elasticsearch7
Requires-Dist: invenio-search[elasticsearch7] (<3.0.0,>=2.1.0) ; extra == 'elasticsearch7'
Provides-Extra: opensearch1
Requires-Dist: invenio-search[opensearch1] (<3.0.0,>=2.1.0) ; extra == 'opensearch1'
Provides-Extra: opensearch2
Requires-Dist: invenio-search[opensearch2] (<3.0.0,>=2.1.0) ; extra == 'opensearch2'
Provides-Extra: tests
Requires-Dist: pytest-black (>=0.3.0) ; extra == 'tests'
Requires-Dist: invenio-app (<2.0.0,>=1.3.4) ; extra == 'tests'
Requires-Dist: invenio-db[mysql,postgresql] (<2.0.0,>=1.0.14) ; extra == 'tests'
Requires-Dist: pytest-invenio (<3.0.0,>=2.1.0) ; extra == 'tests'
Requires-Dist: pytest-mock (>=1.6.0) ; extra == 'tests'
Requires-Dist: sphinx (>=4.5.0) ; extra == 'tests'
Requires-Dist: tripoli (~=2.0.0) ; extra == 'tests'

..
    Copyright (C) 2019 CERN.
    Copyright (C) 2019 Northwestern University.


    Invenio-RDM-Records is free software; you can redistribute it and/or
    modify it under the terms of the MIT License; see LICENSE file for more
    details.

====================
 Invenio-RDM-Records
====================

.. image:: https://github.com/inveniosoftware/invenio-rdm-records/workflows/CI/badge.svg
        :target: https://github.com/inveniosoftware/invenio-rdm-records/actions?query=workflow%3ACI+branch%3Amaster

.. image:: https://img.shields.io/github/tag/inveniosoftware/invenio-rdm-records.svg
        :target: https://github.com/inveniosoftware/invenio-rdm-records/releases

.. image:: https://img.shields.io/pypi/dm/invenio-rdm-records.svg
        :target: https://pypi.python.org/pypi/invenio-rdm-records

.. image:: https://img.shields.io/github/license/inveniosoftware/invenio-rdm-records.svg
        :target: https://github.com/inveniosoftware/invenio-rdm-records/blob/master/LICENSE

DataCite-based data model for Invenio.

Further documentation is available on
https://invenio-rdm-records.readthedocs.io/

Development
===========

Install
-------

Choose a version of search and database, then run:

.. code-block:: console

    pipenv run pip install -e .[all]
    pipenv run pip install invenio-search[<opensearch[1]>]
    pipenv run pip install invenio-db[<[mysql|postgresql|]>]


Tests
-----

.. code-block:: console

    pipenv run ./run-tests.sh

..
    Copyright (C) 2019-2023 CERN.
    Copyright (C) 2019 Northwestern University.


    Invenio-RDM-Records is free software; you can redistribute it and/or
    modify it under the terms of the MIT License; see LICENSE file for more
    details.

Changes
=======

Version 4.6.0 (2023-07-03)

- implement resource access (RAT) tokens
- ui: fix deposit form access value when submitting to restricted community

Version 4.5.0 (2023-06-30)

- fix custom fields issue with nested array in an object
- use reindex_users method

Version 4.4.1 (released 2023-06-28)

- Fixes permission checks when there is no record object to check i.e new record

Version 4.4.0 (released 2023-06-15)

- access: fix permissions check for managing access
- schemas: remove redundant permission check
- setup: upgrade invenio-communities

Version 4.3.0 (released 2023-06-07)

- add notification on community submission / community review request
- add notification templates

Version 4.2.5 (released 2023-06-05)

- custom-fields: fix deserialization for array of string values

Version 4.2.4 (released 2023-06-02)

- results: implement abstract method for system record

Version 4.2.3 (released 2023-05-31)

- resource-types: more fixes on types/subtypes

Version 4.2.2 (released 2023-05-30)

- export all file-uploader components
- resource types: fix wrongly mapped ids

Version 4.2.1 (released 2023-05-27)

- fix on resource types vocabularies

Version 4.2.0 (released 2023-05-26)

- update resource types vocabularies
- add permission flag system field
- change the mapping of files entries from integer to long
- add dumpers for imprint and meeting in csl
- add missing dumper to citation serializer
- improve a11y for community modals

Version 4.1.0 (released 2023-05-05)

- add reference fields to deposit components
- fix records and drafts mappings
- fix custom field components exports

Version 4.0.0 (released 2023-04-25)

- record: add file metadata to the indexing
- fixtures: add user locale preferences

Version 3.1.0 (released 2023-04-21)

- assets: move react deposit components

Version 3.0.0 (released 2023-04-20)

- usage statistics: refactor files structure

Version 2.13.0 (released 2023-04-17)

- serializers: added schema processors (custom fields)
- serializers: created dump and load mixins for custom fields

Version 2.12.0 (released 2023-04-06)

- api: add record community suggestion endpoint

Version 2.11.0 (released 2023-03-30)

- add usage statistics indexing (by system field)
- add sorting by most viewed to the config
- move statistics events from invenio-app-rdm

Version 2.10.0 (released 2023-03-28)

- add requests endpoint to the record
- dublincore: transform identifiers tu urls
- record service: update community records

Version 2.9.0 (released 2023-03-24)

- communities: return ghost parent community when cannot be resolved
- contrib: add journal and meeting sort options
- contrib: updated custom fields UI widgets
- custom_fields: rename CodeMeta to Software

Version 2.8.0 (released 2023-03-20)

- fix marcxml format incompatibility
- add DCAT-AP export format serializer
- add record access configuration flag
- normalize commmunity config variable names
- configure community service error handlers

Version 2.7.0 (released 2023-03-13)

- record: implement multiple communities inclusion via new request type
- communities: allow overwriting access component
- serializers: refactor accessing fields in the schema

Version 2.6.0 (released 2023-03-09)

- review service: expand links
- review service: validate request type


Version 2.5.0 (released 2023-03-09)

- serializer: add bibtex
- serializer: rename coverage to locations in dublincore schema
- contrib custom fields: index titles both as text and keyword

Version 2.4.0 (released 2023-03-06)

- contrib custom fields: add journal, meeting
- configure metadata only records by feature flag and permissions

Version 2.3.0 (released 2023-03-03)

- records: remove from community
- oai-sets admin: frontend fixes
- contrib: add code meta as custom fields
- serializers: support search export in different formats
- serializers: refactoring to provide better abstraction
- remove deprecated flask_babelex dependency and imports

Version 2.2.0 (released 2023-02-20)

- records: remove communities from a record
- communities: support both slug (id) and uuid in communities endpoints
- communities: support direct publish (without review)
- fixtures: fix duplicated user creation

Version 2.1.0 (released 2023-02-14)

- export: add MARCXML serializer, including in OAI-PMH
- resources: add stubs for records' communities

Version 2.0.0 (released 2023-02-07)

- export: add GEOJSON serializer

Version 1.3.3 (released 2023-02-06)

- datacite: fix reversion in affiliation ROR handling and cleanup

Version 1.3.2 (released 2023-01-30)

- records: remove double permission check on community records search

Version 1.3.1 (released 2023-01-23)

- Add feature flag for archive download endpoint on record and draft resources

Version 1.3.0 (released 2023-01-20)

- add mechanism to validate a record based on each PID provider
- fix demo records creation adding missing search index prefix on index refresh
- Fix response status when searching for records of a non-existing community
- remove validation on DOI discard action
- skips PIDs modification when no data is passed

Version 1.2.1 (released 2022-12-01)

- Add identity to links template expand method.

Version 1.2.0 (released 2022-11-29)

- add records fixtures

Version 1.1.0 (released 2022-11-25)

- use communities v4
- use Axios centralized configuration
- add i18n translations
- refactor OAI sets view

Version 1.0.3 (released 2022-11-16)

- add draft indexer in registry

Version 1.0.2 (released 2022-11-15)

- fix service_id config values
- sanitize html in additional descriptions instead of stripping html

Version 1.0.1 (released 2022-11-04)

- upgrade invenio-vocabularies
- upgrade invenio-drafts-resources
- add dynamic formats to administration of oai sets
- add RO-Crate serializer

Version 1.0.0

- Initial public release.


