Commit Graph

4909 Commits

Author SHA1 Message Date
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
Jan Vonka
bae222c1f3 MNT-16449: CMIS delete version fails on versions other than latest (most recent) version
- add commented-out test to demonstrate the issue (we can then decide to prioritise accordingly)
- note: this scenario works via V1 REST API

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130525 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-09 15:04:32 +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
4a89bc7405 SEARCH-114: Switching to use limit, missed test commit
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130503 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-09 08:15:42 +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
Alex Mukha
fe2c13ce03 Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
130484 amukha: Merged 5.0.N (5.0.5) to 5.1.N (5.1.2)
      130477 amukha: MNT-16755: LDAP users are not found for users without First Name or Last Name
         - Added JUnit tests.
         - Updated authorised-users to latest version.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130488 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-08 15:10:34 +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
515576e734 Merged 5.2.N (5.2.1) to HEAD (5.2)
130428 amorarasu: Clean-up after merges to 5.2.N (forgot an import).


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130429 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-07 17:32:24 +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
b5ec806baf Merged 5.2.N (5.2.1) to HEAD (5.2)
130424 amorarasu: Clean-up after merges to 5.2.N. 


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130425 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-07 16:51:57 +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
fea7f077e4 Merged 5.2.N (5.2.1) to HEAD (5.2)
130400 amorarasu: REPO-1164: 422 error when executing unlock on a node that is not locked


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130419 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-07 16:05:41 +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
bb1f6c566e Merged 5.2.N (5.2.1) to HEAD (5.2)
130316 adavis: Fix compile error in build after merge to 5.2.N


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130381 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:12:15 +00:00
Alan Davis
7372dd7205 Merged 5.2.N (5.2.1) to HEAD (5.2)
130309 gjames: 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/HEAD/root@130380 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:12:07 +00:00
Alan Davis
9afb1ec1b0 Merged 5.2.N (5.2.1) to HEAD (5.2)
130307 gjames: 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/HEAD/root@130379 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:11:58 +00:00
Alan Davis
0a37f5da26 Merged 5.2.N (5.2.1) to HEAD (5.2)
130306 gjames: 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/HEAD/root@130378 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:11:48 +00:00
Alan Davis
16e360f955 Merged 5.2.N (5.2.1) to HEAD (5.2)
130305 gjames: 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/HEAD/root@130377 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:11:38 +00:00
Alan Davis
9e76348016 Merged 5.2.N (5.2.1) to HEAD (5.2)
130304 gjames: 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/HEAD/root@130376 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:11:29 +00:00
Alan Davis
5ce39aad3f Merged 5.2.N (5.2.1) to HEAD (5.2)
130303 gjames: Merged searchapi (5.2.1) to 5.2.N (5.2.1)
      130109 gjames: SEARCH-122: Implementing spellcheck queries, better tests


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130375 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:11:20 +00:00
Alan Davis
e45ac5b61c Merged 5.2.N (5.2.1) to HEAD (5.2)
130302 gjames: Merged searchapi (5.2.1) to 5.2.N (5.2.1)
      130108 gjames: SEARCH-122: Implementing spellcheck queries, better tests


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130374 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:11:11 +00:00
Alan Davis
68dcb5c29c Merged 5.2.N (5.2.1) to HEAD (5.2)
130301 gjames: 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/HEAD/root@130373 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:11:03 +00:00
Alan Davis
1e048180e9 Merged 5.2.N (5.2.1) to HEAD (5.2)
130300 gjames: 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/HEAD/root@130372 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:10:53 +00:00
Alan Davis
818b3b3c18 Merged 5.2.N (5.2.1) to HEAD (5.2)
130299 gjames: 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/HEAD/root@130371 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:10:43 +00:00
Alan Davis
5c7fe2d39b Merged 5.2.N (5.2.1) to HEAD (5.2)
130298 gjames: 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/HEAD/root@130370 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:10:34 +00:00
Alan Davis
b10f889f29 Merged 5.2.N (5.2.1) to HEAD (5.2)
130297 gjames: 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/HEAD/root@130369 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:10:26 +00:00
Alan Davis
63e06293bb Merged 5.2.N (5.2.1) to HEAD (5.2)
130295 gjames: 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/HEAD/root@130367 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:10:08 +00:00
Alan Davis
be1ae9146e Merged 5.2.N (5.2.1) to HEAD (5.2)
130294 gjames: 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/HEAD/root@130366 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:09:59 +00:00
Alan Davis
b67a546851 Merged 5.2.N (5.2.1) to HEAD (5.2)
130293 gjames: Merged searchapi (5.2.1) to 5.2.N (5.2.1)
      130037 gjames: SEARCH-120: Working on facet queries test improvements


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130365 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:09:50 +00:00
Alan Davis
4c3bd67a52 Merged 5.2.N (5.2.1) to HEAD (5.2)
130292 gjames: Merged searchapi (5.2.1) to 5.2.N (5.2.1)
      130031 gjames: SEARCH-120: Working on facet queries test


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130364 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:09:42 +00:00
Alan Davis
56ea8655c8 Merged 5.2.N (5.2.1) to HEAD (5.2)
130291 gjames: Merged searchapi (5.2.1) to 5.2.N (5.2.1)
      130030 gjames: Manual merge of r129730 and r129731:mmuller:Add a specific error message for invalid maxItem and skipCount. REPO-1061


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130363 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:09:33 +00:00
Alan Davis
58a632a3f2 Merged 5.2.N (5.2.1) to HEAD (5.2)
130290 gjames: Merged searchapi (5.2.1) to 5.2.N (5.2.1)
      130029 gjames: Manual merge of r129701:mmuller:Add a specific error message for the maxItem=0. REPO-890


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130362 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:09:24 +00:00
Alan Davis
bdca31ff6a Merged 5.2.N (5.2.1) to HEAD (5.2)
130289 gjames: 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/HEAD/root@130361 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:09:16 +00:00
Alan Davis
c80a95d755 Merged 5.2.N (5.2.1) to HEAD (5.2)
130288 gjames: 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/HEAD/root@130360 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:09:06 +00:00
Alan Davis
a699adbe2f Merged 5.2.N (5.2.1) to HEAD (5.2)
130287 gjames: 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/HEAD/root@130359 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:08:57 +00:00
Alan Davis
f6b366cb01 Merged 5.2.N (5.2.1) to HEAD (5.2)
130286 gjames: 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/HEAD/root@130358 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:08:47 +00:00
Alan Davis
55a405d41f Merged 5.2.N (5.2.1) to HEAD (5.2)
130285 gjames: Merged searchapi (5.2.1) to 5.2.N (5.2.1)
      130022 gjames: Merged 5.2.N-AHIND (5.2.1) to searchapi (5.2.1)
         129926 ahind: SEARCH-31    SOLR 6 - Shard based on date - SOLR implementation
         - Support returning a date, datetime or string property to use for sharding


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130357 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:08:39 +00:00
Alan Davis
d4708f0e9f Merged 5.2.N (5.2.1) to HEAD (5.2)
130280 gjames: 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/HEAD/root@130354 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:08:11 +00:00
Alan Davis
31a44c72aa Merged 5.2.N (5.2.1) to HEAD (5.2)
130278 gjames: 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/HEAD/root@130352 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:07:56 +00:00
Alan Davis
aebd5c80d9 Merged 5.2.N (5.2.1) to HEAD (5.2)
130274 gjames: 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/HEAD/root@130350 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:07:36 +00:00
Alan Davis
ca15a2f6fb Merged 5.2.N (5.2.1) to HEAD (5.2)
130271 gjames: 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/HEAD/root@130348 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:07:18 +00:00
Alan Davis
1b2b4b9093 Merged 5.2.N (5.2.1) to HEAD (5.2)
130267 gjames: 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/HEAD/root@130346 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:07:02 +00:00
Alan Davis
51b838e2ef Merged 5.2.N (5.2.1) to HEAD (5.2)
130261 gjames: 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/HEAD/root@130344 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:06:41 +00:00
Alan Davis
4ab6e72418 Merged 5.2.N (5.2.1) to HEAD (5.2)
130191 gjames: Merged searchapi (5.2.1) to 5.2.N (5.2.1)
      129957 gjames: SEARCH-113: Testing a NULL node


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130342 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:06:25 +00:00
Alan Davis
aeb8af8c94 Merged 5.2.N (5.2.1) to HEAD (5.2)
130190 gjames: Merged searchapi (5.2.1) to 5.2.N (5.2.1)
      129956 gjames: SEARCH-115: Testing sort of DOCUMENT


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130341 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:06:16 +00:00
Alan Davis
4d46955480 Merged 5.2.N (5.2.1) to HEAD (5.2)
130189 gjames: 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/HEAD/root@130340 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:06:07 +00:00
Alan Davis
fa73609a3d Merged 5.2.N (5.2.1) to HEAD (5.2)
130188 gjames: 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/HEAD/root@130339 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 22:05:59 +00:00