Imio.migrator

Latest version: v1.34

Safety actively analyzes 630254 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 6

1.11

-----------------

- Added parameter `workflowsToUpdate=[]` to `refreshDatabase` method so when
parameter `workflows=True`, we may define which workflows to update.
If nothing defined, every workflows are updated.
[gbastien]
- Moved methods that disable/restore `enable_link_integrity_checks`
to `imio.helpers.content`.
[gbastien]
- Make `portal_workflow` available using `self.wfTool`.
[gbastien]

1.10

-----------------

- Added a ZLogHandler when updating catalog so some logging showing progression
is shown in the Zope log.
[gbastien]
- Set a value in the REQUEST `imio_migrator_currently_migrating` during
migration so it can be used by other code to know that we are in a migration
process.
[gbastien]
- Define `self.catalog` and `self.registry` on base Migrator class so it is
available for subclasses.
[gbastien]
- Added method `Migrator.removeUnusedPortalTypes` that will remove
`portal_types` passed as parameter from tools `portal_types` and
`portal_factory`.
[gbastien]
- Requires `imio.helpers`.
[gbastien]
- Added parameter `disable_linkintegrity_checks=False` to `Migrator.__init__`
so it is easier to disable linkintegrity checks during a migration.
Supposed to work with Plone4 and Plone5...
[gbastien]
- Added install method
[sgeulette]

1.9

----------------

- Improved and simplified upgradeProfile method
[sgeulette]

1.8

----------------

- Make REQUEST available thru self.request.
[gbastien]
- Added methods `removeUnusedColumns` and `removeUnusedIndexes` to easily remove
columns or indexes from portal_catalog.
[gbastien]
- Possibility to run specific upgrade steps
[sgeulette]

1.7

----------------

- Improved reinstall method.
[sgeulette]
- Improved upgrade step to set directly rigth version.
[sgeulette]

1.6

----------------

- Added method `warn` that manages warning messages, it will display the warning
like before in the Zope log but will also store it so every warnings are
displayed togheter at the end of the migration.
[gbastien]
- Method `reinstall` may now receive paremeters `ignore_dependencies` and
`dependency_strategy` to use it when calling `portal_setup.runAllImportStepsFromProfile`.
This is only useable with Products.GenericSetup >= 1.8.0 (Plone >= 4.3.8).
[gbastien]

Page 5 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.