Commit Graph

728 Commits

Author SHA1 Message Date
David Caruana
4b7aba35c6 - Provide runtime show & hide of Alfresco Javascript Debugger
- Simplify Web Script home page

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5962 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-14 17:21:29 +00:00
Kevin Roast
da7ad6d1fd Multiple word searches failing when no "additional attributes" specified in config.
Error component location in browse.jsp layout was not collecting and displaying exceptions for the list components.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5954 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-14 13:19:47 +00:00
Derek Hulley
f7bafca8fa ImportBean (acp or zip) runs with transaction retries
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5947 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-13 23:34:35 +00:00
Gavin Cornwell
79393b50ba Incorporated proper icons from Linton
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5945 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-13 22:21:22 +00:00
Gavin Cornwell
64204f6cde Added 'Check Links' action to user sandboxes enabling authors to see what links they have fixed/broken
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5944 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-13 21:34:09 +00:00
Ariel Backenroth
710ac5b727 externalizing widget config for xforms to xml
- adding a utility method to ConfigElement to get a list of child config elements by name
- using JSONObject to generate js rendition of config
- adding a build script to build json.jar since json.org only distributes source
- adding a preview link for form instance data to create web content summary screen
- doing the full jsp2.0 thing with summary screen for create website, i have a hunch it will fix a websphere issue

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5943 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-13 21:11:24 +00:00
David Caruana
da0edcf071 - Refinements to Javascript/Freemarker Node conversions
- Removed hard-coded conversions from Web Scripts
- example category search web script aligned with documentation

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5940 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-13 17:23:47 +00:00
Gavin Cornwell
1bbbb2b4ca - Added update status button to status area of links management report which now does an incremental report
- Re-Run report button now runs fresh report
- Generated files are now in a collapsable panel (closed by default)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5935 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-13 14:44:27 +00:00
David Caruana
6bdd49ffc7 - Allow addition of Alfresco OpenSearch to browser just by going to Alfresco Web Client.
- Remove obsolete /services/index.html page

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5934 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-13 14:29:38 +00:00
David Caruana
93e6410090 Web Scripts:
- addition of content retrieval web script / redirect search to this web script
- move search scripts to repository/search package

External Access Servlet:
- fix dashboard refresh issue

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5933 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-13 12:14:22 +00:00
Kevin Roast
c240fc2948 Fix ups and improvements to latest ML UI additions
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5932 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-13 11:26:44 +00:00
Gavin Cornwell
add54d575c Added actions to broken file and form items so they can be modified and previewed.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5931 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-13 11:16:09 +00:00
Derek Hulley
35c3659f14 Yannick Pignot (European Commission) multilingual services
- EditionService for versioning of groups of translations
 - Quite a bit of trimming of whitespace that I have no intention of undoing.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5927 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-13 01:13:25 +00:00
Gavin Cornwell
9abfab20ab More functionality added to links management UI
- Report now shows date/time when report was executed
 - Report now shows forms with broken links
 - Fixed items are now displayed
 - Current status stats are now correct

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5922 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-12 20:35:11 +00:00
Kevin Roast
21b9367f7f Script specific Node class renamed to ScriptNode.
SVN rename command used to ensure file history is kept.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5920 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-12 15:10:48 +00:00
Gavin Cornwell
3ad9668624 - Partial first cut of initial version of links management UI
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5917 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-11 20:54:23 +00:00
Kevin Roast
1be49d2679 Webscript JSR-168 Portlet runtime fixes for webscript url generation client-side function and url argument decoding.
JSR-168 portlet webscripts now use different service url - /168service/...
UI improvements to pop-up dialogs in portlets - now draggable and position now relative.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5912 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-11 14:50:05 +00:00
Derek Hulley
adb817b386 Some transaction retrying for Web Client
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5911 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-11 14:09:18 +00:00
David Caruana
d871aebc12 Workflow: addition of simple 'admin' workflow dashlet to display ALL active tasks
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5908 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-11 11:14:25 +00:00
Kevin Roast
a3c59244d1 WebScript Runtime response/url model extended to support output of client-side webscript url generation function.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5902 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-09 17:03:11 +00:00
David Caruana
bb2536fcf5 Web Scripts:
- simplify how web scripts urls & formats are described
- fix 'reset' on index page (when accessed via /)
- fix xml status response (rogue html in template)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5897 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-08 21:39:54 +00:00
Ariel Backenroth
927f87dd44 build fix. missing close paren.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5890 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-08 03:59:43 +00:00
Ariel Backenroth
fbc1e891c8 implementing the regenerate renditions wizard
- refactoring to centralize regenerate code
- adding onchange event to UISelectList to trigger reload of page
- reorganizing some webproject code for better reuse
- fix for submit from create web content (a webproject property was added to submitdialog but not createwebcontent)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5889 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-08 01:09:56 +00:00
David Caruana
aa13da35dc Web Scripts: remove use of deprecated TransactionUtil.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5886 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-07 16:24:42 +00:00
Kevin Roast
bf8af80370 Fixups to portlet webscripts that hardcore the '/service' part of webscript urls to use ${url.serviceContext} and push down into appropriate javascripts
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5884 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-07 14:44:41 +00:00
David Caruana
1a89cb5e9f Web Scripts:
- default authentication is now Basic HTTP Authentication
- alternative entry point for Alfresco Web Client authentication now provided via /alfresco/wcservice
- updated opensearch engines list to be servlet mapping independent

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5879 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-07 11:49:09 +00:00
Kevin Roast
f50258fa99 http://issues.alfresco.com/browse/AWC-611
http://issues.alfresco.com/browse/AWC-1260
http://issues.alfresco.com/browse/AWC-1170
Improvement of alignment for pop-up panel - was rendering off the top of the screen if the preview text was very large vertically.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5877 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-07 10:46:36 +00:00
David Caruana
955db41f51 Web Scripts:
- optionally force status in response header to success regardless of actual status; status in reponse document still reflects actual status
- to support the limitations of Flex runtime without Flex data services
- set alf-force-success-response to true in request header

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5873 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-06 22:13:47 +00:00
David Caruana
78342496ab Web Scripts:
- move repository level web scripts to /api/... urls
- fix opensearch result templates with regards to guest / format arguments
- fix opensearch proxy (regression from web script runtime refactor)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5871 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-06 19:47:00 +00:00
David Caruana
3d86571cda Web Scripts:
- addition of extension paths for web script customisations
- updated "delete ticket" web script to return appropriate response on success

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5867 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-06 11:57:42 +00:00
David Caruana
c89bce7bda Fix error in resolution of authorityService.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5864 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-06 10:28:10 +00:00
Kevin Roast
5fc69e73bc REST API command support for launching the XForms edit content dialog. AVM Templating API addition to retrieve the list of modified items for a sandbox user.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5858 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-05 20:21:57 +00:00
David Caruana
61b6952524 Web Scripts:
- fix issues integrating with Flex (rename of tunnel url arguments)
- add admin to required authentication levels
- support json callback method (for browser based ajax requests)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5856 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-05 18:17:59 +00:00
Kevin Roast
d28bbd41c5 XForm (edit XML inline) dialog converted to from old to "new skool" dialog framework - required to allow dialog displayed in an arbituary jsp container to be called using command framework via REST url
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5855 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-05 17:51:30 +00:00
David Caruana
7b09497a8f Web Scripts:
- allow tunelling of arbitrary http methods via POST (for clients who have restricted HTTP vocabulary support)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5849 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-05 12:02:25 +00:00
David Caruana
ac9960758f Web Scripts:
- Addition of reponse status code and template support
- Appropriate status codes added to login & ticket web scripts
- Web Script Index page also mapped to / url
- Various fixes applied to url to web script mapping

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5846 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-05 10:41:51 +00:00
Derek Hulley
77c5edc83c Added a raw download servlet at URL http://.../alfresco/dr?contentUrl=...?ticket=...
Added ContentService.getRawReader to get content directly using a content URL.  To access this, you need to be admin.
Fixed EHCacheAdapter to handle non-Serializable values.
Added tests for above and for AbstractRoutingContentStore.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5841 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-04 14:44:29 +00:00
Kevin Roast
c8b5be7bca Short URL format for common Alfresco servlets - for internal use
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5839 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-04 11:06:26 +00:00
Kevin Roast
45fcc962e1 ImageResolver now available on TemplateNode's converted from Script Node objects in webscript model
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5836 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-04 09:12:21 +00:00
Kevin Roast
142e54256b No-cache HTTP response headers added to appropriate web-client servlets.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5827 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-01 13:29:19 +00:00
Kevin Roast
fcf8278717 JSR-168 Portlet and Alfresco Dashlet config for MySpaces portlet. Fixes for web-script JSF runtime to encode URL args as per servlet runtime.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5826 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-01 13:27:16 +00:00
Derek Hulley
e0c1f856fa Added 'version' column to ADM entities
- A patch will assign initial version values to the entities
 - Deprecated TransactionUtil in favour of the RetryingTransactionHelper
 - Renamed RetryingTransactionHelper.Callback to RetryingTransactionHelper.RetryingTransactionCallback
   The name Callback clashes with many other classes in the classpath
 - Moved loads of components to be included in the retry behaviour
Duplicate name checks
 - This is done using a query, but the entity update is not written to the database early
 - Concurrent adds of the same-named child node will only fail at the end of the transaction
 - TODO: Detect the duplicate violation during transaction retrying
Workaround for ADMLuceneTest
 - Disable session size resource management during tests


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5823 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-01 12:40:17 +00:00
David Caruana
770185b59b Web Scripts:
- improved generated documentation (indexed by web script url & package)
- addition of ticket management web scripts
- addition of put, post & delete support to Web Script test server

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5820 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-31 18:03:17 +00:00
Derek Hulley
62965c458a ML Authentication Issues:
- Everyone, including guest, gets explicit full rights to each new cm:mlContainer instance.
 - The MultilingualContentService better permission checks against the content nodes that go in and out of it.
 - Changed some of the API return values to be more explicit about whether the cm:mlContainer or cm:mlDocument is required.
 - Added explicit tests to ensure that even guest is able to manipulate the cm:mlContainer.
ML Languages List:
 - The default value is now punted to the top of the list.
Various neatening.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5816 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-31 03:42:59 +00:00
Kevin Roast
4ede1e61ab Manage Task Dialog (from web-client) can now be launched from the MyTasks portlet for an individual task.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5813 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-30 16:35:40 +00:00
Derek Hulley
42c988cafd ML fixes
- The naming convention for a french empty translation of x.doc is x_fr.doc
 - Fixed mimetype and initial file sizes
 - Raised minor issue: AR-1487
 - Shortened crazy language names
 - Made language name ordering follow the declaration order in the config XML file


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5812 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-30 15:03:16 +00:00
Gavin Cornwell
1222d8b93a - Expired content job now uses a query to find expired items rather than crawling all nodes
- Fixed bug when handling expired items submitted by users removed from web project
- Re-applied config for comments in manage task dialogs
- Re-applied config for expired items actions
- Removed fix width for comment column in workflow history

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5811 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-30 12:08:36 +00:00
David Caruana
b2a11b9832 Web Scripts:
- support url extension for specifying required response format
- update scriptUrl method to handle various forms of specifying format on url
- refactor web script request hierarchy; remove copy & paste
- add reset web script registry to web script "Test Server"

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5803 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-29 17:34:36 +00:00
Kevin Roast
a484e6737f Delete space/document action added to MySpaces portlet.
Fixed subtle issue with ajax request being processed before outer txn was completed - caused refresh issues after Create/Upload/Delete actions.
More ui improvements to MySpaces portlet.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5799 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-29 13:57:41 +00:00
Kevin Roast
8aacc60d9a Minor fix change and spelling mistake
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5797 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-29 11:05:26 +00:00