Commit Graph

1739 Commits

Author SHA1 Message Date
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
d14093dde1 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/BRANCHES/DEV/5.2.N/root@130189 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:19:59 +00:00
Gethin James
4fb400be0a 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/BRANCHES/DEV/5.2.N/root@130188 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:19:53 +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
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
d5c3d3c1ca Merged searchapi (5.2.1) to 5.2.N (5.2.1)
129823 gjames: SEARCH-113: Clearer default parameters


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130183 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:19:20 +00:00
Gethin James
775ba1d947 Merged searchapi (5.2.1) to 5.2.N (5.2.1)
129822 gjames: SEARCH-150: Adding Association


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130182 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:19:14 +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
0d109f4f06 Merged searchapi (5.2.1) to 5.2.N (5.2.1)
129785 gjames: SEARCH-114: Adding skipcount to hasMoreItems.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130174 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:18:20 +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
Gethin James
f60bdb5914 Merged searchapi (5.2.1) to 5.2.N (5.2.1)
129777 gjames: Reformatted to Alfresco standards


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130168 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:14:52 +00:00
Gethin James
b2a6ad44ef Merged searchapi (5.2.1) to 5.2.N (5.2.1)
129776 gjames: SEARCH-113: Adding a default success response


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130167 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:14:45 +00:00
Gethin James
c12508fb75 Merged searchapi (5.2.1) to 5.2.N (5.2.1)
129775 gjames: Updated the auto-generated headers using mvn license:update-file-header


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130166 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:14:38 +00:00
Gethin James
bfd32ef859 Merged searchapi (5.2.1) to 5.2.N (5.2.1)
129774 gjames: SEARCH-113: Moving more api logic to helper classes, using a "trait" style


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130165 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:14:29 +00:00
Jamal Kaabi-Mofrad
ff2ce9d706 Merged 5.2.0-CLOUD44 (Cloud ) to 5.2.N (5.2.1)
129940 jkaabimofrad: SFS-610: A fix for the V1 node API where listing children and including certain properties returned 403 in the Cloud context, when the owner is "admin@alfresco.com".


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130094 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-02 15:56:05 +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
78ed7e9c2d REPO-1090: fix regress (V1 REST API - list children within the context of a smart folder)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129886 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-25 12:14:41 +00:00
Kevin Roast
0c779ff00b Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
129680 kroast: Merged 5.0.N (5.0.5) to 5.1.N (5.1.2) (PARTIAL MERGE)
      129458 cpopa: Merged 5.0.2 (5.0.2.24) to 5.0.N (5.0.4)
         129454 cpopa: MNT-15376 : NTLM authentication sometimes fails with IE10+ (chrome OK) - concurrent socket threads   
            - Synchronize the processing of Type1 and Type3 messages on the same session.
            - Synchronize safely by using WebUtils.getSessionMutex(session) than the session object directly
            - Reuse the previously cached Type2Message in the Share SSOAuthenticationFilter


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129874 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-25 10:37:45 +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
Jan Vonka
940fa92b21 REPO-1144: LockService - add isLocked & isLockedAndReadOnly common helper methods to public API
- remove duplicated code from various locations to use the new methods
- add sanity checks to Lock*Test

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129764 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-22 14:20:52 +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
Martin Muller
c83c0521b2 Add a specific error message for invalid maxItem and skipCount. REPO-1061. (small optimation)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129731 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-22 09:51:05 +00:00
Martin Muller
30a8157a06 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@129730 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-22 09:47:07 +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
Martin Muller
e694fe4476 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@129701 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-19 13:32:34 +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
Martin Muller
de1ba8f23b Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
129597 mmuller: Merged 5.0.N (5.0.5) to 5.1.N (5.1.2) (PARTIAL MERGE)
      129593 mmuller: Merged 5.0.4 (5.0.4) to 5.0.N (5.0.5)
         129585 mmuller: Merged 5.0.3 (5.0.3.9) to 5.0.4 (5.0.4)
            129514 mmuller: MNT-16380, REPO-927, ESC-469 Regression fix from 4.2 --> 5.0. Can now use relative paths again.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129608 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-17 19:46:25 +00:00
Jelena Cule
943a9ea417 REPO-1023: Service Pack: MNT-16454 Can't use WebDAV to delete files which have the versionable aspect
- check that node is is actually locked before unlocking to avoid access denied


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129501 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-14 18:06:06 +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