'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
*
*/
+use OCP\BeforeSabrePubliclyLoadedEvent;
use OCP\EventDispatcher\IEventDispatcher;
-use OCP\SabrePublicPluginEvent;
use Psr\Log\LoggerInterface;
// load needed apps
$server->addPlugin($linkCheckPlugin);
$server->addPlugin($filesDropPlugin);
// allow setup of additional plugins
-$event = new SabrePublicPluginEvent($server);
+$event = new BeforeSabrePubliclyLoadedEvent($server);
/** @var IEventDispatcher $eventDispatcher */
$eventDispatcher = \OC::$server->get(IEventDispatcher::class);
$eventDispatcher->dispatchTyped($event);
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e35bcc9381246a8ec3da96e78e9771ef6044a6d4',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'OCP\\BackgroundJob\\Job' => $baseDir . '/lib/public/BackgroundJob/Job.php',
'OCP\\BackgroundJob\\QueuedJob' => $baseDir . '/lib/public/BackgroundJob/QueuedJob.php',
'OCP\\BackgroundJob\\TimedJob' => $baseDir . '/lib/public/BackgroundJob/TimedJob.php',
+ 'OCP\\BeforeSabrePubliclyLoadedEvent' => $baseDir . '/lib/public/BeforeSabrePubliclyLoadedEvent.php',
'OCP\\Broadcast\\Events\\IBroadcastEvent' => $baseDir . '/lib/public/Broadcast/Events/IBroadcastEvent.php',
'OCP\\Cache\\CappedMemoryCache' => $baseDir . '/lib/public/Cache/CappedMemoryCache.php',
'OCP\\Calendar\\BackendTemporarilyUnavailableException' => $baseDir . '/lib/public/Calendar/BackendTemporarilyUnavailableException.php',
'OCP\\BackgroundJob\\Job' => __DIR__ . '/../../..' . '/lib/public/BackgroundJob/Job.php',
'OCP\\BackgroundJob\\QueuedJob' => __DIR__ . '/../../..' . '/lib/public/BackgroundJob/QueuedJob.php',
'OCP\\BackgroundJob\\TimedJob' => __DIR__ . '/../../..' . '/lib/public/BackgroundJob/TimedJob.php',
+ 'OCP\\BeforeSabrePubliclyLoadedEvent' => __DIR__ . '/../../..' . '/lib/public/BeforeSabrePubliclyLoadedEvent.php',
'OCP\\Broadcast\\Events\\IBroadcastEvent' => __DIR__ . '/../../..' . '/lib/public/Broadcast/Events/IBroadcastEvent.php',
'OCP\\Cache\\CappedMemoryCache' => __DIR__ . '/../../..' . '/lib/public/Cache/CappedMemoryCache.php',
'OCP\\Calendar\\BackendTemporarilyUnavailableException' => __DIR__ . '/../../..' . '/lib/public/Calendar/BackendTemporarilyUnavailableException.php',
--- /dev/null
+<?php
+/**
+ * @copyright Julien Veyssier <eneiluj@posteo.net> 2022
+ *
+ * @author Julien Veyssier <eneiluj@posteo.net>
+ *
+ * @license AGPL-3.0-or-later
+ *
+ * This code is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License, version 3,
+ * as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License, version 3,
+ * along with this program. If not, see <http://www.gnu.org/licenses/>
+ *
+ */
+namespace OCP;
+
+/**
+ * Dispatched before Sabre is loaded when accessing public webdav endpoints
+ * This can be used to inject a Sabre plugin for example
+ *
+ * @since 26.0.0
+ */
+class BeforeSabrePubliclyLoadedEvent extends SabrePluginEvent {
+}
+++ /dev/null
-<?php
-/**
- * @copyright Julien Veyssier <eneiluj@posteo.net> 2022
- *
- * @author Julien Veyssier <eneiluj@posteo.net>
- *
- * @license AGPL-3.0-or-later
- *
- * This code is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License, version 3,
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License, version 3,
- * along with this program. If not, see <http://www.gnu.org/licenses/>
- *
- */
-namespace OCP;
-
-class SabrePublicPluginEvent extends SabrePluginEvent {
-}