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
Britt Park
7440ae18a6
Added a sanity performance test.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2941 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-23 00:05:50 +00:00
Britt Park
bd0752eb4a
Fairly complete test coverage of basic sanity type operations: createFile, createDirectory,
...
createBranch, createLayeredDirectory, createLayeredFile, rename, delete, read, write, snapshot,
listDirectory. Rename, createLayeredDirectory, createBranch all tested across repositories also.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2940 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-22 19:03:46 +00:00
Britt Park
11037b2451
Morning merge.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2937 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-22 17:20:58 +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
Britt Park
df28c98983
Retyped a counter so had to muck with many beans. Forced creation of layered directories
...
to work.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2930 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-21 21:59:41 +00:00
Britt Park
dd585adedf
Shored up the tests a bit. Made BasicAttributes into a component instead of a one-to-one
...
in the mapping file. Added missing equals and hashCode to Issuer.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2929 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-20 22:30:35 +00:00
Britt Park
6c1801b9ff
Figured out the hibernate problem. Foolishness on my part. ContentBeanImpl was missing a
...
default constructor. Minor mods to the mapping file to fix my self made difficulty. AVMNodeFactory
now does the right thing with hibernate proxies. Test now extends to creating a file in
a directory in a repository.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2928 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-20 18:02:02 +00:00
Britt Park
2ee957f5e2
Point checkin. Hibernate is currently beating me up by not doing
...
what I expect when trying to determine the concrete type of a polymorphic
type. Some major surgery seems to be in order.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2927 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-20 15:34:17 +00:00
Britt Park
72751fdedb
First round trip. A unit test instantiates an AVMService and creates a new empty
...
repository.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2926 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-19 21:59:37 +00:00
Britt Park
f4980f8ddd
Morning merge.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2925 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-19 17:37:14 +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
Britt Park
9d6b8bdf26
Another merge. I was bored.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2923 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-19 00:38:14 +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
Britt Park
1b4c08d1d4
More cleanup, fixing, and general futzing. A checkpoint.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2920 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-18 18:18:46 +00:00
Britt Park
80215dd3a0
Morning merge.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2919 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-18 14:26:58 +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
Kevin Roast
2d8d764421
EhCache size tweaking
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2917 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-18 13:41:16 +00:00
Britt Park
eb073b24f1
Another file that didn't merge in.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2916 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-17 22:47:52 +00:00
Britt Park
bfd0d2a337
Afternoon merge.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2915 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-17 22:42:03 +00:00
Derek Hulley
b4bdf26568
Fixed sample override of Hibernate dialect
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2914 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-17 21:40:53 +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
272aad23f6
Added schedulerFactory bean property and documentation on cache profiler
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2909 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-17 15:20:07 +00:00
Derek Hulley
15f9f1eaee
Made InnoDB the default dialect
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2908 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-17 15:06:34 +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
Britt Park
8818e8daba
Merged all the AVM mapping files into one medium file. I find it easier to follow.
...
Purged the pointless FileContentFactory class. If everything else were working file reading
and writing would now work. Various other cleanups and some richer internal documentation.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2904 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-16 22:55:37 +00:00
Derek Hulley
df8bb065e9
Fixed problem with V1.2.1 having been given version=12
...
- Some new V1.3 patches (between 6 and 13) did not execute on an upgrade of a clean V1.2.1 install
- Tested with Steve
- Affected were
- patch.emailTemplatesFolder
- patch.emailTemplatesContent
- patch.forumsIcons
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2902 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-16 17:07:58 +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
a0a7f6f609
Documenting sample
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2899 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-16 14:11:49 +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
24705ac012
Made schema creation the default again
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2897 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-16 09:13:42 +00:00
Derek Hulley
c4fd8ef2f4
Added additional pointer in README files to WIKI page for new installations
...
- http://wiki.alfresco.com/wiki/Repository_Configuration#New_Installations
- Fixed up minor 1.2.1 reference
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2896 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-16 00:21:55 +00:00
Derek Hulley
c82ad99529
Change Hibernate to verify schema updates only
...
Added example of override to have Hibernate generate a schema
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2895 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-15 22:52:31 +00:00
Britt Park
f9ac70712b
One file that didn't merge right.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2893 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-15 18:31:49 +00:00
Britt Park
50cb3f3b22
Late morning merge.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2892 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-15 18:25:41 +00:00
Britt Park
0241371dd6
This brings the AVM implementation to the 'it compiles so it should work"
...
state. It's hooked up to nothing right now. First will be a basic test harness
for it, then...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2891 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-15 17:51:37 +00:00
Britt Park
1d601e1be7
Morning merge.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2889 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-14 16:21:55 +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
Derek Hulley
881f966ee8
Sample mimetype extensions
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2885 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-12 22:01:27 +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
Britt Park
f19fa92b31
Another checkpoint, mostly to stay caught up with merges.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2883 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-12 20:32:15 +00:00
Britt Park
4b881e72ad
Daily merge.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2882 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-12 20:22:46 +00:00
Will Abson
adfd5bcc0d
Added new mimetype text/calendar for iCal files - enables publishing of iCal files via WebDAV from clients supporting this
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2881 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-12 17:42:30 +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