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

Merge v4.19 into master #6552

Merged
merged 255 commits into from Jan 21, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
255 commits
Select commit Hold shift + click to select a range
3913e42
Refactor OAuth2LoginBackingBean.linkFor(), moving link generation to …
poikilotherm Nov 6, 2019
7523aba
Update JUnit5 libraries.
poikilotherm Nov 7, 2019
69e0212
Make OAuth2LoginBackingBean.parseStateFromRequest() testable. Add tests.
poikilotherm Nov 8, 2019
3169e6f
Annotate OAuth2LoginBackingBean methods with TODOs for (later) refact…
poikilotherm Nov 8, 2019
ce3c455
Make OAuth2LoginBackingBean.exchangeCodeForToken() testable with mock…
poikilotherm Nov 8, 2019
15eed10
Refactor OAuth2LoginBackingBeanTest: easier use with mocked authSvc a…
poikilotherm Nov 13, 2019
31ecf7f
Add first test for OAuth2LoginBackingBean.exchangeCodeForToken()
poikilotherm Nov 13, 2019
010feb9
OAuth2LoginBackingBean: move service to IdP logic to abstract.
poikilotherm Nov 13, 2019
35dab57
Add test for new user branch of OAuth2LoginBackingBean.exchangeCodeFo…
poikilotherm Nov 13, 2019
9073b8c
Add test for existing user branch in OAuth2LoginBackingBean.exchangeC…
poikilotherm Nov 13, 2019
7e81ebf
Add LocaleTest to ensure that tests run with the correct locale setti…
poikilotherm Nov 13, 2019
3a88605
Fix unit tests failing due to mocked FacesContext
poikilotherm Nov 13, 2019
9f594b9
Refactor pom.xml to use new JUnit 5.4+ dependency package
poikilotherm Nov 13, 2019
707826e
Merge branch 'develop' into 6339-subjects-disappear-on-edit
sekmiller Nov 15, 2019
1adbeab
#6339 fix merge conflict
sekmiller Nov 15, 2019
1213b46
Merge branch 'develop' into 6339-subjects-disappear-on-edit
sekmiller Nov 15, 2019
332645b
Loop to get multiple pages, update error handling
qqmyers Nov 16, 2019
f1a25ff
update jvm option name
qqmyers Nov 16, 2019
7d8ad27
#6339 change to select many menu
sekmiller Nov 18, 2019
6a4a0aa
#6339 change to select checkbox menu control
sekmiller Nov 20, 2019
59ac88d
Merge branch 'develop' into 6339-subjects-disappear-on-edit
sekmiller Nov 20, 2019
9c2c08a
Cleaned up styling of new selectCheckboxMenu component in metadataFra…
mheppler Nov 20, 2019
5f3095f
Merge branch 'develop' into 6339-subjects-disappear-on-edit
mheppler Nov 20, 2019
8fa0516
Merge branch 'develop' into 6339-subjects-disappear-on-edit
sekmiller Nov 20, 2019
2e88543
Merge remote-tracking branch 'origin/6339-subjects-disappear-on-edit'…
sekmiller Nov 20, 2019
a2c326b
Merge remote-tracking branch 'IQSS/develop' into IQSS/6138
qqmyers Nov 20, 2019
3667976
Merge pull request #6378 from QualitativeDataRepository/IQSS/6138
kcondon Nov 20, 2019
cca11ba
Merge branch 'develop' into 6364-oauth2-abstract
poikilotherm Nov 21, 2019
13190d9
#6391 solr should listen on localhost by default
donsizemore Nov 21, 2019
c7c2375
#6339 add conditional to "multiple"
sekmiller Nov 21, 2019
bd0b024
Merge branch 'develop' into 6339-subjects-disappear-on-edit
sekmiller Nov 21, 2019
d1c0628
Styled validation msg block for control vocab dropdown menus on metad…
mheppler Nov 21, 2019
ccbf171
Handle expired or multiple tokens per user
qqmyers Nov 21, 2019
9346ff9
time in milliseconds and delete all but one un-expired token
qqmyers Nov 21, 2019
c4c47f8
#6339 Add Ajax updates to selections from select menu check box
sekmiller Nov 21, 2019
612cf8c
Create new ClockUtil utility class with annotations to inject clocks …
poikilotherm Nov 22, 2019
5d03e67
Refactor OAuth2LoginBackingBean to use java.time.Clock instead of Sys…
poikilotherm Nov 22, 2019
db1e8e7
Refactore tests for OAuth2LoginBackingBeanTest to finally be non-flak…
poikilotherm Nov 22, 2019
45b1716
#6339 remove selected vals list
sekmiller Nov 22, 2019
abfb6ee
adding proposed PR template
djbrooke Nov 22, 2019
495e0c6
Merge pull request #6392 from OdumInstitute/6391_solr_default_to_loca…
kcondon Nov 22, 2019
728106c
removing old PR template
djbrooke Nov 22, 2019
56a2087
do not hardcode https for SWORD #6348
pdurbin Nov 22, 2019
53baed0
fix comparesTo to fix file permissions page
qqmyers Nov 22, 2019
570d19a
Update README.md
dA505819 Nov 24, 2019
9a4b49f
Fix OAuth2 providers requiring redirect_uri parameter when requesting…
poikilotherm Nov 25, 2019
9bc29ed
Annotate OAuth2AuthenticationProviderFactory.parseFactoryData() with …
poikilotherm Nov 13, 2019
4f2d0b3
Make OAuth2AuthenticationProviderFactory.parseFactoryData() public + …
poikilotherm Nov 13, 2019
96d7055
Annotate AbstractOAuth2AuthenticationProvider with TODOs for refactoring
poikilotherm Nov 15, 2019
3fd326c
Refactor LoginPage.listAuthenticationProviders() to represent actual …
poikilotherm Nov 15, 2019
1f8c44d
use newer poi
qqmyers Nov 23, 2019
908e15f
Make OAuth2 login controller beans capable to deal with empty access …
poikilotherm Nov 25, 2019
bd817fb
Introduce first version of a working Open ID Connect authentication p…
poikilotherm Nov 25, 2019
9df23c3
Merge pull request #6365 from poikilotherm/6364-oauth2-abstract
kcondon Nov 25, 2019
eccd1a8
Merge pull request #6410 from QualitativeDataRepository/IQSS/6409
kcondon Nov 25, 2019
41a97ee
Merge branch 'develop' into 6300-additional-dataset-metadata-via-sear…
sekmiller Nov 25, 2019
0144e96
only report MDC for calls on released versions
qqmyers Nov 25, 2019
de39d93
Updated
dA505819 Nov 25, 2019
0487a4d
Merge pull request #6394 from QualitativeDataRepository/IQSS/6389
kcondon Nov 25, 2019
9b764f6
Merge pull request #6405 from dA505819/patch-1
kcondon Nov 25, 2019
a4ee993
Merge pull request #6399 from IQSS/6348-sword
kcondon Nov 25, 2019
41be181
Added oncomplete attribute to host autocomplete on create dataverse a…
mheppler Nov 25, 2019
18b260d
Merge pull request #6414 from QualitativeDataRepository/IQSS/6411
kcondon Nov 25, 2019
105e62f
Fix wrong error message in OIDCAuthProvider.
poikilotherm Nov 26, 2019
7d17ef8
Merge pull request #6415 from IQSS/6395-create-host-tooltips-fix
kcondon Nov 26, 2019
10cfafc
Merge branch 'develop' into 6339-subjects-disappear-on-edit
sekmiller Nov 26, 2019
2865102
Merge pull request #6402 from QualitativeDataRepository/IQSS/6401
kcondon Nov 26, 2019
522cd3c
Moved commented out jQuery for Filter Results btn to rebind js, fixed…
mheppler Nov 26, 2019
3e08870
Added underline to list of allowed html tags
jggautier Nov 26, 2019
e708cc0
Update dataverse-management.rst
jggautier Nov 26, 2019
7422e1c
Merge pull request #6417 from IQSS/6403-fix-filter-results-facets-toggle
kcondon Nov 26, 2019
00586ba
Refactored HTML tags popover code on edit dataverse and dataset forms…
mheppler Nov 26, 2019
16f1a8f
Update dataset-management.rst
jggautier Nov 26, 2019
46f0987
compare versus correct version
qqmyers Nov 26, 2019
c8bfa3d
allow previews from older public versions
qqmyers Nov 26, 2019
3844e7e
#6399 remove AJAX event from selectcheckboxmenu
sekmiller Nov 26, 2019
022c4c8
Merge branch 'develop' into 6339-subjects-disappear-on-edit
sekmiller Nov 26, 2019
95f1ddb
switch from TestShib (RIP) to SAMLTest #6018
pdurbin Nov 28, 2019
1b19427
Merge pull request #6424 from IQSS/6018-samltest
kcondon Dec 2, 2019
0d2ddef
Merge branch 'develop' into 6339-subjects-disappear-on-edit
mheppler Dec 2, 2019
8897a23
#6339 show selected items
sekmiller Dec 2, 2019
3b91f16
Merge branch 'develop' into 6300-additional-dataset-metadata-via-sear…
sekmiller Dec 2, 2019
dadf117
Merge pull request #6420 from QualitativeDataRepository/IQSS/6419
kcondon Dec 2, 2019
b5ea30f
Merge branch 'develop' into IQSS/6421
qqmyers Dec 2, 2019
37906d3
reapply change
qqmyers Dec 2, 2019
12abc01
documentation and release notes with some scary language about keepin…
Dec 2, 2019
af65f3a
Merge pull request #6422 from QualitativeDataRepository/IQSS/6421
kcondon Dec 2, 2019
884d73f
Merge pull request #6427 from IQSS/ds10-solr-vulnerability
kcondon Dec 3, 2019
141aa1e
Fix 6052, do not recreate bundle class loader which break cache system
tcoupin Dec 3, 2019
c16045e
documentation and release notes with some scary language about keepin…
Dec 3, 2019
387615b
Merge branch 'develop' into 6300-additional-dataset-metadata-via-sear…
sekmiller Dec 3, 2019
ecd0f39
documentation and release notes with some scary language about keepin…
landreev Dec 3, 2019
30bd91f
fixed typo (IQSS/dataverse-security#10)
landreev Dec 3, 2019
72210d1
Merge branch 'ds10-solr-vulnerability' of https://github.com/IQSS/dat…
landreev Dec 3, 2019
51881e7
Merge branch 'develop' into 6339-subjects-disappear-on-edit
sekmiller Dec 3, 2019
6ec2a18
Merge pull request #6429 from IQSS/ds10-solr-vulnerability
kcondon Dec 3, 2019
09f191c
Merge pull request #6418 from IQSS/6413-html-whitelist-add-underline
kcondon Dec 3, 2019
29940f0
Merge pull request #6356 from IQSS/6339-subjects-disappear-on-edit
kcondon Dec 3, 2019
3245eee
Merge branch 'develop' into 6300-additional-dataset-metadata-via-sear…
sekmiller Dec 3, 2019
bc8a00a
Reverted changes that mistakenly change Affiliation field on dv form …
mheppler Dec 3, 2019
86b7054
Merge pull request #6431 from IQSS/6430-dv-form-affiliation-not-required
kcondon Dec 3, 2019
e96799d
Create a first, simple doc for the OIDC feature in #5974
poikilotherm Dec 4, 2019
5118274
Merge branch 'develop' into 5974-oidc-impl
poikilotherm Dec 4, 2019
c9a3369
Update PULL_REQUEST_TEMPLATE.md
scolapasta Dec 4, 2019
92f3af6
Merge pull request #6433 from poikilotherm/5974-oidc-impl
kcondon Dec 4, 2019
c125639
Merge pull request #6398 from IQSS/6226-pr-template
kcondon Dec 4, 2019
b31f0c7
Added popover with link to metrics block, cleaned up popover html and…
mheppler Dec 4, 2019
ccf4a4d
Cleaned up preview tab on file pg [ref #6437]
mheppler Dec 5, 2019
96b810d
#6300 Add more detail to dataset search results
sekmiller Dec 5, 2019
d5116ef
Merge branch 'develop' into 6300-additional-dataset-metadata-via-sear…
sekmiller Dec 5, 2019
28c7481
Merge pull request #6428 from tcoupin/6052-cache-ressource-bundle
kcondon Dec 6, 2019
e56461a
Fixed rebind of Bootstrap functionality on editFilesFragment after up…
mheppler Dec 6, 2019
ad3accf
#6300 add Version Numbers to Search API
sekmiller Dec 6, 2019
f5435c1
Merge branch 'develop' into 6300-additional-dataset-metadata-via-sear…
sekmiller Dec 6, 2019
c96f846
Fixed rebind of Bootstrap functionality on upload, edit and file repl…
mheppler Dec 6, 2019
b379994
#6300 Add unit tests for additional data provided
sekmiller Dec 6, 2019
bd0d5e0
Fix display bug for feature dv carousel related to missing responsive…
mheppler Dec 6, 2019
4f1bfea
Merge pull request #6434 from IQSS/6209-metrics-mdc-popover-link
kcondon Dec 6, 2019
4779395
Add release note about basic OIDC support. #6432 #5974
poikilotherm Dec 9, 2019
0dacda6
Merge branch 'develop' into 6437-file-pg-preview-tab-ui
mheppler Dec 9, 2019
81d02b1
Merge pull request #6442 from poikilotherm/6432-oidc-rel-note
kcondon Dec 9, 2019
7d96959
Dec 9, 2019
79a53e9
pages now have dedicated properties for view parameters; no longer se…
Dec 9, 2019
751ca19
Merge pull request #6438 from IQSS/6437-file-pg-preview-tab-ui
kcondon Dec 9, 2019
81838e6
Merge branch 'develop' into 6300-additional-dataset-metadata-via-sear…
sekmiller Dec 11, 2019
dba46e8
6300 remove reference to parameter
sekmiller Dec 11, 2019
a33bcdd
6300 Adding example of additional DS info
sekmiller Dec 11, 2019
1278522
add release note about `query_entities` #6300 #6396
pdurbin Dec 11, 2019
6851c28
add a use case to release note #6300 #6396
pdurbin Dec 11, 2019
ea875bb
Merge branch 'develop' into 6307-email-dataverse-support
sekmiller Dec 11, 2019
2573b2c
Merge pull request #6441 from IQSS/6300-additional-dataset-metadata-v…
kcondon Dec 11, 2019
27b6a7d
document that Stata 15 is supported #6444
pdurbin Dec 11, 2019
d0de0cc
ask devs to limit Solr to localhost
pdurbin Dec 11, 2019
709162d
Merge pull request #6451 from IQSS/6444-stata-version
kcondon Dec 11, 2019
a6b79a8
Binder now supports Dataverse DOIs #4714
pdurbin Dec 11, 2019
6b57cdc
add release note about Binder integration #4714
pdurbin Dec 11, 2019
30deeee
Merge pull request #6452 from IQSS/ds10-solr-vulnerability-dev
kcondon Dec 12, 2019
2ee7c5a
Update doc/sphinx-guides/source/api/apps.rst
pdurbin Dec 12, 2019
4d1240f
suggesting new text based on CR feedback
djbrooke Dec 13, 2019
3225c2c
updating based on CR feedback
djbrooke Dec 13, 2019
5ece2a2
use datasets instead of repositories
djbrooke Dec 13, 2019
85eb558
contenttype can be non-null because dataset tools do not require it #…
pdurbin Dec 13, 2019
fbe1a6f
add r maintainer
djbrooke Dec 13, 2019
9e8fbe6
#6307 fix support email
sekmiller Dec 13, 2019
904e888
Merge branch 'develop' into 6307-email-dataverse-support
sekmiller Dec 13, 2019
9c54d52
#6307 remove debug code
sekmiller Dec 13, 2019
54377b2
#6307 bundle-ize "Hello, "
sekmiller Dec 13, 2019
56192c1
#6307 remove debug code
sekmiller Dec 16, 2019
fc24c42
Merge pull request #6461 from IQSS/6458-update-r-maintainer
kcondon Dec 16, 2019
373d98f
Merge pull request #6453 from IQSS/4714-binder
kcondon Dec 16, 2019
72bc488
changing from non-null to null per standup discussion
djbrooke Dec 16, 2019
5f964cd
Merge branch 'develop' into 6307-email-dataverse-support
sekmiller Dec 16, 2019
cf88cf9
Merge pull request #6460 from IQSS/6459-contenttype-nullable
kcondon Dec 16, 2019
dc103c4
Merge pull request #6462 from IQSS/6307-email-dataverse-support
kcondon Dec 16, 2019
e4fda53
#6268 fix saved search popup
sekmiller Dec 17, 2019
7229156
Merge branch 'develop' into 6268-link-search-popup-blank
sekmiller Dec 17, 2019
4697f1c
python installer framework (#3937)
landreev Dec 17, 2019
4c49963
missing env. variable for the mail server. (#3937)
landreev Dec 17, 2019
8e414d7
code cleanup/rearrangement, refined error/status messages. (#3937)
landreev Dec 18, 2019
3b811eb
Added code to import reference data using psycopg2;
landreev Dec 18, 2019
a459c7c
added os detection and macosx-specific system memory check (#3937)
landreev Dec 18, 2019
d079956
more insignificant edits (#3937)
landreev Dec 18, 2019
985ced0
Changed editMode viewparams to omnifaces (so they don't get sent on p…
Dec 19, 2019
add0764
restored the --force option, that continues the install even if the d…
landreev Dec 19, 2019
cbad027
#6268 fix link popup and saved search
sekmiller Dec 19, 2019
6e106f6
ported glassfish user account check; and the "don't-run-this-as-root"…
landreev Dec 19, 2019
e3367e7
moved some functions out into separate .py files. (#3937)
landreev Dec 19, 2019
00ae674
fixed a bad import line (#3937)
landreev Dec 19, 2019
b8264a6
added a reuquirements file for psycopg2 (#3937)
landreev Dec 19, 2019
88f3bb7
Moved some javascript, which enabled edit to work again
Dec 19, 2019
947d4fa
edit validation for the glassfish directory, admin email address and …
landreev Dec 19, 2019
4ad0c81
Moved some javascript, which enabled edit to work again
Dec 20, 2019
d2e7e73
#6443 redirect to DRAFT after successful ingest
sekmiller Dec 20, 2019
de4be49
#6443 test permissions so random user does't get login form
sekmiller Dec 20, 2019
a476e1a
#6426 get actual prod date for export
sekmiller Dec 20, 2019
80c429b
adding release notes
djbrooke Dec 20, 2019
b70cd18
Merge pull request #6477 from IQSS/6443-ingest-oncomplete-refresh
kcondon Dec 20, 2019
e415a42
Merge branch 'develop' into 6268-link-search-popup-blank
sekmiller Dec 20, 2019
26c26ec
#6268 get link button render from dataverse page
sekmiller Jan 3, 2020
75d71d4
#6345 add comma to display format for geographic coverage
sekmiller Jan 3, 2020
2564e99
python3 compatibility (#3937)
landreev Jan 5, 2020
b65cd66
release notes, install and dev. guide entries, changes to the Makefil…
landreev Jan 5, 2020
4c5a3ce
Merge branch 'develop' into 3937-rewrite-installer-in-python-again
landreev Jan 6, 2020
36235d4
#6345 strip off comma from last geo metadata entry
sekmiller Jan 6, 2020
c85abf5
#6345 update tsv remove debug code
sekmiller Jan 6, 2020
b538d10
#6345 start 4.19 release notes
sekmiller Jan 6, 2020
fb4bd69
decode %3A as a colon (:) #6381
pdurbin Jan 6, 2020
cbca047
Merge pull request #6473 from IQSS/6268-link-search-popup-blank
kcondon Jan 6, 2020
aebb2ef
Merge branch 'develop' into 6426-productiondate-export
sekmiller Jan 7, 2020
46cf81b
#6426 have getProductionDate return null if empty
sekmiller Jan 7, 2020
d1a8fd3
Merge pull request #6478 from IQSS/6426-productiondate-export
kcondon Jan 7, 2020
5e25f51
Merge pull request #6483 from IQSS/6345-add-punctuation-to-geo-cov
kcondon Jan 7, 2020
b2dfbd1
Update config.rst
BPeuch Jan 8, 2020
af4c0b0
Merge pull request #6493 from BPeuch/patch-1
kcondon Jan 8, 2020
7b89e9c
added a message to the old installer, announcing that the new/experim…
landreev Jan 8, 2020
46d98d6
specified the version of psycopg2 in the requirements file. (#3937)
landreev Jan 8, 2020
fd1348e
modified the installer to save the output of setup-all.sh subscript i…
landreev Jan 8, 2020
4bc8fda
log expired tokens
pameyer Jan 9, 2020
ae9776a
Missing *.config files in the zipped installer bundle (#3937)
landreev Jan 9, 2020
ea62fa2
#6499 change log level to warning for log message issued in exception…
pkiraly Jan 10, 2020
4abf83c
add OpenScholar to list of integrations, apps #6381
pdurbin Jan 10, 2020
3ceba95
Merge pull request #6502 from pkiraly/6499-change-log-level-4-excepti…
kcondon Jan 10, 2020
fcf5292
Merge pull request #6498 from IQSS/6495-log_expired_tokens
kcondon Jan 10, 2020
a1f3da8
added more information about building psycopg2, per QA feedback. (#3937)
landreev Jan 13, 2020
b03b163
#6504 fix lock refresh
sekmiller Jan 13, 2020
4ba5348
removed the "mailinator" address from the default config; changed the…
landreev Jan 13, 2020
cbe285b
added stricter language about Python versions. (3.7 strongly recommen…
landreev Jan 13, 2020
7efea0e
#6504 add back CDATA tags
sekmiller Jan 13, 2020
14bd660
Merge pull request #6508 from IQSS/6504-ds-lock-removal
scolapasta Jan 13, 2020
bcc4ea5
revert formatting changes in branch
sekmiller Jan 13, 2020
a35e3f6
changed the default db name back to "dvndb" (#3937)
landreev Jan 13, 2020
7ca8278
Merge pull request #6509 from IQSS/dataset-page-revert-formatting
scolapasta Jan 13, 2020
dcf0b48
Merge pull request #6484 from IQSS/3937-rewrite-installer-in-python-a…
kcondon Jan 13, 2020
4b06b8f
expose dataset ID and DOI/Handle in version response #6397
pdurbin Jan 13, 2020
e5d2ee2
only show email portion system email via Harvesting #3619
pdurbin Jan 13, 2020
aaf7d9a
disables ingest of filetype text/tab-separated-values
landreev Jan 14, 2020
4898066
(a few more lines of code to protect against attempted ingests of alr…
landreev Jan 14, 2020
97d769e
#6512 changed ownerId to o:param so it doesn't get overridden on part…
Jan 14, 2020
3b2b326
Merge pull request #6517 from IQSS/4.19.disable-tab-ingest
kcondon Jan 14, 2020
098611a
Merge pull request #6486 from IQSS/6381-decode
kcondon Jan 14, 2020
7c14470
Merge branch 'develop' into 6230-glassfish-upgrade
sekmiller Jan 15, 2020
ee91ec7
Merge pull request #6513 from IQSS/3619-harvesting-admin-email
kcondon Jan 15, 2020
0d7a56e
#6525 update weld-osgi call to match that of docker-aio et al.
donsizemore Jan 15, 2020
4b49911
initial consolidation of the individual release notes files into 4.19
djbrooke Jan 15, 2020
48df526
a few more updates
djbrooke Jan 15, 2020
c5b518a
Enhancing the Solr schema update script. See #6529
poikilotherm Jan 16, 2020
c29c461
Change log message to be more precise. #6529
poikilotherm Jan 16, 2020
2c431f7
#6525 s/http/https/g
donsizemore Jan 16, 2020
e626ae1
#6528 s/http/https/g
donsizemore Jan 16, 2020
32be08e
Merge pull request #6531 from OdumInstitute/6528_maven_https
kcondon Jan 16, 2020
804eac3
Merge pull request #6530 from poikilotherm/6529-solr-script
kcondon Jan 16, 2020
024b8b2
avoid null pointer when getting email for OAI-PMH #3619
pdurbin Jan 17, 2020
f39bf30
a few more updates before a PR
djbrooke Jan 17, 2020
f244e88
OIDC updates
djbrooke Jan 17, 2020
4010d41
reordering, adding more info for search API and metadata blocks
djbrooke Jan 17, 2020
96fbb75
Merge pull request #6523 from IQSS/6230-glassfish-upgrade
kcondon Jan 17, 2020
9c80079
#6516 fix revert to inherit workflow
sekmiller Jan 17, 2020
96beafc
Merge branch 'develop' into 6516-edit-dataverse-revert-mdbs
sekmiller Jan 17, 2020
ea94b0e
add section on Payara, links, other tweaks #6506
pdurbin Jan 17, 2020
b63b2fe
Merge pull request #6538 from IQSS/3619-avoid-npe
kcondon Jan 17, 2020
923e795
Merge pull request #6527 from OdumInstitute/6525_weld-osgi-bundle
kcondon Jan 17, 2020
4e1f4aa
Merge pull request #6540 from IQSS/6516-edit-dataverse-revert-mdbs
kcondon Jan 17, 2020
57c5b97
changed datasetPid to datasetPersistentId
scolapasta Jan 17, 2020
a0f1330
changed datasetPid to datasetPersistentId
scolapasta Jan 17, 2020
930e017
Merge pull request #6511 from IQSS/6397-datasetIdPid
kcondon Jan 21, 2020
0cade62
Merge pull request #6539 from IQSS/6506-4.19-release-notes
kcondon Jan 21, 2020
b2c84d3
Update pom.xml
kcondon Jan 21, 2020
5697d44
Update conf.py
kcondon Jan 21, 2020
6e68608
Update versions.rst
kcondon Jan 21, 2020
7dd1387
Merge pull request #6551 from IQSS/6550_update_version_to_4_19
kcondon Jan 21, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
@@ -0,0 +1,15 @@
**What this PR does / why we need it**:

**Which issue(s) this PR closes**:

Closes #

**Special notes for your reviewer**:

**Suggestions on how to test this**:

**Does this PR introduce a user interface change?**:

**Is there a release notes update needed for this change?**:

**Additional documentation**:
23 changes: 0 additions & 23 deletions PULL_REQUEST_TEMPLATE.md

This file was deleted.

2 changes: 1 addition & 1 deletion conf/docker-aio/0prep_deps.sh
Expand Up @@ -8,7 +8,7 @@ if [ ! -e dv/deps/glassfish4dv.tgz ]; then
mkdir -p /tmp/dv-prep/gf
cd /tmp/dv-prep/gf
wget http://download.java.net/glassfish/4.1/release/glassfish-4.1.zip
wget http://search.maven.org/remotecontent?filepath=org/jboss/weld/weld-osgi-bundle/2.2.10.Final/weld-osgi-bundle-2.2.10.Final-glassfish4.jar -O weld-osgi-bundle-2.2.10.Final-glassfish4.jar
wget https://search.maven.org/remotecontent?filepath=org/jboss/weld/weld-osgi-bundle/2.2.10.Final/weld-osgi-bundle-2.2.10.Final-glassfish4.jar -O weld-osgi-bundle-2.2.10.Final-glassfish4.jar
unzip glassfish-4.1.zip
rm glassfish4/glassfish/modules/weld-osgi-bundle.jar
mv weld-osgi-bundle-2.2.10.Final-glassfish4.jar glassfish4/glassfish/modules
Expand Down
10 changes: 8 additions & 2 deletions conf/solr/7.3.1/updateSchemaMDB.sh
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -euo pipefail

# This script updates the <field> and <copyField> schema configuration necessary to properly
Expand Down Expand Up @@ -61,6 +61,12 @@ echo "Retrieve schema data from ${DATAVERSE_URL}/api/admin/index/solr/schema"
TMPFILE=`mktemp`
curl -f -sS "${DATAVERSE_URL}/api/admin/index/solr/schema${UNBLOCK_KEY}" > $TMPFILE

### Fail gracefull if Dataverse is not ready yet.
if [[ "`wc -l ${TMPFILE}`" < "3" ]]; then
echo "Dataverse responded with empty file. When running on K8s: did you bootstrap yet?"
exit 123
fi

### Processing
echo "Writing ${TARGET}/schema_dv_mdb_fields.xml"
echo "<fields>" > ${TARGET}/schema_dv_mdb_fields.xml
Expand All @@ -76,4 +82,4 @@ rm ${TMPFILE}*

### Reloading
echo "Triggering Solr RELOAD at ${SOLR_URL}/solr/admin/cores?action=RELOAD&core=collection1"
curl -f -sS "${SOLR_URL}/solr/admin/cores?action=RELOAD&core=collection1"
curl -f -sS "${SOLR_URL}/solr/admin/cores?action=RELOAD&core=collection1"
8 changes: 4 additions & 4 deletions doc/mergeParty/readme.md
@@ -1,5 +1,5 @@
# Merge Party Readme
Welcome to the merge party! This document is intended to give a short overview of why we need this party, when was changed and how to change it. There's much work to do, so we'll keep it short. Hopefully.
# Merge Party
Welcome to the merge party! This document is intended to give a short overview of why we need this party, when was it changed and how to change it. There's much work to do, so we'll keep it short, hopefully.

## What Just Happened
In order to allow users to log into Dataverse using credentials from other systems (e.g. institutional Shibboleth server), we had to refactor out the internal user management sub-system (formerly known as "DataverseUser") and introduce a new user system. The existing system was taken out of Dataverse but kept in the .war file, as we also need to support standalone instances.
Expand All @@ -16,7 +16,7 @@ From a merge standpoint, this means that code that previously referenced `Datave

Most of these changes have been done by Michael/Phil - otherwise, the `auth` branch would not compile.

Since the guest user does not live in the database, it does not have an id. Moreover, JPA classes cannot link directly to it\*. But have no fear - all users (and, really, all `RoleAssignee`s, which are users or groups) have an identifier. When you need to reference a user (and later, a group) just use the identifier (it's of type `String`). When needing to convert an identifier to a user, call `RoleAssigneeServiceBean.getRoleAssignee( identifier )` in the general case, or `AuthenticationServiceBean.getAuthenticatedUser(identifier)` if you're certain the identifier is of an authenticated user.
The guest user does not live in the database so it does not have an id. Moreover, JPA classes cannot link directly to it\*. But have no fear - all users (and, really, all `RoleAssignee`s, which are users or groups) have an identifier. When you need to reference a user (and later, a group) just use the identifier (it's of type `String`). When needing to convert an identifier to a user, call `RoleAssigneeServiceBean.getRoleAssignee( identifier )` in the general case, or `AuthenticationServiceBean.getAuthenticatedUser(identifier)` if you're certain the identifier is of an authenticated user.


\* We have debated this for a while, since we could have created a dummy record, like we've done so far. We went with this solution, as it is cleaner, can't be messed up by SQL scripts, and will make even more sense once groups arrive.
Expand Down Expand Up @@ -84,4 +84,4 @@ A new script that sets up the users and the dataverses, sets the system up for b

## Undoing the undoing the merge
When merging back to master, we need to undo commit 8ae3e6a482b87b52a1745bb06f340875803d2c5b (a.k.a 8ae3e6a), which is the commit that undid the erroneous merge.
More at http://www.christianengvall.se/undo-pushed-merge-git/
More at http://www.christianengvall.se/undo-pushed-merge-git/
125 changes: 125 additions & 0 deletions doc/release-notes/4.19-release-notes.md
@@ -0,0 +1,125 @@
# Dataverse 4.19

This release brings new features, enhancements, and bug fixes to Dataverse. Thank you to all of the community members who contributed code, suggestions, bug reports, and other assistance across the project.

## Release Highlights

### Open ID Connect Support

Dataverse now provides basic support for any OpenID Connect (OIDC) compliant authentication provider.

Prior to supporting this standard, new authentication methods needed to be added by pull request. OIDC support provides a standardized way for authentication, sharing user information, and more. You are able to use any compliant provider just by loading a configuration file, without touching the codebase. While the usual prominent providers like Google and others feature OIDC support there are plenty of other options to easily attach your installation to a custom authentication provider, using enterprise grade software.

See the [OpenID Connect Login Options documentation](http://guides.dataverse.org/en/4.19/installation/oidc.html) in the Installation Guide for more details.

This is to be extended with support for attribute mapping, group syncing and more in future versions of the code.

### Python Installer

We are introducing a new installer script, written in Python. It is intended to eventually replace the old installer (written in Perl). For now it is being offered as an (experimental) alternative.

See [README_python.txt](https://github.com/IQSS/dataverse/blob/v4.19/scripts/installer/README_python.txt) in scripts/installer and/or in the installer bundle for more information.

## Major Use Cases

Newly-supported use cases in this release include:

- Dataverse installation administrators will be able to experiment with a Python Installer (Issue #3937, PR #6484)
- Dataverse installation administrators will be able to set up an OIDC-compliant login options by editing a configuration file and with no need for a code change (Issue #6432, PR #6433)
- Following setup by a Dataverse administration, users will be able to log in using OIDC-compliant methods (Issue #6432, PR #6433)
- Users of the Search API will see additional fields in the JSON output (Issues #6300, #6396, PR #6441)
- Users loading the support form will now be presented with the math challenge as expected and will be able to successfully send an email to support (Issue #6307, PR #6462)
- Users of https://mybinder.org can now spin up Jupyter Notebooks and other computational environments from Dataverse DOIs (Issue #4714, PR #6453)

## Notes for Dataverse Installation Administrators

### Security vulnerability in Solr

A serious security issue has recently been identified in multiple versions of Solr search engine, including v.7.3 that Dataverse is currently using. Follow the instructions below to verify that your installation is safe from a potential attack. You can also consult the following link for a detailed description of the issue:

<A HREF="https://github.com/veracode-research/solr-injection#7-cve-2019-xxxx-rce-via-velocity-template-by-_s00py">RCE in Solr via Velocity Template</A>.

The vulnerability allows an intruder to execute arbitrary code on the system running Solr. Fortunately, it can only be exploited if Solr API access point is open to direct access from public networks (aka, "the outside world"), which is NOT needed in a Dataverse installation.

We have always recommended having Solr (port 8983) firewalled off from public access in our installation guides. But we recommend that you double-check your firewall settings and verify that the port is not accessible from outside networks. The simplest quick test is to try the following URL in your browser:

`http://<your Solr server address>:8983`

and confirm that you get "access denied" or that it times out, etc.

In most cases, when Solr runs on the same server as the Dataverse web application, you will only want the port accessible from localhost. We also recommend that you add the following arguments to the Solr startup command: `-j jetty.host=127.0.0.1`. This will make Solr accept connections from localhost only; adding redundancy, in case of the firewall failure.

In a case where Solr needs to run on a different host, make sure that the firewall limits access to the port only to the Dataverse web host(s), by specific ip address(es).

We would also like to reiterate that it is simply never a good idea to run Solr as root! Running the process as a non-privileged user would substantially minimize any potential damage even in the event that the instance is compromised.

### Citation and Geospatial Metadata Block Updates

We updated two metadata blocks in this release. Updating these metadata blocks is mentioned in the step-by-step upgrade instructions below.

### Run ReExportall

We made changes to the JSON Export in this release (#6246). If you'd like these changes to reflected in your JSON exports, you should run ReExportall as part of the upgrade process. We've included this in the step-by-step instructions below.

### BinderHub

https://mybinder.org now supports spinning up Jupyter Notebooks and other computational environments from Dataverse DOIs.

### Widgets update for OpenScholar

We updated the code for widgets so that they will keep working in OpenScholar sites after the upcoming upgrade OpenScholar upgrade to Drupal 8. If users of your dataverse have embedded widgets on an Openscholar site that upgrades to Drupal 8, you will need to run this Dataverse version (or later) for the widgets to keep working.

### Payara tech preview

Dataverse 4 has always run on Glassfish 4.1 but changes in this release (PR #6523) should open the door to upgrading to Payara 5 eventually. Production installations of Dataverse should remain on Glassfish 4.1 but feedback from any experiments running Dataverse on Payara 5 is welcome via the [usual channels](https://dataverse.org/contact).

## Notes for Tool Developers and Integrators

### Search API

The boolean parameter `query_entities` has been removed from the Search API. The former "true" behavior of "whether entities are queried via direct database calls (for developer use)" is now always true.

Additional fields are now available via the Search API, mostly related to information about specific dataset versions.

## Complete List of Changes

For the complete list of code changes in this release, see the <a href="https://github.com/IQSS/dataverse/milestone/86?closed=1">4.19 milestone</a> in Github.

For help with upgrading, installing, or general questions please post to the <a href="https://groups.google.com/forum/#!forum/dataverse-community">Dataverse Google Group</a> or email support@dataverse.org.

## Installation

If this is a new installation, please see our <a href="http://guides.dataverse.org/en/4.19/installation/">Installation Guide</a>.

## Upgrade

1. Undeploy the previous version.

- &lt;glassfish install path&gt;/glassfish4/bin/asadmin list-applications
- &lt;glassfish install path&gt;/glassfish4/bin/asadmin undeploy dataverse

2. Stop glassfish and remove the generated directory, start.

- service glassfish stop
- remove the generated directory: rm -rf &lt;glassfish install path&gt;glassfish4/glassfish/domains/domain1/generated
- service glassfish start

3. Deploy this version.

- &lt;glassfish install path&gt;/glassfish4/bin/asadmin deploy &lt;path&gt;dataverse-4.19.war

4. Restart glassfish.

5. Update Citation Metadata Block

- `wget https://github.com/IQSS/dataverse/releases/download/v4.19/citation.tsv`
- `curl http://localhost:8080/api/admin/datasetfield/load -X POST --data-binary @citation.tsv -H "Content-type: text/tab-separated-values"`

6. Update Geospatial Metadata Block

- `wget https://github.com/IQSS/dataverse/releases/download/v4.19/geospatial.tsv`
- `curl http://localhost:8080/api/admin/datasetfield/load -X POST --data-binary @geospatial.tsv -H "Content-type: text/tab-separated-values"`

7. (Optional) Run ReExportall to update JSON Exports

<http://guides.dataverse.org/en/4.19/admin/metadataexport.html?highlight=export#batch-exports-through-the-api>
Expand Up @@ -7,7 +7,7 @@

SOLR_DIR="/usr/local/solr/solr-7.3.1"
SOLR_COMMAND="bin/solr"
SOLR_ARGS="-m 1g"
SOLR_ARGS="-m 1g -j jetty.host=127.0.0.1"
SOLR_USER=solr

case $1 in
Expand All @@ -33,4 +33,3 @@ case $1 in
exit 1
;;
esac