You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changes made in v5.13 and v5.14 in multiple PRs to improve the embedded Schema.org metadata in dataset pages will only be propagated to the Schema.Org JSON-LD metadata export if a reExportAll() is done.
2
+
3
+
The 5.14 release notes should include the standard instructions for doing a reExportAll after updating the code.
Email sent from the contact forms to the contact(s) for a collection, dataset, or datafile can now optionally be cc'd to a support email address. The support email address can be changed from the default :SystemEmail address to a separate :SupportEmail address. When multiple contacts are listed, the system will now send one email to all contacts (with the optional cc if configured) instead of separate emails to each contact. Contact names with a comma that refer to Organizations will no longer have the name parts reversed in the email greeting. A new protected feedback API has been added.
4
+
5
+
## Backward Incompatibilities
6
+
7
+
When there are multiple contacts, the system will now send one email with all of the contacts in the To: header instead of sending one email to each contact (with no indication that others have been notified).
8
+
9
+
## New JVM/MicroProfile Settings
10
+
11
+
dataverse.mail.support-email - allows a separate email, distinct from the :SystemEmail to be used as the to address in emails from the contact form/ feedback api.
12
+
dataverse.mail.cc-support-on-contact-emails - include the support email address as a CC: entry when contact/feedback emails are sent to the contacts for a collection, dataset, or datafile.
### Support for Grouping Dataset Files by Folder and Category Tag
2
+
3
+
Dataverse now supports grouping dataset files by folder and/or optionally by Tag/Category. The default for whether to order by folder can be changed via :OrderByFolder. Ordering by category must be enabled by an administrator via the :CategoryOrder parameter which is used to specify which tags appear first (e.g. to put Documentation files before Data or Code files, etc.) These Group-By options work with the existing sort options, i.e. sorting alphabetically means that files within each folder or tag group will be sorted alphabetically. :AllowUsersToManageOrdering can be set to true to allow users to turn folder ordering and category ordering (if enabled) on or off in the current dataset view.
4
+
5
+
### New Setting
6
+
7
+
:CategoryOrder - a comma separated list of Category/Tag names defining the order in which files with those tags should be displayed. The setting can include custom tag names along with the pre-defined defaults ( Documentation, Data, and Code, which can be overridden by the ::FileCategories setting.)
8
+
:OrderByFolder - defaults to true - whether to group files in the same folder together
9
+
:AllowUserManagementOfOrder - default false - allow users to toggle ordering on/off in the dataset display
This enhancement allows depositors to define multiple instances of the metadata field Series in the Citation Metadata block.
3
+
4
+
## Major Use Cases and Infrastructure Enhancements
5
+
* Data contained in a dataset may belong to multiple series. Making the field Series repeatable will make it possible to reflect this fact in the dataset metadata. (Issue #9255, PR #9256)
curl http://localhost:8080/api/admin/datasetfield/load -X POST --data-binary @citation.tsv -H "Content-type: text/tab-separated-values"
13
+
14
+
## Additional Release Steps
15
+
16
+
1. Replace Solr schema.xml to allow multiple series to be used. See specific instructions below for those installations without custom metadata blocks (1a) and those with custom metadata blocks (1b).
17
+
18
+
1a.
19
+
20
+
For installations without Custom Metadata Blocks:
21
+
22
+
-stop solr instance (usually service solr stop, depending on solr installation/OS, see the Installation Guide
Copy file name to clipboardExpand all lines: doc/sphinx-guides/source/api/native-api.rst
+30Lines changed: 30 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1618,6 +1618,8 @@ The fully expanded example above (without environment variables) looks like this
1618
1618
1619
1619
The people who need to review the dataset (often curators or journal editors) can check their notifications periodically via API to see if any new datasets have been submitted for review and need their attention. See the :ref:`Notifications` section for details. Alternatively, these curators can simply check their email or notifications to know when datasets have been submitted (or resubmitted) for review.
1620
1620
1621
+
.. _return-a-dataset:
1622
+
1621
1623
Return a Dataset to Author
1622
1624
~~~~~~~~~~~~~~~~~~~~~~~~~~
1623
1625
@@ -1645,6 +1647,8 @@ The fully expanded example above (without environment variables) looks like this
1645
1647
1646
1648
The review process can sometimes resemble a tennis match, with the authors submitting and resubmitting the dataset over and over until the curators are satisfied. Each time the curators send a "reason for return" via API, that reason is persisted into the database, stored at the dataset version level.
1647
1649
1650
+
The :ref:`send-feedback` API call may be useful as a way to move the conversation to email. However, note that these emails go to contacts (versus authors) and there is no database record of the email contents. (:ref:`dataverse.mail.cc-support-on-contact-email` will send a copy of these emails to the support email address which would provide a record.)
1651
+
1648
1652
Link a Dataset
1649
1653
~~~~~~~~~~~~~~
1650
1654
@@ -4497,3 +4501,29 @@ A curl example using allowing access to a dataset's metadata
4497
4501
4498
4502
Please see :ref:`dataverse.api.signature-secret` for the configuration option to add a shared secret, enabling extra
4499
4503
security.
4504
+
4505
+
.. _send-feedback:
4506
+
4507
+
Send Feedback To Contact(s)
4508
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
4509
+
4510
+
This API call allows sending an email to the contacts for a collection, dataset, or datafile or to the support email address when no object is specified.
4511
+
The call is protected by the normal /admin API protections (limited to localhost or requiring a separate key), but does not otherwise limit the sending of emails.
4512
+
Administrators should be sure only trusted applications have access to avoid the potential for spam.
4513
+
4514
+
The call is a POST with a JSON object as input with four keys:
4515
+
- "targetId" - the id of the collection, dataset, or datafile. Persistent ids and collection aliases are not supported. (Optional)
4516
+
- "subject" - the email subject line
4517
+
- "body" - the email body to send
4518
+
- "fromEmail" - the email to list in the reply-to field. (Dataverse always sends mail from the system email, but does it "on behalf of" and with a reply-to for the specified user.)
4519
+
4520
+
A curl example using an ``ID``
4521
+
4522
+
.. code-block:: bash
4523
+
4524
+
export SERVER_URL=http://localhost
4525
+
export JSON='{"targetId":24, "subject":"Data Question", "body":"Please help me understand your data. Thank you!", "fromEmail":"dataverseSupport@mailinator.com"}'
4526
+
4527
+
curl -X POST -H 'Content-Type:application/json' -d "$JSON" $SERVER_URL/api/admin/feedback
4528
+
4529
+
Note that this call could be useful in coordinating with dataset authors (assuming they are also contacts) as an alternative/addition to the functionality provided by :ref:`return-a-dataset`.
Copy file name to clipboardExpand all lines: doc/sphinx-guides/source/installation/config.rst
+41Lines changed: 41 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2349,6 +2349,27 @@ See :ref:`discovery-sign-posting` for details.
2349
2349
2350
2350
Can also be set via any `supported MicroProfile Config API source`_, e.g. the environment variable ``DATAVERSE_SIGNPOSTING_LEVEL1_ITEM_LIMIT``.
2351
2351
2352
+
dataverse.mail.support-email
2353
+
++++++++++++++++++++++++++++
2354
+
2355
+
This provides an email address distinct from the :ref:`systemEmail` that will be used as the email address for Contact Forms and Feedback API. This address is used as the To address when the Contact form is launched from the Support entry in the top navigation bar and, if configured via :ref:`dataverse.mail.cc-support-on-contact-email`, as a CC address when the form is launched from a Dataverse/Dataset Contact button.
2356
+
This allows configuration of a no-reply email address for :ref:`systemEmail` while allowing feedback to go to/be cc'd to the support email address, which would normally accept replies. If not set, the :ref:`systemEmail` is used for the feedback API/contact form email.
2357
+
2358
+
Note that only the email address is required, which you can supply without the ``<`` and ``>`` signs, but if you include the text, it's the way to customize the name of your support team, which appears in the "from" address in emails as well as in help text in the UI. If you don't include the text, the installation name (see :ref:`Branding Your Installation`) will appear in the "from" address.
2359
+
2360
+
Can also be set via any `supported MicroProfile Config API source`_, e.g. the environment variable ``DATAVERSE_MAIL_SUPPORT_EMAIL``.
2361
+
2362
+
.. _dataverse.mail.cc-support-on-contact-email:
2363
+
2364
+
dataverse.mail.cc-support-on-contact-email
2365
+
++++++++++++++++++++++++++++++++++++++++++
2366
+
2367
+
If this setting is true, the contact forms and feedback API will cc the system (:SupportEmail if set, :SystemEmail if not) when sending email to the collection, dataset, or datafile contacts.
2368
+
A CC line is added to the contact form when this setting is true so that users are aware that the cc will occur.
2369
+
The default is false.
2370
+
2371
+
Can also be set via *MicroProfile Config API* sources, e.g. the environment variable ``DATAVERSE_MAIL_CC_SUPPORT_ON_CONTACT_EMAIL``.
2372
+
2352
2373
2353
2374
.. _feature-flags:
2354
2375
@@ -3710,6 +3731,8 @@ For example:
3710
3731
3711
3732
When set to ``true``, this setting allows a superuser to publish and/or update Dataverse collections and datasets bypassing the external validation checks (specified by the settings above). In an event where an external script is reporting validation failures that appear to be in error, this option gives an admin with superuser privileges a quick way to publish the dataset or update a collection for the user.
3712
3733
3734
+
.. _:FileCategories:
3735
+
3713
3736
:FileCategories
3714
3737
+++++++++++++++
3715
3738
@@ -3811,4 +3834,22 @@ To use the current GDCC version directly:
3811
3834
3812
3835
``curl -X PUT -d 'https://gdcc.github.io/dvwebloader/src/dvwebloader.html' http://localhost:8080/api/admin/settings/:WebloaderUrl``
3813
3836
3837
+
:CategoryOrder
3838
+
++++++++++++++
3839
+
3840
+
A comma separated list of Category/Tag names defining the order in which files with those tags should be displayed.
3841
+
The setting can include custom tag names along with the pre-defined tags(Documentation, Data, and Code are the defaults but the :ref:`:FileCategories` setting can be used to use a different set of tags).
3842
+
The default is category ordering disabled.
3843
+
3844
+
:OrderByFolder
3845
+
++++++++++++++
3846
+
3847
+
A true(default)/false option determining whether datafiles listed on the dataset page should be grouped by folder.
3848
+
3849
+
:AllowUserManagementOfOrder
3850
+
+++++++++++++++++++++++++++
3851
+
3852
+
A true/false (default) option determining whether the dataset datafile table display includes checkboxes enabling users to turn folder ordering and/or category ordering (if an order is defined by :CategoryOrder) on and off dynamically.
3853
+
3814
3854
.. _supported MicroProfile Config API source: https://docs.payara.fish/community/docs/Technical%20Documentation/MicroProfile/Config/Overview.html
Copy file name to clipboardExpand all lines: scripts/api/data/metadatablocks/citation.tsv
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,7 @@
66
66
dateOfCollectionStart Start Date The date when the data collection started YYYY-MM-DD date 62 #NAME: #VALUE FALSE FALSE FALSE FALSE FALSE FALSE dateOfCollection citation
67
67
dateOfCollectionEnd End Date The date when the data collection ended YYYY-MM-DD date 63 #NAME: #VALUE FALSE FALSE FALSE FALSE FALSE FALSE dateOfCollection citation
68
68
kindOfData Data Type The type of data included in the files (e.g. survey data, clinical data, or machine-readable text) text 64 TRUE FALSE TRUE TRUE FALSE FALSE citation http://rdf-vocabulary.ddialliance.org/discovery#kindOfData
69
-
series Series Information about the dataset series to which the Dataset belong none 65 : FALSE FALSE FALSE FALSE FALSE FALSE citation
69
+
series Series Information about the dataset series to which the Dataset belong none 65 : FALSE FALSE TRUE FALSE FALSE FALSE citation
70
70
seriesName Name The name of the dataset series text 66 #VALUE TRUE FALSE FALSE TRUE FALSE FALSE series citation
71
71
seriesInformation Information Can include 1) a history of the series and 2) a summary of features that apply to the series textbox 67 #VALUE FALSE FALSE FALSE FALSE FALSE FALSE series citation
72
72
software Software Information about the software used to generate the Dataset none 68 , FALSE FALSE TRUE FALSE FALSE FALSE citation https://www.w3.org/TR/prov-o/#wasGeneratedBy
0 commit comments