Derek Hulley
5637b7830a
Made persistent classes Serializable
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2965 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-24 07:48:02 +00:00
Derek Hulley
8c870f8c34
Fixed AR-598: Restore not working for non-admin user
...
Fixed AR-579: Node ownership not changing for archived and restored nodes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2964 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-24 07:13:56 +00:00
Derek Hulley
47949f8155
Added a toString() method
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2961 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-23 21:49:04 +00:00
Derek Hulley
d4c0284fbc
Debug output fixes
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2960 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-23 21:48:23 +00:00
Andrew Hind
aa5ffaed77
Add method to check if authorities already exist
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2957 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-23 14:44:05 +00:00
Derek Hulley
28a03bfd3d
Only count 1000 entities
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2955 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-23 14:00:09 +00:00
Derek Hulley
5b6bff9d97
Only count 1000 entities
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2953 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-23 13:49:47 +00:00
Derek Hulley
b73d395d96
Fixed handling of Infinity
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2949 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-23 11:20:04 +00:00
Gary Spencer
958c02d730
Fix for AR-565. Checked out files can be edited and saved via CIFS without any warnings being given that the save failed.
...
Locked files are now marked as read-only, and may also be marked as offline if the <offlineFiles/> config is enabled.
An attempt to open a locked file for write returns an access denied status to the CIFS client.
There is also a minor fix to the file state caching of folders that are not opened/referenced by the client directly, this
caused them to be expire from the cache causing path lookups to require a database hit. The expiry time is now bumped when a
folders cached file state is used to find the NodeRef for a path.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2948 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-23 11:02:34 +00:00
Roy Wetherall
f661cafaa3
- Fixed bug when moving a locked node in the UI
...
- Added 'run action' to menu for linked content and folders
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2947 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-23 10:42:09 +00:00
Gary Spencer
3be88fc053
Fix for AR-553. File server fails to start in Turkish environment.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2944 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-23 09:05:34 +00:00
Gary Spencer
bac632076b
Fix for AR-501. Added shutdown flag to the file state expiry daemon thread with shutdown request called during
...
the closing of the filesystem context.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2943 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-23 08:53:12 +00:00
Gary Spencer
8b5937bfd8
Fix for AR-581 ArrayIndexOutOfBoundsException in Win32NetBIOSLanaMonitor.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2942 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-23 08:05:11 +00:00
Kevin Roast
2f873a1e14
. Improvements to portlet session handling in Login/Logout situations
...
- Storing of "inPortal" flag in a Threadlocal
- No longer invalidate portlet session on logout - clear session by hand instead
- Makes it easier to integrate with other JSR-168 vendors such as Liferay
. Added the current template NodeRef to the default templating model
- Accessable as an object in the root of the templating model called "template"
. Added the current script NodeRef to the default scripting model
- Accessable as a root scope object called "script"
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2934 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-22 13:25:58 +00:00
Derek Hulley
ca727e389c
More performance tester extensions
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2924 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-19 13:35:13 +00:00
Kevin Roast
5dfb8b117f
Enhancement to ScriptFolderPatch to load the example scripts into the Scripts folder once created
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2921 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-18 18:56:01 +00:00
Derek Hulley
dcd3c78955
Further extensions to FileFolderService loader
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2918 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-18 13:53:24 +00:00
Derek Hulley
da188b04c6
Moved key column from access_control_list onto node
...
This eliminates several select statements issued while walking up the parent hierarchy
The V1.2.1 - V1.3 script has been updated and tested, but if you want to keep an existing 1.3, then:
SET FOREIGN_KEY_CHECKS = 0;
ALTER TABLE node ADD `acl_id` bigint(20) default NULL;
UPDATE node node SET node.acl_id = (SELECT acl.id FROM access_control_list acl WHERE acl.node_id = node.id);
SET FOREIGN_KEY_CHECKS = 1;
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2911 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-17 15:36:20 +00:00
Derek Hulley
516fc15cf4
Moved key column from access_control_list onto node
...
This eliminates several select statements issued while walking up the parent hierarchy
The V1.2.1 - V1.3 script has been updated and tested, but if you want to keep an existing 1.3, then:
SET FOREIGN_KEY_CHECKS = 0;
ALTER TABLE node ADD `acl_id` bigint(20) default NULL;
UPDATE node node SET node.acl_id = (SELECT acl.id FROM access_control_list acl WHERE acl.node_id = node.id);
SET FOREIGN_KEY_CHECKS = 1;
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2910 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-17 15:24:31 +00:00
Derek Hulley
3f86c7751e
Helper for profiling the FileFolderService, which acts as the entry point for several clients to the repo
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2907 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-17 14:56:20 +00:00
Derek Hulley
ebe8390d69
Summary of estimated VM percentage that will be used
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2906 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-17 12:23:27 +00:00
Kevin Roast
c1f6eb64cb
URL argument support for the Template and Script servlets
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2905 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-17 10:02:07 +00:00
Derek Hulley
5bc354d8b6
Removed unnecessary code that has no effect now
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2900 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-16 14:12:15 +00:00
Derek Hulley
8a52df4b7e
Fixed transaction boundaries for parent directory creation
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2898 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-16 11:05:44 +00:00
Derek Hulley
d8878a46ed
Fixed AssociationRef.equals method that was causing association matching to fail
...
Fixed node tests that were hiding a NullPointerException when node associations weren't found
Fixed NodeAssoc AssociationRef caching for cases where the source or target nodes move stores
Removed storage of Path property for archived nodes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2886 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-12 22:04:49 +00:00
David Caruana
bb4575435a
Full Repository Export / Import
...
- support export of system information such as applied patches and version counters
- support for deleted archive store
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2884 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-12 21:30:24 +00:00
Derek Hulley
3473e1a1a0
Fixed complete muppetry
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2879 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-12 16:42:47 +00:00
Derek Hulley
55393337ef
Tweaks to some methods that were heavily used.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2877 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-12 14:35:59 +00:00
Derek Hulley
f52cffbd77
Removed natural-key declaration from node_assoc table
...
- This was a nice idea, but mandates that we flush the deleted associations before recreating them (ala version service restore).
- For now, we can leave this off
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2875 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-12 14:09:05 +00:00
Gavin Cornwell
951ad22e72
Removed list based access from the config service
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2874 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-12 13:55:06 +00:00
Derek Hulley
76535b9afb
FileImporterTest now has the option to load each file/folder in a new transaction
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2873 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-12 13:17:23 +00:00
Derek Hulley
14395f7d23
Added toString() method
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2863 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-12 10:05:10 +00:00
Derek Hulley
e1143e64be
Fixed removal of original path property
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2861 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-12 09:34:42 +00:00
Derek Hulley
cda459a84f
Fixed test to flush session, avoiding unique constraint violation
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2858 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-11 19:13:02 +00:00
Derek Hulley
d61df5f408
Dropped nullPermissionCache
...
- A node's AccessControlList is attached to the node directly now
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2849 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-11 15:52:24 +00:00
Derek Hulley
5140d956b4
Fixed AR-571:
...
- Moved to use Set-based associations for child and node associations
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2848 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-11 15:24:43 +00:00
Derek Hulley
77fbc14e9a
Removed some arbitrary output
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2846 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-11 15:14:58 +00:00
Derek Hulley
dc6044f6dc
Fixed policy calls when moving nodes between stores
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2845 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-11 15:13:06 +00:00
Derek Hulley
9a69bf2e6a
Imports
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2844 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-11 15:12:01 +00:00
Derek Hulley
81a0f0dc2f
Attempt to reinstate some of the invalid character tests
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2839 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-11 11:19:16 +00:00
Roy Wetherall
c05de860b6
- Added the notion of actions only being applicable for certain node types
...
- 'Run Action' is now available on folder details page
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2837 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-11 10:38:42 +00:00
Derek Hulley
011df54dc1
Added catch for AccessDeniedException
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2836 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-11 09:35:36 +00:00
Kevin Roast
9ef32ac935
Derek's fix to return FAILURE_INVALID_PARENT when restoring a node
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2835 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-11 09:10:54 +00:00
Derek Hulley
30903c5734
Relaxed requirement that nodes must exist when permissions are retrieved
...
- A non-existent node reference gets permission checked on its way to the version NodeService
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2832 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-11 01:28:26 +00:00
Derek Hulley
d5bd90b96b
Added test to check that restore status was picking up missing destination node
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2831 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-10 21:53:36 +00:00
Gavin Cornwell
f5716bbe9e
Temporary build fix
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2824 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-10 18:21:45 +00:00
David Caruana
449e5a2152
Addition of new sample projects.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2818 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-10 18:01:58 +00:00
Derek Hulley
f559ae62ce
Fixed permissions data access
...
Some tweaks to select and joins
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2816 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-10 17:03:29 +00:00
Derek Hulley
14b4890e6c
Removed restriction on cross-store operations
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2814 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-10 16:17:00 +00:00
Gavin Cornwell
97a1987c33
- Re-enabled regular expression validation in JavaScript
...
- Changed regular expression definition for the name property in content model
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2809 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-10 13:49:29 +00:00