Commit Graph

1060 Commits

Author SHA1 Message Date
Martin Muller
b9828bc2de REPO-2519, MNT-17113 Remove Error log if content node for thumbnail was deleted.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137695 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-19 09:50:51 +00:00
Andreea Nechifor
57a06d6f5a REPO-2516 / MNT-17845:: exists(NodeRef) fails if smart folders is enabled and filename begins with 'v'
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137689 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-19 07:24:31 +00:00
Andreea Nechifor
de879c7399 REPO-2516 / MNT-17845:: exists(NodeRef) fails if smart folders is enabled and filename begins with 'v'
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137669 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-16 14:05:24 +00:00
Michael Suzuki
d59ba9a578 Search-340, amend exclude filter to use correct format
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137125 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-02 13:54:33 +00:00
Gethin James
4f24842830 Merged searchrep (5.2.1) to 5.2.N (5.2.1)
137019 msuzuki: Search-340, added unit test to cover range start and end inclusive options


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137089 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-01 11:23:14 +00:00
Gethin James
fbb0a8d52f Merged searchrep (5.2.1) to 5.2.N (5.2.1)
137016 gjames: SEARCH-340: Changing range tags to label


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137088 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-01 11:23:07 +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
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
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
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
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
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
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
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
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
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
Gethin James
696eb94564 Merged searchbcr (5.2.1) to 5.2.N (5.2.1)
136071 gjames: SEARCH-334: Adding pivot to the request


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136101 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-24 13:18:28 +00:00
Gethin James
30ec01a0d6 Merged searchbcr (5.2.1) to 5.2.N (5.2.1)
135772 gjames: SEARCH-419: Correct handling of fieldfacet label and exclusion filters


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136093 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-24 13:15:16 +00:00
Gethin James
e2395b1f57 Merged searchbcr (5.2.1) to 5.2.N (5.2.1)
135626 gjames: SEARCH-339: Corrected field encoding in the test


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136091 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-24 13:15:04 +00:00
Gethin James
9800efdec7 Merged searchbcr (5.2.1) to 5.2.N (5.2.1)
135579 gjames: SEARCH-339: Better timezone handling for the test


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136087 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-24 13:14:27 +00:00
Gethin James
55b34dedd4 Merged searchbcr (5.2.1) to 5.2.N (5.2.1)
135568 gjames: SEARCH-339: Adding permissionService mock


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136085 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-24 13:14:10 +00:00
Gethin James
9a9e731bb4 Merged searchbcr (5.2.1) to 5.2.N (5.2.1)
135512 gjames: SEARCH-339: Adding enhanced date parsing facet interval requests


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136082 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-24 13:13:52 +00:00
Michael Suzuki
94c231dac6 Fix broken unit test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@136050 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-23 11:22:42 +00:00
Jamal Kaabi-Mofrad
467db88fa5 Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
135878 jkaabimofrad: APPSREPO-118: A few minor tweaks based on peer review.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135933 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-16 19:39:42 +00:00
Jamal Kaabi-Mofrad
3053256b6f Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
135805 jkaabimofrad: fixed tests failures.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135932 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-16 19:39:37 +00:00
Jamal Kaabi-Mofrad
de94938b0d Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
135804 jkaabimofrad: APPSREPO-35, APPSREPO-118: Added tests for reset password service and REST API.
       - Added a utility class (EmailUtil) to work with MailActionExecutor in test mode
       - Added a new workflow task responsible for sending the reset password confirmation email (per peer review)
       - Changed the reset-password endpoint to return a 202 response for an inactive workflow or invalid workflow id, key or mismatched user
       - Some other minor changes as the result of adding tests
       - Also, fixed tests failures by changing the reset password workflow definition target namespace URI.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135931 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-16 19:39:31 +00:00
Andrei Forascu
c9c30849f9 REPO-2156 / MNT-16748: Failing to extract auditing entries from SearchService using Share, CMIS.
- Added two JUnit tests that test that the audit records are added when using SearchService query(SearchParameters): one in the AuditMethodInterceptorTest and another one in AuditWebScriptTest that is using the Rest-API get audit method to query the audit
- Refactored also an existing test in AuditMethodInterceptorTest

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135899 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-16 15:11:27 +00:00
Cristian Turlica
242cc5b406 REPO-2189: Service Pack: MNT-17239: Unexpected changes of cm:modified and cm:modifier
- IncompleteNodeTagger disables cm:auditable and cm:versionable when making changes

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@135891 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-03-16 13:24:07 +00:00