Completed
Push — master ( 802d93...16088c )
by Joas
23:20 queued 11s
created
lib/private/Federation/CloudIdManager.php 2 patches
Indentation   +280 added lines, -280 removed lines patch added patch discarded remove patch
@@ -22,284 +22,284 @@
 block discarded – undo
22 22
 use OCP\User\Events\UserChangedEvent;
23 23
 
24 24
 class CloudIdManager implements ICloudIdManager {
25
-	private ICache $memCache;
26
-	private ICache $displayNameCache;
27
-	private array $cache = [];
28
-	/** @var ICloudIdResolver[] */
29
-	private array $cloudIdResolvers = [];
30
-
31
-	public function __construct(
32
-		ICacheFactory $cacheFactory,
33
-		IEventDispatcher $eventDispatcher,
34
-		private IManager $contactsManager,
35
-		private IURLGenerator $urlGenerator,
36
-		private IUserManager $userManager,
37
-	) {
38
-		$this->memCache = $cacheFactory->createDistributed('cloud_id_');
39
-		$this->displayNameCache = $cacheFactory->createDistributed('cloudid_name_');
40
-		$eventDispatcher->addListener(UserChangedEvent::class, [$this, 'handleUserEvent']);
41
-		$eventDispatcher->addListener(CardUpdatedEvent::class, [$this, 'handleCardEvent']);
42
-	}
43
-
44
-	public function handleUserEvent(Event $event): void {
45
-		if ($event instanceof UserChangedEvent && $event->getFeature() === 'displayName') {
46
-			$userId = $event->getUser()->getUID();
47
-			$key = $userId . '@local';
48
-			unset($this->cache[$key]);
49
-			$this->memCache->remove($key);
50
-		}
51
-	}
52
-
53
-	public function handleCardEvent(Event $event): void {
54
-		if ($event instanceof CardUpdatedEvent) {
55
-			$data = $event->getCardData()['carddata'];
56
-			foreach (explode("\r\n", $data) as $line) {
57
-				if (str_starts_with($line, 'CLOUD;')) {
58
-					$parts = explode(':', $line, 2);
59
-					if (isset($parts[1])) {
60
-						$key = $parts[1];
61
-						unset($this->cache[$key]);
62
-						$this->memCache->remove($key);
63
-					}
64
-				}
65
-			}
66
-		}
67
-	}
68
-
69
-	/**
70
-	 * @param string $cloudId
71
-	 * @return ICloudId
72
-	 * @throws \InvalidArgumentException
73
-	 */
74
-	public function resolveCloudId(string $cloudId): ICloudId {
75
-		// TODO magic here to get the url and user instead of just splitting on @
76
-
77
-		foreach ($this->cloudIdResolvers as $resolver) {
78
-			if ($resolver->isValidCloudId($cloudId)) {
79
-				return $resolver->resolveCloudId($cloudId);
80
-			}
81
-		}
82
-
83
-		if (!$this->isValidCloudId($cloudId)) {
84
-			throw new \InvalidArgumentException('Invalid cloud id');
85
-		}
86
-
87
-		// Find the first character that is not allowed in user names
88
-		$id = $this->stripShareLinkFragments($cloudId);
89
-		$posSlash = strpos($id, '/');
90
-		$posColon = strpos($id, ':');
91
-
92
-		if ($posSlash === false && $posColon === false) {
93
-			$invalidPos = \strlen($id);
94
-		} elseif ($posSlash === false) {
95
-			$invalidPos = $posColon;
96
-		} elseif ($posColon === false) {
97
-			$invalidPos = $posSlash;
98
-		} else {
99
-			$invalidPos = min($posSlash, $posColon);
100
-		}
101
-
102
-		$lastValidAtPos = strrpos($id, '@', $invalidPos - strlen($id));
103
-
104
-		if ($lastValidAtPos !== false) {
105
-			$user = substr($id, 0, $lastValidAtPos);
106
-			$remote = substr($id, $lastValidAtPos + 1);
107
-
108
-			// We accept slightly more chars when working with federationId than with a local userId.
109
-			// We remove those eventual chars from the UserId before using
110
-			// the IUserManager API to confirm its format.
111
-			$this->validateUser($user, $remote);
112
-
113
-			if (!empty($user) && !empty($remote)) {
114
-				$remote = $this->ensureDefaultProtocol($remote);
115
-				return new CloudId($id, $user, $remote, null);
116
-			}
117
-		}
118
-		throw new \InvalidArgumentException('Invalid cloud id');
119
-	}
120
-
121
-	protected function validateUser(string $user, string $remote): void {
122
-		// Check the ID for bad characters
123
-		// Allowed are: "a-z", "A-Z", "0-9", spaces and "_.@-'" (Nextcloud)
124
-		// Additional: "=" (oCIS)
125
-		if (preg_match('/[^a-zA-Z0-9 _.@\-\'=]/', $user)) {
126
-			throw new \InvalidArgumentException('Invalid characters');
127
-		}
128
-
129
-		// No empty user ID
130
-		if (trim($user) === '') {
131
-			throw new \InvalidArgumentException('Empty user');
132
-		}
133
-
134
-		// No whitespace at the beginning or at the end
135
-		if (trim($user) !== $user) {
136
-			throw new \InvalidArgumentException('User contains whitespace at the beginning or at the end');
137
-		}
138
-
139
-		// User ID only consists of 1 or 2 dots (directory traversal)
140
-		if ($user === '.' || $user === '..') {
141
-			throw new \InvalidArgumentException('User must not consist of dots only');
142
-		}
143
-
144
-		// User ID is too long
145
-		if (strlen($user . '@' . $remote) > 255) {
146
-			// TRANSLATORS User ID is too long
147
-			throw new \InvalidArgumentException('Cloud id is too long');
148
-		}
149
-	}
150
-
151
-	public function getDisplayNameFromContact(string $cloudId): ?string {
152
-		$cachedName = $this->displayNameCache->get($cloudId);
153
-		if ($cachedName !== null) {
154
-			if ($cachedName === $cloudId) {
155
-				return null;
156
-			}
157
-			return $cachedName;
158
-		}
159
-
160
-		$addressBookEntries = $this->contactsManager->search($cloudId, ['CLOUD'], [
161
-			'limit' => 1,
162
-			'enumeration' => false,
163
-			'fullmatch' => false,
164
-			'strict_search' => true,
165
-		]);
166
-		foreach ($addressBookEntries as $entry) {
167
-			if (isset($entry['CLOUD'])) {
168
-				foreach ($entry['CLOUD'] as $cloudID) {
169
-					if ($cloudID === $cloudId) {
170
-						// Warning, if user decides to make their full name local only,
171
-						// no FN is found on federated servers
172
-						if (isset($entry['FN'])) {
173
-							$this->displayNameCache->set($cloudId, $entry['FN'], 15 * 60);
174
-							return $entry['FN'];
175
-						} else {
176
-							$this->displayNameCache->set($cloudId, $cloudId, 15 * 60);
177
-							return null;
178
-						}
179
-					}
180
-				}
181
-			}
182
-		}
183
-		$this->displayNameCache->set($cloudId, $cloudId, 15 * 60);
184
-		return null;
185
-	}
186
-
187
-	/**
188
-	 * @param string $user
189
-	 * @param string|null $remote
190
-	 * @return CloudId
191
-	 */
192
-	public function getCloudId(string $user, ?string $remote): ICloudId {
193
-		$isLocal = $remote === null;
194
-		if ($isLocal) {
195
-			$remote = rtrim($this->urlGenerator->getAbsoluteURL('/'), '/');
196
-		}
197
-
198
-		// note that for remote id's we don't strip the protocol for the remote we use to construct the CloudId
199
-		// this way if a user has an explicit non-https cloud id this will be preserved
200
-		// we do still use the version without protocol for looking up the display name
201
-		$remote = $this->stripShareLinkFragments($remote);
202
-		$host = $this->removeProtocolFromUrl($remote);
203
-		$remote = $this->ensureDefaultProtocol($remote);
204
-
205
-		$key = $user . '@' . ($isLocal ? 'local' : $host);
206
-		$cached = $this->cache[$key] ?? $this->memCache->get($key);
207
-		if ($cached) {
208
-			$this->cache[$key] = $cached; // put items from memcache into local cache
209
-			return new CloudId($cached['id'], $cached['user'], $cached['remote'], $cached['displayName']);
210
-		}
211
-
212
-		if ($isLocal) {
213
-			$localUser = $this->userManager->get($user);
214
-			$displayName = $localUser ? $localUser->getDisplayName() : '';
215
-		} else {
216
-			$displayName = null;
217
-		}
218
-
219
-		// For the visible cloudID we only strip away https
220
-		$id = $user . '@' . $this->removeProtocolFromUrl($remote, true);
221
-
222
-		$data = [
223
-			'id' => $id,
224
-			'user' => $user,
225
-			'remote' => $remote,
226
-			'displayName' => $displayName,
227
-		];
228
-		$this->cache[$key] = $data;
229
-		$this->memCache->set($key, $data, 15 * 60);
230
-		return new CloudId($id, $user, $remote, $displayName);
231
-	}
232
-
233
-	/**
234
-	 * @param string $url
235
-	 * @return string
236
-	 */
237
-	public function removeProtocolFromUrl(string $url, bool $httpsOnly = false): string {
238
-		if (str_starts_with($url, 'https://')) {
239
-			return substr($url, 8);
240
-		}
241
-		if (!$httpsOnly && str_starts_with($url, 'http://')) {
242
-			return substr($url, 7);
243
-		}
244
-
245
-		return $url;
246
-	}
247
-
248
-	protected function ensureDefaultProtocol(string $remote): string {
249
-		if (!str_contains($remote, '://')) {
250
-			$remote = 'https://' . $remote;
251
-		}
252
-
253
-		return $remote;
254
-	}
255
-
256
-	/**
257
-	 * Strips away a potential file names and trailing slashes:
258
-	 * - http://localhost
259
-	 * - http://localhost/
260
-	 * - http://localhost/index.php
261
-	 * - http://localhost/index.php/s/{shareToken}
262
-	 *
263
-	 * all return: http://localhost
264
-	 *
265
-	 * @param string $remote
266
-	 * @return string
267
-	 */
268
-	protected function stripShareLinkFragments(string $remote): string {
269
-		$remote = str_replace('\\', '/', $remote);
270
-		if ($fileNamePosition = strpos($remote, '/index.php')) {
271
-			$remote = substr($remote, 0, $fileNamePosition);
272
-		}
273
-		$remote = rtrim($remote, '/');
274
-
275
-		return $remote;
276
-	}
277
-
278
-	/**
279
-	 * @param string $cloudId
280
-	 * @return bool
281
-	 */
282
-	public function isValidCloudId(string $cloudId): bool {
283
-		foreach ($this->cloudIdResolvers as $resolver) {
284
-			if ($resolver->isValidCloudId($cloudId)) {
285
-				return true;
286
-			}
287
-		}
288
-
289
-		return strpos($cloudId, '@') !== false;
290
-	}
291
-
292
-	public function createCloudId(string $id, string $user, string $remote, ?string $displayName = null): ICloudId {
293
-		return new CloudId($id, $user, $remote, $displayName);
294
-	}
295
-
296
-	public function registerCloudIdResolver(ICloudIdResolver $resolver): void {
297
-		array_unshift($this->cloudIdResolvers, $resolver);
298
-	}
299
-
300
-	public function unregisterCloudIdResolver(ICloudIdResolver $resolver): void {
301
-		if (($key = array_search($resolver, $this->cloudIdResolvers)) !== false) {
302
-			array_splice($this->cloudIdResolvers, $key, 1);
303
-		}
304
-	}
25
+    private ICache $memCache;
26
+    private ICache $displayNameCache;
27
+    private array $cache = [];
28
+    /** @var ICloudIdResolver[] */
29
+    private array $cloudIdResolvers = [];
30
+
31
+    public function __construct(
32
+        ICacheFactory $cacheFactory,
33
+        IEventDispatcher $eventDispatcher,
34
+        private IManager $contactsManager,
35
+        private IURLGenerator $urlGenerator,
36
+        private IUserManager $userManager,
37
+    ) {
38
+        $this->memCache = $cacheFactory->createDistributed('cloud_id_');
39
+        $this->displayNameCache = $cacheFactory->createDistributed('cloudid_name_');
40
+        $eventDispatcher->addListener(UserChangedEvent::class, [$this, 'handleUserEvent']);
41
+        $eventDispatcher->addListener(CardUpdatedEvent::class, [$this, 'handleCardEvent']);
42
+    }
43
+
44
+    public function handleUserEvent(Event $event): void {
45
+        if ($event instanceof UserChangedEvent && $event->getFeature() === 'displayName') {
46
+            $userId = $event->getUser()->getUID();
47
+            $key = $userId . '@local';
48
+            unset($this->cache[$key]);
49
+            $this->memCache->remove($key);
50
+        }
51
+    }
52
+
53
+    public function handleCardEvent(Event $event): void {
54
+        if ($event instanceof CardUpdatedEvent) {
55
+            $data = $event->getCardData()['carddata'];
56
+            foreach (explode("\r\n", $data) as $line) {
57
+                if (str_starts_with($line, 'CLOUD;')) {
58
+                    $parts = explode(':', $line, 2);
59
+                    if (isset($parts[1])) {
60
+                        $key = $parts[1];
61
+                        unset($this->cache[$key]);
62
+                        $this->memCache->remove($key);
63
+                    }
64
+                }
65
+            }
66
+        }
67
+    }
68
+
69
+    /**
70
+     * @param string $cloudId
71
+     * @return ICloudId
72
+     * @throws \InvalidArgumentException
73
+     */
74
+    public function resolveCloudId(string $cloudId): ICloudId {
75
+        // TODO magic here to get the url and user instead of just splitting on @
76
+
77
+        foreach ($this->cloudIdResolvers as $resolver) {
78
+            if ($resolver->isValidCloudId($cloudId)) {
79
+                return $resolver->resolveCloudId($cloudId);
80
+            }
81
+        }
82
+
83
+        if (!$this->isValidCloudId($cloudId)) {
84
+            throw new \InvalidArgumentException('Invalid cloud id');
85
+        }
86
+
87
+        // Find the first character that is not allowed in user names
88
+        $id = $this->stripShareLinkFragments($cloudId);
89
+        $posSlash = strpos($id, '/');
90
+        $posColon = strpos($id, ':');
91
+
92
+        if ($posSlash === false && $posColon === false) {
93
+            $invalidPos = \strlen($id);
94
+        } elseif ($posSlash === false) {
95
+            $invalidPos = $posColon;
96
+        } elseif ($posColon === false) {
97
+            $invalidPos = $posSlash;
98
+        } else {
99
+            $invalidPos = min($posSlash, $posColon);
100
+        }
101
+
102
+        $lastValidAtPos = strrpos($id, '@', $invalidPos - strlen($id));
103
+
104
+        if ($lastValidAtPos !== false) {
105
+            $user = substr($id, 0, $lastValidAtPos);
106
+            $remote = substr($id, $lastValidAtPos + 1);
107
+
108
+            // We accept slightly more chars when working with federationId than with a local userId.
109
+            // We remove those eventual chars from the UserId before using
110
+            // the IUserManager API to confirm its format.
111
+            $this->validateUser($user, $remote);
112
+
113
+            if (!empty($user) && !empty($remote)) {
114
+                $remote = $this->ensureDefaultProtocol($remote);
115
+                return new CloudId($id, $user, $remote, null);
116
+            }
117
+        }
118
+        throw new \InvalidArgumentException('Invalid cloud id');
119
+    }
120
+
121
+    protected function validateUser(string $user, string $remote): void {
122
+        // Check the ID for bad characters
123
+        // Allowed are: "a-z", "A-Z", "0-9", spaces and "_.@-'" (Nextcloud)
124
+        // Additional: "=" (oCIS)
125
+        if (preg_match('/[^a-zA-Z0-9 _.@\-\'=]/', $user)) {
126
+            throw new \InvalidArgumentException('Invalid characters');
127
+        }
128
+
129
+        // No empty user ID
130
+        if (trim($user) === '') {
131
+            throw new \InvalidArgumentException('Empty user');
132
+        }
133
+
134
+        // No whitespace at the beginning or at the end
135
+        if (trim($user) !== $user) {
136
+            throw new \InvalidArgumentException('User contains whitespace at the beginning or at the end');
137
+        }
138
+
139
+        // User ID only consists of 1 or 2 dots (directory traversal)
140
+        if ($user === '.' || $user === '..') {
141
+            throw new \InvalidArgumentException('User must not consist of dots only');
142
+        }
143
+
144
+        // User ID is too long
145
+        if (strlen($user . '@' . $remote) > 255) {
146
+            // TRANSLATORS User ID is too long
147
+            throw new \InvalidArgumentException('Cloud id is too long');
148
+        }
149
+    }
150
+
151
+    public function getDisplayNameFromContact(string $cloudId): ?string {
152
+        $cachedName = $this->displayNameCache->get($cloudId);
153
+        if ($cachedName !== null) {
154
+            if ($cachedName === $cloudId) {
155
+                return null;
156
+            }
157
+            return $cachedName;
158
+        }
159
+
160
+        $addressBookEntries = $this->contactsManager->search($cloudId, ['CLOUD'], [
161
+            'limit' => 1,
162
+            'enumeration' => false,
163
+            'fullmatch' => false,
164
+            'strict_search' => true,
165
+        ]);
166
+        foreach ($addressBookEntries as $entry) {
167
+            if (isset($entry['CLOUD'])) {
168
+                foreach ($entry['CLOUD'] as $cloudID) {
169
+                    if ($cloudID === $cloudId) {
170
+                        // Warning, if user decides to make their full name local only,
171
+                        // no FN is found on federated servers
172
+                        if (isset($entry['FN'])) {
173
+                            $this->displayNameCache->set($cloudId, $entry['FN'], 15 * 60);
174
+                            return $entry['FN'];
175
+                        } else {
176
+                            $this->displayNameCache->set($cloudId, $cloudId, 15 * 60);
177
+                            return null;
178
+                        }
179
+                    }
180
+                }
181
+            }
182
+        }
183
+        $this->displayNameCache->set($cloudId, $cloudId, 15 * 60);
184
+        return null;
185
+    }
186
+
187
+    /**
188
+     * @param string $user
189
+     * @param string|null $remote
190
+     * @return CloudId
191
+     */
192
+    public function getCloudId(string $user, ?string $remote): ICloudId {
193
+        $isLocal = $remote === null;
194
+        if ($isLocal) {
195
+            $remote = rtrim($this->urlGenerator->getAbsoluteURL('/'), '/');
196
+        }
197
+
198
+        // note that for remote id's we don't strip the protocol for the remote we use to construct the CloudId
199
+        // this way if a user has an explicit non-https cloud id this will be preserved
200
+        // we do still use the version without protocol for looking up the display name
201
+        $remote = $this->stripShareLinkFragments($remote);
202
+        $host = $this->removeProtocolFromUrl($remote);
203
+        $remote = $this->ensureDefaultProtocol($remote);
204
+
205
+        $key = $user . '@' . ($isLocal ? 'local' : $host);
206
+        $cached = $this->cache[$key] ?? $this->memCache->get($key);
207
+        if ($cached) {
208
+            $this->cache[$key] = $cached; // put items from memcache into local cache
209
+            return new CloudId($cached['id'], $cached['user'], $cached['remote'], $cached['displayName']);
210
+        }
211
+
212
+        if ($isLocal) {
213
+            $localUser = $this->userManager->get($user);
214
+            $displayName = $localUser ? $localUser->getDisplayName() : '';
215
+        } else {
216
+            $displayName = null;
217
+        }
218
+
219
+        // For the visible cloudID we only strip away https
220
+        $id = $user . '@' . $this->removeProtocolFromUrl($remote, true);
221
+
222
+        $data = [
223
+            'id' => $id,
224
+            'user' => $user,
225
+            'remote' => $remote,
226
+            'displayName' => $displayName,
227
+        ];
228
+        $this->cache[$key] = $data;
229
+        $this->memCache->set($key, $data, 15 * 60);
230
+        return new CloudId($id, $user, $remote, $displayName);
231
+    }
232
+
233
+    /**
234
+     * @param string $url
235
+     * @return string
236
+     */
237
+    public function removeProtocolFromUrl(string $url, bool $httpsOnly = false): string {
238
+        if (str_starts_with($url, 'https://')) {
239
+            return substr($url, 8);
240
+        }
241
+        if (!$httpsOnly && str_starts_with($url, 'http://')) {
242
+            return substr($url, 7);
243
+        }
244
+
245
+        return $url;
246
+    }
247
+
248
+    protected function ensureDefaultProtocol(string $remote): string {
249
+        if (!str_contains($remote, '://')) {
250
+            $remote = 'https://' . $remote;
251
+        }
252
+
253
+        return $remote;
254
+    }
255
+
256
+    /**
257
+     * Strips away a potential file names and trailing slashes:
258
+     * - http://localhost
259
+     * - http://localhost/
260
+     * - http://localhost/index.php
261
+     * - http://localhost/index.php/s/{shareToken}
262
+     *
263
+     * all return: http://localhost
264
+     *
265
+     * @param string $remote
266
+     * @return string
267
+     */
268
+    protected function stripShareLinkFragments(string $remote): string {
269
+        $remote = str_replace('\\', '/', $remote);
270
+        if ($fileNamePosition = strpos($remote, '/index.php')) {
271
+            $remote = substr($remote, 0, $fileNamePosition);
272
+        }
273
+        $remote = rtrim($remote, '/');
274
+
275
+        return $remote;
276
+    }
277
+
278
+    /**
279
+     * @param string $cloudId
280
+     * @return bool
281
+     */
282
+    public function isValidCloudId(string $cloudId): bool {
283
+        foreach ($this->cloudIdResolvers as $resolver) {
284
+            if ($resolver->isValidCloudId($cloudId)) {
285
+                return true;
286
+            }
287
+        }
288
+
289
+        return strpos($cloudId, '@') !== false;
290
+    }
291
+
292
+    public function createCloudId(string $id, string $user, string $remote, ?string $displayName = null): ICloudId {
293
+        return new CloudId($id, $user, $remote, $displayName);
294
+    }
295
+
296
+    public function registerCloudIdResolver(ICloudIdResolver $resolver): void {
297
+        array_unshift($this->cloudIdResolvers, $resolver);
298
+    }
299
+
300
+    public function unregisterCloudIdResolver(ICloudIdResolver $resolver): void {
301
+        if (($key = array_search($resolver, $this->cloudIdResolvers)) !== false) {
302
+            array_splice($this->cloudIdResolvers, $key, 1);
303
+        }
304
+    }
305 305
 }
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
 	public function handleUserEvent(Event $event): void {
45 45
 		if ($event instanceof UserChangedEvent && $event->getFeature() === 'displayName') {
46 46
 			$userId = $event->getUser()->getUID();
47
-			$key = $userId . '@local';
47
+			$key = $userId.'@local';
48 48
 			unset($this->cache[$key]);
49 49
 			$this->memCache->remove($key);
50 50
 		}
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
 		}
143 143
 
144 144
 		// User ID is too long
145
-		if (strlen($user . '@' . $remote) > 255) {
145
+		if (strlen($user.'@'.$remote) > 255) {
146 146
 			// TRANSLATORS User ID is too long
147 147
 			throw new \InvalidArgumentException('Cloud id is too long');
148 148
 		}
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
 		$host = $this->removeProtocolFromUrl($remote);
203 203
 		$remote = $this->ensureDefaultProtocol($remote);
204 204
 
205
-		$key = $user . '@' . ($isLocal ? 'local' : $host);
205
+		$key = $user.'@'.($isLocal ? 'local' : $host);
206 206
 		$cached = $this->cache[$key] ?? $this->memCache->get($key);
207 207
 		if ($cached) {
208 208
 			$this->cache[$key] = $cached; // put items from memcache into local cache
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
 		}
218 218
 
219 219
 		// For the visible cloudID we only strip away https
220
-		$id = $user . '@' . $this->removeProtocolFromUrl($remote, true);
220
+		$id = $user.'@'.$this->removeProtocolFromUrl($remote, true);
221 221
 
222 222
 		$data = [
223 223
 			'id' => $id,
@@ -247,7 +247,7 @@  discard block
 block discarded – undo
247 247
 
248 248
 	protected function ensureDefaultProtocol(string $remote): string {
249 249
 		if (!str_contains($remote, '://')) {
250
-			$remote = 'https://' . $remote;
250
+			$remote = 'https://'.$remote;
251 251
 		}
252 252
 
253 253
 		return $remote;
Please login to merge, or discard this patch.
apps/files_sharing/lib/Migration/Version32000Date20251017081948.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -19,20 +19,20 @@
 block discarded – undo
19 19
 
20 20
 #[ModifyColumn(table: 'share_external', name: 'owner', type: ColumnType::STRING, description: 'Change length to 255 characters')]
21 21
 class Version32000Date20251017081948 extends SimpleMigrationStep {
22
-	/**
23
-	 * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
24
-	 */
25
-	#[Override]
26
-	public function changeSchema(IOutput $output, Closure $schemaClosure, array $options): ?ISchemaWrapper {
27
-		/** @var ISchemaWrapper $schema */
28
-		$schema = $schemaClosure();
22
+    /**
23
+     * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
24
+     */
25
+    #[Override]
26
+    public function changeSchema(IOutput $output, Closure $schemaClosure, array $options): ?ISchemaWrapper {
27
+        /** @var ISchemaWrapper $schema */
28
+        $schema = $schemaClosure();
29 29
 
30
-		$table = $schema->getTable('share_external');
31
-		$column = $table->getColumn('owner');
32
-		if ($column->getLength() < 255) {
33
-			$column->setLength(255);
34
-			return $schema;
35
-		}
36
-		return null;
37
-	}
30
+        $table = $schema->getTable('share_external');
31
+        $column = $table->getColumn('owner');
32
+        if ($column->getLength() < 255) {
33
+            $column->setLength(255);
34
+            return $schema;
35
+        }
36
+        return null;
37
+    }
38 38
 }
Please login to merge, or discard this patch.
apps/files_sharing/composer/composer/autoload_static.php 1 patch
Spacing   +97 added lines, -97 removed lines patch added patch discarded remove patch
@@ -6,116 +6,116 @@
 block discarded – undo
6 6
 
7 7
 class ComposerStaticInitFiles_Sharing
8 8
 {
9
-    public static $prefixLengthsPsr4 = array (
9
+    public static $prefixLengthsPsr4 = array(
10 10
         'O' => 
11
-        array (
11
+        array(
12 12
             'OCA\\Files_Sharing\\' => 18,
13 13
         ),
14 14
     );
15 15
 
16
-    public static $prefixDirsPsr4 = array (
16
+    public static $prefixDirsPsr4 = array(
17 17
         'OCA\\Files_Sharing\\' => 
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_Sharing\\Activity\\Filter' => __DIR__ . '/..' . '/../lib/Activity/Filter.php',
26
-        'OCA\\Files_Sharing\\Activity\\Providers\\Base' => __DIR__ . '/..' . '/../lib/Activity/Providers/Base.php',
27
-        'OCA\\Files_Sharing\\Activity\\Providers\\Downloads' => __DIR__ . '/..' . '/../lib/Activity/Providers/Downloads.php',
28
-        'OCA\\Files_Sharing\\Activity\\Providers\\Groups' => __DIR__ . '/..' . '/../lib/Activity/Providers/Groups.php',
29
-        'OCA\\Files_Sharing\\Activity\\Providers\\PublicLinks' => __DIR__ . '/..' . '/../lib/Activity/Providers/PublicLinks.php',
30
-        'OCA\\Files_Sharing\\Activity\\Providers\\RemoteShares' => __DIR__ . '/..' . '/../lib/Activity/Providers/RemoteShares.php',
31
-        'OCA\\Files_Sharing\\Activity\\Providers\\Users' => __DIR__ . '/..' . '/../lib/Activity/Providers/Users.php',
32
-        'OCA\\Files_Sharing\\Activity\\Settings\\PublicLinks' => __DIR__ . '/..' . '/../lib/Activity/Settings/PublicLinks.php',
33
-        'OCA\\Files_Sharing\\Activity\\Settings\\PublicLinksUpload' => __DIR__ . '/..' . '/../lib/Activity/Settings/PublicLinksUpload.php',
34
-        'OCA\\Files_Sharing\\Activity\\Settings\\RemoteShare' => __DIR__ . '/..' . '/../lib/Activity/Settings/RemoteShare.php',
35
-        'OCA\\Files_Sharing\\Activity\\Settings\\ShareActivitySettings' => __DIR__ . '/..' . '/../lib/Activity/Settings/ShareActivitySettings.php',
36
-        'OCA\\Files_Sharing\\Activity\\Settings\\Shared' => __DIR__ . '/..' . '/../lib/Activity/Settings/Shared.php',
37
-        'OCA\\Files_Sharing\\AppInfo\\Application' => __DIR__ . '/..' . '/../lib/AppInfo/Application.php',
38
-        'OCA\\Files_Sharing\\BackgroundJob\\FederatedSharesDiscoverJob' => __DIR__ . '/..' . '/../lib/BackgroundJob/FederatedSharesDiscoverJob.php',
39
-        'OCA\\Files_Sharing\\Cache' => __DIR__ . '/..' . '/../lib/Cache.php',
40
-        'OCA\\Files_Sharing\\Capabilities' => __DIR__ . '/..' . '/../lib/Capabilities.php',
41
-        'OCA\\Files_Sharing\\Collaboration\\ShareRecipientSorter' => __DIR__ . '/..' . '/../lib/Collaboration/ShareRecipientSorter.php',
42
-        'OCA\\Files_Sharing\\Command\\CleanupRemoteStorages' => __DIR__ . '/..' . '/../lib/Command/CleanupRemoteStorages.php',
43
-        'OCA\\Files_Sharing\\Command\\DeleteOrphanShares' => __DIR__ . '/..' . '/../lib/Command/DeleteOrphanShares.php',
44
-        'OCA\\Files_Sharing\\Command\\ExiprationNotification' => __DIR__ . '/..' . '/../lib/Command/ExiprationNotification.php',
45
-        'OCA\\Files_Sharing\\Command\\FixShareOwners' => __DIR__ . '/..' . '/../lib/Command/FixShareOwners.php',
46
-        'OCA\\Files_Sharing\\Command\\ListShares' => __DIR__ . '/..' . '/../lib/Command/ListShares.php',
47
-        'OCA\\Files_Sharing\\Config\\ConfigLexicon' => __DIR__ . '/..' . '/../lib/Config/ConfigLexicon.php',
48
-        'OCA\\Files_Sharing\\Controller\\AcceptController' => __DIR__ . '/..' . '/../lib/Controller/AcceptController.php',
49
-        'OCA\\Files_Sharing\\Controller\\DeletedShareAPIController' => __DIR__ . '/..' . '/../lib/Controller/DeletedShareAPIController.php',
50
-        'OCA\\Files_Sharing\\Controller\\ExternalSharesController' => __DIR__ . '/..' . '/../lib/Controller/ExternalSharesController.php',
51
-        'OCA\\Files_Sharing\\Controller\\PublicPreviewController' => __DIR__ . '/..' . '/../lib/Controller/PublicPreviewController.php',
52
-        'OCA\\Files_Sharing\\Controller\\RemoteController' => __DIR__ . '/..' . '/../lib/Controller/RemoteController.php',
53
-        'OCA\\Files_Sharing\\Controller\\SettingsController' => __DIR__ . '/..' . '/../lib/Controller/SettingsController.php',
54
-        'OCA\\Files_Sharing\\Controller\\ShareAPIController' => __DIR__ . '/..' . '/../lib/Controller/ShareAPIController.php',
55
-        'OCA\\Files_Sharing\\Controller\\ShareController' => __DIR__ . '/..' . '/../lib/Controller/ShareController.php',
56
-        'OCA\\Files_Sharing\\Controller\\ShareInfoController' => __DIR__ . '/..' . '/../lib/Controller/ShareInfoController.php',
57
-        'OCA\\Files_Sharing\\Controller\\ShareesAPIController' => __DIR__ . '/..' . '/../lib/Controller/ShareesAPIController.php',
58
-        'OCA\\Files_Sharing\\DefaultPublicShareTemplateProvider' => __DIR__ . '/..' . '/../lib/DefaultPublicShareTemplateProvider.php',
59
-        'OCA\\Files_Sharing\\DeleteOrphanedSharesJob' => __DIR__ . '/..' . '/../lib/DeleteOrphanedSharesJob.php',
60
-        'OCA\\Files_Sharing\\Event\\BeforeTemplateRenderedEvent' => __DIR__ . '/..' . '/../lib/Event/BeforeTemplateRenderedEvent.php',
61
-        'OCA\\Files_Sharing\\Event\\ShareLinkAccessedEvent' => __DIR__ . '/..' . '/../lib/Event/ShareLinkAccessedEvent.php',
62
-        'OCA\\Files_Sharing\\Event\\ShareMountedEvent' => __DIR__ . '/..' . '/../lib/Event/ShareMountedEvent.php',
63
-        'OCA\\Files_Sharing\\Exceptions\\BrokenPath' => __DIR__ . '/..' . '/../lib/Exceptions/BrokenPath.php',
64
-        'OCA\\Files_Sharing\\Exceptions\\S2SException' => __DIR__ . '/..' . '/../lib/Exceptions/S2SException.php',
65
-        'OCA\\Files_Sharing\\Exceptions\\SharingRightsException' => __DIR__ . '/..' . '/../lib/Exceptions/SharingRightsException.php',
66
-        'OCA\\Files_Sharing\\ExpireSharesJob' => __DIR__ . '/..' . '/../lib/ExpireSharesJob.php',
67
-        'OCA\\Files_Sharing\\External\\Cache' => __DIR__ . '/..' . '/../lib/External/Cache.php',
68
-        'OCA\\Files_Sharing\\External\\Manager' => __DIR__ . '/..' . '/../lib/External/Manager.php',
69
-        'OCA\\Files_Sharing\\External\\Mount' => __DIR__ . '/..' . '/../lib/External/Mount.php',
70
-        'OCA\\Files_Sharing\\External\\MountProvider' => __DIR__ . '/..' . '/../lib/External/MountProvider.php',
71
-        'OCA\\Files_Sharing\\External\\Scanner' => __DIR__ . '/..' . '/../lib/External/Scanner.php',
72
-        'OCA\\Files_Sharing\\External\\Storage' => __DIR__ . '/..' . '/../lib/External/Storage.php',
73
-        'OCA\\Files_Sharing\\External\\Watcher' => __DIR__ . '/..' . '/../lib/External/Watcher.php',
74
-        'OCA\\Files_Sharing\\Helper' => __DIR__ . '/..' . '/../lib/Helper.php',
75
-        'OCA\\Files_Sharing\\Hooks' => __DIR__ . '/..' . '/../lib/Hooks.php',
76
-        'OCA\\Files_Sharing\\ISharedMountPoint' => __DIR__ . '/..' . '/../lib/ISharedMountPoint.php',
77
-        'OCA\\Files_Sharing\\ISharedStorage' => __DIR__ . '/..' . '/../lib/ISharedStorage.php',
78
-        'OCA\\Files_Sharing\\Listener\\BeforeDirectFileDownloadListener' => __DIR__ . '/..' . '/../lib/Listener/BeforeDirectFileDownloadListener.php',
79
-        'OCA\\Files_Sharing\\Listener\\BeforeNodeReadListener' => __DIR__ . '/..' . '/../lib/Listener/BeforeNodeReadListener.php',
80
-        'OCA\\Files_Sharing\\Listener\\BeforeZipCreatedListener' => __DIR__ . '/..' . '/../lib/Listener/BeforeZipCreatedListener.php',
81
-        'OCA\\Files_Sharing\\Listener\\LoadAdditionalListener' => __DIR__ . '/..' . '/../lib/Listener/LoadAdditionalListener.php',
82
-        'OCA\\Files_Sharing\\Listener\\LoadPublicFileRequestAuthListener' => __DIR__ . '/..' . '/../lib/Listener/LoadPublicFileRequestAuthListener.php',
83
-        'OCA\\Files_Sharing\\Listener\\LoadSidebarListener' => __DIR__ . '/..' . '/../lib/Listener/LoadSidebarListener.php',
84
-        'OCA\\Files_Sharing\\Listener\\ShareInteractionListener' => __DIR__ . '/..' . '/../lib/Listener/ShareInteractionListener.php',
85
-        'OCA\\Files_Sharing\\Listener\\UserAddedToGroupListener' => __DIR__ . '/..' . '/../lib/Listener/UserAddedToGroupListener.php',
86
-        'OCA\\Files_Sharing\\Listener\\UserShareAcceptanceListener' => __DIR__ . '/..' . '/../lib/Listener/UserShareAcceptanceListener.php',
87
-        'OCA\\Files_Sharing\\Middleware\\OCSShareAPIMiddleware' => __DIR__ . '/..' . '/../lib/Middleware/OCSShareAPIMiddleware.php',
88
-        'OCA\\Files_Sharing\\Middleware\\ShareInfoMiddleware' => __DIR__ . '/..' . '/../lib/Middleware/ShareInfoMiddleware.php',
89
-        'OCA\\Files_Sharing\\Middleware\\SharingCheckMiddleware' => __DIR__ . '/..' . '/../lib/Middleware/SharingCheckMiddleware.php',
90
-        'OCA\\Files_Sharing\\Migration\\OwncloudGuestShareType' => __DIR__ . '/..' . '/../lib/Migration/OwncloudGuestShareType.php',
91
-        'OCA\\Files_Sharing\\Migration\\SetAcceptedStatus' => __DIR__ . '/..' . '/../lib/Migration/SetAcceptedStatus.php',
92
-        'OCA\\Files_Sharing\\Migration\\SetPasswordColumn' => __DIR__ . '/..' . '/../lib/Migration/SetPasswordColumn.php',
93
-        'OCA\\Files_Sharing\\Migration\\Version11300Date20201120141438' => __DIR__ . '/..' . '/../lib/Migration/Version11300Date20201120141438.php',
94
-        'OCA\\Files_Sharing\\Migration\\Version21000Date20201223143245' => __DIR__ . '/..' . '/../lib/Migration/Version21000Date20201223143245.php',
95
-        'OCA\\Files_Sharing\\Migration\\Version22000Date20210216084241' => __DIR__ . '/..' . '/../lib/Migration/Version22000Date20210216084241.php',
96
-        'OCA\\Files_Sharing\\Migration\\Version24000Date20220208195521' => __DIR__ . '/..' . '/../lib/Migration/Version24000Date20220208195521.php',
97
-        'OCA\\Files_Sharing\\Migration\\Version24000Date20220404142216' => __DIR__ . '/..' . '/../lib/Migration/Version24000Date20220404142216.php',
98
-        'OCA\\Files_Sharing\\Migration\\Version31000Date20240821142813' => __DIR__ . '/..' . '/../lib/Migration/Version31000Date20240821142813.php',
99
-        'OCA\\Files_Sharing\\Migration\\Version32000Date20251017081948' => __DIR__ . '/..' . '/../lib/Migration/Version32000Date20251017081948.php',
100
-        'OCA\\Files_Sharing\\MountProvider' => __DIR__ . '/..' . '/../lib/MountProvider.php',
101
-        'OCA\\Files_Sharing\\Notification\\Listener' => __DIR__ . '/..' . '/../lib/Notification/Listener.php',
102
-        'OCA\\Files_Sharing\\Notification\\Notifier' => __DIR__ . '/..' . '/../lib/Notification/Notifier.php',
103
-        'OCA\\Files_Sharing\\OrphanHelper' => __DIR__ . '/..' . '/../lib/OrphanHelper.php',
104
-        'OCA\\Files_Sharing\\ResponseDefinitions' => __DIR__ . '/..' . '/../lib/ResponseDefinitions.php',
105
-        'OCA\\Files_Sharing\\Scanner' => __DIR__ . '/..' . '/../lib/Scanner.php',
106
-        'OCA\\Files_Sharing\\Settings\\Personal' => __DIR__ . '/..' . '/../lib/Settings/Personal.php',
107
-        'OCA\\Files_Sharing\\ShareBackend\\File' => __DIR__ . '/..' . '/../lib/ShareBackend/File.php',
108
-        'OCA\\Files_Sharing\\ShareBackend\\Folder' => __DIR__ . '/..' . '/../lib/ShareBackend/Folder.php',
109
-        'OCA\\Files_Sharing\\SharedMount' => __DIR__ . '/..' . '/../lib/SharedMount.php',
110
-        'OCA\\Files_Sharing\\SharedStorage' => __DIR__ . '/..' . '/../lib/SharedStorage.php',
111
-        'OCA\\Files_Sharing\\SharesReminderJob' => __DIR__ . '/..' . '/../lib/SharesReminderJob.php',
112
-        'OCA\\Files_Sharing\\Updater' => __DIR__ . '/..' . '/../lib/Updater.php',
113
-        'OCA\\Files_Sharing\\ViewOnly' => __DIR__ . '/..' . '/../lib/ViewOnly.php',
23
+    public static $classMap = array(
24
+        'Composer\\InstalledVersions' => __DIR__.'/..'.'/composer/InstalledVersions.php',
25
+        'OCA\\Files_Sharing\\Activity\\Filter' => __DIR__.'/..'.'/../lib/Activity/Filter.php',
26
+        'OCA\\Files_Sharing\\Activity\\Providers\\Base' => __DIR__.'/..'.'/../lib/Activity/Providers/Base.php',
27
+        'OCA\\Files_Sharing\\Activity\\Providers\\Downloads' => __DIR__.'/..'.'/../lib/Activity/Providers/Downloads.php',
28
+        'OCA\\Files_Sharing\\Activity\\Providers\\Groups' => __DIR__.'/..'.'/../lib/Activity/Providers/Groups.php',
29
+        'OCA\\Files_Sharing\\Activity\\Providers\\PublicLinks' => __DIR__.'/..'.'/../lib/Activity/Providers/PublicLinks.php',
30
+        'OCA\\Files_Sharing\\Activity\\Providers\\RemoteShares' => __DIR__.'/..'.'/../lib/Activity/Providers/RemoteShares.php',
31
+        'OCA\\Files_Sharing\\Activity\\Providers\\Users' => __DIR__.'/..'.'/../lib/Activity/Providers/Users.php',
32
+        'OCA\\Files_Sharing\\Activity\\Settings\\PublicLinks' => __DIR__.'/..'.'/../lib/Activity/Settings/PublicLinks.php',
33
+        'OCA\\Files_Sharing\\Activity\\Settings\\PublicLinksUpload' => __DIR__.'/..'.'/../lib/Activity/Settings/PublicLinksUpload.php',
34
+        'OCA\\Files_Sharing\\Activity\\Settings\\RemoteShare' => __DIR__.'/..'.'/../lib/Activity/Settings/RemoteShare.php',
35
+        'OCA\\Files_Sharing\\Activity\\Settings\\ShareActivitySettings' => __DIR__.'/..'.'/../lib/Activity/Settings/ShareActivitySettings.php',
36
+        'OCA\\Files_Sharing\\Activity\\Settings\\Shared' => __DIR__.'/..'.'/../lib/Activity/Settings/Shared.php',
37
+        'OCA\\Files_Sharing\\AppInfo\\Application' => __DIR__.'/..'.'/../lib/AppInfo/Application.php',
38
+        'OCA\\Files_Sharing\\BackgroundJob\\FederatedSharesDiscoverJob' => __DIR__.'/..'.'/../lib/BackgroundJob/FederatedSharesDiscoverJob.php',
39
+        'OCA\\Files_Sharing\\Cache' => __DIR__.'/..'.'/../lib/Cache.php',
40
+        'OCA\\Files_Sharing\\Capabilities' => __DIR__.'/..'.'/../lib/Capabilities.php',
41
+        'OCA\\Files_Sharing\\Collaboration\\ShareRecipientSorter' => __DIR__.'/..'.'/../lib/Collaboration/ShareRecipientSorter.php',
42
+        'OCA\\Files_Sharing\\Command\\CleanupRemoteStorages' => __DIR__.'/..'.'/../lib/Command/CleanupRemoteStorages.php',
43
+        'OCA\\Files_Sharing\\Command\\DeleteOrphanShares' => __DIR__.'/..'.'/../lib/Command/DeleteOrphanShares.php',
44
+        'OCA\\Files_Sharing\\Command\\ExiprationNotification' => __DIR__.'/..'.'/../lib/Command/ExiprationNotification.php',
45
+        'OCA\\Files_Sharing\\Command\\FixShareOwners' => __DIR__.'/..'.'/../lib/Command/FixShareOwners.php',
46
+        'OCA\\Files_Sharing\\Command\\ListShares' => __DIR__.'/..'.'/../lib/Command/ListShares.php',
47
+        'OCA\\Files_Sharing\\Config\\ConfigLexicon' => __DIR__.'/..'.'/../lib/Config/ConfigLexicon.php',
48
+        'OCA\\Files_Sharing\\Controller\\AcceptController' => __DIR__.'/..'.'/../lib/Controller/AcceptController.php',
49
+        'OCA\\Files_Sharing\\Controller\\DeletedShareAPIController' => __DIR__.'/..'.'/../lib/Controller/DeletedShareAPIController.php',
50
+        'OCA\\Files_Sharing\\Controller\\ExternalSharesController' => __DIR__.'/..'.'/../lib/Controller/ExternalSharesController.php',
51
+        'OCA\\Files_Sharing\\Controller\\PublicPreviewController' => __DIR__.'/..'.'/../lib/Controller/PublicPreviewController.php',
52
+        'OCA\\Files_Sharing\\Controller\\RemoteController' => __DIR__.'/..'.'/../lib/Controller/RemoteController.php',
53
+        'OCA\\Files_Sharing\\Controller\\SettingsController' => __DIR__.'/..'.'/../lib/Controller/SettingsController.php',
54
+        'OCA\\Files_Sharing\\Controller\\ShareAPIController' => __DIR__.'/..'.'/../lib/Controller/ShareAPIController.php',
55
+        'OCA\\Files_Sharing\\Controller\\ShareController' => __DIR__.'/..'.'/../lib/Controller/ShareController.php',
56
+        'OCA\\Files_Sharing\\Controller\\ShareInfoController' => __DIR__.'/..'.'/../lib/Controller/ShareInfoController.php',
57
+        'OCA\\Files_Sharing\\Controller\\ShareesAPIController' => __DIR__.'/..'.'/../lib/Controller/ShareesAPIController.php',
58
+        'OCA\\Files_Sharing\\DefaultPublicShareTemplateProvider' => __DIR__.'/..'.'/../lib/DefaultPublicShareTemplateProvider.php',
59
+        'OCA\\Files_Sharing\\DeleteOrphanedSharesJob' => __DIR__.'/..'.'/../lib/DeleteOrphanedSharesJob.php',
60
+        'OCA\\Files_Sharing\\Event\\BeforeTemplateRenderedEvent' => __DIR__.'/..'.'/../lib/Event/BeforeTemplateRenderedEvent.php',
61
+        'OCA\\Files_Sharing\\Event\\ShareLinkAccessedEvent' => __DIR__.'/..'.'/../lib/Event/ShareLinkAccessedEvent.php',
62
+        'OCA\\Files_Sharing\\Event\\ShareMountedEvent' => __DIR__.'/..'.'/../lib/Event/ShareMountedEvent.php',
63
+        'OCA\\Files_Sharing\\Exceptions\\BrokenPath' => __DIR__.'/..'.'/../lib/Exceptions/BrokenPath.php',
64
+        'OCA\\Files_Sharing\\Exceptions\\S2SException' => __DIR__.'/..'.'/../lib/Exceptions/S2SException.php',
65
+        'OCA\\Files_Sharing\\Exceptions\\SharingRightsException' => __DIR__.'/..'.'/../lib/Exceptions/SharingRightsException.php',
66
+        'OCA\\Files_Sharing\\ExpireSharesJob' => __DIR__.'/..'.'/../lib/ExpireSharesJob.php',
67
+        'OCA\\Files_Sharing\\External\\Cache' => __DIR__.'/..'.'/../lib/External/Cache.php',
68
+        'OCA\\Files_Sharing\\External\\Manager' => __DIR__.'/..'.'/../lib/External/Manager.php',
69
+        'OCA\\Files_Sharing\\External\\Mount' => __DIR__.'/..'.'/../lib/External/Mount.php',
70
+        'OCA\\Files_Sharing\\External\\MountProvider' => __DIR__.'/..'.'/../lib/External/MountProvider.php',
71
+        'OCA\\Files_Sharing\\External\\Scanner' => __DIR__.'/..'.'/../lib/External/Scanner.php',
72
+        'OCA\\Files_Sharing\\External\\Storage' => __DIR__.'/..'.'/../lib/External/Storage.php',
73
+        'OCA\\Files_Sharing\\External\\Watcher' => __DIR__.'/..'.'/../lib/External/Watcher.php',
74
+        'OCA\\Files_Sharing\\Helper' => __DIR__.'/..'.'/../lib/Helper.php',
75
+        'OCA\\Files_Sharing\\Hooks' => __DIR__.'/..'.'/../lib/Hooks.php',
76
+        'OCA\\Files_Sharing\\ISharedMountPoint' => __DIR__.'/..'.'/../lib/ISharedMountPoint.php',
77
+        'OCA\\Files_Sharing\\ISharedStorage' => __DIR__.'/..'.'/../lib/ISharedStorage.php',
78
+        'OCA\\Files_Sharing\\Listener\\BeforeDirectFileDownloadListener' => __DIR__.'/..'.'/../lib/Listener/BeforeDirectFileDownloadListener.php',
79
+        'OCA\\Files_Sharing\\Listener\\BeforeNodeReadListener' => __DIR__.'/..'.'/../lib/Listener/BeforeNodeReadListener.php',
80
+        'OCA\\Files_Sharing\\Listener\\BeforeZipCreatedListener' => __DIR__.'/..'.'/../lib/Listener/BeforeZipCreatedListener.php',
81
+        'OCA\\Files_Sharing\\Listener\\LoadAdditionalListener' => __DIR__.'/..'.'/../lib/Listener/LoadAdditionalListener.php',
82
+        'OCA\\Files_Sharing\\Listener\\LoadPublicFileRequestAuthListener' => __DIR__.'/..'.'/../lib/Listener/LoadPublicFileRequestAuthListener.php',
83
+        'OCA\\Files_Sharing\\Listener\\LoadSidebarListener' => __DIR__.'/..'.'/../lib/Listener/LoadSidebarListener.php',
84
+        'OCA\\Files_Sharing\\Listener\\ShareInteractionListener' => __DIR__.'/..'.'/../lib/Listener/ShareInteractionListener.php',
85
+        'OCA\\Files_Sharing\\Listener\\UserAddedToGroupListener' => __DIR__.'/..'.'/../lib/Listener/UserAddedToGroupListener.php',
86
+        'OCA\\Files_Sharing\\Listener\\UserShareAcceptanceListener' => __DIR__.'/..'.'/../lib/Listener/UserShareAcceptanceListener.php',
87
+        'OCA\\Files_Sharing\\Middleware\\OCSShareAPIMiddleware' => __DIR__.'/..'.'/../lib/Middleware/OCSShareAPIMiddleware.php',
88
+        'OCA\\Files_Sharing\\Middleware\\ShareInfoMiddleware' => __DIR__.'/..'.'/../lib/Middleware/ShareInfoMiddleware.php',
89
+        'OCA\\Files_Sharing\\Middleware\\SharingCheckMiddleware' => __DIR__.'/..'.'/../lib/Middleware/SharingCheckMiddleware.php',
90
+        'OCA\\Files_Sharing\\Migration\\OwncloudGuestShareType' => __DIR__.'/..'.'/../lib/Migration/OwncloudGuestShareType.php',
91
+        'OCA\\Files_Sharing\\Migration\\SetAcceptedStatus' => __DIR__.'/..'.'/../lib/Migration/SetAcceptedStatus.php',
92
+        'OCA\\Files_Sharing\\Migration\\SetPasswordColumn' => __DIR__.'/..'.'/../lib/Migration/SetPasswordColumn.php',
93
+        'OCA\\Files_Sharing\\Migration\\Version11300Date20201120141438' => __DIR__.'/..'.'/../lib/Migration/Version11300Date20201120141438.php',
94
+        'OCA\\Files_Sharing\\Migration\\Version21000Date20201223143245' => __DIR__.'/..'.'/../lib/Migration/Version21000Date20201223143245.php',
95
+        'OCA\\Files_Sharing\\Migration\\Version22000Date20210216084241' => __DIR__.'/..'.'/../lib/Migration/Version22000Date20210216084241.php',
96
+        'OCA\\Files_Sharing\\Migration\\Version24000Date20220208195521' => __DIR__.'/..'.'/../lib/Migration/Version24000Date20220208195521.php',
97
+        'OCA\\Files_Sharing\\Migration\\Version24000Date20220404142216' => __DIR__.'/..'.'/../lib/Migration/Version24000Date20220404142216.php',
98
+        'OCA\\Files_Sharing\\Migration\\Version31000Date20240821142813' => __DIR__.'/..'.'/../lib/Migration/Version31000Date20240821142813.php',
99
+        'OCA\\Files_Sharing\\Migration\\Version32000Date20251017081948' => __DIR__.'/..'.'/../lib/Migration/Version32000Date20251017081948.php',
100
+        'OCA\\Files_Sharing\\MountProvider' => __DIR__.'/..'.'/../lib/MountProvider.php',
101
+        'OCA\\Files_Sharing\\Notification\\Listener' => __DIR__.'/..'.'/../lib/Notification/Listener.php',
102
+        'OCA\\Files_Sharing\\Notification\\Notifier' => __DIR__.'/..'.'/../lib/Notification/Notifier.php',
103
+        'OCA\\Files_Sharing\\OrphanHelper' => __DIR__.'/..'.'/../lib/OrphanHelper.php',
104
+        'OCA\\Files_Sharing\\ResponseDefinitions' => __DIR__.'/..'.'/../lib/ResponseDefinitions.php',
105
+        'OCA\\Files_Sharing\\Scanner' => __DIR__.'/..'.'/../lib/Scanner.php',
106
+        'OCA\\Files_Sharing\\Settings\\Personal' => __DIR__.'/..'.'/../lib/Settings/Personal.php',
107
+        'OCA\\Files_Sharing\\ShareBackend\\File' => __DIR__.'/..'.'/../lib/ShareBackend/File.php',
108
+        'OCA\\Files_Sharing\\ShareBackend\\Folder' => __DIR__.'/..'.'/../lib/ShareBackend/Folder.php',
109
+        'OCA\\Files_Sharing\\SharedMount' => __DIR__.'/..'.'/../lib/SharedMount.php',
110
+        'OCA\\Files_Sharing\\SharedStorage' => __DIR__.'/..'.'/../lib/SharedStorage.php',
111
+        'OCA\\Files_Sharing\\SharesReminderJob' => __DIR__.'/..'.'/../lib/SharesReminderJob.php',
112
+        'OCA\\Files_Sharing\\Updater' => __DIR__.'/..'.'/../lib/Updater.php',
113
+        'OCA\\Files_Sharing\\ViewOnly' => __DIR__.'/..'.'/../lib/ViewOnly.php',
114 114
     );
115 115
 
116 116
     public static function getInitializer(ClassLoader $loader)
117 117
     {
118
-        return \Closure::bind(function () use ($loader) {
118
+        return \Closure::bind(function() use ($loader) {
119 119
             $loader->prefixLengthsPsr4 = ComposerStaticInitFiles_Sharing::$prefixLengthsPsr4;
120 120
             $loader->prefixDirsPsr4 = ComposerStaticInitFiles_Sharing::$prefixDirsPsr4;
121 121
             $loader->classMap = ComposerStaticInitFiles_Sharing::$classMap;
Please login to merge, or discard this patch.
apps/files_sharing/composer/composer/autoload_classmap.php 1 patch
Spacing   +90 added lines, -90 removed lines patch added patch discarded remove patch
@@ -6,94 +6,94 @@
 block discarded – undo
6 6
 $baseDir = $vendorDir;
7 7
 
8 8
 return array(
9
-    'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
10
-    'OCA\\Files_Sharing\\Activity\\Filter' => $baseDir . '/../lib/Activity/Filter.php',
11
-    'OCA\\Files_Sharing\\Activity\\Providers\\Base' => $baseDir . '/../lib/Activity/Providers/Base.php',
12
-    'OCA\\Files_Sharing\\Activity\\Providers\\Downloads' => $baseDir . '/../lib/Activity/Providers/Downloads.php',
13
-    'OCA\\Files_Sharing\\Activity\\Providers\\Groups' => $baseDir . '/../lib/Activity/Providers/Groups.php',
14
-    'OCA\\Files_Sharing\\Activity\\Providers\\PublicLinks' => $baseDir . '/../lib/Activity/Providers/PublicLinks.php',
15
-    'OCA\\Files_Sharing\\Activity\\Providers\\RemoteShares' => $baseDir . '/../lib/Activity/Providers/RemoteShares.php',
16
-    'OCA\\Files_Sharing\\Activity\\Providers\\Users' => $baseDir . '/../lib/Activity/Providers/Users.php',
17
-    'OCA\\Files_Sharing\\Activity\\Settings\\PublicLinks' => $baseDir . '/../lib/Activity/Settings/PublicLinks.php',
18
-    'OCA\\Files_Sharing\\Activity\\Settings\\PublicLinksUpload' => $baseDir . '/../lib/Activity/Settings/PublicLinksUpload.php',
19
-    'OCA\\Files_Sharing\\Activity\\Settings\\RemoteShare' => $baseDir . '/../lib/Activity/Settings/RemoteShare.php',
20
-    'OCA\\Files_Sharing\\Activity\\Settings\\ShareActivitySettings' => $baseDir . '/../lib/Activity/Settings/ShareActivitySettings.php',
21
-    'OCA\\Files_Sharing\\Activity\\Settings\\Shared' => $baseDir . '/../lib/Activity/Settings/Shared.php',
22
-    'OCA\\Files_Sharing\\AppInfo\\Application' => $baseDir . '/../lib/AppInfo/Application.php',
23
-    'OCA\\Files_Sharing\\BackgroundJob\\FederatedSharesDiscoverJob' => $baseDir . '/../lib/BackgroundJob/FederatedSharesDiscoverJob.php',
24
-    'OCA\\Files_Sharing\\Cache' => $baseDir . '/../lib/Cache.php',
25
-    'OCA\\Files_Sharing\\Capabilities' => $baseDir . '/../lib/Capabilities.php',
26
-    'OCA\\Files_Sharing\\Collaboration\\ShareRecipientSorter' => $baseDir . '/../lib/Collaboration/ShareRecipientSorter.php',
27
-    'OCA\\Files_Sharing\\Command\\CleanupRemoteStorages' => $baseDir . '/../lib/Command/CleanupRemoteStorages.php',
28
-    'OCA\\Files_Sharing\\Command\\DeleteOrphanShares' => $baseDir . '/../lib/Command/DeleteOrphanShares.php',
29
-    'OCA\\Files_Sharing\\Command\\ExiprationNotification' => $baseDir . '/../lib/Command/ExiprationNotification.php',
30
-    'OCA\\Files_Sharing\\Command\\FixShareOwners' => $baseDir . '/../lib/Command/FixShareOwners.php',
31
-    'OCA\\Files_Sharing\\Command\\ListShares' => $baseDir . '/../lib/Command/ListShares.php',
32
-    'OCA\\Files_Sharing\\Config\\ConfigLexicon' => $baseDir . '/../lib/Config/ConfigLexicon.php',
33
-    'OCA\\Files_Sharing\\Controller\\AcceptController' => $baseDir . '/../lib/Controller/AcceptController.php',
34
-    'OCA\\Files_Sharing\\Controller\\DeletedShareAPIController' => $baseDir . '/../lib/Controller/DeletedShareAPIController.php',
35
-    'OCA\\Files_Sharing\\Controller\\ExternalSharesController' => $baseDir . '/../lib/Controller/ExternalSharesController.php',
36
-    'OCA\\Files_Sharing\\Controller\\PublicPreviewController' => $baseDir . '/../lib/Controller/PublicPreviewController.php',
37
-    'OCA\\Files_Sharing\\Controller\\RemoteController' => $baseDir . '/../lib/Controller/RemoteController.php',
38
-    'OCA\\Files_Sharing\\Controller\\SettingsController' => $baseDir . '/../lib/Controller/SettingsController.php',
39
-    'OCA\\Files_Sharing\\Controller\\ShareAPIController' => $baseDir . '/../lib/Controller/ShareAPIController.php',
40
-    'OCA\\Files_Sharing\\Controller\\ShareController' => $baseDir . '/../lib/Controller/ShareController.php',
41
-    'OCA\\Files_Sharing\\Controller\\ShareInfoController' => $baseDir . '/../lib/Controller/ShareInfoController.php',
42
-    'OCA\\Files_Sharing\\Controller\\ShareesAPIController' => $baseDir . '/../lib/Controller/ShareesAPIController.php',
43
-    'OCA\\Files_Sharing\\DefaultPublicShareTemplateProvider' => $baseDir . '/../lib/DefaultPublicShareTemplateProvider.php',
44
-    'OCA\\Files_Sharing\\DeleteOrphanedSharesJob' => $baseDir . '/../lib/DeleteOrphanedSharesJob.php',
45
-    'OCA\\Files_Sharing\\Event\\BeforeTemplateRenderedEvent' => $baseDir . '/../lib/Event/BeforeTemplateRenderedEvent.php',
46
-    'OCA\\Files_Sharing\\Event\\ShareLinkAccessedEvent' => $baseDir . '/../lib/Event/ShareLinkAccessedEvent.php',
47
-    'OCA\\Files_Sharing\\Event\\ShareMountedEvent' => $baseDir . '/../lib/Event/ShareMountedEvent.php',
48
-    'OCA\\Files_Sharing\\Exceptions\\BrokenPath' => $baseDir . '/../lib/Exceptions/BrokenPath.php',
49
-    'OCA\\Files_Sharing\\Exceptions\\S2SException' => $baseDir . '/../lib/Exceptions/S2SException.php',
50
-    'OCA\\Files_Sharing\\Exceptions\\SharingRightsException' => $baseDir . '/../lib/Exceptions/SharingRightsException.php',
51
-    'OCA\\Files_Sharing\\ExpireSharesJob' => $baseDir . '/../lib/ExpireSharesJob.php',
52
-    'OCA\\Files_Sharing\\External\\Cache' => $baseDir . '/../lib/External/Cache.php',
53
-    'OCA\\Files_Sharing\\External\\Manager' => $baseDir . '/../lib/External/Manager.php',
54
-    'OCA\\Files_Sharing\\External\\Mount' => $baseDir . '/../lib/External/Mount.php',
55
-    'OCA\\Files_Sharing\\External\\MountProvider' => $baseDir . '/../lib/External/MountProvider.php',
56
-    'OCA\\Files_Sharing\\External\\Scanner' => $baseDir . '/../lib/External/Scanner.php',
57
-    'OCA\\Files_Sharing\\External\\Storage' => $baseDir . '/../lib/External/Storage.php',
58
-    'OCA\\Files_Sharing\\External\\Watcher' => $baseDir . '/../lib/External/Watcher.php',
59
-    'OCA\\Files_Sharing\\Helper' => $baseDir . '/../lib/Helper.php',
60
-    'OCA\\Files_Sharing\\Hooks' => $baseDir . '/../lib/Hooks.php',
61
-    'OCA\\Files_Sharing\\ISharedMountPoint' => $baseDir . '/../lib/ISharedMountPoint.php',
62
-    'OCA\\Files_Sharing\\ISharedStorage' => $baseDir . '/../lib/ISharedStorage.php',
63
-    'OCA\\Files_Sharing\\Listener\\BeforeDirectFileDownloadListener' => $baseDir . '/../lib/Listener/BeforeDirectFileDownloadListener.php',
64
-    'OCA\\Files_Sharing\\Listener\\BeforeNodeReadListener' => $baseDir . '/../lib/Listener/BeforeNodeReadListener.php',
65
-    'OCA\\Files_Sharing\\Listener\\BeforeZipCreatedListener' => $baseDir . '/../lib/Listener/BeforeZipCreatedListener.php',
66
-    'OCA\\Files_Sharing\\Listener\\LoadAdditionalListener' => $baseDir . '/../lib/Listener/LoadAdditionalListener.php',
67
-    'OCA\\Files_Sharing\\Listener\\LoadPublicFileRequestAuthListener' => $baseDir . '/../lib/Listener/LoadPublicFileRequestAuthListener.php',
68
-    'OCA\\Files_Sharing\\Listener\\LoadSidebarListener' => $baseDir . '/../lib/Listener/LoadSidebarListener.php',
69
-    'OCA\\Files_Sharing\\Listener\\ShareInteractionListener' => $baseDir . '/../lib/Listener/ShareInteractionListener.php',
70
-    'OCA\\Files_Sharing\\Listener\\UserAddedToGroupListener' => $baseDir . '/../lib/Listener/UserAddedToGroupListener.php',
71
-    'OCA\\Files_Sharing\\Listener\\UserShareAcceptanceListener' => $baseDir . '/../lib/Listener/UserShareAcceptanceListener.php',
72
-    'OCA\\Files_Sharing\\Middleware\\OCSShareAPIMiddleware' => $baseDir . '/../lib/Middleware/OCSShareAPIMiddleware.php',
73
-    'OCA\\Files_Sharing\\Middleware\\ShareInfoMiddleware' => $baseDir . '/../lib/Middleware/ShareInfoMiddleware.php',
74
-    'OCA\\Files_Sharing\\Middleware\\SharingCheckMiddleware' => $baseDir . '/../lib/Middleware/SharingCheckMiddleware.php',
75
-    'OCA\\Files_Sharing\\Migration\\OwncloudGuestShareType' => $baseDir . '/../lib/Migration/OwncloudGuestShareType.php',
76
-    'OCA\\Files_Sharing\\Migration\\SetAcceptedStatus' => $baseDir . '/../lib/Migration/SetAcceptedStatus.php',
77
-    'OCA\\Files_Sharing\\Migration\\SetPasswordColumn' => $baseDir . '/../lib/Migration/SetPasswordColumn.php',
78
-    'OCA\\Files_Sharing\\Migration\\Version11300Date20201120141438' => $baseDir . '/../lib/Migration/Version11300Date20201120141438.php',
79
-    'OCA\\Files_Sharing\\Migration\\Version21000Date20201223143245' => $baseDir . '/../lib/Migration/Version21000Date20201223143245.php',
80
-    'OCA\\Files_Sharing\\Migration\\Version22000Date20210216084241' => $baseDir . '/../lib/Migration/Version22000Date20210216084241.php',
81
-    'OCA\\Files_Sharing\\Migration\\Version24000Date20220208195521' => $baseDir . '/../lib/Migration/Version24000Date20220208195521.php',
82
-    'OCA\\Files_Sharing\\Migration\\Version24000Date20220404142216' => $baseDir . '/../lib/Migration/Version24000Date20220404142216.php',
83
-    'OCA\\Files_Sharing\\Migration\\Version31000Date20240821142813' => $baseDir . '/../lib/Migration/Version31000Date20240821142813.php',
84
-    'OCA\\Files_Sharing\\Migration\\Version32000Date20251017081948' => $baseDir . '/../lib/Migration/Version32000Date20251017081948.php',
85
-    'OCA\\Files_Sharing\\MountProvider' => $baseDir . '/../lib/MountProvider.php',
86
-    'OCA\\Files_Sharing\\Notification\\Listener' => $baseDir . '/../lib/Notification/Listener.php',
87
-    'OCA\\Files_Sharing\\Notification\\Notifier' => $baseDir . '/../lib/Notification/Notifier.php',
88
-    'OCA\\Files_Sharing\\OrphanHelper' => $baseDir . '/../lib/OrphanHelper.php',
89
-    'OCA\\Files_Sharing\\ResponseDefinitions' => $baseDir . '/../lib/ResponseDefinitions.php',
90
-    'OCA\\Files_Sharing\\Scanner' => $baseDir . '/../lib/Scanner.php',
91
-    'OCA\\Files_Sharing\\Settings\\Personal' => $baseDir . '/../lib/Settings/Personal.php',
92
-    'OCA\\Files_Sharing\\ShareBackend\\File' => $baseDir . '/../lib/ShareBackend/File.php',
93
-    'OCA\\Files_Sharing\\ShareBackend\\Folder' => $baseDir . '/../lib/ShareBackend/Folder.php',
94
-    'OCA\\Files_Sharing\\SharedMount' => $baseDir . '/../lib/SharedMount.php',
95
-    'OCA\\Files_Sharing\\SharedStorage' => $baseDir . '/../lib/SharedStorage.php',
96
-    'OCA\\Files_Sharing\\SharesReminderJob' => $baseDir . '/../lib/SharesReminderJob.php',
97
-    'OCA\\Files_Sharing\\Updater' => $baseDir . '/../lib/Updater.php',
98
-    'OCA\\Files_Sharing\\ViewOnly' => $baseDir . '/../lib/ViewOnly.php',
9
+    'Composer\\InstalledVersions' => $vendorDir.'/composer/InstalledVersions.php',
10
+    'OCA\\Files_Sharing\\Activity\\Filter' => $baseDir.'/../lib/Activity/Filter.php',
11
+    'OCA\\Files_Sharing\\Activity\\Providers\\Base' => $baseDir.'/../lib/Activity/Providers/Base.php',
12
+    'OCA\\Files_Sharing\\Activity\\Providers\\Downloads' => $baseDir.'/../lib/Activity/Providers/Downloads.php',
13
+    'OCA\\Files_Sharing\\Activity\\Providers\\Groups' => $baseDir.'/../lib/Activity/Providers/Groups.php',
14
+    'OCA\\Files_Sharing\\Activity\\Providers\\PublicLinks' => $baseDir.'/../lib/Activity/Providers/PublicLinks.php',
15
+    'OCA\\Files_Sharing\\Activity\\Providers\\RemoteShares' => $baseDir.'/../lib/Activity/Providers/RemoteShares.php',
16
+    'OCA\\Files_Sharing\\Activity\\Providers\\Users' => $baseDir.'/../lib/Activity/Providers/Users.php',
17
+    'OCA\\Files_Sharing\\Activity\\Settings\\PublicLinks' => $baseDir.'/../lib/Activity/Settings/PublicLinks.php',
18
+    'OCA\\Files_Sharing\\Activity\\Settings\\PublicLinksUpload' => $baseDir.'/../lib/Activity/Settings/PublicLinksUpload.php',
19
+    'OCA\\Files_Sharing\\Activity\\Settings\\RemoteShare' => $baseDir.'/../lib/Activity/Settings/RemoteShare.php',
20
+    'OCA\\Files_Sharing\\Activity\\Settings\\ShareActivitySettings' => $baseDir.'/../lib/Activity/Settings/ShareActivitySettings.php',
21
+    'OCA\\Files_Sharing\\Activity\\Settings\\Shared' => $baseDir.'/../lib/Activity/Settings/Shared.php',
22
+    'OCA\\Files_Sharing\\AppInfo\\Application' => $baseDir.'/../lib/AppInfo/Application.php',
23
+    'OCA\\Files_Sharing\\BackgroundJob\\FederatedSharesDiscoverJob' => $baseDir.'/../lib/BackgroundJob/FederatedSharesDiscoverJob.php',
24
+    'OCA\\Files_Sharing\\Cache' => $baseDir.'/../lib/Cache.php',
25
+    'OCA\\Files_Sharing\\Capabilities' => $baseDir.'/../lib/Capabilities.php',
26
+    'OCA\\Files_Sharing\\Collaboration\\ShareRecipientSorter' => $baseDir.'/../lib/Collaboration/ShareRecipientSorter.php',
27
+    'OCA\\Files_Sharing\\Command\\CleanupRemoteStorages' => $baseDir.'/../lib/Command/CleanupRemoteStorages.php',
28
+    'OCA\\Files_Sharing\\Command\\DeleteOrphanShares' => $baseDir.'/../lib/Command/DeleteOrphanShares.php',
29
+    'OCA\\Files_Sharing\\Command\\ExiprationNotification' => $baseDir.'/../lib/Command/ExiprationNotification.php',
30
+    'OCA\\Files_Sharing\\Command\\FixShareOwners' => $baseDir.'/../lib/Command/FixShareOwners.php',
31
+    'OCA\\Files_Sharing\\Command\\ListShares' => $baseDir.'/../lib/Command/ListShares.php',
32
+    'OCA\\Files_Sharing\\Config\\ConfigLexicon' => $baseDir.'/../lib/Config/ConfigLexicon.php',
33
+    'OCA\\Files_Sharing\\Controller\\AcceptController' => $baseDir.'/../lib/Controller/AcceptController.php',
34
+    'OCA\\Files_Sharing\\Controller\\DeletedShareAPIController' => $baseDir.'/../lib/Controller/DeletedShareAPIController.php',
35
+    'OCA\\Files_Sharing\\Controller\\ExternalSharesController' => $baseDir.'/../lib/Controller/ExternalSharesController.php',
36
+    'OCA\\Files_Sharing\\Controller\\PublicPreviewController' => $baseDir.'/../lib/Controller/PublicPreviewController.php',
37
+    'OCA\\Files_Sharing\\Controller\\RemoteController' => $baseDir.'/../lib/Controller/RemoteController.php',
38
+    'OCA\\Files_Sharing\\Controller\\SettingsController' => $baseDir.'/../lib/Controller/SettingsController.php',
39
+    'OCA\\Files_Sharing\\Controller\\ShareAPIController' => $baseDir.'/../lib/Controller/ShareAPIController.php',
40
+    'OCA\\Files_Sharing\\Controller\\ShareController' => $baseDir.'/../lib/Controller/ShareController.php',
41
+    'OCA\\Files_Sharing\\Controller\\ShareInfoController' => $baseDir.'/../lib/Controller/ShareInfoController.php',
42
+    'OCA\\Files_Sharing\\Controller\\ShareesAPIController' => $baseDir.'/../lib/Controller/ShareesAPIController.php',
43
+    'OCA\\Files_Sharing\\DefaultPublicShareTemplateProvider' => $baseDir.'/../lib/DefaultPublicShareTemplateProvider.php',
44
+    'OCA\\Files_Sharing\\DeleteOrphanedSharesJob' => $baseDir.'/../lib/DeleteOrphanedSharesJob.php',
45
+    'OCA\\Files_Sharing\\Event\\BeforeTemplateRenderedEvent' => $baseDir.'/../lib/Event/BeforeTemplateRenderedEvent.php',
46
+    'OCA\\Files_Sharing\\Event\\ShareLinkAccessedEvent' => $baseDir.'/../lib/Event/ShareLinkAccessedEvent.php',
47
+    'OCA\\Files_Sharing\\Event\\ShareMountedEvent' => $baseDir.'/../lib/Event/ShareMountedEvent.php',
48
+    'OCA\\Files_Sharing\\Exceptions\\BrokenPath' => $baseDir.'/../lib/Exceptions/BrokenPath.php',
49
+    'OCA\\Files_Sharing\\Exceptions\\S2SException' => $baseDir.'/../lib/Exceptions/S2SException.php',
50
+    'OCA\\Files_Sharing\\Exceptions\\SharingRightsException' => $baseDir.'/../lib/Exceptions/SharingRightsException.php',
51
+    'OCA\\Files_Sharing\\ExpireSharesJob' => $baseDir.'/../lib/ExpireSharesJob.php',
52
+    'OCA\\Files_Sharing\\External\\Cache' => $baseDir.'/../lib/External/Cache.php',
53
+    'OCA\\Files_Sharing\\External\\Manager' => $baseDir.'/../lib/External/Manager.php',
54
+    'OCA\\Files_Sharing\\External\\Mount' => $baseDir.'/../lib/External/Mount.php',
55
+    'OCA\\Files_Sharing\\External\\MountProvider' => $baseDir.'/../lib/External/MountProvider.php',
56
+    'OCA\\Files_Sharing\\External\\Scanner' => $baseDir.'/../lib/External/Scanner.php',
57
+    'OCA\\Files_Sharing\\External\\Storage' => $baseDir.'/../lib/External/Storage.php',
58
+    'OCA\\Files_Sharing\\External\\Watcher' => $baseDir.'/../lib/External/Watcher.php',
59
+    'OCA\\Files_Sharing\\Helper' => $baseDir.'/../lib/Helper.php',
60
+    'OCA\\Files_Sharing\\Hooks' => $baseDir.'/../lib/Hooks.php',
61
+    'OCA\\Files_Sharing\\ISharedMountPoint' => $baseDir.'/../lib/ISharedMountPoint.php',
62
+    'OCA\\Files_Sharing\\ISharedStorage' => $baseDir.'/../lib/ISharedStorage.php',
63
+    'OCA\\Files_Sharing\\Listener\\BeforeDirectFileDownloadListener' => $baseDir.'/../lib/Listener/BeforeDirectFileDownloadListener.php',
64
+    'OCA\\Files_Sharing\\Listener\\BeforeNodeReadListener' => $baseDir.'/../lib/Listener/BeforeNodeReadListener.php',
65
+    'OCA\\Files_Sharing\\Listener\\BeforeZipCreatedListener' => $baseDir.'/../lib/Listener/BeforeZipCreatedListener.php',
66
+    'OCA\\Files_Sharing\\Listener\\LoadAdditionalListener' => $baseDir.'/../lib/Listener/LoadAdditionalListener.php',
67
+    'OCA\\Files_Sharing\\Listener\\LoadPublicFileRequestAuthListener' => $baseDir.'/../lib/Listener/LoadPublicFileRequestAuthListener.php',
68
+    'OCA\\Files_Sharing\\Listener\\LoadSidebarListener' => $baseDir.'/../lib/Listener/LoadSidebarListener.php',
69
+    'OCA\\Files_Sharing\\Listener\\ShareInteractionListener' => $baseDir.'/../lib/Listener/ShareInteractionListener.php',
70
+    'OCA\\Files_Sharing\\Listener\\UserAddedToGroupListener' => $baseDir.'/../lib/Listener/UserAddedToGroupListener.php',
71
+    'OCA\\Files_Sharing\\Listener\\UserShareAcceptanceListener' => $baseDir.'/../lib/Listener/UserShareAcceptanceListener.php',
72
+    'OCA\\Files_Sharing\\Middleware\\OCSShareAPIMiddleware' => $baseDir.'/../lib/Middleware/OCSShareAPIMiddleware.php',
73
+    'OCA\\Files_Sharing\\Middleware\\ShareInfoMiddleware' => $baseDir.'/../lib/Middleware/ShareInfoMiddleware.php',
74
+    'OCA\\Files_Sharing\\Middleware\\SharingCheckMiddleware' => $baseDir.'/../lib/Middleware/SharingCheckMiddleware.php',
75
+    'OCA\\Files_Sharing\\Migration\\OwncloudGuestShareType' => $baseDir.'/../lib/Migration/OwncloudGuestShareType.php',
76
+    'OCA\\Files_Sharing\\Migration\\SetAcceptedStatus' => $baseDir.'/../lib/Migration/SetAcceptedStatus.php',
77
+    'OCA\\Files_Sharing\\Migration\\SetPasswordColumn' => $baseDir.'/../lib/Migration/SetPasswordColumn.php',
78
+    'OCA\\Files_Sharing\\Migration\\Version11300Date20201120141438' => $baseDir.'/../lib/Migration/Version11300Date20201120141438.php',
79
+    'OCA\\Files_Sharing\\Migration\\Version21000Date20201223143245' => $baseDir.'/../lib/Migration/Version21000Date20201223143245.php',
80
+    'OCA\\Files_Sharing\\Migration\\Version22000Date20210216084241' => $baseDir.'/../lib/Migration/Version22000Date20210216084241.php',
81
+    'OCA\\Files_Sharing\\Migration\\Version24000Date20220208195521' => $baseDir.'/../lib/Migration/Version24000Date20220208195521.php',
82
+    'OCA\\Files_Sharing\\Migration\\Version24000Date20220404142216' => $baseDir.'/../lib/Migration/Version24000Date20220404142216.php',
83
+    'OCA\\Files_Sharing\\Migration\\Version31000Date20240821142813' => $baseDir.'/../lib/Migration/Version31000Date20240821142813.php',
84
+    'OCA\\Files_Sharing\\Migration\\Version32000Date20251017081948' => $baseDir.'/../lib/Migration/Version32000Date20251017081948.php',
85
+    'OCA\\Files_Sharing\\MountProvider' => $baseDir.'/../lib/MountProvider.php',
86
+    'OCA\\Files_Sharing\\Notification\\Listener' => $baseDir.'/../lib/Notification/Listener.php',
87
+    'OCA\\Files_Sharing\\Notification\\Notifier' => $baseDir.'/../lib/Notification/Notifier.php',
88
+    'OCA\\Files_Sharing\\OrphanHelper' => $baseDir.'/../lib/OrphanHelper.php',
89
+    'OCA\\Files_Sharing\\ResponseDefinitions' => $baseDir.'/../lib/ResponseDefinitions.php',
90
+    'OCA\\Files_Sharing\\Scanner' => $baseDir.'/../lib/Scanner.php',
91
+    'OCA\\Files_Sharing\\Settings\\Personal' => $baseDir.'/../lib/Settings/Personal.php',
92
+    'OCA\\Files_Sharing\\ShareBackend\\File' => $baseDir.'/../lib/ShareBackend/File.php',
93
+    'OCA\\Files_Sharing\\ShareBackend\\Folder' => $baseDir.'/../lib/ShareBackend/Folder.php',
94
+    'OCA\\Files_Sharing\\SharedMount' => $baseDir.'/../lib/SharedMount.php',
95
+    'OCA\\Files_Sharing\\SharedStorage' => $baseDir.'/../lib/SharedStorage.php',
96
+    'OCA\\Files_Sharing\\SharesReminderJob' => $baseDir.'/../lib/SharesReminderJob.php',
97
+    'OCA\\Files_Sharing\\Updater' => $baseDir.'/../lib/Updater.php',
98
+    'OCA\\Files_Sharing\\ViewOnly' => $baseDir.'/../lib/ViewOnly.php',
99 99
 );
Please login to merge, or discard this patch.