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.
Patrick Schmitz [Thu, 24 Jan 2013 20:09:00 +0000 (12:09 -0800)]
CSPACE-4876 Added support to code to recompile reports as needed, to make upgrade path much easier for users. Changed our build script to copy the jrxml file, rather than the .jasper file.
Richard Millet [Thu, 24 Jan 2013 17:53:46 +0000 (09:53 -0800)]
CSPACE-5564-REM: Tweaked the public url to look like /articles/{csid}/{tenantId}/published which removed the requirement for supplying the tenant ID as a query param.
Richard Millet [Wed, 23 Jan 2013 23:13:28 +0000 (15:13 -0800)]
CSPACE-5564: Added a test to the report service that creates a new Acquisition reports_common record, creates an Acquisition record, invokes the report and publishes it to the PublicItem service where it can be reached via anonymous access.
Aron Roberts [Wed, 23 Jan 2013 03:28:14 +0000 (19:28 -0800)]
CSPACE-4711,CSPACE-3431: Added '-V' as a default mvn.opts value to work around an issue on Mac OS X and at least some Linux distributions where Ant's handoff of parameters to Maven 3, when executing the latter, results in an 'Unknown lifestyle phase' error. Thanks go to Glen for a handy 'sed' script to make these batch changes.
Patrick Schmitz [Thu, 17 Jan 2013 21:03:03 +0000 (13:03 -0800)]
NOJIRA - added some additional error checking to not fail on an otherwise odd error (inability to delete an original image when creating a blob from a remote URL). Logged as an error.
Patrick Schmitz [Thu, 17 Jan 2013 01:20:04 +0000 (17:20 -0800)]
CSPACE-5305 Fixed bug that was not passing invocationContext params into the report engine. Modified sample report to show how to pass in a param that is used in a query. Added a note with a sample invocationContext payload that specifies a param.
Patrick Schmitz [Wed, 16 Jan 2013 23:27:56 +0000 (15:27 -0800)]
CSPACE-5305 Made output report form respect the mime type requested in the invocationContext. Added support for PDF, HTML, XML, CSV, and TSV. Added support to pass the correct mime type back, although TSV is mapped to the more common CSV on return. Also added support to set response headers to a reasonable filename for the returned report (it matches the report filename, plus the typical file extension for the mime type).
Patrick Schmitz [Mon, 14 Jan 2013 19:57:41 +0000 (11:57 -0800)]
CSPACE-5740 Added support to turn off starting Wildcard behavior for partial Tern matching (authority auto-complete). Added a section to lifesci tenant delta (commented out) that shows how to enable this new behavior. Note that current default behavior is unchanged.
Patrick Schmitz [Mon, 14 Jan 2013 17:27:07 +0000 (09:27 -0800)]
CSPACE-5771 Allow admins to mark a tenant to be createdDisabled. This minimizes resources devoted to the tenant, and it will remain disabled until this setting is altered and the system restarted (the webapp reloaded). Permissions are created, as this cannot currently be done incrementally.
Aron Roberts [Sat, 12 Jan 2013 01:34:46 +0000 (17:34 -0800)]
CSPACE-5728: Revert change to AbstractMultiPartCollectionSpaceResourceImpl.java; despite NetBeans IDE warning about not finding method signature in this case (perhaps due to JAX-RS annotations?) in ResourceBase, current call compiles and runs fine. Comment out 'no context' test group in XmlReplay-based tests of the batch job; see warning comment on top of that test group for the limited circumstances in which that test group should be run.
Aron Roberts [Sat, 12 Jan 2013 00:25:13 +0000 (16:25 -0800)]
CSPACE-5728: Refactoring to make it easier to override and extend, via subclasses, the updating of values in CollectionObject records, from values retrieved from the most recent Movement record.
Aron Roberts [Fri, 11 Jan 2013 04:03:00 +0000 (20:03 -0800)]
CSPACE-5728: UpdateObjectLocationBatchJob now supports a 'no context' invocation mode, which updates the computed current location value in all active CollectionObject records.
Aron Roberts [Thu, 10 Jan 2013 00:23:26 +0000 (16:23 -0800)]
CSPACE-5728: Added single- and list-mode batch tests to XmlReplay master, at least for now. Added convenience methods to get list CSIDs and parameters from the batch invocation context.
Aron Roberts [Wed, 9 Jan 2013 23:39:10 +0000 (15:39 -0800)]
CSPACE-5728: Initial steps toward supporting list-mode invocation of the batch job to update computedCurrentLocation values. List CSIDs aren't currently appearing in the invocation context; to be investigated.
Aron Roberts [Wed, 9 Jan 2013 21:29:22 +0000 (13:29 -0800)]
CSPACE-5728: De-duplicate related Movement records being processed to find computed current location, regardless of the directionality of their relations. Lots of miscellaneous cleanup.
Aron Roberts [Wed, 9 Jan 2013 20:20:03 +0000 (12:20 -0800)]
CSPACE-5728: First successful top-to-bottom run of the single CSID batch job to update computed current location. Uses JDOM, not dom4j, to get field value. XmlReplay test validation is also now more strict.
Aron Roberts [Tue, 8 Jan 2013 22:45:20 +0000 (14:45 -0800)]
CSPACE-5728: Add test for reverse direction of Movement-CollectionObject relation. One test commented out, as it requires an upcoming code change to support this direction.
Aron Roberts [Tue, 8 Jan 2013 22:31:28 +0000 (14:31 -0800)]
CSPACE-5728: Updated XmlReplay-based tests to verify that correct computedCurrentLocation value is present in CollectionObject record, following invocation of batch job.
Aron Roberts [Tue, 8 Jan 2013 20:58:47 +0000 (12:58 -0800)]
CSPACE-5728: Tests now successfully create related records. First pass at obtaining the computed current location value from the related Movement record with the most recent location date; as yet untested.