Commit Graph

8 Commits

Author SHA1 Message Date
Kevin Roast
773b9e811e Enhanced User properties available ready for User Profile component - added new properties to content model definition, ContentModel constants file and Slingshot User objects.
Added AlfrescoUser object, to be responsible for persisting changes to User Profile.
Added concept of ThreadLocalRequestContext - similar to FacesContext in that it has a static accessor method to retrieve the "current" instance.
Removal of 'alfresco-system' endpoint from web-framework and replaced usage with 'alfresco' endpoint:
 - removes the need for admin user detailed to be stored in web-framework config files (!) and being constantly transmitted between tiers
 - refactored appropriate webscripts to accept non-admin authentication but added code checks to ensure non-admin users can only bring back meta-data about themselves
 - refactored AVMRemoteStore and RemoteStore client to use authenticated endpoint rather than system admin authentication driven endpoint
 - this also reduces the the traffic between tiers and vastly reduces the number of login tickets requested
Added open HTTP endpoint - for use by RSS feed components etc. that point to any website feed - configured as 'unsecure' endpoint so purposely cannot be accessed via proxy URLs.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9920 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-17 14:38:55 +00:00
Kevin Roast
3dfa87174e Implemented Delete Document API for remote AVM store (repo-tier) and remote store client (web-tier).
Fixed and added APIs to bind and unbind components in web-tier object model - mirrored API methods for "sitedata" JS API.
 - this completes the working APIs needed to add/remove pages and add/remove/modify component bindings to facilitate user dashboard configuration and site page configuration.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9716 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-10 11:17:30 +00:00
Kevin Roast
84891a3f01 Remote AVM Store REST API now supports "list" and "listall" to retrieve lists and recursive lists of document paths.
Much improved JUnit test for RemoteStore - on web-tier end.
 - various issues fixed in existing API as highlighted by JUnit tests
Separated out RemoteStore test from the RemoteClient JUnit test into own file.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9530 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-20 13:27:43 +00:00
Kevin Roast
54b809411d Refactored RemoteStore client (i.e. on web-tier) to use Connector framework for remote operations.
Remote AVM store now expects 'admin' auth level for all operations, and fixed to handle AuthenticationDenied exceptions.
Added example config to use remote AVM store as primary lookup location (with fall back to web-app classpath) for model XML files - NOT on by default - as still need to add the avm sitestore to bootstrap/patch.
Improvements to web-framework model object caching - use of "sentinel" pattern to cache missing values.
Model object persister ordering now maintained as per Spring config order.
ModelObjectManager now more aggressively throws out exceptions when errors occur loading model objects.
Fix to RendererFactory to be thread safe (!)
Other small fixes, clean up and productisation in web-framework.
Useful toString() methods added to various classes for debugging.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9471 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-13 13:52:01 +00:00
Kevin Roast
8072997657 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
0c1d2728fb 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
Roy Wetherall
e6797b7cd1 swf transformer (installed swf tool requied), minor refactor of thumbnail service, thumbnailRegistry created (smallImage and webpreview thumbnail types added), start of thumbnail JS API (extensions to ScriptNode) and POST URL to create thumbnails
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9259 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-23 21:19:50 +00:00
Roy Wetherall
d12effa6d6 Moved web script classes and definitions out of web-client project and into remote-api
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8956 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-04-29 19:41:59 +00:00