Commit Graph

340 Commits

Author SHA1 Message Date
Cristian Turlica
fe279c2eb6 REPO-1359: Filter sites by visibility - implement the API
- added filter sites by visibility

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131172 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-04 11:43:34 +00:00
Gethin James
9975042571 SEARCH-189: Always return skipCount and maxItems
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131073 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-30 11:22:15 +00:00
Jan Vonka
533e948222 REPO-1027: V1 REST API - fix error handling (add site member)
- fix error code (should be 400 not 500) & add -ve api tests
- ACE-5458

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130871 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-22 09:27:50 +00:00
Jan Vonka
62f10172a6 REPO-1027: V1 REST API - fix error handling (get site membership request)
- fix error code (should be 404 not 500) & add -ve api test
- ACE-2049 / ACE-5442

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130868 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-22 08:49:27 +00:00
Jan Vonka
77b1eac3d5 REST API: Nodes - trivial (JavaDoc correction)
- replace "select" & "properties" (with "include" & "fields")

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130856 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-21 12:08:59 +00:00
Jan Vonka
0aed749b05 REPO-1058 / REPO-1244: REST API - list Sites - orderBy
- tweak the default (as agreed with GC)
- update automated unit test (and also refactor to make it re-runnable and to consistently use create site api)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130854 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-21 10:13:59 +00:00
Jan Vonka
6242e57e6c REPO-1058: REST API - list sites that person is member of ...
- fix orderBy tests and backward compatibility
- REPO-1242,  / REPO-1244

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130783 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-19 13:03:35 +00:00
Jan Vonka
660d46a829 REPO-1058 / REPO-1242: REST API - list sites that person is member of - fix orderBy (id, title or role)
- fix orderBy validation as per existing capabilities
- TODO add tests (see REPO-1244)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130774 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-19 10:56:09 +00:00
Gethin James
f1b0d77105 SEARCH-121: Facet fields need to return a List in the search context
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130683 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-15 11:15:20 +00:00
Jan Vonka
08eb4aa4dc REPO-1058 / REPO-1242: REST API - list sites - add option to orderBy (id, title or description)
- initial implementation (note: default remains "id asc")
- TODO add tests (see REPO-1244)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130681 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-15 10:47:00 +00:00
Gethin James
7e85c8ac0f SEARCH-171:Search api default language should be Afts
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130565 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-12 12:30:26 +00:00
Alexandru Epure
dd1aebb5ef REPO-1158: Removed extra space from the received message.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130543 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-12 08:15:19 +00:00
Gethin James
b7e25980f3 SEARCH-168, Fixed search api parameters so include and fields work together
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130515 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-09 11:54:33 +00:00
Gethin James
4b1963c489 SEARCH-166:Filter queries should not be supported with CMIS QL
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130507 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-09 10:21:28 +00:00
Gethin James
44f2d7136e SEARCH-114: Switching to use limit rather then maxItems for searchparameters
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130502 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-09 07:55:05 +00:00
Ancuta Morarasu
93f2350c01 Clean-up after merges to 5.2.N (forgot an import).
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130428 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-07 17:31:03 +00:00
Ancuta Morarasu
120ea60c74 Clean-up after merges to 5.2.N.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130424 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-07 16:48:55 +00:00
Ancuta Morarasu
59eed12c13 REPO-1164: [REST API] 422 error when executing unlock on a node that is not locked
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130400 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-07 11:48:02 +00:00
Alan Davis
b116553f31 Fix compile error in build after merge to 5.2.N
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130316 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 20:29:23 +00:00
Gethin James
a87495f12a Merged searchapi (5.2.1) to 5.2.N (5.2.1)
130161 gjames: SEARCH-162: Implement a "fields" json parameter


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130309 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 15:39:51 +00:00
Gethin James
4368afe040 Merged searchapi (5.2.1) to 5.2.N (5.2.1)
130151 gjames: SEARCH-124: Implementing "limits" search api param


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130307 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 15:39:44 +00:00
Gethin James
9bd1b92cf7 Merged searchapi (5.2.1) to 5.2.N (5.2.1)
130147 gjames: SEARCH-121: Implementing facet fields


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130306 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 15:39:39 +00:00
Gethin James
9f5cc53cf3 Merged searchapi (5.2.1) to 5.2.N (5.2.1)
130146 gjames: SEARCH-121: Implementing facet fields


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130305 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 15:39:32 +00:00
Gethin James
7bb1ba047a Merged searchapi (5.2.1) to 5.2.N (5.2.1)
130145 gjames: SEARCH-123: Implementing scope for queries


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130304 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 15:39:26 +00:00
Gethin James
d4676e8aac Merged searchapi (5.2.1) to 5.2.N (5.2.1)
130107 gjames: SEARCH-122: Implementing spellcheck queries


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130301 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 15:39:10 +00:00
Gethin James
de4bf3db68 Merged searchapi (5.2.1) to 5.2.N (5.2.1)
130061 gjames: SEARCH-120: Facet queries label support


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130300 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 15:39:04 +00:00
Gethin James
912123029d Merged searchapi (5.2.1) to 5.2.N (5.2.1)
130052 gjames: SEARCH-161: Removed support for synonyms on SORT fieldNames


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130299 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 15:38:57 +00:00
Gethin James
2ae8c3f90d Merged searchapi (5.2.1) to 5.2.N (5.2.1)
130051 gjames: SEARCH-159: Don't allow sort for cmis_alfresco language


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130298 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 15:38:52 +00:00
Gethin James
04881cfa0c Merged searchapi (5.2.1) to 5.2.N (5.2.1)
130050 gjames: SEARCH-161: Supporting synonyms for sorting fieldNames


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130297 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 15:38:47 +00:00
Gethin James
777ed4be5c Merged searchapi (5.2.1) to 5.2.N (5.2.1)
130039 gjames: SEARCH-159: Don't allow sort for cmis language


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130295 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 15:38:37 +00:00
Gethin James
1d7829c1cf Merged searchapi (5.2.1) to 5.2.N (5.2.1)
130038 gjames: SEARCH-158: Limit results by a final size of 100


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130294 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 15:38:31 +00:00
Gethin James
f0f886be92 Merged searchapi (5.2.1) to 5.2.N (5.2.1)
130028 gjames: SEARCH-120: Moving SearchContext and facets to its own package


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130289 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 15:36:44 +00:00
Gethin James
8cdfa5f8de Merged searchapi (5.2.1) to 5.2.N (5.2.1)
130027 gjames: SEARCH-120: Implementing facet queries


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130288 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 15:36:38 +00:00
Gethin James
81bb4937d1 Merged searchapi (5.2.1) to 5.2.N (5.2.1)
130026 gjames: SEARCH-119: Implementing filter queries (without tags)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130287 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 15:36:32 +00:00
Gethin James
5798ff7d0f Merged searchapi (5.2.1) to 5.2.N (5.2.1)
130025 gjames: SEARCH-114: TotalItems won't be set if we are not sure its accurate.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130286 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 15:36:26 +00:00
Gethin James
ece1528110 Merged searchapi (5.2.1) to 5.2.N (5.2.1)
130017 gjames: Merged 5.2.N-AHIND (5.2.1) to searchapi (5.2.1)
      129804 amorarasu: REPO-340 / REPO-1136 - V1 REST API: Unlock Node
         - Removed the allowCheckedOut option from the unlock body


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130280 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 15:35:20 +00:00
Gethin James
50d8381a2e Merged searchapi (5.2.1) to 5.2.N (5.2.1)
130015 gjames: Merged 5.2.N-AHIND (5.2.1) to searchapi (5.2.1)
      129790 jvonka: REPO-164 / REPO-1141: fix error mapping when unable to update content due to locked node (should be 409 not 500)
      - also minor cleanup of error handling/mapping (handle within common "writeContent")


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130278 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 15:32:52 +00:00
Gethin James
4f12a98998 Merged searchapi (5.2.1) to 5.2.N (5.2.1)
130011 gjames: Merged 5.2.N-AHIND (5.2.1) to searchapi (5.2.1)
      129765 sglover: Merged https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/AMUKHA/5.2.N-MNT-15135 to 5.2.N https://issues.alfresco.com/jira/browse/MNT-15135 "Alfresco Media Management: Rendition Concurrency Failure on Property update"


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130274 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 15:29:04 +00:00
Gethin James
3596c251a8 Merged searchapi (5.2.1) to 5.2.N (5.2.1)
130008 gjames: Merged 5.2.N-AHIND (5.2.1) to searchapi (5.2.1)
      129751 amorarasu: REPO-164 / REPO-1086 - V1 REST API: Lock Node
         - review suggestions
         - added more test cases + utility methods


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130271 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 15:27:33 +00:00
Gethin James
59a1186522 Merged searchapi (5.2.1) to 5.2.N (5.2.1)
130005 gjames: Merged 5.2.N-AHIND (5.2.1) to searchapi (5.2.1)
      129716 amorarasu: REPO-340 / REPO-1136 - V1 REST API: Unlock Node


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130267 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 15:12:54 +00:00
Gethin James
91cc53e31b Merged searchapi (5.2.1) to 5.2.N (5.2.1)
129999 ahind: Merged 5.2.N-AHIND (5.2.1) to searchapi (5.2.1)
      129643 amorarasu: REPO-164 / REPO-1086 - V1 REST API: Lock Node


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130261 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:58:13 +00:00
Gethin James
d14093dde1 Merged searchapi (5.2.1) to 5.2.N (5.2.1)
129955 gjames: SEARCH-113: Changed logging to debug


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130189 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:19:59 +00:00
Gethin James
4fb400be0a Merged searchapi (5.2.1) to 5.2.N (5.2.1)
129895 gjames: SEARCH-112: Only showing SearchContext if LastIndexedTxId > 0


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130188 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:19:53 +00:00
Gethin James
83e6a09f05 Merged searchapi (5.2.1) to 5.2.N (5.2.1)
129890 gjames: SEARCH-116: Implementing defaults


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130187 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:19:47 +00:00
Gethin James
2b2bff2ef7 Merged searchapi (5.2.1) to 5.2.N (5.2.1)
129838 gjames: SEARCH-117: Implementing templates


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130185 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:19:35 +00:00
Gethin James
e6549ed9a0 Merged searchapi (5.2.1) to 5.2.N (5.2.1)
129824 gjames: SEARCH-115: Implementing Sort


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130184 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:19:28 +00:00
Gethin James
d5c3d3c1ca Merged searchapi (5.2.1) to 5.2.N (5.2.1)
129823 gjames: SEARCH-113: Clearer default parameters


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130183 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:19:20 +00:00
Gethin James
775ba1d947 Merged searchapi (5.2.1) to 5.2.N (5.2.1)
129822 gjames: SEARCH-150: Adding Association


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130182 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:19:14 +00:00
Gethin James
d1d0c6436b Merged searchapi (5.2.1) to 5.2.N (5.2.1)
129821 gjames: SEARCH-150: Implementing include in the JSON body


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130181 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:19:08 +00:00
Gethin James
c2953c739c Merged searchapi (5.2.1) to 5.2.N (5.2.1)
129820 gjames: SEARCH-113: The JSON body not request is used for all params


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130180 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:19:01 +00:00