David Caruana
f55317a565
Merge JS Versions API from DEV/SEAMIST r9707
...
http://wiki.alfresco.com/wiki/JavaScript_API_3.0#Versions_API
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9816 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-11 14:10:28 +00:00
Roy Wetherall
5cab4a5e9c
Tagging Service: fixed issue when using scriptNode.save() with tagging API
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9722 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-10 14:24:32 +00:00
Roy Wetherall
be9beda3b8
Site Service: sites created in sites folder within the SpacesStore
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9719 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-10 12:43:09 +00:00
Roy Wetherall
8f1c38fcf7
Tagging Service: Complete JS and Java APIs
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9689 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-08 16:58:56 +00:00
Mike Hatfield
884811033d
Test fix
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9684 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-08 15:10:57 +00:00
Jan Vonka
33f47abeef
Activity Service - skip invalid posts
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9674 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-08 09:48:44 +00:00
Paul Holmes-Higgin
5c34653299
More ProjectSpace cleanup and fix test failure
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9671 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-07 22:01:00 +00:00
Kevin Roast
cdd69a3879
Fix to run SiteAVMBoostrap as system user since AVM permissions.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9670 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-07 17:52:57 +00:00
Jan Vonka
a1da364950
Activity Service - fix first/last name lookup
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9669 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-07 16:03:06 +00:00
Jan Vonka
3497aae8a0
Merge V2.9 to HEAD
...
9366: Fix ETWONINE-1 (ALFCOM-1699)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9654 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-04 15:29:04 +00:00
Jan Vonka
5828f6c061
Activity Service - follow-up to r9649
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9652 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-04 14:47:11 +00:00
Jan Vonka
cc051d8274
Activity Service
...
- add PostgreSQL support
- add generic schema generation, plus extras (indexes, sequences, workaround for Derby)
- fix feed cleaner keepDate, also increase default from 14 to 31 days
- fix Oracle-specifc issue (when retrieving site feed)
- reformatting sqlMap config files
- improve exception handling
Add Derby warning message
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9649 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-04 13:12:31 +00:00
Roy Wetherall
c00a148e33
Tagging Service: Add, remove and get tags added to JS ScriptNode
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9639 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-03 16:20:38 +00:00
Roy Wetherall
4fb860407c
Tagging Service: tags are case insensitive
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9632 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-03 09:45:48 +00:00
Roy Wetherall
f13e6f19f2
Tagging Service: Initial implmentation of the tagging service, including tag scopes
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9630 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-02 15:53:41 +00:00
Gary Spencer
c1bbebd7ec
Fix to transaction read to write switch over clearing out the thread local state.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9609 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-01 10:14:51 +00:00
Kevin Roast
5824852a0a
Fix for SLNG-613 - mimetype now correctly guessed by repo after upload via Flash (which helpfully applies the binary mimetype to all files)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9608 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-01 09:56:02 +00:00
Gary Spencer
8fdfa9ae2c
Fix to filesystem transaction handling that was the cause of FTP/CIFS AVM filesystem errors.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9602 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-30 15:51:33 +00:00
Glen Johnson
bf51d554f8
Fix People.createPerson(...) so that initial generated password is added as property to created person node (this is, if flag was set for an account to be automatically created for person)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9596 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-30 14:44:16 +00:00
Glen Johnson
c7a2bdc8cb
Fixed starting workflow from JscriptWorkflowDefinition (1) Added extra convenience startWorkflow(props) method for when you don't wish to attach a package to the workflow (2) Now correctly extract properties from supplied associative array into property Map to pass into workflow
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9594 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-30 14:30:01 +00:00
Kevin Roast
793bd318e4
Removal of ID elements from slingshot model objects.
...
Removal of unused page-type elements from page model objects.
IDs are no longer required at all for model object XML config, the ID is implied by the unique path to the document.
A few other minor improvements.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9577 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-26 11:25:32 +00:00
Jan Vonka
0556414084
Activity Service:
...
- fix user feed controls
- add support for Derby dialect, including sample config
- add derby.jar (10.4.1.3)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9572 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-25 15:51:16 +00:00
Gary Spencer
5462b9c9bb
CIFS multi-threading changes, SLNG-11.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9553 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-24 14:30:56 +00:00
Jan Vonka
e438c81d27
Merged DEV/WCM-PERMISSIONS2 to HEAD
...
AVM folder diff (r9383-r9503)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9545 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-23 15:06:50 +00:00
Jan Vonka
10240e71f4
Merged V2.9 to HEAD
...
9543: Merged V2.2 to V2.9
9338: Restructure AVM tests
9348: AVM - add expected "compare" diffs to existing unit tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9544 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-23 12:20:50 +00:00
Roy Wetherall
fd3a6d6e97
Preference Service
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9538 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-23 09:48:22 +00:00
Glen Johnson
4f15d38283
Creation of Person (in People JS API) with generated user name is now accompanied with optional creation of either enabled or disabled user account
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9537 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-22 23:39:51 +00:00
Kevin Roast
11ef50b017
CropContent API now available to all templates in repo-tier (i.e. repo webscripts).
...
Most usages of this will be replaced by the new ThumbnailService in the future.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9533 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-20 14:54:41 +00:00
Glen Johnson
95e28f3b14
Modifications to the People JavaScript bean to use the pluggable user name and password generators
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9527 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-20 10:37:54 +00:00
Glen Johnson
e64df6ca3a
Support for Spring pluggable user name and password generators
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9526 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-20 10:27:37 +00:00
Kevin Roast
58e0aeee50
Webscripts (or plain javascript) in the repo tier can now optionally provide an additional 'store' reference as the first argument to the various search APIs:
...
- search.luceneSearch("TEXT:alfresco") <- original API
- search.luceneSearch("workspace://SiteStore", "TEXT:website") <- new API
This allows script developers to search other stores such as the new SiteStore.
NOTE: some script writers were trying to use the public Sping bean setter method on the Search object called setStoreUrl() as a hack to do this previously - that technique is NOT thread safe and should not be used - that mechanism has now been blocked by the bean and will throw an exception.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9508 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-18 21:29:28 +00:00
Kevin Roast
a8fe4ffc04
AVM Site Store added to bootstrap for new installs and added patch for existing repos.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9501 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-17 15:21:08 +00:00
Glen Johnson
e962e186b0
Modifications needed to People JavaScript API for Person Service REST API
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9498 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-17 12:47:05 +00:00
Kevin Roast
47646e4395
Added new filesystem filter for AVM stores - "site" stores.
...
Cleaned up default avmfilesystem config to make it more explicit which stores are going to be displayed in CIFS/FTP filesystem views.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9483 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-16 11:37:31 +00:00
Kevin Roast
04baee14d8
New commands for AVM Console (AVMInterpreter). Version parameter is not longer mandatory for simple commands.
...
setstoreproperty - Set the value of store property.
setstoreproperty, storename, qname, value
setstorepermission - Set a permission mask on a store.
setstorepermission, storename, authority, permission
clearstorepermission - Clears a permission mask on a store for a given authority.
clearstorepermission, storename, authority
setnodepermission - Set a permission mask on a node.
setnodepermission, avmpath, authority, permission
clearnodepermission - Clears a permission mask on a node for a given authority.
clearnodepermission, avmpath, authority
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9482 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-16 11:12:11 +00:00
Kevin Roast
99e5fbc045
Fix to NPE issue during AVM permission checks.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9466 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-13 08:46:24 +00:00
Roy Wetherall
725497edc9
Thumbnail Service: removed unessesary code to store transformation options on node, added GET for thumbnail collection resource, created thumbnails are kept in sync with the master file asynchronously
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9452 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-11 15:27:03 +00:00
Kevin Roast
fb856c8da6
Addition of new createNode() method signature to repository JavaScript API.
...
Allows creation of new child nodes with a supplied child association qname:
- public ScriptNode createNode(String name, String type, Object properties, String assocType, String assocName)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9446 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-11 11:04:53 +00:00
Roy Wetherall
1fec726056
Thumbanil API: suport for placeholder thumbnails added and queueing of thumbnails for creation on get
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9434 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-10 10:27:35 +00:00
Roy Wetherall
5e60154bf5
Thumbnail Service: support for asyn creation of thumbnails (unit test's included)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9428 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-09 10:10:16 +00:00
Kevin Roast
997b5c0ab5
The infamous JavaScript Debugger is now available in the Web-tier (Web-Framework):
...
- set this log level: log4j.logger.org.alfresco.web.scripts.AlfrescoScriptDebugger=debug
- or use this webscript: [your-web-server]/slingshot/service/api/javascript/debugger
The usual repo JavaScript Debugger is available here:
- set this log level: log4j.logger.org.alfresco.repo.web.scripts.AlfrescoRhinoScriptDebugger=debug
- or use this webscript: [your-repo-server]/alfresco/service/api/javascript/debugger
You can use both debuggers at the same time if required.
Rewrite of the bizare IProxy code in the javascript debugger class - which in turn fixes the bug ALFCOM-1743 where closing the JavaScript debugger window would have caused all future JavaScripts to block until the server was restarted.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9410 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-06 14:10:39 +00:00
Roy Wetherall
04947b6ebb
Added stream content 'kind of' web script, modified ContentGet webscript to use common code, create GET thumbnail method based on stream content kind of web script
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9395 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-05 10:07:26 +00:00
Glen Johnson
f084a9bf44
Added getDefinitionByName() method to Workflow JavaScript API's WorkflowManager class
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9351 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-02 11:03:20 +00:00
Andrew Hind
162cf4e2e1
Better performance for DM permission migration.
...
Fix ups to follow only direct parent links
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9322 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-30 09:37:36 +00:00
Andrew Hind
48d8cb6864
Make person loader multi-threaded
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9321 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-30 09:35:22 +00:00
David Caruana
14660ea397
Support for sub-types of folder in site.getContainer() - to allow for specialised types of component folder and backwards compatibility with existing models such as forum.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9306 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-29 11:37:42 +00:00
Glen Johnson
e09ae51c1d
Added createPerson() and deletePerson() methods to People JavaScript API - needed by 3.0 Invite Workflow
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9280 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-28 11:26:50 +00:00
David Caruana
95a622444e
Implementation of site getContainer(), hasContainer()
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9267 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-27 15:20:36 +00:00
Andrew Hind
9116330a10
Build fix
...
- remove merge issues that causes a double bootstrap
- move bootstrap bean into the correct context
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9265 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-27 13:42:17 +00:00
Derek Hulley
db95d287ee
Merged V2.9 to HEAD
...
9241: Merged V2.2 to V2.9
9119: Merged V2.1 to V2.2
8671: Fix for AR-2221 - JavaScript scriptable Map objects recursively converted to Freemarker accessable maps
9256: Merged V2.2 to V2.9
9100: Merged V2.1 to V2.2
8728 <Not required>: Latest AMP changes for AR-2212
8731: Faster content store cleaner
8738: Fix for AWC 1930 - support simple bind when building DNs that contain a comma
8835: Fix regression issue as discussed in ACT 2019
8861: Fix WCM-1158
8866: Fixed AR-2272: Module Management Tool distribution is broken
8872: Fixed distribution of benchmark executable jar after EHCache upgrade
8933: Fix for ACT-2469
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9260 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-23 21:41:53 +00:00