Add priorities to transformers
- Addition of a separate Transformers subsystem (holds configuration to allow JMX to be used to reset it on the fly)
- Moved supported, unsupported and explicit transformation configuration from spring into transformers.properties in the subsystem
- Moved all transformer limits configuration from spring and into transformers.properties with the exception of some added for thumbnails
and the rendering service - not done as this code is known to be changing.
- Added priority, errorTimes and thresholdCount to enable selection of transformers by priority.
- Removed the concept of 'Explicit' transformation and replaced with priority and unsupported.
- Added logging to aid in the creation of global properties and removal of spring configuration.
- Implementation of spring pluggable transformation selector that uses priority.
- Merging current state of code changes to allow other work in this area to take place.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@46719 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- some of it build specific - possibly due to test inter-dependencies ?
- comment-out broken unit tests for now and re-open CLOUD-1348 to ensure that these get revisited and fixed
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@46623 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Added TemporalSourceOptions.validateTimeString which checks the value against a regular expression validator
- Added a call to validateTimeString in the setters for offset and duration
- Added TemporalSourceOptionsTest which tests validation success and failures
- Added TemporalSourceOptionsTest to ContentMinimalContextTestSuite
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@46601 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
46383: ALF-17893: CLONE - Mappings for Metadata Extractors Should be Defined in Config
- Added support for new alfresco/metadata location will preserving backwards compatibility with the old location
- Added tests for support of properties in the new location, the old location, and that on missing properties the error thrown indicates the new location
- Updated JavaDoc for new alfresco/metadata location
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@46392 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
45144: Fix for ALF-16790 - upload ignores additional aspects for updateNodes
45174: Merged V4.1-BUG-FIX-2012_11_22 to V4.1-BUG-FIX
43940: ALF-15209: Add Dashlet to User or Site Dashboard not working when IE8 is operating in Compatibility Mode.
Fix check p_el.attributes["id"] to avoid errors for "IE8 compatibility mode
45175: Fix for ALF-17260 - Tags list not updated after moving/copying an high number of nodes with taggable aspect but no tags
45188: ALF-16254 ("Leave Site" behaviour for group based site membership)
45204: Fix for ALF-17335 - OnCreateNodePolicy not fired when custom type is used in the Share flash upload
45218: ALF-17248 BaseAssociationEditor.java does not return any results when the query filter consists of "firstname + lastname"
45221: Merged V4.1.3 (4.1.3) to V4.1-BUG-FIX (4.1.4) RECORD ONLY
45220: Merged: V4.1-BUG-FIX (4.1.4) to V4.1.3 (4.1.3)
44054: Fix for ALF-16337. Datalist assignee not searchable by full name.
45218: ALF-17248 BaseAssociationEditor.java does not return any results when the query filter consists of "firstname + lastname"
45245: ALF-17089 (Displaying Url Name instead of site Name in Select form)
45257: ALF-17318 Unnecessary Canned Query in .getPeople(String,...) on startup.
- Just one extra query on each run of the FeedNotifier was being made at the end.
The sequence of queries are necessary.
45336: Merged DEV to V4.1-BUG-FIX (4.1.4)
45318: ALF-14086: CLONE - Sort order of folders including hyphens ( - ) are different in folder-tree and view on folders (in Share)
Sort groups and users on the Java server side using collators.
- Deprecated a few methods not deprecated in DEV and removed one which had just been added to 4.1.4
45362: Merged V3.4-BUG-FIX (3.4.13) to V4.1-BUG-FIX <<RECORD ONLY>>
45361: Merged V3.4 (3.4.12) to V3.4-BUG-FIX (3.4.13)
45360: ALF-17431: Merged V4.1 (4.1.2) to V3.4 (3.4.12)
43622: ALF-16757: Sharepoint doesn't work correct with SSO
- Fix by Pavel
45385: Merged V4.1.3 (4.1.3) to V4.1-BUG-FIX (4.1.4)
45384: ALF-17097 60k Site Performance: Admin Console | Groups | Browse Groups (include sys groups): Results isn't appeared.
- Error in authorities comparator causing test failure of ALF 14086 in 4.1.4 only.
4.1.3 was okay as ALF 14086 now uses the change made for ALF-17097 but only in 4.1.4
45452: Corrected config check for ALF-16413 - Share asks for Basic-Auth while not needed trying to access RSS feeds (thus breaking SSO).
45467: Fix for ALF-17509 - patches the FreeMarker built-in ?js_string to correctly encode the "/" character.
45468: ALF-17492 - WebScript errors must contain useful information
- SpringSurf libs 1217 provide additional INFO log information on the HTTP method, URL+params that caused the exception.
45475: Fix for ALF-17510 - Upgrade of htmlparser from 1.6 to 2.1
45566: Fixed ALF-17530
- Refactored "successCallback" & "successScope" parameters for multipart uploads to be simply "success" (same for failure)
45574: Fixed ALF-17528
- Asserting that request is made using application/json
45662: Merged HEAD to BRANCHES/DEV/V4.1-BUG-FIX:
45660: Fixes: ALF-17539 - The server was failing to parse the date. It shouldn't have been trying to parse it at all.
45849: Merged HEAD to BRANCHES/DEV/V4.1-BUG-FIX:
45824: Fixes: ALF-13676: Event edit times are now presented using the date-format.shortTime setting & may be entered in either 24h or 12hr formats.
45876: ALF-17642: Fix broken HtmlParserContentTransformerTest after upgrade of htmlparser to 2.1
- Since the upgrade slightly changed the behaviour of the transformer, I added some explanatory comments to the test and to the transformer class.
45927: Fix for ALF-17302 DocLib sort is determined by server locale rather than browser locale
- GetChildrenCannedQuery was not using locale based collation
46014: Fix for ALF-17732 - SWF files are considered insecure content and should not be displayed directly in the browser.
46160: Fix for ALF-17759 - HTML files are stripped from metadata and style information after they are uploaded.
46186: Fix for ALF-17786 - Site dashboard page issues too many requests (Site Members dashlet issues avatar requests when it doesn't need too)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@46287 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Moved code in ImageCropOptions to CropSourceOptions
- Moved crop rendition parameters to CropSourceOptionsSerializer
- Removed notion of crop options from ImageRenderingEnding as its now handled by the source options processing of AbstractTransformationRenderingEngine and CropSourceOptionsSerializer
- Removed notion of crop options from ImageTransformationOptions as its now handled by the source options in TransformationOptions
- Changed ImageMagickContentTransformerWorker to get crop options from the TransformationOptions source options
- Added CropSourceOptions to imageRenderingEngine's sourceOptionsSerializers in rendition-services-context.xml
- Deprecated ImageCropOptions
- Removed unused imports and log declaration in TransformationOptions
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@46218 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
45449: ALF-13254: TransformationOptions Should Have Separate Source and Target Options
- Added SerializedTransformationOptionsAccessor interface which defines the methods used in the protected AbstractRenderingEngine.RenderContext class in a public manner
- Changed AbstractRenderingEngine.RenderContext to implement SerializedTransformationOptionsAccessor
- Added TransformationSourceOptions interface which also contains TransformationSourceOptionsSerializer interface which uses SerializedTransformationOptionsAccessor for deserialization
- Added base AbstractTransformationSourceOptions class
- Added PagedSourceOptions class which extends TransformationSourceOptions for start and end page options
- Added TemporalSourceOptions class which extends TransformationSourceOptions for time-based offset and duration options
- Changed TransformationOptions to contain TransformationSourceOptions held as a map with class as key
- Changed ImageTransformationOptions to extend copyFrom
- Changed ImageMagickContentTransformerWorker.getSourcePageRange to check for paged source options in the TransformationOptions passed in
- Added ImageMagickContentTransformerTest.testPageSourceOptions to test null, default, page 2, and invalid options
- Changed ThumbnailRenditionConvertor to iterate the transformationOptions.sourceOptionsList and use each serializer to add to the parameters
- Changed AbstractTransformationRenderingEngine to iterate a list of TransformationSourceOptionsSerializers and use each to deserialize the RenderContext parameters and construct a TransformationSourceOptions object
- Changed rendition-services-context.xml to set imageRenderingEngine's list of known sourceOptionsSerializers
- Changed ThumbnailServiceImplParameterTest to test paged and temporal options
- Added ThumbanailServiceImplTest.testCreateRenditionThumbnailFromPdfPage2 which tests grabbing the second page of a PDF
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@46062 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
45168: CLOUD-1140: Activities PostLookup : "Skipping activity post 1234567"and occasionally "Exception during update of posts" (due to InvalidNodeRefException) - see also ALF-16739
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@45974 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Removed catch of exception and closing of output stream in TikaPoweredMetadataExtracter to allow AbstractMappingMetadataExtracter to better handle the error
- Added catch of ContentIOException during construction of error details in AbstractMappingMetadataExtracter
- Added ContentMetadataEmbedderTest to test a failing embedder
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@45949 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
45342: ALF-17215: Convert multi page PDF Document to image fails with convert.exe: Improper image header
- Changed MIMETYPE_APPLICATION_PHOTOSHOP constant in MimetypeMap to newer image/vnd.adobe.photoshop
- Added source and target mimetype parameters to AbstractImageMagickContentTransformerWorker.transformInternal and ImageMagickContentTransformerWorker.transformInternal methods
- Added ImageMagickContentTransformerWorker.isSourcePageRangeRequired method which checks source and target mimetypes
- Moved determination of source page range in ImageMagickContentTransformerWorker to its own getSourcePageRange method
- Added checks for length of resulting file as it should always exist
- Changed ImageMagickContentTransformerTest to use transformer.ImageMagick bean from Spring rather than hard coded imconvert.exe
- Added MockMimetypeService to ImageMagickContentTransformerTest which will iterate through a limited set of mimetypes during testAllConversions
- Added a second page to quick.pdf
45343: ALF-17215: Convert multi page PDF Document to image fails with convert.exe: Improper image header
- Added check for TIFF source as well which can be multi-paged
45345: ALF-17215: Convert multi page PDF Document to image fails with convert.exe: Improper image header
- Added multi-page quick.tiff file
- Added check for target type of EPS or Photoshop in isSourcePageRangeRequired
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@45364 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
44796: Fix for ALF-16413 - Share asks for Basic-Auth while not needed trying to access RSS feeds (thus breaking SSO).
- Share Feed Controller which correctly deals with SSO config for the "alfresco-feed" endpoint
Configure the "alfresco-feed" endpoint to use SSO in the same way the "alfresco" endpoint is configured for it. Share will then detect this when serving feeds and ensure the SSO auth is used ahead of Basic HTTP auth.
44820: Merged V3.4-BUG-FIX (3.4.12) to V4.1-BUG-FIX (4.1.3)
- A few extra 4.x changes were required
44818: ALF-17256 (3.4.12) Update Copyright notice to 2013
44831: ALF-17224 (All wiki pages are enumerated/built to display a single wiki page)
44841: ALF-17206 CIFS loses metadata when metadata edited from Windows 7 Explorer
44844: Incremented version revision to 4.1.4
44848: Fix for ALF-17178 SolrLuceneAnalyser.findAnalyser generating InavlidQNameExceptions wher they are easily protected.
44849: Fix for ALF-17162 Queries for content properties with a long search string causes huge amount of memory usage
44851: ALF-17224: Improvements for the wiki dashlet
44866: Merged PATCHES/V4.1.1 to V4.1-BUG-FIX
44663: ALF-17281 / MNT-231: Unable to cancel editing on certain docs in 4.1.1.10
- It's now impossible for WebDAV or anything else execpt CheckOutCheckInService to unlock a checked out node
- It's also now possible to un check out / check in broken unlocked nodes, such as those on ts.alfresco.com!
- Unit tests by Viachaslau Tikhanovich
44664: ALF-17281 / MNT-231: Unable to cancel editing on certain docs in 4.1.1.10
- File missed in previous checkin
44867: ALF-17285: Merged PATCHES/V4.0.1 to V4.1-BUG-FIX
44766: MNT-241: Severe performance issues with WebDAV / filesystem / IMAP rename operations
- FileFolderServiceImpl.rename calls moveNode to do its renaming work
- Unfortunately AbstractNodeDAOImpl.moveNode() was not optimized for the rename case and attempted to cascade-recompute ACLs on a simple folder rename
- On a large hierarchy this could result in hanging transactions and delays of several minutes whilst all the node ACLs were repointed and all the node caches were invalidate
44787: MNT-241: Fixed merge issue.
44823: MNT-241: Severe performance issues with WebDAV / filesystem / IMAP rename operations
- The last optimization revealed a caching problem
- The childByName cache was retaining stale values because node renaming wasn't incrementing the node version key
- We were previously relying on the unnecessary ACL re-evaluation on a move to 'bump' the version key and invalidate the childByName cache as a side effect
- Now we explicitly invalidate childByNameCache when necessary and also update parent association rows individually rather than in bulk, hopefully avoiding unnecessary database lock contention
44830: MNT-241: Subtlety: On rename we only update and invalidate those associations for which name uniqueness checking is enforced. Such associations have a positive CRC
44868: Merged PATCHES/V4.1.3 to V4.1-BUG-FIX (RECORD ONLY)
44845: Incremented version revision to 4.1.3
44847: Merged PATCHES/V4.1.1 to PATCHES/V4.1.3
44863: ALF-17285: Merged PATCHES/V4.0.1 to PATCHES/V4.1.3
44864: ALF-15935: Merge V4.1-BUG-FIX to V4.1.3
44029 : MNT-180 - Clone for Hotfix: Word document on Windows via CIFS becomes locked (Read Only) when network drops temporarily
44865: Merged V4.1-BUG-FIX to PATCHES/V4.1.3
44872: Merged PATCHES/V4.1.3 to V4.1-BUG-FIX
44871: Fixed merge issue
44875: Merged V4.1-BUG-FIX (4.1.2) to V3.4-BUG-FIX (3.4.12) RECORD ONLY
44815: Merged V4.1-BUG-FIX to V3.4-BUG-FIX
44776: ALF-17164: Fix failing build in case build is not run in continuous mode - move generation of version.properties out of continuous mode
44874: ALF-17283: Merged V4.1-BUG-FIX (4.1.2) to V3.4-BUG-FIX (3.4.12)
41411: Fix possible FTP data session leak if client mixes PORT and PASV commands. ALF-15126
44876: Merged DEV to V4.1-BUG-FIX
44838: ALF-14468: Unable to authorize to Facebook
Add 'www' to 'alfresco.com' urls.
44878: ALF-17208 - category.ftl does not allow to find multiple tags in Share advanced Search
44879: Fix for ALF-17150 - Edit Online action missing in Share for some mime types
44880: Fix to merge fail (rev 44866/44872)
44881: Fix for ALF-17186 - JBOSS specific: Google Docs v2 are not working
44904: Fix build
- Merry Christmas!
44906: Merged V3.4-BUG-FIX to V4.1-BUG-FIX
44882: Fix for ALF-13805 - Authenticating Share RSS feed using cookies rather than basic auth
44884: Incremented version revision to 3.4.13
44903: Merged V3.4 to V3.4-BUG-FIX
44885: Fix unit test to cope with ALF-14421 version label behaviour (major unless specified).
44905: Merged V3.4 to V3.4-BUG-FIX (RECORD ONLY)
44883: Merged V3.4-BUG-FIX to V3.4 (3.4.12)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@44910 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
44765: ALF-17164: Fix failing build in case build is not run in continuous mode
44769: ALF-17097 60k Site Performance: Admin Console | Groups | Browse Groups (include sys groups): Results isn't appeared.
- Group page now supports search and browse of large volumes of groups. Tested up to 300,000 sites (60k sites).
Previously this would not return.
- In order to support large volumes of groups it is not practical to search for all root groups.
A functional change has taken place to fix this issue.
[Browse] (which initially displayed only root groups) now uses the search value entered by the user and the same
query as [Search]. It could be argued that the browse functionality was not very practical anyway if there were
a large number of root groups as the user would have to page through all the pages one at a time to get to the
required group in order to add a new sub group. As a result of this change it is now possible to get to the
required group much faster. As the 'browse' function uses the search value and Include System Groups checkbox
(it already used the checkbox value) it made little sense to revert to the Search results when either of these
is changed. As this was taking place, this has now been changed too. The [Search] and [Browse] options both now
use the authority canned query which has been enhanced to use the sortBy field supplied by the UI.
- Uses the authority canned query for [Search] and [Browse] searches on the Groups page.
- Canned query may sort on "shortName", "displayName" or "authorityName"
- Filter on displayName uses regular expressions to support ? and * wildcards
- Canned query returns fewer (unused) columns to speed up fetch time.
- Canned query no longer joins to alf_store as none of the values were used.
44772: CIFS Gedit support - rename open files.
44776: ALF-17164: Fix failing build in case build is not run in continuous mode - move generation of version.properties out of continuous mode
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@44790 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
44740: BDE-91 - added ability to enable and disable some RMI services through config.
44744: Incorrect service url used for Links RSS feed. Code tidy up.
44754: Fix performance degradation when using SSO header based authentication config:
- The SlingshotAlfrescoConnector used when configuring header based SSO for Share was not extending the RequestCachingConnector class - means it was missing out on the free caching of identical GET requests per page render
- This makes a huge difference to the number of small requests required to build pages in Share 4.0+, particularly dashboards and document details pages.
44759: ALF-17245: Merged PATCHES/V3.4.10 to V4.1-BUG-FIX
44104: Merged DEV to PATCHES/V3.4.10
43953: MNT-214 : Modification date is lost when Excel 2003 is closed
The modification date is now updated during rename operation.
44711: Merged DEV to PATCHES/V3.4.10
44699: MNT-214 : Modification date is lost when Excel 2003 is closed
A fix to save modification date in shuffle rename operation.
44760: ALF-17246: Merged V3.4-BUG-FIX to V4.1-BUG-FIX
44757: ALF-17073: Advanced search - Lucene query construction - Change between 3.4.9 and 3.4.10
- In the fix to ALF-12666 followed by ALF-14699 we somehow lost the ability to distinguish ANDs from ORs. The 'additional attributes' should be part of an OR, but we still need to AND together multiple ORs if the AND operator is specified.
44761: Merged V3.4-BUG-FIX to V4.1-BUG-FIX (RECORD ONLY)
44748: Merged PATCHES/V3.4.10 to V3.4-BUG-FIX
42311: ALF-17235: Merged PATCHES/V4.0.2 to PATCHES/V3.4.10
39939: ALF-15001: Gracefully handle stale NodeRefs in query results in DMDiscoveryServicePort
- SOLR makes this more likely to occur
44104: ALF-17236: Merged DEV to PATCHES/V3.4.10
43953: MNT-214 : Modification date is lost when Excel 2003 is closed
The modification date is now updated during rename operation.
44415: ALF-17237: Merged DEV to PATCHES/V3.4.10
MNT-211 : versionable aspect lost from .csv files edited over CIFS using Office 2003
44711: ALF-17236: Merged DEV to PATCHES/V3.4.10
44699: MNT-214 : Modification date is lost when Excel 2003 is closed
A fix to save modification date in shuffle rename operation.
44762: Merged V4.1 to V4.1-BUG-FIX
44743: ALF-17117: Created article or publication cant be viewed on WQS site
- Further corrections to locking to avoid deadlocks
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@44763 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
44674: Fix for ALF-17189 - The "Company Home" item in the top navigator menu and in the toolbar panel is invisible, if login as guest first then directly access the login page via URL.
44701: Merged BRANCHES/DEV/V3.4-BUG-FIX to BRANCHES/DEV/V4.1-BUG-FIX
44700: Fix for ALF-10369 - support for OPTIONS requests for WebScript framework and Share proxy
44709: ALF-17164 Fix version.properties which was wrong in sdk zip
44710: ALF-14570 ("Check out" outboud rule works incorrect)
44722: MNT-246: Need the ability to configure a proxy with Enterprise Sync.
- RemoteConnectorServiceImpl will now use an http/https proxy if the standard system properties for Java network proxy configuration are found. See http://docs.oracle.com/javase/6/docs/technotes/guides/net/proxies.html (Section 2.1 and 2.2)
44730: Merged V4.1 to V4.1-BUG-FIX
44461: Merged PATCHES/V4.1.1 to V4.1
44060: ALF-16962 / MNT-221 Links from a deleted user cause error in the "Links" page
44129: ALF-17134 / MNT-223: Unbound SOLR result set (from Explorer trashcan query) consumes heap
- Now we emulate the behaviour of ACLEntryAfterInvocationProvider in SolrQueryHTTPClient, thus limiting otherwise unconstrained SOLR queries to return a finite number of results
- New solr subsystem parameter solr.query.maximumResultsFromUnlimitedQuery introduced
- Its default value is ${system.acl.maxPermissionChecks}, thus providing backward compatibility with old behaviour (1000 results max)
- When there are no other limits in the search parameters, this value will be used to limit the number of results
- SolrJSONResultSet.getResultSetMetata().getLimitedBy() will return an appropriate LimitBy value, according to how the query was limited
44130: ALF-17134 / MNT-223: Unbound SOLR result set (from Explorer trashcan query) consumes heap
- Improved calculation of SolrJSONResultSet.getResultSetMetata().getLimitedBy() to better emulate ACLEntryAfterInvocationProvider
44141: ALF-17134 / MNT-223: Unbound SOLR result set (from Explorer trashcan query) consumes heap
- Correction to handling of limited queries (Share search works again!)
44291: ALF-17094 / MNT-222 InvalidNodeRefException on user deletion in Share UI
44462: Merged PATCHES/V4.0.2 to V4.1
44221: ALF-17038 / MNT-226: Out-of-order versions for existing data during migration from 3.4.9 to 4.0.2.19
- Have been able to remove the need for any Comparators in the normal case.
As Dave said, he thought it was ordered already. It is with "assoc.assoc_index ASC, assoc.id ASC".
Required a bit of re factoring of Version2ServiceImpl to do it as they were referenced/used in a couple of other classes.
- Modified all 43 Oracle sequences to include ORDER in the create statement.
Probably only really was needed to do it on alf_child_assoc_seq to fix this issue, but it will stop similar issues in
other clustered database setups. Did not change the upgrade scripts, as this will give us a clue that there will be
existing data issues.
- The name of a Comparator<Version> may be specified in the Alfresco global property:
org.alfresco.repo.version.common.VersionLabelComparator and it will be used by BOTH Version2ServiceImpl and VersionServiceImpl.
They in turn pass it on to Version2ServiceImpl instances when they create them.
- A VersionLabelComparator already existed (still deprecated as we don't normally use it) and works:
org.alfresco.repo.version.common.VersionLabelComparator.
- Customers with out of sequence ids on Oracle RDBMS using a clustered database may 'correct on the fly' the order of their
versions by setting the alfresco global property described above.
- Have tested both with and without a comparator in development environment. Using break points and Collections.shuffle(version)
in an expression was able to simulate out of order IDs.
- New unit tests added to VersionHistoryImplTest and VersionServiceImplTest to test db ids out of order
44336: ALF-15935: Fixed SecureContext errors when ticket has expired. MNT-180
44467: Fixed compilation failure
44520: ALF-16590: Improved fix after testing by Mark Lugert
44563: Merged DEV to V4.1 (with corrections)
44547: ALF-17132: Possible XSS - arbitrary url parameters re-sent to the browser
Escaping of keys and values of request attributes
44610: Merged PATCHES/V4.0.2 to V4.1
44435: ALF-17183: Merged DEV to V4.0.2 (4.0.2.22)
44429: MNT-232: Upgrade from 3.4.9 to 4.0.2 - FAILED
- Initialize rootRefs in the property definition to prevent NPE.
44591: Fix to CIFS reported user free space when disk quotas are not enabled.
44595: ALF-17184 / MNT-243 Minimal fix for disk size and user quotas. (Bring values into line with API.)
44601: ALF-17184 / MNT-243 - Implementation of file size on Abstract Tennant Routing Content Store.
44608: ALF-15935 / MNT-180: Moved closeFile() call to closeConnection() cleanup method, always call closeFile()
Do not check if file is marked as closed during cleanup, only open files should still be in the file table.
44652: ALF-17117: Created article or publication cant be viewed on WQS site
- Fixes by Dmitry Vaserin
- Removed unnecessary outer read locks from getRelatedAssets and getRelatedAsset to prevent deadlock
- Correct markup error when node doesn't have tags
44653: ALF-17117: Created article or publication cant be viewed on WQS site
- Missed file from previous checkin
44682: ALF-17118 WQS: Impossible to upload document to publications space
- Only first part to do with the transformation failure has been committed.
44731: Merged V4.1 to V4.1-BUG-FIX (RECORD ONLY)
44441: Merge V4.1-BUG-FIX to V4.1
44270: Merge V3.4-BUG-FIX to V4.1-BUG-FIX
44266: BDE-111: harden generation of Windows installers
- make sure build fails if installer generation fails
- generate Windows unsigned installers in a place that is cleaned later, avoiding leftovers
44598: Merged V4.1-BUG-FIX to V4.1
44541: Fix for ALF-17151 SOLR - add support to disable permission checks
44577: Final part for ALF-16558 SOLR tracking does not do incremental updates but one single chunk
- fixed code so SolrSearchers are held for as little time as possible
44607: Merged V4.1-BUG-FIX to V4.1
44603: ALF-14201: upgrade activiti to 5.7-20121211
44606: ALF-14201: upgrade activiti to 5.7-20121211 in Maven poms
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@44732 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
43944: Fixes: ALF-16090: fixes view mode for control param showTime.
43964: Fixes: ALF-14758. Adds distinct styling for menus nested 4 levels or deeper to prevent confusion if there's an overlap.
44029: MNT-180 - Clone for Hotfix: Word document on Windows via CIFS becomes locked (Read Only) when network drops temporarily
44040: Merged V3.4-BUF-GIX (3.4.12) to V4.1-BUG-FIX (4.1.3)
44039: Minor changes to TransformerDebug to make output more readable when there are exceptions.
- NPE when there is no exception message
44046: MERGE DEV to V4.1-BUG-FIX
ALF-16562 : CIFS: Excel document version history lost after saving content in Excel:mac 2011 on Mac Mountain Lion
44115: Changes to standalone file state cache access mode checks to bring them into line with the clustered file state cache.
44160: Fix for ALF-13129, checks to see if the child association already exists on the versioned node. If it exists it doesn't add it again.
44239: ALF-16977: InstallerBuilder 8.5.1 2012-11-29 with layout fix from Bitrock
44319: Latest installer translations from Gloria
44343: Merged V4.1 (4.1.2) to V4.1-BUG-FIX (4.1.3)
44339: ALF-17070: Merged to V4.1 (4.1.2) from V4.1-BUG-FIX (3.4.12)
<< Regression introduced into 4.0.2 on 12/4/12 r35201 >>
44337: Merged DEV to V3.4-BUG-FIX (3.4.12)
44297: ALF-16935: wcm/avm file picker fails to render selection from folders navigation only works with 127.0.0.1 url
- Fix for regression from ALF-11956, connected with setting titles for file picker controls
44316: Merged DEV to V4.1
44094: ALF-16794: CLONE - Webdav: Version history lost after editing content with Mac Word 2011 in Finder
Add WebDAV MOVE handling for case when backup is enabled in Mac 2011 Word
44285: ALF-16794: CLONE - Webdav: Version history lost after editing content with Mac Word 2011 in Finder
Handle Mac 2011 Word backup in scope of RenameShuffle
44312: Part 3 for ALF-16895 SOLR: Cannot find files after restart and reindex solr
- fix incremental cache state to cope with duplicate leaf/aux doc entries.
44283: Encoding fix by David Webster
44275: Part 2 for ALF-16895 SOLR: Cannot find files after restart and reindex solr
- fix initial cache state to cope with duplicate leaf/aux doc entries.
44252: Russian fix from Gloria
44200: Probable fix for ALF-16895 SOLR: Cannot find files after restart and reindex solr
- still difficult to reproduce
44149: Merged HEAD to V4.1
44037: ALF-16947: prevent dependency to web-framework-commons war to be transitive: this artifact is not generated in Ant build
44039: Version in parent-pom was not changed properly when deploying to Maven repo
44142: ITALIAN: Translation update based on EN r43623, fixes ALF-16609
44107: ALF-16016, ALF-15991, ALF-16180: Russian fixes by Gloria
44078: ALF-16620: Out of memory Error applying CopiedFromAspectPatch
- CopiedFromAspectPatch.WorkProvider.getNextWork() was fetching discrete managable chunks
- and then blowing up as it continually fetched into the same in-memory HashSet!
44404: Merged DEV to V4.1-BUG-FIX
44378: ALF-16791 : resource bundle deployement for localization does not work with the dynamic approach
1. Split out MessageService message lookup methods into new interface MessageLookup that lives in DataModel
2. Added a simple implementation for SOLR to use
3. Made M2Label look up model labels via a supplied MessageLookup argument
4. Make DictionaryService extend MessageLookup so that it's easy to find a MessageLookup if you've got a DictionaryService
5. Accounted for interface changes throughout.
44421: ALF-17114: Merged V3.4-BUG-FIX (3.4.12) to V4.1-BUG-FIX (4.1.3)
44419: ALF-17045 If GhostScript is not installed, deletion of content is not working
- Not just Ghostscript but any thumbnail failure
44422: ALF-16123: "CheckOutCheckInService.checkout fails with DuplicateChildNodeNameException if no working copy label message found in current locale"
44424: Merged V4.1 (4.1.2) to V4.1-BUG-FIX (4.1.3) RECORD ONLY
44423: ALF-17114: Merged V4.1-BUG-FIX (4.1.3) to V4.1 (4.1.2)
- got the wrong branch
44421: ALF-17114: Merged V3.4-BUG-FIX (3.4.12) to V4.1-BUG-FIX (4.1.3)
44419: ALF-17045 If GhostScript is not installed, deletion of content is not working
- Not just Ghostscript but any thumbnail failure
44447: Merged V4.0.2 (4.0.0.22) to V4.1-BUG-FIX (4.1.3) RECORD ONLY
<< Recording this as RECORD ONLY as it turns out the DEV code came form V4.1-BUG-FIX r42431 >>
44435: Merged DEV to V4.0.2 (4.0.2.22)
44429: MNT-232: Upgrade from 3.4.9 to 4.0.2 - FAILED
- Initialize rootRefs in the property definition to prevent NPE.
44468: Merged V3.4-PATCHES to V4.1-BUG-FIX
MNT-211 (Still needs implementing on 4.1)
44470: Fixes: ALF-16878 - don't use IE8's native JSON stringify method.
44511: ALF-16791: Added missing class.
44519: ALF-16791: Fixed broken unit tests
44541: Fix for ALF-17151 SOLR - add support to disable permission checks
44542: MNT-211 Re-implement on 4.1
44548: ALF-16791: Fixed broken SOLR
44559: ALF-17075: "Exporting and importing null MLText values does not work."
44577: Final part for ALF-16558 SOLR tracking does not do incremental updates but one single chunk
- fixed code so SolrSearchers are held for as little time as possible
44590: ALF-14523 (Share - Metadata constraint on workflow creation)
44594: ALF-16310: "Calling CancelCheckout() on the original document deletes the document."
44596: ALF-17075: "Exporting and importing null MLText values does not work." - change test name to something more meaningful
44599: ALF-16310: "Calling CancelCheckout() on the original document deletes the document."
44600: ALF-16791: Another omission not covered by unit tests
44603: ALF-14201: upgrade activiti to 5.7-20121211
44605: Added missing vti.server.url.path.prefix property required by commit 43471
Missing due to cherry picked commit, this is implemented as part of 39309 on HEAD.
44606: ALF-14201: upgrade activiti to 5.7-20121211 in Maven poms
44613: ALF-13690 (Share - It's possible to delete site groups via the UI)
44618: ALF-16939: "Error "importStatus.batchWeight is undefined" is thrown when Bulk Importer status webscript is run for XML format"
44621: Merged PATCHES/V4.1.1 to V4.1-BUG-FIX
44620: MNT-247: Merged DEV to PATCHES/V4.1.1 with corrections
44526: ALF-16964: Share alfrescoCookie connector fails when alfresco.authentication.allowGuestLogin=false, use case proxy between share and alfresco
Check if external authentication is active in BaseServlet
44628: Solution for ALF-3780 - Dashboard settings not deleted for deleted user.
Initial implementation by Dmitry Velichkevich.
Surf user config folder and user Surf dynamic component references are removed when user node is deleted via a Delete Node policy.
44632: addition of validation of NetworkFile isClosed property.
44648: Merge V3.4-BUG-FIX to V4.1-BUG-FIX (4.1.3)
44566: ALF-17164: Add SVN revision in version.properties when building in continuous mode
44602: ALF-17164: adding the SCM revision in version.build so that it is displayed
also, sneak in the SVN path, so that tracability is complete
44650: BDE-111: Stop creating installers in parallel, it fails on pbld02. Also, revert to zip compression to gain build time
44651: ALF-14348 (Unable to update external blog configuration details)
44654: Merged DEV to V4.1-BUG-FIX
44614: ALF-17119: Possible UI bug - "$$" chars added to permissions for IMAP Attachments folder
Added a message bundles for FullControll access role.
44655: Merged DEV to V4.1-BUG-FIX
44593: ALF-14154: Encoding problem when open a file via webdav on Windows XP
Ignore user credentials for the OPTIONS request.
44612: ALF-14154 : Encoding problem when open a file via webdav on Windows XP
Ignore user credentials for the OPTIONS request.
44666: ALF-12001: Privacy: blog activities - activity is seen for draft blogs
- Wrong node was being used for access checks
- Fix by Andrey Chernov
44671: Merged V3.4-BUG-FIX to V4.1-BUG-FIX
43939: ALF-17197 / ALF-16917: Merged PATCHES/V3.4.11 to V3.4-BUG-FIX
43896: MNT-198: Activity feeds get not generated in private sites for added files if username in LDAP-AD contains uppercase letters
- Now we can cope with a runAs where the username is in the wrong case
44296: ALF-17203 / ALF-17201 / MNT-216 : error saving versionable word documents
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@44675 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
44359: Fix for ALF-15236 - JSF - Edit online of html files does not keep the formatting
44365: Fix for ALF-14653 - Share - Page link created wrongly in wiki
44366: Fix for ALF-15435 - Incorrect behavior while managing groups via Explorer
44370: Completion of existing fix for ALF-14568. Also a build fix.
44372: Fix for ALF-13192 Rules from first folder move to second when delete first folder.
This bug was caused because up to now, all rules have been firing for system folders, which they shouldn't have been.
44381: ALF-17094: Merged V4.1.1 (4.1.1.14) to V4.1-BUG-FIX (4.1.3)
<< Code is actually as suggested by Derek rather than code on V4.1.1 >>
44291: MNT-222 InvalidNodeRefException on user deletion in Share UI
44385: Fix for ALF-16006 - MT: Document Library is absent after upgrade from 3.4.x to 4.1.x (eg. 3.4.10 -> 4.1.1)
Offshore team identified that patches running outside of a TXN were returning an empty list of tenants for MT upgrades
- fixed after chat to Derek – added a new "big" TenantAdminService with a TXN wrapper interceptor so the AbstractPatch method that generates the list of tenants will also have a txn support regardless of the config set for a particularly patch
- merged in fix to AVMToADM store patch to respect tenant named objects in paths
44395: Fix for ALF-17061 Search is failing with Node does not exist: missing://missing/missing(null)
44402: Merged DEV to V4.1-BUG-FIX
44347: ALF-16866 : Failure when trying to login as tenant created on 3.4.0 after the upgrade from 3.4.0 to 4.1.2
The immutableEntityTransactionalCache was made not tenant aware, and fixUserQNames patch now runs after migrateTenantsFromAttrsToTable to fix tenant users, too.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@44521 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
43598: Merged HEAD to BRANCHES/DEV/V4.1-BUG-FIX *RECORD ONLY*
41906: ALF-11378: REST API has been modified to return extra information about a user whether s/he belongs to a group or not.
44003: Merged BRANCHES/DEV/BELARUS/V4.1-BUG-FIX-2012_11_22 to BRANCHES/DEV/V4.1-BUG-FIX:
ALF-15210: Inconsistency in the '?' icon over the dashlets projects\slingshot\source\web\js\share.js DashletTitleBarActions_onReady() function was updated. Fix initialize the style for actionsNode elements into the DOM for IE.
44004: Merged BRANCHES/DEV/BELARUS/V4.1-BUG-FIX-2012_11_22 to V4.1-BUG-FIX:
ALF-15793: edit offline hides version history projects\slingshot\source\web\components\document-details\document-actions.js onActionUploadNewVersion function was updated. Fix sets version variable correctly now using asset.workingCopy property instead asset.custom property, which is undefined.
44018: ALF-16540 : CMIS: createDocument with VersioningState.CHECKEDOUT causes NodeLockedException for types with mandatory versionable aspect
The ckeck for lock was disabled when beforeCreateVersion policy is handled.
Version could be created for a locked node.
44054: Fix for ALF-16337. Datalist assignee not searchable by full name.
44056: Trivial change. Fixing some compiler warnings under org.alfresco.repo.content.metadata including a noisy Tika one.
44143: Merged BRANCHES/DEV/BELARUS/V4.1-BUG-FIX-2012_10_19 to BRANCHES/DEV/V4.1-BUG-FIX:
42989: ALF-16331: Wrong user for "completed by" information provided in Group Review And Approve workflow
44147: Merged BRANCHES/DEV/V3.4-BUG-FIX to BRANCHES/DEV/V4.1-BUG-FIX:
44146: Merged BRANCHES/DEV/BELARUS/V3.4-BUG-FIX-2012_05_22 to BRANCHES/DEV/V3.4-BUG-FIX:
37733: ALF-12051: Webdav - Cannot open files containing "?" character in the filename in WinXP
44152: ALF-17009 : Merged V3.4-BUG-FIX (3.4.12) to V4.1-BUG-FIX (4.1.3)
44151: ALF-14035 Tiny HTML file that causes Jodconverter to launch a 100% CPU soffice instance
- HTML to PDF is now done via ODT as the direct transform hangs if there are <sub> tags in the HTML.
- Added in 'unsupportedTransformations' to stop a bare transformer.JodConverter from doing HTML to PDF
- TransformerDebug test file debugTransformers.txt no longer needs to be 18 bytes, as it made it too fiddly.
- Modified debug from RuntimeExec so less editing is required to running from the command line
- Removed tabs that had been added to enterprise/content-services-context.xml in 4.1-BUG-FIX
44192: ALF-16560 - CIFS: Word document version history lost after saving content in Word:mac 2011 on Mac Mountain Lion
44224: ALF-16896 Exception with TIKA meta data extractor.
- Patch POI to handle parsing of Unicode properties that starts on a 4 byte boundary
rather than the specified offset. Example file was created using http://www.aspose.com/
44241: Merged DEV to V4.1-BUG-FIX
44208: ALF-14591 : Ordering not supported for IMAP properties defining IMAP sort fields in Share
Make properties from imap:imapContent aspect indexable for SOLR.
44253: Merged BRANCHES/DEV/AMILLER/CLOUD1 to BRANCHES/DEV/V4.1-BUG-FIX:
38927: CLOUD-128 - Update rules works incorrectly
This is a partial fix for ALF-14568. The rest is coming in a separate check-in.
I made some minor adjustments to this change - trivial spelling fix and whitespace changes.
44257: ALF-16563 - CIFS: Image document version history lost after saving content in Preview on Mac Mountain Lion
44260: Fix for ALF-16430 - List of values shown in alphabetical order in Share Forms. Values now only sorted if the Forms config 'field' element has the sorted='true' attribute.
44269: Completion of fix for ALF-14568 - Update rule works incorrectly.
44318: Fix for ALF-17055 - remoteadm webscript set a Last-Modified HTTP header whose date format does not conform to RFC 2616 hence breaking proxy caching
44320: Fix for ALF-16463 - documentLibrary RSS feed does not pass the w3c validator, in particular pubDate breaks RFC-822, date not displayed when using non English locale
44352: Merged BRANCHES/DEV/BELARUS/V4.1-BUG-FIX-2012_11_12 to BRANCHES/DEV/V4.1-BUG-FIX
43860: ALF-16263: Search using a "Stop Word" not displaying any result
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@44459 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