Пример #1
0
def beta2_beta3(portal):
    """ 3.0-beta2 -> 3.0-beta3
    """

    out = []

    enableZope3Site(portal, out)
    registerToolsAsUtilities(portal, out)

    loadMigrationProfile(portal, "profile-Products.CMFPlone.migrations:3.0b2-3.0b3")

    removeSharingAction(portal, out)

    addEditorToSecondaryEditorPermissions(portal, out)

    return out
Пример #2
0
def beta3_rc1(portal):
    """ 3.0-beta3 -> 3.0-rc1
    """

    out = []

    enableZope3Site(portal, out)
    registerToolsAsUtilities(portal, out)

    loadMigrationProfile(portal, "profile-Products.CMFPlone.migrations:3.0b3-3.0b4")

    moveKupuAndCMFPWControlPanel(portal, out)

    updateLanguageControlPanel(portal, out)

    updateTopicTitle(portal, out)

    modifyKSSResourcesForDevelMode(portal, out)

    return out
Пример #3
0
def beta1_beta2(portal):
    """ 3.0-beta1 -> 3.0-beta2
    """

    out = []

    enableZope3Site(portal, out)
    registerToolsAsUtilities(portal, out)

    migrateHistoryTab(portal, out)

    changeOrderOfActionProviders(portal, out)
    updateEditActionConditionForLocking(portal, out)
    addOnFormUnloadJS(portal, out)

    # Add the action a second time, now to the correct action category
    addContentRulesAction(portal, out)

    cleanupOldActions(portal, out)

    cleanDefaultCharset(portal, out)

    loadMigrationProfile(portal, "profile-Products.CMFPlone.migrations:3.0b1-3.0b2")

    addAutoGroupToPAS(portal, out)

    removeS5Actions(portal, out)

    addCacheForKSSRegistry(portal, out)

    modifyKSSResources(portal, out)

    addContributorToCreationPermissions(portal, out)

    cleanupActionProviders(portal, out)

    hidePropertiesAction(portal, out)

    return out