예제 #1
0
파일: betas.py 프로젝트: dtgit/dtedu
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
파일: betas.py 프로젝트: dtgit/dtedu
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
파일: betas.py 프로젝트: dtgit/dtedu
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