Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V4.6.1 #3693

Merged
merged 529 commits into from
Mar 15, 2017
Merged

V4.6.1 #3693

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
529 commits
Select commit Hold shift + click to select a range
50ad4c0
add ":" to OAuth2CallbackUrl and obviate need in prod #3338
pdurbin Dec 20, 2016
6716a6b
new section on Account Log In Options, other tweaks #3338
pdurbin Dec 20, 2016
82d09e0
rename SQL script to have version numbers #3338
pdurbin Dec 20, 2016
dd9ad98
various tweaks to the guides for auth #3338
pdurbin Dec 21, 2016
d63c1c4
explain that Shibboleth users cannot choose their username #3338
pdurbin Dec 21, 2016
12264db
explain expected behavior on ORCID welcome/create page #3338
pdurbin Dec 21, 2016
f2bcd86
better wording an fixed broken link #3338
pdurbin Dec 21, 2016
b622694
add API endpoint for creating non-builtin user #3338
pdurbin Dec 21, 2016
55fc128
add :GuidesVersion config option #3540
pdurbin Dec 21, 2016
56db0a8
Suppress "WARNING: unknown mimetype for ..." when building epub #3391
pdurbin Dec 21, 2016
1b2372a
Remove out of date line about notifications #1848 #3543
pdurbin Dec 21, 2016
d800944
Moved message text to bundle. Added new approach to linking to suppor…
mheppler Dec 21, 2016
41a8834
remove unused code #3338
pdurbin Dec 21, 2016
6f71364
write tests around expected file citation filenames #3537
pdurbin Dec 21, 2016
365be9d
Do no hide Map Data button just because a layer exists #3536
pdurbin Dec 22, 2016
50b7b58
better wording for basic info #3338
pdurbin Dec 22, 2016
924840b
Merge branch 'develop' into 2290-file-replace
sekmiller Dec 22, 2016
b9e8183
Native API publish: POST, no 0.1, DOIs #2431 #2461 #3483 #3547
pdurbin Dec 22, 2016
8cadd78
Fix Edit Files Page Breadcrumbs
sekmiller Dec 22, 2016
46eda28
Username/Email as builtin option to match User Guide #3338
pdurbin Dec 22, 2016
b61897b
link to metadata crosswalk from User Guide appendix #3294
pdurbin Dec 22, 2016
f14c40e
clean up render logic on login page #3338
pdurbin Dec 22, 2016
98e6ec4
account convert and remote only fixes #2974 #3338
pdurbin Dec 22, 2016
91efe09
various small fixes to Installation Guide #2944 #3338
pdurbin Dec 22, 2016
534cc6d
reorganize shib docs a bit #3338
pdurbin Dec 22, 2016
5766b74
link to miniverse and metrics page #3338
pdurbin Dec 22, 2016
f00f07a
fix broken link, link to main geoconnect page #3338
pdurbin Dec 22, 2016
c12bc72
Update apps.rst
djbrooke Dec 23, 2016
4d01d5a
Update dev-environment.rst
djbrooke Dec 23, 2016
4697c02
Update oauth2.rst
djbrooke Dec 23, 2016
3ef28da
Update account.rst
djbrooke Dec 23, 2016
37ae973
Update account.rst
djbrooke Dec 23, 2016
6194c04
Dataverses and Info support CORS where needed
michbarsinai Dec 24, 2016
44f4936
All API endpoints that need to allow CORS do so. Documentations and t…
michbarsinai Dec 25, 2016
e7e65d5
removes checksum step by adding the property in the import step; adds…
bmckinney Jan 3, 2017
aa9be5c
Added static link to Metrics block on dataverse pg. Restyled the Metr…
mheppler Jan 3, 2017
6cb4b13
Added placeholder help text for Replace File section to the Dataset +…
mheppler Jan 3, 2017
0d213ad
Cleaned up UI, added page title and breadcrumb title to Replace File …
mheppler Jan 4, 2017
5115a15
avoid null pointer on create #3338
pdurbin Jan 4, 2017
c7c4c68
Fixed the page refresh issues for file uploads, in file replace mode.
landreev Jan 5, 2017
6bcce39
for consistency (and b/c out of date), remove screenshots #3338
pdurbin Jan 5, 2017
a815b1f
change if available to if permitted, advise to change password #3338
pdurbin Jan 5, 2017
233a14c
Fix for #3556
raprasad Jan 5, 2017
d817099
clarify that some API endpoints don't require auth #3338
pdurbin Jan 5, 2017
499e6be
add :MetricsUrl config option #3538
pdurbin Jan 5, 2017
57db2f9
Fixed the page refresh issues for file replace, 2.0.
landreev Jan 5, 2017
e78d379
revert 4.6 SQL script, move 4.6.1 to dedicated script #2290
pdurbin Jan 6, 2017
5d1a623
fix REST Assured tests in FilesIT #2290
pdurbin Jan 6, 2017
d488d8b
remove out of date todo from REST Assured test #2290
pdurbin Jan 6, 2017
80f1ae4
Changed background, color, padding, width of the Metrics block. [ref …
mheppler Jan 6, 2017
287ebca
This makes sure that any dropbox upload-related error/warning message…
landreev Jan 6, 2017
bb66e62
API tests to exercise setting file description and categories #2290
pdurbin Jan 6, 2017
3df9229
allow JSON to be passed in to file replace API #2290
pdurbin Jan 6, 2017
f620c80
put categories and tabular tags where we want them #2290
pdurbin Jan 6, 2017
cc37155
add tests for category and tabularTags #2290 #3067
pdurbin Jan 6, 2017
3399894
This fixes the issue where you could not replace a published file whe…
landreev Jan 6, 2017
ada7bdd
exercise ability to add tabular tags via api (doesn't work) #2290 #3067
pdurbin Jan 6, 2017
b2a80a5
relates to pathToFile fix in ada7bdd #2290
pdurbin Jan 6, 2017
1c6c6d9
let ingestService add files so we can set categories #2290 #3067
pdurbin Jan 6, 2017
8e3b2eb
Moved text to bundle and inline styles to stylesheet from Replace Fil…
mheppler Jan 9, 2017
6a75c84
file categories can be set via harvesting #2290
pdurbin Jan 10, 2017
2684792
add test for small file upload (can not reproduce) #1719
pdurbin Jan 10, 2017
0382145
#2290 Wire up File Replace Original File display
sekmiller Jan 10, 2017
1d520db
Update - Added File Replace guide text
dlmurphy Jan 11, 2017
775cd70
Revised File Replace documentation.
dlmurphy Jan 11, 2017
2b17354
#2290 Add warning popup when user tries to replace a file that has al…
sekmiller Jan 11, 2017
84e64f5
#2290 refresh fileUpload when replacement file is deleted.
sekmiller Jan 12, 2017
1095d20
Merge pull request #3546 from IQSS/3537-file-citation-download
kcondon Jan 12, 2017
733afc2
Revised some message text for the Replace File pg. [ref #2290]
mheppler Jan 12, 2017
91833fc
Minor revision to the User Guide for the Replace File feature. [ref #…
mheppler Jan 12, 2017
0f56de5
Merge pull request #3541 from IQSS/3540-guides-version
kcondon Jan 12, 2017
da4bbc6
Merge pull request #3542 from IQSS/3391-suppress-epub-warnings
kcondon Jan 12, 2017
583824f
Merge branch 'develop' into 3338-oauth-login #3338
pdurbin Jan 12, 2017
a6d29d9
use guidesVersion in more places #3540 #3338
pdurbin Jan 13, 2017
94494b9
Merge branch 'develop' into 2290-file-replace #2290
pdurbin Jan 13, 2017
28b690a
prevent OptimisticLockException #3562 #2290
pdurbin Jan 13, 2017
e0d5e51
workaround fix for #3036
scolapasta Jan 13, 2017
c71b667
yellow warning on content type change, remove robotic text #2290
pdurbin Jan 13, 2017
ad83f59
#2290 Cleanup and parasitize error messages
sekmiller Jan 13, 2017
4f1a073
Merge pull request #3550 from IQSS/2431-2461-3483-3547-native-api-pub…
kcondon Jan 13, 2017
aadb878
get tests passing again following bundle change #2290
pdurbin Jan 13, 2017
e0756ae
clear warning message when file is deleted #2290
pdurbin Jan 13, 2017
e22ff9b
Merge branch 'develop' into 3538-metrics-block-link #3538
pdurbin Jan 13, 2017
feb4e2c
Merge pull request #3568 from IQSS/3538-metrics-block-link
kcondon Jan 13, 2017
d85357f
Merge branch 'develop' into 3338-oauth-login #3338
pdurbin Jan 13, 2017
e3e524a
Merge branch 'develop' into 2290-file-replace #2290
pdurbin Jan 13, 2017
505fba0
fixes the issue where a duplicate of an existing file can be uploaded…
landreev Jan 17, 2017
687c633
Reversed the order of duplicate checks in replace mode; to make error…
landreev Jan 17, 2017
fdb7035
typo #1136
pdurbin Jan 17, 2017
b1bafd1
Merge branch 'develop' into 3036-support-form-math-bug
pdurbin Jan 17, 2017
162600a
Revisions to Remote Authentication documentation
dlmurphy Jan 17, 2017
e7a766e
fix wording #3338
pdurbin Jan 17, 2017
575acd7
add CORS label in docs for facets #1136
pdurbin Jan 17, 2017
efe501c
Merge pull request #3552 from IQSS/1136-enable-more-CORS
kcondon Jan 17, 2017
634ad9d
Merge branch 'develop' into 3338-oauth-login
pdurbin Jan 18, 2017
09e7a7c
typo #3338
pdurbin Jan 18, 2017
ff2250d
#2290 Add replace file to version differences popup
sekmiller Jan 18, 2017
f57e34c
#2290 Add PreviousDataFileId to cheap and easy File retrieval
sekmiller Jan 18, 2017
29d6a73
Added the other new DataFile field, rootdatafileid, to the optimized,…
landreev Jan 18, 2017
ec6557b
#2290 - remove ui debug code.
sekmiller Jan 18, 2017
932bc15
Merge branch 'develop' into 2290-file-replace
pdurbin Jan 18, 2017
c4039c6
typos #3338
pdurbin Jan 18, 2017
5a50f4c
yet more typos #3338
pdurbin Jan 18, 2017
4390d96
#2290 Add Separate Div Header for Files Replaced Table
sekmiller Jan 18, 2017
c5c8cee
add more code coverage, ask about NullPointerException #2290
pdurbin Jan 18, 2017
76bb3b0
excercise duplicate "message" in JSON output #2290
pdurbin Jan 18, 2017
a8de379
typo #3338
pdurbin Jan 19, 2017
987541b
Minor UI clean up on the dataset View Version Differences popup. [ref…
mheppler Jan 19, 2017
511e373
API: revert the addition of duplicate "message" in JSON response #2290
pdurbin Jan 19, 2017
8fbee7e
don't show "Welcome to Dataverse, null null" #3338
pdurbin Jan 19, 2017
c9ae1b5
never suggest a username #3338
pdurbin Jan 19, 2017
3974747
mention that OAuth callback depends on dataverse.siteUrl #3338
pdurbin Jan 19, 2017
c8a968c
typo #3338
pdurbin Jan 19, 2017
a784a40
fix guides to match api (POST vs PUT) #2290
pdurbin Jan 20, 2017
b9a6172
remove "No JSON data" error on file replace #2290
pdurbin Jan 20, 2017
98d9724
explain siteUrl/callback relationship better #3338
pdurbin Jan 20, 2017
306bc9f
be more careful about nulling out username #3338
pdurbin Jan 20, 2017
4aa0da4
revert back to bug where username is suggested #3338
pdurbin Jan 20, 2017
739fa0a
Merge pull request #3539 from IQSS/3338-oauth-login
kcondon Jan 20, 2017
25518d4
Merge pull request #3516 from pameyer/2513-no_doc_lint
kcondon Jan 20, 2017
f0f5aea
Merge branch 'develop' into 2290-file-replace
pdurbin Jan 20, 2017
9b29fe3
Merge branch 'develop' into 2290-file-replace #2290
pdurbin Jan 20, 2017
62475ad
Merge pull request #3548 from IQSS/3536-do-not-hide-map-data-button
kcondon Jan 23, 2017
531cd75
Merge pull request #3557 from IQSS/3556-shape-fix
kcondon Jan 23, 2017
d0eb5c5
#2290 move file upload size error to bundle. Fix edit file breadcrumbs
sekmiller Jan 23, 2017
90bf8ce
#2290 Fix File retrieval for Breadcrumbs
sekmiller Jan 23, 2017
f8d654e
Merge branch 'develop' into 3036-support-form-math-bug
scolapasta Jan 23, 2017
ad1cc68
Merge branch 'develop' into 2290-file-replace #2290
pdurbin Jan 24, 2017
d958d7d
Merge pull request #3573 from IQSS/3036-support-form-math-bug
kcondon Jan 24, 2017
a8275f1
prevent NullPointerException #1612 #2290
pdurbin Jan 24, 2017
67f9ad9
Merge branch 'develop' into 2290-file-replace #2290
pdurbin Jan 24, 2017
cc1d614
add curl examples for file add and replace #1612 #2290
pdurbin Jan 24, 2017
4c374c7
revert change to messages to fix publish buttons
sekmiller Jan 24, 2017
03ac5b8
Merge pull request #3594 from IQSS/publish-fix-01-24
kcondon Jan 24, 2017
7d8c1b6
Merge branch 'develop' into 2290-file-replace #2290
pdurbin Jan 25, 2017
ce3d87c
#3585 - fix world map explore button
sekmiller Jan 25, 2017
1613a0e
remove 8181 from example, add note about add under replace #2290 #1612
pdurbin Jan 26, 2017
2e83e29
#2290 Don't allow user to edit files that have been replaced.
sekmiller Jan 26, 2017
461e0e1
dv alias can't be just a number #211 #2290
pdurbin Jan 26, 2017
de0da29
fix typo in bundle and suggest adding a test #2290 #1612
pdurbin Jan 26, 2017
7a11e9c
Revised warning msg text for Edit button on File pg when file has bee…
mheppler Jan 26, 2017
5fc191b
avoid OptimisticLockException on publishing dataset #3562 #2290
pdurbin Jan 26, 2017
2a56e58
test and document forceReplace #1612 #2290
pdurbin Jan 26, 2017
047e29b
Put the file size limit check into the FileUtil.createDataFiles().
landreev Jan 26, 2017
e8dd342
Made sure any error messages coming from the FileUtil.createDataFiles…
landreev Jan 27, 2017
68e44ca
Merge pull request #3596 from IQSS/3585-WorldMap-Explore-button
kcondon Jan 27, 2017
ca4d76d
#2290 move different content type warning to info popup
sekmiller Jan 27, 2017
64eeecd
#2290 finishing touches(?!) Edit button styling pop up message gb dow…
sekmiller Jan 27, 2017
cf92022
#2290 remove extra line; fix spacing
sekmiller Jan 27, 2017
97bf17b
Merge pull request #3579 from IQSS/2290-file-replace
kcondon Jan 27, 2017
1bba295
add UNF recalculation endpoint #3589
pdurbin Jan 27, 2017
9d1722a
ignore vim swap files for version control purposes
pameyer Jan 27, 2017
a8fbc08
more code coverage for unf recalc #3589
pdurbin Jan 30, 2017
b28f520
FileRecordWriter modified to handle batch ingest of file batches as "…
landreev Jan 30, 2017
c7335d7
reorganized the parameters of the batch import job, to be able to han…
landreev Jan 31, 2017
a1ebe6e
show URL on dataset landing page #3584
pdurbin Jan 31, 2017
f8dbcaa
Moved Download URL into the File Metadata tab for a consistent displa…
mheppler Feb 1, 2017
1ba73ed
Merge pull request #3606 from pameyer/gitignore_vim
kcondon Feb 1, 2017
41fa5fa
changed some method/variable names to be more descriptive;
landreev Feb 2, 2017
b182f98
reorganized the structure of the final package file folder
landreev Feb 2, 2017
e69211d
The changes (5 total - will post the list in the file request and/or …
landreev Feb 2, 2017
11be4dd
Merge branch 'develop' into 3584-public-file-url #3584
pdurbin Feb 6, 2017
eb40c73
remove todo that's probably not actionable #3325
pdurbin Feb 6, 2017
c65a0df
versionState should never be null #3584
pdurbin Feb 6, 2017
279e2bd
improve code coverage a bit #3584
pdurbin Feb 6, 2017
7464d7c
Merge branch 'develop' into 3589-unf-recalc #3589
pdurbin Feb 6, 2017
08d50a4
document new Dataset Integrity admin API #3589
pdurbin Feb 6, 2017
d4daced
more accurate text for dataset integrity api endpoint #3589
pdurbin Feb 6, 2017
50be9f3
sleep for ten seconds in API test involving ingest #1612 #2290
pdurbin Feb 6, 2017
f569661
moved a requestAccess method from FileDownloadServiceBean to FileDown…
scolapasta Feb 6, 2017
fc3fade
the last few fixes for the batch upload.
landreev Feb 7, 2017
2a1f915
fix for the notification page.
landreev Feb 7, 2017
7d8b467
Merge branch 'develop' into 3353-batch-job-import
landreev Feb 7, 2017
e5cb7f4
give file more time to ingest #1612 #2290
pdurbin Feb 7, 2017
cc4158c
return async response, write to log instead #3589
pdurbin Feb 7, 2017
ed8e8b5
add todo for disappearing Download URL scenario #3584
pdurbin Feb 7, 2017
2e61c01
Merge pull request #3608 from IQSS/3584-public-file-url
kcondon Feb 7, 2017
50019da
Merge pull request #3627 from IQSS/3595-request-access-bug
kcondon Feb 7, 2017
ab6e2e4
Merge branch 'develop' into 3589-unf-recalc #3589
pdurbin Feb 8, 2017
019bbb3
remove buggy admin/datasets/integrity API endpoint #3589
pdurbin Feb 8, 2017
b1be2dc
update mime type for file package #3353
pdurbin Feb 8, 2017
cfc1c78
Merge pull request #3605 from IQSS/3589-unf-recalc
kcondon Feb 8, 2017
a1c46ef
some last minute fixes/changes:
landreev Feb 8, 2017
7162f5a
Merge pull request #3497 from IQSS/3353-batch-job-import
kcondon Feb 9, 2017
34f8069
Merge branch 'develop' into 3592-view-file-difference-summary
sekmiller Feb 9, 2017
c13bf08
see what happens if cors is disabled on listFacets
pameyer Feb 10, 2017
7352bcd
Merge branch 'develop' into exp-fix_facet_api
pameyer Feb 10, 2017
3ae1935
listFacets API now returns results
pameyer Feb 10, 2017
8151c9b
re-enable cors for listFacets API endpoint; wasn't the problem
pameyer Feb 10, 2017
43da928
switch back to command pattern
pameyer Feb 13, 2017
4190f6b
javadoc for ListFacetsCommand
pameyer Feb 13, 2017
10c2cfc
#3592 Add File Version Difference Tab
sekmiller Feb 14, 2017
a49756d
Merge branch 'develop' into 3592-view-file-difference-summary
sekmiller Feb 14, 2017
60242cd
Add Tags summary; cleanup debit code and Summary String
sekmiller Feb 14, 2017
c220c78
Cleaned up UI for versions summary table on file pg. [ref #3592]
mheppler Feb 14, 2017
191f27f
3592 Fix Logic for prior version of replaced file.
sekmiller Feb 15, 2017
15705a2
#3592 code cleanup and bundling strings
sekmiller Feb 16, 2017
7d3f1ff
Remove debug code
sekmiller Feb 16, 2017
e83d422
#3592 Add deaccession logic and render logic
sekmiller Feb 17, 2017
dc190c6
#3592 Break down difference summary into components for formatting
sekmiller Feb 17, 2017
14f36c4
#3592 Code Cleanup
sekmiller Feb 17, 2017
0495a54
Add Title Deaccessioned Reason: to versions tab
sekmiller Feb 17, 2017
f4982a1
Cleaned up styling of version summary text in Versions tab on file pg…
mheppler Feb 21, 2017
5aeb54a
Merge pull request #3630 from pameyer/exp-fix_facet_api
kcondon Feb 22, 2017
938cccd
Added documentation to User Guide > Dataset + File Management for the…
mheppler Feb 22, 2017
860bac5
Minor documentation revisions to User Guide > Dataset + File Manageme…
mheppler Feb 22, 2017
deaad10
Update ingestprocess.rst
jggautier Feb 23, 2017
467f66d
More unf improvements, from the todo list in #3629:
landreev Mar 1, 2017
d2a31ac
#3592 Updates based on Code Review
sekmiller Mar 1, 2017
abb8bee
#3592 get all related files via one query
sekmiller Mar 1, 2017
884a5d0
Fixed UI layout of the version summaries on the file pg. [ref #3592]
mheppler Mar 1, 2017
9f10879
#3592 Code Cleanup
sekmiller Mar 1, 2017
3c80799
this is a fix for #3625 - recalculate the UNF of the version, when re…
landreev Mar 1, 2017
4e3dc6e
#3592 - Implementing changes from UI/UX testing
sekmiller Mar 2, 2017
45a8642
#3592 - fix messed up fragment
sekmiller Mar 2, 2017
369fd22
Typo fix - Corrected spelling of "official"
dlmurphy Mar 2, 2017
5aa5af1
#3592 Added Current Dataset Version to DS page per UI/UX recommendations
sekmiller Mar 2, 2017
be8c442
Documentation - Clarification on File Replace
dlmurphy Mar 2, 2017
ad62e37
Added headers to datatables in Versions tabs on both file and dataset…
mheppler Mar 2, 2017
ee22076
added a debugging message to the file replace helper.
landreev Mar 2, 2017
72d8ffe
removed a redundant debug message
landreev Mar 2, 2017
d26a68a
Two minor code changes, as suggested by Gustavo per code review.
landreev Mar 2, 2017
8c94d3a
#3592 Add emphasis to File Changes in differences summary
sekmiller Mar 3, 2017
570681e
#3592 clear reference to unused method
sekmiller Mar 3, 2017
603bd0c
Merge pull request #3663 from IQSS/documentation_typo_fix
djbrooke Mar 6, 2017
1e795e3
utility script to clear EJB timer info (in case of problems during up…
pameyer Mar 6, 2017
bbb67be
don't assume glassfish is stopped
pameyer Mar 6, 2017
d3edf98
switched to using the apache stringutils (imported the one from "code…
landreev Mar 6, 2017
c3a7e18
Merge pull request #3670 from pameyer/exp_clear_timer_util
landreev Mar 7, 2017
954ab8d
extra timer-related documentation, per #3669
landreev Mar 7, 2017
b781a2a
typo.
landreev Mar 8, 2017
4a0a7e2
add toc, make file downloadable, minor working tweaks #3669
pdurbin Mar 8, 2017
35581ee
Merge pull request #3674 from IQSS/3669-timer-workaround-doc
kcondon Mar 8, 2017
f9acf28
#3592 fix permission and deaccessioned link
sekmiller Mar 8, 2017
c23a733
Merge pull request #3664 from IQSS/3625-unf-recalculation-file-replace
kcondon Mar 8, 2017
63fe9a1
Merge pull request #3651 from IQSS/3592-view-file-difference-summary
kcondon Mar 8, 2017
120e977
changed the native api doc, to reflect the name of the fixmissingunf …
landreev Mar 8, 2017
28ada70
changed a couple of words in the guide for the fixmissing unf API.
landreev Mar 8, 2017
a0f9cae
Merge pull request #3656 from IQSS/3629-unf-fixes
kcondon Mar 8, 2017
a8dffe9
Update conf.py
kcondon Mar 9, 2017
1ed9dd0
Update index.rst
kcondon Mar 9, 2017
95e117c
Update pom.xml
kcondon Mar 9, 2017
5df2d52
Update index.rst
kcondon Mar 9, 2017
c4b0b0b
Merge pull request #3684 from IQSS/3683-Bump-version-to-4.6.1
kcondon Mar 9, 2017
24c6b4e
Update config.rst
kcondon Mar 10, 2017
fa9f0bc
Merge pull request #3688 from IQSS/v4.6.1-tweak-doc
kcondon Mar 13, 2017
1f0c9ef
Merge pull request #3689 from IQSS/develop
kcondon Mar 13, 2017
ca26be1
A quick update for the tworavens installation doc, to go with the 4.6…
landreev Mar 15, 2017
caf3030
Merge pull request #3690 from IQSS/4.6.1-tworavens-install-improvements
kcondon Mar 15, 2017
5e416c8
Merge pull request #3692 from IQSS/develop
kcondon Mar 15, 2017
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
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,14 @@ ehthumbs.db
Thumbs.db
.vagrant
*.pyc
*.swp
scripts/api/py_api_wrapper/demo-data/*
scripts/api/py_api_wrapper/test_data/*
scripts/api/py_api_wrapper/local-data/*
doc/sphinx-guides/build
faces-config.NavData
src/main/java/BuildNumber.properties
/nbproject/
/nbproject/
oauth-credentials.md

/src/main/webapp/oauth2/newAccount.html
28 changes: 28 additions & 0 deletions doc/Architecture/update-user-account-info.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
@startuml
actor user
participant DataverseUserPage as page
participant "provider: AuthenticationProvider" as prv
participant AuthenticationServiceBean as authSvc
user --> page: HTTP GET
== page init ==
...
page -> authSvc : lookupProvider(session.user)
activate authSvc
page <-- authSvc: provider
deactivate authSvc
...

== Can Update User? ==
page -> prv: isUserInfoUpdateAllowed()
activate prv
page <-- prv: true/false
deactivate prv
...

== Save User ==
user --> page: save()
page -> page: udi = createUserDisplayInfo()
page -> prv: updateUserInfo( udi )
page -> authSvc: updateAuthentictedUser( session.user, udi )

@enduml
2 changes: 1 addition & 1 deletion doc/sphinx-guides/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ htmldeploy: html $(GUIDESDIR)
@echo
@cp -Rf build/html/* $(GUIDESDIR)
@echo "HTML documentation deployed to $(GUIDESDIR)."
@echo "It should now be available at http://<YOURHOST>:<YOURPORT>/guides."
@echo "It should now be available at http://<YOURHOST>:<YOURPORT>/guides/index.html"

$(GUIDESDIR):
@mkdir -p $(GUIDESDIR)
Expand Down
9 changes: 8 additions & 1 deletion doc/sphinx-guides/source/_static/docsdataverse_org.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*!
*!
* Start Bootstrap - Heroic Features HTML Template (http://startbootstrap.com)
* Code licensed under the Apache License v2.0.
* For details, see http://www.apache.org/licenses/LICENSE-2.0.
Expand Down Expand Up @@ -54,6 +54,13 @@ a.headerlink {
text-decoration: none;
}

.fixedwidthplain {
color:#606060;
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}

/* alternative formattings: font-weight: bold; font-size: 110%; etc. */

/* #sidebar.bs-sidenav.affix {
position: static;
} REMOVED STATIC ToC */
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"id":"shib",
"factoryAlias":"shib",
"enabled":true
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"id":"github",
"factoryAlias":"oauth2",
"title":"GitHub",
"subtitle":"",
"factoryData":"type: github | userEndpoint: NONE | clientId: FIXME | clientSecret: FIXME",
"enabled":true
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"id":"google",
"factoryAlias":"oauth2",
"title":"Google",
"subtitle":"",
"factoryData":"type: google | userEndpoint: NONE | clientId: FIXME | clientSecret: FIXME",
"enabled":true
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"id":"orcid",
"factoryAlias":"oauth2",
"title":"ORCID",
"subtitle":"",
"factoryData":"type: orcid | userEndpoint: https://api.orcid.org/v1.2/{ORCID}/orcid-profile | clientId: FIXME | clientSecret: FIXME",
"enabled":true
}
33 changes: 33 additions & 0 deletions doc/sphinx-guides/source/_static/util/clear_timer.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#!/bin/sh

# EBJ timers sometimes cause problems; utility to clear generated directories and database rows

# assumes this script is being run as root, and that the postgres user had passwordless
# access to the database (local sockets, or appropriate environmental variables).

# will restart glassfish if it's stopped; comment out the `start-domain` command at the end
# if you'd like to avoid that.

# directory where glassfish is installed
GLASSFISH_DIR=/usr/local/glassfish4

# directory within glassfish (defaults)
DV_DIR=${GLASSFISH_DIR}/glassfish/domains/domain1

# name of dataverse database
DV_DB=dvndb

# OS user for the database
DB_USER=postgres

# stop the glassfish domain (generates a warning if glassfish is stopped)
${GLASSFISH_DIR}/bin/asadmin stop-domain

rm -rf ${GLASSFISH_DIR}/${DV_DIR}/generated/
rm -rf ${GLASSFISH_DIR}/${DV_DIR}/osgi-cache/felix

sudo -u ${DB_USER} psql ${DV_DB} -c 'delete from "EJB__TIMER__TBL"';

# restart the domain (also generates a warning if glassfish is stopped)
${GLASSFISH_DIR}/bin/asadmin start-domain

1 change: 1 addition & 0 deletions doc/sphinx-guides/source/admin/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ Contents:
harvestserver
metadataexport
timers
troubleshooting
9 changes: 8 additions & 1 deletion doc/sphinx-guides/source/admin/timers.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. role:: fixedwidthplain

Dataverse Application Timers
============================

Expand All @@ -20,7 +22,7 @@ The following JVM option instructs the application to act as the dedicated timer

``-Ddataverse.timerServer=true``

**IMPORTANT:** Note, that this option is automatically set by the Dataverse installer script. That means that when configuring a multi-server cluster, it will be the responsibility of the installer to remove the option from the domain.xml of every node except the one intended to be the timer server.
**IMPORTANT:** Note that this option is automatically set by the Dataverse installer script. That means that when **configuring a multi-server cluster**, it will be the responsibility of the installer to remove the option from the :fixedwidthplain:`domain.xml` of every node except the one intended to be the timer server. We also recommend that the following entry in the :fixedwidthplain:`domain.xml`: ``<ejb-timer-service timer-datasource="jdbc/VDCNetDS">`` is changed back to ``<ejb-timer-service>`` on all the non-timer server nodes. Similarly, this option is automatically set by the installer script. Changing it back to the default setting on a server that doesn't need to run the timer will prevent a potential race condition, where multiple servers try to get a lock on the timer database.

Harvesting Timers
-----------------
Expand All @@ -41,3 +43,8 @@ This timer runs a daily job that tries to export all the local, published datase
This daily job will also update all the harvestable OAI sets configured on your server, adding new and/or newly published datasets or marking deaccessioned datasets as "deleted" in the corresponding sets as needed.

This job is automatically scheduled to run at 2AM local time every night. If really necessary, it is possible (for an advanced user) to change that time by directly editing the EJB timer application table in the database.

Known Issues
------------

We've got several reports of an intermittent issue where the applicaiton fails to deploy with the error message "EJB Timer Service is not available." Please see the :doc:`/admin/troubleshooting` section of this guide for a workaround.
29 changes: 29 additions & 0 deletions doc/sphinx-guides/source/admin/troubleshooting.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
.. role:: fixedwidthplain

Troubleshooting
===============

.. contents:: :local:

This new (as of v.4.6) section of the Admin guide is for tips on how to diagnose and fix system problems.

Deployment fails, "EJB Timer Service not available"
---------------------------------------------------

Sometimes the Dataverse application fails to deploy, or Glassfish fails to restart once the application is deployed, with the following error message: :fixedwidthplain:`"remote failure: Error occurred during deployment: Exception while loading the app : EJB Timer Service is not available. Please see server.log for more details."`

We don't know what's causing this issue, but here's a known workaround:

- Stop Glassfish;

- Remove the ``generated`` and ``osgi-cache`` directories;

- Delete all the rows from the ``EJB__TIMER__TBL`` table in the database;

- Start Glassfish

The shell script below performs the steps above.
Note that it may or may not work on your system, so it is provided as an example only, downloadable :download:`here </_static/util/clear_timer.sh>`. Aside from the configuration values that need to be changed to reflect your environment (the Glassfish directory, name of the database, etc.) the script relies on the database being configured in a certain way for access. (See the comments in the script for more information)

.. literalinclude:: ../_static/util/clear_timer.sh

4 changes: 2 additions & 2 deletions doc/sphinx-guides/source/api/apps.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Apps
====

The introduction of Dataverse APIs has fostered the development of apps that are listed at http://datascience.iq.harvard.edu/collaborations
The introduction of Dataverse APIs has fostered the development of apps that are listed at http://dataverse.org/integrations

The apps below are open source, demonstrating how to use Dataverse APIs. Some of these apps (and others) are built on :doc:`/api/client-libraries` that are available for Dataverse APIs.

Expand Down Expand Up @@ -40,7 +40,7 @@ https://github.com/CenterForOpenScience/osf.io/tree/master/website/addons/datave
GeoConnect
~~~~~~~~~~

GeoConnect allows Dataverse files to be visualized on http://worldmap.harvard.edu with a "Map It" button.
GeoConnect allows Dataverse files to be visualized on http://worldmap.harvard.edu with the "Explore" button. Read more about it in the :doc:`/user/data-exploration/worldmap` section of the User Guide.

https://github.com/IQSS/geoconnect

Expand Down
2 changes: 1 addition & 1 deletion doc/sphinx-guides/source/api/client-libraries.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ It was created by `Thomas Leeper <http://thomasleeper.com>`_ whose dataverse can
Java
----

https://github.com/IQSS/dataverse-client-java is the offical Java library for Dataverse APIs.
https://github.com/IQSS/dataverse-client-java is the official 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.
2 changes: 2 additions & 0 deletions doc/sphinx-guides/source/api/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ APIs. In 4.0, we require to get a token, by simply registering for a Dataverse a

Rather than using a production installation of Dataverse, API users are welcome to use http://demo.dataverse.org for testing.

Please note that the APIs in this guide are shipped with the Dataverse software itself but additional APIs are available if you install the "miniverse" application from https://github.com/IQSS/miniverse and give it read only access to your production Dataverse database. http://dataverse.org/metrics is powered by miniverse.

Contents:

.. toctree::
Expand Down
Loading