Project

General

Profile

Activity

From 02/28/2002 to 03/29/2002

03/29/2002

06:35 PM Revision 979 (metacat): Change every "http://@server@ to "@systemidserver@". It will look like:
INSERT INTO xml_catalog (entry_type, public_id, system_id)
VALUES ('DTD', '-//ecoinformatics.org//eml-software-@eml...
Jing Tao
06:34 PM Revision 978 (metacat): Change every "http://@server@" in target to "@systemidserver@". It will look
like that:
<target
publicid="-//W3C//HTML//EN">@systemidserver@@style-path@/resultset.xsl</target>
Jing Tao
06:34 PM Revision 977 (metacat): Add a property named systemidserver, its value="http://host.domainname:8080"
Add a token named systemidserver too. Jing Tao

03/22/2002

02:24 PM Revision 976 (metacat): Method getGourps was revised. Attributes variables were set there. Other wise, when it caught a referral exception and started a thread, this will caused a exception problem. When string array groups were returned by method getGroups in getPrincipals method, we should check if the groups is null or not. Otherwise it will cause a exception problem. This revise is for bug 445.
Jing Tao

03/18/2002

05:02 PM Revision 975 (metacat): In hasPermission method, a situation was considered: if no user and group, the permssion will be true. This is for the command line invocation.
Jing Tao

03/15/2002

05:10 PM Revision 974 (metacat): This is sample JUnit test file for MetacatURL class. In this file, getProtocol, toString and getParam methods are tested.
Jing Tao
04:58 PM Revision 973 (metacat): This script file can run serials queries and print out the running time.
Jing Tao
04:56 PM Revision 972 (metacat): In order to test query performance. We need add lots of documents to database. This script file can add couple documents to database by for loop.
Jing Tao
04:40 PM Revision 971 (metacat): Add a target - test in the file. Now user can type "ant test" to run the test class extends from JUnit.
Jing Tao

03/08/2002

02:41 PM Revision 968 (metacat): Method endElement in AccessControList was revised. A feature that put access document itset into xml_access was added.
Jing Tao

03/07/2002

02:14 PM Revision 966 (metacat): In hasPermission method, a rule for access document is implements. If user want to write a access document, it should hhave "all" permission.
The permission for access document now is looking up in xml_access table directly, rather get same permission to data... Jing Tao

03/06/2002

06:30 PM Revision 965 (metacat): In order to increase data file docid, method registerDocument was revised. Now it not only insert a new data file record to xml_documents table, but also can update the data file documents. Moreover, it can archieve the old version to xml_revisions table. Two other private methods were added to handl these futures: deleteXMLDocuments and getLatestRevisionNumber.
Jing Tao
04:17 PM Revision 963 (metacat): fixed my tagging error
berkley
03:58 PM Revision 962 (metacat): some small changes I had to make to get the QAENGINE demo to work right. this should be committing in a branch
berkley
09:00 AM Revision 961 (metacat): We decided that the permission for a user to an access documents is as same as to the data set document(which contains the access document). In order to do this, we need to look-up xml-relation table. If we could find the data set document id, just check the id. If we couldn't find one, we need check if the user is owner. If it is, has permission. Otherwise, doesn't have.
Jing Tao

03/05/2002

01:14 PM Revision 959 (metacat): Add a new method getDataSetId to the class. The permission policy for access documents is: the user will have the same permission as data set file. (There is no entry in xml_access table for access document.
Jing Tao
01:11 PM Revision 958 (metacat): Add a throwing exception in hasPermission and hasReadPermission methods.
Jing Tao
01:09 PM Revision 957 (metacat): Add a throwing exception in haspermission method.
Jing Tao
11:38 AM Revision 956 (metacat): A constructor for this class was added. In the new constructor, user can specify the revision number he want to update. In method writeDocumentToDB, when a update action happend, the rev number would not automatictlly to add one, but it can go to specified number. This is for bug 417.
Jing Tao
11:33 AM Revision 955 (metacat): A constructor was added to this class. In this constructor, user can specify the revision number he want to update. And the number can be passed into a DocumentImpl object constructor in startElement method. But the number should be greater than current number in database.
Jing Tao
11:28 AM Revision 954 (metacat): A method named getLastRevisionNumber was added. And condition for checking accession number was revised too. Now metacat wouldn't refuse a revsion number which is 2 or more greater than current revision number in the database. This is for bug 417.
Jing Tao
09:19 AM Revision 953 (metacat): Access document was added to exported data package too.
Jing Tao

03/04/2002

08:34 PM Revision 952 (metacat): The method - hasAllowRule was revised. If a action -read or update was approved, all ticket count of allow rule entries for this action will minus one if the entries have ticket count number (not null).
Jing Tao

03/01/2002

06:07 PM Revision 951 (metacat): The two hasPermission methods were rewritten. Some logic bugs were fixed. Now user, public and group will not be checked speratedly, but they will be check together as string array. In order to do this, private methods isAccessDocument, containDocumentOwner, isAllowFirst, hasAllowRule, hasExplicitDenyRule, hasImplicitDenyRule, and createUsersPackage were added.
Jing Tao
 

Also available in: Atom