Gavin Cornwell
d1924830c9
Added "type" property to the workflow instance response, mainly for future use and consistency with the task response, it currently duplicates the "name" property
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21901 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-20 13:49:50 +00:00
Gavin Cornwell
8cf1f25f3f
Added "avatarUrl" property to the "owner" and "initiator" objects in workflow REST API
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21900 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-20 13:46:42 +00:00
Gavin Cornwell
79c700b6fb
Merged BRANCHES/DEV/BELARUS/HEAD_2010_08_17 to HEAD:
...
21853: ALF-4304 : F101 All relevant REST APIs have filtering capabilities i.e. authority, state, priority and date range
ALF-3902: F77 REST API to get all task instances
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21899 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-20 12:31:58 +00:00
Derek Hulley
55bd4fc42e
Very minor formatting
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21895 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-20 10:41:09 +00:00
Gavin Cornwell
aa32a118ab
- Added isTaskEditable, isTaskReassignable, isTaskClaimable and isTaskReleasable to WorkflowService
...
- Added isEditable, isReassignable, isClaimable and isReleasable flags to task model in REST API
- Added outcome property to task model in REST API (label instead of raw value)
- Change "definitionTypeTitle" property to "type" and fixed up fallout
- Changed UI to use the isXXX flags above rather than copious amount of repeated checks
- Updated workflow details page to use outcome label, isEditable flag and some changes following discussion with Linton
- Added tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21890 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-20 09:07:02 +00:00
Steven Glover
f17f156887
ALF-4194 - minor fixes
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21883 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-19 19:02:18 +00:00
Mark Rogers
63edaf4c88
ALF-4127 - F86 Provide target log to source repository
...
implemented with unit test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21836 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-17 12:16:54 +00:00
Derek Hulley
a1f7724db4
ALF-4106 (ALF-4103): AuditService REST API
...
- Full start/stop/status using WebScripts
- AuditService API additions to support
- .ftl to generate json response
- Some javadoc and debug additions
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21802 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-14 20:42:26 +00:00
Nick Burch
5832f32f5a
Add in missing webscript tests to the suite, and sort the list of tests so it's easier to spot missing ones
...
(Several of these webscript tests seem to have been broken for a long time though...)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21791 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-13 13:20:40 +00:00
Nick Burch
3c16d97c3c
In the replication webscripts, return single responses still wrapped in data:{} entries
...
Update unit tests following this json change, and also fix them after the json changes from r21749
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21790 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-13 12:45:05 +00:00
Gavin Cornwell
f44b951918
Changed status response code of DELETE workflow-instance REST API to 200 to be consistent with all other DELETE APIs
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21747 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-11 18:11:16 +00:00
Nick Burch
984c17f7cd
ALF-4296 - different replication definition delete webscript http response code
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21739 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-11 14:26:01 +00:00
Gavin Cornwell
5f04340129
Added check to PUT task-instance REST API to ensure that the user claiming a task has the authority to do so i.e. they are a member of one of the pooled actor groups assigned to task.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21736 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-11 13:58:20 +00:00
Nick Burch
af204372ec
ALF-4296 - tweak how Status.STATUS_GONE is returned from the replication webscripts
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21730 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-11 11:52:58 +00:00
Nick Burch
53bca43b13
ALF-4133 & ALF-4284 - finish execute action webscripts, and return the details of the pending action in the result
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21720 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-10 17:01:38 +00:00
Steven Glover
d598e36b6d
Initial checkin for AWE enhancements:
...
ALF-4285: AWE - F22 - I can delete a content item
ALF-4195: AWE - F18 - Can create a new content asset based on an existing item
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21716 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-10 15:17:05 +00:00
Gavin Cornwell
3c13c3dafa
Merged BRANCHES/DEV/BELARUS/HEAD_2010_08_09 to HEAD:
...
21702: ALF-3903 : F91 REST API to get workflow instances for a node
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21714 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-10 14:21:37 +00:00
Nick Burch
9945c6f44c
ALF-4284 - allow cluster-wide visibility of pending actions, as well as running ones
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21707 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-10 13:38:56 +00:00
Nick Burch
7ed6d33810
ALF-4133 - Partial support for executing actions via the webscript
...
Will need a refactor of pending actions support before this can be finished, and unit tests can be enabled
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21683 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-09 14:26:33 +00:00
Nick Burch
5e3357245b
Part of ALF-4133 - running replication actions list webscript, plus tests
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21678 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-09 09:43:55 +00:00
Nick Burch
a87236b80e
Finish ALF-4134 - running action cancel request webscript
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21676 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-09 08:33:06 +00:00
Gavin Cornwell
d4f999b227
Merged BRANCHES/DEV/BELARUS/HEAD_2010_08_04 to HEAD:
...
21652: ALF-3898 : F68 REST API to cancel/delete a workflow instance
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21672 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-06 21:33:08 +00:00
Gavin Cornwell
5a053460df
Merged BRANCHES/DEV/BELARUS/HEAD_2010_08_04 to HEAD:
...
21592 & 21649: Workflow REST APIs for retrieving workflow instance collections
Includes:
ALF-3900: F62 REST API to get all workflow instances
ALF-3901: F64 REST API to get all workflow instances of a particular workflow definition
ALF-3905: F65 REST API to get a filtered list of workflow instances of a particular workflow definition (by initiator, state, date, priority)
ALF-3906: F63 REST API to get a filtered list of workflow instances (by initiator, status, date, priority)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21671 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-06 21:19:09 +00:00
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
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
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
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
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