Project

General

Profile

  • svn:eol-style: native
  • svn:executable: *
  • svn:keywords: Author Date Id Revision
  • svn:mergeinfo: /branches/D1_0_6_2_BRANCH/src/edu/ucsb/nceas/metacat/MetaCatServlet.java:6107-6121 /branches/METACAT_2_6_BRANCH/src/edu/ucsb/nceas/metacat/MetaCatServlet.java:9560-9776 /tags/METACAT_2_6_0/src/edu/ucsb/nceas/metacat/MetaCatServlet.java:9777-9779

# Date Author Comment
9872 07/25/2016 11:41 AM ben leinfelder

handle redirecting Metacat "shortcut" URLs when docid is given with and without revision. https://projects.ecoinformatics.org/ecoinfo/issues/7063

9780 05/18/2016 09:01 AM Chris Jones

Merge changes from the 2.6.0 release.

9706 05/02/2016 09:51 AM ben leinfelder

merge to trunk from 2.6 branch: action=validatesession can handle Authorization token

9583 03/23/2016 03:57 PM Jing Tao

If a format id in the system metadata is registered in the xml_catalog table, we will use the schema location for the format id to validate the xml instance;
otherwise, we will use our previous way.

9477 12/29/2015 12:58 PM Jing Tao

Add the code to check if the metacat is in the read-only mode.

9475 12/28/2015 03:19 PM Jing Tao

Add the code to handle the read-only mode.

9470 12/22/2015 05:02 PM Jing Tao

Add the check that only the administrator can shrink the connection pool.

8948 10/31/2014 05:36 PM Jing Tao

Write the input stream into the file system without alteration in dataone create and update methods.

8842 08/22/2014 05:50 PM Jing Tao

Add a code to check if the pathquery engine is enabled in the checkIndexPaths method.

8792 05/20/2014 04:11 PM ben leinfelder

prevent js scriptlets from running when we return error messages to the client by escaping any potentially harmful xml blocks. https://projects.ecoinformatics.org/ecoinfo/issues/6224

8764 05/05/2014 05:17 PM ben leinfelder

redirect "short form" metacat read URIs to the the new Metacat UI using the configured UI context. This translates the docid -> pid to use the correct identifier for the correct service. https://projects.ecoinformatics.org/ecoinfo/issues/6546

8588 02/10/2014 04:17 PM ben leinfelder

allow utf-8 user first/last names to be used in responses for: login, logout, validatesession, getprincipals.

8303 10/09/2013 08:53 PM Jing Tao

Sparate the action reindex and reindexall.

8265 09/23/2013 03:54 PM ben leinfelder

Refer to metacat.war deployments since those are now the default. https://projects.ecoinformatics.org/ecoinfo/issues/6082

8264 09/23/2013 01:20 PM ben leinfelder

use UTF-8 if request encoding not given. https://projects.ecoinformatics.org/ecoinfo/issues/6100

8075 07/25/2013 01:16 PM ben leinfelder

include user's fullName when validating a session. also, allow cookie session to be used if not passed in directly as a parameter

7843 07/03/2013 10:13 AM ben leinfelder

add Metacat servlet action to force the reindexing of one or more or all pids in the system. https://projects.ecoinformatics.org/ecoinfo/issues/5945

7695 05/15/2013 05:16 PM ben leinfelder

Allow use of PID instead of docid in the Perl registry. At least for reading/editing and deleting existing content. Does not create content using a pid. https://projects.ecoinformatics.org/ecoinfo/issues/5932

7404 10/18/2012 11:10 AM ben leinfelder

pass parameters to the getLog action for rendering in xslt

7128 04/09/2012 03:18 PM ben leinfelder

add a parameter for optionally writing EML-embedded access control rules to the Metacat DB.
https://redmine.dataone.org/issues/2584
https://redmine.dataone.org/issues/2583

7024 02/22/2012 02:27 PM ben leinfelder

only generate system metadata when the call comes from the legacy Metacat API, not the D1 API.
https://redmine.dataone.org/issues/2362 (I think this was the culprit)

6542 10/20/2011 02:03 PM ben leinfelder

add User-Agent logging to support D1 requirements

6437 09/15/2011 12:57 PM ben leinfelder

initialize Hazelcast from the custom configuration when initializing the Metacat service.

6139 06/15/2011 08:48 AM Chris Jones

Updated CNCoreImpl to implement listFormats() and getFormat(), and changed calls to ObjectFormatCache in IdentifierManager, MetacatHandler to call getInstance(). Removed the ObjectFormatService registration from MetaCatServlet since it is replaced by CNCoreImpl.

6124 06/07/2011 09:53 AM Chris Jones

Merged in the D1_0_6_2_BRANCH changes that include the transition from ObjectFormat calls to ObjectFormatCache calls.

6091 05/18/2011 04:32 PM Chris Jones

In order to sync up with DataONE 0.6.1 changes, I'm backing out ObjectFormatService changes temporarily in Metacat. Most functionality will be rolled back in using the DataONE 0.6.2 tag, but some methods in ObjectFormatService (such as getListFromDisk()) will be moved into d1_libclient_java.

6088 05/17/2011 08:02 PM Chris Jones

Changes in the DataONE ObjectFormat class deprecate the convert() method, and we're now using Metacat's ObjectFormatService to look up object format attributes. The following changes replace ObjectFormat.convert() with ObjectFormatService.getFormat() in several classes....

6031 04/07/2011 03:17 PM ben leinfelder

initialize the HandlerPluginManager

6012 03/16/2011 10:56 PM ben leinfelder

add support for temporal element query in pathquery
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2084

5767 01/04/2011 01:48 PM ben leinfelder

use debug level for request encoding message

5752 12/21/2010 02:26 PM ben leinfelder

use detected XML encoding when reading/writing files
use UTF-8 as default when performing queries in the DB (assume DB is using UTF-8)
remove as many PrintWriters (uses system default character encoding only) as possible and construct OutputStreamWriters where explicit encoding can be given....

5518 08/26/2010 05:10 PM ben leinfelder

include MetacatHandlerPlugin interface so that other projects [semtools] can extend the actions handled by Metcat without editing the codebase directly. The SemtoolsPlugin is the prototype for this and can be registered using the Metacat admin interface. Note that the plugin implementation class and supporting jars must be included in the webapp in order for the request to be handled correctly (the semtools build is injecting these as part of it's build process).

5374 06/08/2010 12:34 PM berkley

refactored the sessionService to use a correct singleton initialization scheme. Added true authentication to ResourceHandler.

5337 05/07/2010 03:15 PM berkley

removed CrudService dependency on servlet params. CrudService is now a singleton. I'm getting an error from metacat saying it can't find teh systemmetadata schema, even though it is, in fact, registered with metacat. need to identify why this is happening.

5319 04/19/2010 04:51 PM Matt Jones

Modifications to support the DataONE service API version 0.1.0. For DataONE, the get() and
create() services are partially complete. Several more functions and checks need to be added to
create() before it is viable. This DataONE support is not complete, and the current support breaks the MetacatRestClientTest for the time being (this client will eventually be removed).

5311 04/14/2010 11:31 AM daigle

Merge 1.9.2 changes back into the trunk

5211 02/03/2010 06:58 PM Matt Jones

Merging in REST interface implementation that was created by Serhan Akin. Main change is
a refactored MetaCatServlet.java class, in which all of the handle* methods were moved
into a separate MetacatHandler.java class. This allows both the standard MetaCatServlet...

5210 02/03/2010 05:03 PM Matt Jones

Adding missing brackets in else clause. Need to verify with Daigle that this is what he meant.

5208 02/03/2010 01:29 PM daigle

Move the chunking of large test element data to centralized location in DBSAXNode.writeChildNodeToDB(). Beff up logging

5195 01/19/2010 10:25 AM daigle

Pass the doc xml as a string to docImpl.write and writeRepication. This is so a reader can be create for the parsing and for the write to disk. Also created a db access class for xml query result deletion.

5167 12/18/2009 01:37 PM daigle

add method name to log statements

5159 12/08/2009 11:39 AM daigle

Make sure session data exists before extracting information

5137 11/24/2009 12:25 PM daigle

Do not register the session service

5107 11/06/2009 02:41 PM daigle

Add success message to metacat response for setaccess action

5099 11/03/2009 10:31 AM daigle

Change access section in getaccesscontrol and getdocumentinfo apis to be more eml 2.1.0 compliant. Add a block access option to setaccess api.

5098 10/30/2009 03:39 PM daigle

change AccessControlForSingleFile to only be instantiated for one file. move ACL methods to AccessControlForSingleFile. Change format of access sections returned to EML 2.1.0.

5090 10/16/2009 11:10 AM daigle

Move access control source to it's own directory.

5082 10/13/2009 03:01 PM daigle

Add ability for doc owner to add user access to workflows.

5076 10/06/2009 10:55 AM daigle

Change RequestUtil forwardRequest() method to throw MetacatUtilException.

5071 10/02/2009 01:07 PM daigle

Change sanparks skin to log in with browser session instead of metacat client session so session can be validated on other pages.

5056 09/04/2009 03:08 PM daigle

Make some error messages more understandable

5045 08/27/2009 12:04 PM daigle

change name of workflowjobid parameter to be workflowjobname which is more accurate

5041 08/26/2009 02:20 PM daigle

Add session Validation action and session timeout functionality.

5030 08/24/2009 02:34 PM daigle

Change location of PropertyService to properties directory

5025 08/14/2009 02:22 PM daigle

Move document specific utilities to DocumentUtil from MetacatUtil. This makes it easier to define a layer between the core metacat services and the rest of the code.

5018 08/07/2009 10:35 AM daigle

Updated comments to more accurately reflect the API

5015 08/04/2009 02:32 PM daigle

Create database and shared directories for database management code and shared code respectively.

5013 07/31/2009 04:47 PM daigle

Add the ability to delete a scheduled workflow (move status to deleted in database)

4981 07/11/2009 07:16 AM daigle

Implement stop method in services. Stop all services when shutting down metacat. This primarily keeps scheduler from hanging with open threads.

4973 07/06/2009 04:55 PM daigle

Handle extracting a docid from a urn (lsid) during a read action

4967 07/01/2009 10:29 AM daigle

Workflow scheduler and archiving fixes for TPC workflow engine

4959 06/18/2009 10:24 AM daigle

Added generic scheduler and workflow scheduling functionality.

4950 06/12/2009 04:39 PM daigle

Add archival read funtionality (jar/kar/war files)

4871 03/26/2009 04:02 PM ben leinfelder

remove DataTranspose from core metacat - only used in FIRST skin for this 1.9.1 release

4855 03/23/2009 05:02 PM ben leinfelder

new datamanager feature!
Pivot a result set (rows to columns).
Handles simplest case:
-single id column (observation)
-single pivot column (pivot)

4854 03/23/2009 02:56 PM daigle

Beef up exception handling from file utilities. Move UtilException to MetacatUtilException to eliminate conflict with similar exception in utility package.

4812 02/18/2009 04:30 PM daigle

Format indexPaths in metacat.properties. Remove from build.properties and build.xml. Move indexPath list getter from MetacatUtil to SystemUtil.

4811 02/17/2009 04:01 PM daigle

Replace System.out.println statements with logMetacat statements.

4785 01/27/2009 04:31 PM daigle

Change name of writeTempFile to writeTempUploadFile since this instance deals with the temporary upload dir specifically

4782 01/27/2009 10:28 AM daigle

Added exception to error xml to clarify error to api.

4780 01/26/2009 04:38 PM daigle

Handle sessions with null ids gracefully.

4698 12/26/2008 01:07 PM daigle

Renamed MetaCatUtil to MetacatUtil

4685 12/18/2008 06:13 PM walbridge

Robustly handle file naming as per bug #2566 and the feedback of the scientific programmers (http://tinyurl.com/4n4jve).

4684 12/18/2008 04:14 PM daigle

revert the changes for: -- On update, check if the accession number exists in the db. If not, change the action to insert.

4683 12/18/2008 02:49 PM walbridge

Quote filenames as per RFC2616 (http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1), this prevents filename truncation on Firefox for files with spaces within the names (part of #2566).

4682 12/18/2008 02:14 PM daigle

On update, check if the accession number exists in the db. If not, change the action to insert.

4604 11/20/2008 11:51 AM daigle

Update metacat api documentation

4589 11/19/2008 03:25 PM daigle

Rename LDAPUtil to AuthUtil

4502 11/03/2008 11:05 AM daigle

Remove the code to read and write metadata to disk. It is getting put into DocumentImpl

4487 10/29/2008 11:43 AM daigle

Add some generic typing

4473 10/21/2008 03:29 PM daigle

Debug and comment changes

4450 10/13/2008 11:34 AM ben leinfelder

check for existing access control rows before inserting (we do not need duplicate rows specifying the same access control)

4438 10/10/2008 05:09 PM daigle

Added refreshServices action to allow tests to refresh service caches. This will be expanded to only allow for admins.

4424 10/09/2008 09:40 AM daigle

Move xml schema specific functionality to XMLSchemaService

4419 10/07/2008 04:40 PM ben leinfelder

replicate xml_access entries across servers.
see: http://bugzilla.ecoinformatics.org/show_bug.cgi?id=3464
note: still needs to be tested...but needed to be checked in for other metacat installations to be updated....

4399 09/26/2008 03:43 PM ben leinfelder

adding document "cart" feature to metacat. will not be highly published as a feature until well-vetted.

4349 09/15/2008 04:55 PM ben leinfelder

set the sessionId from the SessionData object

4341 09/03/2008 09:24 AM daigle

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.

4334 08/29/2008 10:18 AM daigle

Add functionality to write and read metadata documents to and from the file system.

4327 08/27/2008 04:47 PM ben leinfelder

remove skin.configs directory.
migrate those properties to the style/skins/* properties files
do not load them during Metacat init.

4295 08/22/2008 04:22 PM daigle

Get session information from RequestUtil. Change some variable names to camel case.

4226 08/08/2008 04:16 PM ben leinfelder

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.

4221 08/07/2008 04:44 PM ben leinfelder

add dataquery (from EML's Data Manager library) to the metacat servlet actions

4213 08/05/2008 05:50 PM daigle

qualify xml and eml properties with an xml. prefix

4212 08/05/2008 05:33 PM daigle

Continue to qualify property names

4208 08/05/2008 04:43 PM daigle

Change sitemapInterval property to be sitemap.interval. Add testing property

4203 08/04/2008 05:19 PM daigle

Separate the init function to pre-confiugured and post-configured methods. the initSecondHalf method allows for the intial configuration of metacat without a restart.

4178 07/29/2008 11:32 AM daigle

Fully qualify spatial and replication properties

4173 07/28/2008 05:05 PM daigle

Use qualified properties

4154 07/22/2008 02:20 PM daigle

Add functionality to allow developer to bypass configuration utility