Kevin Roast
431f990806
My Forms template now opens website virtualisation URL when icon clicked.
...
New Template AVM API methods added to generate staging, user sandbox and path asset URLs for virtualisation server.
Some refactoring of constants used in AVMConstants into JNDIConstants to allow repository classes to also use them.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5624 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-04 11:27:46 +00:00
Derek Hulley
5615885916
Some parameter checks to catch null NodeRefs.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5619 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-04 01:11:00 +00:00
Ariel Backenroth
e58574447e
fix misalignment between property wca:xmlschema of aspect wca:form in java constants and in xml model config. the property value was xmlschema in xml but simply schema in java. still unsure as to why this would be causing problems now - and not causing problems on my machine, but this is most likely the cause of the stacktraces we are seeing. thanks much to derek for helping track this down.
...
i've created issue WCM-477 to track any patch consequences of this realignment.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5618 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-04 01:09:26 +00:00
Ariel Backenroth
9747832703
fix incorrect mapping between property name in java constants and in xml model config. it was xmlschema in xml but simply schema in java. still unsure as to why this would be causing problems now - and not causing problems on my machine, but this is most likely the cause of the stacktraces we are seeing. thanks much to derek for helping track this down.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5617 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-04 00:01:36 +00:00
Jan Vonka
a9308dae1d
Add warning to Importer if no binding for placeholder
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5611 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-03 16:16:40 +00:00
Derek Hulley
38c2a47e26
Repository startup support for module dependencies.
...
Modules are started in in order of their dependencies.
Components that don't execute due to incorrect registration are detected.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5606 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-03 14:10:11 +00:00
Andrew Hind
7ccadfe5da
Upgrade to lucene 2.1
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5605 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-03 13:53:17 +00:00
Britt Park
f89f3b08a3
Checkpoint of filesystem deployment receiver. Doesn't do anything yet.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5604 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-02 23:02:36 +00:00
Kevin Roast
ebcd489416
Task resources list now populated in My Tasks template.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5602 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-02 21:05:56 +00:00
Derek Hulley
8307ba5ba9
AMP dependency checking on the tool side.
...
This is work in progress and the repo is not currently double checking the runtime dependencies.
To declare a dependency, add the following to your module.properties:
module.depends.ABC=ABCfromVersion - ABCtoVersion
Wildcard * can be used in place of fromVersion or toVersion, as well as just a single version.
The most common usage will be:
module.depends.ABC=1.0-*
i.e. this module depends on ABC version 1.0 or later being present.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5601 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-02 20:28:20 +00:00
Britt Park
46bdd48e3f
A tweak to createSnapshot that forces snapshots for stores which
...
have layered nodes in them.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5587 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-01 18:09:23 +00:00
Britt Park
656f297ebb
Patch for recent Layered lookup changes.
...
Miscellaneous cleanups noticed on the way.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5586 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-01 17:23:17 +00:00
Britt Park
f91cedfd69
Fixed createBranch() so that layered node lookups behave properly.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5579 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-30 18:48:19 +00:00
David Caruana
7567867be1
- jBPM 3.1.2 to 3.2 upgrade
...
- Implementation of Workflow Timers (primarily for WCM content launch, but also useful in other scenarios)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5578 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-30 17:21:52 +00:00
Britt Park
d0d7e61fcd
Rework of Layered path resolutions that make snapshots of stores containing layers
...
actually capture the repository context at snapshot creation time.
Gave ListEntry and MapEntry proper equals() and hashCode methods and backed out
hibernate-cfg.properties changes. Doh!
Added cache configuration for AttributeService entities.
Did some warning removal in a few places.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5576 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-30 16:37:36 +00:00
Britt Park
fe970f03fe
Properly wrapped AttributeService for remoting.
...
Wired remote AttributeService into virtualization server.
Added AVMLockingService to ServiceRegistry.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5570 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-27 15:36:13 +00:00
Andrew Hind
fc2ebe47d0
Restructure before WCM indexer impl.
...
Fix and retest 2.1 test issues.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5569 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-27 14:39:33 +00:00
Britt Park
e6b0bb96fb
Reworked AVMLockingService to use lists where appropriate.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5567 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-26 18:35:59 +00:00
Britt Park
e73ce68e8f
Reworked MapEntry schema for better cache performance.
...
Set Attribute entities to be not lazy.
Additional AttributeService testing.
Fixed DoubleAttributeImpl's declaration to implement DoubleAttribute.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5566 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-26 15:53:13 +00:00
Derek Hulley
2888a3737c
Fixed module startup bug
...
The ModuleComponent 'appliesFromVersion' and 'appliesToVersion' properties were being compared to the module's new version number.
In actual fact, components' applicability must be against the original installation version number.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5561 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-26 14:21:01 +00:00
Derek Hulley
31efa6d4f3
Support for renaming of modules
...
- When a module ID changes, the old ID gets put in a list against property 'module.aliases'.
- The tool and the repo startup detect the existing installation against the alias and perform a rename.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5559 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-26 08:42:19 +00:00
Derek Hulley
d94db4e310
Added removeProperty method to NodeService.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5558 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-26 08:34:43 +00:00
Derek Hulley
6d39078356
Added copy and delete of registry keys
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5557 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-26 08:27:23 +00:00
Derek Hulley
5fd6d0c609
Removed old @see tags
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5555 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-26 08:15:58 +00:00
Britt Park
d3aae2a9b7
ListAttribute seems to be mostly working, though I had to tweak hibernate-cfg.properties to
...
make it suck back generated primary keys.
Restructured ListEntry so that most most gets are via Session.get() rather than by query.
Added new methods to AttributeService to handle ListAttribute specific operations.
Added a little more testing for AttributeService.
I'm praying that the build will be repaired, since my efforts having been doing
so much lately.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5553 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-26 00:31:33 +00:00
Britt Park
602440a983
Interim checkin for ListAttribute support.
...
Should fix build breakage also.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5551 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-25 18:35:26 +00:00
Kevin Roast
162ba3e141
Ajax pop-up summary panel code refactored into generic library.
...
First cut of the My Tasks webscript..
Added "url.context" help object to template model for TemplateContentServlet.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5549 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-25 14:33:29 +00:00
Derek Hulley
fb1dd4080b
Merged V2.0 to HEAD
...
5523: Merged V1.4 to V2.0
5494: db.schema.update=false disables ALL metadata queries
5500: AR-1399 NTProtocolHander search handle leakage
5522: AR-1412 IndexRemoteTransactionTracker startup
5541: Merged V1.4 to V2.0
5525: Pass-through authentication and domain mapping
Resolved minor conflict on AlfrescoAuthenticator.java
5526: Domain mapping support
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5546 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-25 02:44:53 +00:00
Derek Hulley
08897ad76b
Merged V2.0 to HEAD
...
5540: Merged 1.4 to 2.0
5515, 5520: LuceneTest2
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5545 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-25 02:33:59 +00:00
Derek Hulley
a85bc773c3
Merged V2.0 to HEAD
...
5497: cwd variable and forminstancedata
5512: AR-1303 MLPropertyInterceptor
5527: CIFS invalid characters
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5543 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-25 02:13:55 +00:00
Derek Hulley
766c19b128
Merged V2.0 to HEAD
...
5491: AWC-1154 WCM Workflows
5507, 5511: AVMGuidPatch
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5542 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-25 02:02:30 +00:00
Britt Park
a41f482557
AVMLockingService is mostly complete. Basic test is in place.
...
Ran across and fixed bug in MapAttributeImpl.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5539 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-24 21:34:00 +00:00
Kevin Roast
884b4920c3
Workflow helper object added to Template API, for use in new 2.1 Portlets.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5538 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-24 13:14:02 +00:00
Kevin Roast
577d45c551
More fall out from Template/Script refactoring:
...
- fix to missing annotated service method (caused script command servlet to fail)
- spelling mistakes in annotated service method parameters
- cleanup in AbstractWebScript
Added ValueConverter concept to Template API - similar to JavaScript API ValueConverter, for a consistent mechanism to recursively convert Alfresco node properties to template accessable objects.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5535 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-24 13:11:25 +00:00
Derek Hulley
c1a69f0f3f
Added support to limit module execution to a specific range of repository versions.
...
e.g. the PHP SDK module has the following:
module.repo.version.min=2.0
module.repo.version.max=2.1
This limits it to being installed on 2.0 or 2.1 versions of Alfresco.
Roy can change this, if required.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5532 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-24 01:14:42 +00:00
Britt Park
5fed27a6d9
Beginning interface for AVM locking.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5531 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-24 01:05:24 +00:00
Britt Park
95ff33e256
Enabled ACLs in Attributes. They are now readable and writable.
...
Added alternative calling convention versions of existing
AttributeService methods.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5529 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-23 20:56:40 +00:00
Britt Park
e9b75a288b
Added ACLs to Attributes. Can't do much with them yet, but the column is in place.
...
Fixed failing AttrQueryTest.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5528 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-23 19:44:31 +00:00
Roy Wetherall
3322e78a09
Fallout fix from template/script refactor.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5524 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-23 13:19:26 +00:00
Britt Park
37e81b9ea4
Added AttributeService to ServiceRegistry.
...
Test for correctness of Attribute deletetion.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5521 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-20 19:04:50 +00:00
Roy Wetherall
5401499003
Refactor of template and script services to allow easy addition of further template and script processors.
...
Hightlights of check-in include:
- Introduction of script processor
- Neutralisation of script and template models
- The notion of a processor extension introduced
- Extensions applied to processor implementation rather than the services
- Auto selection of processor based on file extension of template or script
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5519 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-20 17:13:34 +00:00
Derek Hulley
03c56f4c90
Tighter control of file-mapping.properties values.
...
Fixed bug with file-mapping.properties 'include.default' option.
Refactor of ModuleDetails properties serialization.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5518 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-20 16:10:48 +00:00
Britt Park
65ddab9b8c
Queries are implemented, and appear to work as expected. Added getKeys() method
...
to AttributeService. Fixed NPE in MapAttributeImpl.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5514 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-19 19:24:49 +00:00
Britt Park
8eb616f446
Added hashCode(), equals(), toString() in various places. Fixed delete logic.
...
Added some missing bean references.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5513 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-19 17:27:58 +00:00
Britt Park
bdae23b768
Interim checkin. Attributes basically work.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5510 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-18 23:25:53 +00:00
Kevin Roast
e2329988bd
Child association (map) support for JavaScript API. Fix to child association support for Template API.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5508 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-18 11:19:05 +00:00
Kevin Roast
a650515ea8
Added create/remove association JavaScript API and improvements to the createNode() JavaScript API
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5504 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-17 14:52:04 +00:00
Derek Hulley
ae23267cfa
Attempted build fix. 50% chance of it working
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5499 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-17 10:37:26 +00:00
Derek Hulley
292d2b5de7
Added support for module-specific 'file-mapping.properties' files to augment or override default file mappings when deploying a module to a war.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5498 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-17 00:31:09 +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