Commit Graph

6839 Commits

Author SHA1 Message Date
Gethin James
595d281c20 SEARCH-106: Add hightlighting to the ResultSet
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131294 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-11 07:12:32 +00:00
Gethin James
7c7587e477 SEARCH-106: Add hightlighting to the ResultSet
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131293 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-11 07:12:30 +00:00
Gethin James
460db685d7 SEARCH-194: Adding hightlighting to the Solr Http request
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131291 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-11 07:12:19 +00:00
Alex Mukha
33ee24817c Merged DEV to 5.2.N (5.2.1)
131050 skopf: REPO-483 - The repository does not contain any code or data related to JBPM / ACE-1659 - Remove JBPM and Hibernate
   131057 skopf: REPO-483 - The repository does not contain any code or data related to JBPM / ACE-1659 - Remove JBPM and Hibernate / fix test CMISTest.testModelAvailability
   131064 skopf: REPO-483 - The repository does not contain any code or data related to JBPM / ACE-1659 - Remove JBPM and Hibernate
      - added patch to remove JBPM database tables
   131169 skopf: REPO-483 - The repository does not contain any code or data related to JBPM / ACE-1659 - Remove JBPM and Hibernate
      - replaced generic DB script with database specific scripts
   131171 skopf: REPO-483 - The repository does not contain any code or data related to JBPM / ACE-1659 - Remove JBPM and Hibernate
      - Fix DB2 patch
   131213 skopf: REPO-483 - The repository does not contain any code or data related to JBPM / ACE-1659 - Remove JBPM and Hibernate
      - Fix JBPM table removal patch

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131286 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-10 17:34:57 +00:00
Derek Hulley
245770e049 Updated to use alfresco-data-model:6.1-SNAPSHOT that includes the removal of ContentStore.getUrls methods
- Fixed derived code to remove the implementations


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131256 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-06 19:46:02 +00:00
Derek Hulley
4125597e28 Removed redundant content replication-related code. AggregatingContentStore replaced it.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131254 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-06 19:43:51 +00:00
Alex Mukha
395ff422c5 REPO-1357: HotFix: MNT-16889: With encryption enabled alf_content_url_encryption not set using ContentService getWriter(null,,false)
- Fixed creation of the content URL so that the key is not lost.
   - Added a test.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131243 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-06 16:28:14 +00:00
Joel Bernstein
5efe89b616 SEARCH-175: Support Solr4 and Solr6 spellcheck response formats
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131184 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-04 21:42:20 +00:00
Constantin Popa
c4484c18e3 SHA-1779 : Double slash in the pending invites link
- Get rid of the double slash in the pending invites link

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130881 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-23 12:22:28 +00:00
Derek Hulley
f593629a86 Removed tabs found during investigation
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130811 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-20 01:24:21 +00:00
Steven Glover
a11c8778e9 Reverse Merge:
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@130769 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-19 10:23:19 +00:00
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