invenio-app-rdm 14.0.0b1.dev8__py2.py3-none-any.whl → 14.0.0b1.dev10__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__ = "14.0.0b1.dev8"
20
+ __version__ = "14.0.0b1.dev10"
21
21
 
22
22
  __all__ = ("__version__",)
@@ -51,7 +51,7 @@ class ModerationRequestListView(AdminResourceListView):
51
51
  search_sort_config_name = "APP_RDM_MODERATION_REQUEST_SORT_OPTIONS"
52
52
 
53
53
  item_field_list = {
54
- "type": {"text": _("Type"), "order": 1, "width": 3},
54
+ "title": {"text": _("Title"), "order": 1, "width": 3},
55
55
  "created": {"text": _("Created"), "order": 2, "width": 3},
56
56
  "last_reply": {"text": _("Last reply"), "order": 3, "width": 3},
57
57
  }
@@ -73,12 +73,13 @@
73
73
  {{ '(' ~ add_description.lang.title_l10n ~ ')' if add_description.lang is defined else '' }}
74
74
  </span>
75
75
  </h2>
76
+ {# additional description data is being sanitized by marshmallow in the backend #}
76
77
  {% if desc_type_defined and add_description.type.id == "notes" %}
77
78
  <div class="ui message warning">
78
- {{ desc_text | sanitize_html() | safe }}
79
+ {{ desc_text | safe }}
79
80
  </div>
80
81
  {% else %}
81
- {{ desc_text | sanitize_html() | safe }}
82
+ {{ desc_text | safe }}
82
83
  {% endif %}
83
84
  </section>
84
85
  {% endfor %}
@@ -39,7 +39,7 @@
39
39
  </p>
40
40
  {%- if record.ui.tombstone.deletion_policy %}
41
41
  <p>
42
- <strong>{{ _("Deletion Policy:") }}</strong> {{ record.ui.tombstone.deletion_policy }}
42
+ <strong>{{ _("Deletion policy:") }}</strong> {{ record.ui.tombstone.deletion_policy }}
43
43
  </p>
44
44
  {%- endif %}
45
45
  {%- if record.ui.tombstone.note %}
@@ -150,9 +150,7 @@ def evaluate_record_deletion(record: RDMRecord, identity):
150
150
  }
151
151
  record_deletion["existing_request"] = (
152
152
  # We show existing requests to valid users (even if they are not allowed to delete a record anymore).
153
- get_existing_deletion_request(record.pid.pid_value)
154
- if rd_valid_user
155
- else None
153
+ get_existing_deletion_request(record.pid.pid_value) if rd_valid_user else None
156
154
  )
157
155
 
158
156
  return record_deletion
@@ -30,9 +30,7 @@ class SearchResultItemComponent extends Component {
30
30
  className="word-break-all"
31
31
  >
32
32
  <a href={AdminUIRoutes.detailsView(listUIEndpoint, result, idKeyPath)}>
33
- {/* TODO we need a better way to get the (translatable) label of a request type
34
- https://github.com/inveniosoftware/invenio-requests/issues/414 */}
35
- {result.type === "record-deletion" && "Record deletion"}
33
+ {result.title}
36
34
  </a>
37
35
  </Table.Cell>
38
36
  <Table.Cell
@@ -43,7 +41,7 @@ class SearchResultItemComponent extends Component {
43
41
  <UserListItemCompact
44
42
  user={result.expanded.created_by}
45
43
  id={result.created_by.user}
46
- // TODO linkToDetailView= filter by user?
44
+ linkToDetailView={`/administration/requests?q=created_by.user:${result.created_by.user}`}
47
45
  />
48
46
  {toRelativeTime(result.created)}
49
47
  </Table.Cell>
@@ -19,7 +19,15 @@ export class FileModificationUntil extends Component {
19
19
  const isPublished = record.is_published;
20
20
  const filesUnlocked = !filesLocked;
21
21
  const daysUntil = fileModification.context?.days_until;
22
- if (isPublished && filesUnlocked && daysUntil) {
22
+ if (isPublished && filesUnlocked && daysUntil !== undefined) {
23
+ if (daysUntil <= 0) {
24
+ return (
25
+ <>
26
+ {" "}
27
+ {i18next.t("– You are past the allowed period to edit files.")}
28
+ </>
29
+ );
30
+ }
23
31
  return (
24
32
  <>
25
33
  {" "}
@@ -191,6 +191,9 @@ export class RDMDepositForm extends Component {
191
191
  includesPaths={this.sectionsConfig["files-section"]}
192
192
  severityChecks={this.severityChecks}
193
193
  active
194
+ // NOTE: This is needed because the `FormFeedbackSummary` component
195
+ // doesn't work when there are multiple elements under the `label` prop.
196
+ data-label={i18next.t("Files")}
194
197
  label={
195
198
  <>
196
199
  {i18next.t("Files")}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: invenio-app-rdm
3
- Version: 14.0.0b1.dev8
3
+ Version: 14.0.0b1.dev10
4
4
  Summary: Invenio Research Data Management.
5
5
  Home-page: https://github.com/inveniosoftware/invenio-app-rdm
6
6
  Author: CERN
@@ -101,6 +101,24 @@ https://inveniordm.docs.cern.ch
101
101
  Changes
102
102
  =======
103
103
 
104
+ Version v14.0.0b1.dev10 (released 2025-12-12)
105
+
106
+ - fix(deposit-ui): add explicit `data-label` for files section
107
+ * This is a fix for allowing for the `FormFeedbackSummary` to be able to
108
+ pick-up the correct "Files" label when reporting the error summary.
109
+ Getting the text from the original `label` attribute didn't work
110
+ because it has more than a single element/node, which caused the
111
+ section to show up as `[object Object]` on the error banner.
112
+ - fix(tombstone): use consistent casing for labels
113
+ - fix(deposit-ui): better display of expired file modification period
114
+
115
+ Version v14.0.0b1.dev9 (released 2025-11-24)
116
+
117
+ - details: fix: do not sanitize additional description in template
118
+ - admin: requests details view improvements
119
+ - Replace `Record deletion` by `Deletion request for "Record name"`
120
+ - Link showing all requests for a given user
121
+
104
122
  Version v14.0.0b1.dev8 (released 2025-11-21)
105
123
 
106
124
  - UI: add info message about remaining days to publish changes
@@ -1,4 +1,4 @@
1
- invenio_app_rdm/__init__.py,sha256=1LRYoFA2qiXX6ZNzaS6EHiIutaic-GcKHOt9D_IIfQ8,704
1
+ invenio_app_rdm/__init__.py,sha256=p8bwiEVQYgqb2mFPmrD4C4h3XB2PQ20O5pN5kvz4EVg,705
2
2
  invenio_app_rdm/cli.py,sha256=G6QqNU2W6n6ICtTMnpeKFXIsdorncDmVXwwwsGH5F2k,2746
3
3
  invenio_app_rdm/config.py,sha256=kxAliLtzXLRysO8qxWxoSt1FhOjuDfzUi8xr40BBIYE,53632
4
4
  invenio_app_rdm/ext.py,sha256=K7syn5CU5If7yOclFeNOCZX_u5q6VB7NJEQVm41mlng,5286
@@ -10,7 +10,7 @@ invenio_app_rdm/administration/audit_logs/audit_logs.py,sha256=6tZvqPKt54Hc8gL3L
10
10
  invenio_app_rdm/administration/domains/__init__.py,sha256=Qob5kqjRPxpuSE5yDV2tesN6tmaKp5JcxCxGA8Mrcak,487
11
11
  invenio_app_rdm/administration/domains/domains.py,sha256=vafLa-mqkg_tQLjx328E64P_4mksB5kjBlsfunvdatg,5599
12
12
  invenio_app_rdm/administration/moderation/__init__.py,sha256=5Jr_Kicz0xsybdyRr48amQDkLlalVbRz9Pq0zGrTqMg,404
13
- invenio_app_rdm/administration/moderation/requests.py,sha256=xzmhgGkWMMvKVaRzkDhQtwKCnjCzWMJjfCPtiiE81Rs,6262
13
+ invenio_app_rdm/administration/moderation/requests.py,sha256=tFa26P9hue2NIHw1HevWt_lm_8tD71X_yaAkPYt0TL4,6264
14
14
  invenio_app_rdm/administration/records/__init__.py,sha256=WpNHBm_Mk9FF8GzvrXWjL79URMSgBhpqgxvrLXNooqg,434
15
15
  invenio_app_rdm/administration/records/records.py,sha256=6nVyDwYLdipIDSnlXMRe6JuiIIo5CaVojeNJCOlTPjI,5371
16
16
  invenio_app_rdm/administration/templates/semantic-ui/invenio_app_rdm/administration/audit_logs.html,sha256=kLP3lfZiwLB8N-78_xINymnD8TIjGMzeJIO1a1zO130,346
@@ -47,7 +47,7 @@ invenio_app_rdm/fixtures/pages/.gitkeep,sha256=1HVs32jZTGcMkk-dV9RHGPZm5FdydwFIZ
47
47
  invenio_app_rdm/records_ui/__init__.py,sha256=c4_HH3R7fTOp7AnNQSF4P9h_mwOvL0SE9tkpo6SBnT8,327
48
48
  invenio_app_rdm/records_ui/searchapp.py,sha256=QD5fTdimVUC5K4ERVBjgXHZdbC3ZkgcR8LSIxFTPBQY,2697
49
49
  invenio_app_rdm/records_ui/sitemap.py,sha256=erWpwi8lx17ATicBo3dTwMiEEwHTilL8xTAkNCC3J4U,1619
50
- invenio_app_rdm/records_ui/utils.py,sha256=MGB4YAWrrE5Wu4RhbT2F5SAfVkm3PLe-jzD1BDWBpdo,6101
50
+ invenio_app_rdm/records_ui/utils.py,sha256=EuJKSglrc5MROqoZ-PkTf8Gby6GELj0cS8bcnzkb9Jw,6085
51
51
  invenio_app_rdm/records_ui/previewer/__init__.py,sha256=T32i_ssGKONDpNB3gECpn20ubHvGYYVrNuIgCADioOM,267
52
52
  invenio_app_rdm/records_ui/previewer/iiif_simple.py,sha256=lGxB3g0hNVJDWnq5jV_KrKPwC-LR1C51DMjas1-UpBM,1589
53
53
  invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/deposit.html,sha256=20oCd4uYgvOeFNtG8QL-kXpAf4i3Q_qqAtIo4NbbGQo,2935
@@ -57,7 +57,7 @@ invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/export.
57
57
  invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/iiif_preview.html,sha256=RningdsVBXsJ8qnQjzurf0Ty8R5Tq08eS31s53c3DNE,444
58
58
  invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/restricted_with_doi_tombstone.html,sha256=d2_LrLbWG_vQuR-Gz8P2nrgGuBZONk36kGBMT6iW3uE,987
59
59
  invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/search.html,sha256=MdDMzWNIqvZRH-7Blvb9lBdJCA-TK0MXdPpyVWjjBo8,606
60
- invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/tombstone.html,sha256=QyFJ1q9NsECLpktZxPtR4X62uJ6X8-gymq0g2CKsFwI,2094
60
+ invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/tombstone.html,sha256=wSSBxOtJSJF7FeAz4C13NrXxY7gr401hUeGxUx6dPBo,2094
61
61
  invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/details/access-form.html,sha256=rLkoNmouAMV8S6fAU3_PtGuqDjFTACniyiosGAKjcN0,2317
62
62
  invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/details/citation.html,sha256=QBbRNCBBdE7JJirLrIdCWlhcmR37qh_2QXg7AnTtwdw,576
63
63
  invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/details/contact.html,sha256=czuC-Ec5zJaKzFOaqhz7JqhWiCS3U3NKaQmPw9-rzks,403
@@ -82,7 +82,7 @@ invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/details
82
82
  invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/details/side_bar/technical_metadata.html,sha256=ptS8h6orgDhFFGXeZBCNBltELy_g9fUtS1bMTzieCPk,676
83
83
  invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/details/side_bar/versions.html,sha256=fIa8R0blN2rWkrP0K43qvSTye4Gt6-5yo3HN5FLdLTA,935
84
84
  invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/macros/creatibutors.html,sha256=N53nwtlEZjxweCx70qFJa1s6uL1pPSzWZgk8p1vodE4,4277
85
- invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/macros/detail.html,sha256=2H6A4YzS8-4LRcPwyU04HsvnvieseVrrf_kndZl92zI,10622
85
+ invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/macros/detail.html,sha256=uh_pujCV3Yly2hg966yzr88CzJjDHVQBttuTy8kI8Xc,10675
86
86
  invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/macros/doi.html,sha256=32Yknq5PgvJpYg9Z3Brod9wui9yrpDNE11_esG-20jw,1656
87
87
  invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/macros/files.html,sha256=6OIavFXP1BeV1Xozkv-2SOea9M5RUwjRI6gEGzBUle4,9564
88
88
  invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/macros/locations.html,sha256=27-KyPqb05pu-yRXHvxCgZWRSi5bFP6xf7XBn91sbeA,1741
@@ -149,7 +149,7 @@ invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/administration/recor
149
149
  invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/administration/records/search/index.js,sha256=Aax3344oX3S_M4_KDwBsfr2Z8x01vHrNGGvEDmE08wY,342
150
150
  invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/administration/records/search/filters/DeletionStatusFilter.js,sha256=xv0kXgAQUjBmSfBND-qjdXSXMqMQV9O7ntNkXTQGFSk,3291
151
151
  invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/administration/records/search/filters/index.js,sha256=wNAQbt_8N5_jhPzCWazdb0wufYoUGH2wfTvbLL7JM50,309
152
- invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/administration/requests/RequestsSearchResultItem.js,sha256=Oc-7VG0XPVQWAmqz3o5yfF7lYJ83UEQzuEBcXL1o1Lc,2860
152
+ invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/administration/requests/RequestsSearchResultItem.js,sha256=XF8KZI48xwr2LrMju7uHffK7wqB92PhN9ROXh9toe4U,2695
153
153
  invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/administration/requests/RequestsSearchbarLayout.js,sha256=w-u6zyo4yTeoqBu4uYeUwHulUjmK2X2kCP2Iw1aLuUQ,1587
154
154
  invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/administration/requests/index.js,sha256=nzN98yzW92VnPwxdovrySsVkZSZ3qm0El4_hBD6nvYQ,899
155
155
  invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/administration/userModeration/ModerationActions.js,sha256=Il9iTiHv8HQHoCHH1aBEWv_KiBcrJVkqhb4WkIf6jtQ,3193
@@ -178,12 +178,12 @@ invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/components/CompactSt
178
178
  invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/components/CopyButton.js,sha256=uBcEXzGJYZ7dPIdQBxPqxLvwP6Z5QVg1x-YRncRDW3k,3550
179
179
  invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/components/DisplayPartOfCommunities.js,sha256=bSmhuwSWk4CW80mqa4ZZbjfa-_NsiJ1IxQ9veDy6sAM,2751
180
180
  invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/components/DisplayVerifiedCommunity.js,sha256=m3rT8jJ3440ZX22zZog8bHatWltYXwvmw_tu6tJUM9k,1506
181
- invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/components/FileModificationUntil.js,sha256=3GtEW_IaP6TBKzMBBX1eYD-DuJbM31ps-dbjdgpLfc8,1254
181
+ invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/components/FileModificationUntil.js,sha256=ZjQ2_F_GrwmVF3LfQ7bH0z-KPWP6YEbrUVRdl-rQeKI,1455
182
182
  invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/components/RecordDeletion.js,sha256=AZOgoxAfI19_KXfGGaKP8rtyJDbYjnYzu43hspAIKCk,2272
183
183
  invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/components/RecordsResultsListItem.js,sha256=RTSQBlGQY7ww7fVGHDvDfWQNyJ07mnEoyboTGIcCgD4,6694
184
184
  invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/components/RecordDeletion/DeletionModal.js,sha256=u5ta6jcMl_s0Wj52ExgHlfviW6bsnNmUrYXgIUi6URs,12033
185
185
  invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/components/RecordDeletion/DeletionRadioGroup.js,sha256=qMFdPQkVQQsaS0P9KdPyFcuunZmGlEALjfABPueuoVU,1227
186
- invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/deposit/RDMDepositForm.js,sha256=jqpmjIYKf3DlEBpLlkKQbj-tEBkgtdpb64LDWCmfoMU,35398
186
+ invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/deposit/RDMDepositForm.js,sha256=AuduSpHf4vnqFLHZ3V3IQhfLk3GTUFcHpymn10QzfoQ,35631
187
187
  invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/deposit/ShareDraftButton.js,sha256=ICMV4Ixe-nTe6q7COZ0oyAQf2nVp2cez_-iUZobwUD0,1998
188
188
  invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/deposit/config.js,sha256=rd2wqiwmYOkh4kWe8AiGWJar2kA8R8TkGMnX5XZvihs,1473
189
189
  invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/deposit/index.js,sha256=hvgwIw_mCDL6tWmXVYehdHJaZ2W44Kp3mzWdDOpCng4,1781
@@ -497,9 +497,9 @@ invenio_app_rdm/users_ui/views/__init__.py,sha256=SMdY2NJj9GICfr3Xuok7qdNYVtA2bJ
497
497
  invenio_app_rdm/users_ui/views/dashboard.py,sha256=iUn2PrODAwb8ugmMosJKAjPhUzjCiWiAWoXQr9RUFuc,1793
498
498
  invenio_app_rdm/users_ui/views/ui.py,sha256=W_eXM8dLVIrNHQB2UEh37C9BYoHauft6RyvcDNFHovA,1742
499
499
  invenio_app_rdm/utils/files.py,sha256=CruDyO2gDVadSlWEJD-WHpWHeOQ0juh-Ei9jz3D9yjc,3923
500
- invenio_app_rdm-14.0.0b1.dev8.dist-info/licenses/LICENSE,sha256=AZXFHRrZa5s4m9DV7zZr4bPGTMUvcEPCodeV_AmFI8k,1204
501
- invenio_app_rdm-14.0.0b1.dev8.dist-info/METADATA,sha256=Z6CLI5_d8yEquBlvr7V6R_kpXeYo_RRxXW9AoeIuxXE,19775
502
- invenio_app_rdm-14.0.0b1.dev8.dist-info/WHEEL,sha256=JNWh1Fm1UdwIQV075glCn4MVuCRs0sotJIq-J6rbxCU,109
503
- invenio_app_rdm-14.0.0b1.dev8.dist-info/entry_points.txt,sha256=MwtT1SN5saWOgTYhNb5y0YGA9VGAi0kXN0cykIfsb4U,2405
504
- invenio_app_rdm-14.0.0b1.dev8.dist-info/top_level.txt,sha256=quZejDUw2vLfKQboNIuVLJ9fxZifdnCT_s2PNf1dfmk,16
505
- invenio_app_rdm-14.0.0b1.dev8.dist-info/RECORD,,
500
+ invenio_app_rdm-14.0.0b1.dev10.dist-info/licenses/LICENSE,sha256=AZXFHRrZa5s4m9DV7zZr4bPGTMUvcEPCodeV_AmFI8k,1204
501
+ invenio_app_rdm-14.0.0b1.dev10.dist-info/METADATA,sha256=bvbpO6UDC4ifldBmvUnZkcwrYs_GjDMiAOA_94tGafc,20647
502
+ invenio_app_rdm-14.0.0b1.dev10.dist-info/WHEEL,sha256=JNWh1Fm1UdwIQV075glCn4MVuCRs0sotJIq-J6rbxCU,109
503
+ invenio_app_rdm-14.0.0b1.dev10.dist-info/entry_points.txt,sha256=MwtT1SN5saWOgTYhNb5y0YGA9VGAi0kXN0cykIfsb4U,2405
504
+ invenio_app_rdm-14.0.0b1.dev10.dist-info/top_level.txt,sha256=quZejDUw2vLfKQboNIuVLJ9fxZifdnCT_s2PNf1dfmk,16
505
+ invenio_app_rdm-14.0.0b1.dev10.dist-info/RECORD,,