invenio-app-rdm 13.0.0rc9__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.0rc9"
20
+ __version__ = "14.0.0b0.dev1"
21
21
 
22
22
  __all__ = ("__version__",)
@@ -84,10 +84,12 @@ def get_form_pids_config(record=None):
84
84
  optional_doi_transitions["message"] = optional_doi_transitions.get(
85
85
  "message"
86
86
  ).format(sitename=sitename)
87
- if set(optional_doi_transitions["allowed_providers"]) - set(
88
- ["external", "not_needed"]
87
+ if (
88
+ "external" not in optional_doi_transitions["allowed_providers"]
89
+ and "not_needed"
90
+ not in optional_doi_transitions["allowed_providers"]
89
91
  ):
90
- # In case we have locally managed provider as an allowed one, we need to
92
+ # In case we have locally managed provider(s) as allowed ones, we need to
91
93
  # select it by default. That is relevant for the case when the
92
94
  # user creates a new version of the record and the previous version
93
95
  # had a datacite DOI.
@@ -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.0rc9
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,89 +101,12 @@ https://inveniordm.docs.cern.ch
101
101
  Changes
102
102
  =======
103
103
 
104
- Version v13.0.0rc9 (released 2025-07-23)
105
-
106
- - fix(migration): wrong variable used
107
-
108
- Version v13.0.0rc8 (released 2025-07-23)
109
-
110
- - migration: improve text in v13 upgrade script
111
-
112
- Version v13.0.0rc7 (released 2025-07-22)
113
-
114
- - fix: license due to copy pasting
115
- - fix: import `overridable-registry.js` in `records_list` macro
116
- - templates: added default_static_page for communties
117
- - ui: log serialization exceptions
118
-
119
- Version v13.0.0rc6 (released 2025-07-21)
120
-
121
- - fix: package.json and package-lock mismatch
122
-
123
- Version v13.0.0rc5 (released 2025-07-17)
124
-
125
- - migration: optimize script
126
- - upgrade_scripts: handle thesis custom field migration
127
- - version: bumped invenio-s3 version to include multipart upload
128
- - templates: macros: doi: Add copy button for DOIs
129
- - semantic-ui: components: CopyButton: add size prop
130
- - semantic-ui: landing_page: ExportButton: Add copy button
131
- - semantic-ui: componenets: add url fetching in copy button
132
- - semantic-ui: landing_page: add click event for cite all versions
133
-
134
- Version v13.0.0rc4 (released 2025-07-10)
135
-
136
- - pid-config: cast to bool RDM_(PARENT)_PERSISTENT_IDENTIFIERS required check
137
- - fix: default parent_doi_required to False
138
- - links: update doc links to updated ones
139
- - i18n: localize DOI labels
140
- - css: remove .invenio-accordion-field qualifier
141
- - css: use SemanticUI variables and fix class names
142
- - ui: ensure accordion caret icons rotate when opened/closed
143
- - config: add Data Package export format
144
-
145
- Version v13.0.0rc3 (released 2025-07-02)
146
-
147
- - deposit-ui: uppy uploader ui feature
148
- - i18n: run js compile_catalog
149
- - i18n: run js extract msgs
150
- - i18n: components.js replace Trans with i18next comp
151
- - i18n: RemoveFromCommunityAction replace Trans with i18next comp
152
- - i18n: RecordVersionList replace Trans with i18next comp
153
- - i18n: ImpersonateUserForm replace Trans with i18next comp
154
- - i18n: CommunityRecordsSearchAppLayout replace Trans with i18next comp
155
- - chore: replace en dash (–) with ASCII dash (-) in source files
156
- - i18n: refactor compileCatalog script
157
- - i18n: Force pull languages
158
- - i18n: extract py msgs
159
-
160
- Version v13.0.0rc2 (released 2025-06-24)
161
-
162
- - communities-ui: pass serialized `community_ui` to Jinja templates
163
- - config: add Celery beat schedule for updating collections size
164
- - admin: always show users admin panel
165
- - fix: pass severityChecks to CustomFields
166
-
167
- Version v13.0.0rc1 (released 2025-06-13)
168
-
169
- - feat(ui): automatic checks for communities (feature flag)
170
- - feat(ui): FAIR signposting
171
- - feat(ui): collections
172
- - feat(ui): records/requests sharing
173
- - feat(api): multipart file upload over the API
174
- - feat(admin): jobs to wrap task in the administration interface (feature flag)
175
- - feat(admin): compare revisions between different records revisions
176
- - feat(admin): audit logs (feature flag)
177
- - feat(api): sitemap
178
- - i18n: option to create translation bundles for python and javascript
179
- - impr(metadata): thesis handling
180
- - impr(ui): Mathjax usage
181
- - impr(ui): visualization of validation errors
182
- - conf: make it possible to configure DOI as optional
183
- - remove: invenio-admin dependency
184
- - maint: upgrade to flask>=3.0
185
- - maint: upgrade to sqlalchemy>=2.0
186
- - 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
187
110
 
188
111
  Version v13.0.0b4.dev2 (released 2025-06-13)
189
112
 
@@ -1,4 +1,4 @@
1
- invenio_app_rdm/__init__.py,sha256=vCekijNq27g9vZCVKSExgbQ5enM497OZqLUY0XTgctc,700
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
@@ -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=MUUmgGuigmFMigcpyJbNvM0yPKUyeAw5LE6MJ69BoFA,15883
89
- invenio_app_rdm/records_ui/views/deposits.py,sha256=2yUaZIeaGzogztpg0cXInK_twU2n6oP6J60ZA2cz2nA,22394
89
+ invenio_app_rdm/records_ui/views/deposits.py,sha256=26rZSuR5AE8-uDwP6hbgmq6OtLi7BbEkFuZmr5ipb6A,22486
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=u3zvyMk5ADvzC6WhUlxFqjdJMIcuBAwh7PdV_TPg2KE,16454
92
92
  invenio_app_rdm/redirector/__init__.py,sha256=AYCTGmfbmkHW3YJXMqXlWBXcBrUsta-QmL9ULX2bjwA,243
@@ -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.0rc9.dist-info/licenses/LICENSE,sha256=AZXFHRrZa5s4m9DV7zZr4bPGTMUvcEPCodeV_AmFI8k,1204
486
- invenio_app_rdm-13.0.0rc9.dist-info/METADATA,sha256=J8AflPaQur4om8hGNUXvd6ppnrE0e1Jq0yKIvFnABkA,18523
487
- invenio_app_rdm-13.0.0rc9.dist-info/WHEEL,sha256=JNWh1Fm1UdwIQV075glCn4MVuCRs0sotJIq-J6rbxCU,109
488
- invenio_app_rdm-13.0.0rc9.dist-info/entry_points.txt,sha256=rfzEeOEdtGy99NlpWzeW-32CoO5XrEpBvlZwLD2Th88,2158
489
- invenio_app_rdm-13.0.0rc9.dist-info/top_level.txt,sha256=quZejDUw2vLfKQboNIuVLJ9fxZifdnCT_s2PNf1dfmk,16
490
- invenio_app_rdm-13.0.0rc9.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,,