xenadmin/XenModel
Danilo Del Busso 86fa2f6abf
CA-375900: Prepend \\?\ to file paths when creating streams for archive generation (#3184)
* CA-375900: Prepend `//?/` to file paths when creating streams for archive generation
The string works to enable creation of files with paths larger than 260 characters.
* CA-375900: Add directory support and rename utility method
* Fix whitespace in `ArchiveWriterTest`
* CA-375900: Explicitly enumerate files and directories in `ArchiveWriter`
`Directory.GetFiles` and `Directory.GetDirectories` do not enumerate if paths are longer than 260, even when prepended with `//?/`.
* CA-375900: Add long path tests to `ArchiveWriter`
* CA-375900: Add long path tests to `ArchiveIterator`
* CA-375900: Ensure files are added to folders in archive
* Use a recursive method to add directories and files to archive in `ArchiveIterator`
Also improves progress reporting by basing it on directory count
* Fix typos
* Expand `ArchiveWriterTests` to cover all combinations of directory and path lengths
* Ensure that directories used in recursive `Directory.Delete` calls are using long path format
If files in the directory exceed the 260 character limit, the calls will fail
* Expand `ArchiveIteratorTests` to cover all combinations of directory and path lengths
* Ensure relative path name removes `rootPath`
* Fix typo
* Do not use long paths when importing OVFs
The import uses `DiscUtils` which cannot handle paths prepended with `//?/`
* Remove use of `ToLongWindowsPath` within appliance export
This partially reverts commit 819425855c56c14b937849714b359003465bd2f4.
* Refactoring and some corrections.

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
Co-authored-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-09-22 15:41:54 +01:00
..
Actions CA-375900: Prepend \\?\ to file paths when creating streams for archive generation (#3184) 2023-09-22 15:41:54 +01:00
Alerts Alert the user if they haven't synced in a long time. Also: 2023-07-31 11:33:25 +01:00
CustomFields Corrections to removal of custom fields: 2023-02-28 21:03:16 +00:00
Mappings Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
Network Sorted the fields and properties and added members for Repositories. 2023-07-24 21:21:48 +01:00
Properties CP-45071: Convert XenCenter build scripts to PowerShell. (#3219) 2023-09-06 15:48:12 +01:00
Utils Merge pull request #3194 from xenserver/master 2023-08-09 14:20:55 +01:00
WLB Moved two WLB actions to the same folder as the rest of the WLB actions. Removed obsolete messages. 2023-08-29 20:57:21 +01:00
XCM CP-40407: Removed fakeAPI and usage of XmlRpcProxy classes in the application. 2023-03-31 14:17:55 +01:00
XenAPI Updated to SDK v23.25.0. 2023-09-12 10:11:58 +01:00
XenAPI-Extensions CP-45097: Show product brand alongside the version on the General and Search tabPage. 2023-09-04 10:32:18 +01:00
XenSearch Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
BrandManager.cs CP-45071: Convert XenCenter build scripts to PowerShell. (#3219) 2023-09-06 15:48:12 +01:00
Db.cs New logic for connection to a xapi database and some connection tidy up: 2023-03-31 14:17:56 +01:00
DockerContainer.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
DockerContainers.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
Folder.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
Folders.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
FriendlyNameManager.cs Removed unused using directives. 2023-06-13 14:48:23 +01:00
FriendlyNames.Designer.cs CP-43000: Add friendly name for trial edition 2023-07-19 15:53:54 +01:00
FriendlyNames.ja.resx Revert string sorting 2023-02-08 14:00:30 +00:00
FriendlyNames.resx CP-43000: Add friendly name for trial edition 2023-07-19 15:53:54 +01:00
FriendlyNames.zh-CN.resx Revert string sorting 2023-02-08 14:00:30 +00:00
I18NException.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
Icons.cs Restored icons showing updated state of pools and hosts. 2023-07-28 09:36:54 +01:00
InvisibleMessages.Designer.cs CA-381593: Remove CIS privacy policy link from Server Status Report 2023-08-16 19:09:28 +01:00
InvisibleMessages.ja.resx Update InvisibleMessages and remove identical values from localized resource files 2023-08-07 12:18:24 +01:00
InvisibleMessages.resx CA-381593: Remove CIS privacy policy link from Server Status Report 2023-08-16 19:09:28 +01:00
InvisibleMessages.zh-CN.resx Update InvisibleMessages and remove identical values from localized resource files 2023-08-07 12:18:24 +01:00
InvokeHelper.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
Messages.Designer.cs Merge pull request #3212 from kc284/oil 2023-09-04 10:32:46 +01:00
Messages.ja.resx CP-41433: Updated branding of About and LegalNotices dialogs. Also: 2023-01-25 12:50:49 +00:00
Messages.resx Merge pull request #3212 from kc284/oil 2023-09-04 10:32:46 +01:00
Messages.zh-CN.resx CP-41433: Updated branding of About and LegalNotices dialogs. Also: 2023-01-25 12:50:49 +00:00
ObjectChange.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
OtherConfigWatcher.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
PathValidator.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
PoolJoinRules.cs CP-43000: Add trial edition and CSS expiry warnings to LicenseManager 2023-07-19 15:54:01 +01:00
RbacMethod.cs Merge remote-tracking branch 'upstream/feature/rebrand' 2023-02-08 16:41:07 +00:00
SshConsole.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
Tags.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
UnitStrings.Designer.cs CP-36567: Use the datasource units as specified in the API instead of deducing them from the datasource name. 2021-08-05 15:36:46 +01:00
UnitStrings.ja.resx Retry sorting .resx strings. 2022-01-10 14:39:38 +00:00
UnitStrings.resx Retry sorting .resx strings. 2022-01-10 14:39:38 +00:00
UnitStrings.zh-CN.resx Retry sorting .resx strings. 2022-01-10 14:39:38 +00:00
XenAdminConfigManager.cs Renamed methods and fields as per code review. 2023-06-13 14:48:23 +01:00
XenModel.csproj Merge pull request #3212 from kc284/oil 2023-09-04 10:32:46 +01:00
XenObjectDownloader.cs CP-40407: Removed fakeAPI and usage of XmlRpcProxy classes in the application. 2023-03-31 14:17:55 +01:00
XenServerPlugins.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00