Commit Graph

1242 Commits

Author SHA1 Message Date
Jan Vonka
5730cefc7c Merged 5.2.N-AUDIT-API (5.2.2) to 5.2.N (5.2.2)
137955 jvonka: REPO-2643 - add "clearAuditByIdRange" to underlying Audit Service/Component/DAO 
   - to enable deletion of audit entries within an audit app based on id range (fromId / toId) in addition to time range
   - required for REST API Delete Application Audit Entries (REPO-1519)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137982 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-07-12 12:12:13 +00:00
Ancuta Morarasu
f10fa934f5 REPO-2516 - MNT-17845: Add a missing constant in tests.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137793 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-23 16:44:54 +00:00
Ancuta Morarasu
f84a7bf2f3 Merged MNT-17845-5.2.N (5.2.2) to 5.2.N (5.2.2)
137772 anechifor: REPO-2516 - MNT-17845 : Smart Folders - subtitute isReference with fromNodeRef


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137782 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-23 11:37:10 +00:00
Ancuta Morarasu
689c4cac70 Merged MNT-17845-5.2.N (5.2.2) to 5.2.N (5.2.2)
137726 jvonka: REPO-2516 - MNT-17845 : Smart Folders - node id (sys:node-uuid) that starts with 'v'
   - step 2 (experimental => sub-optimal) fix to also handle non-virtual node ids that happen to start with 'v0', 'vH', 'vP' (including simple unit test)
   - requires refactor to avoid parsing twice (ie. most usages of isReference + fromNodeRef)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137781 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-23 11:32:04 +00:00
Ancuta Morarasu
069d6bcc57 Merged MNT-17845-5.2.N (5.2.2) to 5.2.N (5.2.2)
137723 jvonka: REPO-2516 - MNT-17845 : Smart Folders - node id (sys:node-uuid) that starts with 'v'
   - follow-on to previous commits to update test for step 1
   - this should fix node ids that begin with 'v' (but not with valid encodings, eg. 'v0', 'vH', 'vP', .. see step 2/3)
   - tweak isReference (set as "trace" debug logging)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137780 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-23 11:31:49 +00:00
Ancuta Morarasu
05af878987 Fix the api-explorer version, there is no 5.2.2-SNAPSHOT version yet.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137776 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-23 07:34:24 +00:00
Alexandru Epure
df009a5e27 REPO-2520: Community: SiteMembership Java API calls should tell which site resulted in errors
Changed tests asserts from (actual value, expected value) to (expected value, actual value) as recommended in the Junit Assert Javadoc.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137771 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-22 12:57:06 +00:00
Derek Hulley
4191e3beed REPO-2434: Fix testGetPersistentType
- Renamed to testGetPersistentTypeForStrings
 - divorce the test from any dialect that happens to set the string length by setting and resetting the string length
 - Test explicitly around 2000 chars rather than the default


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137722 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-21 08:52:55 +00:00
Martin Muller
cf2240d301 Fix the failed test tomorrow
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137719 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-20 18:51:14 +00:00
Jan Vonka
fc391b7839 Reverse merge: REPO-2516 / MNT-17845:: exists(NodeRef) fails if smart folders is enabled and filename begins with 'v' - moved to dev branch: DEV/MNT-17845-5.2.N
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137716 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-20 15:18:09 +00:00
Martin Muller
f45b93b896 REPO-2557, ALF-21907 Lock owner can add comments to the lock node
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137709 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-20 14:15:38 +00:00
Erik Knizat
81548469ea Changed the test to use the none final max string length
SchemaBootstrap.getMaxStringLength() instead of SchemaBootstrap.DEFAULT_MAX_STRING_LENGTH

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137706 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-20 10:59:33 +00:00
Andrei Forascu
63158ba8b2 REPO-2495 / ALF-21892 - Missing Workflow Message Labels
- added missing workflow messages
    - fixed testMultiInstanceListenersCalled Junit to look for Workflow message

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137705 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-20 10:36:00 +00:00
Martin Muller
82037ee4b6 REPO-2559, ALF-21909 Corrected missmatch in VirtualStoreImpl and VirtualQueryImpl. I corrected some name convention from my commit before (MNT-17113)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137702 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-19 16:35:20 +00:00
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
Erik Knizat
1d2be53620 REPO-2448 MNT-17613 Introduce support for native MariaDB JDBC driver
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137661 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-15 16:17:47 +00:00
Erik Knizat
14d5b14611 REPO-2448 MNT-17613 Introduce support for native MariaDB JDBC driver
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137660 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-06-15 16:17:03 +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