Glen Johnson
022f0bed8f
Invite REST API Service with (1) additional Unit Tests (2) latest round of fixes so all unit tests for "invite", "inviteresponse" and "invites" (pending invites) Java-backed Web Scripts pass (3) moving superseded invite.get.js and inviteresponse.get.js out of the way and "turning on" Java-backed Web Scripts
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9818 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-11 14:45:02 +00:00
Michael Ru
735e6f3961
- added activities for blog posts
...
- added tagging support for blog
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9809 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-11 10:12:53 +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
Glen Johnson
f8d631f9f1
Latest fixes for Java-backed Invite REST API Web Scripts - but invites.get (pending invites) still failing on Unit Tests
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9714 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-10 10:10:03 +00:00
Glen Johnson
f0b7fc0569
Fix to GET invites web script API - invites now directly addressable by invite ID, see invites.get.desc.xml for API description
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9706 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-09 18:03:09 +00:00
Glen Johnson
595fd3f854
Latest round of Invites (pending invites) Java-backed Web Script fixes/modifications
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9704 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-09 15:37:07 +00:00
Michael Ru
0d2114d4e0
- new webscript for my forum topics
...
- proper pagination component
- cleanup of topic list page js code
- tag support for blog REST API (still disabled though)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9702 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-09 15:20:48 +00:00
Glen Johnson
63bf4b1355
Latest drop of Java-backed version of Invite Web Scripts for (invite.get [start, cancel], inviteresponse.get [accept, reject], invites.get [pending])
...
- to take over from JavaScript version of these web scripts to allow secure running under admin authority
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9697 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-09 11:21:17 +00:00
Michael Ru
61815aa9d1
- some unit tests for the discussion service
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9666 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-07 14:28:28 +00:00
Michael Ru
9a7cc0f21f
- Some unit tests for the blog web scripts
...
- Added proper permission handling for blog post drafts
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9665 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-07 13:05:25 +00:00
Glen Johnson
739b875bd4
Various fixes to REST Person Service and Web Script Unit Test
...
- Delete people and authentications for users created in setUp()
- Modify person.lib.ftl so that it copes with firstName and lastName being undefined
- Modify people.post.js to use var.properties["propKey"]=value when adding person properties so that it copes with setting properties that don't already exist
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9619 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-07-02 07:34:41 +00:00
Glen Johnson
e3afa83704
Latest cut of Invite Service/Workflow containing last bunch of fixes/modifications needed to get Web Script Unit Tests to pass
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9597 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-30 14:53:26 +00:00
Jan Vonka
7bb7d8f36b
Fix URLs in FeedControlTest
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9584 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-27 16:55:15 +00:00
Jan Vonka
3276be3d62
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
Glen Johnson
57f8a813c1
Person Service - now all Web Script Unit Tests pass
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9558 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-24 23:20:13 +00:00
Roy Wetherall
1f3e2a47c1
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
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
Glen Johnson
9674ca28c7
Person Service Web Scripts Tests
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9528 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-20 10:51:38 +00:00
Kevin Roast
af0f04335d
Fix to a couple of objects that were NPE in the JavaScript debugger due to dodgy toString() methods.
...
JavaScript debugger windows now have different titles in the repo/web-tier so they can be distinguished easier if both are open on the same desktop.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9511 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-19 09:49:23 +00:00
Jan Vonka
bd6c9f3a75
Activity Service - fix site feed to avoid stacktrace if siteId does not exist
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9484 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-16 13:57:52 +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
Roy Wetherall
132c0af749
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
Michael Uzqu
3c254e6850
Web Framework loads model files from Stores
...
- first pass implementation
- all model files are loaded from Stores
- added configuration file (web-framework-model-context.xml) which maintains three stores (classpath, local and remote)
- remove model file system from request context
- updated caching so that it wraps Store objects
- added a simple LocalFileSystemStore that mounts against a provided local path (i.e. d:/web-framework)
- updated Store interface and implementations (RepoStore, ClassPathStore, RemoteStore, LocalFileSystemStore) to include removeDocument method
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9441 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-11 04:56:42 +00:00
Roy Wetherall
3febbb8396
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
98df967450
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
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
7d0bd2863d
Fix to thumbnail test which would fail if the PDF2SWF tool was not present
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9361 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-03 09:53:47 +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
Jan Vonka
adf64b2da5
Activity Service - add check for private site & more system tests
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9201 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-21 13:35:34 +00:00
Jan Vonka
67ccb8de15
Activity Service - add REST API for User Feed Controls & general cleanup/fixes
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9187 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-20 16:41:10 +00:00
Jan Vonka
e040efda5d
Site Activities - including first-cut feed templates (joined, left, role-changed) + system test
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9160 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-19 12:47:34 +00:00
Jan Vonka
24798d12f7
Activity Service - fix JSON feed
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9156 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-19 10:31:29 +00:00
Jan Vonka
bebf7778b6
First-cut Activity Service (SLNG-20)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9128 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-15 16:34:11 +00:00
Jan Vonka
9c50e9b4e2
Add support to RepoStore/ClassPathStore to getDocumentPaths (of given document pattern within given path/sub-paths)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9107 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-14 14:48:12 +00:00
Roy Wetherall
63e68d53ef
Site Service: GET, PUT and DELETE methods implemented and unit tested for Membership resource
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9063 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-10 00:27:11 +00:00
Roy Wetherall
04024e0e8b
Site Service: GET and POST methods implemented on Site Membership REST API
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9042 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-08 17:00:35 +00:00
Roy Wetherall
7f192494de
Site service membership API (Java and JavaScript) and associated unit tests
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9012 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-06 17:35:32 +00:00
Roy Wetherall
7d32941e9c
Site Service CRUD API's (Java, JavaScript and REST), unit test methods added to JS API to help unit test JS API's
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8986 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-01 16:48:30 +00:00
Roy Wetherall
060c5eb8a1
Moved file type image utils functions
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8957 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-04-29 19:43:47 +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