invenio-app-rdm 13.0.1__py2.py3-none-any.whl → 14.0.0b0.dev1__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.1"
20
+ __version__ = "14.0.0b0.dev1"
21
21
 
22
22
  __all__ = ("__version__",)
@@ -182,6 +182,7 @@ def user_dashboard_request_view(request, **kwargs):
182
182
  has_record_topic = has_topic and "record" in request["topic"]
183
183
  has_community_topic = has_topic and "community" in request["topic"]
184
184
  is_record_inclusion = request_type == CommunityInclusion.type_id
185
+ request_permissions = request.has_permissions_to(["action_accept"])
185
186
 
186
187
  if has_record_topic:
187
188
  topic = _resolve_topic_record(request)
@@ -209,7 +210,7 @@ def user_dashboard_request_view(request, **kwargs):
209
210
  record_ui=record_ui,
210
211
  record=record,
211
212
  checks=checks,
212
- permissions=topic["permissions"],
213
+ permissions={**topic["permissions"], **request_permissions},
213
214
  is_preview=is_draft, # preview only when draft
214
215
  is_draft=is_draft,
215
216
  is_published=is_published,
@@ -231,7 +232,7 @@ def user_dashboard_request_view(request, **kwargs):
231
232
  user_avatar=avatar,
232
233
  invenio_request=request.to_dict(),
233
234
  request_is_accepted=request_is_accepted,
234
- permissions={},
235
+ permissions={**request_permissions},
235
236
  include_deleted=False,
236
237
  )
237
238
 
@@ -244,7 +245,7 @@ def user_dashboard_request_view(request, **kwargs):
244
245
  user_avatar=avatar,
245
246
  record=record,
246
247
  record_ui=record_ui,
247
- permissions=topic["permissions"],
248
+ permissions={**topic["permissions"], **request_permissions},
248
249
  invenio_request=request.to_dict(),
249
250
  request_is_accepted=request_is_accepted,
250
251
  include_deleted=False,
@@ -0,0 +1,7 @@
1
+ .ui.search > .results .result {
2
+ .requests-avatar-container .image {
3
+ float: left;
4
+ height: 1em;
5
+ width: unset;
6
+ }
7
+ }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: invenio-app-rdm
3
- Version: 13.0.1
3
+ Version: 14.0.0b0.dev1
4
4
  Summary: Invenio Research Data Management.
5
5
  Home-page: https://github.com/inveniosoftware/invenio-app-rdm
6
6
  Author: CERN
@@ -40,13 +40,13 @@ 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<1.0.0,>=0.4.0
44
- Requires-Dist: invenio-communities<20.0.0,>=19.0.0
45
- Requires-Dist: invenio-rdm-records<20.0.0,>=19.0.0
43
+ Requires-Dist: invenio-collections<2.0.0,>=1.0.0
44
+ Requires-Dist: invenio-communities<21.0.0,>=20.0.0
45
+ Requires-Dist: invenio-rdm-records<21.0.0,>=20.0.0
46
46
  Requires-Dist: CairoSVG<3.0.0,>=2.5.2
47
47
  Requires-Dist: invenio-banners<6.0.0,>=5.0.0
48
48
  Requires-Dist: invenio-pages<8.0.0,>=7.0.0
49
- Requires-Dist: invenio-audit-logs<1.0.0,>=0.1.0
49
+ Requires-Dist: invenio-audit-logs<1.0.0,>=0.3.0
50
50
  Requires-Dist: invenio-sitemap<2.0.0,>=0.1.0
51
51
  Provides-Extra: tests
52
52
  Requires-Dist: pytest-black-ng>=0.4.0; extra == "tests"
@@ -101,101 +101,12 @@ https://inveniordm.docs.cern.ch
101
101
  Changes
102
102
  =======
103
103
 
104
- Version v13.0.1 (released 2025-07-31)
105
-
106
- - fix(deposits): update doi default option only if managed
107
- * Fix logic for selecting default DOI option in deposit form when creating new versions
108
- * Only set managed DOI provider as default when external and not_needed are not in allowed providers
109
- * Improves user experience when versioning records with DataCite DOIs
110
-
111
- Version v13.0.0 (released 2025-07-23)
112
-
113
- - Official release of InvenioRDM v13. Contains all pre-release changes. See
114
- [release notes](https://inveniordm.docs.cern.ch/releases/v13/version-v13.0.0/)
115
-
116
- Version v13.0.0rc9 (released 2025-07-23)
117
-
118
- - fix(migration): wrong variable used
119
-
120
- Version v13.0.0rc8 (released 2025-07-23)
121
-
122
- - migration: improve text in v13 upgrade script
123
-
124
- Version v13.0.0rc7 (released 2025-07-22)
125
-
126
- - fix: license due to copy pasting
127
- - fix: import `overridable-registry.js` in `records_list` macro
128
- - templates: added default_static_page for communties
129
- - ui: log serialization exceptions
130
-
131
- Version v13.0.0rc6 (released 2025-07-21)
132
-
133
- - fix: package.json and package-lock mismatch
134
-
135
- Version v13.0.0rc5 (released 2025-07-17)
136
-
137
- - migration: optimize script
138
- - upgrade_scripts: handle thesis custom field migration
139
- - version: bumped invenio-s3 version to include multipart upload
140
- - templates: macros: doi: Add copy button for DOIs
141
- - semantic-ui: components: CopyButton: add size prop
142
- - semantic-ui: landing_page: ExportButton: Add copy button
143
- - semantic-ui: componenets: add url fetching in copy button
144
- - semantic-ui: landing_page: add click event for cite all versions
145
-
146
- Version v13.0.0rc4 (released 2025-07-10)
147
-
148
- - pid-config: cast to bool RDM_(PARENT)_PERSISTENT_IDENTIFIERS required check
149
- - fix: default parent_doi_required to False
150
- - links: update doc links to updated ones
151
- - i18n: localize DOI labels
152
- - css: remove .invenio-accordion-field qualifier
153
- - css: use SemanticUI variables and fix class names
154
- - ui: ensure accordion caret icons rotate when opened/closed
155
- - config: add Data Package export format
156
-
157
- Version v13.0.0rc3 (released 2025-07-02)
158
-
159
- - deposit-ui: uppy uploader ui feature
160
- - i18n: run js compile_catalog
161
- - i18n: run js extract msgs
162
- - i18n: components.js replace Trans with i18next comp
163
- - i18n: RemoveFromCommunityAction replace Trans with i18next comp
164
- - i18n: RecordVersionList replace Trans with i18next comp
165
- - i18n: ImpersonateUserForm replace Trans with i18next comp
166
- - i18n: CommunityRecordsSearchAppLayout replace Trans with i18next comp
167
- - chore: replace en dash (–) with ASCII dash (-) in source files
168
- - i18n: refactor compileCatalog script
169
- - i18n: Force pull languages
170
- - i18n: extract py msgs
171
-
172
- Version v13.0.0rc2 (released 2025-06-24)
173
-
174
- - communities-ui: pass serialized `community_ui` to Jinja templates
175
- - config: add Celery beat schedule for updating collections size
176
- - admin: always show users admin panel
177
- - fix: pass severityChecks to CustomFields
178
-
179
- Version v13.0.0rc1 (released 2025-06-13)
180
-
181
- - feat(ui): automatic checks for communities (feature flag)
182
- - feat(ui): FAIR signposting
183
- - feat(ui): collections
184
- - feat(ui): records/requests sharing
185
- - feat(api): multipart file upload over the API
186
- - feat(admin): jobs to wrap task in the administration interface (feature flag)
187
- - feat(admin): compare revisions between different records revisions
188
- - feat(admin): audit logs (feature flag)
189
- - feat(api): sitemap
190
- - i18n: option to create translation bundles for python and javascript
191
- - impr(metadata): thesis handling
192
- - impr(ui): Mathjax usage
193
- - impr(ui): visualization of validation errors
194
- - conf: make it possible to configure DOI as optional
195
- - remove: invenio-admin dependency
196
- - maint: upgrade to flask>=3.0
197
- - maint: upgrade to sqlalchemy>=2.0
198
- - dev: configurable use of new tools: uv, rspack, pnpm
104
+ Version v14.0.0b0.dev1 (released 2025-08-01)
105
+
106
+ - setup: bump invenio-communities and invenio-rdm-records
107
+ - theme: add search overrides for reviewers search results
108
+ - requests: add request action_accept permissions to UI
109
+ - theme: update package-lock.json for compiling catalog for frontend tests
199
110
 
200
111
  Version v13.0.0b4.dev2 (released 2025-06-13)
201
112
 
@@ -1,4 +1,4 @@
1
- invenio_app_rdm/__init__.py,sha256=4Hx5n7RvVq-x0IaLAC1ioudUYMQNfakhMnTPPofid3w,697
1
+ invenio_app_rdm/__init__.py,sha256=6dYQGfSQL6Uaziwaadzsqg9EpCluU2_cc9V1KpnqQCI,704
2
2
  invenio_app_rdm/cli.py,sha256=G6QqNU2W6n6ICtTMnpeKFXIsdorncDmVXwwwsGH5F2k,2746
3
3
  invenio_app_rdm/config.py,sha256=MQYHg0C5p5xAphuGOh3lqxp7k9Dboi27uxn7WHkv2JU,52040
4
4
  invenio_app_rdm/ext.py,sha256=K7syn5CU5If7yOclFeNOCZX_u5q6VB7NJEQVm41mlng,5286
@@ -103,7 +103,7 @@ invenio_app_rdm/requests_ui/templates/semantic-ui/invenio_requests/subcommunity/
103
103
  invenio_app_rdm/requests_ui/templates/semantic-ui/invenio_requests/subcommunity-invitation/index.html,sha256=347Saf8Fv78uevCbK2nFiOtNFUT0QyZSZS7lgoNzHdQ,1448
104
104
  invenio_app_rdm/requests_ui/templates/semantic-ui/invenio_requests/user-access-request/index.html,sha256=ltSP9sYPnpmCKMDYpZYU25Wxr3Dfqe2RNDxm6bVjX_I,1779
105
105
  invenio_app_rdm/requests_ui/views/__init__.py,sha256=7QiAyRq8Eu84IXwjzxK63vNeTZnowZ5P85xtw7XgRjs,397
106
- invenio_app_rdm/requests_ui/views/requests.py,sha256=psHuNbN4JJ2zoOiopRAic1RpB93uyem6BFe2aI3vbrI,14165
106
+ invenio_app_rdm/requests_ui/views/requests.py,sha256=dzajYZPoxPvHGUHB1-WHZK8im81QlMx3uK29NgPIZxI,14312
107
107
  invenio_app_rdm/requests_ui/views/ui.py,sha256=DBysYQa__gOCg-pikO6HmoVLmRmMAVWeTBiYhPa7PmA,2359
108
108
  invenio_app_rdm/theme/__init__.py,sha256=QbkxNjjOmGKRlie96HfTXgnFeVQjOX0GdiZnHP7pIhs,277
109
109
  invenio_app_rdm/theme/views.py,sha256=mrcxejY9PlYwEqh8f0ojKX4CtmD9jz4f9rU-5aLZszU,4457
@@ -274,6 +274,8 @@ invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/modules/drop
274
274
  invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/modules/dropdown.variables,sha256=UdGmzpRQpkwwKMbQx3ATB8_ePVuhcNBzqPEP6nPNYuo,408
275
275
  invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/modules/modal.overrides,sha256=niU1Aq42r9mhjJp5OjdJNPg5TiJPyydd1UdqdxkRuTY,2725
276
276
  invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/modules/modal.variables,sha256=KbMF2le7VpZbTAVIZVo30uCx_5OxU8Wn5WflRJ18qxE,152
277
+ invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/modules/search.overrides,sha256=Cs--0FAOHxX1Z_YdMjHUUV3E2E37b2IcQFQc-bjFoVs,143
278
+ invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/modules/search.variables,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
277
279
  invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/modules/tab.overrides,sha256=Mix1n_g7kGaW_6auq8wxK0JFwy9KoP3d8VFRrm6hA0Q,132
278
280
  invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/modules/tab.variables,sha256=OeAvcl-VsP87cqg-r7d9z6624O_sqNcBooccNi2mydI,198
279
281
  invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/modules/transition.overrides,sha256=ddMSC9hBAS4vwjUHhD8RoPo3cZDcezhCRHH6DKZXFps,1250
@@ -482,9 +484,9 @@ invenio_app_rdm/users_ui/views/__init__.py,sha256=SMdY2NJj9GICfr3Xuok7qdNYVtA2bJ
482
484
  invenio_app_rdm/users_ui/views/dashboard.py,sha256=iUn2PrODAwb8ugmMosJKAjPhUzjCiWiAWoXQr9RUFuc,1793
483
485
  invenio_app_rdm/users_ui/views/ui.py,sha256=W_eXM8dLVIrNHQB2UEh37C9BYoHauft6RyvcDNFHovA,1742
484
486
  invenio_app_rdm/utils/files.py,sha256=CruDyO2gDVadSlWEJD-WHpWHeOQ0juh-Ei9jz3D9yjc,3923
485
- invenio_app_rdm-13.0.1.dist-info/licenses/LICENSE,sha256=AZXFHRrZa5s4m9DV7zZr4bPGTMUvcEPCodeV_AmFI8k,1204
486
- invenio_app_rdm-13.0.1.dist-info/METADATA,sha256=ycl_PA7qy5IR7Yzr_AD0dtyr-3-1lQcuTp9u4bq9ynw,19087
487
- invenio_app_rdm-13.0.1.dist-info/WHEEL,sha256=JNWh1Fm1UdwIQV075glCn4MVuCRs0sotJIq-J6rbxCU,109
488
- invenio_app_rdm-13.0.1.dist-info/entry_points.txt,sha256=rfzEeOEdtGy99NlpWzeW-32CoO5XrEpBvlZwLD2Th88,2158
489
- invenio_app_rdm-13.0.1.dist-info/top_level.txt,sha256=quZejDUw2vLfKQboNIuVLJ9fxZifdnCT_s2PNf1dfmk,16
490
- invenio_app_rdm-13.0.1.dist-info/RECORD,,
487
+ invenio_app_rdm-14.0.0b0.dev1.dist-info/licenses/LICENSE,sha256=AZXFHRrZa5s4m9DV7zZr4bPGTMUvcEPCodeV_AmFI8k,1204
488
+ invenio_app_rdm-14.0.0b0.dev1.dist-info/METADATA,sha256=ZszOnmC7_Sen4osMVuWoMvIxRQz9lbWDzrr4BtCBGx0,15701
489
+ invenio_app_rdm-14.0.0b0.dev1.dist-info/WHEEL,sha256=JNWh1Fm1UdwIQV075glCn4MVuCRs0sotJIq-J6rbxCU,109
490
+ invenio_app_rdm-14.0.0b0.dev1.dist-info/entry_points.txt,sha256=rfzEeOEdtGy99NlpWzeW-32CoO5XrEpBvlZwLD2Th88,2158
491
+ invenio_app_rdm-14.0.0b0.dev1.dist-info/top_level.txt,sha256=quZejDUw2vLfKQboNIuVLJ9fxZifdnCT_s2PNf1dfmk,16
492
+ invenio_app_rdm-14.0.0b0.dev1.dist-info/RECORD,,