Aron Roberts [Fri, 26 Apr 2013 02:39:38 +0000 (19:39 -0700)]
CSPACE-5763: Allow date values to be used in generic name and number properties in summary lists.
CSPACE-5763: Consolidate handling of Nuxeo property values that aren't directly capable of being cast to a String. Handle decimal values as well as date values, in that category.
Aron Roberts [Tue, 23 Apr 2013 03:07:12 +0000 (20:07 -0700)]
CSPACE-5978: RunSqlScript init handler now reads and executes SQL script files from within a server directory, as well as from within its own JAR-packaged resources directory. SQL scripts in its own resources directory are run first, in the order they are specified in the services tenant bindings file. Thereafter, SQL scripts in the server directory are run in ascending filename order.
Aron Roberts [Thu, 18 Apr 2013 20:12:15 +0000 (13:12 -0700)]
CSPACE-5953: Disable repository location portion of dependencies report. This makes generating that report, for identifying software licenses, dramatically faster: from many hours down to under 15 minutes on my system.
Aron Roberts [Wed, 10 Apr 2013 02:02:23 +0000 (19:02 -0700)]
CSPACE-5943: Avoid emitting warnings if maximum list items list for JDBC queries isn't included in tenant bindings configuration; default value will be silently used instead.
Aron Roberts [Thu, 4 Apr 2013 20:33:33 +0000 (13:33 -0700)]
CSPACE-5943: Added stub code for restricting by tenant ID, where needed. Explicitly handle cases where partial term query parameter value is blank. Multiple improvements to comments and log statements.
Aron Roberts [Wed, 3 Apr 2013 21:37:43 +0000 (14:37 -0700)]
CSPACE-5943: Retrieve only a single column of ID values. Allow specifying max limit of items returned from JDBC queries via external configuration, in services tenant bindings.
Aron Roberts [Tue, 2 Apr 2013 03:22:33 +0000 (20:22 -0700)]
CSPACE-5943: Initial attempt at reflecting tenant bindings configuration settings on whether to include a starting wildcard in partial term matches, as yet untested.
Aron Roberts [Thu, 28 Mar 2013 21:48:10 +0000 (14:48 -0700)]
CSPACE-5943: For simple cases where we just want to populate a prepared statement's parameters with a set of String values, created a subclass of the prepared statement builder, and call that new subclass from RepositoryJavaClientImpl.
Aron Roberts [Wed, 27 Mar 2013 23:29:40 +0000 (16:29 -0700)]
CSPACE-5943: Initial work at getting values for SQL queries from individual document handlers. Still needs implementation in four other authorities, in addition to location and person. This is an interim solution with lots of code smells still to be worked out.
Aron Roberts [Mon, 25 Mar 2013 21:57:32 +0000 (14:57 -0700)]
CSPACE-5943: SQL query now invokes JDBCTools routine rather than replicating SQL execution code in RepositoryJavaClientImpl, via the use of a CachedRowSet. IDs returned are still not the correct ones; simplified SQL script used for testing needs at least one more join, a la CSPACE-5945.
Aron Roberts [Thu, 21 Mar 2013 21:21:21 +0000 (14:21 -0700)]
CSPACE-5940: Fix bug that resulted in 'bare' ampersands being present in collectionspace_core:refName values, when copying those values from refName fields in authority term (item) records.
Aron Roberts [Fri, 1 Feb 2013 23:03:32 +0000 (15:03 -0800)]
CSPACE-5845: First minor changes toward storing collectionspace_core:refName values with imported records.
CSPACE-5845: Created initial (failing) test of refName value in collectionspace_core.
CSPACE-5845: Placeholder method added for inserting refName values into collectionspace_core on import.
CSPACE-5845: Plain old id-style refNames now generated by Imports service and added to collectionspace_core:refName.
CSPACE-5845: Added (as yet untested) code to insert a provided refName, if any, into collectionspace_core:refName, and to add a display name to the ID form of refNames if the relevant service supports hierarchy.
CSPACE-5845: Generation of display name for refNames for record types with hierarchy is now working, with its own unit test.
CSPACE-5845: Add null checks. Add tests for extracting refName value from an authority record and adding that value to collectionspace_core:refName.
CSPACE-5845: Removed call in (partially-implemented) service test class that was triggering dependency-related issues.
CSPACE-5845: Added code (untested) to generate short identifier-based refNames for authority records, and to skip generating refNames for authority item records (rather than defaulting to giving them id-based refNames).
CSPACE-5845: Added test for generated authority record refName.
Aron Roberts [Thu, 7 Mar 2013 00:08:46 +0000 (16:08 -0800)]
CSPACE-5845: Applied standard code formatting to TemplateExpander, prior to work that may potentially revise this file in CSPACE-5845 and other work on Imports service.
Aron Roberts [Thu, 14 Feb 2013 23:43:53 +0000 (15:43 -0800)]
CSPACE-5887: Minor cleanup of event listener to mirror work done in PAHMA-738: only 'null out' non-blank existing computedCurrentLocation values when the most recent Movement's currentLocation value is blank.
Aron Roberts [Thu, 14 Feb 2013 21:54:40 +0000 (13:54 -0800)]
CSPACE-5887: Allow event listener to 'null out' computedCurrentLocation value in Cataloging / CollectionObject if that value is blank / null in most recent related Movement record.
Richard Millet [Wed, 13 Feb 2013 08:31:16 +0000 (00:31 -0800)]
CSPACE-5497: Will now create a temp file if we find a file with a name that Nuxeo does not like. We preserve the original file name in the BlobsCommon instance.
Richard Millet [Wed, 13 Feb 2013 05:12:59 +0000 (21:12 -0800)]
CSPACE-5497: Add code to rename files that Nuxeo does not like and hand that file to Nuxeo for blob creation. Saved the original file name in our BlobsCommon instance.
Aron Roberts [Wed, 13 Feb 2013 04:12:16 +0000 (20:12 -0800)]
CSPACE-5881,CSPACE-5835: Comment out delcarations of material, materialConcept, and materialSource fields as authRef fields in Cataloging / CollectionObject, in Services tenant bindings.
Aron Roberts [Wed, 6 Feb 2013 02:36:52 +0000 (18:36 -0800)]
CSPACE-5564,CSPACE-4711,CSPACE-3431: Add '-V' as the default mvn.opts value in the three Ant buildfiles in the new publicitems service, to facilitate deploying this service under Mac OS X and at least some Linux distros.
Patrick Schmitz [Fri, 1 Feb 2013 21:47:09 +0000 (13:47 -0800)]
CSPACE-5741 - Fixed bugs in import that were not correcting detecting existing entries in the roles and permissionRoleRel tables. Improved logging around the exists test, for more meaningful trace output during import.
Fix another bug in the SpringPermissionManager.java that was not checking for existing ace's before adding new ones. This led to duplicate entries (not an error, but inefficient) when ant import was run multiple times.
Patrick Schmitz [Thu, 31 Jan 2013 23:01:10 +0000 (15:01 -0800)]
CSPACE-5846 Added support to generate reports in MSWord/OpenOffice docx, MSExcel/OO Xlsx, and MSPowerPoint/OO pptx formats. Tweaked the default acquisition report to fix a layering issue that precluded logo image showing up in word and excel outputs. Tested all through services and UI, but no automated testing added.
Also added a small tweak to catch unknown mime types, and revert to PDF as a default, with errors in log (but no exception). Deleting the .jasper resource, as we now only want to maintain and install the jrxml.
Richard Millet [Thu, 31 Jan 2013 19:35:18 +0000 (11:35 -0800)]
CSPACE-5564: Fixed in bug in the import service that was causing an incorrect HTTP status result of 200 to be returned when the request fails because of a missing config file.