67 Commits

Author SHA1 Message Date
Derek Hulley
4e4e342409 Merged DEV/CHECK_EXISTS to HEAD
svn merge svn://www.alfresco.org:3691/alfresco/BRANCHES/DEV/CHECK_EXISTS@3442 svn://www.alfresco.org:3691/alfresco/BRANCHES/DEV/CHECK_EXISTS@3590 .

TODO: Fix bug raising incorrect exception during UI paste of same-named file
Note:
- Added a new method to NodeService to get child by name
- Added a new method to FileFolderService to perform fast, direct lookups based on name


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3591 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-23 16:50:12 +00:00
David Caruana
17a40c3e51 Workflow Checkpoint:
- Process deploy/isDeployed/undeploy implemented in Workflow Service
- Servlet implemented to support jBPM Process Designer deployment (using above service) : mapped to /alfresco/jbpm/deployprocess URL
- Workflow deployer bootstrap bean (for once- only loading of process definitions at bootstrap)
- Initial cut of Review & Approve process definition & Task definitions (bootstrapped)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3477 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-09 23:37:06 +00:00
Kevin Roast
d24a815b79 . JavaScript API improvements
. Template API improvements
. Fixed a couple more UTF-8 code file warnings when compiling the source

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3473 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-09 12:51:42 +00:00
Kevin Roast
499367c4e9 JavaScript API enhancements - Document and Image transformation services
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3465 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-08 12:05:41 +00:00
Kevin Roast
65d0eb742e . Code cleanup and javadoc for Outlook email extractor
. Moved cm:emailed aspect and property definitions to ContentModel public fields

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3427 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-27 09:48:45 +00:00
Kevin Roast
b78cb33649 . Added support for additional encodings to Outlook email extractor
- fixes issue with some emails not being parsed
. Added email subject to list of extracted values - "cm:subjectline"

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3418 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-26 20:21:16 +00:00
Derek Hulley
595556f3c5 Merged V1.3 to HEAD(3161:3179)
svn merge svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3161 svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3179 .


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3406 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-26 10:49:21 +00:00
Kevin Roast
5a513ea900 corrected copyright and author
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3394 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-25 09:23:36 +00:00
Kevin Roast
e31e027039 . Outlook email format meta-data extractor
- expects .msg files in native Outlook format
  - uses POI library for the parsing of the horrid OLE2 compound document format
  - extracts addressee(s), sent date and originator email address
  ...for the future - could be modified and used as a transformer to allow full-text indexing of Outlook format emails

. Add new aspect "emailed" to the contentmodel to support properties for above extractor

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3387 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-24 15:05:48 +00:00
Derek Hulley
2c2816a39b Upgraded JOOConverter to V2.0.0
- Fixes AR-505
 - OpenOffice transformations are config driven
 - Incorporated WordPerfect transformations


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3367 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-21 14:14:11 +00:00
Derek Hulley
46e178a215 Fixed AR-607: Maximum number of files per folder in ContentStore
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3110 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-15 10:44:10 +00:00
Derek Hulley
40c225d3c7 Fixed AR-35, AR-213: ContentStore replication driven by quartz
Fixed up sample and WIKI


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3093 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-14 08:49:01 +00:00
Derek Hulley
6fad540064 Fix AR-499: Indexing of content pushed to the background for slow (>50ms) transformations.
- We can make this configurable if required
 - This mostly means that text formats will be indexed atomically while slower transformations will be pushed back


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3061 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-08 13:12:31 +00:00
Paul Holmes-Higgin
3c5457c602 changed enterprise headers to open
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2757 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-04 12:37:20 +00:00
Paul Holmes-Higgin
c37ff8805c Merged enterprise features
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2746 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-03 18:34:13 +00:00
Kevin Roast
c9e5bd6c22 . Rhino JavaScript integration checkpoint:
- Added a new action to the repository for executing JavaScript files
  - Added script action UI to rule framework, means we can execute a JavaScript file as part of a rule
  - Lucene search and Saved Search functionality added to default data-model for scripts
  - Added Scripts folder to Data Dictionary (created during bootstrap)
  - Created patch to add the Scripts folder to existing schemas
  - Added ScriptService to ServiceRegistry bean

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2740 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-03 12:01:21 +00:00
Derek Hulley
776314da72 svn merge -r 2570:2595 svn://www.alfresco.org/alfresco/BRANCHES/V1.2.0/root HEAD/root
svn merge -r 2597:2649 svn://www.alfresco.org/alfresco/BRANCHES/V1.2.0/root HEAD/root


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2650 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-12 14:58:21 +00:00
David Caruana
166de93b48 Fixes for supporting full repository export/import.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2625 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-05 19:14:20 +00:00
David Caruana
701657f2f1 Full Repository Export / Import Support - first checkpoint
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2591 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-30 18:38:03 +00:00
Derek Hulley
0a30d7f036 Removed unused code
Hid unused code warnings for local variables that might be useful for debugging


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2529 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-09 13:59:30 +00:00
Derek Hulley
f64119ac90 Merged V1.2.0 to HEAD
svn merge -r 2516:2518 svn://www.alfresco.org/alfresco/BRANCHES/V1.2.0/root HEAD/root


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2519 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-06 13:40:04 +00:00
Derek Hulley
230373e9d2 Merge V1.2.0 BRANCH to HEAD
svn merge -r 2500:2515 svn://www.alfresco.org/alfresco/BRANCHES/V1.2.0/root HEAD/root


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2516 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-06 11:35:34 +00:00
David Caruana
32990f3d62 Allow for export of all Repository content including version store. Required:
- supporting content in ANY properties (for Content Service and Exporter)
- moving Content related permission to sys:base as type can support a property of datatype CONTENT

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2505 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-28 17:11:17 +00:00
Derek Hulley
d044970ab6 Fix compilation issue in test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2494 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-27 09:46:18 +00:00
Derek Hulley
9e462e986f Fixed issue with RuntimeExecutable transformers not being able to register/initialize
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2493 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-24 20:19:49 +00:00
Derek Hulley
f737be201b Removed unecessary exception handling
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2476 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-23 10:46:50 +00:00
Derek Hulley
349183a535 Beefed up unit tests for content metadata extracters
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2469 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-22 13:16:56 +00:00
Derek Hulley
31d9ef768b Inverted configuration of Metadata Extracters
- Adding an extracter no longer requires modification to the MetadataExtracterRegistry
Fixed lack of stream closures

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2465 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-22 11:11:53 +00:00
Derek Hulley
e55b533ec9 Fixed test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2451 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-20 13:30:48 +00:00
Derek Hulley
58d6778173 Fixed AR-435: Added system bootstrap and shutdown hooks for native executables
- See the RuntimeExecBeansTest-context.xml for examples of how to put these together
 - Shutdown hooks are executed on ApplicationContext shutdown or VM shutdown, whichever is first
Moved native executable error code detection into RuntimeExec class
 - This affects any existing RuntimeExecContentTransformers (e.g. TidyTransformer)
Made OS search use regular expressions
 - Command search order is: Exact name, First matching REGEX, *
 - Note that * is a special case for 'default'.  The REGEX equivalent is .*

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2448 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-20 01:22:32 +00:00
Derek Hulley
ac19d98707 Warn if 'protectDays' property is 0. In-transaction writes can have content removed.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2447 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-19 21:38:59 +00:00
Derek Hulley
c7afc8286e Fixed closing of input stream
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2428 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-17 12:24:09 +00:00
Derek Hulley
440fa299b4 Content URLs are now generated with an extra HOUR folder to handle high volume input in one day better
Added cleanup job for content stores
 - content is moved into (alf_data)/contentstore.deleted and mirrors the live content store
 - We'll make a call about disabling the trigger for the job, but currently it will fire at 4am


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2422 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-16 20:01:57 +00:00
Derek Hulley
9474498ca1 Fixed AR-207: Added older than and younger than support to ContentStore#getUrls
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2402 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-16 00:18:57 +00:00
Derek Hulley
976fa1a09c Fixed TextMining (Word to Text) transformer that was not closing an input stream after use
Added checks to the Abstract transformer to log an error non-closures of streams.  This won't halt execution.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2384 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-15 13:51:25 +00:00
Derek Hulley
b4abc1b8a1 Fixed debug message
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2383 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-15 13:21:52 +00:00
Derek Hulley
2f5a87fa9e Added trace debugging categories to catch unclosed IO Channels and unclosed UserTransactions
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2382 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-15 13:05:25 +00:00
Derek Hulley
71ca136519 Fixed WebDAV missing content handling
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2374 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-14 15:11:10 +00:00
Derek Hulley
67e53b52e6 Added authentication to threads in test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2358 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-13 15:33:30 +00:00
Derek Hulley
1edc42fc63 Javadoc fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2345 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-10 19:53:56 +00:00
Derek Hulley
923f393732 Make it clear that transformer is disabled to start with
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2332 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-09 09:32:45 +00:00
Derek Hulley
87fdeb5cca Forgot to check in mimetype map
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2331 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-09 09:32:00 +00:00
Derek Hulley
92e6804e39 Added conversions to PDF (and therefore TXT) for .sxi
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2325 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-08 16:47:44 +00:00
Roy Wetherall
2af1438c2e - Added extension sample project to contain extenstion samples and used to test extension capabilities
- Added contentHits sample aspect that, when applied, counts the number of times a node of content is read and updated.
- Fix to web service sample
- Prevented onContentRead policy being fired when content is updated.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2287 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-02 16:37:36 +00:00
Roy Wetherall
a38de2aa2d - Added onContentRead policy to help support planned samples
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2284 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-02 12:23:43 +00:00
Roy Wetherall
2bdace676d - Added update and inboundAndUpdate as example rule types that can be commented in.
- Added parameter to content update policy to indicate whether it is new content being updated
- Added triigers to support update rule type

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2275 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-01 14:26:17 +00:00
Derek Hulley
9bac8270f4 AR-383: Optimized overwrite behaviour for ContentWriter. Content will only be duplicated for the writes if explicitly requesting a random-access file without the truncate option
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2254 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-31 05:40:51 +00:00
Derek Hulley
d252748bbe More fine-grained access to mimetype config XML. Added more mimetypes to OpenOffice handlers
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2225 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-27 14:34:45 +00:00
Derek Hulley
119ac044d4 Enabled *.ods, *.sdc and *.sxc conversion to PDF and therefore to TXT
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2223 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-26 18:27:52 +00:00
Derek Hulley
a4a4830b04 Reversed registration order of ContentTransfomers. Self-registration means that config extensions are much simpler
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2221 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-26 16:54:16 +00:00