Skip to content
Merged

v4.6 #3524

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
233 commits
Select commit Hold shift + click to select a range
49964e2
Wired the File pg back up to the Dataset pg, commented out broken fil…
mheppler Jul 22, 2016
2eb1f34
create migrate_passwords.sql
donsizemore Aug 5, 2016
76a130e
Fix psql_exec commands to work with different passwords.
Aug 17, 2016
8fa5ecd
Merge branch 'develop' into file-metadata-provenance-2295
mheppler Sep 8, 2016
fd641a8
Added static placeholders (e.g. download, request access, and explore…
mheppler Sep 12, 2016
dca11ab
Merge branch 'develop' into file-metadata-provenance-2295
sekmiller Sep 12, 2016
d63fc81
Merge remote-tracking branch 'origin/file-metadata-provenance-2295' i…
sekmiller Sep 13, 2016
d813105
#3358: Illegal command translates to , which is in line with HTTP/1.1…
michbarsinai Sep 15, 2016
d15b489
Updated response for illegal commands
michbarsinai Sep 15, 2016
421ed3b
Merge branch '1380-honor-ip-groups' into 3358-api-cleanup
michbarsinai Sep 16, 2016
330d359
adds ability to get and set dataverseType via son
bmckinney Sep 16, 2016
b703e27
Support SHA1 rather than MD5 as a checksum on a per file basis #3354
pdurbin Sep 20, 2016
203966f
add more tests for setting dv category via API #3371
pdurbin Sep 21, 2016
2af246f
Merge branch 'develop' into sbgrid-json-migration #3371
pdurbin Sep 21, 2016
5ce2314
Merge branch 'develop' into sbgrid-json-migration
pdurbin Sep 23, 2016
801f802
Merge branch 'develop' into 3354-alt-checksum
pdurbin Sep 23, 2016
20cef00
Merge branch 'develop' into 3354-alt-checksum
pdurbin Sep 23, 2016
6f4165a
set values before applying null constraint, cleanup #3354
pdurbin Sep 23, 2016
da85e0f
Merged
michbarsinai Sep 23, 2016
2b2a3c7
removed unused cruft #3354
pdurbin Sep 23, 2016
f04edc2
Added infrastructure for better DSL-like API creation. Also, used it …
michbarsinai Sep 25, 2016
231e3ff
Updated Datasets, Roles and some Groups and Admins to the new infrast…
michbarsinai Sep 25, 2016
35703a1
Merge branch 'develop' into 3358-api-cleanup
michbarsinai Sep 25, 2016
c83f555
Resolved merge conflicts with develop
michbarsinai Sep 25, 2016
2a41556
Merge branch 'develop' into sbgrid-json-migration
pdurbin Sep 26, 2016
002e98f
Merge branch 'develop' into 3354-alt-checksum
pdurbin Sep 26, 2016
e8d19b3
Put maintenance page back in branch #2588
pdurbin Sep 27, 2016
5c3b88e
Updated docs and expected return code in DataversesIT
michbarsinai Sep 27, 2016
d315204
Use CONFIG_DEFAULTS for postgres user.
Sep 27, 2016
3f4be2c
Merge branch 'develop' into 3354-alt-checksum
pdurbin Sep 28, 2016
efa4372
Updated integration tests. Updated some Admin methods to use new infr…
michbarsinai Sep 28, 2016
9b5f7af
stupid EJB timer. kill it #3336 #3358
pdurbin Sep 29, 2016
bc21c6f
Merge branch 'develop' into 2588-maintenance-pg
pdurbin Sep 30, 2016
4286653
Merge branch 'develop' into sbgrid-json-migration
pdurbin Sep 30, 2016
5e26721
Merge branch 'develop' into 3354-alt-checksum
pdurbin Sep 30, 2016
9e06128
Merge branch 'develop' into 3358-api-cleanup
pdurbin Sep 30, 2016
301e34a
Merge pull request #3367 from IQSS/3354-alt-checksum
kcondon Oct 4, 2016
372c0ee
Merge branch 'develop' into file-metadata-provenance-2295
sekmiller Oct 5, 2016
e8a9116
#2465 File Landing Page move download button logic and processing out…
sekmiller Oct 6, 2016
85d578d
Fix Merge issues
sekmiller Oct 6, 2016
5e26dad
Another merge issue
sekmiller Oct 6, 2016
5a55c9a
More merge issues plus fix edit file
sekmiller Oct 6, 2016
6422143
Remove Static Buttons
sekmiller Oct 6, 2016
02a6e54
Enable Citation Downloads
sekmiller Oct 6, 2016
5d95fe1
Remove Debug note
sekmiller Oct 6, 2016
c58efbc
Enable Edit File Metadata Button
sekmiller Oct 6, 2016
1ebd12a
Added missing links to Appendix and Account Creation & Management pgs…
mheppler Oct 6, 2016
eb8422a
UI clean up of the Download button and other action buttons on the fi…
mheppler Oct 10, 2016
af7d617
File Landing Page - Fix Redirects after edit
sekmiller Oct 11, 2016
8cfa44c
Fix Redirect from (Un)Restrict Method when a new version created
sekmiller Oct 11, 2016
d43b836
Fix Guestbook Required Bug to ensure use of current version
sekmiller Oct 12, 2016
75be9d1
Cleaning up some error logging
sekmiller Oct 12, 2016
e9fac23
Additional UI clean up of the Download button and other action button…
mheppler Oct 12, 2016
b3ac826
partial commit, in order to push the branch onto github.
landreev Oct 13, 2016
6261321
Merge pull request #3400 from IQSS/3023-guides-missing-link
kcondon Oct 13, 2016
bec3354
Merge branch 'develop' into file-metadata-provenance-2295
pdurbin Oct 13, 2016
ca52c47
Merge pull request #3292 from telnoratti/fix_install_pw
kcondon Oct 13, 2016
6e1171b
Merge pull request #3385 from IQSS/2588-maintenance-pg
kcondon Oct 14, 2016
93cbf96
Move File Date Display Method to File Metadata
sekmiller Oct 14, 2016
510b907
Document JSON required to create a dataverse #3371
pdurbin Oct 14, 2016
8f1dd62
Merge branch 'develop' into sbgrid-json-migration
pdurbin Oct 14, 2016
6baa019
Merge branch 'develop' into file-metadata-provenance-2295
sekmiller Oct 14, 2016
8ad3431
Merge pull request #3373 from IQSS/sbgrid-json-migration
kcondon Oct 14, 2016
68519e6
Added placeholder file name/label/unf content for citation on file pg…
mheppler Oct 14, 2016
ded7d19
Merge branch 'develop' into 3358-api-cleanup
pdurbin Oct 14, 2016
c95dec5
Removed brackets around file UNF for citation on file pg. [ref #2465]
mheppler Oct 14, 2016
a7c9d27
Complete fixes for #3307
landreev Oct 17, 2016
9b99157
Merge branch 'develop' into file-metadata-provenance-2295
sekmiller Oct 17, 2016
53d9468
A few more code changes for the OAI branch:
landreev Oct 17, 2016
d89b2c7
removed unused imports from the oai servlet
landreev Oct 17, 2016
19910c1
and a few more changes - final-final reorganization of the stream wri…
landreev Oct 17, 2016
553e71d
Merge branch 'develop' into 3307-oai-compliance
landreev Oct 18, 2016
bcd1f73
Clean up a couple of UI todos
sekmiller Oct 18, 2016
21d4849
Add Dataverse name to page title
sekmiller Oct 18, 2016
f9e6b14
Explain how to get Shibboleth working with SELinux #3406
pdurbin Oct 18, 2016
8231232
adds directoryLabel to FileMetadata
bmckinney Oct 18, 2016
a2266ce
modify the the md5 properties to conform to the new methods
bmckinney Oct 19, 2016
640fe54
attempt to include directoryLabel when checking for filename duplicates
bmckinney Oct 19, 2016
33d6a4f
Various UI cleanup for file pg, moved inline CSS to stylesheet, text …
mheppler Oct 19, 2016
9874363
Removed brackets around UNF in dataset citation, added formatting for…
mheppler Oct 19, 2016
931d232
Implemented #3209 - putting the 'test' endpoint under 'admin'
michbarsinai Oct 19, 2016
66cdb19
Metadata root API now semantically correct, maintaining backwards com…
michbarsinai Oct 19, 2016
a509fca
conforms integration test setUpClass to Dataverse conventions
bmckinney Oct 19, 2016
153ee90
Add File Level Citation
sekmiller Oct 20, 2016
47166e0
Added "Ingest in progress..." back to dataset pg. Corrected typo in b…
mheppler Oct 20, 2016
bf950ef
For file pg, fixed spacing issues with publish status labels, "DRAFT"…
mheppler Oct 20, 2016
dff1f32
JSON 404,405 messsages for the API part of the app (re: #3235)
michbarsinai Oct 23, 2016
66bce85
Added the handlers
michbarsinai Oct 24, 2016
b3e8483
prevent leading and trailing file separators in directoryLabel
bmckinney Oct 24, 2016
903f4ff
creates IngestServiceBeanHelper to help with unit testing
bmckinney Oct 24, 2016
8e4b749
adds test to check that directory labels with leading or trailing sep…
bmckinney Oct 24, 2016
03859d0
#1267 Fix admin view of deaccessioned Datasets
sekmiller Oct 24, 2016
4e59b22
validate FileMetadatas along with dataset #3405
pdurbin Oct 24, 2016
95774dd
move the two useful "test" methods under "admin" #3209
pdurbin Oct 24, 2016
ffc91db
Merge pull request #3381 from IQSS/3358-api-cleanup
kcondon Oct 24, 2016
75fc46d
File Landing Page Add Logic for display of Deaccessioned
sekmiller Oct 24, 2016
1c804a1
Add deaccession checking for download button display
sekmiller Oct 25, 2016
f5de5cb
Merge branch 'develop' into file-metadata-provenance-2295
sekmiller Oct 25, 2016
74e2dcf
Check permissions on File Landing Page
sekmiller Oct 25, 2016
752f5a6
Add Datafile tags to Landing Page
sekmiller Oct 25, 2016
012adbf
Clean up of styling for file pg when deaccessioned. [ref #2465]
mheppler Oct 25, 2016
8a99e1f
Fixed layout of category and tabular tags on the file pg. [ref #2465]
mheppler Oct 25, 2016
a590f95
Add Version Number as Text for deaccessioned where the user has no pe…
sekmiller Oct 26, 2016
06ae60c
Merge pull request #3411 from IQSS/3406-shib-selinux
kcondon Oct 26, 2016
540de0a
list new Java client library in API Guide #3434
pdurbin Oct 27, 2016
561587a
Update migration_instructions.txt
donsizemore Oct 27, 2016
02a4c0d
Merge pull request #3242 from donsizemore/patch-3
kcondon Oct 27, 2016
2e15824
Use "Human Readable" version number for Landing Page URL
sekmiller Oct 27, 2016
93a00d8
Merge branch 'develop' into file-metadata-provenance-2295
sekmiller Oct 27, 2016
5133e01
Changed text for Cite File button, added Last Updated label and Publi…
mheppler Oct 27, 2016
71b2c33
COS prefers avoiding redirects to https #3434 #3435
pdurbin Oct 28, 2016
2ab8664
File Landing Page: Add Date formats; update Citation
sekmiller Oct 28, 2016
cf96ad1
fixes bug where pattern constraint fails when directoryLabel is empty…
bmckinney Oct 28, 2016
9ae0d86
fail fast if dataset is invalid after SWORD upload #3405
pdurbin Oct 28, 2016
de68dcb
Merge branch 'develop' into 3405-filemetadata-directory-label
pdurbin Oct 28, 2016
e6bb0ab
assert that it's ok to setDirectoryLabel to null #3405
pdurbin Oct 28, 2016
b866b5d
permit a single character as directoryLabel #3405
pdurbin Oct 28, 2016
4c40cab
The issue with the resumptiontoken cursor (starts with 1, should star…
landreev Oct 28, 2016
0f76c0b
Merge pull request #3412 from IQSS/3405-filemetadata-directory-label
kcondon Oct 28, 2016
076d51a
Add Exporters to File Landing Page
sekmiller Oct 28, 2016
9f631da
Merge pull request #3409 from IQSS/3307-oai-compliance
kcondon Oct 28, 2016
1d4a873
Merge pull request #3435 from IQSS/3434-api-client-libraries
djbrooke Oct 29, 2016
1581963
Cleaned up layout of Export Metadata button on file pg. [ref #2465]
mheppler Oct 30, 2016
7f8e3b9
Cleanup some guestbook response code
sekmiller Nov 1, 2016
670bd95
Display local dataverse owner for file
sekmiller Nov 1, 2016
c0f63fa
Fixed height/width scaling issue for preview thumbnails on file pg. […
mheppler Nov 1, 2016
54f2740
Fix for WorldMapPermissionHelper.java and 'Map Data' not showing. [re…
mheppler Nov 1, 2016
2da0cc6
Transform Helpers into Injectable backing beans
sekmiller Nov 3, 2016
e70a2fa
Add Download Popup logic to "only World Map" case.
sekmiller Nov 3, 2016
386e830
Fix references to helpers
sekmiller Nov 3, 2016
b5b5f31
#3451 - allow Edit of Draft version when all published versions are d…
sekmiller Nov 3, 2016
e84e526
Merge branch 'develop' into file-metadata-provenance-2295
sekmiller Nov 3, 2016
3479e18
The file upload page reworked.
landreev Nov 4, 2016
114ac9a
add TwoRavensTabularView setting
donsizemore Nov 4, 2016
308c604
Update DublinCoreExportUtil.java
rmo-cdsp Sep 23, 2016
6783bde
Merge pull request #3458 from IQSS/3368-dc-elements-only
kcondon Nov 4, 2016
f5461e3
Final reorganization of the file ingest code - moving things around, …
landreev Nov 7, 2016
c8ab3a2
resolved a minor merge conflict.
landreev Nov 7, 2016
5fb0bd4
Removed the initialization of the directorylabel to "" in filemetadata.
landreev Nov 7, 2016
1c1165d
Hide the Share button in deaccessioned view on dataset and file pgs. …
mheppler Nov 7, 2016
49ba9ae
#1267; #1308; #3451 - move Deaccession fixes to separate branch
sekmiller Nov 7, 2016
1f501b1
A simple mod temporarily disabling the optimized readonly mode on the…
landreev Nov 7, 2016
1698b50
Fixed broken CSS for Share and Publish buttons. [ref #1267]
mheppler Nov 7, 2016
7f10e24
Limit the update to the popup
sekmiller Nov 8, 2016
150ae7e
Suppress Edit/Export buttons on Metadata Tab if fully deaccessioned
sekmiller Nov 8, 2016
a72d5a3
Merge pull request #3462 from IQSS/3451-Allow-edit-of-draft-in-deacce…
kcondon Nov 8, 2016
75d64e4
Fixes for the "wrong files" bug.
landreev Nov 8, 2016
d3e70c1
Merge pull request #3453 from donsizemore/patch-4
kcondon Nov 8, 2016
de4a708
Check File Restrictions for Explore Buttons
sekmiller Nov 9, 2016
ebdc334
Fix Output links for Two Ravens/World Map
sekmiller Nov 9, 2016
dd99b1b
Resolve Merge Conflicts with/develop
sekmiller Nov 10, 2016
6452ae4
remove double edit button group
sekmiller Nov 10, 2016
ed52ecb
Cleaned up arrangement of Explore, Map Data, Download buttons on the …
mheppler Nov 10, 2016
53a6f46
Fix Two ravens button render logic.
sekmiller Nov 10, 2016
b4738ef
Updated Data Science and Product link in Readme
djbrooke Nov 10, 2016
5a448ab
Changed "Cite File" to "Cite Data File" on the file pg. [ref #2465]
mheppler Nov 10, 2016
8b2923a
Final reorganization of the file upload improvements page.
landreev Nov 14, 2016
3a89fc8
Merge pull request #3466 from IQSS/3465-readme-link-update
djbrooke Nov 14, 2016
0ed60ff
Added a comment to the editdatafiles page explaining the new mechanis…
landreev Nov 14, 2016
279a236
Fix Feedback Dialog recipient
sekmiller Nov 14, 2016
be78db2
Made the limit on the number of multiple files in the GUI upload conf…
landreev Nov 14, 2016
2d1ee7a
reorganized the edit files page a little more;
landreev Nov 15, 2016
8e70b43
Check Permissions at proper level
sekmiller Nov 15, 2016
3d4899c
Redirect "Cancel" on Edit File page to File Landing Page
sekmiller Nov 15, 2016
489122c
Merge branch 'develop' into file-metadata-provenance-2295
sekmiller Nov 15, 2016
a315794
File Page Display clean up
sekmiller Nov 16, 2016
9d4e840
Return to Draft after edit file
sekmiller Nov 16, 2016
abaeb7a
Init Edit Cancel
sekmiller Nov 16, 2016
f35b9e8
Fixed by replacing a .stream().map with a normal for loop
michbarsinai Nov 16, 2016
0e55cf2
Allow non-owner to see deaccessioned file page
sekmiller Nov 16, 2016
fb7544a
Edited a couple of comments in the dataset page backing bean;
landreev Nov 17, 2016
a81ff53
Added a version info endpoint to the api (re:#3426)
michbarsinai Nov 17, 2016
ebffecf
Added API-wide exception handlers for common exceptions (#3423). Also…
michbarsinai Nov 17, 2016
8be4c92
Pushed this in by mistake last night. (had a strange urge to get some…
landreev Nov 17, 2016
c9d63f5
check two ravens setting before deaccession
sekmiller Nov 17, 2016
22152a8
Added the /server endpoint. Also removed the docs url
michbarsinai Nov 17, 2016
8d8c2f6
Fixed render logic for deacessioned datasets/files of Download/Reques…
mheppler Nov 17, 2016
63f10b5
World Map "Double Button"
sekmiller Nov 17, 2016
2803717
Fixed render logic (again, after previous commit, this time for reals…
mheppler Nov 17, 2016
5588740
Fix deaccession logic
sekmiller Nov 18, 2016
520cfad
Clean up world map logic
sekmiller Nov 18, 2016
c20f246
Add Write Guestbook records to download api
sekmiller Nov 18, 2016
6030e7b
Two Ravens check for tabular data first
sekmiller Nov 18, 2016
f358677
Fixed bad method referenced in two TwoRavens/WorldMap Explore buttons…
mheppler Nov 18, 2016
001b949
Fixed native-api guide.
michbarsinai Nov 19, 2016
00c938d
Added an exclusion clause for a "preprocessed tabular metadata" downl…
landreev Nov 20, 2016
2fd543a
add REST Assured tests for "version" and "server" #3426
pdurbin Nov 21, 2016
611be15
Prevent pre-load of subset include for non-tabular files
sekmiller Nov 21, 2016
c16e0df
Update download api url handling
sekmiller Nov 21, 2016
64b2979
remove debug code
sekmiller Nov 21, 2016
4538666
Add linking to doi and fix explore button
sekmiller Nov 21, 2016
71deb6f
Fixes Close popup and phantom GB recs
sekmiller Nov 21, 2016
25d0699
Revert API guestbook records
sekmiller Nov 22, 2016
e08bde3
Tweaks made to the harvesting code to make it possible for our client…
landreev Nov 22, 2016
17f0eae
Merge pull request #3408 from IQSS/file-metadata-provenance-2295
kcondon Nov 23, 2016
176f2a8
Merge branch 'develop' into 3116-file-upload-issues
landreev Nov 23, 2016
723b059
final (hopefully) touches to the file upload branch, after it was mer…
landreev Nov 28, 2016
f9d7ada
A fix that enables DDI parser to import DA|RA-issued DOIs (used by th…
landreev Nov 28, 2016
0078c8a
A quick fix to attempt to extract whatever minimal file-level metadat…
landreev Nov 28, 2016
fa4f673
Per Sonia's feedback, removed the sort on the list of uploaded files.
landreev Nov 28, 2016
9a485f2
Merge pull request #3474 from IQSS/3426-api-info-endpoint
kcondon Nov 29, 2016
0cefe11
Merge pull request #3475 from IQSS/3423-api-server-error-handler
kcondon Nov 29, 2016
f739a75
Merge pull request #3472 from IQSS/3425-get-metadata-blocks-empty
kcondon Nov 29, 2016
7c20cfa
fixed issue with missing perms; added command, added DataverseEntity …
scolapasta Nov 29, 2016
52ba25a
Improvements for thumbnails-related processing during file upload.
landreev Nov 29, 2016
02d6637
fix for the null pointer exception introduced last night.
landreev Nov 30, 2016
8c09a4b
Rearranging the sequence of upload tasks, in order to fix the disappe…
landreev Nov 30, 2016
8d4c65d
1) livescroll removed from the uploaded files table;
landreev Dec 1, 2016
8f5dbd1
Updated URL
jggautier Dec 2, 2016
88d2e50
Merge pull request #3504 from IQSS/3500-updated-URL
jggautier Dec 2, 2016
ed8b5cb
a cosmetic fix for the list of the uploaded files.
landreev Dec 2, 2016
1417e4a
Added a comment to datasetpage.java explaining how the file dataTable
landreev Dec 2, 2016
9e604cb
Added a blurb about ImageMagick to the prerequisites section of the i…
landreev Dec 2, 2016
4f5b499
and added one more line to that guide section...
landreev Dec 2, 2016
ddd76da
Merge pull request #3459 from IQSS/3116-file-upload-issues
kcondon Dec 2, 2016
75a4146
Merge pull request #3498 from IQSS/3133-missing-perms
kcondon Dec 2, 2016
a087f60
Minor cleanup of the files metadata in ICPSR ddis.
landreev Dec 5, 2016
7c17b1b
#3505 - Fix permissions gathering for Dataset Page
sekmiller Dec 6, 2016
e71453c
#3514 Add version to Dataset breadcrumb on File Landing Page
sekmiller Dec 8, 2016
6c6f900
Merge pull request #3512 from IQSS/3505-file-restriction-display
kcondon Dec 8, 2016
7591e36
Merge pull request #3518 from IQSS/3514-file-landing-page-breadcrumb
kcondon Dec 8, 2016
4ac5448
Hide undeveloped tabs
sekmiller Dec 8, 2016
adbe63d
Merge pull request #3519 from IQSS/file-landing-page-hide-undeveloped…
kcondon Dec 8, 2016
c0ec12b
Final tweaks for ICPSR harvests;
landreev Dec 8, 2016
b60c339
don't try to index fields that don't exist #3303
pdurbin Dec 9, 2016
54fa0ec
get Vagrant working again #3515
pdurbin Dec 9, 2016
f684e64
Merge branch 'develop' into 4.6-tweaks-for-harvesting-from-partners
landreev Dec 9, 2016
2a05dcd
Update tools.rst
djbrooke Dec 9, 2016
bace17e
Merge pull request #3520 from IQSS/3303-3515-installer-vagrant
pdurbin Dec 9, 2016
06d7cda
consolidate SQL script into standard name #3522
pdurbin Dec 9, 2016
2764b97
bump version to 4.6 #3522
pdurbin Dec 9, 2016
5766a6e
Merge pull request #3521 from IQSS/4.6-tweaks-for-harvesting-from-par…
kcondon Dec 9, 2016
52e9ec3
Merge pull request #3523 from IQSS/3522-4.6-bump-and-sql
kcondon Dec 9, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Dataverse
==========

Dataverse is an open source web application for sharing, citing, analyzing, and preserving research data (developed by the [Data Science team] (http://datascience.iq.harvard.edu/about-dataverse) at the [Institute for Quantitative Social Science] (http://iq.harvard.edu/)).
Dataverse is an open source web application for sharing, citing, analyzing, and preserving research data (developed by the [Data Science and Products team] (http://www.iq.harvard.edu/people/people/data-science-products) at the [Institute for Quantitative Social Science] (http://iq.harvard.edu/)).

Institutions and organizations can choose to install the Dataverse software for their own use.
In this case, the institution will be responsible for maintaining the application; installing upgrades,
Expand Down
10 changes: 5 additions & 5 deletions conf/httpd/conf.d/dataverse.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ ProxyPassMatch ^/error-documents !
# pass everything else to Glassfish
ProxyPass / ajp://localhost:8009/

<Location /shib.xhtml>
AuthType shibboleth
ShibRequestSetting requireSession 1
require valid-user
</Location>
#<Location /shib.xhtml>
# AuthType shibboleth
# ShibRequestSetting requireSession 1
# require valid-user
#</Location>

ErrorDocument 503 /error-documents/503.html
Alias /error-documents /var/www/dataverse/error-documents
Expand Down
2 changes: 2 additions & 0 deletions conf/solr/4.6.0/schema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,8 @@
<field name="unf" type="string" stored="true" indexed="true" multiValued="false"/>
<field name="fileSizeInBytes" type="long" stored="true" indexed="true" multiValued="false"/>
<field name="fileMd5" type="string" stored="true" indexed="true" multiValued="false"/>
<field name="fileChecksumType" type="string" stored="true" indexed="true" multiValued="false"/>
<field name="fileChecksumValue" type="string" stored="true" indexed="true" multiValued="false"/>
<field name="fileContentType" type="string" stored="true" indexed="true" multiValued="false"/>
<field name="deaccessionReason" type="string" stored="true" indexed="false" multiValued="false"/>

Expand Down
15 changes: 15 additions & 0 deletions doc/sphinx-guides/source/_static/api/dataverse-complete.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "Scientific Research",
"alias": "science",
"dataverseContacts": [
{
"contactEmail": "pi@example.edu"
},
{
"contactEmail": "student@example.edu"
}
],
"affiliation": "Scientific Research University",
"description": "We do all the science.",
"dataverseType": "LABORATORY"
}
9 changes: 9 additions & 0 deletions doc/sphinx-guides/source/_static/api/dataverse-minimal.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "Scientific Research",
"alias": "science",
"dataverseContacts": [
{
"contactEmail": "pi@example.edu"
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>Harvard Dataverse</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="en" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="description" content="The Dataverse Project is an open source software application to share, cite and archive data. Dataverse provides a robust infrastructure for data stewards to host and archive data, while offering researchers an easy way to share and get credit for their data." />

<link type="image/png" rel="icon" href="https://cdn.rawgit.com/IQSS/dataverse/87cf58b5c3e8e01cf0f4891465df02334852eed3/src/main/webapp/resources/images/favicondataverse.png.xhtml" />

<link type="image/png" rel="image_src" href="https://cdn.rawgit.com/IQSS/dataverse/87cf58b5c3e8e01cf0f4891465df02334852eed3/src/main/webapp/resources/images/dataverseproject.png.xhtml" />

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" />

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap-theme.min.css" />

<link rel="stylesheet" href="https://cdn.rawgit.com/IQSS/dataverse/87cf58b5c3e8e01cf0f4891465df02334852eed3/src/main/webapp/resources/css/fontcustom.css" />

<link rel="stylesheet" href="https://cdn.rawgit.com/IQSS/dataverse/87cf58b5c3e8e01cf0f4891465df02334852eed3/src/main/webapp/resources/css/socicon.css" />

<link rel="stylesheet" href="https://cdn.rawgit.com/IQSS/dataverse/87cf58b5c3e8e01cf0f4891465df02334852eed3/src/main/webapp/resources/css/structure.css" />

<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>

<style type="text/css">
@font-face {
font-family: "fontcustom";
src: url("https://cdn.rawgit.com/IQSS/dataverse/87cf58b5c3e8e01cf0f4891465df02334852eed3/src/main/webapp/resources/fontcustom/fontcustom_0cdeefae934823416d24b6c2132ac702.eot");
src: url("https://cdn.rawgit.com/IQSS/dataverse/87cf58b5c3e8e01cf0f4891465df02334852eed3/src/main/webapp/resources/fontcustom/fontcustom_0cdeefae934823416d24b6c2132ac702.eot?#iefix") format("embedded-opentype"),
url("https://cdn.rawgit.com/IQSS/dataverse/87cf58b5c3e8e01cf0f4891465df02334852eed3/src/main/webapp/resources/fontcustom/fontcustom_0cdeefae934823416d24b6c2132ac702.woff") format("woff"),
url("https://cdn.rawgit.com/IQSS/dataverse/87cf58b5c3e8e01cf0f4891465df02334852eed3/src/main/webapp/resources/fontcustom/fontcustom_0cdeefae934823416d24b6c2132ac702.ttf") format("truetype"),
url("https://cdn.rawgit.com/IQSS/dataverse/87cf58b5c3e8e01cf0f4891465df02334852eed3/src/main/webapp/resources/fontcustom/fontcustom_0cdeefae934823416d24b6c2132ac702.svg#fontcustom") format("svg");
font-weight: normal;
font-style: normal;
}

@font-face {
font-family: 'socicon';
src: url('https://cdn.rawgit.com/IQSS/dataverse/87cf58b5c3e8e01cf0f4891465df02334852eed3/src/main/webapp/resources/socicon-font/socicon-webfont.eot');
src: url('https://cdn.rawgit.com/IQSS/dataverse/87cf58b5c3e8e01cf0f4891465df02334852eed3/src/main/webapp/resources/socicon-font/socicon-webfont.eot?#iefix') format('embedded-opentype'),
url('https://cdn.rawgit.com/IQSS/dataverse/87cf58b5c3e8e01cf0f4891465df02334852eed3/src/main/webapp/resources/socicon-font/socicon-webfont.woff') format('woff'),
url('https://cdn.rawgit.com/IQSS/dataverse/87cf58b5c3e8e01cf0f4891465df02334852eed3/src/main/webapp/resources/socicon-font/socicon-webfont.woff2') format('woff2'),
url('https://cdn.rawgit.com/IQSS/dataverse/87cf58b5c3e8e01cf0f4891465df02334852eed3/src/main/webapp/resources/socicon-font/socicon-webfont.ttf') format('truetype'),
url('https://cdn.rawgit.com/IQSS/dataverse/87cf58b5c3e8e01cf0f4891465df02334852eed3/src/main/webapp/resources/socicon-font/socicon-webfont.svg#sociconregular') format('svg');
font-weight: normal;
font-style: normal;
text-transform: initial;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
@font-face {
font-family: "fontcustom";
src: url("https://cdn.rawgit.com/IQSS/dataverse/87cf58b5c3e8e01cf0f4891465df02334852eed3/src/main/webapp/resources/fontcustom/fontcustom_0cdeefae934823416d24b6c2132ac702.svg#fontcustom") format("svg");
}
}
</style>
</head>
<body>
<div id="dataverse-header-block">
<!-- Navbar Panel -->
<nav id="navbarFixed" class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<span class="navbar-brand"><i id="icon-dataverse" class="icon-dataverse"></i> Dataverse</span>
</div>
<div class="collapse navbar-collapse" id="topNavBar">
<ul class="nav navbar-nav navbar-right">
<li>
&#160;
</li>
</ul>
</div>
</div>
</nav>

<!-- Header Panel -->
<div style="background:#F5F5F5;" class="container bg-muted" id="dataverseHeader">
<div class="dataverseHeaderBlock">
<div class="dataverseHeaderCell dataverseHeaderLogo">
<img alt="Harvard Dataverse" src="https://cdn.rawgit.com/IQSS/dataverse/87cf58b5c3e8e01cf0f4891465df02334852eed3/doc/sphinx-guides/source/_static/installation/files/etc/maintenance/HarvardShield_RGB.png"/>
</div>
<div class="dataverseHeaderCell dataverseHeaderName">
<span class="dataverseHeaderDataverseName" style="color:#000000;">Harvard Dataverse</span>
</div>
<div class="dataverseHeaderCell dataverseHeaderTagline">
<span style="color:#a51c30;">A collaboration with Harvard Library, Harvard University IT, and IQSS</span>
</div>
</div>
</div>
</div>
<div class="container" id="content">
<div class="jumbotron" style="margin-top:20px;">
<h2><em>We apologize for the service interruption.</em></h2>
<p>The Harvard Dataverse is currently undergoing maintenance. At this time both the application and APIs are not able to be used. However, the datasets stored in the Harvard Dataverse are fine and not impacted by this maintenance.</p>
<p>If you have any comments, questions or concerns, please reach out to support@dataverse.org.</p>
</div>
</div>
<div class="container" id="footer">
<div class="row">
<div class="col-sm-8 small">
<p>Developed at the <a href="http://www.iq.harvard.edu/" title="Institute for Quantitative Social Science" target="_blank">Institute for Quantitative Social Science</a> &#160;|&#160; Dataverse Project on <a href="https://twitter.com/dataverseorg" target="_blank" title="Dataverse Project on Twitter"><span class="socicon socicon-twitter" title="Dataverse Project on Twitter"></span></a> &#160;|&#160; Code available at <a href="https://github.com/IQSS/dataverse" target="_blank" title="Dataverse On GitHub"><span class="socicon socicon-github" title="Dataverse On GitHub"></span></a>
</p>
<p>Copyright &#169; 2016, The President &#38; Fellows of Harvard College | <a href="http://best-practices.dataverse.org/harvard-policies/harvard-privacy-policy.html" target="_blank">Privacy Policy</a>
</p>
</div>
<div class="col-sm-4 text-right">
<div class="poweredbylogo">
<span>Powered by</span>
<a href="http://dataverse.org/" title="The Dataverse Project" target="_blank"><img src="https://cdn.rawgit.com/IQSS/dataverse/87cf58b5c3e8e01cf0f4891465df02334852eed3/src/main/webapp/resources/images/dataverseproject_logo.jpg" alt="The Dataverse Project" /></a>
</div>
</div>
</div>
</div>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
module shibboleth 1.0;

require {
class file {open read};
class sock_file write;
class unix_stream_socket connectto;
type httpd_t;
type initrc_t;
type var_run_t;
type var_t;
}

allow httpd_t initrc_t:unix_stream_socket connectto;
allow httpd_t var_run_t:sock_file write;
allow httpd_t var_t:file {open read};
11 changes: 9 additions & 2 deletions doc/sphinx-guides/source/api/client-libraries.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Client Libraries
================

Currently there are client libraries for Python and R that can be used to develop against Dataverse APIs.
Currently there are client libraries for Python, R, and Java that can be used to develop against Dataverse APIs. We use the term "client library" on this page but "Dataverse SDK" (software development kit) is another way of describing these resources. They are designed to help developers express Dataverse concepts more easily in the languages listed below. For support on any of these client libraries, please consult each project's README.

Because Dataverse is a SWORD server, additional client libraries exist for Java, Ruby, and PHP per the :doc:`/api/sword` page.

Expand All @@ -10,11 +10,18 @@ Python

https://github.com/IQSS/dataverse-client-python is the offical Python package for Dataverse APIs.

`Robert Liebowitz <https://github.com/rliebz>`_ from the `Center for Open Science <http://centerforopenscience.org>`_ heads its development and the library is used to integrate the `Open Science Framework (OSF) <http://osf.io>`_ with Dataverse via an add-on which itself is open source and listed on the :doc:`/api/apps` page.
`Robert Liebowitz <https://github.com/rliebz>`_ created this library while at the `Center for Open Science (COS) <https://centerforopenscience.org>`_ and the COS uses it to integrate the `Open Science Framework (OSF) <https://osf.io>`_ with Dataverse via an add-on which itself is open source and listed on the :doc:`/api/apps` page.

R
-

https://github.com/IQSS/dataverse-client-r is the official R package for Dataverse APIs.

It was created by `Thomas Leeper <http://thomasleeper.com>`_ whose dataverse can be found at https://dataverse.harvard.edu/dataverse/leeper

Java
----

https://github.com/IQSS/dataverse-client-java is the offical Java library for Dataverse APIs.

`Richard Adams <http://www.researchspace.com/electronic-lab-notebook/about_us_team.html>`_ from `ResearchSpace <http://www.researchspace.com>`_ created and maintains this library.
47 changes: 41 additions & 6 deletions doc/sphinx-guides/source/api/native-api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,24 @@ Endpoints

Dataverses
~~~~~~~~~~~
Generates a new dataverse under ``$id``. Expects a json content describing the dataverse.
Generates a new dataverse under ``$id``. Expects a JSON content describing the dataverse, as in the example below.
If ``$id`` is omitted, a root dataverse is created. ``$id`` can either be a dataverse id (long) or a dataverse alias (more robust). ::

POST http://$SERVER/api/dataverses/$id?key=$apiKey

The following JSON example can be `downloaded <../_static/api/dataverse-complete.json>`_ and modified to create dataverses to suit your needs. The fields ``name``, ``alias``, and ``dataverseContacts`` are required. The controlled vocabulary for ``dataverseType`` is

- ``JOURNALS``
- ``LABORATORY``
- ``ORGANIZATIONS_INSTITUTIONS``
- ``RESEARCHERS``
- ``RESEARCH_GROUP``
- ``RESEARCH_PROJECTS``
- ``TEACHING_COURSES``
- ``UNCATEGORIZED``

.. literalinclude:: ../_static/api/dataverse-complete.json

View data about the dataverse identified by ``$id``. ``$id`` can be the id number of the dataverse, its alias, or the special value ``:root``. ::

GET http://$SERVER/api/dataverses/$id
Expand Down Expand Up @@ -70,12 +83,15 @@ Sets the metadata blocks of the dataverse. Makes the dataverse a metadatablock r

Get whether the dataverse is a metadata block root, or does it uses its parent blocks::

GET http://$SERVER/api/dataverses/$id/metadatablocks/:isRoot?key=$apiKey
GET http://$SERVER/api/dataverses/$id/metadatablocks/isRoot?key=$apiKey

Set whether the dataverse is a metadata block root, or does it uses its parent blocks. Possible
values are ``true`` and ``false`` (both are valid JSON expressions). ::

POST http://$SERVER/api/dataverses/$id/metadatablocks/:isRoot?key=$apiKey
PUT http://$SERVER/api/dataverses/$id/metadatablocks/isRoot?key=$apiKey

.. note:: Previous endpoints ``GET http://$SERVER/api/dataverses/$id/metadatablocks/:isRoot?key=$apiKey`` and ``POST http://$SERVER/api/dataverses/$id/metadatablocks/:isRoot?key=$apiKey`` are deprecated, but supported.


Create a new dataset in dataverse ``id``. The post data is a Json object, containing the dataset fields and an initial dataset version, under the field of ``"datasetVersion"``. The initial versions version number will be set to ``1.0``, and its state will be set to ``DRAFT`` regardless of the content of the json object. Example json can be found at ``data/dataset-create-new.json``. ::

Expand Down Expand Up @@ -131,8 +147,7 @@ Export the metadata of the current published version of a dataset in various for

GET http://$SERVER/api/datasets/export?exporter=ddi&persistentId=$persistentId

Note: Supported exporters (export formats) are ddi, oai_ddi, dcterms, oai_dc, and dataverse_json.

.. note:: Supported exporters (export formats) are ``ddi``, ``oai_ddi``, ``dcterms``, ``oai_dc``, and ``dataverse_json``.

Lists all the file metadata, for the given dataset and version::

Expand Down Expand Up @@ -268,6 +283,14 @@ Management of Shibboleth groups via API is documented in the :doc:`/installation
Info
~~~~

Get the Dataverse version. The response contains the version and build numbers::

GET http://$SERVER/api/info/version

Get the server name. This is useful when a Dataverse system is composed of multiple Java EE servers behind a load balancer::

GET http://$SERVER/api/info/server

For now, only the value for the ``:DatasetPublishPopupCustomText`` setting from the :doc:`/installation/config` section of the Installation Guide is exposed::

GET http://$SERVER/api/info/settings/:DatasetPublishPopupCustomText
Expand All @@ -286,7 +309,7 @@ Return data about the block whose ``identifier`` is passed. ``identifier`` can e

Admin
~~~~~~~~~~~~~~~~
This is the administrative part of the API. It is probably a good idea to block it before allowing public access to a Dataverse installation. Blocking can be done using settings. See the ``post-install-api-block.sh`` script in the ``scripts/api`` folder for details.
This is the administrative part of the API. For security reasons, it is absolutely essential that you block it before allowing public access to a Dataverse installation. Blocking can be done using settings. See the ``post-install-api-block.sh`` script in the ``scripts/api`` folder for details. See also "Blocking API Endpoints" under "Securing Your Installation" in the :doc:`/installation/config` section of the Installation Guide.

List all settings::

Expand Down Expand Up @@ -374,6 +397,18 @@ List all role assignments of a role assignee (i.e. a user or a group)::

Note that ``identifier`` can contain slashes (e.g. ``&ip/localhost-users``).

List permissions a user (based on API Token used) has on a dataverse or dataset::

GET http://$SERVER/api/admin/permissions/$identifier

The ``$identifier`` can be a dataverse alias or database id or a dataset persistent ID or database id.

List a role assignee (i.e. a user or a group)::

GET http://$SERVER/api/admin/assignee/$identifier

The ``$identifier`` should start with an ``@`` if it's a user. Groups start with ``&``. "Built in" users and groups start with ``:``. Private URL users start with ``#``.

IpGroups
^^^^^^^^

Expand Down
4 changes: 2 additions & 2 deletions doc/sphinx-guides/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@
# built documents.
#
# The short X.Y version.
version = '4.5.1'
version = '4.6'
# The full version, including alpha/beta/rc tags.
release = '4.5.1'
release = '4.6'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
1 change: 1 addition & 0 deletions doc/sphinx-guides/source/developers/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ Contents:
making-releases
tools
unf/index
selinux
Loading