Commit Graph

349 Commits

Author SHA1 Message Date
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
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
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
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
d1da8dfdf2 Merged searchapi (5.2.1) to 5.2.N (5.2.1)
129839 gjames: Adding a better json example to the integration test.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130186 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:19:41 +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
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
Gethin James
347aedfa1b Merged searchapi (5.2.1) to 5.2.N (5.2.1)
129819 gjames: SEARCH-113: The Json representation is immutable.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130179 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:18:54 +00:00
Gethin James
f3cb1c224d Merged searchapi (5.2.1) to 5.2.N (5.2.1)
129808 gjames: SEARCH-112: Adding SearchContext to the response


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130178 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:18:46 +00:00
Gethin James
e1bd68c17c Merged searchapi (5.2.1) to 5.2.N (5.2.1)
129807 gjames: SEARCH-113: No longer hedging my bets: The only way to pass parameter is via the JSON body.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130177 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:18:40 +00:00
Gethin James
43bf3e848c Merged searchapi (5.2.1) to 5.2.N (5.2.1)
129787 gjames: SEARCH-114: No default paging.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130176 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:18:33 +00:00
Gethin James
faeb31dabe Merged searchapi (5.2.1) to 5.2.N (5.2.1)
129786 gjames: SEARCH-113: Adding client object for SearchEntry


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130175 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:18:27 +00:00
Gethin James
f3d864f410 Merged searchapi (5.2.1) to 5.2.N (5.2.1)
129783 gjames: fixup! SEARCH-113: License header


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130173 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:18:13 +00:00
Gethin James
fbebd84cd4 Merged searchapi (5.2.1) to 5.2.N (5.2.1)
129780 gjames: SEARCH-114: Adding paging support


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130172 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:18:04 +00:00
Gethin James
67c21ad600 Merged searchapi (5.2.1) to 5.2.N (5.2.1)
129779 gjames: SEARCH-118: Adding search.score to node response


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130171 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:17:56 +00:00
Gethin James
b18f433fca Merged searchapi (5.2.1) to 5.2.N (5.2.1)
129778 gjames: SEARCH-113: Initial implementation of the Search public API


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130169 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:15:02 +00:00
Jan Vonka
30a211d262 REPO-1187 / REPO-164: V1 REST API to "lock content node" - initially, we will support one of two lock types, either ALLOW_OWNER_CHANGES (default, if not requested otherwise) or FULL
- we will not support ALLOW_ADD_CHILDREN lock type (removed as part of this change request)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130046 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-01 10:35:46 +00:00
Martin Muller
ed67760ab4 Restrict lock method to content types. REPO-1158
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129897 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-26 09:15:52 +00:00
Jan Vonka
25988a8efb REPO-1090: fix regress (V1 REST API - list children within the context of a smart folder)
- follow-on (re: NodeApiTest.getChildrenAssocType fallout - when returning any assoc, not just cm:contains)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129893 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-25 17:02:31 +00:00
Ancuta Morarasu
8dfbbeaf3d REPO-1155 / REPO-160 / REPO-340 - V1 REST API: Remove "includeChildren" option for Lock / Unlock in the rest api (REPO-1163)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129892 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-25 16:16:37 +00:00
Jan Vonka
51c220c5a5 REPO-164 / REPO-1150: fix minor regress (eg. if recursively locking nodes via includeChildren)
-  MNT-16446, MNT-14945

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129826 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-24 12:11:40 +00:00
Ancuta Morarasu
b04cef45d1 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@129804 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-23 20:24:18 +00:00
Ancuta Morarasu
d53ac5135a REPO-340 / REPO-1136 - V1 REST API: Unlock Node
- Unlock with includeChildren=true - fixed + testcases

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129791 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-23 11:34:52 +00:00
Jan Vonka
650554b62c 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@129790 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-23 11:14:03 +00:00
Martin Muller
2c62e68f71 Added somes tests for invalid paging parameters. REPO-1061, REPO-890
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129753 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-22 13:24:38 +00:00
Ancuta Morarasu
ecec348d6c 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@129751 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-22 13:10:19 +00:00
Ancuta Morarasu
063dde5d8b 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@129716 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-19 18:37:10 +00:00
Jan Vonka
0376e880d0 REPO-1138 / REPO-983: Add support for the isLocked property
- can optionally "include" when getting node info, listing children, ...

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129711 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-19 16:22:09 +00:00
Ancuta Morarasu
3374ed8e49 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@129643 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-18 12:11:24 +00:00
Alan Davis
c82cfb582c REPO-1069 Review live search sort order / sort type (sites and also people)
- Removal of parameter sortType - we are going to be using the POST_QUERY_SORT
   - Removal of tests using IN_QUERY_SORT except for the one to do with the default sort.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129253 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 10:09:49 +00:00
Alan Davis
4b308b5cdc REPO-1079 Rename "Live Search" API endpoints
- Changes to end points to reflect the rename of:
     /queries/live-search-nodes  to /queries/nodes
     /queries/live-search-people to /queries/people
     /queries/live-search-sites  to /queries/sites


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129252 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 09:33:20 +00:00
Martin Muller
fda06755c6 Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
129059 adavis: REPO-243 People Live Search
      - Use id (in fields and orderBy) rather than userName as it is an id that is returned in the Person entity
      - Added tests to test id can be used in fields and orderBy
      - Added 'wildcard' tests created by Alexandru-Eusebiu Epure


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129199 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:50:07 +00:00
Martin Muller
2b9173ee6a Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
129058 jvonka: V1 REST API: Sites Live Search (/queries/live-search-sites)
   - additional tweaks based on ADs review comments
   REPO-232, REPO-883


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129198 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:50:03 +00:00
Martin Muller
b41bab742e Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
129051 jvonka: V1 REST API: Sites Live Search (/queries/live-search-sites)
   - add some api sanity checks for basic paging (along with sorting)
   REPO-232, REPO-883


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129195 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:49:49 +00:00
Martin Muller
33a3c91e99 Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
129050 jvonka: V1 REST API: fix 500 (NPE) when trying to get a version (info or content) for a node that has no version history
   REPO-1051, REPO-327, REPO-229


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129194 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:49:42 +00:00
Martin Muller
9bc32208c7 Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
129042 jvonka: V1 REST API: Sites Live Search (/queries/live-search-sites)
   - add experimental option (for review) to choose sort type
   - fix post query sort to use AlfrescoCollator rather than RuleBasedCollator (latter ignores spaces)
   - fix post query sort to apply paging correctly (get results first) - TODO add test
   REPO-232, REPO-882, REPO-883


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129193 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:49:39 +00:00
Martin Muller
267cdf9072 Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
129037 adavis: REPO-243 People Live Search
      - Added another orderBy test following a question from Jan.
      - Minor change in post order code to replace a Map lookup with a List lookup. Logically the same but faster.
      - Replaced a NPE test failure with a failure message if TEST_COUNT is too small


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129192 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:49:35 +00:00
Martin Muller
aee655b2f0 Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
129025 jvonka: V1 REST API: 1st-cut of api test for Sites Live Search (/queries/live-search-sites)
   REPO-232, REPO-883


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129191 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:49:31 +00:00
Martin Muller
dd330266ed Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
129017 adavis: REPO-243 People Live Search
      - Added additional tests
      - Removed check in Person constructor for no id as we want to be able to create a Person from json which might not have the id.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129190 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:49:27 +00:00
Martin Muller
4350d8026b Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
129011 adavis: REPO-243 People Live Search
      - Fix build failures
      - replace tabs in Person.java


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129189 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:49:23 +00:00