invenio-app-rdm 13.0.0rc1__py2.py3-none-any.whl → 13.0.0rc2__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.0rc1"
20
+ __version__ = "13.0.0rc2"
21
21
 
22
22
  __all__ = ("__version__",)
@@ -97,11 +97,6 @@ class UsersListView(AdminResourceListView):
97
97
  },
98
98
  }
99
99
 
100
- @staticmethod
101
- def disabled():
102
- """Disable the view on demand."""
103
- return not current_app.config["USERS_RESOURCES_ADMINISTRATION_ENABLED"]
104
-
105
100
  def init_search_config(self):
106
101
  """Build search view config."""
107
102
  return partial(
@@ -112,7 +112,8 @@ def communities_home(pid_value, community, community_ui):
112
112
  return render_community_theme_template(
113
113
  "invenio_communities/details/home/index.html",
114
114
  theme=community_ui.get("theme", {}),
115
- community=community_ui,
115
+ community=community,
116
+ community_ui=community_ui,
116
117
  permissions=permissions,
117
118
  records=records_ui,
118
119
  metrics=metrics,
@@ -133,7 +134,8 @@ def communities_browse(pid_value, community, community_ui):
133
134
  return render_community_theme_template(
134
135
  "invenio_communities/details/browse/index.html",
135
136
  theme=community_ui.get("theme", {}),
136
- community=community_ui,
137
+ community=community,
138
+ community_ui=community_ui,
137
139
  permissions=permissions,
138
140
  roles_can_update=_get_roles_can_update(community.id),
139
141
  roles_can_invite=_get_roles_can_invite(community.id),
@@ -162,8 +164,9 @@ def community_static_page(pid_value, community, community_ui, **kwargs):
162
164
  return render_community_theme_template(
163
165
  page["template_name"],
164
166
  theme=community_ui.get("theme", {}),
167
+ community=community,
168
+ community_ui=community_ui,
165
169
  page=page,
166
- community=community_ui,
167
170
  permissions=permissions,
168
171
  )
169
172
 
@@ -192,11 +195,12 @@ def community_collection(
192
195
  collection_ui = collection.to_dict()
193
196
  return render_community_theme_template(
194
197
  "invenio_communities/collections/collection.html",
198
+ theme=community_ui.get("theme", {}),
199
+ community=community,
200
+ community_ui=community_ui,
195
201
  collection=collection_ui,
196
202
  # TODO _collection should not be accessed from here
197
203
  tree=collection._collection.collection_tree,
198
204
  logo=logo,
199
- community=community,
200
205
  permissions=community.has_permissions_to(HEADER_PERMISSIONS),
201
- theme=community_ui.get("theme", {}),
202
206
  )
invenio_app_rdm/config.py CHANGED
@@ -491,6 +491,10 @@ CELERY_BEAT_SCHEDULE = {
491
491
  "task": "invenio_sitemap.tasks.update_sitemap_cache",
492
492
  "schedule": crontab(minute=0, hour=2),
493
493
  },
494
+ "update-collections-size": {
495
+ "task": "invenio_collections.tasks.update_collections_size",
496
+ "schedule": timedelta(hours=1),
497
+ },
494
498
  }
495
499
  """Scheduled tasks configuration (aka cronjobs)."""
496
500
 
@@ -672,6 +672,7 @@ export class RDMDepositForm extends Component {
672
672
  (widget) => import(`react-invenio-forms`),
673
673
  ]}
674
674
  fieldPathPrefix="custom_fields"
675
+ severityChecks={this.severityChecks}
675
676
  />
676
677
  </Overridable>
677
678
  )}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: invenio-app-rdm
3
- Version: 13.0.0rc1
3
+ Version: 13.0.0rc2
4
4
  Summary: Invenio Research Data Management.
5
5
  Home-page: https://github.com/inveniosoftware/invenio-app-rdm
6
6
  Author: CERN
@@ -101,7 +101,14 @@ https://inveniordm.docs.cern.ch
101
101
  Changes
102
102
  =======
103
103
 
104
- Version v13.0.0r1 (released 2025-06-13)
104
+ Version v13.0.0rc2 (released 2025-06-24)
105
+
106
+ - communities-ui: pass serialized `community_ui` to Jinja templates
107
+ - config: add Celery beat schedule for updating collections size
108
+ - admin: always show users admin panel
109
+ - fix: pass severityChecks to CustomFields
110
+
111
+ Version v13.0.0rc1 (released 2025-06-13)
105
112
 
106
113
  - feat(ui): automatic checks for communities (feature flag)
107
114
  - feat(ui): FAIR signposting
@@ -1,6 +1,6 @@
1
- invenio_app_rdm/__init__.py,sha256=-7uFRhiaVZsStKt9vCM7tXGFZa9IrUsFqemPLs1wqjk,700
1
+ invenio_app_rdm/__init__.py,sha256=B4KDdURqbJwvkfHzSvN5wwf5dinAocX4LQBTlQEbntk,700
2
2
  invenio_app_rdm/cli.py,sha256=G6QqNU2W6n6ICtTMnpeKFXIsdorncDmVXwwwsGH5F2k,2746
3
- invenio_app_rdm/config.py,sha256=IGAlE1QJsAgawB67di-Cs93nn5OdGKUDFu97L3bcODg,51369
3
+ invenio_app_rdm/config.py,sha256=2GrsvLwKsaeQMciaPAzRWZJDat9flcR0xFGw6ENWgUo,51518
4
4
  invenio_app_rdm/ext.py,sha256=PkZhATGJDgYqBJQh41NdvBZWR83mgI3Eej6rj10UVJE,5278
5
5
  invenio_app_rdm/tasks.py,sha256=FyrIQXVuPjms-dNEnLrVmmdwrX_IykJ87gcSNgOR6O0,1373
6
6
  invenio_app_rdm/views.py,sha256=SDr9NwZEWQcgT_3GFRYdDf6eUaK9DfnoafIkhUf9nSI,785
@@ -21,7 +21,7 @@ invenio_app_rdm/administration/templates/semantic-ui/invenio_app_rdm/administrat
21
21
  invenio_app_rdm/administration/user_moderation/__init__.py,sha256=Sjr8wWgMZvdoB_dLgK6DhdR5AbDD8pFerICahK28gIw,409
22
22
  invenio_app_rdm/administration/user_moderation/user_moderation.py,sha256=UQsKnLSmE74YEBJpD_p4ahnhAAcLMfn1ZemWIF-7rj8,5519
23
23
  invenio_app_rdm/administration/users/__init__.py,sha256=9VKzlnspXihxn193FlqBxbFRlxARCQCQ20x2CD24vyc,366
24
- invenio_app_rdm/administration/users/users.py,sha256=y3QHZ1mJ74tXf5OsXwjKFbGctyRJbf3enTyb7B8JL1c,4535
24
+ invenio_app_rdm/administration/users/users.py,sha256=zhISrXpmg78Aumf-lfQanTeuGJno47D_xt-nKY1R7Cc,4374
25
25
  invenio_app_rdm/administration/views/__init__.py,sha256=2z29bPLUgK4jR_ztgNk4LunTfH4pheiZVM0kLvMf1RE,313
26
26
  invenio_app_rdm/administration/views/ui.py,sha256=IInmlFgWv6mUfKTHEUfe_czwY6u01j4SYyGMDS2hBsI,543
27
27
  invenio_app_rdm/communities_ui/__init__.py,sha256=7hAwfcQHeSbqIYHyuHqLhJgYXg6NxId4U9NueCQR3uo,325
@@ -32,7 +32,7 @@ invenio_app_rdm/communities_ui/templates/semantic-ui/invenio_communities/collect
32
32
  invenio_app_rdm/communities_ui/templates/semantic-ui/invenio_communities/details/browse/index.html,sha256=3cp9pSf1ItKA-PHm2hnmc_x7pIryTFxpxk_yfrgFz3o,2125
33
33
  invenio_app_rdm/communities_ui/templates/semantic-ui/invenio_communities/records/index.html,sha256=5Ub4uyVsjjTHzbhNe8Y-AAZG5oI28wZs2jQXvSPofXw,700
34
34
  invenio_app_rdm/communities_ui/views/__init__.py,sha256=HsbOWjDobxXGx6WFlTn45JYr0V9yqjCpDXOR_i2wmtw,401
35
- invenio_app_rdm/communities_ui/views/communities.py,sha256=e-mZh9ipKruDGxcA5JcdcmcKDx0_3nxZsPbKBLhlZdM,6831
35
+ invenio_app_rdm/communities_ui/views/communities.py,sha256=LPSe4ixyJvmO3auHJK3Y6ukQZ4zu3SQyT_PLL6fU1A0,6966
36
36
  invenio_app_rdm/communities_ui/views/ui.py,sha256=YZ9yiZazEutwkpR4xEolLe6mUtiTJrxVdCOtQGAILOw,3007
37
37
  invenio_app_rdm/fixtures/__init__.py,sha256=XwWy4U66FkpWOEBFfn5EnXfuTKlXnh3HWZNBMDX4Rgk,1512
38
38
  invenio_app_rdm/fixtures/oai_sets.py,sha256=ZoS94FNkIsdEJWHihZRYvFAstp3GBrZ0viDml9mQXOI,621
@@ -170,7 +170,7 @@ invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/components/CopyButto
170
170
  invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/components/DisplayPartOfCommunities.js,sha256=bSmhuwSWk4CW80mqa4ZZbjfa-_NsiJ1IxQ9veDy6sAM,2751
171
171
  invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/components/DisplayVerifiedCommunity.js,sha256=m3rT8jJ3440ZX22zZog8bHatWltYXwvmw_tu6tJUM9k,1506
172
172
  invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/components/RecordsResultsListItem.js,sha256=RTSQBlGQY7ww7fVGHDvDfWQNyJ07mnEoyboTGIcCgD4,6694
173
- invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/deposit/RDMDepositForm.js,sha256=YCLDocPHyKu2NBuiQTKfWn0bxXAMv-_d8FgbjxtDPyw,33167
173
+ invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/deposit/RDMDepositForm.js,sha256=6rEXJ_lpfWSwLxKxc7b3GYvo8ZOl5JJ1Voqs3c_PLLg,33226
174
174
  invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/deposit/ShareDraftButton.js,sha256=ICMV4Ixe-nTe6q7COZ0oyAQf2nVp2cez_-iUZobwUD0,1998
175
175
  invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/deposit/config.js,sha256=rd2wqiwmYOkh4kWe8AiGWJar2kA8R8TkGMnX5XZvihs,1473
176
176
  invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/deposit/index.js,sha256=gA0BaUFpaJr9nkmHSWoxuwKDfSD3JUTPcadj2TKHN24,1587
@@ -479,7 +479,7 @@ invenio_app_rdm/users_ui/views/__init__.py,sha256=SMdY2NJj9GICfr3Xuok7qdNYVtA2bJ
479
479
  invenio_app_rdm/users_ui/views/dashboard.py,sha256=iUn2PrODAwb8ugmMosJKAjPhUzjCiWiAWoXQr9RUFuc,1793
480
480
  invenio_app_rdm/users_ui/views/ui.py,sha256=W_eXM8dLVIrNHQB2UEh37C9BYoHauft6RyvcDNFHovA,1742
481
481
  invenio_app_rdm/utils/files.py,sha256=CruDyO2gDVadSlWEJD-WHpWHeOQ0juh-Ei9jz3D9yjc,3923
482
- invenio_app_rdm-13.0.0rc1.dist-info/licenses/LICENSE,sha256=AZXFHRrZa5s4m9DV7zZr4bPGTMUvcEPCodeV_AmFI8k,1204
482
+ invenio_app_rdm-13.0.0rc2.dist-info/licenses/LICENSE,sha256=AZXFHRrZa5s4m9DV7zZr4bPGTMUvcEPCodeV_AmFI8k,1204
483
483
  tests/__init__.py,sha256=yKVf0yYRuxmXvyAtLjmfpHGVCsEkZOhs_FojAAM_w-8,244
484
484
  tests/conftest.py,sha256=kxOf2CiULBuE9m-ncNv4AtofUVx7iSnvVljlsdI_iCE,11507
485
485
  tests/test_tasks.py,sha256=YAf2mryFK6Vfzk2053XLBA2e92vbNCTWqJ6ThWhGOuQ,6645
@@ -514,8 +514,8 @@ tests/ui/test_robotstxt.py,sha256=Gn0bVPJTDRQH6DO5GGZyD6iMel1UxWRHP5MnGQZ0j18,11
514
514
  tests/ui/test_signposting_ui.py,sha256=KCSjQlMD2VKlwQCyZYDwYjtVNL35x3u-ZC4ceD5y21w,3847
515
515
  tests/ui/test_sitemaps.py,sha256=hPeGbo9v5Q55swr-ZyudAVYm7aJ6lCKV51Vtupk450Q,3180
516
516
  tests/ui/test_stats_ui.py,sha256=LHa_0hjvpYvliSk_jknWy-90CO82jVElUfK5Ua_ZmfA,3554
517
- invenio_app_rdm-13.0.0rc1.dist-info/METADATA,sha256=Pde9wneq67RCkVsoOEL6TzCAAI4g5MDE7gjFjW2nxMo,16241
518
- invenio_app_rdm-13.0.0rc1.dist-info/WHEEL,sha256=JNWh1Fm1UdwIQV075glCn4MVuCRs0sotJIq-J6rbxCU,109
519
- invenio_app_rdm-13.0.0rc1.dist-info/entry_points.txt,sha256=rfzEeOEdtGy99NlpWzeW-32CoO5XrEpBvlZwLD2Th88,2158
520
- invenio_app_rdm-13.0.0rc1.dist-info/top_level.txt,sha256=NqTqrntInEAci7EXcNBvouXFMqwyjVQhEI0b7izYRBY,22
521
- invenio_app_rdm-13.0.0rc1.dist-info/RECORD,,
517
+ invenio_app_rdm-13.0.0rc2.dist-info/METADATA,sha256=iyVWzscwQtfX8Nu03sBqxPhRoJDg-tW7uCSYWWT3a6U,16500
518
+ invenio_app_rdm-13.0.0rc2.dist-info/WHEEL,sha256=JNWh1Fm1UdwIQV075glCn4MVuCRs0sotJIq-J6rbxCU,109
519
+ invenio_app_rdm-13.0.0rc2.dist-info/entry_points.txt,sha256=rfzEeOEdtGy99NlpWzeW-32CoO5XrEpBvlZwLD2Th88,2158
520
+ invenio_app_rdm-13.0.0rc2.dist-info/top_level.txt,sha256=NqTqrntInEAci7EXcNBvouXFMqwyjVQhEI0b7izYRBY,22
521
+ invenio_app_rdm-13.0.0rc2.dist-info/RECORD,,