3296 Commits

Author SHA1 Message Date
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
Derek Hulley
c1a2fa2516 Javadoc addition
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23116 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-14 15:53:52 +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
Andrew Hind
7ba546ca10 Added unit tests for the use case provided in ALF-5187: CMIS: When using '%' with the LIKE predicate it seems to match one or more characters rather than zero or more characters
- shows the issue as described does not exist in the implementation

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23073 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-13 13:24:45 +00:00
Derek Hulley
8422f55863 Do not attempt to audit InputStream property
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23069 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-13 11:06:21 +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
Jan Vonka
f1797f24fa Quick build fix (fallout from audit)
- note: modelFileName param pending audit fix (for methods with InputStream params)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23064 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-13 09:26:06 +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
Steven Glover
43b583c613 Fixed typo relating to ALF-4065: "adminWriteable tag does not make staging sandbox writable"
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23036 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-12 10:19:50 +00:00
Steven Glover
021f9da6a3 Fixed typo relating to ALF-4065: "adminWriteable tag does not make staging sandbox writable"
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23031 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-12 09:32:36 +00:00
Steven Glover
db771f3113 Fix for ALF-1719: "Possibility to delete one of www,avm_webapps,ROOT folders"
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23029 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-12 09:04:36 +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
David Caruana
8014b4dadd Resolve ALF-5130, ALF-5144, ALF-5148
- ALF-5130 NPE from Web Services deleteTree()		
- ALF-5144 Create document via CMIS web services throws exception if mime type is not specified
- ALF-5148 ApplyACL does not accept repositorydetermined ACLPropagation value

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22990 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-08 13:38:06 +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
Brian Remmington
54fd55d6b3 WebQS:
- ALF-4977  Wildcard search leads to error (WCMQS) - added '&' to the list of stripped-out characters
- Creation of a section now causes the creation of three collections by default (configurable)
- CMIS query parser now allows ordering by property defined on an aspect

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22931 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-06 21:27:49 +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