Commit Graph

6336 Commits

Author SHA1 Message Date
Derek Hulley
567dbf9dd5 Fixed imports found during investigation
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131541 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-19 11:20:35 +00:00
Gethin James
3c7a0a0e2e SEARCH-107: Extend search public API for multi-select facets
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131528 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-19 07:58:16 +00:00
David Draper
edba48ea75 SHA-1771: Update Search script object to support search term highlighting
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131523 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-18 16:02:13 +00:00
Kevin Roast
829474d7e4 Merged DEV/WEBAPP-API (5.2.0) to 5.2.N (5.2.N)
131265 kroast: Merged 130934 from HEAD - SHA-1698

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131488 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-17 15:47:06 +00:00
Iuliana Danea
7e51279b82 ACE-5463: 500 error: GET /nodes/{nodeId}/comments?skipCount=XXX
-implemented fix and added new unit test

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131470 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-17 10:55:17 +00:00
Iuliana Danea
5283ba4762 ACE-5453: 500 error: GET /nodes/{nodeId}/ratings?skipCount=XXX
- implemented fix and added new unit test 

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131385 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-13 06:52:01 +00:00
Gethin James
8942cd5586 SEARCH-195: Removed duplicate code
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131382 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-12 16:06:38 +00:00
Cristian Turlica
cf5a52b978 REPO-1394: Discovery: merge back to 5.2.N (from feature branch)
Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
      130980 jkaabimofrad: REPO-224: API for retrieving detailed repository information.
   Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
      131056 jkaabimofrad: REPO-224: Removed "transformationServerExpiresAt" attribute from the license JSON response as it is not part of AC.
   Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
      131179 jkaabimofrad: REPO-224: Modified the license's entitlement response to always return "isClusterEnabled" and "isCryptodocEnabled".

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131344 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-12 05:14:58 +00:00
Gethin James
f32522319d SEARCH-181: Sending CountDocsMissingFacetField to solr
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131324 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-11 15:48:10 +00:00
Gethin James
99a47b92e7 SEARCH-106: Fix highlighting typo
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131308 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-11 10:59:54 +00:00
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
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
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
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
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
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
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
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
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