Commit Graph

7 Commits (0b184f613586eb32cd5f30d255cd4f730aa33bbe)

Author SHA1 Message Date
Côme Chilliet dda51d49d7 Use Migrators id instead of class names
This will help with UI and means migrators can move in namespaces
 without changing export format.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-04-11 13:59:27 +07:00
Christopher Ng 2273ddc873 Extend migrator interface
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-04-08 19:31:22 +07:00
Côme Chilliet d8b2d32a5e
Move UserMigrationException to OCP and add @throws documentation
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-14 14:33:57 +07:00
Côme Chilliet 885b7904a2
Avoid passing both $importSource and $version while version comes from source
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-17 18:09:14 +07:00
Côme Chilliet 67fb1b92d6
Improve version handling for user_migration
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-17 11:31:03 +07:00
Côme Chilliet b06a622a60
Add version handling to IMigrator
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-17 11:30:55 +07:00
Christopher Ng e3244361ba Allow registration of migrators
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-02-11 23:34:25 +07:00