Commit Graph

4869 Commits

Author SHA1 Message Date
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
Mike Hatfield
8eede70f12 Update doclist and treenode data webscripts to use JSON status response. Action webscript updates for JSON response codes. Doclist DataTable error message updates.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9520 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-19 13:03:43 +00:00
Kevin Roast
b500811c1b Fix to issue with expiring tickets not being handled in webframework (over agressive refactoring on my part)
Fix to issue with properties in Script model objects.
Fix to issue wtih docsummary.js - now sets store name correctly using new JavaScript Search API.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9513 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-19 10:46:59 +00:00
Simon Buckle
39630505e4 Added activity feed templates for event edit. Fixed date display problem. All edited details are now updated.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9512 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-19 10:04:05 +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
Simon Buckle
f4dcf3941d Modified scripts to allow initial version of event editing.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9507 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-18 16:00:32 +00:00
Simon Buckle
38338bfa73 Added activity templates for event deletion. Added event info panel. Modified scripts to handle event deletion.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9502 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-18 10:28:53 +00:00
Glen Johnson
acb9e4e3af Person Service REST API bits
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9500 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-17 13:10:54 +00:00
Simon Buckle
35d442f250 Fixed month refresh bug. Added scripts for returning information about an event. Event creation script (POST) now returns uri property of newly created event.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9488 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-16 15:46:30 +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
Simon Buckle
8b20de6874 Event creation now logs to the activity service. Adding initial versions of templates for displaying event creation info in the activities feed.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9480 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-16 11:03:38 +00:00
Jan Vonka
861dc8f931 Activity Service - add site/user feed RSS templates for collecting RSS items
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9475 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-13 15:31:32 +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
Erik Winlof
7bea34b914 - Moved common messages to the new global slingshot.properties
- Uploader: Now supports single upload
- Merged user-dashboard.ftl & collaboration-dashboard.ftl to dashboard.ftl
- Tested everything on Safari on Windows
- i18n for documentlibraries Filter & Tree components
- Create site: taborder ok again.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9451 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-11 14:52:04 +00:00
Simon Buckle
c3ade34655 Added day and week view of events to the calendar.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9447 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-11 11:17:54 +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
Simon Buckle
c9c8e7d148 Initial version of scripts for updating and deleting an event.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9438 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-10 13:17:49 +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
Mike Hatfield
3df8ff500e Fix fallout from data webscript refactor - creating folders in root component store
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9398 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-05 11:37:09 +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
Mike Hatfield
6878025007 Big doclib actions refactor to support REST API standards and general tidy up. Switched debugging back on (but removed alert). Location.hash workaround fixes for Firefox 2. Panel scrollbar issue fix for Firefox 2 (Mac only). Text insertion character fix for Firefox 2 - awaiting webframework htmlids to be updated. Started simple-dialog to give people a somewhat easier dialog framework.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9392 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-04 17:49:26 +00:00
Simon Buckle
5b1e25384f Added template that generates an icalendar feed for a site calendar.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9384 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-04 12:55:24 +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
Glen Johnson
732d49ae4e Latest drop of Invite Web Scripts, "invite" & "inviteresponse" (FreeMarker templates and Web Script Unit Tests still need to be added)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9353 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-02 11:21:43 +00:00
Glen Johnson
367433d586 Latest drop of Invite Workflow Process Definition and Model
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9352 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-02 11:12:17 +00:00
Mike Hatfield
1fa39e6f7c Fix for single- and double-quotes in titles and descriptions. More specific date format output by data webscripts to ensure correct parsing by Date() on the client.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9344 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-06-01 20:51:35 +00:00
Mike Hatfield
6f34972a7e Document Library CSS and layout updated to near latest visuals.
Delete file action.
3rd Party date format function wrapped in alfresco.js

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9343 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-31 08:36:48 +00:00
Mike Hatfield
fde98ebc15 Upload script really shouldn't be setting the mimetype to "UTF-8"
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9333 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-30 13:32:17 +00:00
Simon Buckle
c109d0793f Made the following changes to the calendar component:
- Modified view layout
- Added event caching
- Wired in calendar dashboard component

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9330 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-30 12:51:46 +00:00
Mike Hatfield
b388353f4f Fix for uploading into "/" path
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9328 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-30 11:56:49 +00:00
Gavin Cornwell
2cd92b2d52 - Fixed docsummary so that only files appear
- Added link to filename in docsummary dashlet so content can be viewed

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9325 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-30 11:21:45 +00:00
Mike Hatfield
ff90c9e0e5 Create Folder DocLib action. Forms runtime updated to allow scoped function callbacks. Alfresco.util.createYUIButton updated - also supports menu buttons.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9323 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-30 09:54:51 +00:00
Gavin Cornwell
77f3837df1 - Renamed 'doclist' dashlet to 'docsummary'
- Added docsummary data webscript to provide recently modified docs
- Updated styles for lists in dashboard.css
- Added 'error' style to base.css (just red text at the moment)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9320 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-30 09:27:07 +00:00
Simon Buckle
57610ebb64 Modified calendar REST API:
- Improved error handling in both event create and event list
- Modified event create descriptor file to reflect new parameters passed in

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9318 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-30 08:36:42 +00:00
Simon Buckle
93a5bda71a Initial import of the calendar component for slingshot including a calendar and rss feed dashlet.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9302 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-29 10:21:17 +00:00
Erik Winlof
6047ef6b5a Uploader
- Implemented the new requirements:
- Changing labels and disabling/enabling of buttons during different states
- Hides contentType drop down if it only has 1 item
- Can click remove during upload 
- white background for panels
- Lead text for empty table

Create site 
- Commented out logo section for TB1


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9287 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-28 17:23:12 +00:00
Mike Hatfield
611576f146 DocumentLibrary template "-full" removed. Actions webscript placeholder.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9284 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-28 14:01:12 +00:00
Mike Hatfield
80b4c0289d FileUpload updated to use Site Service, plus fixes for case-sensitive checks
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9283 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-28 13:46:28 +00:00
Erik Winlof
320f4736d0 Doc lib uploader for multiple files
Moved some css styles into upload component
Create site better error handling


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9277 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-28 10:32:11 +00:00
Erik Winlof
633fcf0a5d First version of the Upload web script.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9275 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-28 10:08:19 +00:00
Mike Hatfield
09fe9e72ef Added footer to alfresco_template. Lots of little component clean-ups. Document Library code documentation. Cleaned base.css
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9272 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-28 07:35:18 +00:00
Mike Hatfield
d325e99a2a DocList code cleanup. Event timing issues resolved. Site service used where possible - placeholder code to use companyhome for now.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9266 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-27 15:19:09 +00:00
Michael Uzqu
6c5763e8f4 Updated metadata retrieval webscript for Web Framework
- now writes out child nodes and hasChildren property

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9263 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-25 16:06:01 +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
Mike Hatfield
7cf8c15ce2 Merged V2.9 to HEAD
9229: Merged V2.1 to V2.9
      8654: Office add-in client updates
      8655: Office add-in UI updates
   9230: Minor updates to Office add-in UI webscripts


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9242 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-22 20:39:26 +00:00
Mike Hatfield
bbd9e402aa DocLibrary TreeView added.
alfresco_template.ftl optionally loads debug YUI scripts (default to true for now)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9236 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-22 15:37:25 +00:00
Derek Hulley
e101f725cf Merged V2.9 to HEAD
9018: MT: system-wide jobs should run across all stores/indexes
   9204: Merged V2.2 to V2.9
      8633: Merged V2.1 to V2.2
         8629: Merged V2.1-A to V2.1
            8493: Fixed ADB-51: ImporterBootstrap doesn't use transaction retrying
            8494: EHCache and JGroup patches and upgrades
            8546: ACT-1650: performance optimization
            8550: Fixes to transactional cache handling
            8553: Fixed tests: MLText is a Map, but will always have at least one entry, even that entry is null.
            8583: ACT-954: IndexInfo files now reopen when they close (for whatever reason)
      8640: Merged V2.1 to V2.2
         8638: Used correct exception type for IO channel reopen logic
      9102: Unit test to check that transactional cache size overrun is handled
      9106: Merged V2.1 to V2.2
         9043: Fixed AR-2291: SchemaBootstrap lock is only required before first SQL execution
         9045: Fix AR-2291: SchemaBootstrap lock is only required before first SQL execution
         9047: Fixed AR-2305: Index tracking in AUTO mode doesn't report anything on bootstrap
         9048: Fixed AR-2300: Random-based GUID instead of time-based GUIDs
         9049: Fix patches to only run once
         9050 <Defered>: Changed getString() method to use the available buffer length rather than a hard coded value.
         9060: Fixed ETWOONE-109 and ETWOONE-128: RetryingTransactionHelper fixes and improvements
         9061: Fixed NodeRefPropertyMethodInterceptorTest
         9075 <Defered>: Added delete permission check when marking a file for delete on close. ETWOONE-141/ACT-2416.
         9080: Fixed EHCache source zip
         9081: Fixed ETWOONE-118: Tomcat failed bootstrap doesn't clean up EHCache cluster structures
         9085: Fixed ETWOONE-154: Added JSR107 Jar to WAR
      9115: Fixed test: TransactionalCache uses LRU so repeatedly checking if a entry is there keeps it in the cache.
   9206: Merged V2.2 to V2.9
      8857: Improvements to ACL performance for large ACLs
      8951: Always check permission entry changes are made at position 0
   9219 <No change>: Made NTLMLogonDetails class Serializable, port of r8973.
   9220: Added delete permission check when marking a file for delete on close. Port of r9075.
   9222: Merged V2.1 to V2.9
      8683: Early warning for nodes indexed in the wrong store (ACT-964)
      8684: Enhanced tests
      8685: Enhanced tests
      8686: Additional tests
   9223: Merged V2.2 to V2.9
      9120: Merged V2.1 to V2.2
         8740: Fix for AR-2173 - do no recheck case of the user name when validating tickets (it has been done)
      9122: Additional unit test from support case.
   9224: Merged V2.2 to V2.9
      9076: Fixed ETWOTWO-426: Upgrading alfresco from 2.1.1 to 2.2 throws errors with Mysql 5.0.51
      9104: Merged V2.1 to V2.2
         9025: Fixed AR-2314, AR-2299: Optimizations after profiling
      9105: Merged V2.1 to V2.2
         8745: Fix AR-2233 (regression introduced by fix for AR-2221)
      9121: Merged V2.1 to V2.2
         9017: Fix index back up failing due to background index merge/deletions (inlcudes back port of CHK-2588)
      9137: Incorporated additions from Will into AVM console (ETWOTWO-439)
   9225: Merged V2.1 to V2.9
      8641: Merged V2.1-A to V2.1
         7729: Fix to Repository Web Service (queryAssociated) to allow reverse association lookup (ie. given target, get the source)
      8673: Fix for AR-2098 - shorter URL form now has NTLM filter mapping example in web.xml
      8682: Fix for AR-2005
      8695: AR-2054.
      8696: Improved sort test to include prefix form of field name
   9226: Fix ALFCOM-994 (see also earlier change in r9223)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9233 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-05-22 12:40:46 +00:00