Commit Graph

7038 Commits

Author SHA1 Message Date
Gethin James
ddbcd88aa1 Merged searchrep (5.2.1) to 5.2.N (5.2.1)
136998 ahind: SEARCH-455    Stats pivot fails on SOLR 4
   - ignore legacy facets entry in SOLR 4 stats response


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137083 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-01 11:13:57 +00:00
Gethin James
fa49623fd8 Merged searchrep (5.2.1) to 5.2.N (5.2.1)
136989 gjames: SEARCH-430: Combining pivot with range


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137080 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-01 11:13:25 +00:00
Gethin James
6ab77f9459 Merged searchrep (5.2.1) to 5.2.N (5.2.1)
136958 gjames: SEARCH-340: Fixing range tags


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137075 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-01 11:12:54 +00:00
Gethin James
7b2503b73d Merged searchrep (5.2.1) to 5.2.N (5.2.1)
136945 gjames: Search-340, Adding timezone to the range test


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137074 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-01 11:12:49 +00:00
Gethin James
737eec33a0 Merged searchrep (5.2.1) to 5.2.N (5.2.1)
136944 gjames: SEARCH-451: Switching to the new pivot format


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137073 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-01 11:12:43 +00:00
Gethin James
4358e0854a Merged searchrep (5.2.1) to 5.2.N (5.2.1)
136941 msuzuki: Search-340, added date parsing to range


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137072 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-01 11:12:27 +00:00
Gethin James
da5c6dd2cd Merged searchrep (5.2.1) to 5.2.N (5.2.1)
136888 msuzuki: Search-340, align range response with interval response


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137067 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-01 11:11:53 +00:00
Gethin James
840eac1609 Merged searchrep (5.2.1) to 5.2.N (5.2.1)
136846 msuzuki: Serach-427, refactored to return the facets response as a generic facets when group by is used


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137063 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-01 11:11:29 +00:00
Gethin James
15043453d8 Merged searchrep (5.2.1) to 5.2.N (5.2.1)
136836 gjames: SEARCH-447: Better handling of multiple stores with multiple shards


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137062 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-01 11:11:19 +00:00
Gethin James
14076fbb3b Merged searchrep (5.2.1) to 5.2.N (5.2.1)
136808 gjames: SEARCH-339: Adding bucketInfo for intervals with consistent names


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137060 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-01 11:11:00 +00:00
Gethin James
e6db3f683e Merged searchrep (5.2.1) to 5.2.N (5.2.1)
136805 msuzuki: Search-340, changed range to a collection as it may handle many range facets


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137058 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-01 11:10:46 +00:00
Gethin James
9162f6236c Merged searchrep (5.2.1) to 5.2.N (5.2.1)
136777 msuzuki: Search-340, renamed range to ranges


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137054 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-01 11:10:18 +00:00
Gethin James
d85d2c1acf Merged searchrep (5.2.1) to 5.2.N (5.2.1)
136776 ahind: SEARCH-441    History & old versions: API - scope
    - fix DB query support for the imaginary history store which can never be supported against the database


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137053 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-01 11:10:11 +00:00
Gethin James
740248a2c0 Merged searchrep (5.2.1) to 5.2.N (5.2.1)
136774 msuzuki: Search-340, renamed facetInfo to bucketInfo


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137052 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-01 11:09:57 +00:00
Gethin James
7a78667f8c Merged searchrep (5.2.1) to 5.2.N (5.2.1)
136768 msuzuki: Search-347, refactor to use search parmeters hasFaceting method


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137051 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-01 11:09:50 +00:00
Gethin James
7f4c1882a7 Merged searchrep (5.2.1) to 5.2.N (5.2.1)
136767 msuzuki: Search-340, tidy up parameter naming


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137050 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-01 11:09:42 +00:00
Gethin James
394a399fa2 Merged searchrep (5.2.1) to 5.2.N (5.2.1)
136763 gjames: SEARCH-339: Switching to an Interval Set


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137049 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-01 11:09:32 +00:00
Gethin James
3d8da9cf63 Merged searchrep (5.2.1) to 5.2.N (5.2.1)
136733 msuzuki: Search-340, added mapping for tags and excludeFilters


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137047 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-01 11:09:15 +00:00
Gethin James
53adbf1d53 Merged searchrep (5.2.1) to 5.2.N (5.2.1)
136724 gjames: SEARCH339: Interval null property handling


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137046 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-01 11:09:08 +00:00
Gethin James
2f9d4dfc6e Merged searchrep (5.2.1) to 5.2.N (5.2.1)
136712 msuzuki: Search-340, added filterQuery to facet range response


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137045 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-01 11:09:01 +00:00
Gethin James
60c9645ae3 Merged searchrep (5.2.1) to 5.2.N (5.2.1)
136707 gjames: SEARCH-348: Adding timezone to search api


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137044 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-01 11:08:54 +00:00
Gethin James
a76bd0ce17 Merged searchrep (5.2.1) to 5.2.N (5.2.1)
136705 msuzuki: Search-340, added tags and excludeFilters to pojo


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137043 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-01 11:08:46 +00:00
Gethin James
e63978d430 Merged searchrep (5.2.1) to 5.2.N (5.2.1)
136699 msuzuki: search-340, added addtional facet data relating to range on the generic facet model


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137042 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-01 11:08:34 +00:00
Gethin James
9edb795eff Merged searchrep (5.2.1) to 5.2.N (5.2.1)
136690 msuzuki: Search-340, Added addtional params: include, other and hardend


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137041 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-01 11:08:20 +00:00
Gethin James
3f1cdb2a84 Merged searchrep (5.2.1) to 5.2.N (5.2.1)
136678 msuzuki: SEARCH-340, tidy up and fix query mapping


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137040 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-01 11:08:12 +00:00
Gethin James
34ffa0a6a5 Merged searchrep (5.2.1) to 5.2.N (5.2.1)
136673 msuzuki: SEARCH-340, adding facet range search


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137038 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-01 11:07:54 +00:00
Gethin James
0363358d42 Merged searchrep (5.2.1) to 5.2.N (5.2.1)
136626 gjames: SEARCH-409: Adding equals and hashCode to metrics classes


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137035 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-01 11:07:17 +00:00
Gethin James
6cd68f0132 Merged searchrep (5.2.1) to 5.2.N (5.2.1)
136625 gjames: SEARCH-409: Changing metrics to a Set


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137034 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-01 11:07:11 +00:00
Gethin James
5bc06458c8 Merged searchrep (5.2.1) to 5.2.N (5.2.1)
136624 gjames: SEARCH-409: Better handling of stats metric response


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137033 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-01 11:07:04 +00:00
Gethin James
7ff5ac1413 Merged searchrep (5.2.1) to 5.2.N (5.2.1)
136623 gjames: SEARCH-409: Initial solr stats api


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137032 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-01 11:06:54 +00:00
Gethin James
747c899312 Merged searchrep (5.2.1) to 5.2.N (5.2.1)
136312 gjames: SEARCH-339: Fixing afts filterquery


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137030 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-01 11:06:29 +00:00
Matt Ward
64a0f743a2 MNT-17703: Allow Bulk Import versioning without appending a version number to docs
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136971 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-05-26 15:55:40 +00:00
Ancuta Morarasu
b930f7ca56 REPO-2451 / MNT-17612: AccessDeniedException in AOS Edit Offline - Upload New Version
- Make sure ephemeral locks which are expired are ignored.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136946 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-05-25 15:39:16 +00:00
Alexandru Epure
8c5964adfb MNT-17199 - CSV user import: if password is left blank it should be randomly generated
Modified UserCSVUploadPost behaviour to use an empty string for password creation instead of the user's first name.
   Modified RepositoryAuthenticationDao > createUser behaviour to treat the case when the password is an empty string or null.
   Added a Unit test.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136902 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-05-24 10:17:12 +00:00
Martin Muller
ada17648b6 MNT-15365 Missed final declaration for inner class in test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136853 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-05-23 09:51:47 +00:00
Martin Muller
fb024fca86 MNT-15365 Added if nodeExists on executeActionImpl() + test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136842 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-05-22 13:55:08 +00:00
Martin Muller
54c72e1818 MNT-15365 Added if nodeExists on executeActionImpl() + test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136841 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-05-22 13:45:34 +00:00
Jan Vonka
8c9416b739 REPO-2257 - Service Pack: MNT-17661: Copy action copies thumbnail modification data
- fix ThumbnailService to use "do nothing" copy behaviour for "cm:thumbnailModification" aspect
- add embedded unit test

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136840 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-05-22 12:17:09 +00:00
Martin Muller
d8f90ea98d Reverse merged 5.2.N (5.2.1)
136820 mmuller: MNT-15365 Forbid pending rule applying on working copies. Added test.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136833 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-05-22 09:24:43 +00:00
Jamal Kaabi-Mofrad
eeb40852b4 ACE-5782: Reverted MNT-15457 fix, and added tests to check for Solr specials facets, TAG and SITE, when registered via custom property file.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136824 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-05-19 17:31:49 +00:00
Martin Muller
24fbd605ff 136820 mmuller: MNT-15365 Forbid pending rule applying on working copies. Added test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136820 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-05-19 15:17:15 +00:00
Jan Vonka
1e3a40232a REPO-2449 - Service Pack: MNT-17561: Unable to preview .zip file contents in Share
- oops this should have been comitted as false ! ... 
- ... but at least we've proven that it works (see 5.2.N b618 & b619) ;-)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136812 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-05-19 08:58:22 +00:00
Jamal Kaabi-Mofrad
54e6489b48 Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
136796 jkaabimofrad: Added a test for MNT-17824 fix.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136811 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-05-19 08:32:32 +00:00
Jamal Kaabi-Mofrad
2d714be75d Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
136785 jkaabimofrad: MNT-17824: Added a workaround for retrieving authorities (i.e. group or role) that were created with 'GROUP_' prefix before MNT-14958 fix.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136810 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-05-19 08:32:26 +00:00
Jan Vonka
1ee1cbd533 REPO-2449 - Service Pack: MNT-17561: Unable to preview .zip file contents in Share
- add embedded testArchiveToPdf & ensure ArchiveContentTransformerTest is added to suite (wasn't being run before ?)
- minor refactor of related tests to ensure "Transformers" subsystem is started before checking content transformer registry
- add TEMP workaround to attempt to (re-)start LibreOffice/OpenOffice when running in local env

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136802 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-05-18 15:21:20 +00:00
Alan Davis
34940ab70a MNT-17601 "My completed tasks" error with embedded sub process
- The reason that no tasks were found was that the ActivitiTypeConverter.findUserTasks(...)
     method simply did not take sup processes into account. Transitions in a sub process were
     not being walked, so no user tasks inside the sub process were found. A test was added that
     ensures that the task inside the sub process of the sample workflow is now found. 

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136799 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-05-18 14:35:03 +00:00
Constantin Popa
77b1df5335 Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
136713 cpopa: APPSREPO-183 : Create repository unit tests for the new policies added for PermissionService and AuthorityService
      - trivial fix to use diamond syntax


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136716 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-05-12 12:05:41 +00:00
Constantin Popa
2b7575e8ed Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
136703 cpopa: APPSREPO-183 : Create repository unit tests for the new policies added for PermissionService and AuthorityService
      - added Junit tests that exercise the new PermissionServicePolicies and AuthorityServicePolicies


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136715 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-05-12 12:05:18 +00:00
Constantin Popa
ab81943a66 Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
136412 cpopa: APPSREPO-66: Capture and transmit permission changes to the client
      - Added AuthorityServicePolicies policies which are invoked when a group is deleted, an authority is added or removed from a group
      - Added PermissionServicePolicies policies which are invoked when a local permissions is granted/removed, permission inheritance is enabled/disabled


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136420 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-04-25 14:03:02 +00:00
Jamal Kaabi-Mofrad
3094a66ea5 Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
136277 jkaabimofrad: APPSREPO-173: Added "smartFoldersEnabled" parameter into the HeartBeat class so it reports whether the smart folders feature is enabled or not.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136327 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-04-12 17:06:08 +00:00