Commit Graph

2122 Commits

Author SHA1 Message Date
Alan Davis
36b5206d45 Merged 5.2.N (5.2.1) to HEAD (5.2)
131292 gjames: SEARCH-195: Implementing hightlighting for the search public API


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132236 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:47:21 +00:00
Alan Davis
f5f174c76c Merged 5.2.N (5.2.1) to HEAD (5.2)
131286 amukha: Merged DEV to 5.2.N (5.2.1)
      131050 skopf: REPO-483 - The repository does not contain any code or data related to JBPM / ACE-1659 - Remove JBPM and Hibernate
      131057 skopf: REPO-483 - The repository does not contain any code or data related to JBPM / ACE-1659 - Remove JBPM and Hibernate / fix test CMISTest.testModelAvailability
      131064 skopf: REPO-483 - The repository does not contain any code or data related to JBPM / ACE-1659 - Remove JBPM and Hibernate
         - added patch to remove JBPM database tables
      131169 skopf: REPO-483 - The repository does not contain any code or data related to JBPM / ACE-1659 - Remove JBPM and Hibernate
         - replaced generic DB script with database specific scripts
      131171 skopf: REPO-483 - The repository does not contain any code or data related to JBPM / ACE-1659 - Remove JBPM and Hibernate
         - Fix DB2 patch
      131213 skopf: REPO-483 - The repository does not contain any code or data related to JBPM / ACE-1659 - Remove JBPM and Hibernate
         - Fix JBPM table removal patch


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132233 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:46:48 +00:00
Alan Davis
3d91d230d1 Merged 5.2.N (5.2.1) to HEAD (5.2)
131282 mward: 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/HEAD/root@132232 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:33:37 +00:00
Alan Davis
4630626a95 Merged 5.2.N (5.2.1) to HEAD (5.2)
131278 cmocanu: REPO-1360 - Filter sites by visibility - add automated test for NOT in where clause


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132230 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:33:17 +00:00
Alan Davis
68fc7c7cc1 Merged 5.2.N (5.2.1) to HEAD (5.2)
131275 cturlica: 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/HEAD/root@132229 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:33:06 +00:00
Alan Davis
80daf219db Merged 5.2.N (5.2.1) to HEAD (5.2)
131224 mward: REPO-1348: initial check-in for "update site" API implementation.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132224 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:32:15 +00:00
Alan Davis
a9655d73e9 Merged 5.2.N (5.2.1) to HEAD (5.2)
131172 cturlica: 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/HEAD/root@132219 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:31:33 +00:00
Alan Davis
a6885716c4 Merged 5.2.N (5.2.1) to HEAD (5.2)
131138 jvonka: REST API Tests: minor - update TestNodeRatings to use new V1 create site
   - REPO-112


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132216 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:31:09 +00:00
Alan Davis
2b6dea5bbc Merged 5.2.N (5.2.1) to HEAD (5.2)
131113 jvonka: REST API Tests: minor pre-work (mark RepoService.createSite as deprecated, remove exists/delete)
   - build attempt
   - REPO-1344, REPO-112


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132214 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:30:53 +00:00
Alan Davis
04c7261d59 Merged 5.2.N (5.2.1) to HEAD (5.2)
131073 gjames: SEARCH-189: Always return skipCount and maxItems


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132213 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:30:45 +00:00
Alan Davis
df49027de6 Merged 5.2.N (5.2.1) to HEAD (5.2)
131044 jvonka: REST API Tests: minor
   - build attempt (to move CMIS-related tests to appropriate test suite) 
   - REPO-414, REPO-968


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132212 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:30:34 +00:00
Alan Davis
309ce5b5ef Merged 5.2.N (5.2.1) to HEAD (5.2)
130928 amorarasu: 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/HEAD/root@132209 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:30:06 +00:00
Alan Davis
491b6f2f21 Merged 5.2.N (5.2.1) to HEAD (5.2)
130918 jvonka: REPO-1027: V1 REST API - minor: tweak TestSiteMembers
   - to make it repeatable (TODO further splitting/refactoring)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132206 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:29:42 +00:00
Alan Davis
ac42e10d6a Merged 5.2.N (5.2.1) to HEAD (5.2)
130888 jvonka: REPO-1027: V1 REST API - fix error handling (update / remove site member)
   - already fix on 5.2(.N) so simply add -ve api tests
   - ACE-5444


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132202 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:29:11 +00:00
Alan Davis
57b96f4b38 Merged 5.2.N (5.2.1) to HEAD (5.2)
130872 jvonka: REPO-1027: V1 REST API - fix error handling (update site member)
   - already fix on 5.2(.N) so simply add -ve api tests
   - ACE-5443


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132197 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:28:31 +00:00
Alan Davis
6a5f88763f Merged 5.2.N (5.2.1) to HEAD (5.2)
130871 jvonka: 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/HEAD/root@132196 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:28:23 +00:00
Alan Davis
5e3d908af7 Merged 5.2.N (5.2.1) to HEAD (5.2)
130868 jvonka: 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/HEAD/root@132194 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:28:07 +00:00
Alan Davis
f72f83051f Merged 5.2.N (5.2.1) to HEAD (5.2)
130856 jvonka: REST API: Nodes - trivial (JavaDoc correction)
   - replace "select" & "properties" (with "include" & "fields")


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132193 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:27:58 +00:00
Alan Davis
f2b37ccce9 Merged 5.2.N (5.2.1) to HEAD (5.2)
130854 jvonka: 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/HEAD/root@132191 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:27:42 +00:00
Alan Davis
d253797fc5 Merged 5.2.N (5.2.1) to HEAD (5.2)
130836 jvonka: REPO-1058: REST API - minor fix for "fields" param (fka "properties") to handle field names with spaces
   - bump the test count, thanks Ancuta :-)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132188 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:27:16 +00:00
Alan Davis
99ff22c738 Merged 5.2.N (5.2.1) to HEAD (5.2)
130835 jvonka: 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/HEAD/root@132187 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:27:07 +00:00
Alan Davis
4abc64a3e2 Merged 5.2.N (5.2.1) to HEAD (5.2)
130796 jvonka: REPO-1058 / REPO-1244: REST API - list Sites - orderBy
   - add automated unit tests


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132183 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:26:33 +00:00
Alan Davis
b34bbcfccc Merged 5.2.N (5.2.1) to HEAD (5.2)
130783 jvonka: 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/HEAD/root@132179 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:19:56 +00:00
Alan Davis
3a473a5d0d Merged 5.2.N (5.2.1) to HEAD (5.2)
130774 jvonka: 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/HEAD/root@132177 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:19:38 +00:00
Alan Davis
97bab4c5c6 Merged 5.2.N (5.2.1) to HEAD (5.2)
130683 gjames: SEARCH-121: Facet fields need to return a List in the search context


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132169 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:14:59 +00:00
Alan Davis
7887fd9246 Merged 5.2.N (5.2.1) to HEAD (5.2)
130681 jvonka: 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/HEAD/root@132168 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:14:50 +00:00
Alan Davis
29c15b132b Merged 5.2.N (5.2.1) to HEAD (5.2)
130677 jvonka: REPO-1058: REST API - minor refactor of TestSites to split the existing test
   - prep' for REPO-1058 / REPO-1244


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132166 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:14:34 +00:00
Alan Davis
ef04cb8bcf Merged 5.2.N (5.2.1) to HEAD (5.2)
130645 amorarasu: REPO-484: Code formatting.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132160 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:13:52 +00:00
Alan Davis
42b43437bc Merged 5.2.N (5.2.1) to HEAD (5.2)
130641 cmocanu: REPO-164 - Added new negative unit test for includeChildren: try to lock using includeChildren parameter that has been removed and 400 response code is retrieved.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132159 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:13:44 +00:00
Alan Davis
2896dc6b83 Merged 5.2.N (5.2.1) to HEAD (5.2)
130639 amorarasu: REPO-1059: Fix tests number.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132158 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:13:36 +00:00
Alan Davis
9e82c8a568 Merged 5.2.N (5.2.1) to HEAD (5.2)
130614 jvonka: REPO-1059: REST API: Invalid orderBy field is ignored
   - minor follow-on (comment in the specific test when this issue was found - in addition to the new generic tests)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132154 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:13:03 +00:00
Alan Davis
07fe704500 Merged 5.2.N (5.2.1) to HEAD (5.2)
130610 amorarasu: 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/HEAD/root@132152 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:12:44 +00:00
Alan Davis
dd91ce3629 Merged 5.2.N (5.2.1) to HEAD (5.2)
130593 jvonka: REPO-1059: REST API: Invalid orderBy field is ignored
   - additional fix + test case


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132150 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:12:26 +00:00
Alan Davis
3b2b5e17a3 Merged 5.2.N (5.2.1) to HEAD (5.2)
130574 cmocanu: 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/HEAD/root@132149 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:12:18 +00:00
Alan Davis
d7389c8094 Merged 5.2.N (5.2.1) to HEAD (5.2)
130573 jvonka: 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/HEAD/root@132148 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:12:08 +00:00
Alan Davis
60bc1692dc Merged 5.2.N (5.2.1) to HEAD (5.2)
130565 gjames: SEARCH-171:Search api default language should be Afts


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132146 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:11:51 +00:00
Alan Davis
4f47d68c8b Merged 5.2.N (5.2.1) to HEAD (5.2)
130556 cmocanu: Added new negative test for Lock functionality: try to lock a folder. 


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132145 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:11:42 +00:00
Alan Davis
d1350aecb8 Merged 5.2.N (5.2.1) to HEAD (5.2)
130555 jvonka: 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/HEAD/root@132144 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:11:34 +00:00
Alan Davis
8ec46e924c Merged 5.2.N (5.2.1) to HEAD (5.2)
130543 aepure: REPO-1158: Removed extra space from the received message.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132143 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:11:24 +00:00
Alan Davis
99fe1fbe54 Merged 5.2.N (5.2.1) to HEAD (5.2)
130525 jvonka: 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/HEAD/root@132141 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:11:03 +00:00
Alan Davis
b9a0163399 Merged 5.2.N (5.2.1) to HEAD (5.2)
130515 gjames: SEARCH-168, Fixed search api parameters so include and fields work together


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132140 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:10:55 +00:00
Alan Davis
6db87e1e5a Merged 5.2.N (5.2.1) to HEAD (5.2)
130507 gjames: SEARCH-166:Filter queries should not be supported with CMIS QL


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132138 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:10:36 +00:00
Alan Davis
976b860eff Merged 5.2.N (5.2.1) to HEAD (5.2)
130503 gjames: SEARCH-114: Switching to use limit, missed test commit


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132137 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:10:27 +00:00
Alan Davis
3fabbb3c59 Merged 5.2.N (5.2.1) to HEAD (5.2)
130502 gjames: SEARCH-114: Switching to use limit rather then maxItems for searchparameters


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132136 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:10:18 +00:00
Alan Davis
5abba74783 Merged 5.2.N (5.2.1) to HEAD (5.2)
130488 amukha: 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/HEAD/root@132131 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-03 13:09:33 +00:00
Kevin Roast
e511f5a13c Merged 5.2.N (5.2.1) to HEAD (5.2)
130451 jkaabimofrad: 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/HEAD/root@130936 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-27 13:58:55 +00:00
Kevin Roast
a8edbc04e1 Merged 5.2.N (5.2.1) to HEAD (5.2)
130404 jkaabimofrad: 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/HEAD/root@130935 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-27 13:57:46 +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
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
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