- Join onto first-level threads to be sure that first round of tagging has been done
- Double-checks for transaction leaks (found 1)
- Some formatting (new test only, but should be applied to file)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23015 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
22630: ALF-4106 AuditService: Return applications in alphabetical order
22631: ALF-4106 AuditService: 'Audit' family of web scripts
22632: ALF-4106 AuditService: Samples for documentation
22635: ALF-4106 AuditService: Sample fix
22642: ALF-4106 AuditService: Neater debug logging
22643: ALF-4106 AuditService: Another sample
22644: Added .sample to file extensions to include in line ending checks
22654: Removed unnecessary INFO logging
22655: Fixed ALF-4872: AuditService: Unable to restrict results to a specific value path
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22789 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Reintroduced testDeleteStore
- Added 'protocolsToIgnore' property to index recovery components
- Added 'deleted' protocol to all ignorable store settings (ADM indexer, index recovery)
- Return 'NodeRef.Status' for transaction changes queries (removes N+1 calls back to NodeService)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22290 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Synchronizing the cached values with the low-level DB keys had problems for some use-cases
- Switching from null ML value in default locale (real null) to null value in a specific locale
- Switching from d:any empty array to d:any empty array of empty arrays
- other odd cases
- Refactored the differencing code to do high-level differences
- This makes it easier to take care of the switches between properties states
- Sacrifices on performance when dealing with 100K multivalued properties
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22059 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- 3.4 de-Hibernate problem
- The DAO was not *ever* persisting '.default' so could give back different IDs for getOrCreateDefaultLocale().
- Obviously, the NodeService (and all other clients) would expect the same ID for the default locale.
- No need to change the NodeService property code - it's behaving correctly.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21985 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Prevents regression of ALF-2565: Allow cm:auditable values to be set programmatically
- Prevents regression of ALF-3569: Alfresco repository CIFS driver not setting timestamps
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21939 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Moved setting of txn isolation level to ControlDAO
- Retired patches where target schema is < 100
- Removed unreferenced patch implementations
- Removed unreferenced DB scripts
- Moved patch-specific queries (ACL upgrade counts) into patch-common-SqlMap.xml
- Fixed count query result processing (max of nothing is NULL) leading to unboxing NPEs
- All DM-modifying patches depend on DmPermissionsPatch i.e. it will normally run immediately after SQL scripts
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21908 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
21242: ALF-2879: XAM Connector changes
- Fixed setting of store name
- Added properties:
- xam.archive.retentionPeriodDays=0
- xam.archive.addLock=true
21244: ALF-2879: Updated readme.txt
21262: ALF-3611 - tweak AVM orphan reaper test (PurgeTestP)
21277: Fix ALF-889 - WCM/AVM folder disappears when cut-and-paste into itself
- fixed cycle check before rename/move
- added -ve unit test
- externalized existing cycle error messages
21284: ALF-2879: XAM Connector changes
- Listen to store selector policies (incl. workaround for policy listening)
- Set XAM retention (code is setting the value, but not successfully tested against test servers)
21285: StoreSelectorPolicies.OnContentMovedPolicy is deprecated. Use StoreSelectorPolicies.AfterMoveContentPolicy.
- Deprecated so old policy still exists and works
- Will remove for 3.4 (maybe)
21293: Fix ALF-3245: stream not closed in DictionaryBootstrap.onDictionaryInit()
21303: ALF-2879: XAM Connector changes
- Throw ContentIOException if setBaseRetention fails
21313: ALF-2879: XAM Connector changes
- Round ms to nearest second
- Log actual ms value being set for retention
21322: Fix AVMNodeService.createNode to close output stream and avoid "Too many open files" (also add example AVMFileFolderPerformanceTester)
21331: ALF-2879: XAM Connector changes
- Removed duplicate setting of base retention
- Left code hooks for setting of other metadata
21368: Merged V3.3 to V3.3-BUG-FIX
21213: Merged DEV/TEMPORARY to V3.3
21200: ALF-2978: IMAP cannot bind to all the interfaces (0.0.0.0)
“imap.server.host” property can be used for setting IP address / network adapter to listen on for IMAP protocol.
21219: Merged PATCHES/V3.2.1 to V3.3
21216: ALF-3779: A few bug fixes to --FOREACH handling in SchemaBootstrap
- New system.upgrade.default.batchsize property to control overall default batch size
- Added in a few more missed --FOREACH markers
21211: ALF-3779: Remaining scripts converted to use --FOREACH (as logs finally provided by test prove that they need it too!)
21210: (RECORD ONLY) Incremented version label
21209: ALF-3779: Solution to allow batching of mass updates in upgrade scripts into smaller transactions
- A special preceding comment in this format specifies a numeric table column to control the batching and a global property specifying the batch size
--FOREACH table.column batch.size.property
- If the property isn't specified in alfresco-global.properties, the default batch size is 10,000
- INSERT / UPDATE / DELETE statements can then tack on extra conditions on ${LOWERBOUND} and ${UPPERBOUND} variables. E.g.
WHERE n.id >= ${LOWERBOUND} AND n.id <= ${UPPERBOUND}
- The statements are substituted and executed for each batch range up to the maximum value of the column
- 2.1 and 2.2 MySQL upgrades reimplemented this way
21207: Extra debug logging to track index triggering activity
21295: Merged HEAD to V3.3
21255: Parameter encoding
21298: Merged V3.2 to V3.3
21297: ALF-3889: JBPMDeployProcessServlet is now disabled by default and enabled with this in alfresco-global.properties
system.workflow.deployservlet.enabled=true
21317: dod5015: Parameter encoding
21363: Merged PATCHES/V3.2.1 to V3.3
21338: (RECORD ONLY) Incremented version label
21335: ALF-3779: Correction to error in --FOREACH range restriction for UPDATE statement
21290: ALF-3960: ArrayIndexOutOfBoundsException when we set mergerMergeFactor > mergerTargetOverlays
21278: (RECORD ONLY) Merged PATCHES/V3.1.2 to PATCHES/V3.2.1
21264: ALF-3889: JBPMDeployProcessServlet not accessible by default
- Should only be enabled in development environment
21364: Merged PATCHES/V3.1.2 to V3.3 (RECORD ONLY)
21264: ALF-3889: JBPMDeployProcessServlet not accessible by default
- Should only be enabled in development environment
21365: Merged PATCHES/V3.2.0 to V3.3 (RECORD ONLY)
21276: Merged PATCHES/V3.1.2 to PATCHES/V3.2.0
21264: ALF-3889: JBPMDeployProcessServlet not accessible by default
- Should only be enabled in development environment
21366: Merged PATCHES/V3.2.r to V3.3 (RECORD ONLY)
21279: Merged PATCHES/V3.1.2 to PATCHES/V3.2.r
21264: ALF-3889: JBPMDeployProcessServlet not accessible by default
- Should only be enabled in development environment
21367: Merged PATCHES/V3.3.1 to V3.3 (RECORD ONLY)
21343: Incremented version label
21342: ALF-3997: Merged V3.3-BUG-FIX to PATCHES/V3.3.1
20623: Fix for ALF-3188 : Access Denied when updating doc via CIFS
21282: Merged PATCHES/V3.1.2 to PATCHES/V3.3.1
21264: ALF-3889: JBPMDeployProcessServlet not accessible by default
- Should only be enabled in development environment
21239: Created hotfix branch off ENTERPRISE/V3.3.1
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21369 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Added test and guard against client code wiping out cm:auditable by not passing in any values
- If the cm:auditable behaviour is off and NO cm:auditable properties are passed in, then do nothing
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21192 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Allow cm:auditable properties to be set directly
behaviourFilter.disableBehaviour(ContentModel.ASPECT_AUDITABLE); // Lasts for txn
// Set the auditable properties explicitly
auditableProps.put(ContentModel.PROP_MODIFIER, "ThisUser");
nodeService.addProperties(nodeRef, auditableProps);
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21178 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
21132: ALF-3855: Refactored repository authentication filters so that same code is re-used for Web Client, Web Script, Web DAV and Sharepoint authentication
- 'Uber Filter' part 3
- Means we now support Kerberos Authentication for Sharepoint
- Threw away a lot of duplicated code
- New common AuthenticationDriver interface created and now implemented by core authentication code
- Sharepoint and BaseSSOAuthenticationFilter now both use AuthenticationDrivers
- Needs regression testing
21137: ALF-3841: Alfresco Explorer SSO Authentication Filters now accept ticket parameters too
- Can be turned back off with ntlm.authentication.browser.ticketLogons=false or kerberos.authentication.browser.ticketLogons=false
- Wiki updated
21141: ALF-3855: Fixed wiring
21146: ALF-2879: 'xamconnector' module behaviour for xam:archived
- Application of xam:archived recurses and locks both files and folders
- cm:content nodes also have the store selector applied for the XAMContentStore
- TODO: Archive properties
21165: Fixed ALF-3867: SQL format error when re-instating orphaned content URL
- Parameter was not bounded with #
- Added unit test to ensure SQL generated is correct
21169: Merged V3.3 to V3.3-BUG-FIX
21168: (RECORD ONLY Merged PATCHES/V3.2.1 to V3.3
21166: Merged V3.3-BUG-FIX to PATCHES/V3.2.1
21165: Fixed ALF-3867: SQL format error when re-instating orphaned content URL
- Parameter was not bounded with #
- Added unit test to ensure SQL generated is correct
21118: Latest SpringSurf libs:
- Fix for missing read of "keystore" in Remote config
- Session Fixation attack mitigation improvements:
- A Surf application no longer generates a Session (and therefore no JSESSIONID) until a user is authenticated - simply visiting a login page or similar will no longer generate a Session
- Existing Sessions are always invalidated and destroyed if found when a user is authenticated via the LoginController (i.e. due to a JSESSIONID captured via an XSS attack)
Merged HEAD to V3.3
21111: Fix to encode form parameter on Share login template - prevents its potential use as an reflected XSS attack vector
21117: Session Fixation mitigation:
- Removed Session creation from Share index.jsp
Merged V3.3-BUG-FIX-2010_06_24 to V3.3
21096: Fix for ALF-3718 - JSF client login page input validator is too aggressive ("Login" button is disabled if username contains forward slash)
21088: Latest SpringSurf libs
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21170 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
20954: Calendar Dashlet updates. Fixes: ALF-2907 (meeting workspace issue)
20968: Minor VersionableAspect fix to onDeleteNode policy firing (follow-on for r19507)
20981: Removed Install Jammer installers from V3.3.3
20982: AVMTestSuite - run PurgeTestP after AVMServiceTest (investigating ALF-3611)
20997: Fix for ALF-2605 - updated share-config-custom.xml.sample and removed obsolete extension files
21030: Pulled XAMConnector AMP into main 3.3SP3 codeline. Apart from build changes (incl. EOL), there are no repo changes.
21032: StoreSelector passes through NodeContentContext allowing stores access to node information
21036: Fix ALF-245: Can't delete space that contains "translation without content"
- Delete triggers 'unmakeTranslation'
- Empty translations are marked with sys:temporary before being deleted
21051: More on fix ALF-245. Reduced complexity by not deleting empty translations twice
21064: Merged V3.3 to V3.3-BUG_FIX
20898: Merged HEAD to V3.3
20724: AVMTestSuite - temporarily comment out PurgeTestP
- TODO: investigate intermittent test failure
20903: Incremented version revision
20921: AVM - fix purge store so that vr nodes are actually orphaned (ALF-3627)
20952: Fix for ALF-3704: Module conflict - Alfresco web client config property page missing metadata.
This is application of a fix made to the config service in a hotfix. The change provides a deterministic load order for config files loaded via the ConfigBootstrap spring bean. More importantly it means that config files loaded by modules on different machines in a cluster load in the same order.
The forms client and AWE config files have been updated to take advantage of the new loading order.
21061: Merged PATCHES/V3.1.2 to V3.3 (RECORD ONLY)
20890: ALF-3687: Apply LUCENE-1383 patch to Lucene 2.1.0 to reduce memory leaks from ThreadLocals
20891: ALF-3687: Build classpath fix
20892: Incremented version label
21062: Merged PATCHES/V3.2.1 to V3.3
20897: (RECORD ONLY) Incremented version label
20901: (RECORD ONLY) ALF-3740: Merged V3.3 to PATCHES/V3.2.1
20524: VersionMigrator - option to run as scheduled job (ALF-1000)
20904: (RECORD ONLY) ALF-3732: Merged PATCHES/V3.2.r to PATCHES/V3.2.1
19803: ALF-558: File servers (CIFS / FTP / NFS) can now handle concurrent write operations on Alfresco repository
- ContentDiskDriver / AVMDiskDriver now use retrying transactions for write operations
- Disable EagerContentStoreCleaner on ContentDiskDriver / AVMDiskDriver closeFile() operations so that they may be retried after rollback (Sony zero byte problem)
- Allow manual association of AVM ContentData with nodes so that closeFile() may be retried
- Propagation of new argument through AVM interfaces
20905: (RECORD ONLY) ALF-3732: Rolled back the now unnecessary reference()/dereference() stuff from ALF-558
20906: (RECORD ONLY) ALF-3732: Merged DEV/V3.3-BUG-FIX to PATCHES/V3.2.1
20623: Fix for ALF-3188 : Access Denied when updating doc via CIFS
20907: (RECORD ONLY) ALF-3732: Merged V3.3 to PATCHES/V3.2.1
20173: Propagate IOExceptions from retryable write transactions in AlfrescoDiskDriver
20950: ALF-3779: Upgrades on large repositories from v2.1 and v2.2 were failing on MySQL due to "The total number of locks exceeds the lock table size" errors
- Solution was to add support for new --BEGIN TXN and --END TXN comments and execute LOCK TABLES statements in the same transaction as large INSERT - SELECT statements.
20990: ALF-3789: Concurrency issues with InMemoryTicketComponentImpl
- Previous ETHREEOH-1842 method of caching web session 'ref counts' against tickets could cause tickets to unpredictably fall out of the transactional cache
- Rolled back original ETHREEOH-1842 fix. Would be too much overhead to keep these ref counts consistent across a cluster.
- Instead, avoid invalidating tickets on web session timeout and only do it on explicit log out.
- Now tickets maintained in non-transactional shared cache so they can't drop out unpredictably
- Logic for ticket inactivity timeout caching improved so that it should work across a cluster
20991: (RECORD ONLY) Incremented version label
20993: ALF-3789: Fixed Spring configuration backward compatibily issue with previous fix
- Ticket cache bean name restored to ticketsCache. This is actually now a non-transactional cache.
- Also externalized parameters so that they can now be controlled by alfresco-global.properties without any bean overrides
authentication.ticket.ticketsExpire=false
authentication.ticket.expiryMode=AFTER_FIXED_TIME
authentication.ticket.validDuration=PT1H
20994: Eclipse classpath fixes for unit testing after ant build
21057: ALF-3592: PassthruCifsAuthenticator now auto-creates / imports users who do not already exist in Alfresco
- At least one of the following properties must be true for this to happen
synchronization.autoCreatePeopleOnLogin
synchronization.syncWhenMissingPeopleLogIn
- Also improved debug logging of unknown passthru domains
21063: Merged PATCHES/V3.2.r to V3.3
21037: ALF-3793: Final attempt at realigning saved XForm data with a modified Schema
- removeRemovedNodes / insertUpdatedNodes / insertPrototypeNodes replaced by a one stop recursive process that builds a new instance tree from scratch
- Nodes copied over in correct order
- Missing nodes added in and extra nodes discarded
- Prototype nodes appended at appropriate points
21038: (RECORD ONLY) Incremented version label
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21065 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261