@@ -26,143 +26,143 @@ |
||
26 | 26 | |
27 | 27 | class SanitizeFilenames extends Base { |
28 | 28 | |
29 | - private OutputInterface $output; |
|
30 | - private string $charReplacement; |
|
31 | - private bool $dryRun; |
|
32 | - |
|
33 | - public function __construct( |
|
34 | - private IUserManager $userManager, |
|
35 | - private IRootFolder $rootFolder, |
|
36 | - private IUserSession $session, |
|
37 | - private IFactory $l10nFactory, |
|
38 | - private FilenameValidator $filenameValidator, |
|
39 | - ) { |
|
40 | - parent::__construct(); |
|
41 | - } |
|
42 | - |
|
43 | - protected function configure(): void { |
|
44 | - parent::configure(); |
|
45 | - |
|
46 | - $forbiddenCharacter = $this->filenameValidator->getForbiddenCharacters(); |
|
47 | - $charReplacement = array_diff([' ', '_', '-'], $forbiddenCharacter); |
|
48 | - $charReplacement = reset($charReplacement) ?: ''; |
|
49 | - |
|
50 | - $this |
|
51 | - ->setName('files:sanitize-filenames') |
|
52 | - ->setDescription('Renames files to match naming constraints') |
|
53 | - ->addArgument( |
|
54 | - 'user_id', |
|
55 | - InputArgument::OPTIONAL | InputArgument::IS_ARRAY, |
|
56 | - 'will only rename files the given user(s) have access to' |
|
57 | - ) |
|
58 | - ->addOption( |
|
59 | - 'dry-run', |
|
60 | - mode: InputOption::VALUE_NONE, |
|
61 | - description: 'Do not actually rename any files but just check filenames.', |
|
62 | - ) |
|
63 | - ->addOption( |
|
64 | - 'char-replacement', |
|
65 | - 'c', |
|
66 | - mode: InputOption::VALUE_REQUIRED, |
|
67 | - description: 'Replacement for invalid character (by default space, underscore or dash is used)', |
|
68 | - default: $charReplacement, |
|
69 | - ); |
|
29 | + private OutputInterface $output; |
|
30 | + private string $charReplacement; |
|
31 | + private bool $dryRun; |
|
32 | + |
|
33 | + public function __construct( |
|
34 | + private IUserManager $userManager, |
|
35 | + private IRootFolder $rootFolder, |
|
36 | + private IUserSession $session, |
|
37 | + private IFactory $l10nFactory, |
|
38 | + private FilenameValidator $filenameValidator, |
|
39 | + ) { |
|
40 | + parent::__construct(); |
|
41 | + } |
|
42 | + |
|
43 | + protected function configure(): void { |
|
44 | + parent::configure(); |
|
45 | + |
|
46 | + $forbiddenCharacter = $this->filenameValidator->getForbiddenCharacters(); |
|
47 | + $charReplacement = array_diff([' ', '_', '-'], $forbiddenCharacter); |
|
48 | + $charReplacement = reset($charReplacement) ?: ''; |
|
49 | + |
|
50 | + $this |
|
51 | + ->setName('files:sanitize-filenames') |
|
52 | + ->setDescription('Renames files to match naming constraints') |
|
53 | + ->addArgument( |
|
54 | + 'user_id', |
|
55 | + InputArgument::OPTIONAL | InputArgument::IS_ARRAY, |
|
56 | + 'will only rename files the given user(s) have access to' |
|
57 | + ) |
|
58 | + ->addOption( |
|
59 | + 'dry-run', |
|
60 | + mode: InputOption::VALUE_NONE, |
|
61 | + description: 'Do not actually rename any files but just check filenames.', |
|
62 | + ) |
|
63 | + ->addOption( |
|
64 | + 'char-replacement', |
|
65 | + 'c', |
|
66 | + mode: InputOption::VALUE_REQUIRED, |
|
67 | + description: 'Replacement for invalid character (by default space, underscore or dash is used)', |
|
68 | + default: $charReplacement, |
|
69 | + ); |
|
70 | 70 | |
71 | - } |
|
72 | - |
|
73 | - protected function execute(InputInterface $input, OutputInterface $output): int { |
|
74 | - $this->charReplacement = $input->getOption('char-replacement'); |
|
75 | - if ($this->charReplacement === '' || mb_strlen($this->charReplacement) > 1) { |
|
76 | - $output->writeln('<error>No character replacement given</error>'); |
|
77 | - return 1; |
|
78 | - } |
|
79 | - |
|
80 | - $this->dryRun = $input->getOption('dry-run'); |
|
81 | - if ($this->dryRun) { |
|
82 | - $output->writeln('<info>Dry run is enabled, no actual renaming will be applied.</>'); |
|
83 | - } |
|
84 | - |
|
85 | - $this->output = $output; |
|
86 | - $users = $input->getArgument('user_id'); |
|
87 | - if (!empty($users)) { |
|
88 | - foreach ($users as $userId) { |
|
89 | - $user = $this->userManager->get($userId); |
|
90 | - if ($user === null) { |
|
91 | - $output->writeln("<error>User '$userId' does not exist - skipping</>"); |
|
92 | - continue; |
|
93 | - } |
|
94 | - $this->sanitizeUserFiles($user); |
|
95 | - } |
|
96 | - } else { |
|
97 | - $this->userManager->callForSeenUsers($this->sanitizeUserFiles(...)); |
|
98 | - } |
|
99 | - return self::SUCCESS; |
|
100 | - } |
|
101 | - |
|
102 | - private function sanitizeUserFiles(IUser $user): void { |
|
103 | - // Set an active user so that event listeners can correctly work (e.g. files versions) |
|
104 | - $this->session->setVolatileActiveUser($user); |
|
105 | - |
|
106 | - $this->output->writeln('<info>Analyzing files of ' . $user->getUID() . '</>'); |
|
107 | - |
|
108 | - $folder = $this->rootFolder->getUserFolder($user->getUID()); |
|
109 | - $this->sanitizeFiles($folder); |
|
110 | - } |
|
111 | - |
|
112 | - private function sanitizeFiles(Folder $folder): void { |
|
113 | - foreach ($folder->getDirectoryListing() as $node) { |
|
114 | - $this->output->writeln('scanning: ' . $node->getPath(), OutputInterface::VERBOSITY_VERBOSE); |
|
115 | - |
|
116 | - try { |
|
117 | - $oldName = $node->getName(); |
|
118 | - if (!$this->filenameValidator->isFilenameValid($oldName)) { |
|
119 | - $newName = $this->sanitizeName($oldName); |
|
120 | - $newName = $folder->getNonExistingName($newName); |
|
121 | - $path = rtrim(dirname($node->getPath()), '/'); |
|
122 | - |
|
123 | - if (!$this->dryRun) { |
|
124 | - $node->move("$path/$newName"); |
|
125 | - } elseif (!$folder->isCreatable()) { |
|
126 | - // simulate error for dry run |
|
127 | - throw new NotPermittedException(); |
|
128 | - } |
|
129 | - $this->output->writeln('renamed: "' . $oldName . '" to "' . $newName . '"'); |
|
130 | - } |
|
131 | - } catch (LockedException) { |
|
132 | - $this->output->writeln('<comment>skipping: ' . $node->getPath() . ' (file is locked)</>'); |
|
133 | - } catch (NotPermittedException) { |
|
134 | - $this->output->writeln('<comment>skipping: ' . $node->getPath() . ' (no permissions)</>'); |
|
135 | - } catch (Exception) { |
|
136 | - $this->output->writeln('<error>failed: ' . $node->getPath() . '</>'); |
|
137 | - } |
|
138 | - |
|
139 | - if ($node instanceof Folder) { |
|
140 | - $this->sanitizeFiles($node); |
|
141 | - } |
|
142 | - } |
|
143 | - } |
|
144 | - |
|
145 | - private function sanitizeName(string $name): string { |
|
146 | - $l10n = $this->l10nFactory->get('files'); |
|
147 | - |
|
148 | - foreach ($this->filenameValidator->getForbiddenExtensions() as $extension) { |
|
149 | - if (str_ends_with($name, $extension)) { |
|
150 | - $name = substr($name, 0, strlen($name) - strlen($extension)); |
|
151 | - } |
|
152 | - } |
|
153 | - |
|
154 | - $basename = substr($name, 0, strpos($name, '.', 1) ?: null); |
|
155 | - if (in_array($basename, $this->filenameValidator->getForbiddenBasenames())) { |
|
156 | - $name = str_replace($basename, $l10n->t('%1$s (renamed)', [$basename]), $name); |
|
157 | - } |
|
158 | - |
|
159 | - if ($name === '') { |
|
160 | - $name = $l10n->t('renamed file'); |
|
161 | - } |
|
162 | - |
|
163 | - $forbiddenCharacter = $this->filenameValidator->getForbiddenCharacters(); |
|
164 | - $name = str_replace($forbiddenCharacter, $this->charReplacement, $name); |
|
165 | - |
|
166 | - return $name; |
|
167 | - } |
|
71 | + } |
|
72 | + |
|
73 | + protected function execute(InputInterface $input, OutputInterface $output): int { |
|
74 | + $this->charReplacement = $input->getOption('char-replacement'); |
|
75 | + if ($this->charReplacement === '' || mb_strlen($this->charReplacement) > 1) { |
|
76 | + $output->writeln('<error>No character replacement given</error>'); |
|
77 | + return 1; |
|
78 | + } |
|
79 | + |
|
80 | + $this->dryRun = $input->getOption('dry-run'); |
|
81 | + if ($this->dryRun) { |
|
82 | + $output->writeln('<info>Dry run is enabled, no actual renaming will be applied.</>'); |
|
83 | + } |
|
84 | + |
|
85 | + $this->output = $output; |
|
86 | + $users = $input->getArgument('user_id'); |
|
87 | + if (!empty($users)) { |
|
88 | + foreach ($users as $userId) { |
|
89 | + $user = $this->userManager->get($userId); |
|
90 | + if ($user === null) { |
|
91 | + $output->writeln("<error>User '$userId' does not exist - skipping</>"); |
|
92 | + continue; |
|
93 | + } |
|
94 | + $this->sanitizeUserFiles($user); |
|
95 | + } |
|
96 | + } else { |
|
97 | + $this->userManager->callForSeenUsers($this->sanitizeUserFiles(...)); |
|
98 | + } |
|
99 | + return self::SUCCESS; |
|
100 | + } |
|
101 | + |
|
102 | + private function sanitizeUserFiles(IUser $user): void { |
|
103 | + // Set an active user so that event listeners can correctly work (e.g. files versions) |
|
104 | + $this->session->setVolatileActiveUser($user); |
|
105 | + |
|
106 | + $this->output->writeln('<info>Analyzing files of ' . $user->getUID() . '</>'); |
|
107 | + |
|
108 | + $folder = $this->rootFolder->getUserFolder($user->getUID()); |
|
109 | + $this->sanitizeFiles($folder); |
|
110 | + } |
|
111 | + |
|
112 | + private function sanitizeFiles(Folder $folder): void { |
|
113 | + foreach ($folder->getDirectoryListing() as $node) { |
|
114 | + $this->output->writeln('scanning: ' . $node->getPath(), OutputInterface::VERBOSITY_VERBOSE); |
|
115 | + |
|
116 | + try { |
|
117 | + $oldName = $node->getName(); |
|
118 | + if (!$this->filenameValidator->isFilenameValid($oldName)) { |
|
119 | + $newName = $this->sanitizeName($oldName); |
|
120 | + $newName = $folder->getNonExistingName($newName); |
|
121 | + $path = rtrim(dirname($node->getPath()), '/'); |
|
122 | + |
|
123 | + if (!$this->dryRun) { |
|
124 | + $node->move("$path/$newName"); |
|
125 | + } elseif (!$folder->isCreatable()) { |
|
126 | + // simulate error for dry run |
|
127 | + throw new NotPermittedException(); |
|
128 | + } |
|
129 | + $this->output->writeln('renamed: "' . $oldName . '" to "' . $newName . '"'); |
|
130 | + } |
|
131 | + } catch (LockedException) { |
|
132 | + $this->output->writeln('<comment>skipping: ' . $node->getPath() . ' (file is locked)</>'); |
|
133 | + } catch (NotPermittedException) { |
|
134 | + $this->output->writeln('<comment>skipping: ' . $node->getPath() . ' (no permissions)</>'); |
|
135 | + } catch (Exception) { |
|
136 | + $this->output->writeln('<error>failed: ' . $node->getPath() . '</>'); |
|
137 | + } |
|
138 | + |
|
139 | + if ($node instanceof Folder) { |
|
140 | + $this->sanitizeFiles($node); |
|
141 | + } |
|
142 | + } |
|
143 | + } |
|
144 | + |
|
145 | + private function sanitizeName(string $name): string { |
|
146 | + $l10n = $this->l10nFactory->get('files'); |
|
147 | + |
|
148 | + foreach ($this->filenameValidator->getForbiddenExtensions() as $extension) { |
|
149 | + if (str_ends_with($name, $extension)) { |
|
150 | + $name = substr($name, 0, strlen($name) - strlen($extension)); |
|
151 | + } |
|
152 | + } |
|
153 | + |
|
154 | + $basename = substr($name, 0, strpos($name, '.', 1) ?: null); |
|
155 | + if (in_array($basename, $this->filenameValidator->getForbiddenBasenames())) { |
|
156 | + $name = str_replace($basename, $l10n->t('%1$s (renamed)', [$basename]), $name); |
|
157 | + } |
|
158 | + |
|
159 | + if ($name === '') { |
|
160 | + $name = $l10n->t('renamed file'); |
|
161 | + } |
|
162 | + |
|
163 | + $forbiddenCharacter = $this->filenameValidator->getForbiddenCharacters(); |
|
164 | + $name = str_replace($forbiddenCharacter, $this->charReplacement, $name); |
|
165 | + |
|
166 | + return $name; |
|
167 | + } |
|
168 | 168 | } |
@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | // Set an active user so that event listeners can correctly work (e.g. files versions) |
104 | 104 | $this->session->setVolatileActiveUser($user); |
105 | 105 | |
106 | - $this->output->writeln('<info>Analyzing files of ' . $user->getUID() . '</>'); |
|
106 | + $this->output->writeln('<info>Analyzing files of '.$user->getUID().'</>'); |
|
107 | 107 | |
108 | 108 | $folder = $this->rootFolder->getUserFolder($user->getUID()); |
109 | 109 | $this->sanitizeFiles($folder); |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | |
112 | 112 | private function sanitizeFiles(Folder $folder): void { |
113 | 113 | foreach ($folder->getDirectoryListing() as $node) { |
114 | - $this->output->writeln('scanning: ' . $node->getPath(), OutputInterface::VERBOSITY_VERBOSE); |
|
114 | + $this->output->writeln('scanning: '.$node->getPath(), OutputInterface::VERBOSITY_VERBOSE); |
|
115 | 115 | |
116 | 116 | try { |
117 | 117 | $oldName = $node->getName(); |
@@ -126,14 +126,14 @@ discard block |
||
126 | 126 | // simulate error for dry run |
127 | 127 | throw new NotPermittedException(); |
128 | 128 | } |
129 | - $this->output->writeln('renamed: "' . $oldName . '" to "' . $newName . '"'); |
|
129 | + $this->output->writeln('renamed: "'.$oldName.'" to "'.$newName.'"'); |
|
130 | 130 | } |
131 | 131 | } catch (LockedException) { |
132 | - $this->output->writeln('<comment>skipping: ' . $node->getPath() . ' (file is locked)</>'); |
|
132 | + $this->output->writeln('<comment>skipping: '.$node->getPath().' (file is locked)</>'); |
|
133 | 133 | } catch (NotPermittedException) { |
134 | - $this->output->writeln('<comment>skipping: ' . $node->getPath() . ' (no permissions)</>'); |
|
134 | + $this->output->writeln('<comment>skipping: '.$node->getPath().' (no permissions)</>'); |
|
135 | 135 | } catch (Exception) { |
136 | - $this->output->writeln('<error>failed: ' . $node->getPath() . '</>'); |
|
136 | + $this->output->writeln('<error>failed: '.$node->getPath().'</>'); |
|
137 | 137 | } |
138 | 138 | |
139 | 139 | if ($node instanceof Folder) { |
@@ -15,38 +15,38 @@ |
||
15 | 15 | |
16 | 16 | class WindowsCompatibleFilenames extends Base { |
17 | 17 | |
18 | - public function __construct( |
|
19 | - private SettingsService $service, |
|
20 | - ) { |
|
21 | - parent::__construct(); |
|
22 | - } |
|
23 | - |
|
24 | - protected function configure(): void { |
|
25 | - parent::configure(); |
|
26 | - |
|
27 | - $this |
|
28 | - ->setName('files:windows-compatible-filenames') |
|
29 | - ->setDescription('Enforce naming constraints for windows compatible filenames') |
|
30 | - ->addOption('enable', description: 'Enable windows naming constraints') |
|
31 | - ->addOption('disable', description: 'Disable windows naming constraints'); |
|
32 | - } |
|
33 | - |
|
34 | - protected function execute(InputInterface $input, OutputInterface $output): int { |
|
35 | - if ($input->getOption('enable')) { |
|
36 | - if ($this->service->hasFilesWindowsSupport()) { |
|
37 | - $output->writeln('<error>Windows compatible filenames already enforced.</error>', OutputInterface::VERBOSITY_VERBOSE); |
|
38 | - } |
|
39 | - $this->service->setFilesWindowsSupport(true); |
|
40 | - $output->writeln('Windows compatible filenames enforced.'); |
|
41 | - } elseif ($input->getOption('disable')) { |
|
42 | - if (!$this->service->hasFilesWindowsSupport()) { |
|
43 | - $output->writeln('<error>Windows compatible filenames already disabled.</error>', OutputInterface::VERBOSITY_VERBOSE); |
|
44 | - } |
|
45 | - $this->service->setFilesWindowsSupport(false); |
|
46 | - $output->writeln('Windows compatible filename constraints removed.'); |
|
47 | - } else { |
|
48 | - $output->writeln('Windows compatible filenames are ' . ($this->service->hasFilesWindowsSupport() ? 'enforced' : 'disabled')); |
|
49 | - } |
|
50 | - return self::SUCCESS; |
|
51 | - } |
|
18 | + public function __construct( |
|
19 | + private SettingsService $service, |
|
20 | + ) { |
|
21 | + parent::__construct(); |
|
22 | + } |
|
23 | + |
|
24 | + protected function configure(): void { |
|
25 | + parent::configure(); |
|
26 | + |
|
27 | + $this |
|
28 | + ->setName('files:windows-compatible-filenames') |
|
29 | + ->setDescription('Enforce naming constraints for windows compatible filenames') |
|
30 | + ->addOption('enable', description: 'Enable windows naming constraints') |
|
31 | + ->addOption('disable', description: 'Disable windows naming constraints'); |
|
32 | + } |
|
33 | + |
|
34 | + protected function execute(InputInterface $input, OutputInterface $output): int { |
|
35 | + if ($input->getOption('enable')) { |
|
36 | + if ($this->service->hasFilesWindowsSupport()) { |
|
37 | + $output->writeln('<error>Windows compatible filenames already enforced.</error>', OutputInterface::VERBOSITY_VERBOSE); |
|
38 | + } |
|
39 | + $this->service->setFilesWindowsSupport(true); |
|
40 | + $output->writeln('Windows compatible filenames enforced.'); |
|
41 | + } elseif ($input->getOption('disable')) { |
|
42 | + if (!$this->service->hasFilesWindowsSupport()) { |
|
43 | + $output->writeln('<error>Windows compatible filenames already disabled.</error>', OutputInterface::VERBOSITY_VERBOSE); |
|
44 | + } |
|
45 | + $this->service->setFilesWindowsSupport(false); |
|
46 | + $output->writeln('Windows compatible filename constraints removed.'); |
|
47 | + } else { |
|
48 | + $output->writeln('Windows compatible filenames are ' . ($this->service->hasFilesWindowsSupport() ? 'enforced' : 'disabled')); |
|
49 | + } |
|
50 | + return self::SUCCESS; |
|
51 | + } |
|
52 | 52 | } |
@@ -45,7 +45,7 @@ |
||
45 | 45 | $this->service->setFilesWindowsSupport(false); |
46 | 46 | $output->writeln('Windows compatible filename constraints removed.'); |
47 | 47 | } else { |
48 | - $output->writeln('Windows compatible filenames are ' . ($this->service->hasFilesWindowsSupport() ? 'enforced' : 'disabled')); |
|
48 | + $output->writeln('Windows compatible filenames are '.($this->service->hasFilesWindowsSupport() ? 'enforced' : 'disabled')); |
|
49 | 49 | } |
50 | 50 | return self::SUCCESS; |
51 | 51 | } |
@@ -16,52 +16,52 @@ |
||
16 | 16 | |
17 | 17 | class DeclarativeAdminSettings implements IDeclarativeSettingsFormWithHandlers { |
18 | 18 | |
19 | - public function __construct( |
|
20 | - private IL10N $l, |
|
21 | - private SettingsService $service, |
|
22 | - private IURLGenerator $urlGenerator, |
|
23 | - ) { |
|
24 | - } |
|
19 | + public function __construct( |
|
20 | + private IL10N $l, |
|
21 | + private SettingsService $service, |
|
22 | + private IURLGenerator $urlGenerator, |
|
23 | + ) { |
|
24 | + } |
|
25 | 25 | |
26 | - public function getValue(string $fieldId, IUser $user): mixed { |
|
27 | - return match($fieldId) { |
|
28 | - 'windows_support' => $this->service->hasFilesWindowsSupport(), |
|
29 | - default => throw new \InvalidArgumentException('Unexpected field id ' . $fieldId), |
|
30 | - }; |
|
31 | - } |
|
26 | + public function getValue(string $fieldId, IUser $user): mixed { |
|
27 | + return match($fieldId) { |
|
28 | + 'windows_support' => $this->service->hasFilesWindowsSupport(), |
|
29 | + default => throw new \InvalidArgumentException('Unexpected field id ' . $fieldId), |
|
30 | + }; |
|
31 | + } |
|
32 | 32 | |
33 | - public function setValue(string $fieldId, mixed $value, IUser $user): void { |
|
34 | - switch ($fieldId) { |
|
35 | - case 'windows_support': |
|
36 | - $this->service->setFilesWindowsSupport((bool)$value); |
|
37 | - break; |
|
38 | - } |
|
39 | - } |
|
33 | + public function setValue(string $fieldId, mixed $value, IUser $user): void { |
|
34 | + switch ($fieldId) { |
|
35 | + case 'windows_support': |
|
36 | + $this->service->setFilesWindowsSupport((bool)$value); |
|
37 | + break; |
|
38 | + } |
|
39 | + } |
|
40 | 40 | |
41 | - public function getSchema(): array { |
|
42 | - return [ |
|
43 | - 'id' => 'files-filename-support', |
|
44 | - 'priority' => 10, |
|
45 | - 'section_type' => DeclarativeSettingsTypes::SECTION_TYPE_ADMIN, |
|
46 | - 'section_id' => 'server', |
|
47 | - 'storage_type' => DeclarativeSettingsTypes::STORAGE_TYPE_EXTERNAL, |
|
48 | - 'title' => $this->l->t('Files compatibility'), |
|
49 | - 'doc_url' => $this->urlGenerator->linkToDocs('admin-windows-compatible-filenames'), |
|
50 | - 'description' => ( |
|
51 | - $this->l->t('Allow to restrict filenames to ensure files can be synced with all clients. By default all filenames valid on POSIX (e.g. Linux or macOS) are allowed.') |
|
52 | - . "\n" . $this->l->t('After enabling the windows compatible filenames, existing files cannot be modified anymore but can be renamed to valid new names by their owner.') |
|
53 | - . "\n" . $this->l->t('It is also possible to migrate files automatically after enabling this setting, please refer to the documentation about the occ command.') |
|
54 | - ), |
|
41 | + public function getSchema(): array { |
|
42 | + return [ |
|
43 | + 'id' => 'files-filename-support', |
|
44 | + 'priority' => 10, |
|
45 | + 'section_type' => DeclarativeSettingsTypes::SECTION_TYPE_ADMIN, |
|
46 | + 'section_id' => 'server', |
|
47 | + 'storage_type' => DeclarativeSettingsTypes::STORAGE_TYPE_EXTERNAL, |
|
48 | + 'title' => $this->l->t('Files compatibility'), |
|
49 | + 'doc_url' => $this->urlGenerator->linkToDocs('admin-windows-compatible-filenames'), |
|
50 | + 'description' => ( |
|
51 | + $this->l->t('Allow to restrict filenames to ensure files can be synced with all clients. By default all filenames valid on POSIX (e.g. Linux or macOS) are allowed.') |
|
52 | + . "\n" . $this->l->t('After enabling the windows compatible filenames, existing files cannot be modified anymore but can be renamed to valid new names by their owner.') |
|
53 | + . "\n" . $this->l->t('It is also possible to migrate files automatically after enabling this setting, please refer to the documentation about the occ command.') |
|
54 | + ), |
|
55 | 55 | |
56 | - 'fields' => [ |
|
57 | - [ |
|
58 | - 'id' => 'windows_support', |
|
59 | - 'title' => $this->l->t('Enforce Windows compatibility'), |
|
60 | - 'description' => $this->l->t('This will block filenames not valid on Windows systems, like using reserved names or special characters. But this will not enforce compatibility of case sensitivity.'), |
|
61 | - 'type' => DeclarativeSettingsTypes::CHECKBOX, |
|
62 | - 'default' => false, |
|
63 | - ], |
|
64 | - ], |
|
65 | - ]; |
|
66 | - } |
|
56 | + 'fields' => [ |
|
57 | + [ |
|
58 | + 'id' => 'windows_support', |
|
59 | + 'title' => $this->l->t('Enforce Windows compatibility'), |
|
60 | + 'description' => $this->l->t('This will block filenames not valid on Windows systems, like using reserved names or special characters. But this will not enforce compatibility of case sensitivity.'), |
|
61 | + 'type' => DeclarativeSettingsTypes::CHECKBOX, |
|
62 | + 'default' => false, |
|
63 | + ], |
|
64 | + ], |
|
65 | + ]; |
|
66 | + } |
|
67 | 67 | } |
@@ -26,14 +26,14 @@ discard block |
||
26 | 26 | public function getValue(string $fieldId, IUser $user): mixed { |
27 | 27 | return match($fieldId) { |
28 | 28 | 'windows_support' => $this->service->hasFilesWindowsSupport(), |
29 | - default => throw new \InvalidArgumentException('Unexpected field id ' . $fieldId), |
|
29 | + default => throw new \InvalidArgumentException('Unexpected field id '.$fieldId), |
|
30 | 30 | }; |
31 | 31 | } |
32 | 32 | |
33 | 33 | public function setValue(string $fieldId, mixed $value, IUser $user): void { |
34 | 34 | switch ($fieldId) { |
35 | 35 | case 'windows_support': |
36 | - $this->service->setFilesWindowsSupport((bool)$value); |
|
36 | + $this->service->setFilesWindowsSupport((bool) $value); |
|
37 | 37 | break; |
38 | 38 | } |
39 | 39 | } |
@@ -49,8 +49,8 @@ discard block |
||
49 | 49 | 'doc_url' => $this->urlGenerator->linkToDocs('admin-windows-compatible-filenames'), |
50 | 50 | 'description' => ( |
51 | 51 | $this->l->t('Allow to restrict filenames to ensure files can be synced with all clients. By default all filenames valid on POSIX (e.g. Linux or macOS) are allowed.') |
52 | - . "\n" . $this->l->t('After enabling the windows compatible filenames, existing files cannot be modified anymore but can be renamed to valid new names by their owner.') |
|
53 | - . "\n" . $this->l->t('It is also possible to migrate files automatically after enabling this setting, please refer to the documentation about the occ command.') |
|
52 | + . "\n".$this->l->t('After enabling the windows compatible filenames, existing files cannot be modified anymore but can be renamed to valid new names by their owner.') |
|
53 | + . "\n".$this->l->t('It is also possible to migrate files automatically after enabling this setting, please refer to the documentation about the occ command.') |
|
54 | 54 | ), |
55 | 55 | |
56 | 56 | 'fields' => [ |
@@ -6,108 +6,108 @@ |
||
6 | 6 | |
7 | 7 | class ComposerStaticInitFiles |
8 | 8 | { |
9 | - public static $prefixLengthsPsr4 = array ( |
|
9 | + public static $prefixLengthsPsr4 = array( |
|
10 | 10 | 'O' => |
11 | - array ( |
|
11 | + array( |
|
12 | 12 | 'OCA\\Files\\' => 10, |
13 | 13 | ), |
14 | 14 | ); |
15 | 15 | |
16 | - public static $prefixDirsPsr4 = array ( |
|
16 | + public static $prefixDirsPsr4 = array( |
|
17 | 17 | 'OCA\\Files\\' => |
18 | - array ( |
|
19 | - 0 => __DIR__ . '/..' . '/../lib', |
|
18 | + array( |
|
19 | + 0 => __DIR__.'/..'.'/../lib', |
|
20 | 20 | ), |
21 | 21 | ); |
22 | 22 | |
23 | - public static $classMap = array ( |
|
24 | - 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php', |
|
25 | - 'OCA\\Files\\Activity\\FavoriteProvider' => __DIR__ . '/..' . '/../lib/Activity/FavoriteProvider.php', |
|
26 | - 'OCA\\Files\\Activity\\Filter\\Favorites' => __DIR__ . '/..' . '/../lib/Activity/Filter/Favorites.php', |
|
27 | - 'OCA\\Files\\Activity\\Filter\\FileChanges' => __DIR__ . '/..' . '/../lib/Activity/Filter/FileChanges.php', |
|
28 | - 'OCA\\Files\\Activity\\Helper' => __DIR__ . '/..' . '/../lib/Activity/Helper.php', |
|
29 | - 'OCA\\Files\\Activity\\Provider' => __DIR__ . '/..' . '/../lib/Activity/Provider.php', |
|
30 | - 'OCA\\Files\\Activity\\Settings\\FavoriteAction' => __DIR__ . '/..' . '/../lib/Activity/Settings/FavoriteAction.php', |
|
31 | - 'OCA\\Files\\Activity\\Settings\\FileActivitySettings' => __DIR__ . '/..' . '/../lib/Activity/Settings/FileActivitySettings.php', |
|
32 | - 'OCA\\Files\\Activity\\Settings\\FileChanged' => __DIR__ . '/..' . '/../lib/Activity/Settings/FileChanged.php', |
|
33 | - 'OCA\\Files\\Activity\\Settings\\FileFavoriteChanged' => __DIR__ . '/..' . '/../lib/Activity/Settings/FileFavoriteChanged.php', |
|
34 | - 'OCA\\Files\\AdvancedCapabilities' => __DIR__ . '/..' . '/../lib/AdvancedCapabilities.php', |
|
35 | - 'OCA\\Files\\App' => __DIR__ . '/..' . '/../lib/App.php', |
|
36 | - 'OCA\\Files\\AppInfo\\Application' => __DIR__ . '/..' . '/../lib/AppInfo/Application.php', |
|
37 | - 'OCA\\Files\\BackgroundJob\\CleanupDirectEditingTokens' => __DIR__ . '/..' . '/../lib/BackgroundJob/CleanupDirectEditingTokens.php', |
|
38 | - 'OCA\\Files\\BackgroundJob\\CleanupFileLocks' => __DIR__ . '/..' . '/../lib/BackgroundJob/CleanupFileLocks.php', |
|
39 | - 'OCA\\Files\\BackgroundJob\\DeleteExpiredOpenLocalEditor' => __DIR__ . '/..' . '/../lib/BackgroundJob/DeleteExpiredOpenLocalEditor.php', |
|
40 | - 'OCA\\Files\\BackgroundJob\\DeleteOrphanedItems' => __DIR__ . '/..' . '/../lib/BackgroundJob/DeleteOrphanedItems.php', |
|
41 | - 'OCA\\Files\\BackgroundJob\\ScanFiles' => __DIR__ . '/..' . '/../lib/BackgroundJob/ScanFiles.php', |
|
42 | - 'OCA\\Files\\BackgroundJob\\TransferOwnership' => __DIR__ . '/..' . '/../lib/BackgroundJob/TransferOwnership.php', |
|
43 | - 'OCA\\Files\\Capabilities' => __DIR__ . '/..' . '/../lib/Capabilities.php', |
|
44 | - 'OCA\\Files\\Collaboration\\Resources\\Listener' => __DIR__ . '/..' . '/../lib/Collaboration/Resources/Listener.php', |
|
45 | - 'OCA\\Files\\Collaboration\\Resources\\ResourceProvider' => __DIR__ . '/..' . '/../lib/Collaboration/Resources/ResourceProvider.php', |
|
46 | - 'OCA\\Files\\Command\\Copy' => __DIR__ . '/..' . '/../lib/Command/Copy.php', |
|
47 | - 'OCA\\Files\\Command\\Delete' => __DIR__ . '/..' . '/../lib/Command/Delete.php', |
|
48 | - 'OCA\\Files\\Command\\DeleteOrphanedFiles' => __DIR__ . '/..' . '/../lib/Command/DeleteOrphanedFiles.php', |
|
49 | - 'OCA\\Files\\Command\\Get' => __DIR__ . '/..' . '/../lib/Command/Get.php', |
|
50 | - 'OCA\\Files\\Command\\Move' => __DIR__ . '/..' . '/../lib/Command/Move.php', |
|
51 | - 'OCA\\Files\\Command\\Object\\Delete' => __DIR__ . '/..' . '/../lib/Command/Object/Delete.php', |
|
52 | - 'OCA\\Files\\Command\\Object\\Get' => __DIR__ . '/..' . '/../lib/Command/Object/Get.php', |
|
53 | - 'OCA\\Files\\Command\\Object\\Info' => __DIR__ . '/..' . '/../lib/Command/Object/Info.php', |
|
54 | - 'OCA\\Files\\Command\\Object\\ListObject' => __DIR__ . '/..' . '/../lib/Command/Object/ListObject.php', |
|
55 | - 'OCA\\Files\\Command\\Object\\ObjectUtil' => __DIR__ . '/..' . '/../lib/Command/Object/ObjectUtil.php', |
|
56 | - 'OCA\\Files\\Command\\Object\\Orphans' => __DIR__ . '/..' . '/../lib/Command/Object/Orphans.php', |
|
57 | - 'OCA\\Files\\Command\\Object\\Put' => __DIR__ . '/..' . '/../lib/Command/Object/Put.php', |
|
58 | - 'OCA\\Files\\Command\\Put' => __DIR__ . '/..' . '/../lib/Command/Put.php', |
|
59 | - 'OCA\\Files\\Command\\RepairTree' => __DIR__ . '/..' . '/../lib/Command/RepairTree.php', |
|
60 | - 'OCA\\Files\\Command\\SanitizeFilenames' => __DIR__ . '/..' . '/../lib/Command/SanitizeFilenames.php', |
|
61 | - 'OCA\\Files\\Command\\Scan' => __DIR__ . '/..' . '/../lib/Command/Scan.php', |
|
62 | - 'OCA\\Files\\Command\\ScanAppData' => __DIR__ . '/..' . '/../lib/Command/ScanAppData.php', |
|
63 | - 'OCA\\Files\\Command\\TransferOwnership' => __DIR__ . '/..' . '/../lib/Command/TransferOwnership.php', |
|
64 | - 'OCA\\Files\\Command\\WindowsCompatibleFilenames' => __DIR__ . '/..' . '/../lib/Command/WindowsCompatibleFilenames.php', |
|
65 | - 'OCA\\Files\\Controller\\ApiController' => __DIR__ . '/..' . '/../lib/Controller/ApiController.php', |
|
66 | - 'OCA\\Files\\Controller\\ConversionApiController' => __DIR__ . '/..' . '/../lib/Controller/ConversionApiController.php', |
|
67 | - 'OCA\\Files\\Controller\\DirectEditingController' => __DIR__ . '/..' . '/../lib/Controller/DirectEditingController.php', |
|
68 | - 'OCA\\Files\\Controller\\DirectEditingViewController' => __DIR__ . '/..' . '/../lib/Controller/DirectEditingViewController.php', |
|
69 | - 'OCA\\Files\\Controller\\OpenLocalEditorController' => __DIR__ . '/..' . '/../lib/Controller/OpenLocalEditorController.php', |
|
70 | - 'OCA\\Files\\Controller\\TemplateController' => __DIR__ . '/..' . '/../lib/Controller/TemplateController.php', |
|
71 | - 'OCA\\Files\\Controller\\TransferOwnershipController' => __DIR__ . '/..' . '/../lib/Controller/TransferOwnershipController.php', |
|
72 | - 'OCA\\Files\\Controller\\ViewController' => __DIR__ . '/..' . '/../lib/Controller/ViewController.php', |
|
73 | - 'OCA\\Files\\Dashboard\\FavoriteWidget' => __DIR__ . '/..' . '/../lib/Dashboard/FavoriteWidget.php', |
|
74 | - 'OCA\\Files\\Db\\OpenLocalEditor' => __DIR__ . '/..' . '/../lib/Db/OpenLocalEditor.php', |
|
75 | - 'OCA\\Files\\Db\\OpenLocalEditorMapper' => __DIR__ . '/..' . '/../lib/Db/OpenLocalEditorMapper.php', |
|
76 | - 'OCA\\Files\\Db\\TransferOwnership' => __DIR__ . '/..' . '/../lib/Db/TransferOwnership.php', |
|
77 | - 'OCA\\Files\\Db\\TransferOwnershipMapper' => __DIR__ . '/..' . '/../lib/Db/TransferOwnershipMapper.php', |
|
78 | - 'OCA\\Files\\DirectEditingCapabilities' => __DIR__ . '/..' . '/../lib/DirectEditingCapabilities.php', |
|
79 | - 'OCA\\Files\\Event\\LoadAdditionalScriptsEvent' => __DIR__ . '/..' . '/../lib/Event/LoadAdditionalScriptsEvent.php', |
|
80 | - 'OCA\\Files\\Event\\LoadSearchPlugins' => __DIR__ . '/..' . '/../lib/Event/LoadSearchPlugins.php', |
|
81 | - 'OCA\\Files\\Event\\LoadSidebar' => __DIR__ . '/..' . '/../lib/Event/LoadSidebar.php', |
|
82 | - 'OCA\\Files\\Exception\\TransferOwnershipException' => __DIR__ . '/..' . '/../lib/Exception/TransferOwnershipException.php', |
|
83 | - 'OCA\\Files\\Helper' => __DIR__ . '/..' . '/../lib/Helper.php', |
|
84 | - 'OCA\\Files\\Listener\\LoadSearchPluginsListener' => __DIR__ . '/..' . '/../lib/Listener/LoadSearchPluginsListener.php', |
|
85 | - 'OCA\\Files\\Listener\\LoadSidebarListener' => __DIR__ . '/..' . '/../lib/Listener/LoadSidebarListener.php', |
|
86 | - 'OCA\\Files\\Listener\\NodeAddedToFavoriteListener' => __DIR__ . '/..' . '/../lib/Listener/NodeAddedToFavoriteListener.php', |
|
87 | - 'OCA\\Files\\Listener\\NodeRemovedFromFavoriteListener' => __DIR__ . '/..' . '/../lib/Listener/NodeRemovedFromFavoriteListener.php', |
|
88 | - 'OCA\\Files\\Listener\\RenderReferenceEventListener' => __DIR__ . '/..' . '/../lib/Listener/RenderReferenceEventListener.php', |
|
89 | - 'OCA\\Files\\Listener\\SyncLivePhotosListener' => __DIR__ . '/..' . '/../lib/Listener/SyncLivePhotosListener.php', |
|
90 | - 'OCA\\Files\\Migration\\Version11301Date20191205150729' => __DIR__ . '/..' . '/../lib/Migration/Version11301Date20191205150729.php', |
|
91 | - 'OCA\\Files\\Migration\\Version12101Date20221011153334' => __DIR__ . '/..' . '/../lib/Migration/Version12101Date20221011153334.php', |
|
92 | - 'OCA\\Files\\Migration\\Version2003Date20241021095629' => __DIR__ . '/..' . '/../lib/Migration/Version2003Date20241021095629.php', |
|
93 | - 'OCA\\Files\\Notification\\Notifier' => __DIR__ . '/..' . '/../lib/Notification/Notifier.php', |
|
94 | - 'OCA\\Files\\ResponseDefinitions' => __DIR__ . '/..' . '/../lib/ResponseDefinitions.php', |
|
95 | - 'OCA\\Files\\Search\\FilesSearchProvider' => __DIR__ . '/..' . '/../lib/Search/FilesSearchProvider.php', |
|
96 | - 'OCA\\Files\\Service\\ChunkedUploadConfig' => __DIR__ . '/..' . '/../lib/Service/ChunkedUploadConfig.php', |
|
97 | - 'OCA\\Files\\Service\\DirectEditingService' => __DIR__ . '/..' . '/../lib/Service/DirectEditingService.php', |
|
98 | - 'OCA\\Files\\Service\\LivePhotosService' => __DIR__ . '/..' . '/../lib/Service/LivePhotosService.php', |
|
99 | - 'OCA\\Files\\Service\\OwnershipTransferService' => __DIR__ . '/..' . '/../lib/Service/OwnershipTransferService.php', |
|
100 | - 'OCA\\Files\\Service\\SettingsService' => __DIR__ . '/..' . '/../lib/Service/SettingsService.php', |
|
101 | - 'OCA\\Files\\Service\\TagService' => __DIR__ . '/..' . '/../lib/Service/TagService.php', |
|
102 | - 'OCA\\Files\\Service\\UserConfig' => __DIR__ . '/..' . '/../lib/Service/UserConfig.php', |
|
103 | - 'OCA\\Files\\Service\\ViewConfig' => __DIR__ . '/..' . '/../lib/Service/ViewConfig.php', |
|
104 | - 'OCA\\Files\\Settings\\DeclarativeAdminSettings' => __DIR__ . '/..' . '/../lib/Settings/DeclarativeAdminSettings.php', |
|
105 | - 'OCA\\Files\\Settings\\PersonalSettings' => __DIR__ . '/..' . '/../lib/Settings/PersonalSettings.php', |
|
23 | + public static $classMap = array( |
|
24 | + 'Composer\\InstalledVersions' => __DIR__.'/..'.'/composer/InstalledVersions.php', |
|
25 | + 'OCA\\Files\\Activity\\FavoriteProvider' => __DIR__.'/..'.'/../lib/Activity/FavoriteProvider.php', |
|
26 | + 'OCA\\Files\\Activity\\Filter\\Favorites' => __DIR__.'/..'.'/../lib/Activity/Filter/Favorites.php', |
|
27 | + 'OCA\\Files\\Activity\\Filter\\FileChanges' => __DIR__.'/..'.'/../lib/Activity/Filter/FileChanges.php', |
|
28 | + 'OCA\\Files\\Activity\\Helper' => __DIR__.'/..'.'/../lib/Activity/Helper.php', |
|
29 | + 'OCA\\Files\\Activity\\Provider' => __DIR__.'/..'.'/../lib/Activity/Provider.php', |
|
30 | + 'OCA\\Files\\Activity\\Settings\\FavoriteAction' => __DIR__.'/..'.'/../lib/Activity/Settings/FavoriteAction.php', |
|
31 | + 'OCA\\Files\\Activity\\Settings\\FileActivitySettings' => __DIR__.'/..'.'/../lib/Activity/Settings/FileActivitySettings.php', |
|
32 | + 'OCA\\Files\\Activity\\Settings\\FileChanged' => __DIR__.'/..'.'/../lib/Activity/Settings/FileChanged.php', |
|
33 | + 'OCA\\Files\\Activity\\Settings\\FileFavoriteChanged' => __DIR__.'/..'.'/../lib/Activity/Settings/FileFavoriteChanged.php', |
|
34 | + 'OCA\\Files\\AdvancedCapabilities' => __DIR__.'/..'.'/../lib/AdvancedCapabilities.php', |
|
35 | + 'OCA\\Files\\App' => __DIR__.'/..'.'/../lib/App.php', |
|
36 | + 'OCA\\Files\\AppInfo\\Application' => __DIR__.'/..'.'/../lib/AppInfo/Application.php', |
|
37 | + 'OCA\\Files\\BackgroundJob\\CleanupDirectEditingTokens' => __DIR__.'/..'.'/../lib/BackgroundJob/CleanupDirectEditingTokens.php', |
|
38 | + 'OCA\\Files\\BackgroundJob\\CleanupFileLocks' => __DIR__.'/..'.'/../lib/BackgroundJob/CleanupFileLocks.php', |
|
39 | + 'OCA\\Files\\BackgroundJob\\DeleteExpiredOpenLocalEditor' => __DIR__.'/..'.'/../lib/BackgroundJob/DeleteExpiredOpenLocalEditor.php', |
|
40 | + 'OCA\\Files\\BackgroundJob\\DeleteOrphanedItems' => __DIR__.'/..'.'/../lib/BackgroundJob/DeleteOrphanedItems.php', |
|
41 | + 'OCA\\Files\\BackgroundJob\\ScanFiles' => __DIR__.'/..'.'/../lib/BackgroundJob/ScanFiles.php', |
|
42 | + 'OCA\\Files\\BackgroundJob\\TransferOwnership' => __DIR__.'/..'.'/../lib/BackgroundJob/TransferOwnership.php', |
|
43 | + 'OCA\\Files\\Capabilities' => __DIR__.'/..'.'/../lib/Capabilities.php', |
|
44 | + 'OCA\\Files\\Collaboration\\Resources\\Listener' => __DIR__.'/..'.'/../lib/Collaboration/Resources/Listener.php', |
|
45 | + 'OCA\\Files\\Collaboration\\Resources\\ResourceProvider' => __DIR__.'/..'.'/../lib/Collaboration/Resources/ResourceProvider.php', |
|
46 | + 'OCA\\Files\\Command\\Copy' => __DIR__.'/..'.'/../lib/Command/Copy.php', |
|
47 | + 'OCA\\Files\\Command\\Delete' => __DIR__.'/..'.'/../lib/Command/Delete.php', |
|
48 | + 'OCA\\Files\\Command\\DeleteOrphanedFiles' => __DIR__.'/..'.'/../lib/Command/DeleteOrphanedFiles.php', |
|
49 | + 'OCA\\Files\\Command\\Get' => __DIR__.'/..'.'/../lib/Command/Get.php', |
|
50 | + 'OCA\\Files\\Command\\Move' => __DIR__.'/..'.'/../lib/Command/Move.php', |
|
51 | + 'OCA\\Files\\Command\\Object\\Delete' => __DIR__.'/..'.'/../lib/Command/Object/Delete.php', |
|
52 | + 'OCA\\Files\\Command\\Object\\Get' => __DIR__.'/..'.'/../lib/Command/Object/Get.php', |
|
53 | + 'OCA\\Files\\Command\\Object\\Info' => __DIR__.'/..'.'/../lib/Command/Object/Info.php', |
|
54 | + 'OCA\\Files\\Command\\Object\\ListObject' => __DIR__.'/..'.'/../lib/Command/Object/ListObject.php', |
|
55 | + 'OCA\\Files\\Command\\Object\\ObjectUtil' => __DIR__.'/..'.'/../lib/Command/Object/ObjectUtil.php', |
|
56 | + 'OCA\\Files\\Command\\Object\\Orphans' => __DIR__.'/..'.'/../lib/Command/Object/Orphans.php', |
|
57 | + 'OCA\\Files\\Command\\Object\\Put' => __DIR__.'/..'.'/../lib/Command/Object/Put.php', |
|
58 | + 'OCA\\Files\\Command\\Put' => __DIR__.'/..'.'/../lib/Command/Put.php', |
|
59 | + 'OCA\\Files\\Command\\RepairTree' => __DIR__.'/..'.'/../lib/Command/RepairTree.php', |
|
60 | + 'OCA\\Files\\Command\\SanitizeFilenames' => __DIR__.'/..'.'/../lib/Command/SanitizeFilenames.php', |
|
61 | + 'OCA\\Files\\Command\\Scan' => __DIR__.'/..'.'/../lib/Command/Scan.php', |
|
62 | + 'OCA\\Files\\Command\\ScanAppData' => __DIR__.'/..'.'/../lib/Command/ScanAppData.php', |
|
63 | + 'OCA\\Files\\Command\\TransferOwnership' => __DIR__.'/..'.'/../lib/Command/TransferOwnership.php', |
|
64 | + 'OCA\\Files\\Command\\WindowsCompatibleFilenames' => __DIR__.'/..'.'/../lib/Command/WindowsCompatibleFilenames.php', |
|
65 | + 'OCA\\Files\\Controller\\ApiController' => __DIR__.'/..'.'/../lib/Controller/ApiController.php', |
|
66 | + 'OCA\\Files\\Controller\\ConversionApiController' => __DIR__.'/..'.'/../lib/Controller/ConversionApiController.php', |
|
67 | + 'OCA\\Files\\Controller\\DirectEditingController' => __DIR__.'/..'.'/../lib/Controller/DirectEditingController.php', |
|
68 | + 'OCA\\Files\\Controller\\DirectEditingViewController' => __DIR__.'/..'.'/../lib/Controller/DirectEditingViewController.php', |
|
69 | + 'OCA\\Files\\Controller\\OpenLocalEditorController' => __DIR__.'/..'.'/../lib/Controller/OpenLocalEditorController.php', |
|
70 | + 'OCA\\Files\\Controller\\TemplateController' => __DIR__.'/..'.'/../lib/Controller/TemplateController.php', |
|
71 | + 'OCA\\Files\\Controller\\TransferOwnershipController' => __DIR__.'/..'.'/../lib/Controller/TransferOwnershipController.php', |
|
72 | + 'OCA\\Files\\Controller\\ViewController' => __DIR__.'/..'.'/../lib/Controller/ViewController.php', |
|
73 | + 'OCA\\Files\\Dashboard\\FavoriteWidget' => __DIR__.'/..'.'/../lib/Dashboard/FavoriteWidget.php', |
|
74 | + 'OCA\\Files\\Db\\OpenLocalEditor' => __DIR__.'/..'.'/../lib/Db/OpenLocalEditor.php', |
|
75 | + 'OCA\\Files\\Db\\OpenLocalEditorMapper' => __DIR__.'/..'.'/../lib/Db/OpenLocalEditorMapper.php', |
|
76 | + 'OCA\\Files\\Db\\TransferOwnership' => __DIR__.'/..'.'/../lib/Db/TransferOwnership.php', |
|
77 | + 'OCA\\Files\\Db\\TransferOwnershipMapper' => __DIR__.'/..'.'/../lib/Db/TransferOwnershipMapper.php', |
|
78 | + 'OCA\\Files\\DirectEditingCapabilities' => __DIR__.'/..'.'/../lib/DirectEditingCapabilities.php', |
|
79 | + 'OCA\\Files\\Event\\LoadAdditionalScriptsEvent' => __DIR__.'/..'.'/../lib/Event/LoadAdditionalScriptsEvent.php', |
|
80 | + 'OCA\\Files\\Event\\LoadSearchPlugins' => __DIR__.'/..'.'/../lib/Event/LoadSearchPlugins.php', |
|
81 | + 'OCA\\Files\\Event\\LoadSidebar' => __DIR__.'/..'.'/../lib/Event/LoadSidebar.php', |
|
82 | + 'OCA\\Files\\Exception\\TransferOwnershipException' => __DIR__.'/..'.'/../lib/Exception/TransferOwnershipException.php', |
|
83 | + 'OCA\\Files\\Helper' => __DIR__.'/..'.'/../lib/Helper.php', |
|
84 | + 'OCA\\Files\\Listener\\LoadSearchPluginsListener' => __DIR__.'/..'.'/../lib/Listener/LoadSearchPluginsListener.php', |
|
85 | + 'OCA\\Files\\Listener\\LoadSidebarListener' => __DIR__.'/..'.'/../lib/Listener/LoadSidebarListener.php', |
|
86 | + 'OCA\\Files\\Listener\\NodeAddedToFavoriteListener' => __DIR__.'/..'.'/../lib/Listener/NodeAddedToFavoriteListener.php', |
|
87 | + 'OCA\\Files\\Listener\\NodeRemovedFromFavoriteListener' => __DIR__.'/..'.'/../lib/Listener/NodeRemovedFromFavoriteListener.php', |
|
88 | + 'OCA\\Files\\Listener\\RenderReferenceEventListener' => __DIR__.'/..'.'/../lib/Listener/RenderReferenceEventListener.php', |
|
89 | + 'OCA\\Files\\Listener\\SyncLivePhotosListener' => __DIR__.'/..'.'/../lib/Listener/SyncLivePhotosListener.php', |
|
90 | + 'OCA\\Files\\Migration\\Version11301Date20191205150729' => __DIR__.'/..'.'/../lib/Migration/Version11301Date20191205150729.php', |
|
91 | + 'OCA\\Files\\Migration\\Version12101Date20221011153334' => __DIR__.'/..'.'/../lib/Migration/Version12101Date20221011153334.php', |
|
92 | + 'OCA\\Files\\Migration\\Version2003Date20241021095629' => __DIR__.'/..'.'/../lib/Migration/Version2003Date20241021095629.php', |
|
93 | + 'OCA\\Files\\Notification\\Notifier' => __DIR__.'/..'.'/../lib/Notification/Notifier.php', |
|
94 | + 'OCA\\Files\\ResponseDefinitions' => __DIR__.'/..'.'/../lib/ResponseDefinitions.php', |
|
95 | + 'OCA\\Files\\Search\\FilesSearchProvider' => __DIR__.'/..'.'/../lib/Search/FilesSearchProvider.php', |
|
96 | + 'OCA\\Files\\Service\\ChunkedUploadConfig' => __DIR__.'/..'.'/../lib/Service/ChunkedUploadConfig.php', |
|
97 | + 'OCA\\Files\\Service\\DirectEditingService' => __DIR__.'/..'.'/../lib/Service/DirectEditingService.php', |
|
98 | + 'OCA\\Files\\Service\\LivePhotosService' => __DIR__.'/..'.'/../lib/Service/LivePhotosService.php', |
|
99 | + 'OCA\\Files\\Service\\OwnershipTransferService' => __DIR__.'/..'.'/../lib/Service/OwnershipTransferService.php', |
|
100 | + 'OCA\\Files\\Service\\SettingsService' => __DIR__.'/..'.'/../lib/Service/SettingsService.php', |
|
101 | + 'OCA\\Files\\Service\\TagService' => __DIR__.'/..'.'/../lib/Service/TagService.php', |
|
102 | + 'OCA\\Files\\Service\\UserConfig' => __DIR__.'/..'.'/../lib/Service/UserConfig.php', |
|
103 | + 'OCA\\Files\\Service\\ViewConfig' => __DIR__.'/..'.'/../lib/Service/ViewConfig.php', |
|
104 | + 'OCA\\Files\\Settings\\DeclarativeAdminSettings' => __DIR__.'/..'.'/../lib/Settings/DeclarativeAdminSettings.php', |
|
105 | + 'OCA\\Files\\Settings\\PersonalSettings' => __DIR__.'/..'.'/../lib/Settings/PersonalSettings.php', |
|
106 | 106 | ); |
107 | 107 | |
108 | 108 | public static function getInitializer(ClassLoader $loader) |
109 | 109 | { |
110 | - return \Closure::bind(function () use ($loader) { |
|
110 | + return \Closure::bind(function() use ($loader) { |
|
111 | 111 | $loader->prefixLengthsPsr4 = ComposerStaticInitFiles::$prefixLengthsPsr4; |
112 | 112 | $loader->prefixDirsPsr4 = ComposerStaticInitFiles::$prefixDirsPsr4; |
113 | 113 | $loader->classMap = ComposerStaticInitFiles::$classMap; |
@@ -6,86 +6,86 @@ |
||
6 | 6 | $baseDir = $vendorDir; |
7 | 7 | |
8 | 8 | return array( |
9 | - 'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php', |
|
10 | - 'OCA\\Files\\Activity\\FavoriteProvider' => $baseDir . '/../lib/Activity/FavoriteProvider.php', |
|
11 | - 'OCA\\Files\\Activity\\Filter\\Favorites' => $baseDir . '/../lib/Activity/Filter/Favorites.php', |
|
12 | - 'OCA\\Files\\Activity\\Filter\\FileChanges' => $baseDir . '/../lib/Activity/Filter/FileChanges.php', |
|
13 | - 'OCA\\Files\\Activity\\Helper' => $baseDir . '/../lib/Activity/Helper.php', |
|
14 | - 'OCA\\Files\\Activity\\Provider' => $baseDir . '/../lib/Activity/Provider.php', |
|
15 | - 'OCA\\Files\\Activity\\Settings\\FavoriteAction' => $baseDir . '/../lib/Activity/Settings/FavoriteAction.php', |
|
16 | - 'OCA\\Files\\Activity\\Settings\\FileActivitySettings' => $baseDir . '/../lib/Activity/Settings/FileActivitySettings.php', |
|
17 | - 'OCA\\Files\\Activity\\Settings\\FileChanged' => $baseDir . '/../lib/Activity/Settings/FileChanged.php', |
|
18 | - 'OCA\\Files\\Activity\\Settings\\FileFavoriteChanged' => $baseDir . '/../lib/Activity/Settings/FileFavoriteChanged.php', |
|
19 | - 'OCA\\Files\\AdvancedCapabilities' => $baseDir . '/../lib/AdvancedCapabilities.php', |
|
20 | - 'OCA\\Files\\App' => $baseDir . '/../lib/App.php', |
|
21 | - 'OCA\\Files\\AppInfo\\Application' => $baseDir . '/../lib/AppInfo/Application.php', |
|
22 | - 'OCA\\Files\\BackgroundJob\\CleanupDirectEditingTokens' => $baseDir . '/../lib/BackgroundJob/CleanupDirectEditingTokens.php', |
|
23 | - 'OCA\\Files\\BackgroundJob\\CleanupFileLocks' => $baseDir . '/../lib/BackgroundJob/CleanupFileLocks.php', |
|
24 | - 'OCA\\Files\\BackgroundJob\\DeleteExpiredOpenLocalEditor' => $baseDir . '/../lib/BackgroundJob/DeleteExpiredOpenLocalEditor.php', |
|
25 | - 'OCA\\Files\\BackgroundJob\\DeleteOrphanedItems' => $baseDir . '/../lib/BackgroundJob/DeleteOrphanedItems.php', |
|
26 | - 'OCA\\Files\\BackgroundJob\\ScanFiles' => $baseDir . '/../lib/BackgroundJob/ScanFiles.php', |
|
27 | - 'OCA\\Files\\BackgroundJob\\TransferOwnership' => $baseDir . '/../lib/BackgroundJob/TransferOwnership.php', |
|
28 | - 'OCA\\Files\\Capabilities' => $baseDir . '/../lib/Capabilities.php', |
|
29 | - 'OCA\\Files\\Collaboration\\Resources\\Listener' => $baseDir . '/../lib/Collaboration/Resources/Listener.php', |
|
30 | - 'OCA\\Files\\Collaboration\\Resources\\ResourceProvider' => $baseDir . '/../lib/Collaboration/Resources/ResourceProvider.php', |
|
31 | - 'OCA\\Files\\Command\\Copy' => $baseDir . '/../lib/Command/Copy.php', |
|
32 | - 'OCA\\Files\\Command\\Delete' => $baseDir . '/../lib/Command/Delete.php', |
|
33 | - 'OCA\\Files\\Command\\DeleteOrphanedFiles' => $baseDir . '/../lib/Command/DeleteOrphanedFiles.php', |
|
34 | - 'OCA\\Files\\Command\\Get' => $baseDir . '/../lib/Command/Get.php', |
|
35 | - 'OCA\\Files\\Command\\Move' => $baseDir . '/../lib/Command/Move.php', |
|
36 | - 'OCA\\Files\\Command\\Object\\Delete' => $baseDir . '/../lib/Command/Object/Delete.php', |
|
37 | - 'OCA\\Files\\Command\\Object\\Get' => $baseDir . '/../lib/Command/Object/Get.php', |
|
38 | - 'OCA\\Files\\Command\\Object\\Info' => $baseDir . '/../lib/Command/Object/Info.php', |
|
39 | - 'OCA\\Files\\Command\\Object\\ListObject' => $baseDir . '/../lib/Command/Object/ListObject.php', |
|
40 | - 'OCA\\Files\\Command\\Object\\ObjectUtil' => $baseDir . '/../lib/Command/Object/ObjectUtil.php', |
|
41 | - 'OCA\\Files\\Command\\Object\\Orphans' => $baseDir . '/../lib/Command/Object/Orphans.php', |
|
42 | - 'OCA\\Files\\Command\\Object\\Put' => $baseDir . '/../lib/Command/Object/Put.php', |
|
43 | - 'OCA\\Files\\Command\\Put' => $baseDir . '/../lib/Command/Put.php', |
|
44 | - 'OCA\\Files\\Command\\RepairTree' => $baseDir . '/../lib/Command/RepairTree.php', |
|
45 | - 'OCA\\Files\\Command\\SanitizeFilenames' => $baseDir . '/../lib/Command/SanitizeFilenames.php', |
|
46 | - 'OCA\\Files\\Command\\Scan' => $baseDir . '/../lib/Command/Scan.php', |
|
47 | - 'OCA\\Files\\Command\\ScanAppData' => $baseDir . '/../lib/Command/ScanAppData.php', |
|
48 | - 'OCA\\Files\\Command\\TransferOwnership' => $baseDir . '/../lib/Command/TransferOwnership.php', |
|
49 | - 'OCA\\Files\\Command\\WindowsCompatibleFilenames' => $baseDir . '/../lib/Command/WindowsCompatibleFilenames.php', |
|
50 | - 'OCA\\Files\\Controller\\ApiController' => $baseDir . '/../lib/Controller/ApiController.php', |
|
51 | - 'OCA\\Files\\Controller\\ConversionApiController' => $baseDir . '/../lib/Controller/ConversionApiController.php', |
|
52 | - 'OCA\\Files\\Controller\\DirectEditingController' => $baseDir . '/../lib/Controller/DirectEditingController.php', |
|
53 | - 'OCA\\Files\\Controller\\DirectEditingViewController' => $baseDir . '/../lib/Controller/DirectEditingViewController.php', |
|
54 | - 'OCA\\Files\\Controller\\OpenLocalEditorController' => $baseDir . '/../lib/Controller/OpenLocalEditorController.php', |
|
55 | - 'OCA\\Files\\Controller\\TemplateController' => $baseDir . '/../lib/Controller/TemplateController.php', |
|
56 | - 'OCA\\Files\\Controller\\TransferOwnershipController' => $baseDir . '/../lib/Controller/TransferOwnershipController.php', |
|
57 | - 'OCA\\Files\\Controller\\ViewController' => $baseDir . '/../lib/Controller/ViewController.php', |
|
58 | - 'OCA\\Files\\Dashboard\\FavoriteWidget' => $baseDir . '/../lib/Dashboard/FavoriteWidget.php', |
|
59 | - 'OCA\\Files\\Db\\OpenLocalEditor' => $baseDir . '/../lib/Db/OpenLocalEditor.php', |
|
60 | - 'OCA\\Files\\Db\\OpenLocalEditorMapper' => $baseDir . '/../lib/Db/OpenLocalEditorMapper.php', |
|
61 | - 'OCA\\Files\\Db\\TransferOwnership' => $baseDir . '/../lib/Db/TransferOwnership.php', |
|
62 | - 'OCA\\Files\\Db\\TransferOwnershipMapper' => $baseDir . '/../lib/Db/TransferOwnershipMapper.php', |
|
63 | - 'OCA\\Files\\DirectEditingCapabilities' => $baseDir . '/../lib/DirectEditingCapabilities.php', |
|
64 | - 'OCA\\Files\\Event\\LoadAdditionalScriptsEvent' => $baseDir . '/../lib/Event/LoadAdditionalScriptsEvent.php', |
|
65 | - 'OCA\\Files\\Event\\LoadSearchPlugins' => $baseDir . '/../lib/Event/LoadSearchPlugins.php', |
|
66 | - 'OCA\\Files\\Event\\LoadSidebar' => $baseDir . '/../lib/Event/LoadSidebar.php', |
|
67 | - 'OCA\\Files\\Exception\\TransferOwnershipException' => $baseDir . '/../lib/Exception/TransferOwnershipException.php', |
|
68 | - 'OCA\\Files\\Helper' => $baseDir . '/../lib/Helper.php', |
|
69 | - 'OCA\\Files\\Listener\\LoadSearchPluginsListener' => $baseDir . '/../lib/Listener/LoadSearchPluginsListener.php', |
|
70 | - 'OCA\\Files\\Listener\\LoadSidebarListener' => $baseDir . '/../lib/Listener/LoadSidebarListener.php', |
|
71 | - 'OCA\\Files\\Listener\\NodeAddedToFavoriteListener' => $baseDir . '/../lib/Listener/NodeAddedToFavoriteListener.php', |
|
72 | - 'OCA\\Files\\Listener\\NodeRemovedFromFavoriteListener' => $baseDir . '/../lib/Listener/NodeRemovedFromFavoriteListener.php', |
|
73 | - 'OCA\\Files\\Listener\\RenderReferenceEventListener' => $baseDir . '/../lib/Listener/RenderReferenceEventListener.php', |
|
74 | - 'OCA\\Files\\Listener\\SyncLivePhotosListener' => $baseDir . '/../lib/Listener/SyncLivePhotosListener.php', |
|
75 | - 'OCA\\Files\\Migration\\Version11301Date20191205150729' => $baseDir . '/../lib/Migration/Version11301Date20191205150729.php', |
|
76 | - 'OCA\\Files\\Migration\\Version12101Date20221011153334' => $baseDir . '/../lib/Migration/Version12101Date20221011153334.php', |
|
77 | - 'OCA\\Files\\Migration\\Version2003Date20241021095629' => $baseDir . '/../lib/Migration/Version2003Date20241021095629.php', |
|
78 | - 'OCA\\Files\\Notification\\Notifier' => $baseDir . '/../lib/Notification/Notifier.php', |
|
79 | - 'OCA\\Files\\ResponseDefinitions' => $baseDir . '/../lib/ResponseDefinitions.php', |
|
80 | - 'OCA\\Files\\Search\\FilesSearchProvider' => $baseDir . '/../lib/Search/FilesSearchProvider.php', |
|
81 | - 'OCA\\Files\\Service\\ChunkedUploadConfig' => $baseDir . '/../lib/Service/ChunkedUploadConfig.php', |
|
82 | - 'OCA\\Files\\Service\\DirectEditingService' => $baseDir . '/../lib/Service/DirectEditingService.php', |
|
83 | - 'OCA\\Files\\Service\\LivePhotosService' => $baseDir . '/../lib/Service/LivePhotosService.php', |
|
84 | - 'OCA\\Files\\Service\\OwnershipTransferService' => $baseDir . '/../lib/Service/OwnershipTransferService.php', |
|
85 | - 'OCA\\Files\\Service\\SettingsService' => $baseDir . '/../lib/Service/SettingsService.php', |
|
86 | - 'OCA\\Files\\Service\\TagService' => $baseDir . '/../lib/Service/TagService.php', |
|
87 | - 'OCA\\Files\\Service\\UserConfig' => $baseDir . '/../lib/Service/UserConfig.php', |
|
88 | - 'OCA\\Files\\Service\\ViewConfig' => $baseDir . '/../lib/Service/ViewConfig.php', |
|
89 | - 'OCA\\Files\\Settings\\DeclarativeAdminSettings' => $baseDir . '/../lib/Settings/DeclarativeAdminSettings.php', |
|
90 | - 'OCA\\Files\\Settings\\PersonalSettings' => $baseDir . '/../lib/Settings/PersonalSettings.php', |
|
9 | + 'Composer\\InstalledVersions' => $vendorDir.'/composer/InstalledVersions.php', |
|
10 | + 'OCA\\Files\\Activity\\FavoriteProvider' => $baseDir.'/../lib/Activity/FavoriteProvider.php', |
|
11 | + 'OCA\\Files\\Activity\\Filter\\Favorites' => $baseDir.'/../lib/Activity/Filter/Favorites.php', |
|
12 | + 'OCA\\Files\\Activity\\Filter\\FileChanges' => $baseDir.'/../lib/Activity/Filter/FileChanges.php', |
|
13 | + 'OCA\\Files\\Activity\\Helper' => $baseDir.'/../lib/Activity/Helper.php', |
|
14 | + 'OCA\\Files\\Activity\\Provider' => $baseDir.'/../lib/Activity/Provider.php', |
|
15 | + 'OCA\\Files\\Activity\\Settings\\FavoriteAction' => $baseDir.'/../lib/Activity/Settings/FavoriteAction.php', |
|
16 | + 'OCA\\Files\\Activity\\Settings\\FileActivitySettings' => $baseDir.'/../lib/Activity/Settings/FileActivitySettings.php', |
|
17 | + 'OCA\\Files\\Activity\\Settings\\FileChanged' => $baseDir.'/../lib/Activity/Settings/FileChanged.php', |
|
18 | + 'OCA\\Files\\Activity\\Settings\\FileFavoriteChanged' => $baseDir.'/../lib/Activity/Settings/FileFavoriteChanged.php', |
|
19 | + 'OCA\\Files\\AdvancedCapabilities' => $baseDir.'/../lib/AdvancedCapabilities.php', |
|
20 | + 'OCA\\Files\\App' => $baseDir.'/../lib/App.php', |
|
21 | + 'OCA\\Files\\AppInfo\\Application' => $baseDir.'/../lib/AppInfo/Application.php', |
|
22 | + 'OCA\\Files\\BackgroundJob\\CleanupDirectEditingTokens' => $baseDir.'/../lib/BackgroundJob/CleanupDirectEditingTokens.php', |
|
23 | + 'OCA\\Files\\BackgroundJob\\CleanupFileLocks' => $baseDir.'/../lib/BackgroundJob/CleanupFileLocks.php', |
|
24 | + 'OCA\\Files\\BackgroundJob\\DeleteExpiredOpenLocalEditor' => $baseDir.'/../lib/BackgroundJob/DeleteExpiredOpenLocalEditor.php', |
|
25 | + 'OCA\\Files\\BackgroundJob\\DeleteOrphanedItems' => $baseDir.'/../lib/BackgroundJob/DeleteOrphanedItems.php', |
|
26 | + 'OCA\\Files\\BackgroundJob\\ScanFiles' => $baseDir.'/../lib/BackgroundJob/ScanFiles.php', |
|
27 | + 'OCA\\Files\\BackgroundJob\\TransferOwnership' => $baseDir.'/../lib/BackgroundJob/TransferOwnership.php', |
|
28 | + 'OCA\\Files\\Capabilities' => $baseDir.'/../lib/Capabilities.php', |
|
29 | + 'OCA\\Files\\Collaboration\\Resources\\Listener' => $baseDir.'/../lib/Collaboration/Resources/Listener.php', |
|
30 | + 'OCA\\Files\\Collaboration\\Resources\\ResourceProvider' => $baseDir.'/../lib/Collaboration/Resources/ResourceProvider.php', |
|
31 | + 'OCA\\Files\\Command\\Copy' => $baseDir.'/../lib/Command/Copy.php', |
|
32 | + 'OCA\\Files\\Command\\Delete' => $baseDir.'/../lib/Command/Delete.php', |
|
33 | + 'OCA\\Files\\Command\\DeleteOrphanedFiles' => $baseDir.'/../lib/Command/DeleteOrphanedFiles.php', |
|
34 | + 'OCA\\Files\\Command\\Get' => $baseDir.'/../lib/Command/Get.php', |
|
35 | + 'OCA\\Files\\Command\\Move' => $baseDir.'/../lib/Command/Move.php', |
|
36 | + 'OCA\\Files\\Command\\Object\\Delete' => $baseDir.'/../lib/Command/Object/Delete.php', |
|
37 | + 'OCA\\Files\\Command\\Object\\Get' => $baseDir.'/../lib/Command/Object/Get.php', |
|
38 | + 'OCA\\Files\\Command\\Object\\Info' => $baseDir.'/../lib/Command/Object/Info.php', |
|
39 | + 'OCA\\Files\\Command\\Object\\ListObject' => $baseDir.'/../lib/Command/Object/ListObject.php', |
|
40 | + 'OCA\\Files\\Command\\Object\\ObjectUtil' => $baseDir.'/../lib/Command/Object/ObjectUtil.php', |
|
41 | + 'OCA\\Files\\Command\\Object\\Orphans' => $baseDir.'/../lib/Command/Object/Orphans.php', |
|
42 | + 'OCA\\Files\\Command\\Object\\Put' => $baseDir.'/../lib/Command/Object/Put.php', |
|
43 | + 'OCA\\Files\\Command\\Put' => $baseDir.'/../lib/Command/Put.php', |
|
44 | + 'OCA\\Files\\Command\\RepairTree' => $baseDir.'/../lib/Command/RepairTree.php', |
|
45 | + 'OCA\\Files\\Command\\SanitizeFilenames' => $baseDir.'/../lib/Command/SanitizeFilenames.php', |
|
46 | + 'OCA\\Files\\Command\\Scan' => $baseDir.'/../lib/Command/Scan.php', |
|
47 | + 'OCA\\Files\\Command\\ScanAppData' => $baseDir.'/../lib/Command/ScanAppData.php', |
|
48 | + 'OCA\\Files\\Command\\TransferOwnership' => $baseDir.'/../lib/Command/TransferOwnership.php', |
|
49 | + 'OCA\\Files\\Command\\WindowsCompatibleFilenames' => $baseDir.'/../lib/Command/WindowsCompatibleFilenames.php', |
|
50 | + 'OCA\\Files\\Controller\\ApiController' => $baseDir.'/../lib/Controller/ApiController.php', |
|
51 | + 'OCA\\Files\\Controller\\ConversionApiController' => $baseDir.'/../lib/Controller/ConversionApiController.php', |
|
52 | + 'OCA\\Files\\Controller\\DirectEditingController' => $baseDir.'/../lib/Controller/DirectEditingController.php', |
|
53 | + 'OCA\\Files\\Controller\\DirectEditingViewController' => $baseDir.'/../lib/Controller/DirectEditingViewController.php', |
|
54 | + 'OCA\\Files\\Controller\\OpenLocalEditorController' => $baseDir.'/../lib/Controller/OpenLocalEditorController.php', |
|
55 | + 'OCA\\Files\\Controller\\TemplateController' => $baseDir.'/../lib/Controller/TemplateController.php', |
|
56 | + 'OCA\\Files\\Controller\\TransferOwnershipController' => $baseDir.'/../lib/Controller/TransferOwnershipController.php', |
|
57 | + 'OCA\\Files\\Controller\\ViewController' => $baseDir.'/../lib/Controller/ViewController.php', |
|
58 | + 'OCA\\Files\\Dashboard\\FavoriteWidget' => $baseDir.'/../lib/Dashboard/FavoriteWidget.php', |
|
59 | + 'OCA\\Files\\Db\\OpenLocalEditor' => $baseDir.'/../lib/Db/OpenLocalEditor.php', |
|
60 | + 'OCA\\Files\\Db\\OpenLocalEditorMapper' => $baseDir.'/../lib/Db/OpenLocalEditorMapper.php', |
|
61 | + 'OCA\\Files\\Db\\TransferOwnership' => $baseDir.'/../lib/Db/TransferOwnership.php', |
|
62 | + 'OCA\\Files\\Db\\TransferOwnershipMapper' => $baseDir.'/../lib/Db/TransferOwnershipMapper.php', |
|
63 | + 'OCA\\Files\\DirectEditingCapabilities' => $baseDir.'/../lib/DirectEditingCapabilities.php', |
|
64 | + 'OCA\\Files\\Event\\LoadAdditionalScriptsEvent' => $baseDir.'/../lib/Event/LoadAdditionalScriptsEvent.php', |
|
65 | + 'OCA\\Files\\Event\\LoadSearchPlugins' => $baseDir.'/../lib/Event/LoadSearchPlugins.php', |
|
66 | + 'OCA\\Files\\Event\\LoadSidebar' => $baseDir.'/../lib/Event/LoadSidebar.php', |
|
67 | + 'OCA\\Files\\Exception\\TransferOwnershipException' => $baseDir.'/../lib/Exception/TransferOwnershipException.php', |
|
68 | + 'OCA\\Files\\Helper' => $baseDir.'/../lib/Helper.php', |
|
69 | + 'OCA\\Files\\Listener\\LoadSearchPluginsListener' => $baseDir.'/../lib/Listener/LoadSearchPluginsListener.php', |
|
70 | + 'OCA\\Files\\Listener\\LoadSidebarListener' => $baseDir.'/../lib/Listener/LoadSidebarListener.php', |
|
71 | + 'OCA\\Files\\Listener\\NodeAddedToFavoriteListener' => $baseDir.'/../lib/Listener/NodeAddedToFavoriteListener.php', |
|
72 | + 'OCA\\Files\\Listener\\NodeRemovedFromFavoriteListener' => $baseDir.'/../lib/Listener/NodeRemovedFromFavoriteListener.php', |
|
73 | + 'OCA\\Files\\Listener\\RenderReferenceEventListener' => $baseDir.'/../lib/Listener/RenderReferenceEventListener.php', |
|
74 | + 'OCA\\Files\\Listener\\SyncLivePhotosListener' => $baseDir.'/../lib/Listener/SyncLivePhotosListener.php', |
|
75 | + 'OCA\\Files\\Migration\\Version11301Date20191205150729' => $baseDir.'/../lib/Migration/Version11301Date20191205150729.php', |
|
76 | + 'OCA\\Files\\Migration\\Version12101Date20221011153334' => $baseDir.'/../lib/Migration/Version12101Date20221011153334.php', |
|
77 | + 'OCA\\Files\\Migration\\Version2003Date20241021095629' => $baseDir.'/../lib/Migration/Version2003Date20241021095629.php', |
|
78 | + 'OCA\\Files\\Notification\\Notifier' => $baseDir.'/../lib/Notification/Notifier.php', |
|
79 | + 'OCA\\Files\\ResponseDefinitions' => $baseDir.'/../lib/ResponseDefinitions.php', |
|
80 | + 'OCA\\Files\\Search\\FilesSearchProvider' => $baseDir.'/../lib/Search/FilesSearchProvider.php', |
|
81 | + 'OCA\\Files\\Service\\ChunkedUploadConfig' => $baseDir.'/../lib/Service/ChunkedUploadConfig.php', |
|
82 | + 'OCA\\Files\\Service\\DirectEditingService' => $baseDir.'/../lib/Service/DirectEditingService.php', |
|
83 | + 'OCA\\Files\\Service\\LivePhotosService' => $baseDir.'/../lib/Service/LivePhotosService.php', |
|
84 | + 'OCA\\Files\\Service\\OwnershipTransferService' => $baseDir.'/../lib/Service/OwnershipTransferService.php', |
|
85 | + 'OCA\\Files\\Service\\SettingsService' => $baseDir.'/../lib/Service/SettingsService.php', |
|
86 | + 'OCA\\Files\\Service\\TagService' => $baseDir.'/../lib/Service/TagService.php', |
|
87 | + 'OCA\\Files\\Service\\UserConfig' => $baseDir.'/../lib/Service/UserConfig.php', |
|
88 | + 'OCA\\Files\\Service\\ViewConfig' => $baseDir.'/../lib/Service/ViewConfig.php', |
|
89 | + 'OCA\\Files\\Settings\\DeclarativeAdminSettings' => $baseDir.'/../lib/Settings/DeclarativeAdminSettings.php', |
|
90 | + 'OCA\\Files\\Settings\\PersonalSettings' => $baseDir.'/../lib/Settings/PersonalSettings.php', |
|
91 | 91 | ); |