In lieu of pulling schemas from URL endpoints for dataONE, Darwin core, and Dryad, we're caching them in Metacat so we have stable copies. Remove the ant targets used to pull them.
Add the three Darwin Core schemas required by the Dryad Metadata Profile (via imports).
include a few tests for isEqual method. https://projects.ecoinformatics.org/ecoinfo/issues/6407
Add cached versions of the DataONE, Dryad, Dublin core, and Darwin Core schemas to Metacat. Remove schemaLocation attributes so that we rely on the local catalog and don't use (potentially changing) URL endpoints.
Use client.MetacatClient instance for all metacat api calls
Test syncing of access policies when updated with legacy metacat api
Change isEqual to private so it can be used by test suite
Add DataONE, Dublin Core, and Dryad schemas during the 2.4.0 upgrade, and be sure to remove the appropriate entries before inserting to avoid duplicate rows.
Add schema support for the DataONE, dublin Core, and Dryad schemas. Schemas get downloaded into lib/schema priior to jar and dist targets, and get loaded into xml_catalog on installation.
move the postgres changes to the oracle version -- update note about not attempting to restore because no Oracle MNs exist.
do not include "sm" alias in the SET clause.
allow statements starting with 'WITH'
comment out the select statements so they do not run during real upgrade.
use rangeOfDates | singleDateTime to populate the beginDate and endDate index fields. https://projects.ecoinformatics.org/ecoinfo/issues/6285
switch to ezid 1.0.0 release and pull from dev-testing.dataone.org Maven repo.
loosen the restriction on which archive flags we set to false -- if we have an obsoleted_by value then it need not be marked as archived.
add [partial] upgrade to the oracle script -- does not look for any records that the CN deleted because there are no Oracle-backed MNs at this time.
add comment (and commented out code) for possibly inspecting the /dirtySysMeta call for archive=true flag. https://projects.ecoinformatics.org/ecoinfo/issues/6417
use '/var/metacat/users/password.xml' as the default password file path to: a) indicate it is for managing users and b) that it uses XML serialization. https://projects.ecoinformatics.org/ecoinfo/issues/6320
add a link to the authentication interface page so users can more easily find information on how to add users to the auth file.
only index event information for known events. https://projects.ecoinformatics.org/ecoinfo/issues/6346
call getDescription on cn.setaccesspolicy service failure
make all objects in a package publicly readable when published. https://projects.ecoinformatics.org/ecoinfo/issues/6415
Add the code to check if the docid contains the whitespaces in the handleInsertOrUpdate, handleUpload and handleInsertMultipartInsertAction methods.
make all package contents publicly readable when publishing with a DOI. https://projects.ecoinformatics.org/ecoinfo/issues/6415
Run syncAll in a single thread so admin config UI doesn't freeze
Change CnodeService.archive() to no longer broadcast MN.archive() calls to all of the replica MNs of a pid, but rather broadcast MN.systemMetadataChanged().
allow utf-8 user first/last names to be used in responses for: login, logout, validatesession, getprincipals.
minor formatting error
Design document for the new Metacat statistics service
Couple modifications:-use "pid" throughout so as not to confuse docids and pids-ensure any failures in the set do not prevent synching for other pids in the set
use the metacatUI 1.4.5 that includes default metacat theme and context
use AuthFile by default. https://projects.ecoinformatics.org/ecoinfo/issues/6320
swap git command order to avoid merge conflict messages.
adjust whitespace for consistency
include ID field as a minimum for indexing additional fields.
sync pids of <distribution><online> data objects with CN when their access rules change in EML 2.0.* <additionalMetadata>
restrict the archived=false update to revisions that still have current entries in the xml_documents table.
tested the restore insertions - adjusted for FK constraints. I was able to delete a document locally, then restore it, then update the document with a new revision as expected.
use 'with' query to find the most recent revision of an object that was archived. still want more feedback on the criteria.
Modified the usage.
continue to work on the criteria for selecting documents to restore.expanded the criteria for setting archived=false to include any revision that was already obsoleted_by somethign else.
Minor edits on the new AuthFile features.
correct syntax - add more criteria for selecting documents.
Add the AOOS as part of the label of the unaffiliated account.
Add the documentation for the password file authentication.
Add the configuration for the password file authentication.
Move the authentication part forward a little bit.
do not set sm.archived=true when generating system metadata for objects that come in via the old Metacat API.
draft of fix for erroneously archived documents - first discovered by LTER - but also applicable to other Metacat MNs that still use the Metacat API as of Jan 2014 CN changes.
Modify the usage message.
Use a DN name for the group in the usage message printout.
Add the screenshots for the password file authentication and ldap authentication.
Fixed bug where sync'ing not working when CN had more access rules than MN
Sync access policy between MN -> CN when access rules are updated in EML 2.1+ for data object
Add a method to test an alias account in the ldap server.
Added a footer to the identity management config pages
Remove code to add the organzation in the search filter. This is not necessary since we use the dn as the search base. The code was not actually used but caused some problem.
use v2.4.0 for documentation and upgrade scripts.
correctly include stacktrace for error debugging.
can only log events with a valid localId.
return null if there is no existing SolrDoc for the given pid.
Use the default metacatui theme to replace the skin name.
use https for the new EZID api url.
Add a note to let users know where to run the script.
Add a note to let user know he/she should use single quotes to surround the hashed password.
edit some of the user management phrases. use UTF-8 for all returned XML. https://projects.ecoinformatics.org/ecoinfo/issues/6320
index singleDateTime value into both begin and end date fields in solr. https://projects.ecoinformatics.org/ecoinfo/issues/6285
Add the code to dispaly the label for the organization selection.
Read the organization label and name from a hash.
Use an array of a hash to keep the orgName/orgLabel pair.
use the updated EZID base URL. Should be active after Feb 2nd, 2014. https://projects.ecoinformatics.org/ecoinfo/issues/6276
Add the label property for the organization.
uncomment the original tests now that the "field" test is working.
use explicit accessor for clientViewBean sessionid since the taglib was resulting in a blank page.
Fixed a bug that AuthFile constructor didn't read the new value of the password file path from the metacat.properties.
Add the code to handle a runtime exception.
Add the code to hide/display the file/ldap section base on the selection of the auth class.
Add code to persist the properties in the group 3.
Add the icon-plus-sign and icon-minus-sign.
If the user doesn't exist in the password file, the auth configuration will give an error.
Add the code to constructor default user management url.
Add a property to store the default user management page.
Add a default page to handle the user management for the filed-based authentication.
Use the userManagementurl to replace the ldapweb.cgi.
Add a variable to store the user management url.
Add a method to get the user management url.
Use the userManagementUrl to replace the ldapweb.cgi url.
Pass the userManagementUrl to templates.
Add the documentation for the property user management url.
Add a new property for the user management url.
Add a new config for the user-management-url.
Add the code to set the stored value be selected in the option list.
Add the part for the AuthFile class in the auth.class property.
Change the auth class from the text box to the option list.
Add the documentation for the property auth.file.path.
Add the correct doc url for the property of auth.file.path.
Added the file-based authentication configuration. Removed the ldap client section.
Separate the properteis for the file-based authentication to the ldap-based authentication.