Kevin Roast
8977aaa12e
Document Info example template now displays the target associations for a document.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5503 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-17 14:42:16 +00:00
Kevin Roast
29f74ce148
Added missing i18n strings for autoVersion and initialVersion content model properties (also removed unused ones in version-service.properties)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5502 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-17 14:32:18 +00:00
Derek Hulley
d6e56b62a4
Merged V2.0 to HEAD
...
5466, 5471-5475: ModuleManagementTool enhancements
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5487 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-12 02:52:48 +00:00
Derek Hulley
0570c77f46
Merged V2.0 to HEAD
...
5457: Merge error on copy web project action
5459: AR-1278
5461:
5462: A few deployment fixes
5469: Dictionary messages
5470: L2 cache checks
5478: WCM-374
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5485 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-12 02:02:42 +00:00
Derek Hulley
138d1780cb
Merged V2.0 to HEAD
...
5456: (From WCM_DEPLOY)
There were many pure conflicts on license headers, one conflict due to CR-LF and
some other smaller issues to resolve:
-----------------------------------------
Resolved (line endings not cr-lf):
root\projects\repository\config\alfresco\public-services-context.xml
Reverted:
root\projects\web-client\source\web\images\icons\ajax_anim.gif
Reverted or Resolved (License text conflicts):
svn revert root\projects\jndi-client\source\java\org\alfresco\jndi\JndiTest.java
svn resolved root\projects\jndi-client\source\java\org\alfresco\jndi\AVMFileDirContext.java
svn revert root\projects\jndi-client\source\java\org\alfresco\jndi\AVMBulkLoader.java
svn revert root\projects\jndi-client\source\java\org\alfresco\filter\CacheControlFilter.java
svn revert root\projects\jndi-client\source\java\org\alfresco\filter\CacheControlFilterInfoBean.java
svn revert -R root\projects\catalina-virtual\source\java\org\alfresco\mbeans
svn revert root\projects\catalina-virtual\source\java\org\alfresco\catalina\context\AVMStandardContext.java
svn revert root\projects\catalina-virtual\source\java\org\alfresco\catalina\loader\AVMWebappClassLoader.java
svn revert root\projects\catalina-virtual\source\java\org\alfresco\catalina\loader\AVMWebappLoader.java
svn revert root\projects\catalina-virtual\source\java\org\alfresco\catalina\host\AVMResourceBinding.java
svn resolved root\projects\catalina-virtual\source\java\org\alfresco\catalina\host\AVMHostConfig.java
- why the change in method naming convention?
svn resolved root\projects\catalina-virtual\source\java\org\alfresco\catalina\host\AVMHost.java
svn revert root\projects\catalina-virtual\source\java\org\alfresco\catalina\host\DefaultAVMResourceBinding.java
svn revert root\projects\catalina-virtual\source\java\org\alfresco\catalina\valve\AVMUrlValveTest.java
svn resolved root\projects\catalina-virtual\source\java\org\alfresco\catalina\valve\AVMUrlValve.java
svn revert root\projects\catalina-virtual\source\java\org\alfresco\catalina\host\AVMHostMatch.java
Modified:
root\projects\web-client\source\java\org\alfresco\web\ui\wcm\component\UIDeployWebsite.java (Kevin to check line 330)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5484 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-12 01:41:14 +00:00
Derek Hulley
ad80d96da3
Merged V2.0 to HEAD
...
5450: (from V1.4)
5423 (V1.4): CIFS authentication
5451: (from V1.4)
5432 (V1.4): 'No root node' fix
5437 (V1.4): EHCache upgrade
5440 (V1.4): AR-1355 - Ticket cache config fix
5442 (V1.4): Bootstrap reorganization
5446 (V1.4): AR-1353
5452: (from V1.4)
5391: AR-1310 (script rename fix)
5453: Win32NetBIOS LANA
5454: CIFS unused code
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5483 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-11 23:41:00 +00:00
Derek Hulley
4ea83f7f2b
Merged V2.0 to HEAD
...
5448: (From V1.4)
5281 (V1.4): Patches not executed in read-only mode
5284 (V1.4): Integrity messages
5308 (V1.4): Category selector performance
5331 (V1.4): Category performance
5402 (V1.4): AR-1315
5410 (V1.4):
5417 (V1.4): Upgrade script performance
5435 (V1.4): Lucene test text encoding
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5482 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-11 23:24:00 +00:00
Derek Hulley
d3e08db677
Merged V2.0 to HEAD
...
5447: (From V1.4 5278, 5279, 5280, 5285, 5298, 5299, 5304): Hibernate session size management for large transactions
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5481 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-11 23:03:02 +00:00
Derek Hulley
f43d8864cb
Merged V2.0 to HEAD
...
5425: AR-1309
5426: AR-1342
5427: AWC-1157
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5480 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-11 21:46:19 +00:00
Derek Hulley
529c4840e9
Merged V2.0 to HEAD
...
5297: PostgreSQL upgrade support
5347: (From 1.4) EHCache configuration fixes and sample
5380, 5381: AWC-1143
5398: AWC-966
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5479 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-11 19:05:40 +00:00
Kevin Roast
98f2e85cc0
New API for templates.
...
Provides access to AVM stores and nodes within those stores. The majority of the standard template Node API is available (such as properties, children, content, icons etc.) and some additional AVM specific methods.
Root level helper object 'avm' provides lookup for AVM store object and AVM nodes objects by path in the OO style expected by template writers. Once retrieved, the store object provides store meta-data and access to the root Template AVM node for the store (or lookup of individual nodes by path) which exposes the standard template Node API.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5460 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-04 16:26:16 +00:00
Kevin Roast
7f3c842c79
Script engine now supports an 'import' directive allowing scripts to include other scripts.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5405 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-03-20 14:47:10 +00:00
Kevin Roast
c1811ebfa6
JavaScript API for Groups modification
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5399 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-03-16 15:58:32 +00:00
Kevin Roast
6f60e2190d
Fixes for AWC-1160 and AWC-1161
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5389 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-03-15 11:34:20 +00:00
Gavin Cornwell
d087a2b31c
Initial version of a "copy to web project" action
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5387 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-03-15 10:49:26 +00:00
David Caruana
9269054759
1) Consolidate creation of template image resolver in Web Scripts
...
2) Add Help to stand-alone Web Scripts test server
3) Add server-side JavaScript Debugger
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5385 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-03-13 18:54:51 +00:00
Kevin Roast
5e1b1c1189
hasPermission() method added (as configured template API extension) to Template API
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5377 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-03-12 15:12:56 +00:00
Kevin Roast
200d170489
Added spring configured template extensions support to WebScript and image resolving support.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5374 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-03-09 18:26:02 +00:00
Kevin Roast
9323a8cd7a
Template extension spring configuration support
...
- similar pattern to existing script bean extension support
- new root model helper objects and custom methods can be added via spring configuration
Cleanup of script extension spring support
Fix to thread safety of configured script extension beans that use the Scopable interface
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5369 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-03-09 12:30:34 +00:00
David Caruana
2cdf48eaf6
Merge Web Scripts from BRANCHES/DEV/DAVE
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5362 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-03-08 19:02:48 +00:00
Derek Hulley
f17fd30824
Merge V2.0 to HEAD
...
5234: LicenseService shutdown
5256: AR-1273 workaround
5289: AWC-1142
5294: WCM-360
5296: Potential NPE in patches dao
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5333 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-03-07 15:14:46 +00:00
Derek Hulley
4a44e4d3a2
Merged V2.0 to HEAD
...
5135: AR-1240 (AuthenticationComponent bean naming)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5324 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-03-07 09:59:47 +00:00
Derek Hulley
20068f981b
Upgraded to Hibernate 3.2.1
...
The code changes were pulled from the fix branch and V1.4 (HIBERNATE_UPGRADE 5207 5293)
The jars were manually dropped in again due to the new directory structure
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5303 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-03-06 07:26:41 +00:00
Derek Hulley
a973ba549d
Bumped schema number from 38 to 50, leaving a generous margin for Enterprise patches to 2.0.x
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5277 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-03-04 03:58:21 +00:00
Gavin Cornwell
00cb31a85a
Changed version number to 2.1.0dev
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5236 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-28 14:33:53 +00:00
Derek Hulley
2e252ee520
Merged V2.0 to HEAD
...
svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5212 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5220 .
- Installer updates (minor)
- VersionService implementation
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5221 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-27 01:01:03 +00:00
Derek Hulley
7643ba276c
Merged V2.0 to HEAD
...
svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5198 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5199 .
- WCM Tutorial bootstrap removal
svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5199 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5200 .
- AWC-1141: Clipboard missing item
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5201 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-20 15:18:16 +00:00
Derek Hulley
e7c83d8731
Merged V2.0 to HEAD
...
svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5093 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5094 .
- Fix AR-1024: AVM workflow submit NPE
svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5188 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5189 .
- PostgreSQL sample
svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5191 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5193 .
- PostgreSQL lurking JDBC driver
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5195 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-20 11:23:11 +00:00
Paul Holmes-Higgin
105a35efe7
copyright updates
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5188 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-19 17:53:28 +00:00
Paul Holmes-Higgin
f93bdbbfb8
Tutorial and Floss changes
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5176 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-17 10:27:25 +00:00
Derek Hulley
b4e48157f5
Merged V2.0 to HEAD
...
svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5154 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5155 .
- Installer script cleanup
svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5156 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5157 .
svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5162 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5163 .
svn rm --force root\projects\repository\config\alfresco\dbscripts\create\1.4\org.hibernate.dialect.Dialect\post-create-indexes.sql
svn rm --force root\projects\repository\config\alfresco\dbscripts\create\1.4\org.hibernate.dialect.MySQLInnoDBDialect\post-create-indexes.sql
- Fix AR-1225: Upgrade and install indexes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5171 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-16 16:10:44 +00:00
Derek Hulley
f484e98638
Merged V2.0 to HEAD
...
svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5146 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5147 .
- WCM-225
svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5149 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5151 .
- WCM-339
- 2 revisions
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5170 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-16 15:56:51 +00:00
Derek Hulley
4163ab8476
Merged V2.0 to HEAD
...
svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5132 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5134 .
- ScriptLocation#getInputStream
- RMI Registry
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5166 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-16 05:47:08 +00:00
Derek Hulley
22f523d12b
Merged V2.0 to HEAD
...
svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5114 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5115 .
- AR-942
svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5131 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5132 .
- AR-1244
svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5127 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5128 .
- AWC-1138
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5165 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-16 05:30:09 +00:00
Paul Holmes-Higgin
c7b759db71
updated version details
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5097 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-10 17:51:14 +00:00
Ariel Backenroth
55d15c1354
fix misspeeling of administator
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5085 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-08 23:19:53 +00:00
Gavin Cornwell
0249c6bbea
- http://issues.alfresco.com/browse/AWC-1123 : Read access added for EVERYONE group to Data Dictionary space.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5074 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-08 09:55:41 +00:00
Derek Hulley
72eee7d097
Tool to dump default schema creation scripts for a set of dialects
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5073 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-08 09:41:46 +00:00
Kevin Roast
d781cc74c1
. JavaScript API inter-store copy support
...
- Transparent support for inter-store copy added to JavaScript Node and AVMNode implementations
The existing API mechanisms for copy() now support passing of Node or AVMNode and visa-versa as the destination target
No changes to existing copy() semantics and no new services/APIs to learn
. Improvements to handling of missing input parameters in JavaScript Node APIs
. Added Workspace->Workspace support to CrossRepositoryCopyService
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5047 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-06 10:36:46 +00:00
Paul Holmes-Higgin
a864bc072a
updated bundles
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5044 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-05 23:59:03 +00:00
Derek Hulley
b37ec12379
Fix AR-1208
...
- Issuers were using Spring init to load data. The Hibernate database auto-update was switch on and this bypassed the SchemaBootstrap.
- Added an AvmBootstrap bean for initializing AVM components that require DB interaction
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5042 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-05 17:23:09 +00:00
Gary Spencer
ba70a0db84
Changed default CIFS authenticator setting to 'enterprise' to allow Windows Vista clients to connect.
...
Added a commented out section showing how to map the CIFS server to non-privileged ports.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5039 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-05 16:35:31 +00:00
Paul Holmes-Higgin
8e551096ff
excluded jboss distro, removed wcm as amp added alternative config approach, increased user name
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5038 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-05 15:24:27 +00:00
Andrew Hind
d0ea63cf87
Updated the comments
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5031 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-05 09:27:45 +00:00
Britt Park
29e3335cad
Added a cross repository copy service. It has a single method copy, which does a recursive
...
copy of the source node into the destination node. This is a checkpoint; only AVM to AVM and
Repo to AVM work so far.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5019 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-02 16:11:28 +00:00
Gavin Cornwell
6815ae2f5b
- AWC-1047: Exception when trying to checkout whilst starting workflow
...
- Fixed layout issue in manage task dialog
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5010 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-02 11:16:26 +00:00
Derek Hulley
fcddd9a468
CIRCA Multilingual changes (Philippe Dubois)
...
- Web Client support for changing content filter language
- I18NUtil support for contentLocale
- MLPropertyInterceptor handling of properties inbound and outbound
TODO:
- Is new Locale("") valid?
- Some more tests to ensure property interceptor is working
- Move interceptor into .sample config file
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5003 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-01 16:11:40 +00:00
Gary Spencer
3ee59ccb8c
Added AVM virtualization view to default filesystems list.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4991 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-01 09:02:34 +00:00
Jon Cox
b80c73be52
Point checkin for virt server notifiction.
...
Now the virt server can react properly when a file in WEB-INF
(such as a jar or web.xml file) is submitted to staging.
Details
-------
More testing is needed, but the basic stuff looks ok.
Here's a list of the events within the webapp that
the virt server is now able to receive & handle properly:
o Invite user to web project
o Create web project
o Delete sandbox
o Delete web project
o Submission of files to WEB-INF
The virt server does not yet get:
o Revert events
o Out-of-band changes from CIFS (and probably never will).
The plan to deal with changes made to critical files in WEB-INF
is to have an exlicit control available within the webapp.
It does not yet handle "approved with changes" very gracefully.
That can probably be fixed over the next few days.
Gory details
-----------
projects/core/source/java/org/alfresco/util/VirtServerUtils.java
Moved pattern that detects whether virt server needs
updating in from AVMConstants, due to build dependencies;
now this function is needed by workflow, which is in the
repository package.
projects/repository/config/alfresco/avm-services-context.xml
Added AVMSubmitTransactionListener bean to allow virt
server notification to hapen immediately after the
submit transaction has been committed sucessfully.
projects/repository/source/java/org/alfresco/repo/avm/wf/AVMSubmitPackageHandler.java
Added transaction listner that does the virt server update,
and added the list of staging diffs to AlfrescoTransactionSupport
as a bound resource.
projects/repository/source/java/org/alfresco/repo/avm/wf/AVMSubmitTransactionListener.java
Does the actual notification of the virt server.
The logic in this class still needs some work to handle
"approved with changes" gracefully, but it does do
the right thing when it comes to recursively reloading
staging when a jar or web.xml file is modified.
Light testing so far, but looks ok. Consider this
a point checkin only. A singleton of this class is
instantiated via the Spring config avm-services-context.xml,
and used by AVMSubmitPackageHandler.
projects/web-client/source/java/org/alfresco/web/bean/wcm/AVMConstants.java
Removed the utility function that tests whether or not
updating a file would require the virt server to be notified.
This class would benifit from a major cleanup when time permits.
projects/web-client/source/java/org/alfresco/web/bean/wcm/SubmitDialog.java
Using the function that was moved/renamed from AVMConstants
to VirtServerUtils that tests if a given file update requires
a virt server notification message.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4990 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-01 02:18:54 +00:00
Andrew Hind
41002b0ff1
Remove user homes patch - find in the UI or fall back to company home.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4989 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-01-31 20:05:18 +00:00