416 Commits

Author SHA1 Message Date
Andrew Hind
41178c88d1 Output string in test for linux debug
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2710 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-26 13:29:07 +00:00
Andrew Hind
62286fed22 Another attemp at encoding
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2707 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-26 09:16:00 +00:00
Gavin Cornwell
4aacad6f52 - Changed discussion icon from forum_large to forum
- Disabled regex validation

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2706 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-26 08:35:30 +00:00
Andrew Hind
90cd929b83 Linux build warnings and encoding fixes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2702 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-25 12:40:02 +00:00
Andrew Hind
d467d1a208 IOC for scheduling
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2696 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-24 16:22:49 +00:00
Kevin Roast
921fae254f . Fix for AWC-635 (TemplateContentServlet not working with TICKET url argument)
. Fix to image resolver for TemplateContentServlet
. Minor improvement to CommandServlet interfaces as per wiki docs
. Minor fix to date field format in RSS2.0 template (thanks Mike!)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2685 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-21 16:58:47 +00:00
Andrew Hind
09e6edf88e Remove scheduled action xml
Fix AR-123 lucene PATH serach for "/" and "/." now work

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2675 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-20 15:08:09 +00:00
Andrew Hind
f50655a691 rename to sample
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2674 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-20 14:05:55 +00:00
Andrew Hind
05525aff09 Scheduled Actions
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2673 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-20 13:57:06 +00:00
Derek Hulley
b2998a79fd Removed unused members from Patch
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2672 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-20 10:38:47 +00:00
Derek Hulley
40a7f6edc7 Fixed missing setters for some patches
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2670 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-20 10:18:03 +00:00
David Caruana
701a2de75a 1) Merge issue - import/export spring config duplicated - fix build issue.
2) Addition of debug logging for trial eligibility

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2665 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-19 12:06:29 +00:00
Derek Hulley
6ddab4043e Changed to java.util.concurrent package for concurrency test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2663 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-18 19:31:06 +00:00
Andrew Hind
e8d8361e8d Policy eclipse build fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2661 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-18 10:27:25 +00:00
Derek Hulley
912b8dead9 Added LIST constraint
- An optionally case-insensitive list of supported values
 - Supports any types that can be converted to String by our type-converter.
Simple parameter values for constraints must not be in a <value> element, just like Spring properties (sorry)
Constraint parameters of type java.util.List are now supported:
   <list>
      <value>
      <value>
   </list>


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2660 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-15 20:30:14 +00:00
David Caruana
9bd553336b Fix case where audit information needs to be applied to locked node.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2657 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-13 17:52:53 +00:00
Andrew Hind
4769aa8a64 Added authentication util support e.g. runAs ....
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2655 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-13 13:16:51 +00:00
Derek Hulley
89072b8dbd Fixed failing test
- Abstract base class required injection of more generally-used services
Fixed 'property not set' error message to display the correct property name


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2654 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-13 03:00:01 +00:00
David Caruana
b91897f77a Transaction-level Policies. Modify AuditableAspect and ContentHits example to make use of transaction policies so they only trigger once.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2652 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-12 16:40:36 +00:00
David Caruana
0330f2cdb7 Transaction-level Policies. Modify AuditableAspect and ContentHits example to make use of transaction policies so they only trigger once.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2651 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-12 16:15:20 +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
Derek Hulley
c3adde8ac4 Split sessionFactory bean so that most properties are on an abstract parent bean
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2649 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-12 11:16:03 +00:00
Derek Hulley
f870a17a66 Fixed AR-546:
VersionCounterDao is enclosed in non-propagating transactions (via config)
   version_counter row is locked while version number is incremented
   Added tests to ensure failure before fixing


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2646 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-11 10:54:09 +00:00
Derek Hulley
d9a5b76e63 Fixed AR-525:
basePatch bean has the following beans injected and held as protected fields
        transactionService
        namespaceService
        searchService
        nodeService
        authenticationComponent


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2645 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-11 10:49:43 +00:00
Derek Hulley
ea3f625fd4 Better error message
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2644 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-11 10:47:44 +00:00
Derek Hulley
c544223cd5 Fixed AR-525:
basePatch bean has the following beans injected and held as protected fields
        transactionService
        namespaceService
        searchService
        nodeService
        authenticationComponent


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2643 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-11 10:34:06 +00:00
Andrew Hind
6812223a4e Fix index bug where deletes at the end if the current TX are not seen
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2633 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-07 09:31:42 +00:00
Derek Hulley
424bd89fbc Fixed spelling
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2631 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-06 11:18:08 +00:00
Andrew Hind
58969ac705 Chaining authentication
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2630 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-06 09:40:56 +00:00
David Caruana
9ccc49da31 Fix NPE after last re-factor.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2629 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-06 09:29:12 +00:00
Gary Spencer
00c36aab57 If Winsock based NetBIOS code is selected on 64bit Windows then switch it back to the older
Netbios() API code and output a warning.
Remove unused import in X64.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2628 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-06 09:00:12 +00:00
Gary Spencer
fe6fec12bc Added code to detect if running on 64bit Windows to the Win32NetBIOS static initializer method and load the appropriate DLL.
Added the X64 utility class, currently just has a method for detecting 64bit Windows.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2627 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-06 08:50:45 +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
Derek Hulley
9b22810956 Added sample configuration files for database and data location settings
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2623 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-05 12:00:10 +00:00
Derek Hulley
303d518cbe Further constraints
- MINMAX (NumericRangeConstraint)
 - LENGTH (StringLengthConstraint)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2622 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-05 09:42:00 +00:00
Andrew Hind
4dcd14a59a Test Fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2614 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-04 11:19:50 +00:00
David Caruana
b7fe22c3a9 Full Repository Export / Import Support - first checkpoint
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2597 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-31 13:33:18 +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
Kevin Roast
69039bc6c9 . Workflow Command Servlet implementation
. Refactored common simple workflow code into a util class.
. Example template that demonstrates both querying for workflow information on a document (useful anyway) and executes the servlet to perform both the Approve and Reject actions if appropriate for the document.
. TemplateNode template API object now exposes the browse navigation servlet URL for a Space as the "url" API call
. Fix long standing bug in UIRichList (since PR1!) - subtle behaviour issue where under very high server loads, the richlist component would render the wrong number of items per row.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2590 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-30 14:09:08 +00:00
Kevin Roast
d8b54de711 . Dashboard views (templates) can now be applied to Documents through the Document Details View
- refactored DocumentDetailsBean and SpaceDetailsBean common code into BaseDetailsBase
. Fixed a couple of minor errors in example templates
. Preview in Template actions now launched as dialog actions

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2586 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-29 10:50:07 +00:00
Kevin Roast
f47d8b06ac . "Paste As Link" and link object support in the web-client:
. Filetype icons for PSD (Photoshop) file-format
. Import, Export and Manage Space Users actions added to Forums details page
. Manage Space Users action added to Forum and Topic details pages
. Removed some obsolete JSF navigation outcomes from dialogs/faces-config
. Approx 10% performance improvement when showing large search results pages

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2582 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-27 15:46:20 +00:00
Andrew Hind
57e7a4f77e Added support for result set meta data
Added size limits for result sets
Updated/improved comments

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2573 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-23 15:14:22 +00:00
Derek Hulley
75ce410028 Fixed merge error
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2572 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-22 18:19:35 +00:00
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
Kevin Roast
764675cb2a return repository.properties to default values, oops
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2554 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-17 18:23:12 +00:00
Kevin Roast
05c11d5650 . First cut of the Externalised UI Actions
- XML Config for UI actions: web-client-config-actions.xml
   - commented examples are included in the config, I will write up a Wiki page to document it properly :)
 - Named groups of actions can also be reused across screens (where as previously individual ActionLink components had to be coded up for each screen by hand in the JSP)
 - Individual Actions can be reused across action groups or defined against a specific action group
 - UI actions for Browse (Create, More, Document and Space actions), Document and Space details pages now externalised into config
 - Refactoring of other JSPs to use externalised config - big reduction in hand coded JSF tags and code duplication between pages
. Document Details and Space Details pages now have Actions panel on the right hand side instead of an Actions drop-down menu
. Several unreported minor bugs fixed where actions conditions or listeners were inconsistent between browse and details pages

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2553 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-17 18:07:47 +00:00