Commit Graph

320 Commits

Author SHA1 Message Date
Jamal Kaabi-Mofrad
0551900f4c Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
127447 jvonka: Node Associations - creating/listing primary child assoc type other than cm:contains
   - follow-on fix + test based on review back (create children below content)
   - also -ve test for model integrity excet
   - RA-1092


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127611 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 22:23:51 +00:00
Jamal Kaabi-Mofrad
78b82716c8 Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
127419 jvonka: Node Associations - 1st cut for creating/listing primary child assoc type other than cm:contains
   - TODO sanity tests, api spec tweaks
   RA-1092


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127606 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 22:22:56 +00:00
Jamal Kaabi-Mofrad
3a0b2f1570 Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
127414 jvonka: Node Associations - create node with assocs (peer &/or secondary child)
   - can be optionally used to create (eg. mandatory) assoc(s) to other existing node(s)
   RA-925


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127604 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 22:19:54 +00:00
Jamal Kaabi-Mofrad
2648cf3f69 Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
127342 jvonka: Node Associations - peer assoc permissions
   - alt impl using temp wrapper instead of full override
   RA-1062


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127602 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 22:19:36 +00:00
Jamal Kaabi-Mofrad
084016b45c Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
127329 jvonka: Node Associations - initial paging (for secondary child assocs & parents)
   - as per review comment for RA-920


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127600 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 22:19:10 +00:00
Jamal Kaabi-Mofrad
05b364b07f Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
127314 jvonka: Fix RA-929 (Error message should not be empty when creating duplicate peer association)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127597 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 22:18:04 +00:00
Jamal Kaabi-Mofrad
3a1851de41 Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
127284 jvonka: Node Associations - add first-cut of permissions
   RA-1062


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127595 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 22:17:47 +00:00
Jamal Kaabi-Mofrad
932c2fdc56 Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
127156 jvonka: Node Associations - trivial: remove unused imports (Assoc.java)
   RA-742


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127591 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 22:16:39 +00:00
Jamal Kaabi-Mofrad
09a308bdbf Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
127094 jvonka: Node Associations - child assocs - isPrimary filter (for /parents and /children)
   - RA-1053


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127589 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 22:14:03 +00:00
Jamal Kaabi-Mofrad
51729fa674 Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
127040 jvonka: Node Associations - child & peer
   - exclude "sys" namespace
   - common code for listing
   - RA-745, 920, RA-921, RA-930, RA-742, RA-918, RA-919


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127587 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 22:07:55 +00:00
Jamal Kaabi-Mofrad
b326aceb30 Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
126699 jkaabimofrad: Fixed merge issue.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127586 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 22:07:15 +00:00
Jamal Kaabi-Mofrad
c3f6e0310a reverted r126691.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127583 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 22:06:11 +00:00
Jamal Kaabi-Mofrad
ea1a050360 Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
126691 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to API-STRIKES-BACK (5.2.0)
      126661 jvonka: RA-1045: As requested for SFS, allow rendition details (available/created renditions only) for shared link to be listed via no auth.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127582 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:56:29 +00:00
Jamal Kaabi-Mofrad
68ca345c71 Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
126681 jvonka: Node Associations - child assocs
   - in responses return isPrimary (rather than isPrimaryParent)
   - RA-920, RA-930, RA-634


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127581 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:45:59 +00:00
Jamal Kaabi-Mofrad
4bb6852a79 Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
126567 jvonka: Node Associations - further updates
   - for child assocs, do not expose assoc child qname (nominally like file/folder for primary child assoc)
   - additional api tests (+ve & -ve) for peer assocs & secondary child assocs
   - RA-745, RA-920, RA-921, RA-930, RA-742, RA-918, RA-919


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127579 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:42:19 +00:00
Jamal Kaabi-Mofrad
69aa553a2f Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
126282 gjames: RA-878:All api errors should return the standard error, fix 404s


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127573 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:40:27 +00:00
Jamal Kaabi-Mofrad
f17a4d19cf Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
126242 gjames: RA-878:All api errors should return the standard error object


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127571 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:40:03 +00:00
Jamal Kaabi-Mofrad
00c3315166 Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
126202 jvonka: Node Associations - follow-on to add missing file
   - oops, sorry !


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127570 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:39:48 +00:00
Jamal Kaabi-Mofrad
4e8f965a36 Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
126200 jvonka: Node Associations - follow-on to r126104 to provide initial impl for both peer & child assocs
   - experimental -> pending detailed review & discussion (and tests)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127569 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:39:39 +00:00
Jamal Kaabi-Mofrad
f3b786ec57 Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
126104 jvonka: Node (Peer) Associations - initial wip
   - /nodes/{srcId}/targets (GET, POST)
   - /nodes/{srcId}/targets/{tgtId} (DELETE)
   - /nodes/{tgtId}/sources (GET)
   - TODO ... assoc tests !
   - RA-742, RA-918, RA-919


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127568 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:39:26 +00:00
Jamal Kaabi-Mofrad
355ae575ef Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
126000 jkaabimofrad: RA-933, RA-934, RA-972: Changed the "tickets" API namespace from "alfresco" to "authentication". Also, added support to the REST API test fwk to handle different API namespaces.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127567 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:39:14 +00:00
Jamal Kaabi-Mofrad
5130dc1702 Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
125748 jkaabimofrad: RA-933, RA-934, RA-972: Modified the logout and validate ticket API to support only "-me-" (dummy parameter) in the URL path rather than ticket id. Also, renamed the JSON attributes.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127562 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:38:17 +00:00
Jamal Kaabi-Mofrad
aee533110c Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
125708 jvonka: RA-779 / RA-780: Sites API - fix (create site + permanent delete + create site with same site id)
   - RA-967


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127561 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:37:56 +00:00
Jamal Kaabi-Mofrad
f31d286c8c Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
125666 jkaabimofrad: RA-933: Fixed API tests failures by refactoring the noAuth functionality.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127560 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:37:21 +00:00
Jamal Kaabi-Mofrad
058d52387f Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
125609 jvonka: RA-952: If relative path cannot be resolved due to a permissionn error, return 404 (rather than 403)
   - when listing children or getting node info


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127557 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:26:40 +00:00
Jamal Kaabi-Mofrad
d29575ff1b Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
125604 jkaabimofrad: RA-933: Initial commit for ticket base authentication.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127556 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:26:29 +00:00
Jamal Kaabi-Mofrad
fb2bf792e7 Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
125601 jvonka: RA-779: Sites API - create site
   - additional tests (site description & also max lengths for id, title & description)
   - fix site id validation (repeating valid chars)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127555 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:26:16 +00:00
Jamal Kaabi-Mofrad
e9fa85196d Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
125559 gjames: RA-779: Added @UniqueId lost during refactor


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127537 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:19:39 +00:00
Jamal Kaabi-Mofrad
de7b79f001 Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
125537 jvonka: RA-779 / RA-780: Sites API - additional tests, also add skipConfiguration (pending open question)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127534 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:18:56 +00:00
Jamal Kaabi-Mofrad
aff9bd8941 Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
125513 jvonka: RA-779 / RA-780: Sites API - create site & delete site
   - follow-on improvemnts (generating site id, adding favorite with option to sip)
   - more tests (+ve & -ve)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127531 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:18:26 +00:00
Jamal Kaabi-Mofrad
ba46d452de Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
125453 jvonka: RA-779 / RA-780: Sites API - initial commit for create site [default/functional Share site ;-)] & delete site
   -add new files, doh !


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127529 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:18:03 +00:00
Jamal Kaabi-Mofrad
90920131ca Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
125406 jvonka: RA-779 / RA-780: Sites API - initial commit for create site [default/functional Share site ;-)] & delete site


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127528 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:17:46 +00:00
Jamal Kaabi-Mofrad
ce95d147e1 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
127427 jkaabimofrad: RA-1052: Modified the upload API so that the failure of the async request to create a rendition wouldn't fail the upload.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127445 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-31 10:08:07 +00:00
Jamal Kaabi-Mofrad
0c017176a3 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
127312 jkaabimofrad: SFS-577, SFS-581: Fixed the shared-link no-auth APIs issue with multi-tenancy.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127316 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-23 10:11:10 +00:00
Jamal Kaabi-Mofrad
ab4ca5b2dd Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
126664 jkaabimofrad: RA-1045: Removed unused imports.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126690 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 09:48:43 +00:00
Jamal Kaabi-Mofrad
2c6a56e463 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
126661 jvonka: RA-1045: As requested for SFS, allow rendition details (available/created renditions only) for shared link to be listed via no auth.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126689 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 09:48:34 +00:00
Jamal Kaabi-Mofrad
256ba70e5c Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
126115 jvonka: RA-1028: Fix copy bug - if same parent & name (ie. nothing copied) then return 409 rather than 201
   - see also SFS-554


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126635 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 12:11:52 +00:00
Jamal Kaabi-Mofrad
8696c2cef4 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
125356 gjames: RA-917 Success code for restore operation should be 200


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126619 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:52:44 +00:00
Jamal Kaabi-Mofrad
f250df68da Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
125355 gjames: RA-901: Success code for move operation should be 200


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126618 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:52:33 +00:00
Jamal Kaabi-Mofrad
84c6d95cb6 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
125353 gjames: Added Restapi Client to the ratings activity post


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126617 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:52:16 +00:00
Jamal Kaabi-Mofrad
8149920748 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
125219 jkaabimofrad: Fixed minor formatting issue in the toString methods. Also, removed unused imports.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126616 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:52:02 +00:00
Jamal Kaabi-Mofrad
cbc53527ee Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
125032 jvonka: RA-767: Queries API - bug fixes (and updated tests)
   - optional rootNodeId should allow well-known aliases (-root-,-my-,-shared-)
   - investigate and 'fix' apparent underlying issue with '.' which causes 500 in FTS query parser, eg. abc.txt


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126608 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:49:46 +00:00
Jamal Kaabi-Mofrad
da10a84d50 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
125020 gjames: RA-884: Posting download activities and formatting


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126607 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:49:40 +00:00
Jamal Kaabi-Mofrad
7e471f821b Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124997 gjames: RA-910: Changed the app_tool name to restapi


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126606 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:49:28 +00:00
Jamal Kaabi-Mofrad
e8463992ae Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124992 gjames: RA-847, RA-848: Showing orignal parent path but not parentid


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126605 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:48:35 +00:00
Jamal Kaabi-Mofrad
207ffbf20a Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124980 gjames: RA-910: Added a "restapi" clientType to alfresco-events


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126604 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:48:28 +00:00
Jamal Kaabi-Mofrad
a8d0200912 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124973 gjames: RA-847: formatting changes


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126603 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:45:42 +00:00
Jamal Kaabi-Mofrad
3a8e5593b8 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124972 gjames: RA-884: Posting download/delete activites using a transaction listener


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126602 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:45:19 +00:00
Jamal Kaabi-Mofrad
bda2c56436 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124919 jvonka: RA-767: Queries API - termMinLength can be optionally overridden
   - via spring bean override (ie. system-wide / static)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126601 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:45:11 +00:00
Jamal Kaabi-Mofrad
ac57b266ac Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124911 jvonka: RA-767: Queries API - additional tests & fixes (re: tag hits & also optional "include" info in results)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126600 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:45:04 +00:00