Commit Graph

982 Commits

Author SHA1 Message Date
Derek Hulley
fe439b54c7 Added explicit checks for certain cascade delete scenarios
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3214 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-23 11:08:56 +00:00
Britt Park
ff4fe08d04 Added getRepository() and getRepositories() to AVMService, removed getRepositoryNames()
from same.  These new methods return a RepositoryDescriptor and a List of 
RepositoryDescriptors.  Note, Hibernate mapping has changed.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3207 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-22 21:19:07 +00:00
Kevin Roast
a5e82f5143 added UTF-8 default to email encoding
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3189 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-22 10:46:47 +00:00
Derek Hulley
48d66b5b7d git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3187 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 2006-06-22 10:00:25 +00:00
Britt Park
91e39c8fd6 Some minor cleanups. Added a few missing operations to console.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3182 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-22 00:49:10 +00:00
Britt Park
1318a5204b Changed copy on write to occur during lookup, rather than after lookup.
Much carnage, but it's way faster.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3172 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-21 13:07:42 +00:00
Derek Hulley
71f57ee6c7 V1.3 to HEAD (3005, 3014, 3021, 3027, 3045, 3064, 3105, 3106)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3162 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-20 11:13:29 +00:00
Derek Hulley
5431702cf3 Fix AR-680: Fixed my muppetry that reversed access denied/granted check for CIFS
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3160 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-20 10:44:31 +00:00
Britt Park
8cb3db78e3 Got rid of warning from ehcache. Wrote equals and hashCode for MergeLinkImpl
and HistoryLinkImpl (oops).  GetDirectoryListing now returns
Map<String, AVMNodeDescriptor>.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3156 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-20 00:56:36 +00:00
Britt Park
8614d80962 Purged some useless passing of SuperRepositories as parameters.
Yet another concurrency test.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3155 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-19 23:59:19 +00:00
Andrew Hind
d48bb08213 Fix AR-641
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3150 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-19 12:58:04 +00:00
Andrew Hind
15554ce96b Comment out for linux build
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3147 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-19 11:46:14 +00:00
Andrew Hind
1f13390e22 Additional test for round tripping - to debug linux failures
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3146 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-19 11:43:08 +00:00
Kevin Roast
257bc57ea6 Fix to expose inherit permissions flag for a node
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3145 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-19 10:55:31 +00:00
Britt Park
8800461d79 Changed the way we acquire pessimistic locks. Modestly faster.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3138 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-18 23:19:27 +00:00
Britt Park
d3f6048fbc Factored the ancestor-descendent and merged from-to relationships
out of AVMNode.  Easier to get hibernate to do what I want and appears
to be a little more efficient as it removes several FK constraints
from a frequently updated table.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3137 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-18 21:35:17 +00:00
Britt Park
606096011c Got rid of parent member of AVMNodes. Duplicated data unnecessarily.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3136 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-18 17:03:49 +00:00
Britt Park
c892c5a4b5 Added accessors for node history. Added those to console.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3135 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-18 15:32:45 +00:00
Britt Park
6fff182633 Added a semi intelligible toString to VersionDescriptor. Added an interactive
console program for debugging.  Made it so you can't snapshot a version if there's 
nothing to snapshot.  Fixed inactive to active transition in OrphanReaper.
Other odds and ends.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3132 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-18 01:19:39 +00:00
Britt Park
9c17cfa1e0 Purge tests cover more now. Moved purging queries into mapping file.
Added call to AVMService to get Versions
by creation date.  GetRepositoryVersions methods now return Lists of 
VersionDescriptors, value objects with the attributes of a version.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3131 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-17 18:48:44 +00:00
Britt Park
a215fb72b6 Repository and version purging are working. Also deleting a bunch of left over
junk I didn't get after the merge.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3130 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-17 02:37:52 +00:00
Britt Park
7f79a2a498 Merged up to HEAD.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3129 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-16 19:18:30 +00:00
Britt Park
936f6d7021 This checks in the current state of WCM development.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3128 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-16 16:59:15 +00:00
Derek Hulley
affce5b315 Fix AR-191, AR-192: CIFS and other network protocols will now treat everything as read-only when the server is in read-only mode
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3124 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-16 11:01:51 +00:00
Derek Hulley
dab54834b8 Fixed unreported bug when doing Lucene search across all attributes on types that contain numeric properties
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3123 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-16 10:46:04 +00:00
David Caruana
43a69ac371 Fix AR-649.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3121 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-15 17:58:03 +00:00
Derek Hulley
97425c7177 Expose database unique node ID as a spoofed property. This can be used as an alternative to the UUID for local uniqueness.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3116 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-15 14:49:22 +00:00
Derek Hulley
1eb9d806b4 Expose database unique node ID as a spoofed property. This can be used as an alternative to the UUID for local uniqueness.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3115 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-15 14:39:15 +00:00
Derek Hulley
46e178a215 Fixed AR-607: Maximum number of files per folder in ContentStore
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3110 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-15 10:44:10 +00:00
Derek Hulley
d20935dc16 Javadoc cleanup
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3109 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-15 10:42:21 +00:00
Derek Hulley
c72472011c Fixed AR-664, AWC-743: Errors in permissions declarations for FileFolderService
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3103 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-14 15:41:59 +00:00
Derek Hulley
df94f342d8 Added getArchivedNode(NodeRef originalNodeRef) method for quick retrieval of archived node reference
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3102 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-14 15:40:27 +00:00
Derek Hulley
9040b30af5 Split out some inner job detail beans to make overriding of the cron times simpler
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3095 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-14 09:32:49 +00:00
Kevin Roast
ba7f48869b Permissions now exposed in FreeMarker template model
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3094 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-14 09:27:17 +00:00
Derek Hulley
40c225d3c7 Fixed AR-35, AR-213: ContentStore replication driven by quartz
Fixed up sample and WIKI


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3093 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-14 08:49:01 +00:00
Andrew Hind
dd527a2dcf LDAP bug fixes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3092 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-13 15:58:13 +00:00
Andrew Hind
4d3c3e6659 Build fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3091 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-13 15:53:38 +00:00
Derek Hulley
5dafe300b4 SQL Server sample connection properties
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3090 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-13 15:03:38 +00:00
Andrew Hind
9a91ea7912 New indexer implementation.
It is usable with caution.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3088 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-13 10:39:16 +00:00
Roy Wetherall
1639134ef7 Async rules are now queued untill the end of the transaction
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3086 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-13 09:08:10 +00:00
Derek Hulley
469894719d Fix AR-279: Enforce permissions at FileFolderService entry
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3083 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-12 21:50:03 +00:00
Kevin Roast
530eb70aaf fix for AR-654 - saving multi value properties on JavaScript node object
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3078 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-12 14:26:18 +00:00
David Caruana
acab729d1a Fix AR-540.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3075 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-09 17:19:08 +00:00
Derek Hulley
c01c49fbe3 Fixes to test to not use illegal characters
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3074 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-09 17:03:09 +00:00
Andrew Hind
94b52b6e0e Index update check point
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3070 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-09 13:32:54 +00:00
Derek Hulley
d1e340143c Fix AR-647: System not working on Oracle due to read or including serializable column
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3067 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-08 17:32:08 +00:00
Derek Hulley
ea441e8f27 Fix AR-499: Indexing of content pushed to the background for slow (>50ms) transformations.
- Made delay configurable


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3062 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-08 13:26:23 +00:00
Derek Hulley
6fad540064 Fix AR-499: Indexing of content pushed to the background for slow (>50ms) transformations.
- We can make this configurable if required
 - This mostly means that text formats will be indexed atomically while slower transformations will be pushed back


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3061 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-08 13:12:31 +00:00
Derek Hulley
14d4b785b9 Import
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3060 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-08 13:09:55 +00:00
Derek Hulley
0797e2055c Removed test that has moved to the integrity check tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3037 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-06 09:09:59 +00:00