invenio-app-rdm 14.0.0b1.dev3__py2.py3-none-any.whl → 14.0.0b1.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.
- invenio_app_rdm/__init__.py +1 -1
- invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/details/side_bar/manage_menu.html +2 -0
- invenio_app_rdm/records_ui/views/deposits.py +2 -0
- invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/requests/timeline/AccessRequestTimelineEdit.js +5 -5
- invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/requests/timeline/AccessRequestTimelineRead.js +2 -2
- {invenio_app_rdm-14.0.0b1.dev3.dist-info → invenio_app_rdm-14.0.0b1.dev5.dist-info}/METADATA +20 -2
- {invenio_app_rdm-14.0.0b1.dev3.dist-info → invenio_app_rdm-14.0.0b1.dev5.dist-info}/RECORD +11 -11
- {invenio_app_rdm-14.0.0b1.dev3.dist-info → invenio_app_rdm-14.0.0b1.dev5.dist-info}/WHEEL +0 -0
- {invenio_app_rdm-14.0.0b1.dev3.dist-info → invenio_app_rdm-14.0.0b1.dev5.dist-info}/entry_points.txt +0 -0
- {invenio_app_rdm-14.0.0b1.dev3.dist-info → invenio_app_rdm-14.0.0b1.dev5.dist-info}/licenses/LICENSE +0 -0
- {invenio_app_rdm-14.0.0b1.dev3.dist-info → invenio_app_rdm-14.0.0b1.dev5.dist-info}/top_level.txt +0 -0
invenio_app_rdm/__init__.py
CHANGED
|
@@ -20,6 +20,8 @@ it under the terms of the MIT License; see LICENSE file for more details.
|
|
|
20
20
|
data-groups-enabled='{{ config.USERS_RESOURCES_GROUPS_ENABLED | tojson }}'
|
|
21
21
|
{% if record_deletion %}
|
|
22
22
|
data-record-deletion='{{ record_deletion | tojson }}'
|
|
23
|
+
{% else %}
|
|
24
|
+
data-record-deletion='{{ {} | tojson }}'
|
|
23
25
|
{% endif %}
|
|
24
26
|
{% if config.RDM_DETAIL_SIDE_BAR_MANAGE_ATTRIBUTES_EXTENSION_TEMPLATE %}
|
|
25
27
|
{% include config.RDM_DETAIL_SIDE_BAR_MANAGE_ATTRIBUTES_EXTENSION_TEMPLATE %}
|
|
@@ -347,6 +347,8 @@ def load_custom_fields():
|
|
|
347
347
|
# for each custom field. This is the label shown at the top of the upload
|
|
348
348
|
# form
|
|
349
349
|
field_error_label = field.get("props", {}).get("label")
|
|
350
|
+
# Add the field ID to the props to allow overriding the React widgets of custom fields
|
|
351
|
+
field["props"]["id"] = field["field"]
|
|
350
352
|
if field_error_label:
|
|
351
353
|
error_labels[f"custom_fields.{field['field']}"] = field_error_label
|
|
352
354
|
if getattr(field_instance, "relation_cls", None):
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// This file is part of InvenioRDM
|
|
2
|
-
// Copyright (C) 2023 CERN.
|
|
2
|
+
// Copyright (C) 2023-2025 CERN.
|
|
3
3
|
//
|
|
4
4
|
// Invenio App RDM 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.
|
|
@@ -46,7 +46,7 @@ export class AccessRequestTimelineEdit extends Component {
|
|
|
46
46
|
links: { self: selfLink },
|
|
47
47
|
} = request;
|
|
48
48
|
const { secret_link_expiration: secretLinkExpiration } = values;
|
|
49
|
-
if (secretLinkExpiration === null) {
|
|
49
|
+
if (secretLinkExpiration === null || secretLinkExpiration === "") {
|
|
50
50
|
payload["secret_link_expiration"] = "0";
|
|
51
51
|
} else {
|
|
52
52
|
const date = DateTime.fromISO(secretLinkExpiration);
|
|
@@ -76,17 +76,17 @@ export class AccessRequestTimelineEdit extends Component {
|
|
|
76
76
|
initFormValues = () => {
|
|
77
77
|
const {
|
|
78
78
|
request: {
|
|
79
|
-
payload: { secret_link_expiration },
|
|
79
|
+
payload: { secret_link_expiration: secretLinkExpiration },
|
|
80
80
|
},
|
|
81
81
|
} = this.props;
|
|
82
82
|
|
|
83
|
-
if (parseInt(
|
|
83
|
+
if (parseInt(secretLinkExpiration) === 0 || secretLinkExpiration === "NaN") {
|
|
84
84
|
return {
|
|
85
85
|
secret_link_expiration: "",
|
|
86
86
|
};
|
|
87
87
|
}
|
|
88
88
|
const dateFromDays = DateTime.now().plus({
|
|
89
|
-
days: parseInt(
|
|
89
|
+
days: parseInt(secretLinkExpiration),
|
|
90
90
|
});
|
|
91
91
|
return {
|
|
92
92
|
secret_link_expiration: dateFromDays.toISODate(),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// This file is part of InvenioRDM
|
|
2
|
-
// Copyright (C) 2023 CERN.
|
|
2
|
+
// Copyright (C) 2023-2025 CERN.
|
|
3
3
|
//
|
|
4
4
|
// Invenio App RDM 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.
|
|
@@ -20,7 +20,7 @@ export class AccessRequestTimelineRead extends Component {
|
|
|
20
20
|
} = this.props;
|
|
21
21
|
|
|
22
22
|
const expirationDate =
|
|
23
|
-
secretLinkExpiration === 0
|
|
23
|
+
parseInt(secretLinkExpiration) === 0
|
|
24
24
|
? i18next.t("Never")
|
|
25
25
|
: DateTime.fromISO(updated)
|
|
26
26
|
.plus({
|
{invenio_app_rdm-14.0.0b1.dev3.dist-info → invenio_app_rdm-14.0.0b1.dev5.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: invenio-app-rdm
|
|
3
|
-
Version: 14.0.0b1.
|
|
3
|
+
Version: 14.0.0b1.dev5
|
|
4
4
|
Summary: Invenio Research Data Management.
|
|
5
5
|
Home-page: https://github.com/inveniosoftware/invenio-app-rdm
|
|
6
6
|
Author: CERN
|
|
@@ -40,7 +40,7 @@ Requires-Dist: invenio-search-ui<5.0.0,>=4.0.0
|
|
|
40
40
|
Requires-Dist: invenio-files-rest<4.0.0,>=3.0.0
|
|
41
41
|
Requires-Dist: invenio-previewer<4.0.0,>=3.0.0
|
|
42
42
|
Requires-Dist: invenio-records-files<2.0.0,>=1.2.1
|
|
43
|
-
Requires-Dist: invenio-collections<3.0.0,>=
|
|
43
|
+
Requires-Dist: invenio-collections<3.0.0,>=1.0.0
|
|
44
44
|
Requires-Dist: invenio-communities<22.0.0,>=21.0.0
|
|
45
45
|
Requires-Dist: invenio-rdm-records<22.0.0,>=21.0.0
|
|
46
46
|
Requires-Dist: CairoSVG<3.0.0,>=2.5.2
|
|
@@ -101,6 +101,24 @@ https://inveniordm.docs.cern.ch
|
|
|
101
101
|
Changes
|
|
102
102
|
=======
|
|
103
103
|
|
|
104
|
+
Version v14.0.0b1.dev5 (released 2025-10-14)
|
|
105
|
+
|
|
106
|
+
- fix(community-submission): add missing var in side bar template
|
|
107
|
+
- fix(guest-access-request): handle broken expiration date payload value
|
|
108
|
+
* this extra check prevents the request timeline UI from breaking when a
|
|
109
|
+
request payload has a broken value, to make recovery easier
|
|
110
|
+
* also, make eslint happy with a camel case variable name
|
|
111
|
+
- fix(guest-access-request): handle more possible expiration date values
|
|
112
|
+
* when the expiration date gets submitted, the value of the empty input
|
|
113
|
+
field is typically the empty string rather than `null`
|
|
114
|
+
* on the reading side, handle the case that the expiration date is set
|
|
115
|
+
as a string value (since request payloads are generally strings)
|
|
116
|
+
|
|
117
|
+
Version v14.0.0b1.dev4 (released 2025-10-03)
|
|
118
|
+
|
|
119
|
+
- installation: relax invenio-collections dependency requirements
|
|
120
|
+
* see https://github.com/inveniosoftware/invenio-app-rdm/issues/3194
|
|
121
|
+
|
|
104
122
|
Version v14.0.0b1.dev3 (released 2025-10-01)
|
|
105
123
|
|
|
106
124
|
- fix(deposit-ui): read expanded published record
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
invenio_app_rdm/__init__.py,sha256=
|
|
1
|
+
invenio_app_rdm/__init__.py,sha256=drRr2Ud4Kk45t5ZZDgxg7Bu_I8rsDI9Kq3QU_e_q6is,704
|
|
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
|
|
@@ -77,7 +77,7 @@ invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/details
|
|
|
77
77
|
invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/details/side_bar/keywords_subjects.html,sha256=8FTUt6MVRvEsj89qDxP6eK2feyv2UI0fgICoT99cUIU,717
|
|
78
78
|
invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/details/side_bar/licenses.html,sha256=8VfF1BJCvjc3MPPGDg5cm2M6_zbkz2HybJuRU5a2gXc,3172
|
|
79
79
|
invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/details/side_bar/locations.html,sha256=6o5nQyXP0V158KMBsOpKMeuLGcw_lAhnZIyGpaogbMk,721
|
|
80
|
-
invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/details/side_bar/manage_menu.html,sha256=
|
|
80
|
+
invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/details/side_bar/manage_menu.html,sha256=BPAaDG_OhCkKaIUSqyBfjMFK8gMnweHzZtyNdwI0T4k,1516
|
|
81
81
|
invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/details/side_bar/metrics.html,sha256=6aS28YC8U7VDWn2vI2ckYtzm9wVWacGZ4a7Pu5D3BBI,526
|
|
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
|
|
@@ -90,7 +90,7 @@ invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/macros/
|
|
|
90
90
|
invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/macros/version.html,sha256=eA8-n81XUezkwPXvcG5v2sgLPQNTgr7hB36-_Gr-tVI,758
|
|
91
91
|
invenio_app_rdm/records_ui/views/__init__.py,sha256=9DaDls04IQv7fYttDjLofIWGsRRjk-FwUYnIfxV3OWk,5840
|
|
92
92
|
invenio_app_rdm/records_ui/views/decorators.py,sha256=-GdyPh2qIxV_wacAv5uChNx-HW2LiKjHQiRujiu42B4,16510
|
|
93
|
-
invenio_app_rdm/records_ui/views/deposits.py,sha256=
|
|
93
|
+
invenio_app_rdm/records_ui/views/deposits.py,sha256=qr92epXPVORk6z8TpB_KT7CaRQQNtmVRGmDDxKCe9U4,25397
|
|
94
94
|
invenio_app_rdm/records_ui/views/filters.py,sha256=zKuqjM_Yb9MmBmloStjasASYCwVG7mUe0eolI2MtPXg,6998
|
|
95
95
|
invenio_app_rdm/records_ui/views/records.py,sha256=vLuenTEoTV9ZB9suUGI4ct1ml2iModZqhdlVfK5dIRc,17811
|
|
96
96
|
invenio_app_rdm/redirector/__init__.py,sha256=AYCTGmfbmkHW3YJXMqXlWBXcBrUsta-QmL9ULX2bjwA,243
|
|
@@ -228,8 +228,8 @@ invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/overridableRegistry/
|
|
|
228
228
|
invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/overridableRegistry/mapping.js,sha256=kRIVYx1pkzq6kNry3M6Cn5hykDkNJAaG7sQ0BdwGSj8,434
|
|
229
229
|
invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/requests/AccessRequestExpiration.js,sha256=rakfZqfulHvuW60i3oTF0ptQvFChDoacPEw5iJkMq9U,1721
|
|
230
230
|
invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/requests/index.js,sha256=FZ_XVB-5V7k_wOYeiI06RXQn3aIeh7beyBhcK5AIvCg,75
|
|
231
|
-
invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/requests/timeline/AccessRequestTimelineEdit.js,sha256=
|
|
232
|
-
invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/requests/timeline/AccessRequestTimelineRead.js,sha256=
|
|
231
|
+
invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/requests/timeline/AccessRequestTimelineEdit.js,sha256=xd0uVbKLC23Y3RHlHDs0NdQ2vq9PNhimPwANkEtLSJ8,5727
|
|
232
|
+
invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/requests/timeline/AccessRequestTimelineRead.js,sha256=CN_IIXwIeMDFxBxsal070uPVrpDH1_Rh7DSJi4hSjXA,1404
|
|
233
233
|
invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/requests/timeline/overrides/TimelineFeedHeader.js,sha256=vU_D4F5jabAghjfPtpC3JvErrBVy39Je-PARgqwMD4w,1164
|
|
234
234
|
invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/search/components.js,sha256=HfGLz_FZYePPEnS4fJ9-CVa8BzHPOgRi1_d21FgVrFg,7234
|
|
235
235
|
invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/search/index.js,sha256=xvc8dtcPsTABiSpbt8azBVuZJuhXi39Nj4N8mPiFd40,2190
|
|
@@ -495,9 +495,9 @@ invenio_app_rdm/users_ui/views/__init__.py,sha256=SMdY2NJj9GICfr3Xuok7qdNYVtA2bJ
|
|
|
495
495
|
invenio_app_rdm/users_ui/views/dashboard.py,sha256=iUn2PrODAwb8ugmMosJKAjPhUzjCiWiAWoXQr9RUFuc,1793
|
|
496
496
|
invenio_app_rdm/users_ui/views/ui.py,sha256=W_eXM8dLVIrNHQB2UEh37C9BYoHauft6RyvcDNFHovA,1742
|
|
497
497
|
invenio_app_rdm/utils/files.py,sha256=CruDyO2gDVadSlWEJD-WHpWHeOQ0juh-Ei9jz3D9yjc,3923
|
|
498
|
-
invenio_app_rdm-14.0.0b1.
|
|
499
|
-
invenio_app_rdm-14.0.0b1.
|
|
500
|
-
invenio_app_rdm-14.0.0b1.
|
|
501
|
-
invenio_app_rdm-14.0.0b1.
|
|
502
|
-
invenio_app_rdm-14.0.0b1.
|
|
503
|
-
invenio_app_rdm-14.0.0b1.
|
|
498
|
+
invenio_app_rdm-14.0.0b1.dev5.dist-info/licenses/LICENSE,sha256=AZXFHRrZa5s4m9DV7zZr4bPGTMUvcEPCodeV_AmFI8k,1204
|
|
499
|
+
invenio_app_rdm-14.0.0b1.dev5.dist-info/METADATA,sha256=SRxeu1SVjn3g-LgtNP2PZM9aU5oQEBafxMhy4tgeNkY,18883
|
|
500
|
+
invenio_app_rdm-14.0.0b1.dev5.dist-info/WHEEL,sha256=JNWh1Fm1UdwIQV075glCn4MVuCRs0sotJIq-J6rbxCU,109
|
|
501
|
+
invenio_app_rdm-14.0.0b1.dev5.dist-info/entry_points.txt,sha256=MwtT1SN5saWOgTYhNb5y0YGA9VGAi0kXN0cykIfsb4U,2405
|
|
502
|
+
invenio_app_rdm-14.0.0b1.dev5.dist-info/top_level.txt,sha256=quZejDUw2vLfKQboNIuVLJ9fxZifdnCT_s2PNf1dfmk,16
|
|
503
|
+
invenio_app_rdm-14.0.0b1.dev5.dist-info/RECORD,,
|
|
File without changes
|
{invenio_app_rdm-14.0.0b1.dev3.dist-info → invenio_app_rdm-14.0.0b1.dev5.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{invenio_app_rdm-14.0.0b1.dev3.dist-info → invenio_app_rdm-14.0.0b1.dev5.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
{invenio_app_rdm-14.0.0b1.dev3.dist-info → invenio_app_rdm-14.0.0b1.dev5.dist-info}/top_level.txt
RENAMED
|
File without changes
|