Imio.migrator

Latest version: v1.38

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

Scan your dependencies

Page 5 of 7

1.15

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

- Highlight log message about warning messages encountered durung migration.
[gbastien]
- Fixed `Migrator.refreshDatabase` method, wfs passed to
`WorkflowTool._recursiveUpdateRoleMappings` need to be a dict with
`wf id` as `key` and `wf object` as `value`, we had `wf object` for `key`
and `value`.
[gbastien]

1.14

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

- Use same format when displaying duration of migration, duration is displayed
in days/hours/minutes/seconds in any cases.
[gbastien]

1.13

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

- Be more preceise regarding duration of migration
(display in seconds and hours/minutes).
[gbastien]

1.12

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

- Migrator class is no more an old-style class (it inherits from object now).
[gbastien]

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]

Page 5 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.