59895: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (Cloud/4.3)
59748: Merged DEV to V4.2-BUG-FIX (4.2.2)
59567: MNT-10278: "Format" column is empty for Dublin Core View
Implemented renderer for mymetype.
Added mimetypeDisplayName property to JSON root values to be able to display human readable mimetype description without additional calls from JavaScript code.
Added localized strings for unknown types in English and Russian languages.
Edited dublin_core view sample to use mimetype instead of cm:mimetype.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62214 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
. Convert short qnames to long qnames in our templates to avoid DD access to resolve full qnames
. Optimize out N+1 queries from calling RatingService.getRating() unless the document has at least one Like (which is available in the rolled up property already present on the node) - up to 99% quicker when building "Likes" JSON structure...!
. Added new optimized method to FileFolderService to retrieve a cm:name based path - only the String for each path element not the full FileInfo structure for each (avoid full getProperties() - 70% quicker to build webdav URL
overall before/after to retrieve doclist2 script (8x concurrent threads x25 repeats etc.) Before: 1030ms After: 645ms
Also improves original doclist script (used by dashlets) and single node retrievals.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@47448 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
44117: ALF-16979 - Invalid JSON template is produced when 'Infinity' or '-Infinity' values are rendered by ?c FreeMarker built-in. Also fixes number output when rendered by JSONConversionComponent.propertyToJSON() Java backed JSON output.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@44119 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
38283: Merge V3.4-BUG-FIX (3.4.11) to V4.1-BUG-FIX (4.1.1)
38281: ALF-14340 CLONE: Alfresco crashes when viewing doclib / previewing - PDF with CMap
- Fix rotate build failure on 4.1.1 and HEAD
Disable 'ANY' (wild carded) transforms where one of the other intermediate transforms
supports the transform.
38276: Fixed ALF-12524 "Check in/out to Google Docs actions are available for original document"
- Updated comments for gdocs checkin evaluator
- Added new doclib evaluators: evaluator.doclib.action.notWorkingCopy, evaluator.doclib.action.checkedOutAspect & evaluator.doclib.action.notCheckedOutAspect
- Made sure evaluator.doclib.action.googleDocsCheckOut use notWorkingCopy & notCheckedOutAspect
- Made sure both "google doc checkin" action's js function works for both working copy & original on Document Details page
38275: ALF-14784: Multi-valued Properties Not Serialized to JSON Correctly
- Moved serialization of individual properties to JSON to separate method which is called recursively for lists
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@38285 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
Performance improvement: prevent unnecessary 304 revalidation requests for thumbnails in detailed view of My-Documents and Recently Modified Documents dashlets
Fixed bean config problem (caused by r34662)
Fix build break
Refactored revalidation code to remove previously added WebScripts that are now surplus to requirements
Performance improvement: prevent unnecessary 304 revalidation for avatars on site colleagues dashlet
Performance improvement: prevent unnecessary 304 revalidation for avatars on following/follwers pages
Performance improvement: prevent unnecessary 304 revalidation for avatars in activity feeds
Performance improvement: prevent unecessary 304 revalidation for user avatar thumbnails in header WebScript
Prevent 304 revalidations for unchanged thumbnails in document library, web preview and search
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@34698 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
33836: Fix for ALF-10651 Fix patches that trigger reindexing and ALF-10656 SOLR: Patches execute search during bootstrap causing deadlock
33842: Fixes ALF-12797: i18n strings in activiti-admin login-screen escaped properly
33844: Fix for ALF-10651 Fix patches that trigger reindexing and ALF-10656 SOLR: Patches execute search during bootstrap causing deadlock
- batch touch to limit the in clause size generated
33845: Manually added extra core Share extensions needed for the V4.0 Records Management module from the development branch.
- Refactored JSON property decorators for the Document Library data webscripts
- Document List banners (e.g. working copy) moved into metadata template config
- Ability to override default document/folder title within Document Library (<title> element in metadata template - unused in core code)
- Additional extension point in surf-doclist to override remote data URL
- Better handling for missing content property
33852: ALF-12725: Merged V3.4-BUG-FIX (3.4.9) to V4.0-BUG-FIX (4.0.1)
33849: Merged V3 (3.4.8) to V3.4-BUG-FIX (3.4.9)
33848: ALF-10976 (relates to ALF-10412)
Fixed bug to do with preview being stuck as always being 'Content cannot be previewed.
Do you wish to download?' or a 'blank preview after a transformer is not found' for all
content with the same mimetype. Cache in ThumbnailRegistory.getThumbnailDefinitions()
now understands that transformers may have an upper content size limit. The choice between
the two options was based on the size of the first file previewed of each mimetype.
Needed to add getMaxSourceSizeBytes() to support this (see below).
- refactored (previous refactor was incomplete) ContentTransformer so that
the two halfs of isTransformable is now split into sub methods
isTransformableMimetypes and isTransformableSize.
This is why there are so many files changed.
- Moved getMaxSourceSizeBytes() from AbstractContentTransformerLimits to ContentTransformer as
there were becomming too many places in the code that needed needed to check if the ContentTransformer
was an instanceof AbstractContentTransformerLimits before calling this method.
- TransformerDebug now uses KB MB GB values in output to make it simpler to read.
- TransformerDebug now uses thousand separaters in millisecond values to make it simpler to read.
- TransformerDebug now reports the 'parent' transformer name rather than the sub-transformer name
when an unavailable transformer is found. Makes it simpler to tie up with the 'available transformer'
list with the new pushIsTransformableSize() calls.
- TransformerDebug now uses trace logging for calls from ThumbnailRegistory.isThumbnailDefinitionAvailable()
as it is normally followed by a ContentService.transform() which is logged at debug level anyway.
- TransformerDebug now turns logging level to trace if the file size is 0 bytes. Request from Jan.
Not sure how one uploads such a file!
- Modified ComplexContentTransformer.isTransformable() so that it checks the mimetypes before the sizes
so that TransformerDebug does not report 'unavailable transformers' that don't support the
mimetype conversion.
- Modified ComplexContentTransformer.getLimits and ComplexContentTransformer.isPageLimitSupported()
to include the limits from the first sub transformer.
Was not an issue until ContentTransformer.getMaxSourceSizeBytes() was introduced.
- Added logger to RhinoScriptProcessor to debug requests run javascript on the server.
- Dropped the sourceUrl parameter from ThumbnailRegistry.getThumbnailDefinitions() which was
introduced with limits as it is logicall not needed.
33853: DiskInterface.renameFile() can now throw PermissionDeniedException to return a different status to the client. Part of ALF-12717.
33856: Merged V3.4-BUG-FIX to V4.0-BUG-FIX
33835: ALF-12546: Remove references to retired RegPaths.exe from installed apply_amps.bat script
33843: Fix for ALF-12775
33855: Merged V3.4 to V3.4-BUG-FIX
33851: ALF-12588: Documents Intermittently Do Not Appear in Share
- Fix by Alex Busel for regression I accidentally caused in 3.4.6
- Simple typo in mergeDeletions() caused path deletions to sometimes not get applied or get processed twice
- Yikes!
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@33857 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261