Commit Graph

164 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
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
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
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
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
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
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
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
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
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
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
Jamal Kaabi-Mofrad
b97308da93 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124903 gjames: RA-850 Purge Deleted Node


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126599 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:44:54 +00:00
Jamal Kaabi-Mofrad
f86365ae50 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124844 jvonka: RA-767: Queries API - optionally restrict by nodeType
   - also added tests (+ve/-ve)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126598 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:44:40 +00:00
Jamal Kaabi-Mofrad
f7744f1652 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124828 jvonka: RA-896 - List Node Children filtering - fix build/test fallout


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126595 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:44:08 +00:00
Jamal Kaabi-Mofrad
51e1af73a2 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124827 gjames: RA-884:Remove unused fileinfo


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126594 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:43:52 +00:00
Jamal Kaabi-Mofrad
3e05671735 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124825 gjames: RA-849: Restore Deleted Node


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126592 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:43:34 +00:00
Jamal Kaabi-Mofrad
4fb66c3f2f Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124819 jvonka: RA-896 - List Node Children filtering - additional fixes & tests, when filtering by isFile &/or isFolder


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126589 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:43:06 +00:00
Jamal Kaabi-Mofrad
846f24ed47 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124813 jkaabimofrad: RA-889: Changed multipart field's name from "filename" to "name".


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126588 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:42:56 +00:00
Jamal Kaabi-Mofrad
e9b8d4542e Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124792 jvonka: RA-767: Queries API - min 3 alphanumeric chars in search 'term' (pending requirement review)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126586 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:40:15 +00:00
Jamal Kaabi-Mofrad
80d27de1f8 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124741 jkaabimofrad: RA-895: fixed the error message when the relativePath does not exist.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126582 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:38:47 +00:00
Jamal Kaabi-Mofrad
1dc9ef8d8e Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124740 gjames: RA-847, RA-848 Retrieving deleted nodes


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126581 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:38:32 +00:00
Jamal Kaabi-Mofrad
4d8e00f773 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124677 jvonka: RA-767: Queries API - "live-search-nodes" - add orderBy options (& more tests)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126576 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:37:11 +00:00
Jamal Kaabi-Mofrad
0541849643 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124672 jkaabimofrad: Added check for spring bean DI (as before it caused SFS cloud to fail when downloading or creating docs as we are extending the NodesImpl in the cloud overlay). Also, minor fixes to NodesImpl.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126575 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:36:40 +00:00
Jamal Kaabi-Mofrad
007b54c205 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124603 jvonka: RA-767: Queries API - 1st cut for "live-search-nodes" (wip)
   - initial commit with basic support for 'term' (and optional 'rootNodeId' &/or 'nodeType')


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126572 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:31:18 +00:00
Jamal Kaabi-Mofrad
78bb09840c Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124565 gjames: RA-884: Posting DOWNLOAD activities in a new (non-readonly) transaction


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126569 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:30:47 +00:00
Jamal Kaabi-Mofrad
767da9105c Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124563 gjames: RA-884: Posting activities for file/folder deleted


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126566 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:30:19 +00:00
Jamal Kaabi-Mofrad
e333004090 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124562 gjames: RA-884: Posting activities for file/folder added/updated


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126565 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:30:06 +00:00
Jamal Kaabi-Mofrad
a2378b1422 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124548 jvonka: RA-834, RA-678: create "renditions" request only applicable when creating/uploading file via multipart/form-data (not when creating empty file via json request)


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