Britt Park
e02e874556
Fixes WCM-534.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6126 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-28 11:08:54 +00:00
Britt Park
fcb4c9c54b
Another dirty trick to eliminate the last unnecessary lookup during indexing snapshots.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6124 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-28 00:22:45 +00:00
Britt Park
8aa69caee3
Performance tweaks for AVM Indexing.
...
Removed calls to getXXXPaths().
Changed mappings of properties and aspects on AVM Nodes to
favor get all calls.
Added getAspects() and getNodeProperties() which take
AVMNodeDescriptors.
Used these in AVM Indexing to reduce the number of redundant full lookups.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6121 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-27 18:24:05 +00:00
Derek Hulley
dcca019090
Fix AWC-999: Content encoding is displayed and is settable in the UI.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6120 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-27 13:32:42 +00:00
Gavin Cornwell
524faba1cd
- Refactored submit dialog to use 2 transactions so that link validation can occur succesfully
...
- Check links checkbox now only shown if there are workflows configured
- Changed a couple of labels
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6118 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-27 09:50:26 +00:00
Derek Hulley
678dff7539
Low-level encoding checks could possibly require a patch.
...
Created AR-1546 for this rather than make any assumptions.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6114 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-26 22:18:12 +00:00
Derek Hulley
467bc8d3c8
Partial fix for AWC-999: Content upload guesses character encoding and offers the user the chance to change it.
...
TODO: Fix the "Modify Content Properties" to include the encoding as a changeable option.
Modified other entry points of content into the system. All calls to ContentWriter.setEncoding("UTF-8") need some serious examination.
It is no longer necessary to assume anything about the encoding. The worst case scenario is that we guess the encoding from the stream
without giving the user the chance to change it. This works for most non-interactive scenarios like CIFS, WebDAV and FTP, now.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6113 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-26 21:48:19 +00:00
Derek Hulley
3748c940b3
If you have a content URL, then you must have an encoding.
...
Only VM-supported encodings are accepted.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6112 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-26 21:38:54 +00:00
Andrew Hind
ca5cca799c
Updated unit tests for name tokenisation
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6109 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-26 14:27:27 +00:00
Andrew Hind
61d5f06d7d
Improvements for AVM indexing
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6108 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-26 14:05:47 +00:00
Derek Hulley
c303724297
Fixed ClassCastException when rules run in an ML-enabled space.
...
Instead of using casts to String for cm:title and cm:description, the DefaultTypeConverter is required.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6107 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-26 13:14:57 +00:00
Britt Park
cf0685b7ef
Change to mapping of AVM aspects.
...
This seems to make indexing a bit quicker, and at least doesn't make other things
slower. Bulk import now just sucks; it used to be an order of magnitude suckier.
98% of that is due to Andy's recent changes.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6103 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-26 01:15:39 +00:00
David Caruana
ad1984d18d
- Addition of Mike's "readme" presentation template
...
- Bootstrap updated & patch created
- Applied to Web Scripts folders
- Fixed Importer bug found with above import patch files
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6099 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-25 15:22:22 +00:00
David Caruana
c193c8585c
- Web Script Runtime now takes ServiceRegistry in constructor (not an explicit ever growing list of services)
...
- default status templates now include Alfresco server information & time of error for diagnostic purposes
- template url.match does not include service context anymore e.g. /alfresco/service/api/path/ is now just /api/path/
- added Retrying Transaction Helper to Service Registry
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6088 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-25 12:38:32 +00:00
Gavin Cornwell
a5e73bf360
- Fixes and refinements to links management UI
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6082 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-24 20:44:12 +00:00
Britt Park
e52ab18d0d
Test Fix. Doh!
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6080 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-23 23:28:40 +00:00
Jon Cox
3700ab19c6
Point checkin for link validation.
...
Everything but that code that will bring virtualized staging archives up & apply diffs to href validity info.
Handles abort(), filters junk, graceful start/stop, etc. Not usable yet, but soon (assuming no gaping bugs).
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6079 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-23 20:24:38 +00:00
Britt Park
b2a2ad8c94
AVMService.createSnapshot() returns a map of possibly snapshotted stores.
...
When one snapshots a store, other stores can be implicitly snapshotted.
This change allows clients to exploit this information.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6078 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-23 17:52:00 +00:00
Britt Park
7e9c7b505c
Added getPathsInStoreVersion() method to AVMService.
...
This returns all paths to a particular node in a particular
store in a particular version.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6074 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-22 22:10:05 +00:00
Derek Hulley
54d7208f7b
Fixed AR-1321: Allow '&' in filename
...
The following filename is valid now: "x ¬ £ % & + ; x.txt"
This was a restriction imposed by WebDAV, but the encoding of the repsonses is working well and these restrictions be removed as a result.
Fixed AR-1281: WebDAV upload was assigning incorrect encoding
I added a bean 'charset.finder', which can be fetched from the MimetypeService.
Various pluggins now exist to decode a stream and figure out what the encoding is.
WebDAV and CIFS/FTP are now hooked into this so that they guess a little better.
Fixed others:
Added retrying transactions to WebDAV.
Read/write transactions for WebDAV.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6073 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-22 21:27:17 +00:00
Britt Park
838e14cc85
AVMLockingAwareService does not take out locks for operations on staging.
...
AVMLockingAwareService does not take out locks on Directories.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6072 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-22 17:35:37 +00:00
David Caruana
3f107708f8
- AVM Web Script Sample (browse stores, folders, content)
...
- Fix Web Script issue where urls contained ; (due to tomcat)
- Allow AVMScriptStore to be passed through script converters (add serializable)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6071 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-22 16:39:43 +00:00
Andrew Hind
5981472dd3
Improvement for AVM inedxer performance
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6069 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-22 15:26:09 +00:00
Andrew Hind
0eb0cce5e7
Fixes for AR-1466 and AR-1515
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6066 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-22 13:23:38 +00:00
Kevin Roast
3d98108d73
WCM Locking UI implementation and fixes.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6065 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-22 11:17:20 +00:00
Jon Cox
f8fd96b1e1
Point checkin. Rough cut at href merge op (don't use it yet though).
...
Also included abort() method on progress object.
What's left:
o put incremental update in looping thread(s) to let system bootstrap from nothing
o deal with store/webapp going away
o deal with virt server down
o Switch to using virtualized snapshot instead of HEAD in staging
o testing... and lots of it
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6063 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-22 05:32:58 +00:00
Gavin Cornwell
ad3ced0367
- Links management UI
...
- Made AJAX polling frequency configurable
- Made connection and read timeout values configurable
- Added panel around summary area
- Removed use of shadowed panels for staging area and user sandboxes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6061 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-21 22:19:13 +00:00
Kevin Roast
1f708bd86a
Fix for AR-1413 and AR-1532 (handling of missing nodes in FileFolderService, affecting CIFS, WebDav, FTP and web-client)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6060 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-21 19:53:52 +00:00
Kevin Roast
7873ce384e
Fix to AVMSubmitPackageHandler to handle folders in a workflow and recursively unlock files in a folder.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6059 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-21 19:46:44 +00:00
David Caruana
12e8663942
Workflow: fix issue where explicit collection of people (not a group) could not be assigned to a pooled task
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6057 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-21 16:44:38 +00:00
Derek Hulley
55a6e2f287
XML metadata extraction with sample.
...
Added tests into build.
This is now ready for testing, comments and suggestions.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6056 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-21 16:09:03 +00:00
Derek Hulley
757616bc85
Javadoc
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6055 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-21 16:07:19 +00:00
Britt Park
24fcc32824
AVMLockingService.removeLock() quietly returns if called for a non-existent lock,
...
instead of throwing an exception.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6052 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-21 15:07:44 +00:00
Kevin Roast
fd36b00448
JavaScript AVM API enhancements. Template AVM API addition.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6049 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-21 11:59:52 +00:00
Derek Hulley
cefaf59d7b
closeContext method is not (and should have been) static
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6048 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-21 11:01:07 +00:00
Mike Hatfield
84b84ffad0
Made downloadUrl available across all public APIs for nodes
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6047 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-21 10:09:56 +00:00
Britt Park
b45b923c97
Fixed failing test in AVMServiceTest.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6045 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-20 22:30:14 +00:00
Mike Hatfield
af8c77753f
Doclist Webscript - main document list now separate ajax panel. New PortletActionsBean to perform server-side actions from portlets. DeleteItem moved out of MySpacesBean into PortletActionsBean. TemplateNode addition of downloadUrl method for non-inline document downloads.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6044 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-20 21:23:51 +00:00
Kevin Roast
2191fe7a23
Lucene search support for AVM FreeMarker Template API
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6043 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-20 20:28:38 +00:00
Derek Hulley
c0fd9a896d
Test fix
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6042 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-20 19:52:26 +00:00
Ariel Backenroth
daffc0a235
more locking related ui work
...
- unlocking files on submit
- unlocking file on revert
- adding AVMLockingAwareService to serviceregistry
- locking renditions (using the lockingawareservice)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6040 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-20 19:07:49 +00:00
Kevin Roast
5120da0dc6
Fix for http://issues.alfresco.com/browse/AR-1527
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6039 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-20 18:54:15 +00:00
Derek Hulley
ecd81e37a2
Fixed AR-1525: Version root doesn't have the required aspect.
...
The patch execution evaluation is done again if the patch was not executed - even if it was considered for execution before.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6038 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-20 18:50:25 +00:00
Kevin Roast
5d6375e0a7
More improvement to lucene query in avmlockingservice
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6037 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-20 16:54:09 +00:00
Kevin Roast
aa41ae3768
Transactional safe cache added to PersonServiceImpl to cache person NodeRefs against usernames.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6036 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-20 16:30:49 +00:00
Britt Park
1073576c12
Make bootstrap for AVMLockingService more robust. Fixed AVMLockingServiceTest failures.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6035 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-20 15:19:02 +00:00
Kevin Roast
7ca65b01ab
Fix to new duplicate method name in PermissionService (getAllSetPermissions) that was causing various client actions to break with permission denied errors.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6030 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-20 10:41:52 +00:00
Kevin Roast
56af2175d5
Fix to Lucene query used in AVMLockingServiceImpl - was sometimes returning multiple results when expecting only a single row
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6028 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-20 09:36:47 +00:00
Jon Cox
fd1d6edd6e
Point checkin. Algorithm for merging href diffs, but nothing
...
yet to discover once-broken links are no longer broken,
or anything to bootstrap (i.e.: don't try using it yet).
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6026 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-20 04:51:12 +00:00
Britt Park
b4dfe11644
Patch for AVMLockingService. I think I even did it right.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6025 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-19 23:51:04 +00:00