3142 Commits

Author SHA1 Message Date
Derek Hulley
273e3bbcd4 Fixed ALF-3884: Share does not report access denied exceptions correctly
- Restored error 'Access Denied. The system is currently in read-only mode.'
 - Share does not respect a read-only system at all ... raising


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22343 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-08 15:18:53 +00:00
Jan Vonka
8143ba5440 Merged BRANCHES/DEV/V3.3-BUG-FIX to HEAD:
22237: Fix ALF-3986: decrement original owner usage (if content deleted by a different user)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22339 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-08 14:04:02 +00:00
Gavin Cornwell
81a22de2d3 Fix for ALF-4647 (All sample workflows should be enabled OOTB) & ALF-4638 (The transition buttons on the edit task page sometimes change order) and a couple of other unreported issues found along the way.
The pooled and parallel workflow definitions are now enabled by default, all corresponding form configuration for the start tasks and other task types are also defined, some tweaking may be need after review from Linton. 

Fixed a potential NPE when transition id's are returned as null. Log warnings added to the task type config evaluator when the type can not be retrieved, which gives an indication as to why forms display all the default fields rather than the configured ones.

Changed process definitions to use a consistent ordering for the Approve and Reject transitions.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22336 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-08 13:32:05 +00:00
Nick Burch
4847620d2e More .doc{x} -> html support - basic Tika conversion to HTML now enabled (lacks some of the required elements), image extraction remains stubbed out
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22335 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-08 13:31:31 +00:00
Jan Vonka
241a50a409 Merged BRANCHES/DEV/V3.3-BUG-FIX to HEAD:
22328: Merged BRANCHES/V3.3 to BRANCHES/DEV/V3.3-BUG-FIX:
        22327: Merged BRANCHES/DEV/BELARUS/V3.3-BUG-FIX-2010_08_11 to BRANCHES/V3.3 (+ additional fix)
             22132: ALF-4461: Dictionary code leaks file handles (also fixed other non-test usage - DictionaryModelType)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22330 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-08 12:48:25 +00:00
Nick Burch
c37f8d33df Initial HTML Rendition Engine, which will turn .doc{x} files into .html and images
Currently, just a stub engine, which puts dummy content in for the html and images


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22329 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-08 12:38:06 +00:00
Derek Hulley
7f4402ac58 Formatted Alfresco-style
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22322 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-08 10:39:51 +00:00
Derek Hulley
808ff739a3 Fixed typo
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22321 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-08 10:39:33 +00:00
Jan Vonka
8c74b0eacf Fix ALF-4291: PostgreSQL - AVM index/search
- don't need re-index snapshots backwards
- increase aync test delay

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22318 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-08 09:32:02 +00:00
Derek Hulley
8c10779861 Fixed ALF-4682: ActionTrackingService uses cluster- and transactionally-unsafe cache
- Added missing cluster config for 'executingActionsCache' but also 'routingContentStoreCache'
 - ActionTrackingServiceImpl uses injected SimpleCache; configured to be a wrapping TransactionalCache
 - Fixed line endings on ActionTrackingServiceImpl.java


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22315 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-07 20:30:30 +00:00
Brian Remmington
7b0089ecaf Added Mockito-based set of test cases for the client side of the Transfer Service. More test cases to write.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22311 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-07 20:05:52 +00:00
Derek Hulley
2151d7487d Fixed ALF-4185: Patch patch.emailInviteAndNotifyTemplatesFolder fails
- Cycle through found templates (even if empty) and move them


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22310 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-07 18:01:04 +00:00
Jan Vonka
30d182f645 ALF-4291: PostgreSQL - AVM index/search (wip)
- oops ... add new file !

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22308 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-07 16:05:44 +00:00
Jan Vonka
741558a28b ALF-4291: PostgreSQL - AVM index/search (wip)
- split concurrency test(s) into separate file and added to AVMTestSuite
- added missing close(s) for calls to AVM createFile

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22307 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-07 16:04:45 +00:00
Derek Hulley
494db3841a Fixed ALF-4676: WorkProviderIterator over BatchProcessWorkProvider does not fetch all results
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22297 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-07 14:10:59 +00:00
Derek Hulley
9e87100a6b More ALF-588: MT - delete tenant requires deleteStore
- Reintroduced testDeleteStore
 - Added 'protocolsToIgnore' property to index recovery components
 - Added 'deleted' protocol to all ignorable store settings (ADM indexer, index recovery)
 - Return 'NodeRef.Status' for transaction changes queries (removes N+1 calls back to NodeService)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22290 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-07 11:09:20 +00:00
Jan Vonka
6f42e152e7 Fix ALF-4363 - follow-on to r22190,
- do not re-encode (else "_x0020_" becomes escaped as "_x005f_x0020_")
- allow ".." and add option to auto-encode "@" as "_x0040_" (for MT bootstrap)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22279 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-06 15:59:52 +00:00
Neil McErlean
d071616bc1 Fix for ALF-4616 Cannot see webpreview for text/xml content
Added text/xml to application/pdf as explicit transformation.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22263 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-06 11:37:27 +00:00
Derek Hulley
efef368e47 Fixed ALF-4589: patch.updateAvmPermissionData fails during upgrade from 2.1.x to 3.4.0
- Mix-up between 'qname_id' and 'type_qname_id'
 - Fixed update statement and renamed bean members to conform to 'type_qname_id'


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22261 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-06 09:18:23 +00:00
Derek Hulley
82b8b16c06 Commented out testDeleteStore until fallout in IndexCheckServiceTest is resolved
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22257 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-04 15:13:10 +00:00
Derek Hulley
5f9da921d7 Fixed ALF-4551: DeletedNodeCleanupWorker will throw UnsupportedOperationException
- Included unit test to start NodeCleanupRegistry (sanity check only)
 - DAO call to 'purgeNodes'
 - Add job locking to cleanup tasks


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22255 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-03 22:55:23 +00:00
Derek Hulley
10d8672fa9 Javadoc fixes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22254 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-03 22:52:58 +00:00
Nick Burch
fc91409c79 Update the Metadata Extractor properties used when Tika processes images, so that the EXIF metadata is mapped onto the new content model properties. Includes tests.
Also tweak the exif model slightly to better match what Tika/XMP has, and add the exif
 namespace to the list


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22251 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-03 18:10:49 +00:00
Nick Burch
bafa459acf Upgrade Apache Tika to the latest snapshot, so that we get better date processing in metadata, and more EXIF based metadata
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22250 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-03 17:21:23 +00:00
Derek Hulley
7c79fcea58 ALF-588: MT - delete tenant requires deleteStore
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22230 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-03 13:09:31 +00:00
Nick Burch
c1068b0b0c Replication service JS API unit tests (ALF-4505)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22225 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-03 11:48:06 +00:00
Dave Ward
9d9fe8f1e1 Merged V3.3-BUG-FIX to HEAD
22123: Fixed NFS path to handle conversion not supporting folder paths. ALF-4462.
   22167: ALF-4557: Use batching on population of alf_locale table on upgrade from 2.x on MySQL
   22169: Merge V3.3-BUG-FIX-2010_07_13 to V3.3-BUG-FIX
      21554 : ALF-2339 - Can not handle the load if a lot of mails arriving a the same time.
   22173: Merge from V3.3-BUG-FIX_2010_06_24 to V3.3-BUG-FIX
      20976: ALF-2793 IMAP thunderbird takes ages to display the new contents of a folder.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22214 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-03 08:58:18 +00:00
Gavin Cornwell
b184b46d7d Performance improvement for GET workflow-instances REST API.
Added "priority" and "dueDate" to WorkflowInstance object, which means a query for the workflow start task is no longer required to retrieve this information. A query was previously being done for every row in the results.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22210 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-02 21:17:57 +00:00
Derek Hulley
0d052c414e ALF-4106: Removed 'Auditable' annotation's KEY field
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22209 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-02 21:07:31 +00:00
Nick Burch
fa1818c5fa Start on Replication Service JS API unit tests (more still to test though) - ALF-4505
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22208 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-02 20:46:39 +00:00
Derek Hulley
ae3044bb7f ALF-4106 AuditService enhancements and fixes
- Enabling DEBUG logging for 'org.alfresco.repo.audit.inbound' will dump all auditable data
 - Fixed values output so that Serializable map entries are converted to Strings
 - Made plain the pre-audit client check (i.e. it doesn't need a path for checking)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22203 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-02 20:15:36 +00:00
Derek Hulley
7594b32677 ALF-4106 AuditService REST API: Added 'dataTrigger' to 'RecordValue'
- Prevents RecordValue elements from activating unnecessarily
 - Without any entries, everything behaves as before i.e. 'RecordValue' triggers on data entries at the current path


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22197 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-02 18:11:43 +00:00
Derek Hulley
797930fae1 Prevent repo-based message bundle fetching from failing after login failure
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22196 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-02 17:58:03 +00:00
Mark Rogers
24ff9c9195 MERGE V3.3 BUG-FIX to HEAD
Merge V3.3-BUG-FIX-2010_08_11 to V3.3-BUG-FIX
      22181 : ALF-4358: IMAP lsub or list from a subdirectory returns no result

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22193 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-02 16:29:48 +00:00
Jan Vonka
f41285ba21 Fix ALF-4363 - XPath based queries don't work when attribute value contains @
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22190 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-02 16:00:14 +00:00
Mark Rogers
846d79c06e build fix: fixed integration test now that destination transfer test is xml rather than plain text.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22188 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-02 15:17:34 +00:00
Gary Spencer
853efa586a FTP over SSL/TLS configuration additions.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22185 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-02 14:40:53 +00:00
Nick Burch
d9748ebdf0 Unit tests for the action tracking service javascript interface (ALF-4505)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22183 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-02 13:48:37 +00:00
Mark Rogers
721fb7eff1 ALF-4126 - F85 Target transfer log in XML
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22161 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-02 09:42:23 +00:00
David Caruana
0212c01c1a Resolve ALF-4548: Replication job fails at start
- added checks to transfer service to ensure all mandatory transfer target properties are populated, and raise exception with appropriate message in each case

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22153 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-02 08:40:58 +00:00
Nick Burch
5342c04de0 Unit tests for scheduled replication actions (ALF-4505)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22142 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-01 17:23:01 +00:00
Nick Burch
1f5c3a1d20 Improve how scheduled actions with historic start dates are handled during startup. The last run time is used to decide when they need to be re-scheduled for (ALF-4505)
Also, don't add the new scheduled action to Quartz until the transaction commits, to ensure the nodes are really there before Quartz fires


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22136 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-01 16:16:32 +00:00
Derek Hulley
73ae4f71ca ALF-4106: AuditService and audit DAO refactor
- Added 'dataSource' attribute to 'RecordValue': <RecordValue ... dataSource='...'/>
 - This doesn't affect any existing configurations as the 'dataSource' remains the current path
 - Process data extraction by DataExtractor rather than by path (simpler)
 - Added unit tests specific to 'dataSource' attribute


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22129 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-01 15:21:12 +00:00
Jan Vonka
3708560de9 MT: fix ALF-2472 (upgrade)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22128 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-01 15:20:20 +00:00
Jan Vonka
35e8c5ef9d ALF-4280 - Node DAO: index recovery/tracking (select_Txns / select_TxnsUnused)
- add missing order by(s) to "select_Txns" and "select_TxnsUnused"
- initially affected Oracle build

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22117 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-01 11:25:42 +00:00
Derek Hulley
59b797c8fc ALF-4106: Added entry deletion count return value for clear()
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22109 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-31 20:05:41 +00:00
Dave Ward
10da961097 Merged V3.3-BUG-FIX to HEAD
21981: Fixed ALF-2390: ContentService needs to return total/available space values where possible
      - Added ContentService getStoreTotalSpace and getStoreFreeSpace
      - Supported by underlying ContentStore methods
         - getSpaceUsed: Actual binary storage size (was getTotalSize, which is not deprecated)
         - getSpaceTotal: Total storage space on partition
         - getSpaceAvailable: Remaining storage space on partition
      - Added JMX methods
      - Note: getSpaceUsed is NOT exposed as a service method as it is too easy to abuse
   21982: Follow-up to Fixed ALF-2390: Patch uses new 'getSizeUsed' instead of deprecated 'getTotalSize'
   21983: Fixed ALF-766: Allow cache peer URLs to be set in ehcache-custom.xml
      - Was investigating settings required for client, so just added this in
      - By default, the 'cacheManagerPeerListenerFactory' uses no system properties, but
        a comment has been added on how to define hostName, port and socketTimeoutMillis.
      - Variables associated with that have been added to repository.properties and are
        exported to the Java system properties environment for EHCache to pick up.
   21984: More ALF-766: Allow cache peer URLs to be set in ehcache-custom.xml
      - Added alfresco.ehcache.rmi.remoteObjectPort (see ALF-765)
   22011: Fix for ALF-3005 - Blog and Discussion components not correctly checking length of modified HTML content
   22074: Fix for ALF-4447 - Failure when publishing a Post - some reverse proxies changing the response header to lower case
   22075: (RECORD ONLY) Merged HEAD to BRANCHES/DEV/V3.3-BUG-FIX:
      22073: Resolve ALF-4522: Accessing document via /alfresco/service/api/path doesn't work - "Company Home" token is duplicated
   22091: Merged PATCHES/V2.2.7 to V3.3-BUG-FIX (RECORD ONLY)
      19832: Merged BRANCHES/V3.1 to PATCHES/V2.2.7:
         17255: Fixed ETHREEOH-3180: Error appears when trying to search resources on Manage Task page
      19778: Incremented version label
      19769: ALF-2011: Backported dependencies
         ALF-2360: Merged V3.1 to PATCHES/V2.2.7
            17314: ETHREEOH-3158: Fix RepoServerMgmt to work with external authentication methods
               - AuthenticationService.getCurrentTicket / getNewTicket now call pre authentication check before issuing a new ticket, thus still allowing ticket enforcement when external authentication is in use.
         ALF-2361: Merged V3.2 to PATCHES/V2.2.7
            17456: Fix for: ETHREEOH-1465: It's impossible to get the login history for a given user (Audit)
               - all authentication routes (SSO and password) can now audit getting a new ticket for a session. SSO does not authenticate via the alfresco AuthenticationService API
               - you can now use auditing to track new sessions for users.
      19558: Created hotfix branch off TAGS/ENTERPRISE/V2.2.7
      19557: Tagged V2.2 build 533 Revision 19303 as TAGS/ENTERPRISE/V2.2.7
   22092: Merged PATCHES/V3.1.0 to V3.3-BUG-FIX (RECORD ONLY)
      21274: Merged PATCHES/V3.1.2 to PATCHES/V3.1.0
         21264: ALF-3889: JBPMDeployProcessServlet not accessible by default
            - Should only be enabled in development environment
      20242: ALF-2733: Recreate corrupt authorities produced by LDAP import
      20240: ALF-2733: Recreate corrupt authorities produced by LDAP import
      19032: Moved V3.1.0-ENTERPRISE-FINAL into ENTERPRISE/V3.1.0
      13776: Tagged V3.1 rev 13700 (build 142) as V3.1.0-ENTERPRISE-FINAL
   22093: Merged PATCHES/V3.1.1 to V3.3-BUG-FIX (RECORD ONLY)
      21570: ALF-3687: Build classpath fix
      21549: Merged PATCHES/V3.1.0 to PATCHES/V3.1.1
         20221: Merged PATCHES/V3.1.2 to PATCHES/V3.1.0
            20217: Merged PATCHES/V3.2.0 to PATCHES/V3.1.2
               19793: Merged HEAD to V3.2.0
                  19786: Refactor of previous test fix. I have pushed down the OOo-specific parts of the change from AbstractContentTransformerTest to OpenOfficeContentTransformerTest leaving an extension point in the base class should other transformations need to be excluded in the future.
                  19785: Fix for failing test OpenOfficeContentTransformerTest.testAllConversions.
                     Various OOo-related transformations are returned as available but fail on our test server with OOo on it.
                     Pending further work on these failings, I am disabling those transformations in test code whilst leaving them available in the product code. This is because in the wild a different OOo version may succeed with these transformations.
                     I had previously explicitly disabled 3 transformations in the product and I am moving that restriction from product to test code for the same reason.
                  19707: Return value from isTransformationBlocked was inverted. Fixed now.
                  19705: Refinement of previous check-in re OOo transformations.
                     I have pulled up the code that handles blocked transformations into a superclass so that the JodConverter-based transformer worker can inherit the same list of blocked transformations. To reiterate, blocked transformations are those that the OOo integration code believes should work but which are broken in practice. These are blocked by the transformers and will always be unavailable regardless of the OOo connection state.
                  19702: Fix for HEAD builds running on panda build server.
                     OOo was recently installed on panda which has activated various OOo-related transformations/extractions in the test code.
                     It appears that OOo does not support some transformations from Office 97 to Office 2007. Specifically doc to docx and xls to xlsx. These transformations have now been marked as unavailable.
      21548: Incremented version label
      21547: ALF-4121: Merged V3.2 to PATCHES/V3.1.1
         16827: ETHREEOH-2678 - Unfriendly system error occurs when trying to view Workflows information on content Details page if workflow was canceled
      21275: Merged PATCHES/V3.1.2 to PATCHES/V3.1.1
         21264: ALF-3889: JBPMDeployProcessServlet not accessible by default
            - Should only be enabled in development environment
      21235: Removed old source zip
      21233: Merged PATCHES/V3.1.2 to PATCHES/V3.1.1
         20890: ALF-3687: Apply LUCENE-1383 patch to Lucene 2.1.0 to reduce memory leaks from ThreadLocals
         20891: ALF-3687: Build classpath fix
      21227: Merged PATCHES/V3.2.1 to PATCHES/V3.1.1
         21207: Extra debug logging to track index triggering activity
      21225: Merged V3.2 to PATCHES/V3.1.1
         19598: Backported (merge not possible) HEAD rev 18790 for IndexInfo fixes
            - Hit problem where re-index threads were all waiting for merging, which had nothing to do
      21223: Merged V3.2 to PATCHES/V3.1.1
         16923: Lucene performance: avoid too many index deltas getting created by throttling transactions when the number of index entries gets above a configurable size
            - Stops performance degradation over time and out of memory errors under load
      21222: Merged V3.2 to PATCHES/V3.1.1
         16799: Fix for ETHREEOH-2843:  lucene.indexer.minMergeDocs , lucene.indexer.mergeFactor and lucene.indexer.maxMergeDocs are never read / used
            - removed unused properties and parameterised the remaining unexposed properties
      21220: Created hotfix branch off TAGS/ENTERPRISE/V3.1.1
      19033: Moved V3.1.1-ENTERPRISE-FINAL into ENTERPRISE/V3.1.1
      14897: Tagged V3.1 rev 14748 (build 229) as TAGS/V3.1.1-ENTERPRISE-FINAL
   22096: Merged PATCHES/V3.1.2 to V3.3-BUG-FIX (RECORD ONLY)
      22033: ALF-4504: Fix unit test classpath
      22031: ALF-4503: Removed spurious mergeinfo
      22030: ALF-4503: Merged V3.2 to PATCHES/V3.1.2
         19518: ALF-757: Corrected audit config resource URL so that it resolves inside Tomcat as well as JUnit!
      22028: Incremented version label
      22026: ALF-4504: Merged HEAD to PATCHES/V3.1.2
         19958: Updating pdfbox and fontbox libraries.
            The 3rd party libraries apache pdfbox and apache fontbox have been updated from version 0.8.0-incubating to version 1.1.0.

            Apache states that: [...] notable changes in this release include basic support for tagged PDF, various font handling improvements and better handling of CJK character sets.

            Source is available as before for pdfbox, but is no longer included for fontbox.
      22025: ALF-4503: Merged V3.2 to PATCHES/V3.1.2
         18000: Merged DEV/BELARUS/V3.2-2009_11_24 to V3.2
            17719: ETHREEOH-3393: AuditConfig file is read every time the audit method is called in HibernateAuditDAO
         19501: Merged DEV/BELARUS/V3.2-2010_02_24 to HEAD (with corrections)
            19243: ALF-757: Cannot start up on JBoss 5.1 due to audit configuration error
               - Removed getPath() method because it is incompatible with JBoss and other app servers where resources can't be resolved to a file
               - Now use Spring ResourceLoader instead of creating FileInputStream
               - getLastModified() still returned where the resource resolves to a file; otherwise the server startup time
      21699: Incremented version label
      21697: ALF-4275: Merged PATCHES/V3.2.0 to PATCHES/V3.1.2
         20349: Merged V3.3 to PATCHES/V3.2.0
            20346: ALF-2839: Node pre-loading generates needless resultset rows
               - Added missing Criteria.list() call
         20280: Fixed ALF-2839: Node pre-loading generates needless resultset rows
              - Split Criteria query to retrieve properties and aspects separately
      21696: ALF-4275: Merged V3.3-BUG-FIX to PATCHES/V3.1.2
         20231: Fixed ALF-2784: Degradation of performance between 3.1.1 and 3.2x (observed in JSF)
            - Handles warm caches more efficiently
            - Doesn't regress on ETWOTWO-949
            - Can be backported safely
      21694: ALF-4275: Merged PATCHES/V3.2.0 to PATCHES/V3.1.2
         20266: Test reproduction of ALF-2839 failure: Node pre-loading generates needless resultset rows
      17041: Merged V3.2 to V3.1
         17023: Fixed parentAssocCache bug when adding assocs against an empty cache   
      16987: Merge 2.2 to 3.1:
         13089: (record-only) Fix "Read-Write transaction" exception, when the user does not exist. ETWOTWO-1055.
         13091: (record-only) Fix for NFS server "Read-Write transaction started within read-only transaction" exception. ETWOTWO-1054.
         14190: (record-only) Fix for cut/paste a folder from Alfresco CIFS to local drive loses folder contents. ETWOTWO-1159.
         14191: (record-only) Additional fix for CIFS 'No more connections' error. ETWOTWO-556
         14199: (record-only) Fix for NFS problem with Solaris doing an Access check on the share level handle. ETWOTWO-1225.
         14210: (record-only) Added support for FTP EPRT and EPSV commands, on IPv4 only. ETWOTWO-325.
         14216: (record-only) Fixed FTP character encoding, ported UTF8 normalizer code from v3.x. ETWOTWO-1151.
         14229: (record-only) Remove unused import.
         14655: (record-only) Convert content I/O exceptions to file server exceptions during write and truncate. ETWOTWO-1241.
         14825: (record-only) Add support for the extended response to the CIFS NTCreateAndX call, back port of ETWOTWO-1232.
         15869: (record-only) Port of desktop action client side EXE fixes from v3.x. ETWOTWO-1374.
      16727: Fix for unable to connect via FTP via Firefox (when anonymous logons are not enabled). ETHREEOH-2012.
      16718: Fix for Alfresco and AVM spaces are empty when viewed by FTP and Alfresco is run as non-root. ETHREEOH-2652.
         Triggered when CIFS server uses default ports on Linux/Unix/Mac platforms and fails to start.
      16717: Fixed setAllowConsoleShutdown setting in standalone server can cause infinite loop. JLAN-38.
      16710: Added CIFS NT status code/text for the 'account locked' status, 0xC0000234. ETHREEOH-2897.
      16709: Fixed the FTP not logged on status return code, now uses reply code 530. JLAN-90.
      16666: Fix for CIFS cannot handle requests over 64K in JNI code, causes session disconnect, standalone server. JLAN-91.
      16559: Fix for ACL parsing in the standalone JLAN Server build. JLAN-89.
      16556: Fix for CIFS session leak and 100% CPU when connect/disconnecting quickly. ETHREEOH-2881. 
      16555: Fix for processing of NetBIOS packets over 64K in the older JNI code. Part of ETHREEOH-2882.
      16309: Merged V2.2 to V3.1 (for rev 16305)
         16304: Fix ETWOONE-335: Parallel Review does not store Priority and Due Date set at task creation
      16305: ETWOONE-335: Parallel Review does not store Priority and Due Date set at task creation
      16163: Added timstamp tracking via the file state cache, blend cached timestamps into file info/folder search results.
         Added support for . and .. pseudo entries in a wildcard folder search.
      16162: Add support for the . and .. pseudo entries in a folder search.
         Return EA size as zero in CIFS file information levels.
         Added more debug output to notify change handler.
      16160: Minor change to debug output
      15827: Fixed bug in delete node event processing.
      15780: Fix for MS Office document locking issue. ETHREEOH-2579.
      15628: Update svn:mergeinfo
      15627: Merge 3.2 to 3.1:
         15626: Fixed NetBIOS reports an invalid packet during session connection, and connection stalls for a while. JLAN-86.
      15572: Update svn:mergeinfo
      15571: Merge 3.2 to 3.1:
         15549: Check for null ClientInfo in the setCurrentUser() method and clear the auth context. Part of ETHREEOH-2538.
         15550: Fixed performance issue in the continue search code, add warn level output of folder search timing.
      15570: Merge 3.2 to 3.1:
         15548: CIFS server memory leak fixes (clear auth context, session close). ETHREEOH-2538
      15231: Fix for cut/paste file between folders on CIFS. ETHREEOH-2323.
         Added debug flags to the Alfresco filesystems, implemented in the ContentDiskDriver. Changed debug output to be single line. ENH-515.
      14930: Updated svn:mergeinfo
      14921: Merge HEAD to V3.1:
         14599: Fixes to file server ACL parsing, part of ETHREEOH-2177
      14916: Fixes for local domain lookup when WINS is configured. ETHREEOH-2263.
      14523: Add trailing 'A' to CIFS server name, removed by recent checkin.
      14484: Merged HEAD to v3.1:
         13943 Added FTP IPv6 configuration, via the <IPv6 state="enabled|disabled"/> tag. Added the ftp.ipv6 property. MOB-714.
      14483: Merged HEAD to v3.1:
         13942 Added FTP IPv6 support. MOB-714.
   22097: Merged PATCHES/V3.2.0 to V3.3-BUG-FIX (RECORD ONLY)
      21556: Incremented version label
      21555: ALF-4208: Merged PATCHES/V3.1.1 to PATCHES/V3.2.0
         21225: Merged V3.2 to PATCHES/V3.1.1
            19598: Backported (merge not possible) HEAD rev 18790 for IndexInfo fixes
               - Hit problem where re-index threads were all waiting for merging, which had nothing to do
      17875: “Tagged V3.2 build 304 Revision 17823 as TAGS/V3.2.0-ENTERPRISE-FINAL”
   22098: Merged PATCHES/V3.2.1 to V3.3-BUG-FIX (RECORD ONLY)
      17876: Fix CMIS repo and folder browser web scripts. This can now be used as sample stand-alone JSR-168 portlet.
      18309: ETHREEOH-4003: Impossibility to declare email as record
      18378: ETHREEOH-4034: Permission exception when creating non-electronic records ...
      18468: ETHREEOH-4105: Frozen Records Can Be Destroyed
      18470: Part of ETHREEOH-4089: StoreModelObjectPersister fails to load model object
         - Added toString() methods to aid with diagnostics
      18471: Fixed ETHREEOH-4089: StoreModelObjectPersister fails to load model object
         - If the XML fails to parse, then it is treated the same as a missing document.
         - Rather than having the system fail, the XML failures are reported (turn DEBUG
           on for full XML dump) and the document is treated the same as
           "store.hasDocument() = false"
         - Merges to HEAD will need merging to SpringFramework
      18494: ETHREEOH-4089: StoreModelObjectPersister fails to load model object
         - Handle document parsing exceptions as well
      19170: Fixed ALF-730: MLText is not fully carried during cut-paste or copy-paste
         - Fetching of properties for copy now uses 'mlAwareNodeService'
      19286: Fix for https://issues.alfresco.com/jira/browse/ALF-626 "Using 'null' as an authority argument in clearPermissions() cause a java.lang.NullPointerException"
      19406: Fix for ALF-649 - Web Service query() no longer returns metadata in 3.2
      19597: Gave PropertyBackedBeanExporter a shorter name for it's cluster region name
      19599: Fix ETHREEOH-2583: Make the index tracking "hole" retention period more configurable
         - Added property 'index.tracking.maxVoidRetentionTimeMinutes', which defaults to the 'maxTxnDurationMinutes'
         - Even more usefully, added 'index.tracking.minVoidCheckPeriodSeconds' that allows void checking to be less frequent
           defaulting to only doing it every 60s
         - Added explicit logging for voids: log4j.logger.org.alfresco.repo.node.index.IndexTransactionTracker.voids=DEBUG
      19654: Fix blog test
      19718: Merged HEAD to BRANCHES/V3.2:
         19678: Fix PostgreSQL handling for null Serializable values (ALF-1614)
            - Provides generic way of targeting BLOB behaviour for different dialects
            - Fixes ALF-2301 by the way
      19759: Fix for CIFS/CheckInOut.exe save of working copy breaks lock on original file. ALF-2028.
      19760: Fix for working copy checked out via CIFS is not accessible until FileStateReaper expires file state. ALF-962.
      20048: "Tagged V3.2 build 499 Revision 19935 as TAGS/ENTERPRISE.V3.2.1"
      21166: Merged V3.3-BUG-FIX to PATCHES/V3.2.1
         21165: Fixed ALF-3867: SQL format error when re-instating orphaned content URL
            - Parameter was not bounded with #
            - Added unit test to ensure SQL generated is correct
   22101: Resolve ALF-4522: Accessing document via /alfresco/service/api/path doesn't work - "Company Home" token is duplicated
   - /cmis... urls accept paths relative to CMIS root path (which is /Company Home)
   - /api/path... urls accept paths relative to root of store
   22103: Merge from HEAD to V3.3-BUG-FIX
      22099: Fix for ALF-3733.

      Note that this should also fix ALF-4465.
   22104: Merged V3.3 to V3.3-BUG-FIX
      21690: ALF-3991: Disable audit behaviour when applying the RenditionModel.ASPECT_RENDITIONED aspect
      21722: Merged PATCHES/V3.3.1 to V3.3
         21721: ALF-4039: Extend store name encoding to all non-ASCII characters, as otherwise these are incorrectly mangled by the Tomcat 5 virtualization server when they appear in a web app path
            - Also use -x instead of _x so that the full encoded user name can be included in a DNS name
            - WCM preview now working with variety of user sandboxes with exotic characters in the user name!
      21767: ALF-4234: CMIS Relationships (fix issue with source and target relationship type checking)
      21789: ALF-4333: Fix
         - Updated RepoPrimaryManifestProcessorImpl so it can handle deletions that are reported by either pre-delete noderef or archived noderef (previously only handled the latter).
         - Updated TransferManifestNodeFactory so that it handles the case where the status of the node to transfer is "deleted".
         - Updated UnitTestTransferManifestNodeFactory so that it handles the change to TransferManifestNodeFactory above.
         - Added new tests for deletion cases.
      21808: Fix for ALF-1908 - encoding for all arguments to all templates associated with WebScripts that can be exposed and executed via a URL.
         - this includes any freemarker templates in /components and /modules that can be executed via url and do not touch context objects that would cause them to be invalid when executed via that url, for example any component or template that touches page.* cannot be executed via a url in the browser, but those that do not *could* be exposed via a clever scripted URL and be manipulated to potentially contain XSS code.
      21837: ALF-4039: In WebProjectServiceImpl.getWebUserRef() do not trust results of Lucene search alone. Certain special characters are ignored or treated as equivalent. Do string comparison to ensure exact match.
      21843: Merged V3.3-BUG-FIX to V3.3
         21137: ALF-3841: Alfresco Explorer SSO Authentication Filters now accept ticket parameters too
            - Can be turned back off with ntlm.authentication.browser.ticketLogons=false or kerberos.authentication.browser.ticketLogons=false
            - Wiki updated
      21856: ALF-4391: Fix Share URL rewrite configuration
         - The URL rewrite configuration was not including the query string in the source URL meaning that it got lost in the rewritten URL (for some reason only on Websphere)
         - Solved this by using the urlrewrite.xml from ALF-260 and adding use-query-string="true"
         - Need to retest on Tomcat and WAS
      21873: Fix ALF-2974: Locate file action is absent for documents in I'm editing tab in Repository
      21907: ALF-4401: Web services not working on Websphere 7 (ever?)
         - Added in Sun SAAJ and JAXP reference implementations to shared library in order to make CXF work
         - Removed old Sun SAAJ libraries as these are embedded into JDK 1.6
      21911: ALF-4399: Broken Repository Document library in Share on Websphere.
         (Fixing fallout from argument encoding in r21808)
      21924: Further fixes for ALF-1908 - XSS argument encoding fixes in Forms runtime
      21987: ALF-4187: Fix bitrock installer config so that the RMI communication ports are randomly selected and do not clash with the RMI registry port
      21998: ALF-4323: Fix ability to use ECMA-357 ECMAScript for XML (E4X) expressions in Share on Weblogic (and Rules Management)
         - Use child first loading of org.apache.xmlbeans.* packages
         - Makes sense because it was originally donated by BEA
   22105: Merged PATCHES/V3.2.r to V3.3-BUG-FIX (RECORD ONLY)
      21082: Fixes for ALF-3777 and ALF-3778 - improvements to XSS attack mitigation.
      21375: Fix ALF-3951 - XSS attack mitigation for IE6 browser. Also minor wiki code formatting fixes & HTML entities appearing in wiki dashlet.
      21400: Merged BRANCHES/V3.2 to PATCHES/V3.2.r
         19144: Added PRE tag to whitelist of safe tags for HTML stripping in Share.
         19363: Fix for ALF-1952 - multi-pass HTML stripping
         19814: Fix for ALF-2322 - discussion topic containing non-ascii characters cannot be saved
      21759: Fix for IE6 XSS issue ALF-4307
   22106: Merged PATCHES/V3.3.1 to V3.3-BUG-FIX (RECORD ONLY)
      21838: Merged V3.3 to PATCHES/V3.3.1
         21837: ALF-4039: In WebProjectServiceImpl.getWebUserRef() do not trust results of Lucene search alone. Certain special characters are ignored or treated as equivalent. Do string comparison to ensure exact match.
      21941: ALF-4424: Merged V3.3-BUG-FIX to PATCHES/V3.3.1
         21659: Workaround for ALF-4230: use of flash technology to upload documents into a share site makes the use of (some) external authentication methods difficult (or impossible)
            - The Flash uploader can be disabled via share-config: DocumentLibary / file-upload / adobe-flash-enabled
      21944: Incremented version label
      22079: ALF-4458: Merged PATCHES/V3.2.1 to PATCHES/V3.3.1
         21606 ALF-4044: Introduced new policy.content.update.ignoreEmpty setting, that when true causes the repository to behave as it did before the fix to ALF-254. I.e. writing empty content will not trigger onContentPropertyUpdate policies or inbound content rules. This enables better compatibility with mac clients using CIFS or WebDAV; they actually create and close a file before appending its data.
      ALF-4458: Merged V3.3 to PATCHES/V3.3.1
         20855: Fix for ALF-3690. Unable to FTP files into Share site documentLibrary folder.
            This fix corrects what it essentially a typo. The dictionaryService was injected twice into the CreateNodeRuleTrigger bean, rather than the dictionaryService and the ruleService.
      22082: Incremented version label
   22107: Merged PATCHES/V3.3.1 to V3.3-BUG-FIX
      21943: ALF-4402: Use normalized repository user ID when doing filesystem quota tracking
      22080: ALF-4458: Fixed broken logic in CreateNodeRuleTrigger.onAddAspect()
         - hasAspect() check was inverted because onAddAspect() is called before aspect is actually added


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22108 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-31 19:35:11 +00:00
Nick Burch
bb53fd517b Parallel scheduled action execution unit tests (ALF-4505)
Also tweak the execution related unit test transactional code as advised by Derek


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22102 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-31 17:06:26 +00:00
Neil McErlean
8de08f878f Fix for ALF-3733 (Rendition API - destination-path-template fails to create association)
The fix was primarily to ensure that templated paths with elements that resolved to empty strings, did not lead to the creation of illegal paths in the FileFolderService. An example would be //foo/bar.
  Added a Java test case that reproduced the issue.
  Added a JavaScript test case that partially reproduced the issue.
  Also needed to add extract method in ScriptAction to allow some internal code to be called by subclasses. This had the serendipitous benefit of reducing repeated code. This was a secondary issue whereby parameters set in the renditionDefinition were not being correctly passed from the Script layer to the Java layer.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22099 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-31 16:44:11 +00:00
Nick Burch
d0fa96a05e Tweak scheduling tests - only have quartz firing for the tests that need it, avoid it for the others so as not to confuse things (ALF-4505)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22095 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-31 15:56:53 +00:00