- Added "chrome" element to Slingshot so that it renders properly in Web Framework
- Web Studio now calls out to WCM Services and works really nicely
- Removed remote api placeholder services
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@11840 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Revisions 11077, 11081, 11107, 11155, 11452, 11537, 11568, 11571, 11767, 11804, 11808
- Adjustments to the AVM Remote Store to fully allow it to interact with any AVM store based on store id and web application id. The latter is provided to allow WCM Web Project stores to play nicely with non-WCM stores (like sitestore).
- Additional arguments to AVM Remote Store can be passed in as request parameters or as tokenized strings (/s/<store>/w/<webapp>) which allows for URL addressability using a remotestore prefix.
- Additional remote API's for web framework to allow for AVM metadata query and some redirection
- Best effort to merge stuff without breaking any of Mark or Jan's code. Will work at manual integration of REST API bits tomorrow. Expect good things.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@11811 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- various minor fixes from current testing phase
- various code improvements, mostly in Rules Helper JSON to object translation methods for rules, actions and conditions
- some improvements to test data creation in unit test class helper methods
- updates to delete, get, post rule unit tests
- put rule unit test
- finer grained per property JSON exception handling in rules helper methods
- added more assertions to various unit tests
- added more comments to web scripts and rules helper methods
- added more comments to unit tests
- added more error checking across various web scripts
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@11483 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
11008: FileFolderService no longer uses Lucene
11014: Fixed ETWOTWO-569: Regression after ContentStoreCleaner overhaul
11021: Fixed HibernateSessionHelperTest
11028: Fixed unit test's expected values
11035: Made cm:auditable optional and fixed 64K limit on property list sizes
11038: IncompleteNodeTagger handles aspects that are not in the dictionary
11039: Added tests to ensure that QName caching is case-insensitive
11040: Fixed use of mixed-case QNames for aspects
11044: Allow background AND in-transaction indexing to be disabled at the same time.
11046: Removed Lucene use from RegistryServiceImpl
11050: Removal of Lucene usage
- ML services finding root using XPath moved to path query
- RepoStore now uses simple path query
- Remove unused imports on PersonServiceImpl
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@11215 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Added mechanism to HttpConnector to ignore future requests for N milliseconds after a connection failed attempt to a remote server.
- this means that multiple requests to a remote server won't simply sit in a queue waiting to time out (signficantly slowing down the start of the Share app if the remote Alfresco server is not available)
- Remote component loading config now off by default - added loading of alfresco/config/custom-slingshot-application-context.xml custom app context file - will provide sample app context to enable remote component loading.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@11067 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Modified AbstractWebScript.execute() so that request-type specific script parameters (e.g. json, feed) are only available to those scripts that declare a type specific suffix, e.g. *.post.json.js, *.put.atomfeed.js. All non request type specific JS scripts will see requestbody (or formData if the request was multipart form data).This is so that scripts relying on requestBody being available at the moment don’t later get broken if we later map their request types to new FormatReaders.
- Moved getExecuteScript from DeclarativeWebScript into AbstractWebScript and made other subclasses use it, therefore using consistent path resolution rules across all web scripts.
- Removed FormatReader.createTemplateParameters() – Dave said this is not needed and the scripts themselves should copy over script parameters that are required by the templates.
- Renamed *.post.js and *.put.js expecting JSON input to *.post.json.js and *.put.json.js
- Extensive manual testing of share
- Added unit tests
- Ensure requestbody available to *.post.jst and *.put.js for unmapped request types
- Ensure json variable available to *.json.post.js and *.json.put.js scripts handling application/json requests
- Ensure entry variable available to *.atom.post.js and *. atom.put.js scripts handling application/atom;type=entry requests
- Ensure error raised for bogus script with extension corresponding to format with no FormatReader
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@11034 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- two surf web scripts utilizing remote
- 'atom' helper added for parsing atom responses from server
- moved abdera cmis extension to webscript f/w
- added urlEncodeComponent to ScriptableUtils
- temp. change to RemoteClient which doesn't prefix endpoint, if passed url already starts with endpoint
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@11020 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
Earlier the the repo webscripts for wiki, blog, forum/discussions and comments stripped the userinput (content field) from un-safe html tags such as scripts. Only white listed tags was allowed (specified in StringUtils.safeTags). Now <strong> and <em> has been added to the list but the method to strip away the tags, StringUtils.stripUnsafeHTML() is no longer used from these scripts.
Instead the share webtier is doing the cleaning of these tags when they are rendered using a html.ftl file. (this is the case for the wiki)
If they are requested from the client directly through an ajax proxy call the result is stripped using the Alfresco.util.stripUnsafeHTML in alfresco.js. (this is the case for blog, forum/discussions and comments).
base.css has been updated to display "rich content", in other words user input that has been formatted, correctly.
A new mimetype for installing air applications has also been added to the list of mime types.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@11003 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- New styling
Revert version
- GUI
- repo web script
My Site:
- fixed some function debug names
alfresco.js
- forms runtime handles radiobuttons corerctly
- autmatic reload of page if ajax call returns 401
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10895 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- added functionality to forbid a user from cancelling a pending invite, if he/she is not a Site Manager for the site associated with that invite
- added CancelInviteAction workflow action class, with functionality to clean up disabled invitee account and invitee person node when (upon cancellation) there are no outstanding invites for that invitee.
- added various unit tests to InviteServiceTest for above functionality
- added automatic redeployment of invite process definition in setup(...) method of InviteServiceTest class
- other minor refinements to InviteServiceTest
- some minor refactoring to Invite Service to prevent code duplication amongst various invite web scripts and workflow action classes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10894 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261