summaryrefslogtreecommitdiffstats
path: root/lib/public/UserMigration
Commit message (Collapse)AuthorAgeFilesLines
* chore: Add SPDX headerAndy Scherzinger2024-05-246-116/+12
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix(OCP): Add since tag for all constantsJoas Schilling2024-02-141-0/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* feat(UserMigration)!: 32-bit supportChristopher Ng2023-05-051-1/+2
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* composer run cs:fixCôme Chilliet2023-01-202-2/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Add a nodeFilter parameter for IExportDestination::copyFolderCôme Chilliet2022-09-131-1/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Add the ISizeEstimationMigrator interface for method getExportEstimatedSizeCôme Chilliet2022-05-302-8/+43
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Implement getExportEstimatedSize in migratorsCôme Chilliet2022-05-301-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Add a method to get estimated export size in IMigratorCôme Chilliet2022-05-301-0/+8
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix migrators according to exceptionsVincent Petry2022-04-131-1/+1
| | | | | | | | 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>
* Adapt user_migration APIs to have information about failuresCôme Chilliet2022-04-132-8/+23
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Use Migrators id instead of class namesCôme Chilliet2022-04-113-3/+3
| | | | | | | 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>
* Extend migrator interfaceChristopher Ng2022-04-081-0/+21
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Fix autoloader and phpdoc for new classCôme Chilliet2022-03-142-0/+4
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Improve wording of pathExists descriptionCôme Chilliet2022-03-141-1/+1
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Add getOriginalUid in IImportSource to simplify code when importing under ↵Côme Chilliet2022-03-141-0/+8
| | | | | | another uid Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Add pathExists method to IImportSource to test if a path exists in the archiveCôme Chilliet2022-03-141-0/+7
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Move UserMigrationException to OCP and add @throws documentationCôme Chilliet2022-03-142-0/+32
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Extend ImportSource interface to list files of a folderChristopher Ng2022-02-241-0/+10
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Please drone checkersCôme Chilliet2022-02-211-0/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Avoid passing both $importSource and $version while version comes from sourceCôme Chilliet2022-02-173-8/+14
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Improve version handling for user_migrationCôme Chilliet2022-02-174-3/+31
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Add version handling to IMigratorCôme Chilliet2022-02-172-0/+63
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Extend export destination interfaceChristopher Ng2022-02-111-2/+13
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Allow registration of migratorsChristopher Ng2022-02-113-0/+194
Signed-off-by: Christopher Ng <chrng8@gmail.com>