Package com.atlassian.confluence.upgrade.upgradetask
package com.atlassian.confluence.upgrade.upgradetask
-
ClassDescriptionAn abstract upgrade task for when you just want to run a bunch of constraint creation statements from a properties file.Base class for upgrade tasks that want to migrate page templates from one format to another.Upgrade task to ensure that for all the user names in Confluence a ConfluenceUser object exist.Cleans up the bandana table so that unique and not null constraints can be applied to the context and key columns.Alter the Bandana table to make sure the Bandana context and keys have not null and unique constraints on them.This upgrade task clears all expired tokens stored in the bandana tableMigrates Bandana values stored with XStream 1.1.1 format to XStream 1.4.1 based format.Provides access to several underlying Hibernate and JDBC data access objects, which are commonly used in database-related upgrade tasks.This task implements the changes in CONFSRVDEV-17301.This upgrade task is necessary for any customer who upgraded to Confluence 8.3.0 and then performed a site restore.Check custom decorators for lang macro usage and replace with inline equivalent.This upgrade task removes all
attachment-*.tmp
files from java temp directory.Re-creates all required triggers and functions for denormalised permissions.Creates all required triggers, functions and indexes for denormalised content permissions.Removes all records and populates denormalised_content table again if service was enabled to fix problem with content statusRe-creates all required triggers and functions for denormalised permissions.Creates all required triggers, functions and indexes for denormalised space permissions.Adds hibernate mapping for externalId property ofInternalGroup
or rather logs that the crowd schema got updated, because Hibernate should take care of updating things for usAdds required multi-column unique constraints to the Crowd database tablesMigrates Bandana values stored in the ScheduledJobConfiguration context Specifically, it changes the key from the legacy "QUARTZGRP#JOBID" format to "JOBID" As Quartz jobs are unsupported in 8.0, the job group property no longer exists.Set trash date for pre-7.14 items in the trashAs we update the logic of `removeStaleSharedDrafts`, we should call it in our upgrading task to make sure invalid data is cleaned up.After upgrading WebWork to Struts we need to update 'confluence.cfg.xml' by renaming property 'webwork.multipart.saveDir' -> 'struts.multipart.saveDir'.This task implements the changes in CONFSRVDEV-20791.This upgrade task is necessary for any customer who upgraded to Confluence 8.3.0 and then performed a site restore.Implementation ofRowCallbackHandler
which clears the session after processing a configurable number of rows.Deletes synchrony.pid file as it's not used by Confluence anymore.Turns fast permissions on for all customers.An upgrade task to encrypt plaintext user directory passwords that have been previously configured.Convert all wiki formatted content to XHTML content as part of the upgrade.