invenio-app-rdm 14.0.0b0.dev3__py2.py3-none-any.whl → 14.0.0b0.dev4__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/views/deposits.py +7 -0
- invenio_app_rdm/theme/templates/semantic-ui/invenio_app_rdm/help/search.de.html +2 -2
- invenio_app_rdm/theme/templates/semantic-ui/invenio_app_rdm/help/search.en.html +4 -4
- invenio_app_rdm/theme/templates/semantic-ui/invenio_app_rdm/help/search.sv.html +4 -4
- {invenio_app_rdm-14.0.0b0.dev3.dist-info → invenio_app_rdm-14.0.0b0.dev4.dist-info}/METADATA +8 -1
- {invenio_app_rdm-14.0.0b0.dev3.dist-info → invenio_app_rdm-14.0.0b0.dev4.dist-info}/RECORD +11 -11
- {invenio_app_rdm-14.0.0b0.dev3.dist-info → invenio_app_rdm-14.0.0b0.dev4.dist-info}/WHEEL +0 -0
- {invenio_app_rdm-14.0.0b0.dev3.dist-info → invenio_app_rdm-14.0.0b0.dev4.dist-info}/entry_points.txt +0 -0
- {invenio_app_rdm-14.0.0b0.dev3.dist-info → invenio_app_rdm-14.0.0b0.dev4.dist-info}/licenses/LICENSE +0 -0
- {invenio_app_rdm-14.0.0b0.dev3.dist-info → invenio_app_rdm-14.0.0b0.dev4.dist-info}/top_level.txt +0 -0
invenio_app_rdm/__init__.py
CHANGED
|
@@ -521,6 +521,12 @@ def deposit_edit(pid_value, draft=None, draft_files=None, files_locked=True):
|
|
|
521
521
|
ui_serializer = UIJSONSerializer()
|
|
522
522
|
record = ui_serializer.dump_obj(draft.to_dict())
|
|
523
523
|
|
|
524
|
+
published_record = None
|
|
525
|
+
# if editing draft of a published record
|
|
526
|
+
if record.get("status") == "published":
|
|
527
|
+
_record = service.read(g.identity, id_=record["id"]).to_dict()
|
|
528
|
+
published_record = ui_serializer.dump_obj(_record)
|
|
529
|
+
|
|
524
530
|
community_ui = None
|
|
525
531
|
community_theme = None
|
|
526
532
|
community = record.get("expanded", {}).get("parent", {}).get("review", {}).get(
|
|
@@ -559,6 +565,7 @@ def deposit_edit(pid_value, draft=None, draft_files=None, files_locked=True):
|
|
|
559
565
|
hide_community_selection=community_use_jinja_header,
|
|
560
566
|
is_doi_required=is_doi_required,
|
|
561
567
|
record=draft._record,
|
|
568
|
+
published_record=published_record,
|
|
562
569
|
)
|
|
563
570
|
|
|
564
571
|
if is_doi_required and not record.get("pids", {}).get("doi"):
|
|
@@ -156,13 +156,13 @@
|
|
|
156
156
|
<h3>Fehlende Werte</h3>
|
|
157
157
|
<p>
|
|
158
158
|
Es ist möglich, mit den Feldnamen <code>_exists_</code> und
|
|
159
|
-
<code>
|
|
159
|
+
<code>NOT _exists_</code> nach Datensätzen zu suchen,
|
|
160
160
|
in denen entweder ein Wert fehlt oder die einen Wert in einem bestimmten Feld haben.
|
|
161
161
|
</p>
|
|
162
162
|
<p>
|
|
163
163
|
<strong>Beispiel:</strong>
|
|
164
164
|
<a
|
|
165
|
-
href="/search?page=1&size=20&q=
|
|
165
|
+
href="/search?page=1&size=20&q=NOT%20_exists_:metadata.additional_titles"><code>NOT _exists_:metadata.additional_titles</code></a>
|
|
166
166
|
(alle Datensätze ohne metadata.additional_titles)
|
|
167
167
|
</p>
|
|
168
168
|
<p>
|
|
@@ -184,13 +184,13 @@
|
|
|
184
184
|
<p>
|
|
185
185
|
It is possible to search for records that either are missing a value or have
|
|
186
186
|
a value in a specific field using the <code>_exists_</code> and
|
|
187
|
-
<code>
|
|
187
|
+
<code>NOT _exists_</code> field names.
|
|
188
188
|
</p>
|
|
189
189
|
<p>
|
|
190
190
|
<strong>Example:</strong>
|
|
191
|
-
<a href="/search?page=1&size=20&q=
|
|
192
|
-
|
|
193
|
-
>
|
|
191
|
+
<a href="/search?page=1&size=20&q=NOT%20_exists_:metadata.additional_titles">
|
|
192
|
+
<code>NOT _exists_:metadata.additional_titles</code>
|
|
193
|
+
</a>
|
|
194
194
|
(all records without metadata.additional_titles)
|
|
195
195
|
</p>
|
|
196
196
|
<p>
|
|
@@ -176,13 +176,13 @@
|
|
|
176
176
|
<p>
|
|
177
177
|
Det är möjligt att söka efter poster som antingen saknar ett värde eller har
|
|
178
178
|
ett värde i ett specifikt fält med hjälp av <code>_exists_</code> och
|
|
179
|
-
<code>
|
|
179
|
+
<code>NOT _exists_</code> i kombination med fältnamn.
|
|
180
180
|
</p>
|
|
181
181
|
<p>
|
|
182
182
|
<strong>Exempel:</strong>
|
|
183
|
-
<a href="/search?page=1&size=20&q=
|
|
184
|
-
|
|
185
|
-
>
|
|
183
|
+
<a href="/search?page=1&size=20&q=NOT%20_exists_:metadata.additional_titles">
|
|
184
|
+
<code>NOT _exists_:metadata.additional_titles</code>
|
|
185
|
+
</a>
|
|
186
186
|
(alla poster utan metadata.additional_titles)
|
|
187
187
|
</p>
|
|
188
188
|
<p>
|
{invenio_app_rdm-14.0.0b0.dev3.dist-info → invenio_app_rdm-14.0.0b0.dev4.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: invenio-app-rdm
|
|
3
|
-
Version: 14.0.0b0.
|
|
3
|
+
Version: 14.0.0b0.dev4
|
|
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,13 @@ https://inveniordm.docs.cern.ch
|
|
|
101
101
|
Changes
|
|
102
102
|
=======
|
|
103
103
|
|
|
104
|
+
Version v14.0.0b0.dev4 (released 2025-09-01)
|
|
105
|
+
|
|
106
|
+
- views(deposit): pass to the form config the published record if we edit one
|
|
107
|
+
* The published record is used to compare published DOI but it can be
|
|
108
|
+
used also to compare with the published state of an editing draft.
|
|
109
|
+
- help: correct search instructions for missing fields
|
|
110
|
+
|
|
104
111
|
Version v14.0.0b0.dev3 (released 2025-08-26)
|
|
105
112
|
|
|
106
113
|
- fix(community-requests): request permissions were missing from UI
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
invenio_app_rdm/__init__.py,sha256=
|
|
1
|
+
invenio_app_rdm/__init__.py,sha256=wvhsvt-EY0A5QR4vhZi1xv28aqlQEPOgq9IfyyVrSN4,704
|
|
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
|
|
@@ -86,7 +86,7 @@ invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/macros/
|
|
|
86
86
|
invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/macros/version.html,sha256=eA8-n81XUezkwPXvcG5v2sgLPQNTgr7hB36-_Gr-tVI,758
|
|
87
87
|
invenio_app_rdm/records_ui/views/__init__.py,sha256=9DaDls04IQv7fYttDjLofIWGsRRjk-FwUYnIfxV3OWk,5840
|
|
88
88
|
invenio_app_rdm/records_ui/views/decorators.py,sha256=-GdyPh2qIxV_wacAv5uChNx-HW2LiKjHQiRujiu42B4,16510
|
|
89
|
-
invenio_app_rdm/records_ui/views/deposits.py,sha256=
|
|
89
|
+
invenio_app_rdm/records_ui/views/deposits.py,sha256=NGdnAz1VLdVryuV4mOti51TwFW07ZjmrXjT0SkwmxWU,23081
|
|
90
90
|
invenio_app_rdm/records_ui/views/filters.py,sha256=zKuqjM_Yb9MmBmloStjasASYCwVG7mUe0eolI2MtPXg,6998
|
|
91
91
|
invenio_app_rdm/records_ui/views/records.py,sha256=8uA8JKhHU9UvpkqxZ9zcExyceOXibHIq4bMvtJ0DMBc,16220
|
|
92
92
|
invenio_app_rdm/redirector/__init__.py,sha256=AYCTGmfbmkHW3YJXMqXlWBXcBrUsta-QmL9ULX2bjwA,243
|
|
@@ -387,9 +387,9 @@ invenio_app_rdm/theme/templates/semantic-ui/invenio_app_rdm/robots.txt,sha256=Kl
|
|
|
387
387
|
invenio_app_rdm/theme/templates/semantic-ui/invenio_app_rdm/searchbar.html,sha256=tvzez_2CE86wl_lipD44MD1swZcZw5uYqXEvvPMkBIo,2222
|
|
388
388
|
invenio_app_rdm/theme/templates/semantic-ui/invenio_app_rdm/site_footer.html,sha256=C0xluZe7KCkvRKeeMIt6P8v_EfWyuMCQ_JQvlI0M9Xw,1037
|
|
389
389
|
invenio_app_rdm/theme/templates/semantic-ui/invenio_app_rdm/files_integrity_report/email/files_integrity_report.html,sha256=mwbLrf2xabxq0dLQzUNWGHeYVoySo9GaaydT-FKC9g8,1237
|
|
390
|
-
invenio_app_rdm/theme/templates/semantic-ui/invenio_app_rdm/help/search.de.html,sha256=
|
|
391
|
-
invenio_app_rdm/theme/templates/semantic-ui/invenio_app_rdm/help/search.en.html,sha256
|
|
392
|
-
invenio_app_rdm/theme/templates/semantic-ui/invenio_app_rdm/help/search.sv.html,sha256=
|
|
390
|
+
invenio_app_rdm/theme/templates/semantic-ui/invenio_app_rdm/help/search.de.html,sha256=2T90KVwy4ldNrkFuMUQ21TkQMPRO52--RslxBGDWA4Q,9321
|
|
391
|
+
invenio_app_rdm/theme/templates/semantic-ui/invenio_app_rdm/help/search.en.html,sha256=n6fa9WSuiS4sNaGJ3Thw9E9ZqWBA1QTh-DkvhMnAx4Q,8796
|
|
392
|
+
invenio_app_rdm/theme/templates/semantic-ui/invenio_app_rdm/help/search.sv.html,sha256=wbUp8gs4TFEjGuE8d-2A-qywOppntd8tu1ExNut7T3M,9128
|
|
393
393
|
invenio_app_rdm/theme/templates/semantic-ui/invenio_app_rdm/help/statistics.en.html,sha256=gQSJsmsXaLLA8KqEjkyxn7j299Kc0hnjA0sXq0oXeuI,7780
|
|
394
394
|
invenio_app_rdm/theme/templates/semantic-ui/invenio_app_rdm/help/statistics.sv.html,sha256=YauDJm4zKxaSUmAIStlODMKS7eM68SbImJfk8vJj1C0,8081
|
|
395
395
|
invenio_app_rdm/theme/templates/semantic-ui/invenio_app_rdm/help/versioning.en.html,sha256=Rfd4-1vpU92VxppMTLGlS7uzqXWZUtGBARJTalUFuxg,6066
|
|
@@ -484,9 +484,9 @@ invenio_app_rdm/users_ui/views/__init__.py,sha256=SMdY2NJj9GICfr3Xuok7qdNYVtA2bJ
|
|
|
484
484
|
invenio_app_rdm/users_ui/views/dashboard.py,sha256=iUn2PrODAwb8ugmMosJKAjPhUzjCiWiAWoXQr9RUFuc,1793
|
|
485
485
|
invenio_app_rdm/users_ui/views/ui.py,sha256=W_eXM8dLVIrNHQB2UEh37C9BYoHauft6RyvcDNFHovA,1742
|
|
486
486
|
invenio_app_rdm/utils/files.py,sha256=CruDyO2gDVadSlWEJD-WHpWHeOQ0juh-Ei9jz3D9yjc,3923
|
|
487
|
-
invenio_app_rdm-14.0.0b0.
|
|
488
|
-
invenio_app_rdm-14.0.0b0.
|
|
489
|
-
invenio_app_rdm-14.0.0b0.
|
|
490
|
-
invenio_app_rdm-14.0.0b0.
|
|
491
|
-
invenio_app_rdm-14.0.0b0.
|
|
492
|
-
invenio_app_rdm-14.0.0b0.
|
|
487
|
+
invenio_app_rdm-14.0.0b0.dev4.dist-info/licenses/LICENSE,sha256=AZXFHRrZa5s4m9DV7zZr4bPGTMUvcEPCodeV_AmFI8k,1204
|
|
488
|
+
invenio_app_rdm-14.0.0b0.dev4.dist-info/METADATA,sha256=OllJoGUQrjBvv_0WSbvsJnpkz49R7CjCVa7h43koweM,17282
|
|
489
|
+
invenio_app_rdm-14.0.0b0.dev4.dist-info/WHEEL,sha256=JNWh1Fm1UdwIQV075glCn4MVuCRs0sotJIq-J6rbxCU,109
|
|
490
|
+
invenio_app_rdm-14.0.0b0.dev4.dist-info/entry_points.txt,sha256=rfzEeOEdtGy99NlpWzeW-32CoO5XrEpBvlZwLD2Th88,2158
|
|
491
|
+
invenio_app_rdm-14.0.0b0.dev4.dist-info/top_level.txt,sha256=quZejDUw2vLfKQboNIuVLJ9fxZifdnCT_s2PNf1dfmk,16
|
|
492
|
+
invenio_app_rdm-14.0.0b0.dev4.dist-info/RECORD,,
|
|
File without changes
|
{invenio_app_rdm-14.0.0b0.dev3.dist-info → invenio_app_rdm-14.0.0b0.dev4.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{invenio_app_rdm-14.0.0b0.dev3.dist-info → invenio_app_rdm-14.0.0b0.dev4.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
{invenio_app_rdm-14.0.0b0.dev3.dist-info → invenio_app_rdm-14.0.0b0.dev4.dist-info}/top_level.txt
RENAMED
|
File without changes
|