257 Commits

Author SHA1 Message Date
Derek Hulley
d4d33c1e34 Merge V1.2.0 BRANCH to HEAD
svn merge -r 2566:2569 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@2570 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-22 16:21:14 +00:00
Derek Hulley
506e408ca7 Merge V1.2.0 BRANCH to HEAD
svn merge -r 2519:2565 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@2566 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-22 12:23:43 +00:00
Derek Hulley
9fe16d5ae3 Fix issues raised by tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2565 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-22 12:04:59 +00:00
Derek Hulley
706c1e331d Added check for nodes deleted during the transaction
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2563 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-22 10:03:19 +00:00
Derek Hulley
fd13fe7a51 Added sys:incomplete aspect.
Extended <mandatory> definition in the DD.
The "mandatory" properties in our system have, until now, been optional, i.e. the integrity has not been enforced.
It is possible to have
   <mandatory enforced="true">true</mandatory>, which means "mandatory and enforced", but
   <mandatory enforced="false">true</mandatory>, which means "mandatory but not enforced".
Our system properties have been marked as "mandatory".
Dublin core has had the properties marked as "required".  Currently, if the Dublin Core is added, the node is tagged with sys:incomplete.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2562 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-21 21:46:15 +00:00
Derek Hulley
f8fe7c80cf Build fix. Name attribute can never be null
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2550 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-16 09:22:38 +00:00
Derek Hulley
177e90545f AR-166: Property constraints included in integrity checks
AR-194: Regular expression constraint applied to cm:name property to flag illegal characters
Other minor fixes
 - Dictionary bootstrap bean depends on I18N bean being constructed
 - RegexConstraint check can be inverted
 - Some I18N message fixes


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2549 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-15 17:49:09 +00:00
Derek Hulley
af18443867 Removed unnecessary test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2548 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-15 17:38:24 +00:00
Derek Hulley
783de4f80a Property constraint dictionary support
Constraint implementation support
Regular expression constraint


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2547 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-14 22:57:50 +00:00
Roy Wetherall
731733d59f - Auditable aspect now modifies properties in batch using setProperties
- Inbound rule type now only fires on content creation (not on content update)
- Update rule type added, but commented out sue to issues with over enthusiastic policies.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2541 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-13 14:42:00 +00:00
Kevin Roast
1858509d3a . Patch to load email templates content into older schema (first patch to perform an import)
. Updated schema version to 10

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2540 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-10 15:51:17 +00:00
Roy Wetherall
cb432f65a9 - Added remove features action to repository and web client UI
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2539 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-10 14:30:57 +00:00
Kevin Roast
59d83325d4 . Invite Users screens for Manage Content Users and Manage Space Users now support email templates
. Added additional template model objects to the model supported by the MailActionExecutor
. Refactored various beans in the web-client that build lists of templates, to use a new Template support bean
. Added new email template files (one for Invite Users, the other for Email Actions)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2537 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-09 17:14:21 +00:00
Derek Hulley
542b61e681 Test fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2530 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-09 14:04:44 +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
Kevin Roast
e49879f557 . Multiple email recipient support in Create/Edit Rule and Run Action screens.
. Group emailing support added to MailActionExecutor (i.e. selecting Group(s) is supported in the screens as above)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2527 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-09 13:47:48 +00:00
Derek Hulley
ac2e167b60 Removed warnings for 'unused' variables
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2526 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-09 13:29:50 +00:00
Derek Hulley
ebecabfb3a Minor test change
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2525 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-09 11:42:16 +00:00
Derek Hulley
52110e3e66 Fixed up property type restrictions for types d:any
- You can now pass single or multiple values into a property of type d:any

  Type   | Multiple | Allow Single | Allow Multiple
  d:text     N             Y              N
  d:text     Y             Y              Y
  d:any      N             Y              Y
  d:any      Y             Y              Y
  anon                     Y              Y


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2524 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-09 11:39:29 +00:00
Kevin Roast
f50b920503 . Email template support added to Run Action, Create New Rule email action pages
. MailActionExecuter now uses the TemplateService to process the template selected in the UI

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2522 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-07 18:50:27 +00:00
Derek Hulley
2cf407613a EHCache upgrade.
- some minor API changes
 - Spring and Hibernate share same CacheManagerFactory now.  This allows overridable config
 - Moved EHCache config files down into config/alfresco

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2521 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-07 15:34:17 +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
Kevin Roast
d8b2e56aa3 . Addition of Email Templates folder (in Data Dictionary) to Bootstrap spaces.xml
. New patch to apply Email Templates folder to older schemas

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2515 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-03 17:39:32 +00:00
Gavin Cornwell
e667abaac6 Changed forums icons to use browse bean's small icon resolver and required patch
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2513 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-02 22:33:32 +00:00
Derek Hulley
af536825b8 Split some lines of code up to enable debugging
Added toString() to facilitate reading of error logs


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2512 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-01 21:38:33 +00:00
Derek Hulley
9a28cd8c74 Patch failure dumps full trace before truncating it to fit into the database
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2511 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-01 21:36:13 +00:00
David Caruana
42add2655c Fix tests after moving some permissions.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2508 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-01 12:31:58 +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
David Caruana
2c88c5f17a Fix AR-453 Repository bootstrap fails when performed under Thai regional settings
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2502 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-28 11:14:16 +00:00
Derek Hulley
44b56a20a5 Fixed NullPointerException occuring under Linux when CIFS not configured
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2496 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-27 13:43:39 +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
68b06886ce Build fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2489 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-23 19:24:35 +00:00
Derek Hulley
d7a8ab1065 Fixed AR-451: Display both current version of repo and installed version of repo
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2485 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-23 16:40:53 +00:00
David Caruana
60834eafb7 Fix AWC-560 Manage Space Users fails with "a system error happened during the operation: null"
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2482 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-23 15:15:27 +00:00
Gary Spencer
af933ac8bc Cleanup active transactions for the CIFS session if it is abnormally terminated and there are open files. AR-452.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2480 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-23 14:03:52 +00:00
Gary Spencer
6fac2e9b25 Added checks to the file server configuration bean initialization to check that the configured
authenticator matches the authentication component NTLM mode.
Updated authenticator base class required for passthru changes.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2479 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-23 13:59:50 +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
Kevin Roast
5459a8bb36 . First pass of a new style for the header area in the web-client UI
- Reclaims a large ammount of unused vertical space at the top of the application

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2474 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-23 10:13:05 +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
David Caruana
47ecffb07e Fix build issue - missed Guest to Consumer rename.
Tidy up ContextListener - removed all unused imports etc.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2464 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-22 10:05:06 +00:00
David Caruana
4e46906b91 - Fix AR-442 Error performing background import of several .acp files - ConcurrentModificationException
- Support Import of ACP files that have Guest permission reference (re-map to Consumer)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2460 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-21 19:29:42 +00:00
David Caruana
09652cc5f0 Revert mistaken changes.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2457 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-21 16:56:17 +00:00
David Caruana
cab7aa3b4e AW-542 Guest user can not see any Categories
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2456 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-21 16:12:12 +00:00
Gary Spencer
295d1cd0b6 Fix processing of SIZE command, not passing the session object to the getFileInformation() call (AR-443).
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2455 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-21 13:33:45 +00:00
Derek Hulley
4ccff8230e Detection of missing patch description (potential cause of AR-440)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2453 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-20 16:40: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