From de7daf9a3f2abb05daa718715d5fcf44902201ee Mon Sep 17 00:00:00 2001 From: Igor Milhit Date: Thu, 27 Feb 2020 12:23:27 +0100 Subject: [PATCH] release: update changes & release notes * Adds files for `v0.6.0`. * Adds files for `v0.6.1`. Co-Authored-by: Igor Milhit --- CHANGES.rst | 358 +++++++++++++++++++++++++++++++++++++++++++++- RELEASE-NOTES.rst | 244 +++++++++++++++++++++++++++++++ 2 files changed, 600 insertions(+), 2 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index 399d9fa4f4..fcde73b246 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -17,6 +17,359 @@ Changes ========== +`v0.6.0 `__ (2020-02-26) +---------------------------------------------------------------------- + +`Full +Changelog `__ + +**Fixed bugs:** + +- Irma is not able to open the circulation policy editor + `#626 `__ +- Circulation policy custom editor do not load patron types and item + types settings `#625 `__ +- Indexing : Deleting ‘mef_persons’ cause ‘index_not_found’ exception + `#601 `__ +- A librarian of organisation A is allowed to checkout an item of + organisation B `#600 `__ +- Suppression of a document: no confirmation + `#552 `__ +- Wrong organisation when adding item or patron types + `#389 `__ +- Authors facets does not appear on public search view + `#372 `__ +- Opening hours editor page has to be refreshed to display changes + `#337 `__ +- indexer: fix person indexing + `#711 `__ + (`rerowep `__) +- tests: fix run-test + `#702 `__ + (`rerowep `__) + +**Closed issues:** + +- Display of “No loan for the current patron” + `#799 `__ +- Display action realised in checkin form + `#792 `__ +- Message to be displayed as checking out an item requested by another + patron `#791 `__ +- Circulation UI: missing space between first and last name + `#790 `__ +- Circulation: trim barcode + `#789 `__ +- Short fixture correction Wang > Wang + `#695 `__ +- Facets order should be consistent through global and organisations + views `#688 `__ +- Flash messages should always start with a capitalized initial. + `#661 `__ +- missing mapping in JSON files + `#649 `__ +- Wrong french traduction of “System librarian” on the homepage of + ils.test.rero.ch + `#646 `__ +- Item type with name “Standard” + `#624 `__ +- Add locations to other libraries + `#622 `__ +- Validation messages should be set in the form options + `#605 `__ +- Attaching an item to an harvested ebook should not be possible + `#603 `__ +- Due date according to opening hours not working + `#599 `__ +- New/edit patron required field validation + `#584 `__ +- Missing translations: patron editor + `#572 `__ +- Persons aren’t filtered by views + `#550 `__ +- Missing create button for the first record of a given resource + `#541 `__ +- Missing space between the check boxes and the titles of the roles in + the patron registration form + `#539 `__ +- Search autocomplete in jinja detailed views. + `#242 `__ +- Checkin of item with requests: in transit to wrong library + `#780 `__ +- Select pickup locations instead of library name + `#777 `__ +- Library code displayed in the holding + `#776 `__ +- Requests to validate by library switching + `#775 `__ +- Wrong locations proposed in the item editor + `#772 `__ +- Impossible to create a user with role “librarian” + `#771 `__ +- In transit to: destination not displayed + `#770 `__ +- In transit to: display library name + `#769 `__ + +**Merged pull requests:** + +- ui: move to rero-ils-ui 0.0.11 + `#809 `__ + (`jma `__) +- isort: fix isort problems for two files + `#807 `__ + (`BadrAly `__) +- Translate ‘/rero_ils/translations/messages.pot’ in ‘es’ + `#796 `__ + (`transifex-integration[bot] `__) +- Translate ‘/rero_ils/translations/messages.pot’ in ‘ar’ + `#785 `__ + (`transifex-integration[bot] `__) +- data: correction on users data + `#781 `__ + (`zannkukai `__) +- items: fix automatic checkin return informations + `#774 `__ + (`zannkukai `__) +- Translate ‘/rero_ils/translations/messages.pot’ in ‘de’ + `#763 `__ + (`transifex-integration[bot] `__) +- translation: fix error with translation file + `#762 `__ + (`BadrAly `__) +- Translate ‘/rero_ils/translations/messages.pot’ in ‘es’ + `#759 `__ + (`transifex-integration[bot] `__) +- Translate ‘/rero_ils/translations/messages.pot’ in ‘en’ + `#758 `__ + (`transifex-integration[bot] `__) +- Translate ‘/rero_ils/translations/messages.pot’ in ‘fr’ + `#757 `__ + (`transifex-integration[bot] `__) +- public interface: request deletion by patron + `#756 `__ + (`AoNoOokami `__) +- Translate ‘/rero_ils/translations/messages.pot’ in ‘es’ + `#750 `__ + (`transifex-integration[bot] `__) +- Translate ‘/rero_ils/translations/messages.pot’ in ‘en’ + `#748 `__ + (`transifex-integration[bot] `__) +- tests: fix travis failed with werkzeug==1.0.0 + `#747 `__ + (`jma `__) +- documentation: complete authors page + `#745 `__ + (`blankoworld `__) +- acq_account: disable account deletion when it has orders linked to + it. `#737 `__ + (`BadrAly `__) +- loans: fix problem when api returns an invalid checkout loan period + `#735 `__ + (`BadrAly `__) +- improve bnf import + `#733 `__ + (`rerowep `__) +- config: add default sort on resources + `#731 `__ + (`Garfield-fr `__) +- editor: fix “required status” error in item editor + `#728 `__ + (`AoNoOokami `__) +- item: add field location on form configuration + `#727 `__ + (`Garfield-fr `__) +- ui: Search input takes now all the header area + `#724 `__ + (`blankoworld `__) +- doc: create reroils resource diagram to show relations + `#722 `__ + (`BadrAly `__) +- data: preload persons and export + `#721 `__ + (`rerowep `__) +- acquisition: link order line to a document + `#719 `__ + (`lauren-d `__) +- person: atomic persons creation and indexation + `#715 `__ + (`rerowep `__) +- US813 `#714 `__ + (`BadrAly `__) +- Acquisition `#709 `__ + (`iGormilhit `__) +- ui: display a different logo/color for each orga. + `#706 `__ + (`blankoworld `__) +- ES: fix mapping `#705 `__ + (`rerowep `__) +- deployment: adaptions for rero-ils-ui + `#700 `__ + (`rerowep `__) +- setup: speed up and clean improvements + `#699 `__ + (`blankoworld `__) +- script: add rero-ils-ui install from tgz + `#692 `__ + (`AoNoOokami `__) +- editor: move to ngx-formly + `#690 `__ + (`jma `__) +- loans: improve due date timezone consideration + `#684 `__ + (`blankoworld `__) +- libraries: add sort by name configuration + `#681 `__ + (`Garfield-fr `__) +- cli: fixture pid dependency test with config file + `#679 `__ + (`rerowep `__) +- scripts: fix objects indexation + `#678 `__ + (`blankoworld `__) +- person: filter by view … + `#676 `__ + (`AoNoOokami `__) +- filter persons view + `#674 `__ + (`rerowep `__) +- circulation policy: ignore settings when deleting a policy + `#672 `__ + (`BadrAly `__) +- cli: pid fixture dependencies + `#667 `__ + (`rerowep `__) +- translation: fix patron form editor translation problem + `#666 `__ + (`zannkukai `__) +- data: rewrite provisionActivity field + `#663 `__ + (`rerowep `__) +- ui: add switch to professional view + `#662 `__ + (`AoNoOokami `__) +- serializer: remove \_settings key on aggregations + `#660 `__ + (`Garfield-fr `__) +- 1182 - improve perf with MEF + `#659 `__ + (`blankoworld `__) +- deployment: fix pipenv version + `#658 `__ + (`rerowep `__) +- translation: edition & responsability + `#656 `__ + (`rerowep `__) +- travis: fix errors + `#655 `__ + (`rerowep `__) +- fixtures: change library opening hours for organisation 3 + `#654 `__ + (`Garfield-fr `__) +- Us986 admin `#652 `__ + (`jma `__) +- data model: implement edition statement transformation + `#651 `__ + (`rerowep `__) +- ui: correct frontpage typo + `#647 `__ + (`AoNoOokami `__) +- frontend: remove admin actions + `#645 `__ + (`Garfield-fr `__) +- cli: add new translate command + `#643 `__ + (`rerowep `__) +- tests: improve test coverage + `#640 `__ + (`rerowep `__) +- template: update pr template + `#638 `__ + (`AoNoOokami `__) +- setup: lazy creation of records + `#635 `__ + (`rerowep `__) +- items: create items dump functionality + `#634 `__ + (`BadrAly `__) +- fix: correct circulation policy + `#633 `__ + (`AoNoOokami `__) +- permissions: allow read access to holding and items for all users + `#632 `__ + (`BadrAly `__) +- documents: fix document suppression problems + `#631 `__ + (`zannkukai `__) +- ebooks: fix ebooks dojson + `#628 `__ + (`rerowep `__) +- data: Adds dump for documents + `#618 `__ + (`rerowep `__) +- fix: loan and items + `#613 `__ + (`rerowep `__) +- renewals: add renew buttons for patrons checked-out items + `#610 `__ + (`BadrAly `__) +- scripts: add info message coloration + `#564 `__ + (`blankoworld `__) +- circulation: fix some loan scenarios + `#806 `__ + (`BadrAly `__) +- circulation: fix loan after a checkin of a validated request + `#795 `__ + (`BadrAly `__) +- circulation: fix item status after a check-in + `#782 `__ + (`BadrAly `__) +- documents: Add pickup location names for the item request button + `#779 `__ + (`zannkukai `__) +- ui: display library name instead of code + `#778 `__ + (`jma `__) +- security: authorize unsafe-eval param on script-src + `#773 `__ + (`Garfield-fr `__) +- ebooks: fix ebook import indexing + `#768 `__ + (`rerowep `__) +- config: allow loading external script + `#767 `__ + (`Garfield-fr `__) +- config: allow loading inline image in the security configuration + `#766 `__ + (`Garfield-fr `__) +- release: v0.6.0 `#764 `__ + (`iGormilhit `__) +- permissions: update and delete permissions api for records + `#760 `__ + (`BadrAly `__) +- documents: update schemas about abstract field + `#754 `__ + (`zannkukai `__) +- ui: move to rero-ils-ui@0.0.10 + `#752 `__ + (`jma `__) +- circulation: correct pickup location for actions + `#749 `__ + (`AoNoOokami `__) +- data model: fix jsonschema for the editor + `#746 `__ + (`jma `__) +- homepage: add homepage informations for pilot instance + `#744 `__ + (`Garfield-fr `__) +- ES: fix listeners + `#738 `__ + (`rerowep `__) +- patrons: display checkout history for patron + `#720 `__ + (`BadrAly `__) + `v0.5.2 `__ (2019-11-13) ---------------------------------------------------------------------- @@ -1608,5 +1961,6 @@ Changelog `__ `#63 `__ (`rerowep `__) -\* *This Change Log was automatically generated -by*\ `github_changelog_generator `__ + +\* *This Changelog was automatically generated +by*\ `github_changelog_generator `__ diff --git a/RELEASE-NOTES.rst b/RELEASE-NOTES.rst index a8b1ed3101..5bc5625ec9 100644 --- a/RELEASE-NOTES.rst +++ b/RELEASE-NOTES.rst @@ -18,6 +18,250 @@ Release notes ============= +v0.6.0 +------ + +User interface +-------------- + +- Adds a “renew” button in the patron profile, to allow the patron to + renew the borrowed item, if possible (no request on it). +- Re-enables autocomplete in the search input. +- Splits the user interface into a public interface and a + professional interface (ie for librarians). +- Removes all professional actions from the public interface, as they + are moved to the professional interface. +- Moves all professional functionalities to a dedicated angular + application. +- Adds a link to switch to the professional interface (only available + to logged in librarians). +- Adds a link to switch from the professional interface to the public + interface. +- Filters persons by organisation views. +- Changes the angular library to generate forms (form + `angular6-json-schema-editor `__ + to `ngx-formly `__), in + order to accommodate the need for a complex cataloging editor. +- Displays custom logos and header color for each organisation and for the + professional interface. +- Adds a “history” tab in the patron profile to display the transaction + history of the last 6 months. +- Adds a button in the requests tab of the patron profile to allow + patrons to cancel their own requests. +- Updates the frontpage for the pilot libraries instance, with relevant + information. +- `[rero-ils-ui] `__ Improves the + circulation module user interface with better information display (for + requests, transit and fees) and automatic performance of transactions. +- `[rero-ils-ui] `__ Implements the + patron account view in the professional interface, with tabs for checked + out items, requests, fees and personal information. + +Search and indexing +------------------- + +- Improves ebook bulk indexing (``invenio utils reindex``, + ``invenio utils runindex``). +- Improves person indexing during document indexing and document + creation. +- Fixes missing mappings in JSON schemas. +- Adds default sorting for each resource. + +Circulation +----------- + +- Takes into account library timezone for all circulation transactions. +- Links loans and fees through the notification resource. +- Enriches fee index with ``loan.pid``, ``patron.pid`` and + ``organisation.currency``. +- Adds an order parameter to sort pending loans. +- Improves the method for finding the correct location of an item when it + is in circulation. + +Metadata +-------- + +- Improves ``dojson`` transformations (MARC21 to JSON), especially the + ability to do parallel transformations, which is necessary for + complex tasks. +- Updates and improves UNIMARC ``dojson`` transformation (BnF + importation). +- Adds a comprehensive language list to the document JSON schema. +- Reserves ranges of PIDs, useful to import linked resources from external + systems. +- Adds a dump function to compute an unstructured ``_text`` field based on + structured data. This field is for display purposes. This new field is also + added to the JSON schema. +- Adds a dump function to items, to populate items index with + organisation, location and availability data. +- Fixes document dumps for records without series. +- Fixes ``dojson`` series field transformation for ebooks. +- Adds a CLI command to automatically translate the LoC language list. +- Implements and rewrites ``provisionActivity`` field in the new data model + and adapts the needed transformations. +- Fixes ``provisionActivity`` ``startDate``. +- Implements edition statement field in the new data model and the + needed transformations. +- Adds a command to the bootstrap script to compile JSON (JSON + references for definitions). +- Improves performance with MEF person importations: + + - Imports MEF persons in the DB, not only in ES. + - Reduces the number of requests to the DB and ES. + +- Updates JSON schemas to the new ``ngx-formly`` library (form options + are now directly in the schema). +- Sets the document abstract field to ``textarea`` type. + +Acquisition +----------- + +- Adds new resources for vendor file, orders and order lines. +- Adds new resources for organisation acquisition budget and library + acquisition account. +- Inherits the acquisition account currency from organisation default + currency. +- Prevents deletion of acquisition account if orders are linked to it. +- Enriches the organisation record by the ``current_budget_pid``. +- Sets the budget dates field to ``date`` instead of ``datetime``. +- Links order lines to documents. + +API +--- + +- Restricts actions on items to the librarians working at the owning + library. +- Allows read access to holdings and items for all users. +- Adds access to loan API for users of the same organisation. +- Restricts patron API loan search to their own loans. +- Sets loan API search sort order to loan’s ``transaction_date``. +- Limits edit, delete and update actions on acquisition account to + librarians of the same library. +- Allows librarians to read acquisition budgets of their library. +- Allows system librarians to create, edit, delete, update acquisition + budgets and accounts at the organisation level. +- Blocks deletion of the organisation’s current budget. +- Allows system librarians to edit the parameters of their own + organisation. +- Sets permissions for orders and order lines. +- Moves update and delete permissions from serializer to API. + +Fixtures +-------- + +- Fixes the numbers of items generated. +- Improves error handling and logging for JSON reference resolvers. +- Adds lazy record creation option to the setup. +- Sets opening of the third organisation libraries to 01:00 AM, because + the editor does not validate with an opening hour set to 00:00. +- Adds a CLI and a configuration file to test the PID dependencies in + the fixture data (ie relations between resources). +- Adds vendor fixtures. +- Adds acquisition budgets and acquisition accounts fixtures. +- Improves notification fixtures with ``due_soon`` and recall records. +- Exports existing MEF persons from a running instance and then imports + persons when building another instance, in order to speed up the setup. + +Tests +----- + +- Adds PID verification with commit/rollback. +- Improves test coverage with mef-persons tasks, ebooks receivers, API + harvester. +- Updates ``.run-tests.sh`` to ``pytest`` 5.3.3. +- Improves the license check. + +Instance +-------- + +- RERO ILS is now three different projects, three different git + repositories: + + - The repository `rero-ils `__ + contains the backend, the Invenio instance and the flask + application. + - `ng-core `__ is an angular + library for a User Interface, shared between two RERO projects + based on Invenio, RERO ILS and `SONAR `__. + - `rero-ils-ui `__ contains two + angular applications, one for the public search interface, the + other one for the professional interface. + +- Uses ``invenio-assets`` (``NpmBundle``) to integrate angular apps and + removes ``webpack`` command in the bootstrap script. +- Adds the possibility to install ``rero-ils-ui`` from a locally + generated ``.tgz``. +- Adds a variable in ``bundles.py`` to set ``rero-ils-ui`` version. +- Updates ``Dockerfile`` to use ``rero-ils-ui`` package file. +- Adds ``rero-ils-ui`` version or commit hash on + `ilsdev.test.rero.ch `__ frontpage. +- Improves scripts: + + - ``run-tests.sh``. + - speeds up ``scripts/setup`` and cleans unnecessary warnings. + - ``scripts/bootstrap``. + +Documentation +------------- + +- Improves templates for GitHub pull request, in order to remind + developers to check if strings to be translated have correctly been + extracted. +- Documents links between RERO ILS resources in + ``doc/reroils_resources.*`` files. + +Issues +------ + +- `#571 `__: the string + “not extendable” was not translated in the notifications templates. +- `#574 `__: librarians + could edit items belonging to other libraries. +- `#550 `__: person + result list should be filtered by the organisation view. +- `#552 `__: after + deleting a document, a *page not found* was presented to the user. + This fix provides a confirmation message and redirects the user to + the list of documents. +- `#572 `__: some strings + in the patron editor were not correctly translated. +- `#599 `__: due date + computation resulted in wrong output, due to incomplete timezone + support. +- `#601 `__: deleting a + document resulted in an exception, because a non existing linked + ``mef_reference`` could not be deleted. +- `#213 `__: needs a + method to validate circulation policies when they are imported and + not created through the editor. +- `#625 `__: the + circulation policy custom editor didn’t display selected policy + settings (to which patron types and item types the policy applies + to). +- `#626 `__: an error in + circulation policies data prevented the second organisation system + librarian to edit circulation policies. +- `#646 `__: the French + translation of system librarian wasn’t correct on the frontpage. +- `#770 `__: the + destination of an item in transit was not displayed correctly after a + checkin. +- `#776 `__: item + information in the holding displayed the library code, which is not + relevant. The library name and location name are the desired + information to be displayed here. The destination of an item in transit + was not displayed correctly after a checkin. +- `#777 `__: the item + request button should be populated by pickup location names instead + of library names. +- `#780 `__: checkin of + requested items resulted in the wrong transit destination. This was + due to a bug in the ``invenio-circulation`` version used by RERO ILS. + Temporarily, the circulation transitions have been overwritten. +- `rero/rero-ils-ui#76 `__: + it should be possible to delete a circulation policy even if it + contains parameters. + v0.5.2 ------