invenio-app-rdm 13.0.3__py2.py3-none-any.whl → 13.0.4__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.3"
20
+ __version__ = "13.0.4"
21
21
 
22
22
  __all__ = ("__version__",)
@@ -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(secret_link_expiration) === 0) {
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(secret_link_expiration),
89
+ days: parseInt(secretLinkExpiration),
90
90
  });
91
91
  return {
92
92
  secret_link_expiration: dateFromDays.toISODate(),
@@ -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({
@@ -7,9 +7,13 @@
7
7
  under the terms of the MIT License; see LICENSE file for more details.
8
8
  #}
9
9
 
10
- {%- extends "invenio_theme/page.html" -%}
10
+ {% if base_template|default(false) %}
11
+ {%- extends base_template %}
12
+ {% else %}
13
+ {%- extends config.BASE_TEMPLATE %}
14
+ {% endif %}
11
15
 
12
16
  {%- block css %}
13
17
  {{ super()}}
14
18
  <link rel="stylesheet" href="/static/css/json-diff-kit.css">
15
- {%- endblock css %}
19
+ {%- endblock css %}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: invenio-app-rdm
3
- Version: 13.0.3
3
+ Version: 13.0.4
4
4
  Summary: Invenio Research Data Management.
5
5
  Home-page: https://github.com/inveniosoftware/invenio-app-rdm
6
6
  Author: CERN
@@ -101,10 +101,15 @@ https://inveniordm.docs.cern.ch
101
101
  Changes
102
102
  =======
103
103
 
104
+ Version v13.0.4 (released 2025-10-16)
105
+
106
+ - guest access requests: handle values in JS that appear in use but were not handled correctly before
107
+ - admin: use configured base template for administration panel instead of hard-coded value
108
+
104
109
  Version v13.0.3 (released 2025-09-25)
105
110
 
106
111
  - help: correct search instructions for missing fields
107
- - deposit: pass to the form config the published record if we edit one
112
+ - deposit: pass to the form config the published record if we edit one
108
113
 
109
114
  Version v13.0.2 (released 2025-08-25)
110
115
 
@@ -1,4 +1,4 @@
1
- invenio_app_rdm/__init__.py,sha256=QDaU_ThUe2IDPQHMHXSLf4uDzpiUa9YiT1O5D8vcRbQ,697
1
+ invenio_app_rdm/__init__.py,sha256=vFN0ZRDXOTAcC151xYgIMTq8PbkC1V-j2j45gdCdnwQ,697
2
2
  invenio_app_rdm/cli.py,sha256=G6QqNU2W6n6ICtTMnpeKFXIsdorncDmVXwwwsGH5F2k,2746
3
3
  invenio_app_rdm/config.py,sha256=T5pTzoBAAsxyp4ACAnfIhHcMowVkAnk8fWXlHR2OrRA,52107
4
4
  invenio_app_rdm/ext.py,sha256=K7syn5CU5If7yOclFeNOCZX_u5q6VB7NJEQVm41mlng,5286
@@ -217,8 +217,8 @@ invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/overridableRegistry/
217
217
  invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/overridableRegistry/mapping.js,sha256=kRIVYx1pkzq6kNry3M6Cn5hykDkNJAaG7sQ0BdwGSj8,434
218
218
  invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/requests/AccessRequestExpiration.js,sha256=rakfZqfulHvuW60i3oTF0ptQvFChDoacPEw5iJkMq9U,1721
219
219
  invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/requests/index.js,sha256=FZ_XVB-5V7k_wOYeiI06RXQn3aIeh7beyBhcK5AIvCg,75
220
- invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/requests/timeline/AccessRequestTimelineEdit.js,sha256=rM5iSICtNsqXgOzNAWSpV61qJf8oE7XxqVTHMmhqkFk,5639
221
- invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/requests/timeline/AccessRequestTimelineRead.js,sha256=ezxgh43UbgthNNGL2hoh1YwNBlPl1fC_TI0RcnFHd1w,1389
220
+ invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/requests/timeline/AccessRequestTimelineEdit.js,sha256=p5lz2bGonq3L7vGb2flBHDNJ3_06aOwVpcQMNf3ZwC8,5722
221
+ invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/requests/timeline/AccessRequestTimelineRead.js,sha256=Se0C9IMoRg0bAIHHCKAEvQEsrcUnIa-UDdHZqP07DRE,1399
222
222
  invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/requests/timeline/overrides/TimelineFeedHeader.js,sha256=vU_D4F5jabAghjfPtpC3JvErrBVy39Je-PARgqwMD4w,1164
223
223
  invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/search/components.js,sha256=UKGEY8Fba36cJcNr-bo-jSM6c9oAKGdzxz1iQkY4YP4,7234
224
224
  invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/search/index.js,sha256=xvc8dtcPsTABiSpbt8azBVuZJuhXi39Nj4N8mPiFd40,2190
@@ -370,7 +370,7 @@ invenio_app_rdm/theme/static/images/icons8-web-design-80.png,sha256=lRi5Dfc01unG
370
370
  invenio_app_rdm/theme/static/images/invenio-rdm.svg,sha256=UPCbTYMkSmnFj0SqQ2o_oJdybZtH_Q4HguqS0x-FS2U,6831
371
371
  invenio_app_rdm/theme/static/images/orcid.svg,sha256=D79IRA7Ul2mfO9deW-Xocz_FTR-Ol5q3Nepya34pjWY,1117
372
372
  invenio_app_rdm/theme/static/images/ror-icon.svg,sha256=aIth5_-aYB7yx1nswjM6XgHAFW6dvJc5khkR9khWCZM,3712
373
- invenio_app_rdm/theme/templates/semantic-ui/invenio_app_rdm/administration_page.html,sha256=KkfcHLi4vx-Pd4K0ZZvgPBx6lGK5l9xCLV3hkklvYVw,394
373
+ invenio_app_rdm/theme/templates/semantic-ui/invenio_app_rdm/administration_page.html,sha256=9AKvzldVAhInYLCeWgvhWga5RyvnfQOulsP7JZPUdAA,483
374
374
  invenio_app_rdm/theme/templates/semantic-ui/invenio_app_rdm/default_static_page.html,sha256=Un6KtaKmNlM-R7Qu1eeh0FFckgym3mq1zHV-AOew5pY,1178
375
375
  invenio_app_rdm/theme/templates/semantic-ui/invenio_app_rdm/footer.html,sha256=I6Y9xoTe7J2aLOSU9ZDBOb-jbFr-Cd_ZbqnwyjE3AB0,2193
376
376
  invenio_app_rdm/theme/templates/semantic-ui/invenio_app_rdm/frontpage.html,sha256=l-u25QOE2OkkPt-f7Cce469u4W2TnBdB_HVXpSZx3DE,1605
@@ -482,9 +482,9 @@ invenio_app_rdm/users_ui/views/__init__.py,sha256=SMdY2NJj9GICfr3Xuok7qdNYVtA2bJ
482
482
  invenio_app_rdm/users_ui/views/dashboard.py,sha256=iUn2PrODAwb8ugmMosJKAjPhUzjCiWiAWoXQr9RUFuc,1793
483
483
  invenio_app_rdm/users_ui/views/ui.py,sha256=W_eXM8dLVIrNHQB2UEh37C9BYoHauft6RyvcDNFHovA,1742
484
484
  invenio_app_rdm/utils/files.py,sha256=CruDyO2gDVadSlWEJD-WHpWHeOQ0juh-Ei9jz3D9yjc,3923
485
- invenio_app_rdm-13.0.3.dist-info/licenses/LICENSE,sha256=AZXFHRrZa5s4m9DV7zZr4bPGTMUvcEPCodeV_AmFI8k,1204
486
- invenio_app_rdm-13.0.3.dist-info/METADATA,sha256=U97_DuKFefYShxL40a7l4xIDCACFz0xktzMpj1sqvbI,20769
487
- invenio_app_rdm-13.0.3.dist-info/WHEEL,sha256=JNWh1Fm1UdwIQV075glCn4MVuCRs0sotJIq-J6rbxCU,109
488
- invenio_app_rdm-13.0.3.dist-info/entry_points.txt,sha256=rfzEeOEdtGy99NlpWzeW-32CoO5XrEpBvlZwLD2Th88,2158
489
- invenio_app_rdm-13.0.3.dist-info/top_level.txt,sha256=quZejDUw2vLfKQboNIuVLJ9fxZifdnCT_s2PNf1dfmk,16
490
- invenio_app_rdm-13.0.3.dist-info/RECORD,,
485
+ invenio_app_rdm-13.0.4.dist-info/licenses/LICENSE,sha256=AZXFHRrZa5s4m9DV7zZr4bPGTMUvcEPCodeV_AmFI8k,1204
486
+ invenio_app_rdm-13.0.4.dist-info/METADATA,sha256=7KDjPY3x8gzpisTmU_CMYULiiDBrN2sSG9hXqzatj8M,21001
487
+ invenio_app_rdm-13.0.4.dist-info/WHEEL,sha256=JNWh1Fm1UdwIQV075glCn4MVuCRs0sotJIq-J6rbxCU,109
488
+ invenio_app_rdm-13.0.4.dist-info/entry_points.txt,sha256=rfzEeOEdtGy99NlpWzeW-32CoO5XrEpBvlZwLD2Th88,2158
489
+ invenio_app_rdm-13.0.4.dist-info/top_level.txt,sha256=quZejDUw2vLfKQboNIuVLJ9fxZifdnCT_s2PNf1dfmk,16
490
+ invenio_app_rdm-13.0.4.dist-info/RECORD,,