Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V0.14 #1402

Merged
merged 15 commits into from
Nov 5, 2020
Merged

V0.14 #1402

merged 15 commits into from
Nov 5, 2020

Conversation

zannkukai
Copy link
Contributor

merge v0.14 to dev

zannkukai and others added 15 commits November 5, 2020 10:30
The canton field should only be available when the country 'Switzerland'
was selected in the provisionActitivy country field.

Closes #1285

Co-Authored-by: Renaud Michotte <[email protected]>
This PR updates the item JSON schema to add some new note category
  * binding note
  * provenance note
  * condition note
  * patrimonial note
  * acquisition note
It also renames the 'public note' to 'general note'.
Adapts the public view to these changes (general, binding, provenance,
patrimonial and condition note are available in public view).

This PR all add the field 'enumeration and chronology' for all normal
items resources.

Co-Authored-by: Renaud Michotte <[email protected]>
When a loan was extended, the responses doens't include the correct
action name ('extend' instead of 'extend_loan'). This PR fix this
problem.

Closes #1256

Authored-by: Renaud Michotte <[email protected]>
Implements Cypress to about template create and utilisation.

Co-Authored-by: Renaud Michotte <[email protected]>
* Allows the cancellation of a request when there are several requests
on the item.
* Closes #1303.

Co-Authored-by: Alicia Zangger <[email protected]>
Co-Authored-by: Aly Badr <[email protected]>
* Creates e2e tests for collections.
* Replaces 'goToMenu' custom command in order not to go to the frontpage
  each time we navigate in the app.
* Adds an empty template to re-use for test creation.
* Adds cookies preservation to keep authentication information between tests.
* Changes login and logout commands in order to use API calls instead of
UI actions.
* Creates a test for login and logout (UI actions).
* Allows language preservation in professional interface.
* Closes #1220.

Co-Authored-by: Alicia Zangger <[email protected]>
* Changes the document JSON schema form options from select to
  selectWithSort on the contribution roles in order to sort them
  alphabetically in the editor.
* Closes #1231

Co-Authored-by: Bertrand Zuchuat <[email protected]>
* Adds a new option to sort API response by the resource creation date.
  This option is available for all resource.
* Corrects the loan sort options.

Co-Authored-by: Renaud Michotte <[email protected]>
The method to retrieve patrons without valid subscriptions doesn't
works as expected. Each day, a new subscription will be added for all
patrons linked to patron_type requiring a subscription, even if they
have a valid one.

Closes #1317

Co-Authored-by: Renaud Michotte <[email protected]>
Co-Authored-by: lauren-d <[email protected]>
* Adapts the patron_type JSON schema to include a section about checkout
  restrictions. There are three type of restrictions: number of checkouts, fee
  amount, and  number of overdue items.
* Adds some unit tests to validate the schema constraints.

Co-Authored-by: Renaud Michotte <[email protected]>
Implements the overdue_items_limit restriction : If a patron type
resource defines an 'overdue_items_limit', patrons with overdue items
can't execute any checkout operation if the limit is reached.
This commit also refactors the 'blocked_patron' restriction.

Co-Authored-by: Renaud Michotte <[email protected]>
Implements the items_checkout limit restriction. When a patron tries a
checkout, the server firstly check the ITEM_ON_LOAN items linked to this
patron and determine if the new checkout can be allowed related to
checkout limits define in the linked patron_type.

Co-Authored-by: Renaud Michotte <[email protected]>
Adds an API to get patron circulation informations. This API return
the number of loans relate to this patron by state and messages useful
for the circulation about this patron (patron blocked, checkout limit,
...)

Closes #1278

Co-Authored-by: Renaud Michotte <[email protected]>
Implements the fee amount limit restriction: if the fee amount limit is reached by
a patron, checkout, renewal and request operation are blocked.

Co-Authored-by: Lauren-D <[email protected]>
If the patron can't operate an action due to circulation restrictions
(patron blocked, patron type limits, ...), circulation buttons should be
disable. In the patron profile view, adds warning/error messages depending
of patron restrictions.

If the 'renew' button is disable, adds a tooltip to give user the
reasons why.

Closes #1357
Closes #1356

Co-Authored-by: Renaud Michotte <[email protected]>
@zannkukai zannkukai merged commit 363e1ce into dev Nov 5, 2020
@zannkukai zannkukai deleted the v0.14 branch November 5, 2020 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants