Commit Graph

1193 Commits

Author SHA1 Message Date
Nick Burch
a013f35828 Start on ALF-4134 - Get Details webscript
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21666 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-06 17:21:19 +00:00
Nick Burch
e4565431bb First part of ALF-4133 - webscript to fetch running actions
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21665 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-06 15:34:46 +00:00
David Caruana
681c9b6785 Merged BRANCHES/DEV/V3.3-BUG-FIX to HEAD:
21646: ALF-3752: Getting Parent on a specific version throws exception
   21655: Fix ALF-4006: Incorrect search result after renaming a folder
   21634: Fix ALF-3822: Storing of datetime does not work

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21662 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-06 14:24:02 +00:00
Nick Burch
a36decbb8e ALF-4135 - Webscript support for deleting replication definitions
Includes webscript unit tests, and expands the service unit tests


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21641 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-05 13:44:01 +00:00
Dave Ward
9421100da5 Merged V3.3-BUG-FIX to HEAD
21536: Fix for ALF-4068 - IE6 XSS issue
   21538: Added missing I18N label for when no wiki page defined in dashlet POST component
   21562: Merged BRANCHES/DEV/BELARUS/V3.3-BUG-FIX-2010_06_14 to BRANCHES/DEV/V3.3-BUG-FIX:
      20742: ALF-3572: Treat PasswordText as default for CMIS Web Service authentication
   21575: Merged BRANCHES/DEV/BELARUS/V3.3-BUG-FIX-2010_06_24 to BRANCHES/DEV/V3.3-BUG-FIX:
      21098: Bug is related to unsupported CMISResultSetMetaDataImpl.getLimitBy() method. But LimitBy parameter is required for a lot of search logic parts including permissions and constraints checks. To support LimitBy parameter the following solution was implemented:
   21578: Dictionary DAO: wrap initDictionary in writeLock
      - investigating intermittent failure of RepoAdminServiceImplTest.testSimpleDynamicModelViaNodeService (eg. b29/b59 of V3.3-BUG-FIX)
   21593: Fix ALF-1703: properties of type 'propertyXML' are returned as 'propertyString'
   21594: Fix ALF-4202: Cannot issue query with join via Web Services binding
      - wasn't issuing query with CMISQueryMode.CMS_WITH_ALFRESCO_EXTENSIONS query mode
   21611: Fix ALF-2649: CMIS query join return partial entry result
   21627: Merged V3.3 to V3.3-BUG-FIX
      21532: Fix for ALF-3042: Missing Null check for the propertyDefinition.
         - fixed all unprotected uses within indexing and query
      21534: Fix for ALF-2151: Range queries don't work.
         - docs updated 
         - added unit test to check for failure of d:content ranges as expected
      21558: Fix for ALF-4183 - Publishing a draft blog post does not turn on permission inheritence
      21609: Fix NFS problems with gEdit and OpenOffice when editing documents in the root of the filesystem. ALF-3955.
         Also fixed an unreported issue where an InvalidNodeRefException is thrown by the file cache timer after several edit/save operations on a file.
      21626: Merged PATCHES/V3.2.1 to V3.3
         21606: ALF-4044: Introduced new policy.content.update.ignoreEmpty setting, that when true causes the repository to behave as it did before the fix to ALF-254. I.e. writing empty content will not trigger onContentPropertyUpdate policies or inbound content rules. This enables better compatibility with mac clients using CIFS or WebDAV; they actually create and close a file before appending its data.
         21607: (RECORD ONLY) Incremented version label


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21628 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-05 09:08:56 +00:00
Mike Hatfield
5f61bd9c9e User Status now exposed in People Finder (non-compact mode), Site Colleagues dashlet and Site Members UI
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21624 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-05 07:23:16 +00:00
Nick Burch
2f8a9f1d58 Finish ALF-4132 & ALF-4131 - edit and create replication definition webscripts, including unit tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21598 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-04 14:17:53 +00:00
Nick Burch
19a026e3a4 Initial work for ALF-4131 - Update Replication Definition Webscript
Stubs out webscript and unit tests


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21589 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-04 11:13:15 +00:00
Neil McErlean
40a6a8caf6 Rating Service. Now limited to one rating scheme per user per node.
Without an explicit requirement for multiple rating schemes being applied to a node by a user and in order to simplify
the code and ease maintenance, the RatingService now only supports one rating scheme per node per user.
A rating can be applied, removed and a new rating in another scheme applied. But if the first is not removed, an exception will be thrown by the service.

This change was a simple edit in the model with changes to the service implementation and test code.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21585 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-04 07:44:07 +00:00
Gavin Cornwell
1dd3aa14f6 Merged BRANCHES/DEV/BELARUS/HEAD_2010_07_29 to HEAD:
21577: ALF-3895 : F66 REST API to get a specific workflow instance

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21584 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-04 07:27:55 +00:00
Gavin Cornwell
adfa5cfbca Added bpm:reassignable property to bpm:workflowTask with default value of true and added to invite task with default value of false.
Also fixed the hidden transition handling in task form processor, cancel for invite task is no longer returned and thus rendered in the UI.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21583 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-04 07:00:40 +00:00
Gavin Cornwell
eeff85b13a The check for whether a task can be updated has been loosened, means pooled tasks can now be claimed.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21582 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-04 05:55:38 +00:00
Nick Burch
a343197d68 Initial work for ALF-4132 - create replication definition webscript
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21574 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-03 15:12:35 +00:00
Gavin Cornwell
d6914eda7a Tidy up of task-instance related REST APIs (path and workflowInstance are now part of simple task response).
Also removed detailed=true parameter from my tasks dashlet so it gets smaller JSON response, everything it needs is now in the simple task response payload.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21573 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-03 15:10:50 +00:00
Nick Burch
d2ceb3bc73 Finish ALF-4130 - Replication Details get webscript
Includes unit tests for most states of replication definitions


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21572 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-03 14:32:44 +00:00
Gavin Cornwell
75065e6daa Merged BRANCHES/DEV/BELARUS/HEAD_2010_07_29 to HEAD:
21523: ALF-3895 : F66 REST API to get a specific workflow instance

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21569 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-03 13:21:31 +00:00
Mike Hatfield
c853a3cd6b ALF-3621: Share Header bar redesign.
- Header items now configurable via share-config(-custom)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21567 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-03 11:59:18 +00:00
Nick Burch
dd5a727408 ALF-4130 - Continue work on replication details fetch webscript
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21566 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-03 11:47:58 +00:00
N Smith
90fbffbb58 Updated the Workflow Rest API classes to use the getter methods on various Workflow DTOs instead of accessing the public fields.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21565 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-03 11:41:28 +00:00
David Webster
837507b722 New Activity Messages (ALF-3626), fixes Google Docs (ALF-2698) and Inline Edit issues (ALF-2998)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21553 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-03 08:11:48 +00:00
Nick Burch
fac612f159 Start on ALF-4130 (F105) - replication details fetch webscript.
Basics are returned, and unit tested, but the remainder of the details need to be retrieved, computed, output and tested


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21546 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-02 16:38:43 +00:00
Nick Burch
a1c412e4e6 Finish ALF-4129 - list replication definitions webscript
Fix up the freemarker output, add sorting support, and webscript unit tests


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21539 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-02 13:22:42 +00:00
Erik Winlof
04de456146 ALF-393: Added "detailed" parameter to task-instances webscript and made Share use "initiator" to decide if an "edit" button/icon shall be displayed
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21537 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-02 12:03:56 +00:00
Nick Burch
c7ba8fea8a ALF-4129 - More work on replication definitions listing webscript
Move towards a model builder, and start on unit tests


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21524 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-30 16:41:43 +00:00
Derek Hulley
efc0ca3913 ALF-4106 (ALF-4103): AuditService REST API
- Enable/disable auditing and tests
 - TODO: Use .ftl to generate JSON from model


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21520 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-30 15:48:02 +00:00
Nick Burch
54fc5b8f83 Initial cut of the replication definitions list webscript (ALF-4129)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21514 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-30 15:09:49 +00:00
Derek Hulley
528d7c6b66 Reverse-merged 21489: @override tags
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21499 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-30 09:31:30 +00:00
Dave Ward
4979a0b2bd Removed @Override tags for JDK 1.6
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21489 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-29 13:13:21 +00:00
Dave Ward
829a9b6a33 Merged V3.3-BUG-FIX to HEAD
21384: ALF-2879: XAM Connector changes
      - Added callbacks for code to modify the XSet fields
      - Changed XAMArchivedAspect to use callback (moved code out of XAMContentStore)
      - Added XAMNodePropertyWriter to set metadata including some global properties and node-specific values
      - See readme.txt for details
   21393: ALF-2879: XAM Connector changes
      - Sprinkled DEBUG logging around
      - Updated readme.txt with logging details
      - Metadata writing tested and no changes required
   21403: ALF-2879: XAM Connector changes
      - Workaround ContentStoreSelector bug present in V3.3.2 - NodeRef context not present during write
      - Added bug back into ContentStoreSelector for testing and verified that metadata is written to XSet
   21487: Merged V3.3 to V3.3-BUG-FIX
      21374: ALF-4028: In "createNode", save the ScriptNode before calling cmis.applyVersioningState to ensure updated properties have been saved.
      21389: Add main to run index check against current repository by hand
      21390: ALF-4016: Files uploaded to ts are not visible
         - multi-threaded tracking never abandons an index chunk
         - warns of long running transaction chunks
         - logging change
      21392: ALF-4016: Files uploaded to ts are not visible
         - make sure FTS update exceptions can not lead to a TX commit and deletions
      21428: NFS fixes to return the current file size in the post op attributes if the file is open, fixes to rename to close the current file if open before the rename, also delete the target file for a rename if it exists as per NFS v3 spec. ALF-3181, ALF-3954, ALF-3955, ALF-3956, ALF-3957.
      21443: Merged PATCHES/V3.2.1 to V3.3
         21396: ALF-3779, ALF-4025: Corrected driving column in alf_node_status --FOREACH statement to handle null node_ids and added --FOREACH for building of t_summary_nstat
      21455: Remove old language pack pieces
      21458: Fix linux install for some distros (ALF-4000)
      21467: Merged DEV/TEMPORARY to V3.3
         21444: ALF-3962 : Message 'The current implementation of the version service does not support the creation of branches.' being thrown from Version2ServiceImpl
            1. Change AbstractVersionServiceImpl.invokeCalculateVersionLabel to make SerialVersionLabelPolicy behaviour default rather than the versionNumber when calculating new version label. 
            2. Change Version2ServiceImpl to handle any existing corrupted version histories that are marked with version label "0" (see Version2ServiceImpl. checkForCorruptedVersions method). 
            3. Unit tests was updated.
         21464: Reimplemented according to David's review.
            1. Update logic of checkForCorruptedVersions method in Version2ServiceImpl. A reusable protected method (getAllVersions) was created containing the shared code.
            2. Update unit test to include tests for the corrupt version fixing behaviour.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21488 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-29 13:10:48 +00:00
Derek Hulley
67cca3bff0 ALF-4106 (ALF-4103): AuditService enhancements
- Additional methods to get all available applications
 - Web Script retrieval of applications and enabled/disabled states
 - Tests


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21485 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-29 12:15:27 +00:00
Derek Hulley
310000dd28 SAIL-240 (SAIL-294) AuditDAO: Web Script starter for AuditService incl. test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21472 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-28 17:41:52 +00:00
Gavin Cornwell
21bab3d746 Merged BRANCHES/DEV/BELARUS/HEAD_2010_07_28 to HEAD:
21459: ALF-3897 (F79) REST API to get a specific task instance

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21463 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-28 15:01:00 +00:00
Derek Hulley
3d02a82d20 Removed tabs and moved transfer-related bean out from between rule beans
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21416 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-26 15:54:37 +00:00
Mike Hatfield
a10012c49b ALF-3709: User Status on Profile. Added cm:userStatusTime datetime property to cm:person and exposed the current value via the GET userprofile webscript. Time property is updated by userprofile webscript if status property is updated. Also added userstatus POST webscript.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21405 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-26 11:10:33 +00:00
Gavin Cornwell
7eef4234aa Merged BRANCHES/DEV/BELARUS/HEAD_2010_07_19 to HEAD:
21326: ALF-3894 : F81 REST API to update properties for a particular task instance
   21376: ALF-3894 : F81 REST API to update properties for a particular task instance

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21404 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-26 10:54:01 +00:00
Gavin Cornwell
1b35eca416 Fixed double encoding issue in task.lib.ftl
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21371 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-22 21:01:19 +00:00
Gavin Cornwell
576d738893 - Fixed issue with selectone and selectmany form controls in view mode when a LIST constraint using numbers is applied to the field
- Added modified and modifier to the 'pickeritems' data webscript so it can be used by "list" display mode in association control

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21359 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-22 16:10:28 +00:00
Gavin Cornwell
b8dbc57437 ALF-3709: User Status on Profile. Added cm:userStatus text property to cm:person and exposed the current value via the GET userprofile webscript. The property can be updated with the existing webscripts as a generic map of person properties is accepted.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21316 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-20 21:23:12 +00:00
Gavin Cornwell
9bec2b070b Merged BRANCHES/DEV/BELARUS/HEAD-2010_07_09 to HEAD (with modifications)
21156: Implemented GET /api/task-instances/{task_instance_id}

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21181 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-14 22:20:54 +00:00
N Smith
5f41d9783f Created the new WorkflowFormProcessor which processes forms based on a workflow definition name.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21172 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-14 15:10:17 +00:00
Dave Ward
0756008d0f Merged V3.3-BUG-FIX to HEAD
21132: ALF-3855: Refactored repository authentication filters so that same code is re-used for Web Client, Web Script, Web DAV and Sharepoint authentication
      - 'Uber Filter' part 3
      - Means we now support Kerberos Authentication for Sharepoint
      - Threw away a lot of duplicated code
      - New common AuthenticationDriver interface created and now implemented by core authentication code
      - Sharepoint and BaseSSOAuthenticationFilter now both use AuthenticationDrivers
      - Needs regression testing
   21137: ALF-3841: Alfresco Explorer SSO Authentication Filters now accept ticket parameters too
      - Can be turned back off with ntlm.authentication.browser.ticketLogons=false or kerberos.authentication.browser.ticketLogons=false
      - Wiki updated
   21141: ALF-3855: Fixed wiring
   21146: ALF-2879: 'xamconnector' module behaviour for xam:archived
      - Application of xam:archived recurses and locks both files and folders
      - cm:content nodes also have the store selector applied for the XAMContentStore
      - TODO: Archive properties
   21165: Fixed ALF-3867: SQL format error when re-instating orphaned content URL
      - Parameter was not bounded with #
      - Added unit test to ensure SQL generated is correct
   21169: Merged V3.3 to V3.3-BUG-FIX
      21168: (RECORD ONLY Merged PATCHES/V3.2.1 to V3.3
         21166: Merged V3.3-BUG-FIX to PATCHES/V3.2.1
            21165: Fixed ALF-3867: SQL format error when re-instating orphaned content URL
               - Parameter was not bounded with #
               - Added unit test to ensure SQL generated is correct
      21118: Latest SpringSurf libs:
         - Fix for missing read of "keystore" in Remote config
         - Session Fixation attack mitigation improvements:
         - A Surf application no longer generates a Session (and therefore no JSESSIONID) until a user is authenticated - simply visiting a login page or similar will no longer generate a Session
         - Existing Sessions are always invalidated and destroyed if found when a user is authenticated via the LoginController (i.e. due to a JSESSIONID captured via an XSS attack)

         Merged HEAD to V3.3
            21111: Fix to encode form parameter on Share login template - prevents its potential use as an reflected XSS attack vector
            21117: Session Fixation mitigation:
               - Removed Session creation from Share index.jsp

         Merged V3.3-BUG-FIX-2010_06_24 to V3.3
            21096: Fix for ALF-3718 - JSF client login page input validator is too aggressive ("Login" button is disabled if username contains forward slash)
      21088: Latest SpringSurf libs


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21170 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-14 14:49:50 +00:00
Neil McErlean
2f6aaaa819 Rating Service. Added DELETE webscript and fixed bug.
There is now a rating.delete webscript.
  Plus a bug was fixed where the ratings weren't actually being deleted.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21161 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-14 13:28:46 +00:00
Mark Rogers
bd829f9c08 transfer service : work in progress.
implementation of transfer requsite.
    API change isComplete to isSync

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21130 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-13 14:04:23 +00:00
Neil McErlean
4db99ec25f Rating Service. Allow fractional ratings.
I've changed the ratings 'score' from an integer to a float as fractional ratings seems like a reasonable idea to me.
  This had impact all through the Java layer, the REST layer, the model and the test code.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21128 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-13 13:31:07 +00:00
Gavin Cornwell
53cee95d12 Changing workflow REST API URLs to be plural for consistency with other services and also some minor formatting of FTL
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21127 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-13 13:13:16 +00:00
Neil McErlean
e80119fe6c RatingService GET node ratings statistics via REST.
Added node rating stats to the ratings.get webscript (for each scheme):
    average (mean) of all ratings for this node.
    total (sum) of all ratings for this node.
    count of all ratings for this node.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21108 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-12 16:07:08 +00:00
Neil McErlean
f156a4f4b5 RatingService.
Added rating, ratingScheme to the POST response.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21090 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-12 12:17:30 +00:00
Neil McErlean
83bb722d2e Rating Service. Work ongoing.
Added a POST webscript to apply a rating to a node.
  Associated REST test: apply rating as user one, get, apply rating as user two, get.
  Deleted the PUT webscript (half-formed anyway)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21086 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-12 11:33:57 +00:00
Neil McErlean
91efe3970c Rating Service.
Added proper ftl formatting for ints and dates. ?c and the dateFormat macro.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21073 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-12 09:40:49 +00:00
Neil McErlean
9e57d41da1 Rating Service.
Removing dead code from not-yet-implemented Post, Put webscript controllers.
  (Accidentally checked in works in progress in previous check-in)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21069 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-12 09:00:27 +00:00