invenio-app-ils 4.5.0__py2.py3-none-any.whl → 5.0.0__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- invenio_app_ils/__init__.py +1 -1
- invenio_app_ils/assets/semantic-ui/less/theme.config +103 -0
- invenio_app_ils/circulation/api.py +9 -5
- invenio_app_ils/circulation/config.py +1 -0
- invenio_app_ils/circulation/loaders/schemas/json/loan_checkout.py +1 -1
- invenio_app_ils/circulation/loaders/schemas/json/loan_request.py +2 -2
- invenio_app_ils/circulation/notifications/api.py +9 -1
- invenio_app_ils/circulation/notifications/messages.py +2 -1
- invenio_app_ils/circulation/templates/invenio_app_ils_circulation/notifications/update_dates.html +19 -0
- invenio_app_ils/cli.py +92 -64
- invenio_app_ils/config.py +10 -2
- invenio_app_ils/documents/loaders/jsonschemas/document.py +1 -1
- invenio_app_ils/eitems/loaders/jsonschemas/eitems.py +2 -2
- invenio_app_ils/patrons/anonymization.py +0 -4
- invenio_app_ils/series/loaders/jsonschemas/series.py +1 -1
- invenio_app_ils/webpack.py +27 -0
- {invenio_app_ils-4.5.0.dist-info → invenio_app_ils-5.0.0.dist-info}/METADATA +56 -43
- {invenio_app_ils-4.5.0.dist-info → invenio_app_ils-5.0.0.dist-info}/RECORD +24 -112
- {invenio_app_ils-4.5.0.dist-info → invenio_app_ils-5.0.0.dist-info}/entry_points.txt +3 -0
- {invenio_app_ils-4.5.0.dist-info → invenio_app_ils-5.0.0.dist-info}/top_level.txt +0 -1
- invenio_app_ils/notifications/admin.py +0 -57
- tests/__init__.py +0 -8
- tests/api/__init__.py +0 -8
- tests/api/acquisition/__init__.py +0 -8
- tests/api/acquisition/test_acq_orders_crud.py +0 -99
- tests/api/acquisition/test_acq_orders_permissions.py +0 -104
- tests/api/acquisition/test_acq_providers_permissions.py +0 -83
- tests/api/circulation/__init__.py +0 -8
- tests/api/circulation/test_expired_loans.py +0 -88
- tests/api/circulation/test_loan_bulk_extend.py +0 -169
- tests/api/circulation/test_loan_checkout.py +0 -422
- tests/api/circulation/test_loan_default_durations.py +0 -43
- tests/api/circulation/test_loan_document_resolver.py +0 -18
- tests/api/circulation/test_loan_extend.py +0 -122
- tests/api/circulation/test_loan_item_permissions.py +0 -135
- tests/api/circulation/test_loan_item_resolver.py +0 -26
- tests/api/circulation/test_loan_list_permissions.py +0 -98
- tests/api/circulation/test_loan_patron_resolver.py +0 -38
- tests/api/circulation/test_loan_request.py +0 -338
- tests/api/circulation/test_loan_update.py +0 -150
- tests/api/circulation/test_notifications.py +0 -221
- tests/api/conftest.py +0 -227
- tests/api/document_requests/__init__.py +0 -8
- tests/api/document_requests/test_document_requests.py +0 -131
- tests/api/document_requests/test_document_requests_permissions.py +0 -159
- tests/api/document_requests/test_notifications_filter.py +0 -35
- tests/api/ill/__init__.py +0 -8
- tests/api/ill/test_ill_brw_crud.py +0 -74
- tests/api/ill/test_ill_brw_reqs_patron_loan_create_action.py +0 -198
- tests/api/ill/test_ill_brw_reqs_patron_loan_extension_actions.py +0 -280
- tests/api/ill/test_ill_brw_reqs_permissions.py +0 -163
- tests/api/ill/test_ill_providers_permissions.py +0 -82
- tests/api/ils/__init__.py +0 -8
- tests/api/ils/documents/__init__.py +0 -8
- tests/api/ils/documents/test_document_crud.py +0 -57
- tests/api/ils/documents/test_document_permissions.py +0 -100
- tests/api/ils/documents/test_document_resolvers.py +0 -35
- tests/api/ils/eitems/__init__.py +0 -8
- tests/api/ils/eitems/test_eitems_crud.py +0 -42
- tests/api/ils/eitems/test_eitems_permissions.py +0 -85
- tests/api/ils/eitems/test_files.py +0 -162
- tests/api/ils/items/__init__.py +0 -8
- tests/api/ils/items/test_apis.py +0 -43
- tests/api/ils/items/test_items_crud.py +0 -99
- tests/api/ils/items/test_items_permissions.py +0 -107
- tests/api/ils/records_relations/__init__.py +0 -8
- tests/api/ils/records_relations/helpers.py +0 -115
- tests/api/ils/records_relations/test_records_relations_parentchild.py +0 -560
- tests/api/ils/records_relations/test_records_relations_sequence.py +0 -294
- tests/api/ils/records_relations/test_records_relations_siblings.py +0 -751
- tests/api/ils/series/__init__.py +0 -8
- tests/api/ils/series/test_series_permissions.py +0 -95
- tests/api/ils/test_anonymization.py +0 -181
- tests/api/ils/test_apis.py +0 -76
- tests/api/ils/test_closures.py +0 -353
- tests/api/ils/test_errors.py +0 -125
- tests/api/ils/test_facets.py +0 -88
- tests/api/ils/test_internal_locations.py +0 -96
- tests/api/ils/test_loaders.py +0 -51
- tests/api/ils/test_metadata_extensions.py +0 -206
- tests/api/ils/test_notifications.py +0 -173
- tests/api/ils/test_notifications_mails.py +0 -37
- tests/api/ils/test_notifications_permissions.py +0 -55
- tests/api/ils/test_patrons.py +0 -102
- tests/api/ils/test_record_delete.py +0 -42
- tests/api/ils/test_record_permissions.py +0 -132
- tests/api/ils/test_resolvers.py +0 -205
- tests/api/ils/test_stats.py +0 -142
- tests/api/ils/test_tasks.py +0 -209
- tests/api/ils/test_vocabularies.py +0 -35
- tests/conftest.py +0 -221
- tests/data/acq_orders.json +0 -110
- tests/data/acq_providers.json +0 -12
- tests/data/document_requests.json +0 -77
- tests/data/documents.json +0 -238
- tests/data/eitems.json +0 -71
- tests/data/ill_borrowing_requests.json +0 -77
- tests/data/ill_providers.json +0 -12
- tests/data/internal_locations.json +0 -22
- tests/data/items.json +0 -304
- tests/data/loans.json +0 -133
- tests/data/loans_most_loaned.json +0 -128
- tests/data/locations.json +0 -26
- tests/data/series.json +0 -33
- tests/helpers.py +0 -107
- tests/templates/notifications/title_body.html +0 -8
- tests/templates/notifications/title_body_html.html +0 -13
- tests/templates/notifications/title_body_html_ctx.html +0 -13
- tests/templates/notifications/title_only.html +0 -3
- tests/test_post_logout_redirect.py +0 -23
- tests/test_version.py +0 -17
- /tests/templates/notifications/blank.html → /invenio_app_ils/assets/semantic-ui/templates/.gitkeep +0 -0
- {invenio_app_ils-4.5.0.dist-info → invenio_app_ils-5.0.0.dist-info}/WHEEL +0 -0
- {invenio_app_ils-4.5.0.dist-info → invenio_app_ils-5.0.0.dist-info}/licenses/AUTHORS.rst +0 -0
- {invenio_app_ils-4.5.0.dist-info → invenio_app_ils-5.0.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: invenio-app-ils
|
|
3
|
-
Version:
|
|
3
|
+
Version: 5.0.0
|
|
4
4
|
Summary: Invenio Integrated Library System.
|
|
5
5
|
Home-page: https://github.com/inveniosoftware/invenio-app-ils
|
|
6
6
|
Author: CERN
|
|
@@ -12,59 +12,60 @@ Classifier: Development Status :: 4 - Beta
|
|
|
12
12
|
Requires-Python: >=3.8
|
|
13
13
|
License-File: LICENSE
|
|
14
14
|
License-File: AUTHORS.rst
|
|
15
|
-
Requires-Dist: invenio-app<
|
|
16
|
-
Requires-Dist: invenio-db[mysql,postgresql]<
|
|
17
|
-
Requires-Dist: invenio-base<
|
|
18
|
-
Requires-Dist: invenio-cache<
|
|
19
|
-
Requires-Dist: invenio-celery<
|
|
20
|
-
Requires-Dist: invenio-config<
|
|
21
|
-
Requires-Dist: invenio-i18n<
|
|
22
|
-
Requires-Dist: invenio-
|
|
23
|
-
Requires-Dist: invenio-
|
|
24
|
-
Requires-Dist: invenio-
|
|
25
|
-
Requires-Dist: invenio-
|
|
26
|
-
Requires-Dist: invenio-
|
|
27
|
-
Requires-Dist: invenio-
|
|
28
|
-
Requires-Dist: invenio-
|
|
29
|
-
Requires-Dist: invenio-
|
|
30
|
-
Requires-Dist: invenio-
|
|
31
|
-
Requires-Dist: invenio-
|
|
32
|
-
Requires-Dist: invenio-
|
|
33
|
-
Requires-Dist: invenio-
|
|
34
|
-
Requires-Dist: invenio-
|
|
35
|
-
Requires-Dist: invenio-
|
|
36
|
-
Requires-Dist: invenio-
|
|
37
|
-
Requires-Dist: invenio-
|
|
38
|
-
Requires-Dist: invenio-records
|
|
39
|
-
Requires-Dist: invenio-
|
|
40
|
-
Requires-Dist: invenio-
|
|
41
|
-
Requires-Dist: invenio-
|
|
42
|
-
Requires-Dist: invenio-pages<1.1.0,>=1.0.0a5
|
|
15
|
+
Requires-Dist: invenio-app<3.0.0,>=2.3.0
|
|
16
|
+
Requires-Dist: invenio-db[mysql,postgresql]<3.0.0,>=2.0.0
|
|
17
|
+
Requires-Dist: invenio-base<3.0.0,>=2.3.2
|
|
18
|
+
Requires-Dist: invenio-cache<3.0.0,>=2.1.0
|
|
19
|
+
Requires-Dist: invenio-celery<3.0.0,>=2.2.0
|
|
20
|
+
Requires-Dist: invenio-config<2.0.0,>=1.1.0
|
|
21
|
+
Requires-Dist: invenio-i18n<4.0.0,>=3.3.0
|
|
22
|
+
Requires-Dist: invenio-assets<5.0.0,>=4.2.0
|
|
23
|
+
Requires-Dist: invenio-formatter<4.0.0,>=3.2.0
|
|
24
|
+
Requires-Dist: invenio-logging[sentry]<5.0.0,>=4.1.0
|
|
25
|
+
Requires-Dist: invenio-mail<3.0.0,>=2.3.0
|
|
26
|
+
Requires-Dist: invenio-rest<3.0.0,>=2.0.5
|
|
27
|
+
Requires-Dist: invenio-theme<5.0.0,>=4.3.0
|
|
28
|
+
Requires-Dist: invenio-access<5.0.0,>=4.1.0
|
|
29
|
+
Requires-Dist: invenio-accounts<7.0.0,>=6.1.1
|
|
30
|
+
Requires-Dist: invenio-oauth2server<4.0.0,>=3.2.0
|
|
31
|
+
Requires-Dist: invenio-oauthclient<6.0.0,>=5.1.0
|
|
32
|
+
Requires-Dist: invenio-userprofiles<5.0.0,>=4.0.0
|
|
33
|
+
Requires-Dist: invenio-indexer<4.0.0,>=3.1.0
|
|
34
|
+
Requires-Dist: invenio-jsonschemas<3.0.0,>=2.1.0
|
|
35
|
+
Requires-Dist: invenio-oaiserver<4.0.0,>=3.6.0
|
|
36
|
+
Requires-Dist: invenio-pidstore<3.0.0,>=2.1.0
|
|
37
|
+
Requires-Dist: invenio-records-rest<4.0.0,>=3.1.0
|
|
38
|
+
Requires-Dist: invenio-records<4.0.0,>=3.0.2
|
|
39
|
+
Requires-Dist: invenio-files-rest<4.0.0,>=3.2.0
|
|
40
|
+
Requires-Dist: invenio-banners<6.0.0,>=5.0.0
|
|
41
|
+
Requires-Dist: invenio-pages<8.0.0,>=7.1.0
|
|
43
42
|
Requires-Dist: invenio-circulation<4.0.0,>=3.0.0a1
|
|
44
|
-
Requires-Dist: invenio-opendefinition<3.0.0,>=2.0.
|
|
45
|
-
Requires-Dist: invenio-pidrelations<
|
|
46
|
-
Requires-Dist: invenio-stats<
|
|
47
|
-
Requires-Dist: Flask-Debugtoolbar<1.0.0,>=0.
|
|
48
|
-
Requires-Dist: pycountry<
|
|
49
|
-
Requires-Dist: simplejson<4.0.0,>=3.
|
|
50
|
-
Requires-Dist:
|
|
51
|
-
Requires-Dist:
|
|
52
|
-
Requires-Dist:
|
|
53
|
-
Requires-Dist:
|
|
54
|
-
Requires-Dist:
|
|
55
|
-
Requires-Dist:
|
|
43
|
+
Requires-Dist: invenio-opendefinition<3.0.0,>=2.0.0a2
|
|
44
|
+
Requires-Dist: invenio-pidrelations<2.0.0,>=1.0.0
|
|
45
|
+
Requires-Dist: invenio-stats<6.0.0,>=5.1.1
|
|
46
|
+
Requires-Dist: Flask-Debugtoolbar<1.0.0,>=0.15.1
|
|
47
|
+
Requires-Dist: pycountry<25.0.0,>=22.3.5
|
|
48
|
+
Requires-Dist: simplejson<4.0.0,>=3.20.1
|
|
49
|
+
Requires-Dist: jsonschema<5.0.0,>=4.24.0
|
|
50
|
+
Requires-Dist: alembic<2.0.0,>=1.16.4
|
|
51
|
+
Requires-Dist: celery<5.4.0,>=5.3.6
|
|
52
|
+
Requires-Dist: billiard<5.0.0,>=4.2.1
|
|
53
|
+
Requires-Dist: werkzeug<4.0.0,>=3.1.3
|
|
54
|
+
Requires-Dist: click<9.0.0,>=8.1.8
|
|
55
|
+
Requires-Dist: sqlalchemy_utils>=0.41.2
|
|
56
56
|
Provides-Extra: tests
|
|
57
57
|
Requires-Dist: pytest-black>=0.3.0; extra == "tests"
|
|
58
58
|
Requires-Dist: mock>=2.0.0; extra == "tests"
|
|
59
|
-
Requires-Dist: pytest-invenio
|
|
59
|
+
Requires-Dist: pytest-invenio>=3.4.2; extra == "tests"
|
|
60
60
|
Requires-Dist: docker-services-cli>=0.6.0; extra == "tests"
|
|
61
61
|
Requires-Dist: pydocstyle==6.1.1; extra == "tests"
|
|
62
62
|
Requires-Dist: pytest-mock>=1.6.0; extra == "tests"
|
|
63
63
|
Requires-Dist: sphinx>=5; extra == "tests"
|
|
64
|
+
Requires-Dist: pluggy>=1.6.0; extra == "tests"
|
|
64
65
|
Provides-Extra: lorem
|
|
65
66
|
Requires-Dist: lorem>=0.1.1; extra == "lorem"
|
|
66
67
|
Provides-Extra: opensearch2
|
|
67
|
-
Requires-Dist: invenio-search[opensearch2]<
|
|
68
|
+
Requires-Dist: invenio-search[opensearch2]<4.0.0,>=3.1.0; extra == "opensearch2"
|
|
68
69
|
Provides-Extra: docs
|
|
69
70
|
Dynamic: license-file
|
|
70
71
|
|
|
@@ -102,6 +103,18 @@ https://invenioils.docs.cern.ch
|
|
|
102
103
|
Changes
|
|
103
104
|
=======
|
|
104
105
|
|
|
106
|
+
Version 5.0.0 (released 2025-08-12)
|
|
107
|
+
|
|
108
|
+
- breaking changes: upgrade to flask 3
|
|
109
|
+
- breaking changes: upgrade to sqlalchemy2
|
|
110
|
+
- circulation: added NOT-SPECIFIED delivery method
|
|
111
|
+
- circulation: changing loan dates sends out a mail to the patron
|
|
112
|
+
- update: rename schema field parameter default to load_default
|
|
113
|
+
|
|
114
|
+
Version 4.6.0 (released 2025-06-25)
|
|
115
|
+
|
|
116
|
+
- installation: remove breaking package version constraints
|
|
117
|
+
|
|
105
118
|
Version 4.5.0 (released 2025-06-04)
|
|
106
119
|
|
|
107
120
|
- closures: added endpoint for closure periods in a year
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
invenio_app_ils/__init__.py,sha256=
|
|
2
|
-
invenio_app_ils/cli.py,sha256=
|
|
3
|
-
invenio_app_ils/config.py,sha256=
|
|
1
|
+
invenio_app_ils/__init__.py,sha256=raaSY4KuYq8e-KVoiwMq0ecYXxXxEgO9_XWwwkY-dRE,285
|
|
2
|
+
invenio_app_ils/cli.py,sha256=onpLy_J9KcHSf4M8M3uQRsoizEX-3Qdt7a5TFjxGUjU,58166
|
|
3
|
+
invenio_app_ils/config.py,sha256=eegvumgMz68WIiiPpmftC3Wq5zvNou5dL3Wqf8i84GY,41035
|
|
4
4
|
invenio_app_ils/errors.py,sha256=HB_iWj-aYxzTzzO6hWb66mUPZdqpWYHgmr2H2t3j3wU,13293
|
|
5
5
|
invenio_app_ils/ext.py,sha256=SULPfx1FxBLaOaKcyNKAAIyvZAuvTH3AcH_a8aXTSYo,11522
|
|
6
6
|
invenio_app_ils/facets.py,sha256=x-ID7vL34zqbxJi7VC3EJSee13l_Jk0CfPZN3RHZrM8,4207
|
|
@@ -12,6 +12,7 @@ invenio_app_ils/proxies.py,sha256=IGBwXQSOxpXHjD8PWFG1nqUm70xGAgzWT8Y0AKdCGiI,45
|
|
|
12
12
|
invenio_app_ils/search_permissions.py,sha256=KxkzgzSz3yabcDMffrsQag4TqZac0w1TBzntb7zjmOQ,5058
|
|
13
13
|
invenio_app_ils/signals.py,sha256=KaN8yQUVq-2O2IKQQvPLtMjqp1S3AU1LYPlRyw9U8Pg,395
|
|
14
14
|
invenio_app_ils/views.py,sha256=qIvinO6O7ZX_vlLMQ_QPnMKvOe7UmYKusNgII022xkc,1734
|
|
15
|
+
invenio_app_ils/webpack.py,sha256=429ksU_x4Wizz_Ut9rP-M5gBnohK8r9XsbJwiHiI2G8,809
|
|
15
16
|
invenio_app_ils/acquisition/__init__.py,sha256=V8eD6gCowj-Wn2WIqWU3NJn4fsnyMuTrUG7N_M4Rytc,232
|
|
16
17
|
invenio_app_ils/acquisition/api.py,sha256=4WYKSw5aKg9KgMYIBuxlT9C7THybl6CfUnlTFzX6lJA,5122
|
|
17
18
|
invenio_app_ils/acquisition/config.py,sha256=KXzNNg2RjvsAmqL3c67MkCj-R5OVkBwYx5dfZz0cGBY,3547
|
|
@@ -34,9 +35,11 @@ invenio_app_ils/acquisition/mappings/v7/__init__.py,sha256=JvBjTv45pDy60DvPsjWoS
|
|
|
34
35
|
invenio_app_ils/acquisition/mappings/v7/acq_orders/order-v1.0.0.json,sha256=KMaSi0O-YsiTnA_dj4fkWiDvlNSAkm3dR5HfFnAJvUU,8155
|
|
35
36
|
invenio_app_ils/acquisition/schemas/__init__.py,sha256=HulLvvDz0W5owDGxVLIaastuZ4o6T5-MYGw0RPuY90g,233
|
|
36
37
|
invenio_app_ils/acquisition/schemas/acq_orders/order-v1.0.0.json,sha256=_Kd3oX_7gJJQSqSc2TxQulXletYu0wEeTdQKkXr7kLs,5688
|
|
38
|
+
invenio_app_ils/assets/semantic-ui/less/theme.config,sha256=j2GQ2ulbymT0K-AEzHNOV1r_Fb9QAptMvK4vN04a1Ug,3017
|
|
39
|
+
invenio_app_ils/assets/semantic-ui/templates/.gitkeep,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
37
40
|
invenio_app_ils/circulation/__init__.py,sha256=Gd0KAsGdhPdz0ACEQ9k8xSeOIxZr3xRK_FiE8U3RQWs,248
|
|
38
|
-
invenio_app_ils/circulation/api.py,sha256=
|
|
39
|
-
invenio_app_ils/circulation/config.py,sha256=
|
|
41
|
+
invenio_app_ils/circulation/api.py,sha256=jKty3IqTOK0XJdeXLlDqnZH2uhdVzd4xWuVphQe4YKw,14643
|
|
42
|
+
invenio_app_ils/circulation/config.py,sha256=6kevEv99dqTAKGjGkaAZTB6jRdmuD8-H9SkDQ9QqZ18,11425
|
|
40
43
|
invenio_app_ils/circulation/indexer.py,sha256=T24J5QqcB38LRJgirkAXL2tmFOucYToDRegxgFW96ag,3887
|
|
41
44
|
invenio_app_ils/circulation/receivers.py,sha256=Ux6KTNbII3DHBvCUS0gxqbi6tNbm76_kbcaHtK0BsB4,2488
|
|
42
45
|
invenio_app_ils/circulation/search.py,sha256=l9DAr9uoaF_JbfiiXVpAFKW3NLv9bgs7D-uDwtU-fv0,6105
|
|
@@ -50,13 +53,13 @@ invenio_app_ils/circulation/loaders/schemas/__init__.py,sha256=l2qiAyJt9QqFyDqfa
|
|
|
50
53
|
invenio_app_ils/circulation/loaders/schemas/json/__init__.py,sha256=wsV4twVnMDNWhWYM8Iu_v3y68JVEKPFOKRi5gJ5qT1I,262
|
|
51
54
|
invenio_app_ils/circulation/loaders/schemas/json/base.py,sha256=lkOTJT6pPbukEjwVXEDaFxA7ruslxO3WyQlNuQpiv-U,1444
|
|
52
55
|
invenio_app_ils/circulation/loaders/schemas/json/bulk_extend.py,sha256=nDqWF2cwiO2GHwPVO6ivPIya6g2AHQ-pZnQoo9e9fQs,638
|
|
53
|
-
invenio_app_ils/circulation/loaders/schemas/json/loan_checkout.py,sha256=
|
|
54
|
-
invenio_app_ils/circulation/loaders/schemas/json/loan_request.py,sha256=
|
|
56
|
+
invenio_app_ils/circulation/loaders/schemas/json/loan_checkout.py,sha256=w35_QSsN4MteTnWHIf99BRYkzwufXyf80tVbuQsQXmI,2152
|
|
57
|
+
invenio_app_ils/circulation/loaders/schemas/json/loan_request.py,sha256=HPrlHNYnqVh-XRiMo2qgmiSfKx3MlwmktbuxhkK7iRU,5931
|
|
55
58
|
invenio_app_ils/circulation/loaders/schemas/json/loan_self_checkout.py,sha256=ceYLWal4ZF1h8J6r5cPVQL0VlkiQn5GusxVgtuNWPDA,578
|
|
56
59
|
invenio_app_ils/circulation/loaders/schemas/json/loan_update_dates.py,sha256=9NtrBJKytly3Acv4wxuqExN0gB9DGnXB8K_27izQkrs,774
|
|
57
60
|
invenio_app_ils/circulation/notifications/__init__.py,sha256=fG45An4FOBrAIZcWfFtv-3RnyFC4lfHUXWdwy164y_Q,246
|
|
58
|
-
invenio_app_ils/circulation/notifications/api.py,sha256=
|
|
59
|
-
invenio_app_ils/circulation/notifications/messages.py,sha256=
|
|
61
|
+
invenio_app_ils/circulation/notifications/api.py,sha256=3J9updknYQ0g2GEXhO-qQV9_jvC1lcnr4xMe0Btg_2k,3601
|
|
62
|
+
invenio_app_ils/circulation/notifications/messages.py,sha256=GG6gmUB_dtbgsUVLS91mf5goCDQwx3o3ktdOfwXpZoQ,3804
|
|
60
63
|
invenio_app_ils/circulation/notifications/tasks.py,sha256=8W4T3YzzWn3VEMcFZZkqOZGil7MAP0EGovJ4tBfFHOA,1806
|
|
61
64
|
invenio_app_ils/circulation/serializers/__init__.py,sha256=RWzG4YNwKZzG81ucpesjwEfZ-K4HBwo4ycowQorqdHw,1035
|
|
62
65
|
invenio_app_ils/circulation/serializers/csv.py,sha256=se_6Bv0gA8IZm9Je1Edy-_aHfBqB6kfkd3I6NTvSoWc,1328
|
|
@@ -75,6 +78,7 @@ invenio_app_ils/circulation/templates/invenio_app_ils_circulation/notifications/
|
|
|
75
78
|
invenio_app_ils/circulation/templates/invenio_app_ils_circulation/notifications/request.html,sha256=ymEJFd9CWsK1dwxNu9qz6bR9Jdmozm5yMpI1VTysZM8,574
|
|
76
79
|
invenio_app_ils/circulation/templates/invenio_app_ils_circulation/notifications/request_no_items.html,sha256=iF0KKsw8UuObUvKzlPGPwCt7e_5oPFzqKxlkwY_JCiY,788
|
|
77
80
|
invenio_app_ils/circulation/templates/invenio_app_ils_circulation/notifications/self_checkout.html,sha256=FNTGwP47kyy5RQC292PouuAlLiGsRmaO9rG2yqhx1Rc,654
|
|
81
|
+
invenio_app_ils/circulation/templates/invenio_app_ils_circulation/notifications/update_dates.html,sha256=R6bkLcDPM4LcOZoMTDUbF5fZe_xlHDq7FYV_gCPsQpI,726
|
|
78
82
|
invenio_app_ils/circulation/templates/invenio_app_ils_circulation/notifications/will_expire_in_reminder.html,sha256=bxSEB8clDDvnfaXcs9r-XtyhlAIv3a-QTI4MvU_bqsY,713
|
|
79
83
|
invenio_app_ils/circulation/transitions/__init__.py,sha256=XaEYQVWOWhZ_0JPxTg0Lx53BmyWJXOfM3_nm2KipYhY,237
|
|
80
84
|
invenio_app_ils/circulation/transitions/transitions.py,sha256=9W5h4RHm72wMQuY3hKgFHLKwnxN68gkN98RwBlCjsro,1361
|
|
@@ -131,7 +135,7 @@ invenio_app_ils/documents/jsonresolvers/document_relations.py,sha256=D2VBBK_5hqK
|
|
|
131
135
|
invenio_app_ils/documents/jsonresolvers/document_stock.py,sha256=QQ1WNsHBqzLoxRngK2uyFcqPVCXwLqj4Ayn23dyF7YM,1668
|
|
132
136
|
invenio_app_ils/documents/loaders/__init__.py,sha256=h_uilf6ka1qi9vwhfDc5SzL1rdWHH2qWCMQrI_LEnoU,414
|
|
133
137
|
invenio_app_ils/documents/loaders/jsonschemas/__init__.py,sha256=3RyVNmovfMJnmze6_QKSULev8a3yRHUCuO-0y3UFy64,238
|
|
134
|
-
invenio_app_ils/documents/loaders/jsonschemas/document.py,sha256=
|
|
138
|
+
invenio_app_ils/documents/loaders/jsonschemas/document.py,sha256=WK4cRY5HEWJjmhO8Pcd1rezrnO9kBDJQRTnFbCxXNGw,7582
|
|
135
139
|
invenio_app_ils/documents/mappings/__init__.py,sha256=8myTYxQP-EadjBbmAQd3vjZY1-uUGpSQCDv7Sr2cX6A,229
|
|
136
140
|
invenio_app_ils/documents/mappings/os-v1/__init__.py,sha256=0TRJl_WtkxFUNK3MxyntNg2s-lZILhzB2ZdKMs7qcDI,241
|
|
137
141
|
invenio_app_ils/documents/mappings/os-v1/documents/document-v1.0.0.json,sha256=o864rRsme4OKA7SwQhpc2ORO5VflH2hpF-58GssfdqA,21646
|
|
@@ -154,7 +158,7 @@ invenio_app_ils/eitems/jsonresolvers/eitem_document.py,sha256=dgs0yGqHlfOL00jIJn
|
|
|
154
158
|
invenio_app_ils/eitems/jsonresolvers/eitem_files.py,sha256=xCAIL4HGXAGhovxbNLAWz9ra_CsWZ4UpsNzK3VaddKw,1358
|
|
155
159
|
invenio_app_ils/eitems/loaders/__init__.py,sha256=F3-_mbd-3Pjr8J20gVEDxGs3VE9nMEKChp03LjLi-Uo,401
|
|
156
160
|
invenio_app_ils/eitems/loaders/jsonschemas/__init__.py,sha256=6bLAkym3u9rgqYTHDHOX3gr5Hh60QNC_YHQMkzIHDgY,236
|
|
157
|
-
invenio_app_ils/eitems/loaders/jsonschemas/eitems.py,sha256=
|
|
161
|
+
invenio_app_ils/eitems/loaders/jsonschemas/eitems.py,sha256=RVoJDIGHyJAvQYhcD5Pl1gW4h90KhGFD1p4NdcmoJ2I,2073
|
|
158
162
|
invenio_app_ils/eitems/mappings/__init__.py,sha256=PXpNWKcHerg4WIVNBjag0iCPZRQ8pyb3PyxT9zcrnvc,236
|
|
159
163
|
invenio_app_ils/eitems/mappings/os-v1/__init__.py,sha256=99ifBNKeEw3npzw0AOKCUTP25mcR2Sn1M7Oy8i_Ra_A,239
|
|
160
164
|
invenio_app_ils/eitems/mappings/os-v1/eitems/eitem-v1.0.0.json,sha256=MBWhA2wJl8t9q12Rc90pwRkTp0Rk8uSPfZWWWDUabDA,2756
|
|
@@ -281,7 +285,6 @@ invenio_app_ils/locations/mappings/v7/locations/location-v1.0.0.json,sha256=1JvQ
|
|
|
281
285
|
invenio_app_ils/locations/schemas/__init__.py,sha256=-V_k3_Bme_FupWzUtOvahV0Dw5bCCPsJj9-nUFPCUVk,235
|
|
282
286
|
invenio_app_ils/locations/schemas/locations/location-v1.0.0.json,sha256=WZOPdpXKqFnnV_E0XNfzsSEH9ZOaNye1Wx_NxXAEWb0,3366
|
|
283
287
|
invenio_app_ils/notifications/__init__.py,sha256=GeGQK6hWRmr-0GFVbdvtTa1rWAZ5QYmVAftzmQmtg9Y,234
|
|
284
|
-
invenio_app_ils/notifications/admin.py,sha256=-McziQ7U5hMmxsyy6N379m9ZB1LqRFDfA2aRy8INQfU,1350
|
|
285
288
|
invenio_app_ils/notifications/api.py,sha256=OT6P8hN04SDMZmfUWYonTZyf32jCLNXXrd96M_d1zI8,3054
|
|
286
289
|
invenio_app_ils/notifications/messages.py,sha256=4pNPuR7YKiwpMFdW6CvmDFFzVVd5p62wSfsfyQLpHTQ,3103
|
|
287
290
|
invenio_app_ils/notifications/models.py,sha256=79yoXBUVv246cGIK_xKl9WZ56f1Z2IGdyhZgnYTMkOw,1516
|
|
@@ -290,7 +293,7 @@ invenio_app_ils/notifications/views.py,sha256=3Cq0zseRMQiMfzACyLLJx258DsdJ4khol4
|
|
|
290
293
|
invenio_app_ils/notifications/backends/__init__.py,sha256=51F9qVm1JIAOfLfzqn2O80YZlKJ4kVD5cuyoUP2Z748,421
|
|
291
294
|
invenio_app_ils/notifications/backends/mail.py,sha256=NNKgUsdWG2moqkGfEnwj2tPBOPzkOCuSW2F_WzWnc8A,1341
|
|
292
295
|
invenio_app_ils/patrons/__init__.py,sha256=zGad-MTgKFzc_92lH9NNKVIZyxSK9zwZX4BBmHK4tbw,228
|
|
293
|
-
invenio_app_ils/patrons/anonymization.py,sha256=
|
|
296
|
+
invenio_app_ils/patrons/anonymization.py,sha256=I3U3FpXNG03QH_wYxld05VO8yT9DSjCp1lInHoqyHfk,10080
|
|
294
297
|
invenio_app_ils/patrons/api.py,sha256=ofVURg73zmacmiNbPJ4edCkDgxngdA90IePxoLM7lRc,5396
|
|
295
298
|
invenio_app_ils/patrons/cli.py,sha256=k-aZlygrJwwQGu1yAcI5livU6leERXf3jdV2oqyFegI,2018
|
|
296
299
|
invenio_app_ils/patrons/indexer.py,sha256=3SArGVZicfazVALg5gFS7UdQxewsxre9mrX9tu5nKTI,5956
|
|
@@ -357,7 +360,7 @@ invenio_app_ils/series/jsonresolvers/__init__.py,sha256=KwS1i7XJkydP_YfOMjjvCXbn
|
|
|
357
360
|
invenio_app_ils/series/jsonresolvers/series_relations.py,sha256=-QhlHVl93TddK6tsqxyYb3xvp3ISRA9dHa-qz_ZTFW4,1097
|
|
358
361
|
invenio_app_ils/series/loaders/__init__.py,sha256=2tEAlF_GRq-2-eLXd8e8w4e19iBBZs98E3_nwPQiqlY,404
|
|
359
362
|
invenio_app_ils/series/loaders/jsonschemas/__init__.py,sha256=h5J1d56DTizrKCfQHHO7d8OH0tno3hb_-dtaKkB63_Y,236
|
|
360
|
-
invenio_app_ils/series/loaders/jsonschemas/series.py,sha256=
|
|
363
|
+
invenio_app_ils/series/loaders/jsonschemas/series.py,sha256=3tSz2SEboRz7zUXRaZBYBaiqIoSftE2ztqEd2c5Vacw,4115
|
|
361
364
|
invenio_app_ils/series/mappings/__init__.py,sha256=A7EmmTOx0yXlMkeimLxvL5xTlwBy3ogbNVRXU8E7bF8,236
|
|
362
365
|
invenio_app_ils/series/mappings/os-v1/__init__.py,sha256=1Fny1TaeM8uc9Rwvw2bf94RvxEY067R5nP5Lz17UEGs,239
|
|
363
366
|
invenio_app_ils/series/mappings/os-v1/series/series-v1.0.0.json,sha256=YJLsKB5xjk2IIX8V39tp-1W03r3Vq96c7Ubr_fk1AWA,6919
|
|
@@ -442,101 +445,10 @@ invenio_app_ils/vocabularies/sources/__init__.py,sha256=EMLoLQGiq9_qoZ4lKqO_J0u2
|
|
|
442
445
|
invenio_app_ils/vocabularies/sources/base.py,sha256=kmNg85cjrxqc8VErFP2SUtlyo1PnmzOBQgfoSpfTPh4,1418
|
|
443
446
|
invenio_app_ils/vocabularies/sources/json.py,sha256=KGLTJ4AX8zEDdkpi3v92oHGs-h2dUzHbNPSg99-j8o0,1021
|
|
444
447
|
invenio_app_ils/vocabularies/sources/opendefinition.py,sha256=9zbRXuTr0i5lVLt596oUhsLQPiJVf9jiM9-C7T6zbXA,2151
|
|
445
|
-
invenio_app_ils-
|
|
446
|
-
invenio_app_ils-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
tests/api/__init__.py,sha256=8DRFAA91hogOT7CFRMStOyRGbX5yy75XTDIx21QepuY,223
|
|
453
|
-
tests/api/conftest.py,sha256=RDlwd1w1FwJeAtgVgiko1PTgtacYz-qWbpxxMl2OSLM,7014
|
|
454
|
-
tests/api/acquisition/__init__.py,sha256=hiIyAteuME7mZtx8IAKA_aZAVIReSCi0Ry9cOwleFcw,227
|
|
455
|
-
tests/api/acquisition/test_acq_orders_crud.py,sha256=9a5dEjo7nEfWmgi5YqyiXFUf4UBU6THwtrLwGZ19LYY,3112
|
|
456
|
-
tests/api/acquisition/test_acq_orders_permissions.py,sha256=NiwIpYvM-prVlm7Rowo6H42AKRDogB6IAJxPMYsPO9o,3621
|
|
457
|
-
tests/api/acquisition/test_acq_providers_permissions.py,sha256=aVshFVUuKwUfjRZgD5L81MBNYLTCKuxj0w3GcLCbIWc,3007
|
|
458
|
-
tests/api/circulation/__init__.py,sha256=AWnR9VZzm4IiO97eKJNn1LLtQJ1sRgjgrxChJ1Wxsuw,235
|
|
459
|
-
tests/api/circulation/test_expired_loans.py,sha256=nVGu1H7G8KlPGatx_YG2NCEYpeniZnGkwL4gsg_uyp8,2798
|
|
460
|
-
tests/api/circulation/test_loan_bulk_extend.py,sha256=jDYYyPXn5p6yn55pUVp4ivVSh9GcCvU5C-P8OlubMto,5606
|
|
461
|
-
tests/api/circulation/test_loan_checkout.py,sha256=OFJI57lJZPzheJGuIiCukTzzkZePO2lrlphGlXKJT38,17512
|
|
462
|
-
tests/api/circulation/test_loan_default_durations.py,sha256=SWQmAJwe5GSoji1Hibx6DjGorJQZ2tYfiHPkuPZKTJo,1681
|
|
463
|
-
tests/api/circulation/test_loan_document_resolver.py,sha256=ZNu-otdQ8398ksTV2XdgpK3WcbeR8-X-qaRnlPM2_6w,556
|
|
464
|
-
tests/api/circulation/test_loan_extend.py,sha256=vkpyss5XkzeHVuGUXU8eOlF9J4esSjrVr5oNx-nXqEU,4158
|
|
465
|
-
tests/api/circulation/test_loan_item_permissions.py,sha256=UTFtxdVUzTk2cWGow5zvOgZdK8Fh7AO3imxYnWN4f6E,4950
|
|
466
|
-
tests/api/circulation/test_loan_item_resolver.py,sha256=qVuZ8sBpt2RsmVAI4la7WadOX3qwfYFBc1az7XVtv3c,811
|
|
467
|
-
tests/api/circulation/test_loan_list_permissions.py,sha256=eDZjvQcR3-yZoe8GsEgJ8j6wfGB5b3JinxRHzgXnpKs,3411
|
|
468
|
-
tests/api/circulation/test_loan_patron_resolver.py,sha256=zY5uygwzhhTnoW7yjpGuM9p9CTBNwoTz2gX4xg8nc9k,1338
|
|
469
|
-
tests/api/circulation/test_loan_request.py,sha256=tn5Msjpsd2J95QCB0320asFrlJYpFlAmVIFT1MUkHQg,13696
|
|
470
|
-
tests/api/circulation/test_loan_update.py,sha256=XeqaiYG4Ki2WWlMbNg7X2-nlYhs5Zv-HrDMTQSJ1g6M,4486
|
|
471
|
-
tests/api/circulation/test_notifications.py,sha256=WAgspqWG3jQLaxUXXgnrxtlrhTyNugOTnV9M4etKgMU,7077
|
|
472
|
-
tests/api/document_requests/__init__.py,sha256=r6vkbb0VGw0pviRTDzijKv6kq-gdPRfvlMXBrCgcFm0,241
|
|
473
|
-
tests/api/document_requests/test_document_requests.py,sha256=7If89ye4OiOLfkhh5_NlDyeOKK3J-OeIhZrIMgDRs5A,3721
|
|
474
|
-
tests/api/document_requests/test_document_requests_permissions.py,sha256=ZQyUzMndY1Ydchc0nv8s1R3wrpDXVhXjH1RoakeiaVg,5195
|
|
475
|
-
tests/api/document_requests/test_notifications_filter.py,sha256=6ub_YWlrfWs74BRLYhYhOSJG7tory-v5AOi3yhiBGa0,1270
|
|
476
|
-
tests/api/ill/__init__.py,sha256=hiIyAteuME7mZtx8IAKA_aZAVIReSCi0Ry9cOwleFcw,227
|
|
477
|
-
tests/api/ill/test_ill_brw_crud.py,sha256=Sn4bGM3abb9QqVp-ZrWvZOgbLUezvDezGw700P8tTuA,2771
|
|
478
|
-
tests/api/ill/test_ill_brw_reqs_patron_loan_create_action.py,sha256=zj2MuzDNtDDlMi_gRndGNwADVSglu1Lq0gDAEBkrzYQ,6921
|
|
479
|
-
tests/api/ill/test_ill_brw_reqs_patron_loan_extension_actions.py,sha256=i6YTygIWN3c0_RSKPo9DZeEKIj3TysMULwgsVO7ZBHU,10423
|
|
480
|
-
tests/api/ill/test_ill_brw_reqs_permissions.py,sha256=TieXwf8LEp90wV4v4578UlBlcomWZh4IAzmEM62nVd4,5754
|
|
481
|
-
tests/api/ill/test_ill_providers_permissions.py,sha256=q07t8RQEQ_68H4n01r3lWoNyuN4sJcsMq6KkHCukrwI,2900
|
|
482
|
-
tests/api/ils/__init__.py,sha256=9wpf3d3iO-AJ7rNFlnBciyU8QHD7RUp6ShxjZ8s4Gks,227
|
|
483
|
-
tests/api/ils/test_anonymization.py,sha256=dnWioSC-598zH9-jeH3IxyWOJLVw3M6L7SnICJM3mMU,6650
|
|
484
|
-
tests/api/ils/test_apis.py,sha256=2fqYcl6X8V5C8YpNqoVAwpHQH3SrerGZNcgwbanHmH4,2680
|
|
485
|
-
tests/api/ils/test_closures.py,sha256=o5WtrC9R88XAJYbvq76-3mhfL_SZhZ7yk7HObsX4XCc,11250
|
|
486
|
-
tests/api/ils/test_errors.py,sha256=8_cVOU5K2jneUrYRGz4-6IyZUNIPoh92hNqA1er-ync,4313
|
|
487
|
-
tests/api/ils/test_facets.py,sha256=ffig7FH6mnjaRoL1yELL2X06Q9yp3elmpkvtK6oLdo0,2766
|
|
488
|
-
tests/api/ils/test_internal_locations.py,sha256=MdSEjloixYIUWdIvc-1vcLbPXClWrzVunpqCqJ81LLY,3517
|
|
489
|
-
tests/api/ils/test_loaders.py,sha256=5sxzbiOrdOTAv375OvlR9okisYiGyzo6lBeHaspB_tc,1771
|
|
490
|
-
tests/api/ils/test_metadata_extensions.py,sha256=b6Ez_Rweo-iQAPsaAl-fKTD-PC7B4XarIXvcsI8VxCw,7240
|
|
491
|
-
tests/api/ils/test_notifications.py,sha256=Ue5mkDqaI3PhBP7hN3xwtGYjEwWH-sQii2VDSiXlGus,6200
|
|
492
|
-
tests/api/ils/test_notifications_mails.py,sha256=IxAwEYyuvHiG-RAwVij0s6X7nua_PFAhdL45M5v7hLw,1408
|
|
493
|
-
tests/api/ils/test_notifications_permissions.py,sha256=hmvdtp6rYJ6KfoC-A54Y2qIHUHnhBAkQ9KHqHdY_JV8,1704
|
|
494
|
-
tests/api/ils/test_patrons.py,sha256=dG4DZHseJA12e4LxrtJHqiA8s5561SkVURCv3X393JQ,2790
|
|
495
|
-
tests/api/ils/test_record_delete.py,sha256=mcavTZJ3D53GQ9MdOP1RYzJSkltw3zsJIqTYx1mFtAk,1420
|
|
496
|
-
tests/api/ils/test_record_permissions.py,sha256=3jttJh0L1WY7rWXC-qozqaHvjCop53pp2b2CN2iICag,4528
|
|
497
|
-
tests/api/ils/test_resolvers.py,sha256=MWYmOz2b5o3wz5n_UxGLw_PTmRfduB27RREb-5S2e0Q,6901
|
|
498
|
-
tests/api/ils/test_stats.py,sha256=TVflVq79SvclI46N7dSjKPef5DhkTMYWDrB8tBjqeYk,4490
|
|
499
|
-
tests/api/ils/test_tasks.py,sha256=E-n6-98V300JKv688r0DzMImVa2aq9YSCE6VWaaTtW8,6451
|
|
500
|
-
tests/api/ils/test_vocabularies.py,sha256=duA49oMO6PwrJLhZzn3JPVldZxsiNRKneyCbdB6D0o0,940
|
|
501
|
-
tests/api/ils/documents/__init__.py,sha256=CxEGbuP1gwA1Ns45zSFIJssfc7pGDQXLtWRep2jb6tk,232
|
|
502
|
-
tests/api/ils/documents/test_document_crud.py,sha256=bK1o1Ktd3ExRo0z0C5FGgGBPcFLQab3LxkuoXhA9uZc,1637
|
|
503
|
-
tests/api/ils/documents/test_document_permissions.py,sha256=qYx9YG7H95qg2cLkNjRi6q_b1xAxEWC01Y7GNkGng0U,4056
|
|
504
|
-
tests/api/ils/documents/test_document_resolvers.py,sha256=iPP7h0iwUU947S0IFLIfHScPjEOFnZDN8b8BLBhQJu4,1168
|
|
505
|
-
tests/api/ils/eitems/__init__.py,sha256=ZH6WTjrYgJMpMEw8xQZblzp5iiHaHEdSJN966Gdrj30,230
|
|
506
|
-
tests/api/ils/eitems/test_eitems_crud.py,sha256=dVTSNShYKgBZybYPbFFkFN3X4R-f818Wmq37HJDgl-U,1205
|
|
507
|
-
tests/api/ils/eitems/test_eitems_permissions.py,sha256=__AlVOpr6Q36xOIiISGTFqAJTDvU5hJzfVUgAsGdY0c,2865
|
|
508
|
-
tests/api/ils/eitems/test_files.py,sha256=KnzvSYo1HqnFCexXkcKZmmvr_9e4fcABc2D-dE5blK8,4625
|
|
509
|
-
tests/api/ils/items/__init__.py,sha256=oc7OKnwhkZsi7f8mMAoWhwBFQTHVYeDSAWFVLBXQuEs,229
|
|
510
|
-
tests/api/ils/items/test_apis.py,sha256=hLD8RCEkGYld7af_JwDFAIL69x8Rin_kElLpqjDn-KE,1366
|
|
511
|
-
tests/api/ils/items/test_items_crud.py,sha256=HB3vV5PZWTA1ugumVh7ej9RobRhX1Xf6qIfVRLred7k,3221
|
|
512
|
-
tests/api/ils/items/test_items_permissions.py,sha256=HE-yYAc6_fza_JXpvTzjcjA9341iAKevJKBoh99jbbw,3757
|
|
513
|
-
tests/api/ils/records_relations/__init__.py,sha256=VxNqRmCl2IBDm6PFgG_q_CfFMwFKojB9QtiB-LBONfo,241
|
|
514
|
-
tests/api/ils/records_relations/helpers.py,sha256=lm2dQdACxYuU2ro-ymA0OtqiKYYldwax8kRmYiqxuWM,3875
|
|
515
|
-
tests/api/ils/records_relations/test_records_relations_parentchild.py,sha256=vY5gr8L0nrdlvbGKM_wYSD6Vtp4L0QiZoP3YIlwxisA,17969
|
|
516
|
-
tests/api/ils/records_relations/test_records_relations_sequence.py,sha256=Nukf1JJbJN7DTBPn3sOulw5euoRY6Xnih1BBJWMUhx0,9896
|
|
517
|
-
tests/api/ils/records_relations/test_records_relations_siblings.py,sha256=2Zhnl59gSfqpxsg-6gAzrIcoO1kUvJ0Q4pDCptSuc-U,29301
|
|
518
|
-
tests/api/ils/series/__init__.py,sha256=pp0jjTVJBLBI0uTIknzjQIpiZ9aZ0OZKwoA6T9_bhVM,230
|
|
519
|
-
tests/api/ils/series/test_series_permissions.py,sha256=Nn3dcbmgPpcIcZiBmFYHOeTKCG6r1XMfQaY4O4q2HAE,3179
|
|
520
|
-
tests/data/acq_orders.json,sha256=O7c9LZ6EGw_FLVZDptHOnQ2eRUcVxfteS-Db6_5raE4,2320
|
|
521
|
-
tests/data/acq_providers.json,sha256=9trnGUm13TgKDZTTWMBXReJ0dKNY2tREi-kNoftIQbI,163
|
|
522
|
-
tests/data/document_requests.json,sha256=pfQN0b1l3PvhDcjWD__-Ze1zp3-gmfeNbej9CZIkZus,1582
|
|
523
|
-
tests/data/documents.json,sha256=UKKlySZk6nqM4Y7n57e6p02YyxePMbov6b0540lPk7g,8416
|
|
524
|
-
tests/data/eitems.json,sha256=2qwmHZkTf718Jizmk7YAO1v_8gs4yOm4dytzmvD-asQ,2122
|
|
525
|
-
tests/data/ill_borrowing_requests.json,sha256=XG3xQnBizpeXrgUsNHphqLA7wQKEYEdLbkYwTZdqOIM,1603
|
|
526
|
-
tests/data/ill_providers.json,sha256=M1NPVcjyP3_3r4Ynrltf5ZJ8QReBVHzV2fYSVUmj5Nc,169
|
|
527
|
-
tests/data/internal_locations.json,sha256=CMXYQ98d9Hhu7YnaQoxrUGAoyIe43kTikE3CIhXPq9E,396
|
|
528
|
-
tests/data/items.json,sha256=JMz2ojY79t0_x_55Mjt4BEL2LP1KOj82jXx6o-vCvm4,8849
|
|
529
|
-
tests/data/loans.json,sha256=xVTnEc9IuJdu0Fspd0HDNHM8ZO26lir3EEkwaAvTGIM,3668
|
|
530
|
-
tests/data/loans_most_loaned.json,sha256=ut1bOCFHCShPv_HotAjVV59gfwNfjpxEahyPCOZmQgY,3039
|
|
531
|
-
tests/data/locations.json,sha256=2-xvSY4x8MJsDzlK-aleXaJw6mPMaQe7rJqwX1YqxfM,1637
|
|
532
|
-
tests/data/series.json,sha256=Jg73oj4u-CdkrY8uWyhXREEHsO1OurrsXZqX9keMACY,1128
|
|
533
|
-
tests/templates/notifications/blank.html,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
534
|
-
tests/templates/notifications/title_body.html,sha256=W-pa6eSm7glK9JEcTVo4G7yC3Q1ybDTs2w6TnkMm65o,96
|
|
535
|
-
tests/templates/notifications/title_body_html.html,sha256=wPDP-DpQ0c2AX3oIfLvJLRp7J_rMoesIc9nLx3apkDc,146
|
|
536
|
-
tests/templates/notifications/title_body_html_ctx.html,sha256=qqfTZ9zKVXFqyXIcqt5BLHEJptRlUDPBPtLxPfTmNzQ,193
|
|
537
|
-
tests/templates/notifications/title_only.html,sha256=aoZ0veSleRYdKPXWgN6fdXLaz3r-KAPzdfHSuHPR2Uo,45
|
|
538
|
-
invenio_app_ils-4.5.0.dist-info/METADATA,sha256=GiTij7n__fnC2H4vz4pUnuwvUh3lIiEblB88lR8DZv4,16771
|
|
539
|
-
invenio_app_ils-4.5.0.dist-info/WHEEL,sha256=JNWh1Fm1UdwIQV075glCn4MVuCRs0sotJIq-J6rbxCU,109
|
|
540
|
-
invenio_app_ils-4.5.0.dist-info/entry_points.txt,sha256=iBVLFVqDZl-jiWvOfKldxDq9xsrbmI8GZhWhqsj8Ba0,7678
|
|
541
|
-
invenio_app_ils-4.5.0.dist-info/top_level.txt,sha256=MQTU2NrM0if5YAyIsKmQ0k35skJ3IUyQT7eCD2IWiNQ,22
|
|
542
|
-
invenio_app_ils-4.5.0.dist-info/RECORD,,
|
|
448
|
+
invenio_app_ils-5.0.0.dist-info/licenses/AUTHORS.rst,sha256=BaXCGzdHCmiMOl4qtVlh1qrfy2ROMVOQp6ylzy1m0ww,212
|
|
449
|
+
invenio_app_ils-5.0.0.dist-info/licenses/LICENSE,sha256=9OdaPOAO1ZOJcRQ8BrGj7QAdaJc8SRSUgBtdom49MrI,1062
|
|
450
|
+
invenio_app_ils-5.0.0.dist-info/METADATA,sha256=ZQuaP8QWhOZmJJAP-LZZyuDlBSNISG4L8LRyIAKkAKk,17200
|
|
451
|
+
invenio_app_ils-5.0.0.dist-info/WHEEL,sha256=JNWh1Fm1UdwIQV075glCn4MVuCRs0sotJIq-J6rbxCU,109
|
|
452
|
+
invenio_app_ils-5.0.0.dist-info/entry_points.txt,sha256=ZEvfljno2NHfHnvsXSV5ddqa70ftZIvk1a3hVxG9ya4,7758
|
|
453
|
+
invenio_app_ils-5.0.0.dist-info/top_level.txt,sha256=p-lnzfSHaDER0BHbQvDV6dvUW7_Q0prMDFaqPhBSK50,16
|
|
454
|
+
invenio_app_ils-5.0.0.dist-info/RECORD,,
|
|
@@ -15,6 +15,9 @@ backoffice_access_action = invenio_app_ils.permissions:backoffice_access_action
|
|
|
15
15
|
[invenio_admin.views]
|
|
16
16
|
ils_notifications_logs_view = invenio_app_ils.notifications.admin:notifications_logs
|
|
17
17
|
|
|
18
|
+
[invenio_assets.webpack]
|
|
19
|
+
invenio_app_ils_theme = invenio_app_ils.webpack:theme
|
|
20
|
+
|
|
18
21
|
[invenio_base.api_apps]
|
|
19
22
|
ils_acquisition = invenio_app_ils.acquisition.ext:InvenioIlsAcquisition
|
|
20
23
|
ils_ill = invenio_app_ils.ill.ext:InvenioIlsIll
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
# Copyright (C) 2021 CERN.
|
|
2
|
-
#
|
|
3
|
-
# invenio-app-ils is free software; you can redistribute it and/or modify it
|
|
4
|
-
# under the terms of the MIT License; see LICENSE file for more details.
|
|
5
|
-
|
|
6
|
-
"""Admin panel for sent notifications."""
|
|
7
|
-
|
|
8
|
-
from flask import Blueprint
|
|
9
|
-
from flask_admin.contrib.sqla import ModelView
|
|
10
|
-
from invenio_i18n import gettext as _
|
|
11
|
-
|
|
12
|
-
from invenio_app_ils.notifications.models import NotificationsLogs
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
class NotificationsLogsModelView(ModelView):
|
|
16
|
-
"""Invenio admin view for sent notifications."""
|
|
17
|
-
|
|
18
|
-
column_list = (
|
|
19
|
-
"id",
|
|
20
|
-
"is_manually_triggered",
|
|
21
|
-
"recipient_user_id",
|
|
22
|
-
"triggered_on",
|
|
23
|
-
"send_log",
|
|
24
|
-
"message_id",
|
|
25
|
-
"action",
|
|
26
|
-
"pid_type",
|
|
27
|
-
"pid_value",
|
|
28
|
-
)
|
|
29
|
-
|
|
30
|
-
# Entries are read-only
|
|
31
|
-
can_create = False
|
|
32
|
-
can_edit = False
|
|
33
|
-
can_delete = False
|
|
34
|
-
|
|
35
|
-
can_view_details = True
|
|
36
|
-
|
|
37
|
-
form_excluded_columns = NotificationsLogs.__table__.columns
|
|
38
|
-
column_default_sort = (NotificationsLogs.triggered_on, True)
|
|
39
|
-
|
|
40
|
-
column_filters = column_list
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
blueprint = Blueprint(
|
|
44
|
-
"ils_admin",
|
|
45
|
-
__name__,
|
|
46
|
-
template_folder="templates",
|
|
47
|
-
static_folder="static",
|
|
48
|
-
)
|
|
49
|
-
|
|
50
|
-
notifications_logs = {
|
|
51
|
-
"model": NotificationsLogs,
|
|
52
|
-
"modelview": NotificationsLogsModelView,
|
|
53
|
-
"name": "Notifications Logs",
|
|
54
|
-
"category": _("User Management"),
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
__all__ = ("notifications_logs",)
|
tests/__init__.py
DELETED
tests/api/__init__.py
DELETED
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
#
|
|
3
|
-
# Copyright (C) 2021 CERN.
|
|
4
|
-
#
|
|
5
|
-
# Invenio-Circulation is free software; you can redistribute it and/or modify
|
|
6
|
-
# it under the terms of the MIT License; see LICENSE file for more details.
|
|
7
|
-
|
|
8
|
-
"""Tests orders CRUD."""
|
|
9
|
-
|
|
10
|
-
from copy import deepcopy
|
|
11
|
-
from datetime import datetime
|
|
12
|
-
|
|
13
|
-
import pytest
|
|
14
|
-
|
|
15
|
-
from invenio_app_ils.acquisition.api import Order
|
|
16
|
-
from invenio_app_ils.acquisition.errors import AcquisitionError
|
|
17
|
-
from invenio_app_ils.errors import DocumentNotFoundError, PatronNotFoundError
|
|
18
|
-
from invenio_app_ils.providers.errors import ProviderNotFoundError
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
def _assert_extra_fields(order):
|
|
22
|
-
"""Test that extra fields are automatically added."""
|
|
23
|
-
assert "$schema" in order
|
|
24
|
-
assert "provider" in order and "$ref" in order["provider"]
|
|
25
|
-
assert "resolved_order_lines" in order and "$ref" in order["resolved_order_lines"]
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
def _assert_refs_values(order):
|
|
29
|
-
"""Test that refs are replaced correctly"""
|
|
30
|
-
assert "provider" in order and order["provider"]["name"]
|
|
31
|
-
for order_line in order["resolved_order_lines"]:
|
|
32
|
-
assert "document" in order_line and order_line["document"]["title"]
|
|
33
|
-
assert "patron" in order_line and order_line["patron"]["name"]
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
def test_order_refs(app, testdata):
|
|
37
|
-
"""Test creation of an order."""
|
|
38
|
-
order = Order.create(
|
|
39
|
-
dict(
|
|
40
|
-
pid="acqoid-99",
|
|
41
|
-
order_date=datetime.now().isoformat(),
|
|
42
|
-
status="ORDERED",
|
|
43
|
-
provider_pid="acq-provid-1",
|
|
44
|
-
order_lines=[
|
|
45
|
-
dict(
|
|
46
|
-
document_pid="docid-3",
|
|
47
|
-
recipient="PATRON",
|
|
48
|
-
patron_pid="1",
|
|
49
|
-
medium="PAPER",
|
|
50
|
-
copies_ordered=2,
|
|
51
|
-
)
|
|
52
|
-
],
|
|
53
|
-
)
|
|
54
|
-
)
|
|
55
|
-
_assert_extra_fields(order)
|
|
56
|
-
|
|
57
|
-
order = Order.get_record_by_pid("acqoid-6")
|
|
58
|
-
order = order.replace_refs()
|
|
59
|
-
_assert_refs_values(order)
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
def test_acq_order_validation(db, testdata):
|
|
63
|
-
"""Test validation when updating an order."""
|
|
64
|
-
order_pid = testdata["acq_orders"][0]["pid"]
|
|
65
|
-
orginal_order = Order.get_record_by_pid(order_pid)
|
|
66
|
-
|
|
67
|
-
# add cancel reason without status CANCELLED
|
|
68
|
-
order = deepcopy(orginal_order)
|
|
69
|
-
order["cancel_reason"] = "A reason to cancel"
|
|
70
|
-
with pytest.raises(AcquisitionError):
|
|
71
|
-
order.commit()
|
|
72
|
-
|
|
73
|
-
# update status to CANCELLED without cancel_reason
|
|
74
|
-
order = deepcopy(orginal_order)
|
|
75
|
-
order["status"] = "CANCELLED"
|
|
76
|
-
with pytest.raises(AcquisitionError):
|
|
77
|
-
order.commit()
|
|
78
|
-
|
|
79
|
-
# change provider pid
|
|
80
|
-
order = deepcopy(orginal_order)
|
|
81
|
-
order["provider_pid"] = "not-existing"
|
|
82
|
-
with pytest.raises(ProviderNotFoundError):
|
|
83
|
-
order.commit()
|
|
84
|
-
|
|
85
|
-
order = deepcopy(orginal_order)
|
|
86
|
-
first_order_line = order["order_lines"][0]
|
|
87
|
-
|
|
88
|
-
# change document pid
|
|
89
|
-
first_order_line["document_pid"] = "not_found_doc"
|
|
90
|
-
with pytest.raises(DocumentNotFoundError):
|
|
91
|
-
order.commit()
|
|
92
|
-
|
|
93
|
-
order = deepcopy(orginal_order)
|
|
94
|
-
first_order_line = order["order_lines"][0]
|
|
95
|
-
|
|
96
|
-
# change patron pid
|
|
97
|
-
first_order_line["patron_pid"] = "99999"
|
|
98
|
-
with pytest.raises(PatronNotFoundError):
|
|
99
|
-
order.commit()
|