invenio-drafts-resources


Nameinvenio-drafts-resources JSON
Version 2.0.1 PyPI version JSON
download
home_pagehttps://github.com/inveniosoftware/Invenio-Drafts-Resources
SummaryInvenio Drafts Resources module to create REST APIs
upload_time2023-10-26 14:54:26
maintainer
docs_urlNone
authorCERN
requires_python>=3.7
licenseMIT
keywords invenio records deposit submit versioning drafts
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ..
    Copyright (C) 2020 CERN.
    Copyright (C) 2020 Northwestern University.

    Invenio-Drafts-Resources 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-Drafts-Resources
==========================

.. image:: https://img.shields.io/travis/inveniosoftware/Invenio-Drafts-Resources.svg
        :target: https://github.com/inveniosoftware//actions?query=workflow%3ACIInvenio-Drafts-Resources

.. image:: https://img.shields.io/coveralls/inveniosoftware/Invenio-Drafts-Resources.svg
        :target: https://coveralls.io/r/inveniosoftware/Invenio-Drafts-Resources

.. image:: https://img.shields.io/github/tag/inveniosoftware/Invenio-Drafts-Resources.svg
        :target: https://github.com/inveniosoftware/Invenio-Drafts-Resources/releases

.. image:: https://img.shields.io/pypi/dm/Invenio-Drafts-Resources.svg
        :target: https://pypi.python.org/pypi/Invenio-Drafts-Resources

.. image:: https://img.shields.io/github/license/inveniosoftware/Invenio-Drafts-Resources.svg
        :target: https://github.com/inveniosoftware/Invenio-Drafts-Resources/blob/master/LICENSE

Invenio Drafts Resources module to create REST APIs

TODO: Please provide feature overview of module

Further documentation is available on
https://Invenio-Drafts-Resources.readthedocs.io/

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

    Invenio-Drafts-Resources 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 2.0.1 (2023-10-26)

- fix: TypeError multiple values for record

Version 2.0.0 (2023-10-19)

- service: lock files conditionally (breaking change `#267`)

Version 1.13.1 (2023-10-19)

- service: handle soft-deleted drafts

Version 1.13.0 (2023-10-16)

- media files: create missing buckets on new publish

Version 1.12.2 (2023-10-15)

- service: change from NoResultFound to PIDDoesNotExistsError for consistency
  in service.read_draft() - affects errors for published records without a
  draft

Version 1.12.1 (2023-10-10)

- service: allow passing permission_action in kwargs for search versions

Version 1.12.0 (2023-10-09)

- versions: set the next index to the max index of all record versions

Version 1.11.2 (2023-10-02)

- components: handle disabled state on draft delete action

Version 1.11.1 (2023-10-02)

- components: replace ambiguous error on publish

Version 1.11.0 (2023-09-21)

- resources: add etag headers
- resources: add search request param to schema

Version 1.10.1 (2023-09-18)

- models: avoid flushing when getting records

Version 1.10.0 (2023-09-05)

- uow: add ParentRecordCommitOp uow

Version 1.9.0 (2023-09-05)

- service: allow passing of 'extra_filter' via kwargs to searches

Version 1.8.1 (2023-08-25)

- tasks: add margin time window for search to purge deleted documents
- services: move reindex latest records from records-resources

Version 1.8.0 (2023-08-16)

- components: conditional lock of files
- components: refactor file workflow

Version 1.7.1 (2023-08-14)

- fix an issue where the next version of the draft is incorrectly set

Version 1.7.0 (2023-08-10)

- records: read_latest method now accepts parent_id and it
  will return the latest version of a record also by parent_id
- change error message when publishing with missing files,
  depending if the record can be metadata only

Version 1.6.0 (2023-07-21)

- Add parent id resolver

Version 1.5.0 (2023-07-11)

- add media files components

Version 1.4.2 (2023-07-05)

- transifex: update config
- components: add default files enabled variable

Version 1.4.1 (2023-06-06)

- fix permission check for managing files

Version 1.4.0 (2023-04-25)

- upgrade invenio-records-resources
- ensure testing of file indexing

Version 1.3.0 (2023-04-20)

- upgrade invenio-records-resources

Version 1.2.0 (2023-03-24)

- bump invenio-records-resources to v2.0.0

Version 1.1.1 (2023-03-03)

- permissions: add can manage files permission to the draft

Version 1.1.0 (2023-03-02)

- remove deprecated flask-babelex dependency and imports
- install invenio-i18n explicitly

Version 1.0.4 (2023-02-22)

- service: allow to ignore field-level permission checks in validate_draft
- files: publishing files pending download from Fetch

Version 1.0.3 (2022-12-02)

- Fix rebuild index memory usage

Version 1.0.2 (2022-11-25)

- Add i18n translations.

Version 1.0.1 (2022-11-15)

- Use bulk indexing for service `rebuild_index` method.

Version 1.0.0 (2022-11-04)

- Bump invenio-records-resources version

Version 0.2.2 (2020-08-19)

- Fix support for Elasticsearch 6 and 7

Version 0.2.1 (2020-08-18)

- Initial public release.



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/inveniosoftware/Invenio-Drafts-Resources",
    "name": "invenio-drafts-resources",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "invenio records deposit submit versioning drafts",
    "author": "CERN",
    "author_email": "info@inveniosoftware.org",
    "download_url": "https://files.pythonhosted.org/packages/08/08/c2e215cc51bc6b2aa14f162ba082676b3f66b7a4a9d7fb392245d59e5fc6/invenio-drafts-resources-2.0.1.tar.gz",
    "platform": "any",
    "description": "..\n    Copyright (C) 2020 CERN.\n    Copyright (C) 2020 Northwestern University.\n\n    Invenio-Drafts-Resources is free software; you can redistribute it and/or\n    modify it under the terms of the MIT License; see LICENSE file for more\n    details.\n\n==========================\n Invenio-Drafts-Resources\n==========================\n\n.. image:: https://img.shields.io/travis/inveniosoftware/Invenio-Drafts-Resources.svg\n        :target: https://github.com/inveniosoftware//actions?query=workflow%3ACIInvenio-Drafts-Resources\n\n.. image:: https://img.shields.io/coveralls/inveniosoftware/Invenio-Drafts-Resources.svg\n        :target: https://coveralls.io/r/inveniosoftware/Invenio-Drafts-Resources\n\n.. image:: https://img.shields.io/github/tag/inveniosoftware/Invenio-Drafts-Resources.svg\n        :target: https://github.com/inveniosoftware/Invenio-Drafts-Resources/releases\n\n.. image:: https://img.shields.io/pypi/dm/Invenio-Drafts-Resources.svg\n        :target: https://pypi.python.org/pypi/Invenio-Drafts-Resources\n\n.. image:: https://img.shields.io/github/license/inveniosoftware/Invenio-Drafts-Resources.svg\n        :target: https://github.com/inveniosoftware/Invenio-Drafts-Resources/blob/master/LICENSE\n\nInvenio Drafts Resources module to create REST APIs\n\nTODO: Please provide feature overview of module\n\nFurther documentation is available on\nhttps://Invenio-Drafts-Resources.readthedocs.io/\n\n..\n    Copyright (C) 2020-2023 CERN.\n    Copyright (C) 2020 Northwestern University.\n\n    Invenio-Drafts-Resources is free software; you can redistribute it and/or\n    modify it under the terms of the MIT License; see LICENSE file for more\n    details.\n\nChanges\n=======\n\nVersion 2.0.1 (2023-10-26)\n\n- fix: TypeError multiple values for record\n\nVersion 2.0.0 (2023-10-19)\n\n- service: lock files conditionally (breaking change `#267`)\n\nVersion 1.13.1 (2023-10-19)\n\n- service: handle soft-deleted drafts\n\nVersion 1.13.0 (2023-10-16)\n\n- media files: create missing buckets on new publish\n\nVersion 1.12.2 (2023-10-15)\n\n- service: change from NoResultFound to PIDDoesNotExistsError for consistency\n  in service.read_draft() - affects errors for published records without a\n  draft\n\nVersion 1.12.1 (2023-10-10)\n\n- service: allow passing permission_action in kwargs for search versions\n\nVersion 1.12.0 (2023-10-09)\n\n- versions: set the next index to the max index of all record versions\n\nVersion 1.11.2 (2023-10-02)\n\n- components: handle disabled state on draft delete action\n\nVersion 1.11.1 (2023-10-02)\n\n- components: replace ambiguous error on publish\n\nVersion 1.11.0 (2023-09-21)\n\n- resources: add etag headers\n- resources: add search request param to schema\n\nVersion 1.10.1 (2023-09-18)\n\n- models: avoid flushing when getting records\n\nVersion 1.10.0 (2023-09-05)\n\n- uow: add ParentRecordCommitOp uow\n\nVersion 1.9.0 (2023-09-05)\n\n- service: allow passing of 'extra_filter' via kwargs to searches\n\nVersion 1.8.1 (2023-08-25)\n\n- tasks: add margin time window for search to purge deleted documents\n- services: move reindex latest records from records-resources\n\nVersion 1.8.0 (2023-08-16)\n\n- components: conditional lock of files\n- components: refactor file workflow\n\nVersion 1.7.1 (2023-08-14)\n\n- fix an issue where the next version of the draft is incorrectly set\n\nVersion 1.7.0 (2023-08-10)\n\n- records: read_latest method now accepts parent_id and it\n  will return the latest version of a record also by parent_id\n- change error message when publishing with missing files,\n  depending if the record can be metadata only\n\nVersion 1.6.0 (2023-07-21)\n\n- Add parent id resolver\n\nVersion 1.5.0 (2023-07-11)\n\n- add media files components\n\nVersion 1.4.2 (2023-07-05)\n\n- transifex: update config\n- components: add default files enabled variable\n\nVersion 1.4.1 (2023-06-06)\n\n- fix permission check for managing files\n\nVersion 1.4.0 (2023-04-25)\n\n- upgrade invenio-records-resources\n- ensure testing of file indexing\n\nVersion 1.3.0 (2023-04-20)\n\n- upgrade invenio-records-resources\n\nVersion 1.2.0 (2023-03-24)\n\n- bump invenio-records-resources to v2.0.0\n\nVersion 1.1.1 (2023-03-03)\n\n- permissions: add can manage files permission to the draft\n\nVersion 1.1.0 (2023-03-02)\n\n- remove deprecated flask-babelex dependency and imports\n- install invenio-i18n explicitly\n\nVersion 1.0.4 (2023-02-22)\n\n- service: allow to ignore field-level permission checks in validate_draft\n- files: publishing files pending download from Fetch\n\nVersion 1.0.3 (2022-12-02)\n\n- Fix rebuild index memory usage\n\nVersion 1.0.2 (2022-11-25)\n\n- Add i18n translations.\n\nVersion 1.0.1 (2022-11-15)\n\n- Use bulk indexing for service `rebuild_index` method.\n\nVersion 1.0.0 (2022-11-04)\n\n- Bump invenio-records-resources version\n\nVersion 0.2.2 (2020-08-19)\n\n- Fix support for Elasticsearch 6 and 7\n\nVersion 0.2.1 (2020-08-18)\n\n- Initial public release.\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Invenio Drafts Resources module to create REST APIs",
    "version": "2.0.1",
    "project_urls": {
        "Homepage": "https://github.com/inveniosoftware/Invenio-Drafts-Resources"
    },
    "split_keywords": [
        "invenio",
        "records",
        "deposit",
        "submit",
        "versioning",
        "drafts"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9fe5454fd4e89cec432f216e1d8b2133b62e7ed5db729570745e54faa8b470d7",
                "md5": "546f6e982ebcd6db196d6d69d90c4867",
                "sha256": "311f9d8116133e6d6cd2cadaa869ee9c4a7b618823e846bd7e6239ab59535c55"
            },
            "downloads": -1,
            "filename": "invenio_drafts_resources-2.0.1-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "546f6e982ebcd6db196d6d69d90c4867",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.7",
            "size": 123899,
            "upload_time": "2023-10-26T14:54:25",
            "upload_time_iso_8601": "2023-10-26T14:54:25.063693Z",
            "url": "https://files.pythonhosted.org/packages/9f/e5/454fd4e89cec432f216e1d8b2133b62e7ed5db729570745e54faa8b470d7/invenio_drafts_resources-2.0.1-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0808c2e215cc51bc6b2aa14f162ba082676b3f66b7a4a9d7fb392245d59e5fc6",
                "md5": "98c7d0317c4fe704e260d73f7bed3610",
                "sha256": "caa03e0b70e21a63356c6fedeb23fa9e42cd9c6340d1ae315b8b9e82b6f42e75"
            },
            "downloads": -1,
            "filename": "invenio-drafts-resources-2.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "98c7d0317c4fe704e260d73f7bed3610",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 72559,
            "upload_time": "2023-10-26T14:54:26",
            "upload_time_iso_8601": "2023-10-26T14:54:26.585175Z",
            "url": "https://files.pythonhosted.org/packages/08/08/c2e215cc51bc6b2aa14f162ba082676b3f66b7a4a9d7fb392245d59e5fc6/invenio-drafts-resources-2.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-26 14:54:26",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "inveniosoftware",
    "github_project": "Invenio-Drafts-Resources",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "invenio-drafts-resources"
}
        
Elapsed time: 0.13711s