Metadata-Version: 2.1
Name: invenio-circulation
Version: 1.0.0a27
Summary: Invenio module for the circulation of bibliographic items.
Home-page: https://github.com/inveniosoftware/invenio-circulation
Author: CERN
Author-email: info@inveniosoftware.org
License: MIT
Keywords: invenio TODO
Platform: any
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Development Status :: 1 - Planning
Requires-Python: >=3
Requires-Dist: arrow (>=0.15.0)
Requires-Dist: invenio-base (>=1.2.1)
Requires-Dist: invenio-access (>=1.3.1)
Requires-Dist: invenio-logging (>=1.2.1)
Requires-Dist: invenio-pidstore (>=1.1.0)
Requires-Dist: invenio-records-rest (>=1.6.4)
Requires-Dist: invenio-jsonschemas (>=1.0.1)
Provides-Extra: all
Requires-Dist: Sphinx (<3,>=1.8.4) ; extra == 'all'
Requires-Dist: check-manifest (>=0.35) ; extra == 'all'
Requires-Dist: coverage (>=4.5.3) ; extra == 'all'
Requires-Dist: isort (>=4.3.11) ; extra == 'all'
Requires-Dist: invenio-app (>=1.2.3) ; extra == 'all'
Requires-Dist: invenio-jsonschemas (>=1.0.1) ; extra == 'all'
Requires-Dist: mock (>=1.3.0) ; extra == 'all'
Requires-Dist: pydocstyle (>=3.0.0) ; extra == 'all'
Requires-Dist: pytest-cov (>=2.7.1) ; extra == 'all'
Requires-Dist: pytest-pep8 (>=1.0.6) ; extra == 'all'
Requires-Dist: pytest (<5.0.0,>=4.6.4) ; extra == 'all'
Requires-Dist: pytest-invenio (>=1.2.1) ; extra == 'all'
Provides-Extra: docs
Requires-Dist: Sphinx (<3,>=1.8.4) ; extra == 'docs'
Provides-Extra: elasticsearch5
Requires-Dist: invenio-search[elasticsearch5] (>=1.2.3) ; extra == 'elasticsearch5'
Provides-Extra: elasticsearch6
Requires-Dist: invenio-search[elasticsearch6] (>=1.2.3) ; extra == 'elasticsearch6'
Provides-Extra: elasticsearch7
Requires-Dist: invenio-search[elasticsearch7] (>=1.2.3) ; extra == 'elasticsearch7'
Provides-Extra: mysql
Requires-Dist: invenio-db[mysql,versioning] (>=1.0.4) ; extra == 'mysql'
Provides-Extra: postgresql
Requires-Dist: invenio-db[postgresql,versioning] (>=1.0.4) ; extra == 'postgresql'
Provides-Extra: sqlite
Requires-Dist: invenio-db[versioning] (>=1.0.4) ; extra == 'sqlite'
Provides-Extra: tests
Requires-Dist: check-manifest (>=0.35) ; extra == 'tests'
Requires-Dist: coverage (>=4.5.3) ; extra == 'tests'
Requires-Dist: isort (>=4.3.11) ; extra == 'tests'
Requires-Dist: invenio-app (>=1.2.3) ; extra == 'tests'
Requires-Dist: invenio-jsonschemas (>=1.0.1) ; extra == 'tests'
Requires-Dist: mock (>=1.3.0) ; extra == 'tests'
Requires-Dist: pydocstyle (>=3.0.0) ; extra == 'tests'
Requires-Dist: pytest-cov (>=2.7.1) ; extra == 'tests'
Requires-Dist: pytest-pep8 (>=1.0.6) ; extra == 'tests'
Requires-Dist: pytest (<5.0.0,>=4.6.4) ; extra == 'tests'
Requires-Dist: pytest-invenio (>=1.2.1) ; extra == 'tests'

..
    Copyright (C) 2018 CERN.
    Copyright (C) 2018 RERO.
    Invenio-Circulation 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-Circulation
=====================

.. image:: https://img.shields.io/travis/inveniosoftware/invenio-circulation.svg
        :target: https://travis-ci.org/inveniosoftware/invenio-circulation

.. image:: https://img.shields.io/coveralls/inveniosoftware/invenio-circulation.svg
        :target: https://coveralls.io/r/inveniosoftware/invenio-circulation

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

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

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

Invenio module for the circulation of bibliographic items.

*This is an experimental developer preview release.*

TODO: Please provide feature overview of module

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


..
    Copyright (C) 2018-2020 CERN.
    Copyright (C) 2018-2020 RERO.
    Invenio-Circulation 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 1.0.0a27 (released 2020-09-15)

- fixes the loan record update method not working properly with custom fields

Version 1.0.0a26 (released 2020-07-17)

- fixes `initial_loan`, a copy of loan before transition, to be a local
  variable instead of a Transition object property.

Version 1.0.0a25 (released 2020-06-18)

- adds config CIRCULATION_LOAN_LOCATIONS_VALIDATION to allow validation
  of loan locations

Version 1.0.0a24 (released 2020-05-25)

- fixes the way the default module configuration is defined to allow
  overriding it from the Invenio app

Version 1.0.0a23 (released 2020-05-22)

- renames signals parameter from `prev_loan` to `initial_loan`
- adds an extra parameter `initial_loan` to the default duration functions
  in checkout policies

Version 1.0.0a22 (released 2020-05-22)

- adds additional checks when transitioning loans from and to Item at Desk
- removes example app and updates Invenio modules dependencies

Version 1.0.0a21 (released 2020-01-23)

- introduces `pid_type` for `item_pid` to uniquely identify an Item record
- changes methods that were expecting `item_pid`
- removed unused view circulation/items to retrieve the item from the loan

Version 1.0.0a20 (released 2019-11-01)

- adds a JSON resolver for the document of the loan

Version 1.0.0a19 (released 2019-09-27)

- adds a JSON resolver for the patron of the loan
- fixes deserialization bug on loan REST loader when a date/datetime
  field is missing

Version 1.0.0a18 (released 2019-09-26)

- handle date/time record fields as datetime object internally
- add `request_start_date` field to loan schema
- automatic assignement of item on request is now configurable
- add marshmallow loader for REST endpoint
- add support to ES7
- drop support for Python 2
- bugfixes

Version 1.0.0a17 (released 2019-09-13)

- add `delivery` object to the `loan` schema
- pin invenio-records-rest version to ensure compatibility with python 3
  and marshmallow 3

Version 1.0.0a16 (released 2019-08-09)

- change loan duration from number of days as int to timedelta

Version 1.0.0a15 (released 2019-08-07)

- remove ES 2 support
- change `loan_pid` to `pid` schema field

Version 1.0.0a14 (released 2019-06-24)

- now allows loans to be created solely on document_pid
- refactored and added more tests for transitions

Version 1.0.0a13 (released 2019-04-24)

- fixed item reference attachment on checkout

Version 1.0.0a12 (released 2019-04-17)

- Renamed is_item_available circulation policy to item_can_circulate.

Version 1.0.0a11 (released 2019-03-29)

- Add sort options to search api

Version 1.0.0a10 (released 2019-03-27)

- Fix for permissions check


Version 1.0.0a9 (released 2019-03-25)

- Introduce Circulation Exceptions

Version 1.0.0a8 (released 2019-03-06)

- Introduce `request` policy.
- Pass previous loan and trigger name on the state change signal.

Version 1.0.0a7 (released 2019-02-25)

- Replace item_pid with loan_pid in $ref Loan schema.

Version 1.0.0a6 (released 2019-02-04)

- Force user to implement configuration utils functions instead of returning a
  dummy value.

Version 1.0.0a5 (released 2019-01-28)

- Add config for defining loan `completed` state.

Version 1.0.0a4 (released 2019-01-26)

- Loan replace item endpoint.

Version 1.0.0a3 (released 2019-01-18)

- Creating item reference only when item pid is attached.

Version 1.0.0a2 (released 2019-01-18)

- Adding support for creating a reference inside `Loan` record to an item.

Version 1.0.0a1 (released 2018-12-04)

- Initial public release.


