Steven Glover
e83e9f4bc1
Merged DEV/SG/MNT15135 to 5.2.N
...
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@130692 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-15 13:06:35 +00:00
Derek Hulley
08ed266520
Fix test after MNT-16748. Forgotten file.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130674 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-15 08:56:00 +00:00
Derek Hulley
a19acf2a0e
Even better example of auditing SearchService for MNT-16748
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130649 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-14 14:38:35 +00:00
Derek Hulley
0e6e0dd1a8
More succint audit example for MNT-16748
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130648 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-14 14:08:12 +00:00
Derek Hulley
d1b10a6592
More succint audit example for MNT-16748
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130647 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-14 14:07:42 +00:00
Derek Hulley
5148f6f0e0
Extended testing for 'post' auditing for MNT-16748
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130633 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-14 11:17:24 +00:00
Derek Hulley
aad9baaf63
Test for MNT-16748: Failing to extract auditing entries from SearchService
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130631 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-14 09:59:18 +00:00
Derek Hulley
4a1cd62d4d
Fix formatting found during investigation
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130629 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-14 09:48:01 +00:00
Derek Hulley
6b270998e9
Formatting during investigation
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130612 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-13 16:04:19 +00:00
Alan Davis
735fee253a
MNT-16181 transformations for application/dita+xml
...
- StringExtractor is now able to extract text so searching is now working, which was the main reason for this Customer issue.
- PdfBox.TextToPdf is now able to transform .dita fiels to .pdf. As a result it is also possible to preview the files (although the xml tags are visible) and
to generate .png thumbnails using the complex.Text.Image transformer (which has an intermediate .pdf stage).
- As expected TikaAuto (or our patched 1.6 version) does not know about the DITA mimetype application/dita+xml so is not claiming to transform this type even
though it is just an XML file.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130609 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-13 15:28:03 +00:00
Constantin Popa
f1a811ac8a
SHA-1720 : Implement the Cloud email template
...
- Allow Cloud customization of the moderated email template
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130537 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-12 06:22:19 +00:00
Alan Davis
416221e6b8
MNT-16381 Transformers must validate the content stream mimetype
...
- Allow the whitelist to be viewed and set via JMX.
Before this change it was only possible via alfresco-global.properties.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130528 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-09 16:01:44 +00:00
Derek Hulley
91bc40800e
Fix ACE-1249: Fix HazelcastLockStoreTxTest.testReadsWhenNoTransaction
...
- Actually, I just deleted the commented out code since it's not a use case we need to worry about
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130497 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-08 19:40:16 +00:00
Derek Hulley
8991f629ee
Remove some deprecated methods and classes in the MetadataExtracter hierarchy
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130493 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-08 16:02:39 +00:00
Gethin James
3e01528a9d
Merged searchapi (5.2.1) to 5.2.N (5.2.1)
...
130147 gjames: SEARCH-121: Implementing facet fields
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130306 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 15:39:39 +00:00
Gethin James
530ad65778
Merged searchapi (5.2.1) to 5.2.N (5.2.1)
...
130107 gjames: SEARCH-122: Implementing spellcheck queries
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130301 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 15:39:10 +00:00
Gethin James
36a9a488d9
Merged searchapi (5.2.1) to 5.2.N (5.2.1)
...
130061 gjames: SEARCH-120: Facet queries label support
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130300 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 15:39:04 +00:00
Gethin James
1154c0f39e
Merged searchapi (5.2.1) to 5.2.N (5.2.1)
...
130040 gjames: SEARCH-160: set facet=true for facet queries and/or field facets
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130296 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 15:38:42 +00:00
Gethin James
1672f28cb1
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
Alan Davis
905c97c8f8
MNT-16381 Transformers must validate the content stream mimetype
...
- Fix NPE in TransformerConfigImplTest
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130143 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-05 20:03:27 +00:00
Alan Davis
4557b66f73
MNT-16381 Transformers must validate the content stream mimetype
...
- Addition of a while list of Tika derived mimetypes and declared mimetypes that are deemed to be safe (e.g. for .ai and .pdf).
- Based on Andrei's patch (see CR-546), but with the strictMimetypeCheck configuration and logic moved to TransformerConfig
- Rework of DifferrentMimeTypeTest (was not in the patch) as it had become hard to understand.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130139 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-05 16:22:31 +00:00
Steven Glover
69875655cf
REPO-1112 "ActionTrackingServiceImplTest.testTransientlyFailingActions() is transiently failing" let's try a retry loop for the offending assert (the actionservice may just be slow)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130135 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-05 15:41:55 +00:00
Jan Vonka
4a08d6bdfc
REPO-1130 / MNT-16531: Cannot create a folder (or site) named "v" while Smart Folders is enabled
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130072 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-02 11:03:06 +00:00
Jan Vonka
756bf65c24
REPO-1108 / ALF-21645: Unable to delete a folder containing a checked-out document
...
- follow-on fix for test fallout
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129958 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-30 18:50:54 +00:00
Jan Vonka
0f8c965198
REPO-1108 / ALF-21645: Unable to delete a folder containing a checked-out document
...
- add initial fix & related new test for COCI (delete + restore)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129951 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-30 15:39:34 +00:00
Derek Hulley
0065739435
Remove tabs found during investigation
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129834 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-24 14:37:00 +00:00
Derek Hulley
dfd4c40903
Format fixes
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129833 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-24 14:19:36 +00:00
Jan Vonka
d00a88e618
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
Steven Glover
215660d5a3
MNT-15135 "Alfresco Media Management: Rendition Concurrency Failure on Property update" relax test constraints and more debug logging to determine test failure
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129788 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-23 10:47:57 +00:00
Steven Glover
b61c0705e4
MNT-15135 "Alfresco Media Management: Rendition Concurrency Failure on Property update" add extra debugging to determine why test fails
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129784 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-23 08:46:39 +00:00
Jan Vonka
bed5266ff8
REPO-164 / REPO-1086: fix fallout from r129751
...
- note: stackoverflow caught by CMISTest
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129768 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-22 16:45:54 +00:00
Steven Glover
6088467c2d
Merged https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/AMUKHA/5.2.N-MNT-15135 to 5.2.N
...
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@129765 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-22 14:33:09 +00:00
Jan Vonka
cc97515300
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
8679372a42
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
d471969302
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
Michael Suzuki
54ace720da
Search-95, updating solr features from the latest solr development branch
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129519 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-16 12:35:01 +00:00
Andrei Rebegea
a73174a971
REPO-1012 : DB builds: Fix a batch of tests that (regularly) fail on SQL Server
...
- adding retrying transactions for the propertyValueDAO.cleanupUnusedValues() method calls as MS SQL is slow and has problems coping with other threads updating the alf_prop_ tables
- changed the order of the tests to help reduce other tests failing because of these clean up tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129495 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-12 16:04:19 +00:00
Steven Glover
6ec76401b1
MNT-16375 "CMISChangelog auditing enablement impacts CMIS connection if quantity records are excessive" remove unintentional checkin of test
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129456 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-11 09:46:49 +00:00
Steven Glover
bf740afd1e
MNT-15449 "EagerContentStoreCleaner job not working correctly using Cryptodoc contentstore encryption" handle missing content url key in CryptoContentStore by returning EmptyContentReader, which fixes the issue seen by the customer but means that the DeletedContentBackupCleanerListener will not work with the CryptoContentStore. Also, remove override of testDeleteReaderStates test (this should be handled by the test superclass)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129409 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-10 09:47:25 +00:00
Stefan Kopf
55085f5479
MNT-16609 - Alfresco OOTB install doesn't show preview for .EML files on Windows
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129407 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-10 09:12:22 +00:00
Steven Glover
bf9655a9eb
MNT-16375 "CMISChangelog auditing enablement impacts CMIS connection if quantity records are excessive" fix tests
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129392 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-10 07:57:29 +00:00
Steven Glover
e559032bf9
MNT-16375 "CMISChangelog auditing enablement impacts CMIS connection if quantity records are excessive" replace use of template.select with template.selectList (to prevent MySQL streaming exceptions), fix up affected client classes, and add extra AuditDAOTests around audit query fromId, toId, fromTime, toTime and maxResults
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129387 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 16:02:19 +00:00
Alexandru Epure
341a01c71f
Merged 5.2.N (5.2.1) to HEAD (5.2)
...
129222 kroast: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
129148 kroast: Merged 5.0.N (5.0.4) to 5.1.N (5.1.2) (PARTIAL MERGE)
129068 kroast: ESC-476, MNT-16162
Folder access in 'private' sites using site path url fails versus repository url path
SHA-1682
Granular Permissions File and Folder Access for non-site members
- Navigating to a Document Library folder link in the search results page to a folder you have been given access to in a private site. You can now navigate to the folder and all sub-folders you have been given access to within that private site.
- Navigating to a Document Details page link in the search results page to a document you have been given access to in a private site.
- The Tags 'Could not retrieve tags' and the Tree component "Site not found: ..." messages have been made less aggressive looking within the Document Library views - the red background has been removed.
- The private site missing title (was blank previously) in the title area has been replaced with the site url name which is all the user is able to resolve given the private permissions for the site object.
See tickets for more detail on fixes and what functionality is available.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129378 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:18:12 +00:00
Alexandru Epure
eb9de8d90c
Merged 5.2.N (5.2.1) to HEAD (5.2)
...
129177 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128603 jvonka: V1 REST API: minor - fix typo spotted by GC. In fact, introduced in r232 (05/04/05) !! :-)
REPO-408 (and related)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129351 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:14:05 +00:00
Alexandru Epure
c3d08a0753
Merged 5.2.N (5.2.1) to HEAD (5.2)
...
129163 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128482 jvonka: REPO-839: Follow-on to fix test fallout
- subtle fix to mimeType guess (ie. application/octet-stream should be last resort, if magic bytes indicate txt/xml and there is no file ext)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129337 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:12:01 +00:00
Alexandru Epure
e66d943107
Merged 5.2.N (5.2.1) to HEAD (5.2)
...
129119 adavis: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
129115 adavis: Merged 5.0.N (5.0.4) to 5.1.N (5.1.2)
129111 adavis: Merged 5.0.2 (5.0.2.23) to 5.0.N (5.0.4)
120632 amorarasu: MNT-15367: Unable to bulk import filenames with portuguese characters in a linux environment.
- Fixed empty catch blocks and added some comments as per review.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129317 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:08:58 +00:00
Alexandru Epure
b882721161
Merged 5.2.N (5.2.1) to HEAD (5.2)
...
129118 adavis: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
129114 adavis: Merged 5.0.N (5.0.4) to 5.1.N (5.1.2)
129110 adavis: Merged 5.0.2 (5.0.2.23) to 5.0.N (5.0.4)
120495 amorarasu: MNT-15367: Unable to bulk import filenames with portuguese characters in a linux environment.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129316 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:08:50 +00:00
Alexandru Epure
6673abff0e
Merged 5.2.N (5.2.1) to HEAD (5.2)
...
129094 gjames: Merged 5.0.N (5.0.4) to 5.2.N (5.2.1)
129078 gjames: MNT-14966: cmis:isPrivateWorkingCopy is not supported in queries.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129314 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:08:31 +00:00
Alexandru Epure
40e8fdd0fb
Merged 5.2.N (5.2.1) to HEAD (5.2)
...
129056 amorarasu: MNT-16381: Transformers must validate the content stream mimetype
- When validating a mime-type, check on the type alias as well.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129311 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:08:06 +00:00
Alexandru Epure
29945e3205
Merged 5.2.N (5.2.1) to HEAD (5.2)
...
129048 cpopa: SHA-1627 : CLONE - Create email template
- Hooked a new step into the invite moderated workflow, so as to notify by email all site managers of site join requests.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129310 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 14:07:57 +00:00