Fixed a bug that if new triple is a new rule in xml_access table, the new triple wouldn't be added into data set file.
In creating xml_access table, add a condition for assigning a access document to itself: if there is not triple. If there is a triple that access file points itself, we don't need inserting again. Otherwise we will get duplicate records.
Get rid of running parser access documents into rules when it handle a access document. (we only need to parser it when handling a dataset file).
Add code to write the updated acl and dataset document back to database after adding permission rules in acl document.
Add code to insert extral rules found in xml_acces table into access document.
Add a method writing info into log file. So the change information can be kept physically.
Add two new methods to update triples in data set file and delete some access rules which doesn't exist in xml_access document. Change the main method, it will read access file form xml_access table rather than getting from argument.
Add code to update tripes in data set file.
Using ! rather than white space to seperate access rules.
Using ! rather than white space to seperate access rule.
Revise some code.
Add a class to handle clean up access table.
Add a class to get access rules from xml_access table directly.
Add a new file to handle get access rules from a xml access document.
Change the describtion for data file path.
Remove the file which we didn't use.
In target "getdtd", filtering was set to be "No" when copy style sheet from build directory to lib directory. Filtering will be done when copy these files from lib directory to install directory in "install". The reason why we do this is because it will cause problem when we release metacat. When we release metacat, dtd files and style sheet file are included, so some stycle sheet's token was replaced by distributor's setting, which is different to user. Now token will be replaced in "installation", token will be replaced by user's setting.
Add http:// to systemidserver
Get rid of source file from dist target.
changed values for release
Add a note for postgresql user to update table structure.
This script is for postgresql user to update their xml_replication table.
Add two notes for updating replication table and specifying data file path.
Updated README and build.xml in preparation for a new release. Looks to meas though the dist and distsrc targets are not working properly because thedist target produces a distribution with source code, which it should notdo. Need to check into this.
Added required license files.
Made a shortcut for % search. It will look like: LIKE '%' rather than: LIKE '%%%'.
In accessQuery, permission=READ or permission=ALL was added for both allow rule and deny rule.
Create a shortcut for the query to get user's onwer doc lists. Create a private method named getOwnerQuery. If the coming query equals the owner query, the access permission checking would NOT append to the comming query. Because the owner has all permission.
Change the documentation according our new feature in replication.
Add three private method: createOwnerQuery, createAllowRuleQuery and createDenyRuleQuery. And three public methods: setUserName, setGroup and getAccessQuery.
Add the checking permission query into orignal query.
Add code to make sure that a DBConnection checked out is auto commit.
Add some debug message for displaying search time.
Delete the code for permission checking in execute extened query. It was redundant. Add some debug message for displaying search time.
This is a test for change cvs server from nceas to ecoinformatics. The debug level was changed from 35 to 50.
Modified README to reflect new mailing list for feedback.
This script file will add columns to xml_replication table in production metacat.
Add a control for readForRemoteServer is only for data file.
Merge cvs branch replication to cvs head.
added mappings for new eml beta6 stylesheets
Change the maximum connection number from 10 to 25.
Change eml-tag to RELEASE_EML_2_0_0_BETA_6_REV1. In "getdtd" target, style sheet will be check out from eml module and will be copy to lib/style.
Change the test case order.
Add code to shrink connection pool size. If all connections are free.
Add a new method shrinkConnectionPoolSize .
Add a new method to shrink DBConnection pool size.
Add this file from branch to head.
Merge DBConnection branch to head.
Merger DBConnect branch to head.
Merge branch to head.
This is code for testing how many sql commands one connection can be executed.
Change back to Connection. DBConnection will store in cvs branch..
Change back to Connection. DBConnection will store in a cvs branch.
Change back to using Connection. The DBConnection will be store in a cvs branch.
Change to using Connection back rather than DBConnection. DBConnection will be store in a cvs branch.
Add a new method commit.
Change the API for dbAdopter.
Change back to pass Connection a parameter.
Change back to pass connection as parameter.
Change back to pass connection as a parameter. Because new connection will cause an error.
Change back to pass connection as paramter in getUniqueID, otherwise new connection will cause a error: sequence XML_NODES_ID_SEQ.CURRVAL is not yet defined in this session
Add a new method - createStatement.
Correct the parameter of getDBConnection - methodName in code.
Change for every method to use getDBConnection and returnDBConnection to manage DBConnection.
Using getDBConenction rather than pass connection as parameter.
Using getDBConnection rather than pass connection as a parameter.
Using getDBConnection method rather than a parameter.
Change the prototype of method getUniqeID
Add DBConnectionPool object in servlet's init method and DBConnectionPool's release method in servlet's destory method.
Delete connection as a class field and make every method to check in and check out connection if it need.
Make a every method check in and check out DBConnection if this method need a connection.
In returnDBConnection method, a new parameter named serialNumber was added. It will compare to the checkOutSerialNumber in DBConnection.
Add a new attribute named checkOutSerialNumber, which to make sure when DBConnection would not be check in mutiple times.
Change some debug message.
Change package name of this class.
Change package name. Factor of docid change from 10000 to 100000.
Change package name and data file path. The factor for docid change from 10000 to 100000.
Change directories setting for junit test and junit nettest.
This is the data file for testing insert data file action.
This is a net test file for metacat.
Add to cvs
Add metacat test to cvs.
delete it
Change the file path from aboslute to relative.
Add the test case for inserting data file.
Add a set system peroperty -Djava.protocol.handler.pkgs=HTTPClient in nettest target.Fixed the bug in running ant in gethttpclient target.
This is is a text file will be inert into metacat for testing. The content is "Hello, world".
This is new package and its testcase will involve morpho httpmessage class to insert data file.
Add the test case to insert invalidate xml and non well-formed xml documents.
Add two targets in build file: gethttpclient and nettest. gethttpclient wil checkout morpho and ran ant get httpclient.jar(cvs doesn't have httpclient.jar). nettest will run a junit test which will involve httpclient.jar file.
Add the code to handle error in the respone for a update request.
Add test ssl work or not in handleUpdateRequest method too.
Change code to handle the error message.
Add error message to outPut in catch clause in handleGetDocument Request.
In update method, add code to handle if a user couldn't pass a trusting test.
Add a test action in replication. Before handle read and read data file action. Metacat will take a test to see if the trust key in key store. If not, wouldn't replicate documents.This is security issue.
Add debugMessage level in this class
Add a method getDBConnection. In this method, method name of method which checked out the connection can be passed to DBConnection object. In run() method, if a connection is checked out for too long (30 seconds), the method name and connection name will be print out.