invenio-app-rdm 13.0.0b2.dev10__py2.py3-none-any.whl → 13.0.0b2.dev12__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.
@@ -17,6 +17,6 @@
17
17
  #
18
18
  # See PEP 0440 for details - https://www.python.org/dev/peps/pep-0440
19
19
 
20
- __version__ = "13.0.0b2.dev10"
20
+ __version__ = "13.0.0b2.dev12"
21
21
 
22
22
  __all__ = ("__version__",)
@@ -74,7 +74,7 @@
74
74
  aria-controls="checks-tab-panel"
75
75
  id="checks-tab"
76
76
  >
77
- {% include "invenio_checks/requests/title.html" %}
77
+ <i class="{% include 'invenio_checks/requests/overall_severity_level.html' %}"></i> {{ _("Checks") }}
78
78
  </a>
79
79
  {% endif %}
80
80
  </div>
@@ -197,13 +197,12 @@ def _resolve_checks(record, request, community=None):
197
197
  communities.append(community.id)
198
198
 
199
199
  # Resolve the record UUID
200
+ record_pid = record["id"]
200
201
  if is_record_inclusion:
201
- record_uuid = current_rdm_records_service.record_cls.pid.resolve(
202
- record["id"]
203
- ).id
202
+ record_uuid = current_rdm_records_service.record_cls.pid.resolve(record_pid).id
204
203
  else:
205
204
  record_uuid = current_rdm_records_service.draft_cls.pid.resolve(
206
- record["id"], registered_only=False
205
+ record_pid, registered_only=False
207
206
  ).id
208
207
 
209
208
  # Early exit if no check config found for the communities
@@ -255,7 +254,7 @@ def user_dashboard_request_view(request, **kwargs):
255
254
  record_ui = topic["record_ui"]
256
255
  record = topic["record"]
257
256
  is_draft = record_ui["is_draft"] if record_ui else False
258
- checks = _resolve_checks(record, request)
257
+ checks = _resolve_checks(record_ui, request)
259
258
 
260
259
  files = _resolve_record_or_draft_files(record_ui, request)
261
260
  media_files = _resolve_record_or_draft_media_files(record_ui, request)
@@ -334,7 +333,7 @@ def community_dashboard_request_view(request, community, community_ui, **kwargs)
334
333
  record_ui = topic["record_ui"]
335
334
  record = topic["record"]
336
335
  is_draft = record_ui["is_draft"] if record_ui else False
337
- checks = _resolve_checks(record, request, community)
336
+ checks = _resolve_checks(record_ui, request, community)
338
337
 
339
338
  permissions.update(topic["permissions"])
340
339
  files = _resolve_record_or_draft_files(record_ui, request)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: invenio-app-rdm
3
- Version: 13.0.0b2.dev10
3
+ Version: 13.0.0b2.dev12
4
4
  Summary: Invenio Research Data Management.
5
5
  Home-page: https://github.com/inveniosoftware/invenio-app-rdm
6
6
  Author: CERN
@@ -97,6 +97,14 @@ https://inveniordm.docs.cern.ch
97
97
  Changes
98
98
  =======
99
99
 
100
+ Version v13.0.0b2.dev12 (released 2025-03-27)
101
+
102
+ - checks: add checks tab to requests (fix record ID retrieval)
103
+
104
+ Version v13.0.0b2.dev11 (released 2025-03-26)
105
+
106
+ - checks: add checks tab to requests (fix template inclusion)
107
+
100
108
  Version v13.0.0b2.dev10 (released 2025-03-26)
101
109
 
102
110
  - checks: add checks tab to requests
@@ -1,4 +1,4 @@
1
- invenio_app_rdm/__init__.py,sha256=3pnwudT7aV7d7sjgZCafdQsNDf6FE0SGZriGkEUGEU4,700
1
+ invenio_app_rdm/__init__.py,sha256=XetAYGL6hzOpgJS2Rwnou7awFxcglRdgtV7Lpxx7Luo,700
2
2
  invenio_app_rdm/cli.py,sha256=G6QqNU2W6n6ICtTMnpeKFXIsdorncDmVXwwwsGH5F2k,2746
3
3
  invenio_app_rdm/config.py,sha256=aQHeG7QxiKx01eDi1Xo7hsOfyAfe_yb8SNrq-CDOYag,50448
4
4
  invenio_app_rdm/ext.py,sha256=PkZhATGJDgYqBJQh41NdvBZWR83mgI3Eej6rj10UVJE,5278
@@ -91,14 +91,14 @@ invenio_app_rdm/requests_ui/__init__.py,sha256=wc2y0djrYmH9_vUq39P0IWW6R63FVXfKH
91
91
  invenio_app_rdm/requests_ui/templates/semantic-ui/invenio_requests/community-inclusion/index.html,sha256=wcJC7ZG4hznfVEEe_ydmsb1UNNTIWvUbLFhY35k-VQs,389
92
92
  invenio_app_rdm/requests_ui/templates/semantic-ui/invenio_requests/community-invitation/community_dashboard.html,sha256=3soWIke5l4eRAmZw2UeW6wu-AcT6ms4K_9U6DIYxMmw,1153
93
93
  invenio_app_rdm/requests_ui/templates/semantic-ui/invenio_requests/community-invitation/user_dashboard.html,sha256=ppUbbIROa_zED4WFTB6qqRbbJxewzjc6wKDzKhVglak,778
94
- invenio_app_rdm/requests_ui/templates/semantic-ui/invenio_requests/community-submission/index.html,sha256=VuCP7BF71g0KDYkAqlFR0UTaYUYXhuWd1LxmBzW7xhw,3389
94
+ invenio_app_rdm/requests_ui/templates/semantic-ui/invenio_requests/community-submission/index.html,sha256=yQEeia0kjMtYHaeHXgjVkkDQ6D0a2nMky8HvgI38TWw,3440
95
95
  invenio_app_rdm/requests_ui/templates/semantic-ui/invenio_requests/guest-access-request/index.html,sha256=Ywy6XPMdtWBxMN8guLfO59v8UzjdT2VolNYHAVM50l8,1958
96
96
  invenio_app_rdm/requests_ui/templates/semantic-ui/invenio_requests/macros/request_header.html,sha256=Iado6BmcFFswmvQ9IrdtgSyAzJr5AIT2BP2IDg-B-8U,2695
97
97
  invenio_app_rdm/requests_ui/templates/semantic-ui/invenio_requests/subcommunity/index.html,sha256=eEYjTnVL-L30Dm_1LvSNKSx3QEHRoxMGHLupvu_1nMM,1453
98
98
  invenio_app_rdm/requests_ui/templates/semantic-ui/invenio_requests/subcommunity-invitation/index.html,sha256=347Saf8Fv78uevCbK2nFiOtNFUT0QyZSZS7lgoNzHdQ,1448
99
99
  invenio_app_rdm/requests_ui/templates/semantic-ui/invenio_requests/user-access-request/index.html,sha256=ltSP9sYPnpmCKMDYpZYU25Wxr3Dfqe2RNDxm6bVjX_I,1779
100
100
  invenio_app_rdm/requests_ui/views/__init__.py,sha256=7QiAyRq8Eu84IXwjzxK63vNeTZnowZ5P85xtw7XgRjs,397
101
- invenio_app_rdm/requests_ui/views/requests.py,sha256=aL2I5imforii7OHQESMQcrYGxEFebCNKHQnrz4J9yH0,15683
101
+ invenio_app_rdm/requests_ui/views/requests.py,sha256=27QPF10j8pgnLmHujnpYuQscF70rI9EKkDuol-F1jE8,15693
102
102
  invenio_app_rdm/requests_ui/views/ui.py,sha256=DBysYQa__gOCg-pikO6HmoVLmRmMAVWeTBiYhPa7PmA,2359
103
103
  invenio_app_rdm/theme/__init__.py,sha256=QbkxNjjOmGKRlie96HfTXgnFeVQjOX0GdiZnHP7pIhs,277
104
104
  invenio_app_rdm/theme/views.py,sha256=UJs2_C28BWsXY1JqbRK4_ML1JRtGo1yM2S0_W37JJo4,4545
@@ -524,7 +524,7 @@ invenio_app_rdm/users_ui/views/__init__.py,sha256=SMdY2NJj9GICfr3Xuok7qdNYVtA2bJ
524
524
  invenio_app_rdm/users_ui/views/dashboard.py,sha256=iUn2PrODAwb8ugmMosJKAjPhUzjCiWiAWoXQr9RUFuc,1793
525
525
  invenio_app_rdm/users_ui/views/ui.py,sha256=W_eXM8dLVIrNHQB2UEh37C9BYoHauft6RyvcDNFHovA,1742
526
526
  invenio_app_rdm/utils/files.py,sha256=CruDyO2gDVadSlWEJD-WHpWHeOQ0juh-Ei9jz3D9yjc,3923
527
- invenio_app_rdm-13.0.0b2.dev10.dist-info/licenses/LICENSE,sha256=AZXFHRrZa5s4m9DV7zZr4bPGTMUvcEPCodeV_AmFI8k,1204
527
+ invenio_app_rdm-13.0.0b2.dev12.dist-info/licenses/LICENSE,sha256=AZXFHRrZa5s4m9DV7zZr4bPGTMUvcEPCodeV_AmFI8k,1204
528
528
  tests/__init__.py,sha256=yKVf0yYRuxmXvyAtLjmfpHGVCsEkZOhs_FojAAM_w-8,244
529
529
  tests/conftest.py,sha256=6iR-l-DIpQDxN2LLMu6kbHnLsmAW1m8Lq-j8rNNucf8,8956
530
530
  tests/test_tasks.py,sha256=6l25lcMjL3ZuQr4hsxbAEjSTu_J1aKkOB3ZXqOZZIy0,3712
@@ -557,8 +557,8 @@ tests/ui/test_filters.py,sha256=Q90wsJffjMVir7wNX8taGf2KZleLtPbXZXHLTkBpzLA,284
557
557
  tests/ui/test_signposting_ui.py,sha256=KCSjQlMD2VKlwQCyZYDwYjtVNL35x3u-ZC4ceD5y21w,3847
558
558
  tests/ui/test_static.py,sha256=vO3OQAOhrQESJifnQfM1pw7JYz3J874O8BAb7Cc_PPA,868
559
559
  tests/ui/test_stats_ui.py,sha256=LHa_0hjvpYvliSk_jknWy-90CO82jVElUfK5Ua_ZmfA,3554
560
- invenio_app_rdm-13.0.0b2.dev10.dist-info/METADATA,sha256=LaC3nBTqxcVDa0G8jg2ZsX9zt2lpVBlU82rv4zyQ2e8,11738
561
- invenio_app_rdm-13.0.0b2.dev10.dist-info/WHEEL,sha256=MAQBAzGbXNI3bUmkDsiV_duv8i-gcdnLzw7cfUFwqhU,109
562
- invenio_app_rdm-13.0.0b2.dev10.dist-info/entry_points.txt,sha256=r1vTqYNABeWqRMWitzyR9FnBsAy-KYZKZCp95IziyLY,2070
563
- invenio_app_rdm-13.0.0b2.dev10.dist-info/top_level.txt,sha256=NqTqrntInEAci7EXcNBvouXFMqwyjVQhEI0b7izYRBY,22
564
- invenio_app_rdm-13.0.0b2.dev10.dist-info/RECORD,,
560
+ invenio_app_rdm-13.0.0b2.dev12.dist-info/METADATA,sha256=R527v3kf8KBH24p6hYLTBVZe7TVEBXN94W2WcW9Dnfc,11959
561
+ invenio_app_rdm-13.0.0b2.dev12.dist-info/WHEEL,sha256=MAQBAzGbXNI3bUmkDsiV_duv8i-gcdnLzw7cfUFwqhU,109
562
+ invenio_app_rdm-13.0.0b2.dev12.dist-info/entry_points.txt,sha256=r1vTqYNABeWqRMWitzyR9FnBsAy-KYZKZCp95IziyLY,2070
563
+ invenio_app_rdm-13.0.0b2.dev12.dist-info/top_level.txt,sha256=NqTqrntInEAci7EXcNBvouXFMqwyjVQhEI0b7izYRBY,22
564
+ invenio_app_rdm-13.0.0b2.dev12.dist-info/RECORD,,