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
Cristina Mocanu
b2accc9af8
REPO-164 - Added new unit test for timeToExpire parameter: locked a document, tried to delete while is locked, wait until expiration time has passed and delete the document.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130574 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-12 13:19:22 +00:00
Jan Vonka
44f9d72d42
REPO-1059: REST API: Invalid orderBy field direction is ignored (hence defaults to ascending rather than returning an error)
...
- follow-on to r13055 to fix test fallout
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130573 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-12 13:14: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
Cristina Mocanu
c69160a717
Added new negative test for Lock functionality: try to lock a folder.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130556 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-12 11:39:10 +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
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
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
80e1bd66c7
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/BRANCHES/DEV/5.2.N/root@130303 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 15:39:20 +00:00
Gethin James
94c5655fbf
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/BRANCHES/DEV/5.2.N/root@130302 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 15:39:15 +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
dae4a874b8
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/BRANCHES/DEV/5.2.N/root@130293 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 15:38:26 +00:00
Gethin James
8a89c2e935
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/BRANCHES/DEV/5.2.N/root@130292 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 15:38:20 +00:00
Gethin James
580b464ad2
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/BRANCHES/DEV/5.2.N/root@130291 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 15:38:14 +00:00
Gethin James
b4bbb859e9
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/BRANCHES/DEV/5.2.N/root@130290 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 15:38:05 +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
09886d8d11
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/BRANCHES/DEV/5.2.N/root@130285 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 15:35:59 +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
0029357fa1
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/BRANCHES/DEV/5.2.N/root@130191 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:20:11 +00:00
Gethin James
9520d0b009
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/BRANCHES/DEV/5.2.N/root@130190 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:20:06 +00:00