Commit Graph

14 Commits

Author SHA1 Message Date
Kevin Roast
c9baaf0bb4 Merged V2.2 to HEAD
8430: Merged V2.1 to V2.2
      8428: Introduced notion of a 'secure' script - secure scripts have access to java.* libs and can instantiate Java objects

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8431 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-03-06 14:14:55 +00:00
David Caruana
d076396436 Web Scripts: Encapsulate concept of mimetype -> object -> mimetype conversions. Allows scripts, templates etc access to request mimetypes (e.g. Atom entry/feed, multipart/form-data) in a natural way (i.e. as objects). Such objects can then be serialized to the appropriate response mimetype (e.g. atom, json). New converters can be configured in. Refactored form post to this mechanism. Fixed script dump/load issue for scripts in root folder.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8412 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-03-01 00:09:10 +00:00
Kevin Roast
bbc2156235 Merged V2.2 to HEAD
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8386 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-02-26 19:02:20 +00:00
Jan Vonka
7f0a4aeabc WebScripts: replace custom cloneEmpty with standard Spring factory pattern (follow-on from r8293 & r8335)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8349 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-02-21 12:12:14 +00:00
Jan Vonka
f45bccdbd8 Fix AR-2090
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8308 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-02-18 13:16:07 +00:00
Jan Vonka
f3969beff1 MT - initial checkin for MT-enabled Web Scripts
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8293 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-02-15 15:29:27 +00:00
Kevin Roast
7708e9294d Move of HTTPProxy and HTTPProxyServlet to web-framework project
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8148 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-02-01 13:57:13 +00:00
David Caruana
90daffa6fd Web Scripts:
1) request header access in script and templates
2) logger root object available in web-framework web scripts

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8118 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-01-29 17:53:07 +00:00
David Caruana
413df65733 - Manual merge of ClassPathStore refactor from 2.x branch
- Tidy up (confusing) script paths in exception messages (as an outcome of AR-1921)
- Fix bug in inspect web script (null pointer when missing optional web script description)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8044 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-01-21 15:55:01 +00:00
Kevin Roast
11d068198f More files now using correct URLEncoder impl, some code cleanup around usage and imports
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@7961 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-01-09 15:47:13 +00:00
David Caruana
e39370f0ef Web Scripts: fix issue where the creation of javascript & template root repository objects was attempted even though not authenticated
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@7476 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-11-29 15:14:58 +00:00
David Caruana
796f0d3e9e Merge Web Script framework extraction.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@7455 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-11-27 19:45:50 +00:00
Derek Hulley
fe7a8e8ca8 Reversed incorrect checkin
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@7438 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-11-26 17:17:01 +00:00
David Caruana
82134bf1f0 Web Script Framework extraction - allows web scripts to be hosted in a stand-alone presentation tier.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@7437 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-11-26 17:04:44 +00:00