invenio-app-rdm 14.0.0b1.dev9__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.dev9"
20
+ __version__ = "14.0.0b1.dev10"
21
21
 
22
22
  __all__ = ("__version__",)
@@ -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
@@ -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.dev9
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,17 @@ 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
+
104
115
  Version v14.0.0b1.dev9 (released 2025-11-24)
105
116
 
106
117
  - details: fix: do not sanitize additional description in template
@@ -1,4 +1,4 @@
1
- invenio_app_rdm/__init__.py,sha256=CwbqPhyoYGLmuqQniccolazqDxOp9cbMbv_NmLZ5xzg,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
@@ -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
@@ -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.dev9.dist-info/licenses/LICENSE,sha256=AZXFHRrZa5s4m9DV7zZr4bPGTMUvcEPCodeV_AmFI8k,1204
501
- invenio_app_rdm-14.0.0b1.dev9.dist-info/METADATA,sha256=Ejxd9NZkn892a-_8WnKuFfLF_s2bWT_fyg7PEH5t3C0,20054
502
- invenio_app_rdm-14.0.0b1.dev9.dist-info/WHEEL,sha256=JNWh1Fm1UdwIQV075glCn4MVuCRs0sotJIq-J6rbxCU,109
503
- invenio_app_rdm-14.0.0b1.dev9.dist-info/entry_points.txt,sha256=MwtT1SN5saWOgTYhNb5y0YGA9VGAi0kXN0cykIfsb4U,2405
504
- invenio_app_rdm-14.0.0b1.dev9.dist-info/top_level.txt,sha256=quZejDUw2vLfKQboNIuVLJ9fxZifdnCT_s2PNf1dfmk,16
505
- invenio_app_rdm-14.0.0b1.dev9.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,,