invenio-app-rdm 14.0.0b1.dev2__py2.py3-none-any.whl → 14.0.0b1.dev3__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/config.py +9 -5
- invenio_app_rdm/records_ui/views/deposits.py +4 -2
- {invenio_app_rdm-14.0.0b1.dev2.dist-info → invenio_app_rdm-14.0.0b1.dev3.dist-info}/METADATA +7 -1
- {invenio_app_rdm-14.0.0b1.dev2.dist-info → invenio_app_rdm-14.0.0b1.dev3.dist-info}/RECORD +9 -9
- {invenio_app_rdm-14.0.0b1.dev2.dist-info → invenio_app_rdm-14.0.0b1.dev3.dist-info}/WHEEL +0 -0
- {invenio_app_rdm-14.0.0b1.dev2.dist-info → invenio_app_rdm-14.0.0b1.dev3.dist-info}/entry_points.txt +0 -0
- {invenio_app_rdm-14.0.0b1.dev2.dist-info → invenio_app_rdm-14.0.0b1.dev3.dist-info}/licenses/LICENSE +0 -0
- {invenio_app_rdm-14.0.0b1.dev2.dist-info → invenio_app_rdm-14.0.0b1.dev3.dist-info}/top_level.txt +0 -0
invenio_app_rdm/__init__.py
CHANGED
invenio_app_rdm/config.py
CHANGED
|
@@ -1095,7 +1095,7 @@ RDM_SEARCH_USER_COMMUNITIES = {
|
|
|
1095
1095
|
|
|
1096
1096
|
RDM_SEARCH_USER_REQUESTS = {
|
|
1097
1097
|
"facets": ["type", "status"],
|
|
1098
|
-
"sort": ["bestmatch", "newest", "oldest"],
|
|
1098
|
+
"sort": ["bestmatch", "newest", "oldest", "newestactivity", "oldestactivity"],
|
|
1099
1099
|
}
|
|
1100
1100
|
"""User requests search configuration (i.e list of user requests)"""
|
|
1101
1101
|
|
|
@@ -1523,7 +1523,7 @@ SITEMAP_SECTIONS = [
|
|
|
1523
1523
|
# ========================================
|
|
1524
1524
|
APP_RDM_MODERATION_REQUEST_SEARCH = {
|
|
1525
1525
|
"facets": ["status", "is_open"],
|
|
1526
|
-
"sort": ["bestmatch", "newest", "oldest", "
|
|
1526
|
+
"sort": ["bestmatch", "newest", "oldest", "newestactivity", "oldestactivity"],
|
|
1527
1527
|
}
|
|
1528
1528
|
"""Moderation requests search configuration."""
|
|
1529
1529
|
|
|
@@ -1540,9 +1540,13 @@ APP_RDM_MODERATION_REQUEST_SORT_OPTIONS = {
|
|
|
1540
1540
|
title=_("Oldest"),
|
|
1541
1541
|
fields=["created"],
|
|
1542
1542
|
),
|
|
1543
|
-
"
|
|
1544
|
-
title=_("
|
|
1545
|
-
fields=["
|
|
1543
|
+
"newestactivity": dict(
|
|
1544
|
+
title=_("Newest activity"),
|
|
1545
|
+
fields=["-last_activity_at"],
|
|
1546
|
+
),
|
|
1547
|
+
"oldestactivity": dict(
|
|
1548
|
+
title=_("Oldest activity"),
|
|
1549
|
+
fields=["last_activity_at"],
|
|
1546
1550
|
),
|
|
1547
1551
|
}
|
|
1548
1552
|
"""Definitions of available record sort options."""
|
|
@@ -535,8 +535,10 @@ def deposit_edit(pid_value, draft=None, draft_files=None, files_locked=True):
|
|
|
535
535
|
|
|
536
536
|
published_record = None
|
|
537
537
|
if record["is_published"]:
|
|
538
|
-
published_record_result = service.read(
|
|
539
|
-
|
|
538
|
+
published_record_result = service.read(
|
|
539
|
+
g.identity, id_=record["id"], expand=True
|
|
540
|
+
)
|
|
541
|
+
published_record = ui_serializer.dump_obj(published_record_result.to_dict())
|
|
540
542
|
|
|
541
543
|
rec_del = RDMRecordDeletionPolicy().evaluate(
|
|
542
544
|
g.identity, published_record_result._record
|
{invenio_app_rdm-14.0.0b1.dev2.dist-info → invenio_app_rdm-14.0.0b1.dev3.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.dev3
|
|
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,12 @@ https://inveniordm.docs.cern.ch
|
|
|
101
101
|
Changes
|
|
102
102
|
=======
|
|
103
103
|
|
|
104
|
+
Version v14.0.0b1.dev3 (released 2025-10-01)
|
|
105
|
+
|
|
106
|
+
- fix(deposit-ui): read expanded published record
|
|
107
|
+
* The UI serializer requires the expanded record service result.
|
|
108
|
+
- feat(config): add last activity sort option
|
|
109
|
+
|
|
104
110
|
Version v14.0.0b1.dev2 (released 2025-09-29)
|
|
105
111
|
|
|
106
112
|
- fix(deposit-ui): use API record for evaluating deletion policy
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
invenio_app_rdm/__init__.py,sha256=
|
|
1
|
+
invenio_app_rdm/__init__.py,sha256=NT4zuILYLdiZOWOgNrF15jN2ufd68qxmVDgaFQ0BlY4,704
|
|
2
2
|
invenio_app_rdm/cli.py,sha256=G6QqNU2W6n6ICtTMnpeKFXIsdorncDmVXwwwsGH5F2k,2746
|
|
3
|
-
invenio_app_rdm/config.py,sha256=
|
|
3
|
+
invenio_app_rdm/config.py,sha256=kxAliLtzXLRysO8qxWxoSt1FhOjuDfzUi8xr40BBIYE,53632
|
|
4
4
|
invenio_app_rdm/ext.py,sha256=K7syn5CU5If7yOclFeNOCZX_u5q6VB7NJEQVm41mlng,5286
|
|
5
5
|
invenio_app_rdm/tasks.py,sha256=FyrIQXVuPjms-dNEnLrVmmdwrX_IykJ87gcSNgOR6O0,1373
|
|
6
6
|
invenio_app_rdm/views.py,sha256=SDr9NwZEWQcgT_3GFRYdDf6eUaK9DfnoafIkhUf9nSI,785
|
|
@@ -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=aQ--FcP_x_Q77Yv2V2jTRccg_lRlgbCPaEdvcFj6aJs,25248
|
|
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
|
|
@@ -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.dev3.dist-info/licenses/LICENSE,sha256=AZXFHRrZa5s4m9DV7zZr4bPGTMUvcEPCodeV_AmFI8k,1204
|
|
499
|
+
invenio_app_rdm-14.0.0b1.dev3.dist-info/METADATA,sha256=8YhaMcHmbeBKcuQhwn3y3h7VCTcUGker3RC4xLPZfJE,17950
|
|
500
|
+
invenio_app_rdm-14.0.0b1.dev3.dist-info/WHEEL,sha256=JNWh1Fm1UdwIQV075glCn4MVuCRs0sotJIq-J6rbxCU,109
|
|
501
|
+
invenio_app_rdm-14.0.0b1.dev3.dist-info/entry_points.txt,sha256=MwtT1SN5saWOgTYhNb5y0YGA9VGAi0kXN0cykIfsb4U,2405
|
|
502
|
+
invenio_app_rdm-14.0.0b1.dev3.dist-info/top_level.txt,sha256=quZejDUw2vLfKQboNIuVLJ9fxZifdnCT_s2PNf1dfmk,16
|
|
503
|
+
invenio_app_rdm-14.0.0b1.dev3.dist-info/RECORD,,
|
|
File without changes
|
{invenio_app_rdm-14.0.0b1.dev2.dist-info → invenio_app_rdm-14.0.0b1.dev3.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{invenio_app_rdm-14.0.0b1.dev2.dist-info → invenio_app_rdm-14.0.0b1.dev3.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
{invenio_app_rdm-14.0.0b1.dev2.dist-info → invenio_app_rdm-14.0.0b1.dev3.dist-info}/top_level.txt
RENAMED
|
File without changes
|