Matt Ward
ba33a435d4
REPO-1348/REPO-1349: implemented checks to guard against invalid fields
...
Explicitly rejects fields: id, guid and role
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131408 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-13 16:19:00 +00:00
Iuliana Danea
82f2708aa7
ACE-5453: 500 error: GET /nodes/{nodeId}/ratings?skipCount=XXX
...
- implemented fix and added new unit test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131385 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-13 06:52:01 +00:00
Alan Davis
0c51b17e0f
Merged 5.2.N-SERVLET-3.0 (5.2.1) to 5.2.N (5.2.1)
...
130708: REPO-843 / REPO-1246: Upgrade to Servlet 3.0 (part I),
130714: REPO-843 / REPO-1246: Upgrade to Servlet 3.0 (part 1b)
- fix web.xml (web-app),
130727: REPO-843 / REPO-1246: Upgrade to Servlet 3.0 (part 1b)
- update other web.xml's (other than web-client project),
130844: REPO-843 / REPO-1251: Upgrade to Servlet API 3.0.x (part 2) - update to Spring WebScripts 6.9 (ACE-5584)
- update to servlet-api 3.0.1,
130847: REPO-843 / REPO-1251: Upgrade to Servlet API 3.0.x (part 2) - update to Spring WebScripts 6.9 (ACE-5584)
- follow-on to commit the correct pom.xml (ie. parent rather than overlay),
130852: REPO-843 / REPO-1251: Upgrade to Servlet API 3.0.x (part 2) - update to Spring WebScripts 6.9 (ACE-5584)
- follow-on
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131370 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-12 11:33:40 +00:00
Cristian Turlica
3f6a5d9e81
REPO-1394: Discovery: merge back to 5.2.N (from feature branch)
...
Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
130980 jkaabimofrad: REPO-224: API for retrieving detailed repository information.
Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
131056 jkaabimofrad: REPO-224: Removed "transformationServerExpiresAt" attribute from the license JSON response as it is not part of AC.
Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
131179 jkaabimofrad: REPO-224: Modified the license's entitlement response to always return "isClusterEnabled" and "isCryptodocEnabled".
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131344 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-12 05:14:58 +00:00
Gethin James
bf41d2bbcd
SEARCH-121: Changing facetfield mincount to 1 by default.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131326 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-11 15:48:15 +00:00
Gethin James
e2763c007f
SEARCH-181: Sending CountDocsMissingFacetField to solr
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131324 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-11 15:48:10 +00:00
Gethin James
069f2c717b
SEARCH-106: Fix highlighting typo
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131308 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-11 10:59:54 +00:00
Raluca Munteanu
7ca76a9101
REPO-1354: Get Rendition info - implement the API
...
- implemented get rendition info by id method
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131302 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-11 10:32:47 +00:00
Gethin James
7fe14f340a
SEARCH-195: Adding highlighting to the public api
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131295 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-11 07:12:35 +00:00
Gethin James
2182b59806
SEARCH-195: Implementing hightlighting for the search public API
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131292 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-11 07:12:26 +00:00
Matt Ward
eba3054605
Merged r131242:131277 from BRANCHES/DEV/mward/5.2.n-restapi into BRANCHES/DEV/5.2.N
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131282 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-10 16:03:58 +00:00
Cristian Turlica
66c78c8dcd
REPO-1360: Filter sites by visibility - add automated tests
...
- added new tests for filter by visibility
- updated getSites by personId because the value of totalItems wasn't calculated, also updated existing tests that where using the incorrect expected value.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131275 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-10 12:48:37 +00:00
Matt Ward
8d91423894
REPO-1348: initial check-in for "update site" API implementation.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131224 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-06 11:17:16 +00:00
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
Ancuta Morarasu
f5a3fa3a3f
REPO-484: [REST API] Added more comprehensive tests for the 'where' predicate - covered most of the endpoints, except the workflow ones.
...
- More tests should be added in REPO-1249
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130928 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-27 12:03:34 +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
6501413922
REPO-1058: REST API - minor fix for "fields" param (fka "properties") to handle field names with spaces
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130835 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-20 13:11:22 +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
Ancuta Morarasu
5cf090c1f1
REPO-484: Code formatting.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130645 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-14 13:27:05 +00:00
Ancuta Morarasu
e586f9f210
REPO-484: [REST API] 400 error for unsupported NOT operator in the 'where' predicate.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130610 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-13 15:41:43 +00:00
Jan Vonka
1b4fe8ad9e
REPO-1059: REST API: Invalid orderBy field is ignored
...
- additional fix + test case
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130593 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-13 10:56:05 +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
Jan Vonka
566179e8b2
REPO-1059: REST API: Invalid orderBy field direction is ignored (hence defaults to ascending rather than returning an error)
...
- implement fix & update test
- note: InvalidArgumentException maps to HTTP 400
- note: we already have tests for case-insensitive (ie. we allow ASC, Asc, AsC, DESC, Desc, DeSC, or similar)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130555 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-12 11:17:04 +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
Jamal Kaabi-Mofrad
67f386c60c
SHA-1598: Minor tweaks of parsing of the property parameter based on GavinC review.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130451 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-08 13:00:27 +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
Jamal Kaabi-Mofrad
f46962577f
SHA-1598: Added support to Get Task Instances API to filter result, based on the given property.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130404 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-07 13:06:32 +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