196 Commits

Author SHA1 Message Date
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
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
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
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
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
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
58bec08e99 Fixed AR-434: Ensure that persisted empty string properties are never returned as null
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2446 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-19 21:21:57 +00:00
Derek Hulley
b3c0377af7 Fixed fallout from Hibernate upgrade.
- VersionCounter DAO was using unsupported getHibernateTemplate.save() method


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2442 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-18 11:40:14 +00:00
Derek Hulley
42a2cd165a Beefed up javadocs around automatic person creation
Added specialized PersonException for when the user could not be automatically created


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2439 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-18 10:54:09 +00:00
David Caruana
af303ec519 Fix AR-436 - Error configuring the system to use NTLM
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2436 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-17 18:08:55 +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
Andrew Hind
2d1258dd7c only check and clear write locks (not commit locks)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2424 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-17 11:12:36 +00:00
David Caruana
f63e898993 Fix build issue - ImporterComponentTest failure.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2423 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-17 10:10:38 +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
e5b9b0ccd3 Added read-only option to non-propagating user transactions as well as TransactionUtil methods
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2420 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-16 19:35:22 +00:00
Derek Hulley
4ad1b74f9d Better output ant catching of transient caches
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2416 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-16 16:09:47 +00:00
David Caruana
6cb16abef4 Fix AR-431, AR-432.
Modified the Repository bootstrap mechanism so it's performed after all other initialisation and the order of bootstrap is explicit.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2414 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-16 15:11:53 +00:00
Derek Hulley
ab9b2bc196 9 granting permissions instead of 8
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2404 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-16 02:05:41 +00:00
Derek Hulley
35fba08088 Possible test fix. The list of settable permissions of [Contributor, Coordinator, Guest, Editor, Collaborator] looked right for 'content' and 'folder'
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2403 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-16 00:53:18 +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
d57dda657d Removed unused code
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2401 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-16 00:16:23 +00:00
Derek Hulley
09239707aa Minor
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2399 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-15 22:20:48 +00:00
Roy Wetherall
beb3bfca4d - Fixes to unit tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2397 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-15 22:00:13 +00:00
Roy Wetherall
ab62a48f1f - Build fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2396 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-15 21:46:19 +00:00
Derek Hulley
f21edfd266 Build fix. RuleServiceImpl was using big NodeService instead of runtimeNodeService to check types
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2394 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-15 17:45:25 +00:00