1296 Commits

Author SHA1 Message Date
Derek Hulley
488127f5a8 Email Server and EmailService in a working state.
- Fixed authentication
 - Fixed I18N
 - Fixed mimetype and encoding issues
Changed 'avm' remote ports and hosts to be 'alfresco.rmi.services' as the 'avm' was starting to creep into non-avm stuff.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@7281 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-11-02 13:55:07 +00:00
Kevin Roast
ae37e5c139 Fix to issue with file encoding/mimetype not being set on file upload
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@7267 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-10-31 16:02:50 +00:00
Kevin Roast
3e65d317a7 "encoding" and "displayMimetype" getters added to templating Content API
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@7264 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-10-31 15:10:11 +00:00
David Caruana
05ff7ffa90 Tidy up:
1) Comments
2) Facebook exception handling (would of been useful yesterday)
3) Addition of Facebook.getAppFriends to javascript API (more useful than existing all friends method)
4) Fixes to Document Library sample

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@7262 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-10-31 14:59:35 +00:00
David Caruana
3133207e23 First cut of Facebook integration:
1) Web Script framework extensions for supporting the development of Alfresco based Facebook applications
2) Sample Document Library Facebook application
3) FormData enhancements for supporting request args retrieval for multipart/form-data encoding
4) Sort order added to Search Javascript API

Note: Stuff needs commenting, tidy up, but at least it's in SVN.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@7259 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-10-30 18:06:00 +00:00
Kevin Roast
450ec0c986 Improved debugging output when executing an XPath from a javascript Node object
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@7240 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-10-26 14:41:02 +00:00
Derek Hulley
126421fb15 Merged V2.2. to HEAD
7236: Merged V2.1 to V2.2
      7205: Typos and fixed Italian messages
      7234: Fix AR-1824 (Login ticket stuff)
      7235: Fix for AWC-1513 and AWC-1139


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@7237 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-10-26 13:21:16 +00:00
Andrew Hind
c5edda8e9f Build fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@7026 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-10-18 09:06:40 +00:00
Kevin Roast
d90cd1492b Enhancements to Create From feature UI in Create Web Project wizard.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@7020 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-10-17 11:01:06 +00:00
Roy Wetherall
20a0a0de24 Sometimes category values where being returned as string's rather than nodeRefs
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@7006 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-10-16 13:04:43 +00:00
Jan Vonka
714c7a2b14 Fixes for dynamic model management: fix delete model validation (in MT case) & fix model restore from archive
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6984 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-10-12 16:48:59 +00:00
Derek Hulley
5d0a520f25 Fixes to benchmark application that I forgot to check in.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6957 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-10-10 17:19:24 +00:00
Jan Vonka
24e809b33b Fix AR-1798 + related fix for undo/cancel checkout. Also fix copy - cannot copy an active model.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6955 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-10-10 16:32:26 +00:00
Britt Park
4489bd0a22 Various changes to keep Hibernate session caches from growing without bound.
Deleting AVM locks is considerably faster which makes large submits faster.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6935 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-10-09 01:11:19 +00:00
Britt Park
2a47726733 Fix WCM-857
Added AVMLockingService.removeLocksInDirectory() which, given the state of AttributeService, is a bit
of a sledgehammer.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6932 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-10-08 15:14:11 +00:00
Britt Park
e5bef04dbf Renames of directories now behave as one would expect. (Fixes WCM-856)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6920 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-10-04 17:32:10 +00:00
Gary Spencer
4e276a9ee5 Run person service lookups as the system user to fix a 'no valid secure context' error.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6909 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-10-03 13:57:51 +00:00
Glen Johnson
bc43fb2c9c Overview:
---------

Overhaul of some areas of Workflow JavaScript API implementation after 2nd review - see details.

Details:
--------

- Fleshed out some of the JavaDocs that needed more detail
- Package changed from org.alfresco.repo.workflow.jsapi to org.alfresco.repo.workflow.jscript
- Prefixed class names of Bean classes with Jscript to keep them distinct from the names of similar classes in org.alfresco.service.cmr.workflow (no longer have to namespace these latter classes everywhere in the code)
- Added JscriptWorkflowTransition and JscriptWorkflowNode classes
- fixing code in various backing beans where instance variables exposed as public by mistake and not as they should using getters
- fixing up problems with some collections/objects being passed back not being scriptable
- Converting backing beans to all be Serializable and having UID set to appropriate values given by using serialver utility
- Changing code so that all Java List to JavaScript array conversions use ValueConvertor.convertValueForScript(...) helper method (much cleaner code)
- Fixing code so that root scripting scope reference available in all backing beans and retro-fitting all their contructors to receive the scope as a parameter so that it is available if needed
- Change constructors of backing beans to be consistent with each other i.e. all of them receiving Service Registry as parameter, and not a mixture of Service Registry for some and Workflow Service for others
- Fixed places where Map was being passed back instead of ScriptableQNameMap
- Some of the member variables in JscriptWorkflowNode and JscriptWorkflowTransition were not exposed as properties - this was fixed up
- Changed WorkflowManager so that WorkflowService is no longer injected. It does not need to be injected as it can be derived from the RegistryService which is already being injected

Files:
------

M – Repository/config/alfresco/script-services-context.xml
M – Repository/source/java/org/alfresco/repo/workflow/jscript/WorkflowManager.java

D – Repository/source/java/org/alfresco/repo/workflow/jsapi/
D – Repository/source/java/org/alfresco/repo/workflow/jsapi/WorkflowDefinition.java
D – Repository/source/java/org/alfresco/repo/workflow/jsapi/WorkflowInstance.java
D – Repository/source/java/org/alfresco/repo/workflow/jsapi/WorkflowManager.java
D – Repository/source/java/org/alfresco/repo/workflow/jsapi/WorkflowPath.java
D – Repository/source/java/org/alfresco/repo/workflow/jsapi/WorkflowTask.java

A – Repository/source/java/org/alfreco/repo/workflow/jscript/
A – Repository/source/java/org/alfreco/repo/workflow/jscript/JscriptWorkflowDefinition.java
A – Repository/source/java/org/alfresco/repo/workflow/jscript/JscriptWorkflowInstance.java
A – Repository/source/java/org/alfresco/repo/workflow/jscript/JscriptWorkflowNode.java
A – Repository/source/java/org/alfresco/repo/workflow/jscript/JscriptWorkflowPath.java
A – Repository/source/java/org/alfresco/repo/workflow/jscript/JscriptWorkflowTask.java
A – Repository/source/java/org/alfresco/repo/workflow/jscript/JscriptWorkflowTransition.java

D – Repository/source/java/org/alfresco/repo/workflow/jscript/WorkflowDefinition.java
D – Repository/source/java/org/alfresco/repo/workflow/jscript/WorkflowInstance.java
D – Repository/source/java/org/alfresco/repo/workflow/jscript/WorkflowPath.java
D – Repository/source/java/org/alfresco/repo/workflow/jscript/WorkflowTask.java

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6904 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-10-02 22:29:34 +00:00
Derek Hulley
575c51a697 Merged V2.1 to HEAD
6846: used ] instead of } in ${ldap.synchronisation.userIdAttributeName]
   6856: Fixed 2 NPEs, one reported by MIT and one found by Jan (WCM-835)
   6859: Truncate an existing file when uploading via FTP. WCM-836.
   6869: Removed temporary files and folders from deploy-installer project
   6870: Updated ignore property
   6875: Fix for AWC-1605
   6878: Fix for AWC-1587
   6880: Fix for French language pack - locked_user message
   6883: Fix for AWC-1565
   6884: Relax trhe permissions required to get the parent links from a child node
   6891: Fix for AR-1781 and AR-1782 (requires CHK-1451)
   6892: Fixed AR-1777: Node status not updated for addition and removal of secondary associations (affects index tracking)
   6893: Sample for replicating content store sample
   6896: Added JVM shutdown check into inner loop to get faster breakout in the event of shutdown.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6899 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-10-02 16:10:58 +00:00
Britt Park
19d195c423 Backing out stuff that should have gone on its own branch.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6890 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-10-01 15:47:06 +00:00
Derek Hulley
0911547299 Merged V2.1 to HEAD
6833: Kerberos web filter for the web client.
   6834: Kerberos web filter for WebDAV
   6835: Updates to CIFS Kerberos logon support.
   6836: Fix issue with editing properties of AVM nodes and changed clipboard to use lock aware AVM service
   6837: Commented out the unknown opcode reporting as it can quickly fill the log files. AR-1742.
   6839: Patch to allow * and ? wildcard characters within a term in any web-client search
   6840: Fixed AR-1769: InvalidNameEndingPatch fails when running on 2.1
   6841: AR-1761.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6873 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-27 12:47:37 +00:00
Jan Vonka
45ea44b784 Fix for WebClient config reload/reset - skip invalid config sources
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6868 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-27 09:47:28 +00:00
Derek Hulley
b4ec9a4992 Fixed benchmark folder creation algorithm.
Added ability to upload multiple files at a time.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6858 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-24 09:44:38 +00:00
Derek Hulley
76afd86b11 Fixed BM client caching to be disk-persistent and specific to the working root node reference.
Subsequent startups of the client no longer incur a long warm-up period when running against
a repo already populated.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6855 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-21 15:14:25 +00:00
Derek Hulley
0bf9cb4cd7 Fixed BM client to generate folder paths correctly
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6849 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-21 10:07:25 +00:00
Derek Hulley
d145180099 Benchmark client zip and reporting fixes.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6845 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-20 18:55:54 +00:00
Kevin Roast
4ea169d97d Page Renderer prototype point checkin
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6842 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-20 14:21:04 +00:00
Britt Park
c5aa838917 Fixed authority related startup failures.
Authority caching was making a case mangling mistake.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6830 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-19 15:43:44 +00:00
Derek Hulley
a5cd8802de Minor summary output fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6827 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-19 14:42:18 +00:00
Jan Vonka
7547b695ac Dictionary optimisation: improve performance when getting sub classes and property defs
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6825 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-19 11:47:29 +00:00
Derek Hulley
2127d7c56a Merged V2.1 to HEAD
6817: Fix for a resource bundle isue with regen renditions wizard and snapshot labels.
   6809: Fixes for locking and permission related issues relating to forms.
   6808: Uunit test update
   6799: AR-1760: Office webscript : property is undefined when opening a document
   6799: WCM submit dialog now sets focus to first field (label) rather than second (comment)
   6795: Fix to line break encoder.
   6781: WebDAV auth to return HTTP 401 instead of exception when user is null
   6775: Fix for appserver shutdown hang
   6761: Using avmService instead of nodeService to avoid a permission error MIT is seeing.
   6742: Fix for MIT locking issue for content contributors
   6706: Fixes to make wizard pages work in standards compliant mode.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6823 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-18 23:18:09 +00:00
Jan Vonka
37f511b82e Clean-up imports only
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6820 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-18 17:15:15 +00:00
Jan Vonka
0d7da3e6e6 Fix main entry point for the interpreters
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6816 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-18 16:01:50 +00:00
David Caruana
1747086061 Fix issue where javascript returns array of nodes, but those nodes are not converted to the appropriate type for jbpm persistence.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6815 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-18 15:50:44 +00:00
Derek Hulley
989a9b0a50 Moved the verbose option onto the individual thread declarations e.g.
session.name=TEST
  session.folderProfile=1, 10, 10, 10, 10, 10
  session.rmiUrls=rmi://localhost:50500/
  session.sourceDir=c:/temp
  session.storeIdentifiers=TEST-01, TEST-02, TEST-03, TEST-04, TEST-05
  
  test.load.upload.fast=2, 0, 10000, 6, true
  test.load.totals.basic=1, 15000, 0, 0, true
Neatened up the output to be fixed width.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6814 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-18 15:21:20 +00:00
Jan Vonka
9d40827835 Fix unit test/build - DictionaryModelTypeTest
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6811 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-18 10:07:43 +00:00
Derek Hulley
bd4bb4f640 Allow test delays to be expressed in milliseconds
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6810 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-18 05:44:59 +00:00
Derek Hulley
55875bbb1f More efficient loading test.
Attempted implmentation for 'listFolders' test, but there are issues.
Implementation of 'totals' test to help keep track of repo size.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6806 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-18 01:09:44 +00:00
Jan Vonka
38ffb7945d Minor MT fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6803 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-17 16:41:43 +00:00
Jan Vonka
088b452b50 Performance tweak
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6802 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-17 16:26:19 +00:00
Jan Vonka
519cec7965 JavaDoc update
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6797 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-17 10:37:39 +00:00
Derek Hulley
de179a659b Build of bm-remote executable jar.
Some tweaks to the verbose reporting of the bm-remote client.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6793 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-15 20:12:40 +00:00
Britt Park
66a82b5781 Should fix failing tests.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6792 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-15 10:09:28 +00:00
Jan Vonka
784b783f10 Removed invalid character
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6789 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-14 13:02:23 +00:00
Britt Park
fb81fb4470 Checkpoint of light weight ACLs.
This is a fairly brute force strategy that allows permissions evalutations
with essentially no db access. It does a number of 'bad' things and I may
rip it out completely.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6788 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-14 12:39:07 +00:00
Jan Vonka
d9590d3677 MT extension
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6785 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-14 11:20:02 +00:00
Derek Hulley
6a83f91a6b Various fixes for the benchmark loader client. This can now do the job of loading, but still needs a few tweaks to dump summary reports.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6784 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-14 11:16:05 +00:00
Derek Hulley
6059a17375 Remote API exposure for benchmark client.
Benchmark client
Note:
 - Loading types still need to be fleshed out
 - The content over RMI is weak, but sufficient for this use-case.
 - An all-round solution for RMI content serialization is needed for ContentReader and ContentWriter, probably using the RemotableInputStream, etc


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6783 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-14 08:49:35 +00:00
Jan Vonka
f68cccd7b6 MT fix to ensure behaviour is triggered. Also fixes AR-1745.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6782 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-14 08:30:44 +00:00
Jan Vonka
fc1533b4a3 Performance tweak to Dictionary for MT case - reduce number of getCurrentUserName() calls
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6780 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-13 16:56:44 +00:00