Add some generics typing. Separate the code that strips inline data from document files to have a different strategy for 2.0.X versus 2.1.X documents.
Add some generics typing
Get the file name from the system_id, handling cases where the id starts with http
check for existing access control rows before inserting (we do not need duplicate rows specifying the same access control)
in cases when only access control is being modified, we can temporarily ignore the exception thrown my the write method, insert the updated access control rules, then deal with the write exception. this occurs when the docid remains the same (no revision increase) but the permissions have been altered.
use correct spelling for "accessControl" elements
translate numeric permission to text permission when serializing.
use local name for end Element parsing...
Change the ServiceInterface into a base class called BaseService. All services extend BaseService.
remove XMLSchemaService import
change the FileUtil.createDirectory calls to catch an exception on error.
Get an instance of XMLSchemaService when refreshing.
Added refreshServices action to allow tests to refresh service caches. This will be expanded to only allow for admins.
Change some info log statements to debug
Object to hold information about a single xml schema.
Add service to keep persistent information about xml schemas. This maintains a list of all registered schemas
Fix comments
Create document and temporary directories during configuration.
Use XMLSchemaService to access persistent schema information.
Look for schemaLocations in the document while initializing parser. If full schema validation is turned on in metacat.properties, and at least one schema is not registered locally, then turn on full schema validation in the parser.
Store schemaLocations as they are found in startElement. Save them in endDocument. In this way, schemas will only get saved locally if the document parses successfully.
Move xml schema specific functionality to XMLSchemaService
include context for replication server
use secure server for replication - note that this is WITHOUT "https://" prepended
use correct log directory/file for replication errors
replicate xml_access entries across servers.see: http://bugzilla.ecoinformatics.org/show_bug.cgi?id=3464note: still needs to be tested...but needed to be checked in for other metacat installations to be updated....
Display the deb.runConfiguration property in debug
Add additional indexed to match postgres scripts
Re-add the xml_node id trigger. In oracle, this gets blown away when we switch tables.
Add nodedatanumerical column and associated population sql
Add new variable to see if resolver download a new schema.
Add debug statements to the bypass config section
Add support email to configuration error messages
Reload backup properties after they are changed so it will show up on the configuration form when you go back to it.
Add schema locations for 2.1.0
Handle ignoring oracle errors when we try to delete an object that doesn't exist. Also, add parsing for sql script with pl/sql.
adding document "cart" feature to metacat. will not be highly published as a feature until well-vetted.
Further rework on ldapweb.cgi for 1.9 compatibility. Finished changes needed to have skinnable presentation for ldapweb.cgi, and reworked the organization logic to be compatible with our current method of storing the data (organization.* within metacat.properties).
Number of fixes, including removing all lastid code and replacing with a single function which always queries remotely instead of relying on lookups, solving #3019. Fixed parsing of spatial coordinates for site-based skins, removed dependency on AppConfig as we're fully using .properties files at this point.
Source the lib directory in the metacat application. This is the new location of Metacat.pm
Fix workgroup description
Replace usage of temp-dir with proper application.tempDir property
Further improvements to the registry to properly support the new properties. Removed all variables previously passed around between forms which should always be available canonically from the skin.properties file and replaced with refences to properties value for the skin being used. Removed some cruft from both files, fixed mior issues mentioned in bug #3487.
set the sessionId from the SessionData object
add closing </distribution> tag to regex for inline data.
Created a method in DocumentImpl to read a document file from disk. Created a support method to strip inline data for users that don't have read access.
Add geoserver section to configuration bypass module.
Move the DBAdaptor accessor into a DatabaseService class
Add functionality to write and read metadata documents to and from the file system.
convert revision number to a Long from a string when putting into database
Add eml 2.1.0 registry sql to 1.9 update scripts
rename script to oracle naming scheme
remove skin.configs directory.migrate those properties to the style/skins/* properties filesdo not load them during Metacat init.
honor casesensitive indicator for contained QueryTerms.addresses bug: http://bugzilla.ecoinformatics.org/show_bug.cgi?id=3472
Fix bug where skin configs don't read backup properties correctly for checkboxes.
match the "qualified" property name
Added methods to get session data, parameters and cookies from request
change session attribute reference from "groups" to "groupname"
Add comments. Added getPublicSession method
add session id to parameters
Get session information from RequestUtil. Change some variable names to camel case.
use "local" services when none are provided in the properties file
use factory method for creating database connection pool(stoopid subclipse!)
use factory method for creating database connection pool
add ability to access protected data via the datamanager/dataquery feature.Note: the datamanager features rely on the ecogrid stubs being available in Metacat. When Metacat is installed with ecogrid enabled, the required jars are included in the war...something to keep in mind.
add dataquery (from EML's Data Manager library) to the metacat servlet actions
qualify xml and eml properties with an xml. prefix
Continue to qualify property names
Change sitemapInterval property to be sitemap.interval. Add testing property
Intial addition of geoserver utility file
Add a "bypassed" state for confguration sections.
Initial addition of geoserver administration class.
Separate the init function to pre-confiugured and post-configured methods. the initSecondHalf method allows for the intial configuration of metacat without a restart.
Remove commented lines
Add a post method
Remove the organization configuration stuff for the moment. Add geoserver configuration.
Allow script to be run from command line, more token changes including all path changes for URLs and directories.
use context url to get cgi url
Change discoverTomcatDir to discoverDeployDir
Fix error where maxconnectionnumber was being read into maxconnectionage.
Create data and inline data directories
Consolidation of property names in register-dataset.cgi; returned runConfiguration to default true
Fully qualify spatial and replication properties
Qualify harvester properties
Replace tomcatDir with deployDir
Use qualified properties
use the docid, not the filename when updating this node.fixes bug: http://bugzilla.ecoinformatics.org/show_bug.cgi?id=3260
include leading slash for path to the spatial files (context is given without a trailing slash)
initial doc id list from original conversion
script used to update keywords for existing kruger documents when upgrade to new SANParks/SAEON skin. committing before additional work to update the package ids for these files (incorrectly set to the wrong rev number)
Add support for separate LDAP and organization level configurations
Fix the db script suffix.
Add functionality to allow developer to bypass configuration utility
FIx comments for getContextDir to reflect that we no long append webapps to the path
Add sql debug statements
Use SystemUtil.getContextDir() instead of constructing directory path.
fixed bug where the searchmode param was put into the search fields
Differentiate between tomcat directory and deployment directory.