Gavin Cornwell
c06a82a0de
Refactored links management UI following link validation service API changes
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6024 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-19 21:30:52 +00:00
Britt Park
63680c700f
AVMNodeService now points at AVMLockingAwareService.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6023 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-19 19:03:10 +00:00
Andrew Hind
d8050806af
Updates to the permission service to find nodes by permission assignment
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6020 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-19 15:08:15 +00:00
Kevin Roast
0d81c6a30d
AVMLockingException now has I18N message for locked item error.
...
Added new variant of hasAccess() method to AVMLockingService to support the case where you already have the NodeRef of the webproject available (improves performance by removing the need to perform a lucene search to locate the webproject node).
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6017 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-19 13:45:12 +00:00
Kevin Roast
04e4f0d286
Fix to ScriptableQNameMap (used in JavaScript API) to support the getIds() method
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6016 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-19 13:42:16 +00:00
David Caruana
06e84d5690
- Addition of generic workflow deploy patch
...
- Patch for re-deploying new WCM submit process
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6015 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-19 13:23:19 +00:00
Derek Hulley
08fd123241
Fixed NPE when extracter action hits properties not in the dictionary.
...
Exposed extracter OverwritePolicy, but it still defaults to the OverwritePolicy specified in the extracters configuration.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6013 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-19 09:12:56 +00:00
Jon Cox
a6e250cdac
Point checkin.
...
Separated ephemeral results you get from comparing a workflow
sandbox to staging from the delta you'd get between 2 versions
of staging itself. The deltas work but the merges are not
there yet so you still need to do monolithic updates
of staging using the old api for now. Still, this lets you
see what the deltas look like -- basically just a slightly
different way of getting manifests of files with broken links.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6012 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-19 04:53:34 +00:00
Britt Park
5dc16190ef
AVMLockingAwareService lazily creates web project entries.
...
AVMLockingService should handle the content manager role correctly.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6009 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-18 18:29:25 +00:00
Derek Hulley
a1d890be94
Fixed test script to handle the extra isNewNode flag for onCreateChildAssociation
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6005 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-18 15:29:24 +00:00
Derek Hulley
6e0c406488
Enhanced 'beforeCreateChildAssociaton' and 'onCreateChildAssociation' to carry an 'isNewNode' flag.
...
Fixed Lock and Rules to react correctly to this new information.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6003 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-18 11:29:00 +00:00
Britt Park
832c1b599e
AVMLockingAwareService.
...
A wrapper around AVMService which knows aboout locking. It works
by auto-locking on write operations or throwing an AVMLockingException
if the requested target is already locked to another user or to a
different store in a web project.
It is wired up as avmLockingAwareService, AVMLockingAwareService, and
indexingAVMLockingAwareService. It isn't hooked into anything
else yet.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6000 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-18 04:19:35 +00:00
Derek Hulley
0a95689a7e
Draft of Http ContentStore
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5999 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-18 00:09:20 +00:00
Derek Hulley
f163374aca
Javadoc
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5997 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-18 00:00:54 +00:00
Derek Hulley
e20ce59603
Minor fix of mimetype check
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5996 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-18 00:00:28 +00:00
Derek Hulley
856e398c54
Moved to undeprecated 'isSupported' method
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5995 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-17 23:59:47 +00:00
Britt Park
7640f0b32b
Fixes WCM-495, in which second deployments don't work.
...
Problem was aspects being added willy nilly, regardless of their existence.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5993 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-16 16:29:43 +00:00
Jon Cox
e59e2ab976
Point checkin.
...
Added APIs to allow broken links due to deletions & new/modified files in a
workflow to be detected via sync service (differencing). Not configured
as transactions yet, nor has much testing been done, but things are starting
to shape up. Now also detecting broken IMG tags (as well as A tags).
Also, the linkvalidation service now has its own file extension excluder bean.
Eventually the old APIs will go away, but I'm leaving them in there for
now to make life simple.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5992 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-16 04:27:01 +00:00
Derek Hulley
1bd38892b4
Fixed one of the failing tests for rules coverage:
...
- The test model didn't allow multiple values for the category property.
- The setting of the category in the action puts a single value if one doesn't exist,
or changes the value to a collection if a category already exists. This is true even
if the category is exactly the same.
I have **NOT** managed to fix the 'testInboundRuleType' because it would appear that the
test action evaluation is being done with a NoConditionEvaluator. The test checks to
see that the action is not executed for an empty content node. It might be a side-effect
of the parent node update policy ... but I can't see why.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5991 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-16 00:40:19 +00:00
Gavin Cornwell
0d95c702cb
Added links management to the submit process
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5989 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-15 19:33:02 +00:00
Kevin Roast
236033e28e
Fix to set child assoc name uri part used in ScriptNode.createNode() to content model uri to be consistent with most create operations performed in the repo/client.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5987 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-15 16:42:39 +00:00
Andrew Hind
299b4d3434
Improvements to the ticket service
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5984 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-15 16:05:43 +00:00
David Caruana
1544ecb1b6
Implement addNode and removeNode for adding/removing an existing node to/from a parent.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5983 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-15 16:05:12 +00:00
Andrew Hind
2c2b000f3e
Fixs for AR 1411, 1510, 1517
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5982 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-15 15:41:45 +00:00
Derek Hulley
f1b226a279
Test configurable XML metadata extractors.
...
This doesn't include the wrapper extractor, yet, but there are two extractors that extract metadata from Eclipse Project XML and Alfresco Model XML files.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5980 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-15 15:11:54 +00:00
Derek Hulley
5cacfe861e
Lock implementation was listening for beforeUpdateNode on the parent node.
...
We no longer raise update calls for the parent nodes, so this had to move to onBeforeCreateChildAssociation.
The node service was calling oncreateNodeAssociation, instead of the correct child association behaviour.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5974 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-15 11:19:32 +00:00
Kevin Roast
fa49ba7916
Webscript URLs now supported in the Custom View panel for the Browse, Space Details and Document Details screens.
...
Added new aspect definition to support Webscript custom views.
Web context path (i.e. /alfresco) is now automatically prefixed onto webscript urls specified in JSF runtimes.
Modified the existing webscript dashlet JSPs to remove the hardcoded /alfresco path.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5973 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-15 11:07:13 +00:00
Derek Hulley
2cc5f559ec
Remove use of Java 6 feature
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5972 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-15 08:07:02 +00:00
Derek Hulley
646d634f76
Fix for use with case-sensitive DB
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5971 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-15 08:06:38 +00:00
Derek Hulley
f770bb0190
XPath-based XML metadata extractor
...
- No tests
- Simple root element name redirector
Some comments fleshed out on the new mapping metadata extractor
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5969 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-15 02:30:14 +00:00
Derek Hulley
1b97517ce6
Removed beforeUpdateParent policy calls for association modifications.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5968 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-14 23:58:44 +00:00
Derek Hulley
0bb6f1cdb1
Javadoc: Minor reference fix
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5966 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-14 19:05:58 +00:00
Derek Hulley
e670eabfad
Javadoc: Fixed @inheritDoc to be {@inheritDoc}
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5965 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-14 18:18:53 +00:00
David Caruana
bfaedb95ca
Fix fallout from javascript/freemarker node conversion refactoring.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5963 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-14 18:11:23 +00:00
David Caruana
ea815d8e9f
- Provide runtime show & hide of Alfresco Javascript Debugger
...
- Simplify Web Script home page
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5962 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-14 17:21:29 +00:00
Jan Vonka
7d160bc4d9
- updated comment with correct eg workflow definition name
...
- fixed typo
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5959 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-14 15:50:56 +00:00
Jan Vonka
e70a71dc10
- updated comment with correct eg workflow definition name
...
- fixed typo
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5958 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-14 15:50:37 +00:00
Derek Hulley
dd2f3985b9
Tests for the RetryingTransactionHelper
...
- Tests new inner transactions
- Tests various modes of failure, including silent mark for rollback
Archive restore uses retries
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5953 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-14 12:34:39 +00:00
Kevin Roast
d403021a74
Fix to recent Script ValueConveter changes - NativeDate objects were being incorrectly converted to an empty Map.
...
Will fix build as script test was failing due to this.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5952 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-14 12:13:05 +00:00
Kevin Roast
04a78f17d2
Outlook email messages (in OLE2 .msg format) now converted to text for full-text indexing.
...
JUnit test for new transformer class.
Added new test to ContentTestSuite.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5951 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-14 10:51:51 +00:00
Derek Hulley
ede9345a5b
Fixed retrying wrapper for non-propogating transactions.
...
Fixed retrying for the scenario where a transaction is marked for rollback but without an exception.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5950 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-14 08:39:04 +00:00
Derek Hulley
b65a6fe1a8
Relaxed TransactionalCache
...
- Treating the shared cache like a database w.r.t. concurrency leads to too many conflicts,
when it is quite reasonable to just throw the cached values away when in doubt.
Fixed cache size tracing
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5949 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-14 08:25:13 +00:00
Derek Hulley
fb069d1680
Merged DEV/DEREK_2.1 to HEAD
...
- Removed Node.parentAssocs mapping
- Added parentAssocs transactional cache to NodeDAO
- Added concurrency detection to TransactionalCache
- Fixed cluster sample config
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5948 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-13 23:50:14 +00:00
Derek Hulley
36ea25f822
Added retrying behaviour to asynchronous actions.
...
Logging of asynchronous action failures goes to the logger and not just console.
Injected ThreadPoolExecutor to be used for asynchronous actions.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5946 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-13 23:31:31 +00:00
Derek Hulley
7956a08df8
Fix for AR-1430: Table name too long for Oracle
...
- Shortened table name
- A new table will be created, so reintroduced the patch under a new ID and target version 56
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5942 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-13 19:55:22 +00:00
Derek Hulley
7735ae0acd
Minor fixes:
...
- ContentStore directory creation does a few retries if it fails
- A little less Session clearing during content store cleaning
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5941 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-13 19:33:30 +00:00
David Caruana
2794a59085
- Refinements to Javascript/Freemarker Node conversions
...
- Removed hard-coded conversions from Web Scripts
- example category search web script aligned with documentation
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5940 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-13 17:23:47 +00:00
Andrew Hind
80939c8187
Fix when more locales present
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5939 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-13 16:47:07 +00:00
Derek Hulley
3a39cf90b6
Fixed version label to handle '0' as an initializer
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5929 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-13 10:40:07 +00:00
Derek Hulley
f1f2d4c035
Updated PdfBoxMetadataExtracter to new mappable format
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5928 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-13 02:01:45 +00:00