Neil McErlean
4c20220a80
Refactor of RenditionService internals.
...
RenditionNodeManager and calling code.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23144 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-15 14:00:53 +00:00
Derek Hulley
240fc47a92
Comment out failing test
...
- Unit test triggers background tasks that need to be verified
i.e. the test could be finding an issue or perhaps it's a timing issue
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23128 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-15 10:25:24 +00:00
Mark Rogers
968933de37
Bug fix for case where commit failed.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23127 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-15 08:41:09 +00:00
Derek Hulley
7d543fe05f
Fix ALF-4529: Database connection problems when upgrading large sample 2.1.x data set
...
- Range-based query to drive WorkProvider
- Added support for sparse datasets
- Added range-limiting and other parameters: use in the event of unevenly distributed IDs
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23118 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-14 15:59:35 +00:00
Derek Hulley
70a50b2e1c
Propagate exception
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23117 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-14 15:54:59 +00:00
Andrew Hind
4371c1db69
Fix for ALF-1810: Lucene locks out all traffic during backups
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23100 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-14 14:09:48 +00:00
Jan Vonka
6cde9bdd2b
Resolve ALF-5079 - NodeDAO: add missing aspects regress (when aspect has same name as assoc)
...
- note: was "MT: attempt to create new tenant after upgrade from pre-3.4 fails"
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23091 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-14 10:27:36 +00:00
Nick Burch
5aa58d6b6e
When listing the transformers for a given mimetype via the /mimetypes webscript, detect and report if a proxy transformer uses openoffice
...
Also tweak the Tika .xls transformer for .html to be a higher priority
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23078 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-13 14:05:05 +00:00
Nick Burch
2d7ac6bf91
Add diagnostic webscript /alfresco/service/mimetypes
...
Lists all defined mimetypes, what metadata extractor is registered for them, what transformers exist that can generate that mimetype, and what transformers exist that will generate from that mimetype
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23076 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-13 13:35:12 +00:00
Dave Ward
3a06341ff4
ALF-4851: Inbound content rules not executing due to change in onAddAspect sequencing
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23068 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-13 10:59:41 +00:00
Nick Burch
4be5b72b3c
Bump up a sleep wait time, to hopefully fix things on panda. (Long term we need to wait on a callback, but until that is in place we just have to sleep)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23066 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-13 09:48:02 +00:00
Nick Burch
42785b0760
Bump up a sleep wait time, to hopefully fix things on panda. (Long term we need to wait on a callback, but until that is in place we just have to sleep)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23063 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-13 08:44:37 +00:00
Nick Burch
e9ef3837e8
Add a TODO note about a possible future improvement to the tests
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23062 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-12 21:16:41 +00:00
Dave Ward
568086c76c
Merged V3.3-BUG-FIX to HEAD
...
23054: Merged BRANCHES/DEV/BELARUS/V3.3-BUG-FIX-2010_10_04 to BRANCHES/DEV/V3.3-BUG-FIX:
23044: ALF-5112 : Bug fix for ALF-3962 is incomplete (can cause fix-up of version history to be incorrectly ordered - in case where versions have the same frozen modified date)
- merged with some updates, eg. force unit test to exercise the fix
23058: ALF-4379: Don't mix up email recipients for different actions
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23059 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-12 17:07:14 +00:00
Neil McErlean
3c9c19ec74
Adding some debug logging to HTMLRendering and Rendition code.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23057 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-12 16:55:36 +00:00
Nick Burch
a0b57d7b74
Better support for .csv in explorer and share - register the mime type better, and include thumbnailing
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23051 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-12 14:45:42 +00:00
Gavin Cornwell
59fd95ae98
Fixed ALF-4834: The invite task doesn't get a message set (properties.bpm_description)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23045 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-12 14:04:33 +00:00
Nick Burch
e678bd935e
Enhance test to also check the html table contents
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23039 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-12 11:09:56 +00:00
Jan Vonka
3eea2d35e7
Fix ALF-4118 - PersonServiceImpl - prevent creation of duplicate people
...
- add validation to prevent direct creation / deletion (if using people container)
- should fix other possible inconsistencies with personCache
- add unit tests
- minor cleanup
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23038 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-12 10:44:22 +00:00
Mark Rogers
43549e98e8
deployment service: implementation of long timeout
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23018 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-11 14:26:41 +00:00
Nick Burch
0fe90a6d1a
Add support to the HTML Rendering Engine for outputting the embedded images to the same folder as the html file, rather than the default of a subfolder, and tests
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23017 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-11 13:37:04 +00:00
Derek Hulley
4a320906ca
ALF-5028: Tagging test mods
...
- Join onto first-level threads to be sure that first round of tagging has been done
- Double-checks for transaction leaks (found 1)
- Some formatting (new test only, but should be applied to file)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23015 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-11 11:06:18 +00:00
Jan Vonka
01d9ad5384
ALF-1605/ALF-3452 - Share DocLib activities (check doc permission)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23002 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-08 16:23:10 +00:00
Nick Burch
4ff69f599a
ALF-5028 - More tag scope updates and unit tests. Shortly after the system is started, check for un-applied tag scope updates, and apply them.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22997 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-08 15:47:36 +00:00
Derek Hulley
c2fbd5d8d6
Incorrect post-error cache removal method
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22995 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-08 15:39:36 +00:00
Gavin Cornwell
7e774609a8
Fixed ALF-4921: Incorrect behaviour of pooled tasks for sub-groups
...
Also fixed unreported error that allowed any member of the assigned pooled group to edit a task after it was claimed.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22987 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-08 12:46:10 +00:00
Nick Burch
7e6c03781e
ALF-5028 - Tagging Service Update - Use the audit service as a persisted event log, so that tag scope updates can occur in batches and without contention issues. (Further tests and post-startup executor still needed)
...
This commit enables the Audit Service by default, but turns off all the audit applications except tagging by default, so there shouldn't be any noticable changes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22986 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-08 11:14:49 +00:00
Derek Hulley
3c0f908e3f
AuditService delete by ID: Added bulk-delete perf. test
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22983 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-08 09:49:08 +00:00
Derek Hulley
6dcd5e5441
Added AuditService.clearAudit(List<Long>)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22980 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-08 09:26:34 +00:00
Nick Burch
6c8e135759
Tweak async wait to avoid incorrect test failures
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22979 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-08 09:25:56 +00:00
Derek Hulley
bfd512ecc7
Fixed unreported issues with application of default values during NodeService.setType
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22969 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-07 15:30:12 +00:00
Derek Hulley
517569d27b
Fixed JobLockService refresh callback code
...
- Fallout from ALF-4898
- Unit tests perform and check callback counts
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22966 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-07 14:54:27 +00:00
Mark Rogers
ee52855f62
ALF-4898 - rework to deployment locks to implement Job Lock Service timeout callback.
...
- there is now two callbacks. A short timeout (1 minute) for keeping the lock alive and a longer lock for timing
out the whole deployment.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22961 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-07 13:56:35 +00:00
Jan Vonka
839d522808
Fix continuous build error (reverse part of r22938)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22946 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-07 10:27:53 +00:00
Neil McErlean
fc0cbe5ae8
Fix for ALF-5123. Do not cache thumbnail definitions when none have been (initially) found.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22941 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-07 09:57:20 +00:00
Jan Vonka
0ab098088d
Enable logging for 2 unit tests (ALF-5096 / ALF-5097)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22938 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-07 08:57:57 +00:00
Derek Hulley
0b8316dc4c
Correct debug messages for retry count
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22934 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-07 02:20:43 +00:00
Derek Hulley
d4e98a7161
Fixed getLock implementation to handle zero retry parameters
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22933 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-07 02:09:36 +00:00
Jan Vonka
fd425423a0
ALF-3266 - further perf improvements (createVersion / getCurrentVersion)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22926 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-06 16:36:43 +00:00
Mark Rogers
7f720478fd
ALF-5105 - typo in exception message
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22920 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-06 13:44:26 +00:00
Mark Rogers
88b31b6d3a
ALF-5041 - replication action - send renditions/thumbnails as well as content. Share needs the thumbnails.
...
Also strip off versionable aspect since transferring versions is not yet implemented.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22919 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-06 13:34:45 +00:00
Nick Burch
28dcad6dba
ALF-3262 - Avoid contention and auth issues when updating the last run details on a previously persisted action run through the action tracking service
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22917 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-06 12:33:11 +00:00
Mark Rogers
ae2ee867f1
change the name of the "inbound transfer report" to end in ".xml"
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22916 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-06 12:19:16 +00:00
Jan Vonka
00ea243bc3
Merged BRANCHES/DEV/V3.3-BUG-FIX to HEAD:
...
22883: ALF-4800 - AVM - intermittent test failure (layered file delete)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22884 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-05 11:55:50 +00:00
Mark Rogers
5ef4758194
ALF-5068 - rework of content equality test.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22880 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-05 11:23:46 +00:00
Nick Burch
e08fd4e940
When metadata extraction fails, perform the same check that content transformation now does, and give a more helpful error message if the mime type is wrong on the content
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22878 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-05 11:04:55 +00:00
Jan Vonka
f62629d5d4
AVM - minor cleanup (remove some unused imports & methods)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22877 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-05 10:52:02 +00:00
Nick Burch
40e6c1e1d9
Have the TikaAuto content transformer skip .tar and .tar.* files, since these are handled by the new Archive transformer which gives control over recursion
...
(Will fix the build failure caused by adding quick.tar earlier today)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22861 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-04 22:18:10 +00:00
Nick Burch
2d690eb109
Convert the archive transformer to use Tika, so that other archive formats (eg tar) are supported
...
Includes a configuration option (off by default) to recurse into embedded resources, along with unit tests for this
Also add support to the ComplexContentTransformer for tweaking TransformOptions, and use this to ensure that the SWF plain-text preview of archive files will only ever be the filenames, and not the text of their contents too
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22860 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-04 20:35:12 +00:00
Nick Burch
2c64a653e5
TransformationOptions update - add a new flag for including embedded resources
...
Also fix ImageTransformationOptions to properly obey the TransformationOptions contract, by including the extra details in the toMap method
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22859 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-04 20:32:49 +00:00