Commit graph

9 commits

Author SHA1 Message Date
Vincent Petry
78c8e57896
Fix migrators according to exceptions
Fixed syntax errors.
Removed if condition for copyToFolder since it's void now.
Change signature of setMigratorVersions to also be void.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-04-13 16:52:40 +02:00
Côme Chilliet
0fd72f4355
Adapt existing migrators to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-04-13 16:52:40 +02:00
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 +00:00
Christopher Ng
4750f232eb Extend trashbin migrator
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-04-08 19:31:22 +00:00
Côme Chilliet
7fa8b2eef7
Add a guard to check that trashbin folder is a folder
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-24 17:31:21 +01:00
Côme Chilliet
ecbcfca98a
Improve wording of output for trashbin migrator
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-24 11:04:09 +01:00
Côme Chilliet
53c731d8f9
Rename PATH constants to show if folder or file
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-22 09:21:18 +01:00
Côme Chilliet
865ac4b6e0
Rename $insert var to $qb
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-17 14:49:29 +01:00
Côme Chilliet
51d228932f
Add trashbin migrator to export and import trashbin data
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-17 14:45:56 +01:00