invenio-app-rdm 14.0.0b3.dev4__py2.py3-none-any.whl → 14.0.0b3.dev5__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.
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  #
3
- # Copyright (C) 2019-2025 CERN.
3
+ # Copyright (C) 2019-2026 CERN.
4
4
  # Copyright (C) 2019-2022 Northwestern University.
5
5
  # Copyright (C) 2024-2025 Graz University of Technology.
6
6
  #
@@ -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.0b3.dev4"
20
+ __version__ = "14.0.0b3.dev5"
21
21
 
22
22
  __all__ = ("__version__",)
@@ -1,5 +1,5 @@
1
1
  {#
2
- Copyright (C) 2021-2025 CERN.
2
+ Copyright (C) 2021-2026 CERN.
3
3
  Copyright (C) 2023 TU Wien.
4
4
 
5
5
  Invenio App RDM is free software; you can redistribute it and/or modify it
@@ -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 %}
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  #
3
- # Copyright (C) 2020-2025 CERN.
3
+ # Copyright (C) 2020-2026 CERN.
4
4
  # Copyright (C) 2020 Northwestern University.
5
5
  # Copyright (C) 2021 TU Wien.
6
6
  #
@@ -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
@@ -1,5 +1,5 @@
1
1
  // This file is part of InvenioRDM
2
- // Copyright (C) 2025 CERN.
2
+ // Copyright (C) 2025-2026 CERN.
3
3
  //
4
4
  // Invenio RDM Records is free software; you can redistribute it and/or modify it
5
5
  // under the terms of the MIT License; see LICENSE file for more details.
@@ -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
  {" "}
@@ -1,5 +1,5 @@
1
1
  // This file is part of InvenioRDM
2
- // Copyright (C) 2020-2025 CERN.
2
+ // Copyright (C) 2020-2026 CERN.
3
3
  // Copyright (C) 2020-2022 Northwestern University.
4
4
  // Copyright (C) 2021-2022 Graz University of Technology.
5
5
  // Copyright (C) 2022-2024 KTH Royal Institute of Technology.
@@ -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.0b3.dev4
3
+ Version: 14.0.0b3.dev5
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,18 @@ https://inveniordm.docs.cern.ch
101
101
  Changes
102
102
  =======
103
103
 
104
+ Version v14.0.0b3.dev5 (released 2026-01-29)
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
+
113
+ - fix(tombstone): use consistent casing for labels
114
+ - fix(deposit-ui): better display of expired file modification period
115
+
104
116
  Version v14.0.0b3.dev4 (released 2025-12-08)
105
117
 
106
118
  - fix: ensure that pages render if accessed via secret link
@@ -1,4 +1,4 @@
1
- invenio_app_rdm/__init__.py,sha256=k4QghfN9paNzfK0Ma_8sbPtJvvDrJlK7_Xp379LAEJ4,704
1
+ invenio_app_rdm/__init__.py,sha256=E_edaikJipwl_vtjJo0ejZqVNpjgR0P5haBFPG3Xrlw,704
2
2
  invenio_app_rdm/cli.py,sha256=G6QqNU2W6n6ICtTMnpeKFXIsdorncDmVXwwwsGH5F2k,2746
3
3
  invenio_app_rdm/config.py,sha256=pigyCXGUMru2krv-ZJ15iosbm3UBk9dmiAQauYvzWbk,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=F6-8_A2DifdILSbJSYvRFay56cl12Jf1O6gTKCJPIZA,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=aBdqSLQMi2nKKoC0dt3c7B8xluy3eE6l9j-M-rAa5Zc,3121
@@ -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=N3hMm9nHdi99N_iZ7dZfsZySD_u2R18scXL4qaW0Ul0,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=tIWybsEB9V4qCwX0Yra8PDFIj-bEYvUistR_dcZR7IU,3554
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=H7q7uGRosz6S5eeoYJc2dyG7FUaILNzuT2P66JKsevo,1460
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=tLytkGYgCBN-9JSRmcxonu3EdxJjuUmKUE6l9vvnSI0,35840
186
+ invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/deposit/RDMDepositForm.js,sha256=u21TBpUhdKH9m0ENoMJ8kaZjtxTdWmi-3UrIxMOAuVQ,36073
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
@@ -498,9 +498,9 @@ invenio_app_rdm/users_ui/views/__init__.py,sha256=SMdY2NJj9GICfr3Xuok7qdNYVtA2bJ
498
498
  invenio_app_rdm/users_ui/views/dashboard.py,sha256=iUn2PrODAwb8ugmMosJKAjPhUzjCiWiAWoXQr9RUFuc,1793
499
499
  invenio_app_rdm/users_ui/views/ui.py,sha256=W_eXM8dLVIrNHQB2UEh37C9BYoHauft6RyvcDNFHovA,1742
500
500
  invenio_app_rdm/utils/files.py,sha256=CruDyO2gDVadSlWEJD-WHpWHeOQ0juh-Ei9jz3D9yjc,3923
501
- invenio_app_rdm-14.0.0b3.dev4.dist-info/licenses/LICENSE,sha256=AZXFHRrZa5s4m9DV7zZr4bPGTMUvcEPCodeV_AmFI8k,1204
502
- invenio_app_rdm-14.0.0b3.dev4.dist-info/METADATA,sha256=oDk83L3-6qmOcrinCqkl0jDGks3MW6nObUl41VpM2P4,21396
503
- invenio_app_rdm-14.0.0b3.dev4.dist-info/WHEEL,sha256=JNWh1Fm1UdwIQV075glCn4MVuCRs0sotJIq-J6rbxCU,109
504
- invenio_app_rdm-14.0.0b3.dev4.dist-info/entry_points.txt,sha256=MwtT1SN5saWOgTYhNb5y0YGA9VGAi0kXN0cykIfsb4U,2405
505
- invenio_app_rdm-14.0.0b3.dev4.dist-info/top_level.txt,sha256=quZejDUw2vLfKQboNIuVLJ9fxZifdnCT_s2PNf1dfmk,16
506
- invenio_app_rdm-14.0.0b3.dev4.dist-info/RECORD,,
501
+ invenio_app_rdm-14.0.0b3.dev5.dist-info/licenses/LICENSE,sha256=AZXFHRrZa5s4m9DV7zZr4bPGTMUvcEPCodeV_AmFI8k,1204
502
+ invenio_app_rdm-14.0.0b3.dev5.dist-info/METADATA,sha256=_awWsu1eI3dI69ehjKZqZdndUqw0goI7JtkuuekMC0Q,21988
503
+ invenio_app_rdm-14.0.0b3.dev5.dist-info/WHEEL,sha256=Mk1ST5gDzEO5il5kYREiBnzzM469m5sI8ESPl7TRhJY,110
504
+ invenio_app_rdm-14.0.0b3.dev5.dist-info/entry_points.txt,sha256=MwtT1SN5saWOgTYhNb5y0YGA9VGAi0kXN0cykIfsb4U,2405
505
+ invenio_app_rdm-14.0.0b3.dev5.dist-info/top_level.txt,sha256=quZejDUw2vLfKQboNIuVLJ9fxZifdnCT_s2PNf1dfmk,16
506
+ invenio_app_rdm-14.0.0b3.dev5.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.9.0)
2
+ Generator: setuptools (80.10.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py2-none-any
5
5
  Tag: py3-none-any