Remove unused use statements
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
eaa6f766e6
commit
c54a59d51e
|
@ -25,7 +25,6 @@
|
||||||
namespace OCA\DAV\AppInfo;
|
namespace OCA\DAV\AppInfo;
|
||||||
|
|
||||||
use OCA\DAV\CalDAV\Activity\Backend;
|
use OCA\DAV\CalDAV\Activity\Backend;
|
||||||
use OCA\DAV\CalDAV\Activity\Extension;
|
|
||||||
use OCA\DAV\CalDAV\Activity\Provider\Event;
|
use OCA\DAV\CalDAV\Activity\Provider\Event;
|
||||||
use OCA\DAV\CalDAV\BirthdayService;
|
use OCA\DAV\CalDAV\BirthdayService;
|
||||||
use OCA\DAV\Capabilities;
|
use OCA\DAV\Capabilities;
|
||||||
|
|
|
@ -20,7 +20,6 @@
|
||||||
*/
|
*/
|
||||||
namespace OCA\DAV\CalDAV\Publishing\Xml;
|
namespace OCA\DAV\CalDAV\Publishing\Xml;
|
||||||
|
|
||||||
use OCA\DAV\CalDAV\Publishing\PublishPlugin as Plugin;
|
|
||||||
use Sabre\Xml\Writer;
|
use Sabre\Xml\Writer;
|
||||||
use Sabre\Xml\XmlSerializable;
|
use Sabre\Xml\XmlSerializable;
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,6 @@ namespace OCA\DAV\CalDAV\Schedule;
|
||||||
|
|
||||||
use OCP\ILogger;
|
use OCP\ILogger;
|
||||||
use OCP\Mail\IMailer;
|
use OCP\Mail\IMailer;
|
||||||
use Sabre\DAV;
|
|
||||||
use Sabre\VObject\ITip;
|
use Sabre\VObject\ITip;
|
||||||
use Sabre\CalDAV\Schedule\IMipPlugin as SabreIMipPlugin;
|
use Sabre\CalDAV\Schedule\IMipPlugin as SabreIMipPlugin;
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -22,7 +22,6 @@
|
||||||
namespace OCA\DAV\CardDAV\Xml;
|
namespace OCA\DAV\CardDAV\Xml;
|
||||||
|
|
||||||
use Sabre\Xml\XmlSerializable;
|
use Sabre\Xml\XmlSerializable;
|
||||||
use Sabre\Xml\Element;
|
|
||||||
use Sabre\Xml\Writer;
|
use Sabre\Xml\Writer;
|
||||||
|
|
||||||
class Groups implements XmlSerializable {
|
class Groups implements XmlSerializable {
|
||||||
|
|
|
@ -23,11 +23,6 @@
|
||||||
namespace OCA\DAV\Command;
|
namespace OCA\DAV\Command;
|
||||||
|
|
||||||
use OCA\DAV\CardDAV\CardDavBackend;
|
use OCA\DAV\CardDAV\CardDavBackend;
|
||||||
use OCA\DAV\Connector\Sabre\Principal;
|
|
||||||
use OCP\IConfig;
|
|
||||||
use OCP\IDBConnection;
|
|
||||||
use OCP\IGroupManager;
|
|
||||||
use OCP\ILogger;
|
|
||||||
use OCP\IUserManager;
|
use OCP\IUserManager;
|
||||||
use Symfony\Component\Console\Command\Command;
|
use Symfony\Component\Console\Command\Command;
|
||||||
use Symfony\Component\Console\Input\InputArgument;
|
use Symfony\Component\Console\Input\InputArgument;
|
||||||
|
|
|
@ -22,10 +22,8 @@
|
||||||
namespace OCA\DAV\Command;
|
namespace OCA\DAV\Command;
|
||||||
|
|
||||||
use OCA\DAV\CardDAV\SyncService;
|
use OCA\DAV\CardDAV\SyncService;
|
||||||
use OCP\IUserManager;
|
|
||||||
use Symfony\Component\Console\Command\Command;
|
use Symfony\Component\Console\Command\Command;
|
||||||
use Symfony\Component\Console\Helper\ProgressBar;
|
use Symfony\Component\Console\Helper\ProgressBar;
|
||||||
use Symfony\Component\Console\Input\InputArgument;
|
|
||||||
use Symfony\Component\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Component\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,6 @@ namespace OCA\DAV\Connector\Sabre;
|
||||||
use OCP\IConfig;
|
use OCP\IConfig;
|
||||||
use Sabre\HTTP\RequestInterface;
|
use Sabre\HTTP\RequestInterface;
|
||||||
use Sabre\DAV\ServerPlugin;
|
use Sabre\DAV\ServerPlugin;
|
||||||
use Sabre\DAV\Exception;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class BlockLegacyClientPlugin is used to detect old legacy sync clients and
|
* Class BlockLegacyClientPlugin is used to detect old legacy sync clients and
|
||||||
|
|
|
@ -22,7 +22,6 @@
|
||||||
namespace OCA\DAV\Connector\Sabre;
|
namespace OCA\DAV\Connector\Sabre;
|
||||||
|
|
||||||
use Sabre\Xml\XmlSerializable;
|
use Sabre\Xml\XmlSerializable;
|
||||||
use Sabre\Xml\Element;
|
|
||||||
use Sabre\Xml\Writer;
|
use Sabre\Xml\Writer;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -25,14 +25,8 @@ namespace OCA\DAV\Connector\Sabre;
|
||||||
|
|
||||||
use Sabre\CalDAV\Principal\User;
|
use Sabre\CalDAV\Principal\User;
|
||||||
use Sabre\DAV\Exception\NotFound;
|
use Sabre\DAV\Exception\NotFound;
|
||||||
use Sabre\DAV\IFile;
|
|
||||||
use Sabre\DAV\INode;
|
use Sabre\DAV\INode;
|
||||||
use \Sabre\DAV\PropFind;
|
use \Sabre\DAV\PropFind;
|
||||||
use \Sabre\DAV\PropPatch;
|
|
||||||
use Sabre\DAVACL\Exception\NeedPrivileges;
|
|
||||||
use \Sabre\HTTP\RequestInterface;
|
|
||||||
use \Sabre\HTTP\ResponseInterface;
|
|
||||||
use Sabre\HTTP\URLUtil;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class DavAclPlugin is a wrapper around \Sabre\DAVACL\Plugin that returns 404
|
* Class DavAclPlugin is a wrapper around \Sabre\DAVACL\Plugin that returns 404
|
||||||
|
|
|
@ -31,7 +31,6 @@
|
||||||
namespace OCA\DAV\Connector\Sabre;
|
namespace OCA\DAV\Connector\Sabre;
|
||||||
|
|
||||||
use OC\Files\View;
|
use OC\Files\View;
|
||||||
use OCA\DAV\Upload\FutureFile;
|
|
||||||
use OCP\Files\ForbiddenException;
|
use OCP\Files\ForbiddenException;
|
||||||
use OCP\IPreview;
|
use OCP\IPreview;
|
||||||
use Sabre\DAV\Exception\Forbidden;
|
use Sabre\DAV\Exception\Forbidden;
|
||||||
|
@ -46,8 +45,6 @@ use \Sabre\HTTP\ResponseInterface;
|
||||||
use OCP\Files\StorageNotAvailableException;
|
use OCP\Files\StorageNotAvailableException;
|
||||||
use OCP\IConfig;
|
use OCP\IConfig;
|
||||||
use OCP\IRequest;
|
use OCP\IRequest;
|
||||||
use Sabre\DAV\Exception\BadRequest;
|
|
||||||
use OCA\DAV\Connector\Sabre\Directory;
|
|
||||||
|
|
||||||
class FilesPlugin extends ServerPlugin {
|
class FilesPlugin extends ServerPlugin {
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,6 @@
|
||||||
namespace OCA\DAV\Connector\Sabre;
|
namespace OCA\DAV\Connector\Sabre;
|
||||||
|
|
||||||
use OCA\DAV\Connector\Sabre\Exception\FileLocked;
|
use OCA\DAV\Connector\Sabre\Exception\FileLocked;
|
||||||
use OCA\DAV\Connector\Sabre\Node;
|
|
||||||
use OCP\Lock\ILockingProvider;
|
use OCP\Lock\ILockingProvider;
|
||||||
use OCP\Lock\LockedException;
|
use OCP\Lock\LockedException;
|
||||||
use Sabre\DAV\Exception\NotFound;
|
use Sabre\DAV\Exception\NotFound;
|
||||||
|
|
|
@ -22,10 +22,8 @@
|
||||||
namespace OCA\DAV\Connector\Sabre;
|
namespace OCA\DAV\Connector\Sabre;
|
||||||
|
|
||||||
use \Sabre\DAV\PropFind;
|
use \Sabre\DAV\PropFind;
|
||||||
use \Sabre\DAV\PropPatch;
|
|
||||||
use OCP\IUserSession;
|
use OCP\IUserSession;
|
||||||
use OCP\Share\IShare;
|
use OCP\Share\IShare;
|
||||||
use OCA\DAV\Connector\Sabre\ShareTypeList;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sabre Plugin to provide share-related properties
|
* Sabre Plugin to provide share-related properties
|
||||||
|
|
|
@ -25,7 +25,6 @@ namespace OCA\DAV\DAV\Sharing;
|
||||||
use OCA\DAV\Connector\Sabre\Auth;
|
use OCA\DAV\Connector\Sabre\Auth;
|
||||||
use OCA\DAV\DAV\Sharing\Xml\Invite;
|
use OCA\DAV\DAV\Sharing\Xml\Invite;
|
||||||
use OCP\IRequest;
|
use OCP\IRequest;
|
||||||
use Sabre\DAV\Exception\BadRequest;
|
|
||||||
use Sabre\DAV\Exception\NotFound;
|
use Sabre\DAV\Exception\NotFound;
|
||||||
use Sabre\DAV\INode;
|
use Sabre\DAV\INode;
|
||||||
use Sabre\DAV\PropFind;
|
use Sabre\DAV\PropFind;
|
||||||
|
|
|
@ -28,7 +28,6 @@ use OCP\IUser;
|
||||||
use OCP\IUserManager;
|
use OCP\IUserManager;
|
||||||
use OCP\Util;
|
use OCP\Util;
|
||||||
use Symfony\Component\EventDispatcher\EventDispatcher;
|
use Symfony\Component\EventDispatcher\EventDispatcher;
|
||||||
use Symfony\Component\EventDispatcher\GenericEvent;
|
|
||||||
|
|
||||||
class HookManager {
|
class HookManager {
|
||||||
|
|
||||||
|
|
|
@ -30,15 +30,12 @@ use Sabre\DAV\PropPatch;
|
||||||
use Sabre\DAV\Exception\BadRequest;
|
use Sabre\DAV\Exception\BadRequest;
|
||||||
use Sabre\DAV\Exception\Conflict;
|
use Sabre\DAV\Exception\Conflict;
|
||||||
use Sabre\DAV\Exception\Forbidden;
|
use Sabre\DAV\Exception\Forbidden;
|
||||||
use Sabre\DAV\Exception\NotFound;
|
|
||||||
use Sabre\DAV\Exception\UnsupportedMediaType;
|
use Sabre\DAV\Exception\UnsupportedMediaType;
|
||||||
|
|
||||||
use OCP\SystemTag\ISystemTag;
|
use OCP\SystemTag\ISystemTag;
|
||||||
use OCP\SystemTag\ISystemTagManager;
|
use OCP\SystemTag\ISystemTagManager;
|
||||||
use OCP\SystemTag\TagAlreadyExistsException;
|
use OCP\SystemTag\TagAlreadyExistsException;
|
||||||
use Sabre\HTTP\RequestInterface;
|
use Sabre\HTTP\RequestInterface;
|
||||||
use Sabre\HTTP\ResponseInterface;
|
use Sabre\HTTP\ResponseInterface;
|
||||||
use OCA\DAV\SystemTag\SystemTagMappingNode;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sabre plugin to handle system tags:
|
* Sabre plugin to handle system tags:
|
||||||
|
|
|
@ -27,13 +27,11 @@ use Sabre\DAV\Exception\Forbidden;
|
||||||
use Sabre\DAV\Exception\NotFound;
|
use Sabre\DAV\Exception\NotFound;
|
||||||
use Sabre\DAV\Exception\BadRequest;
|
use Sabre\DAV\Exception\BadRequest;
|
||||||
use Sabre\DAV\ICollection;
|
use Sabre\DAV\ICollection;
|
||||||
|
|
||||||
use OCP\SystemTag\ISystemTagManager;
|
use OCP\SystemTag\ISystemTagManager;
|
||||||
use OCP\SystemTag\ISystemTag;
|
use OCP\SystemTag\ISystemTag;
|
||||||
use OCP\SystemTag\TagNotFoundException;
|
use OCP\SystemTag\TagNotFoundException;
|
||||||
use OCP\IGroupManager;
|
use OCP\IGroupManager;
|
||||||
use OCP\IUserSession;
|
use OCP\IUserSession;
|
||||||
use OC\User\NoUserException;
|
|
||||||
|
|
||||||
class SystemTagsByIdCollection implements ICollection {
|
class SystemTagsByIdCollection implements ICollection {
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,6 @@ use Sabre\DAV\Exception\NotFound;
|
||||||
use Sabre\DAV\Exception\BadRequest;
|
use Sabre\DAV\Exception\BadRequest;
|
||||||
use Sabre\DAV\Exception\PreconditionFailed;
|
use Sabre\DAV\Exception\PreconditionFailed;
|
||||||
use Sabre\DAV\ICollection;
|
use Sabre\DAV\ICollection;
|
||||||
|
|
||||||
use OCP\SystemTag\ISystemTagManager;
|
use OCP\SystemTag\ISystemTagManager;
|
||||||
use OCP\SystemTag\ISystemTagObjectMapper;
|
use OCP\SystemTag\ISystemTagObjectMapper;
|
||||||
use OCP\SystemTag\ISystemTag;
|
use OCP\SystemTag\ISystemTag;
|
||||||
|
|
|
@ -28,7 +28,6 @@ use Sabre\DAV\Exception\Forbidden;
|
||||||
use Sabre\DAV\Exception\MethodNotAllowed;
|
use Sabre\DAV\Exception\MethodNotAllowed;
|
||||||
use Sabre\DAV\Exception\NotFound;
|
use Sabre\DAV\Exception\NotFound;
|
||||||
use Sabre\DAV\ICollection;
|
use Sabre\DAV\ICollection;
|
||||||
|
|
||||||
use OCP\SystemTag\ISystemTagManager;
|
use OCP\SystemTag\ISystemTagManager;
|
||||||
use OCP\SystemTag\ISystemTagObjectMapper;
|
use OCP\SystemTag\ISystemTagObjectMapper;
|
||||||
use OCP\IUserSession;
|
use OCP\IUserSession;
|
||||||
|
|
|
@ -23,7 +23,6 @@
|
||||||
namespace OCA\DAV\Upload;
|
namespace OCA\DAV\Upload;
|
||||||
|
|
||||||
use OCA\DAV\Connector\Sabre\Directory;
|
use OCA\DAV\Connector\Sabre\Directory;
|
||||||
use OCA\DAV\Upload\AssemblyStream;
|
|
||||||
use Sabre\DAV\Exception\Forbidden;
|
use Sabre\DAV\Exception\Forbidden;
|
||||||
use Sabre\DAV\IFile;
|
use Sabre\DAV\IFile;
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,6 @@ use OCA\DAV\CardDAV\Converter;
|
||||||
use OCP\IDBConnection;
|
use OCP\IDBConnection;
|
||||||
use OCP\IImage;
|
use OCP\IImage;
|
||||||
use OCP\IUser;
|
use OCP\IUser;
|
||||||
use OpenCloud\ObjectStore\Resource\Account;
|
|
||||||
use PHPUnit_Framework_MockObject_MockObject;
|
use PHPUnit_Framework_MockObject_MockObject;
|
||||||
use Symfony\Component\EventDispatcher\EventDispatcher;
|
use Symfony\Component\EventDispatcher\EventDispatcher;
|
||||||
use Test\TestCase;
|
use Test\TestCase;
|
||||||
|
|
|
@ -26,7 +26,6 @@
|
||||||
namespace OCA\DAV\Tests\unit\Comments;
|
namespace OCA\DAV\Tests\unit\Comments;
|
||||||
|
|
||||||
use OCA\DAV\Comments\CommentNode;
|
use OCA\DAV\Comments\CommentNode;
|
||||||
use OCP\Comments\IComment;
|
|
||||||
use OCP\Comments\ICommentsManager;
|
use OCP\Comments\ICommentsManager;
|
||||||
use OCP\Comments\MessageTooLongException;
|
use OCP\Comments\MessageTooLongException;
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,6 @@ namespace OCA\DAV\Tests\unit\Comments;
|
||||||
use OC\Comments\Comment;
|
use OC\Comments\Comment;
|
||||||
use OCA\DAV\Comments\CommentsPlugin as CommentsPluginImplementation;
|
use OCA\DAV\Comments\CommentsPlugin as CommentsPluginImplementation;
|
||||||
use OCP\Comments\IComment;
|
use OCP\Comments\IComment;
|
||||||
use Sabre\DAV\Exception\NotFound;
|
|
||||||
|
|
||||||
class CommentsPluginTest extends \Test\TestCase {
|
class CommentsPluginTest extends \Test\TestCase {
|
||||||
/** @var \Sabre\DAV\Server */
|
/** @var \Sabre\DAV\Server */
|
||||||
|
|
|
@ -26,7 +26,6 @@ namespace OCA\DAV\Tests\unit\Connector\Sabre;
|
||||||
use OCA\DAV\Connector\Sabre\Exception\InvalidPath;
|
use OCA\DAV\Connector\Sabre\Exception\InvalidPath;
|
||||||
use OCA\DAV\Connector\Sabre\ExceptionLoggerPlugin as PluginToTest;
|
use OCA\DAV\Connector\Sabre\ExceptionLoggerPlugin as PluginToTest;
|
||||||
use OC\Log;
|
use OC\Log;
|
||||||
use OCP\ILogger;
|
|
||||||
use PHPUnit_Framework_MockObject_MockObject;
|
use PHPUnit_Framework_MockObject_MockObject;
|
||||||
use Sabre\DAV\Exception\NotFound;
|
use Sabre\DAV\Exception\NotFound;
|
||||||
use Sabre\DAV\Server;
|
use Sabre\DAV\Server;
|
||||||
|
|
|
@ -28,7 +28,6 @@ use OCA\DAV\Connector\Sabre\FilesReportPlugin as FilesReportPluginImplementation
|
||||||
use OCP\IPreview;
|
use OCP\IPreview;
|
||||||
use OCP\ITagManager;
|
use OCP\ITagManager;
|
||||||
use OCP\IUserSession;
|
use OCP\IUserSession;
|
||||||
use Sabre\DAV\Exception\NotFound;
|
|
||||||
use OCP\SystemTag\ISystemTagObjectMapper;
|
use OCP\SystemTag\ISystemTagObjectMapper;
|
||||||
use OC\Files\View;
|
use OC\Files\View;
|
||||||
use OCP\Files\Folder;
|
use OCP\Files\Folder;
|
||||||
|
|
|
@ -22,9 +22,7 @@
|
||||||
|
|
||||||
namespace OCA\DAV\Tests\unit\Connector\Sabre\RequestTest;
|
namespace OCA\DAV\Tests\unit\Connector\Sabre\RequestTest;
|
||||||
|
|
||||||
use OC\Connector\Sabre\Exception\FileLocked;
|
|
||||||
use OCP\AppFramework\Http;
|
use OCP\AppFramework\Http;
|
||||||
use OCP\Lock\ILockingProvider;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class DeleteTest
|
* Class DeleteTest
|
||||||
|
|
|
@ -24,8 +24,6 @@
|
||||||
|
|
||||||
namespace OCA\DAV\Tests\unit\Connector\Sabre\RequestTest;
|
namespace OCA\DAV\Tests\unit\Connector\Sabre\RequestTest;
|
||||||
|
|
||||||
use Sabre\DAV\Exception;
|
|
||||||
|
|
||||||
class ExceptionPlugin extends \OCA\DAV\Connector\Sabre\ExceptionLoggerPlugin {
|
class ExceptionPlugin extends \OCA\DAV\Connector\Sabre\ExceptionLoggerPlugin {
|
||||||
/**
|
/**
|
||||||
* @var \Exception[]
|
* @var \Exception[]
|
||||||
|
|
|
@ -24,9 +24,6 @@
|
||||||
|
|
||||||
namespace OCA\DAV\Tests\unit\Connector\Sabre\RequestTest;
|
namespace OCA\DAV\Tests\unit\Connector\Sabre\RequestTest;
|
||||||
|
|
||||||
use OC\Files\View;
|
|
||||||
use Test\Traits\EncryptionTrait;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class PartFileInRootUploadTest
|
* Class PartFileInRootUploadTest
|
||||||
*
|
*
|
||||||
|
|
|
@ -28,11 +28,7 @@ namespace OCA\DAV\Tests\unit\Connector\Sabre\RequestTest;
|
||||||
|
|
||||||
use OCA\DAV\Connector\Sabre\Server;
|
use OCA\DAV\Connector\Sabre\Server;
|
||||||
use OCA\DAV\Connector\Sabre\ServerFactory;
|
use OCA\DAV\Connector\Sabre\ServerFactory;
|
||||||
use OC\Files\Mount\MountPoint;
|
|
||||||
use OC\Files\Storage\StorageFactory;
|
|
||||||
use OC\Files\Storage\Temporary;
|
|
||||||
use OC\Files\View;
|
use OC\Files\View;
|
||||||
use OCP\IUser;
|
|
||||||
use Sabre\HTTP\Request;
|
use Sabre\HTTP\Request;
|
||||||
use Test\TestCase;
|
use Test\TestCase;
|
||||||
use Test\Traits\MountProviderTrait;
|
use Test\Traits\MountProviderTrait;
|
||||||
|
|
|
@ -23,7 +23,6 @@
|
||||||
|
|
||||||
namespace OCA\DAV\Tests\unit\DAV;
|
namespace OCA\DAV\Tests\unit\DAV;
|
||||||
|
|
||||||
use OCA\DAV\CalDAV\BirthdayService;
|
|
||||||
use OCA\DAV\CalDAV\CalDavBackend;
|
use OCA\DAV\CalDAV\CalDavBackend;
|
||||||
use OCA\DAV\CardDAV\CardDavBackend;
|
use OCA\DAV\CardDAV\CardDavBackend;
|
||||||
use OCA\DAV\CardDAV\SyncService;
|
use OCA\DAV\CardDAV\SyncService;
|
||||||
|
@ -31,7 +30,7 @@ use OCA\DAV\HookManager;
|
||||||
use OCP\IL10N;
|
use OCP\IL10N;
|
||||||
use OCP\IUser;
|
use OCP\IUser;
|
||||||
use OCP\IUserManager;
|
use OCP\IUserManager;
|
||||||
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
use Symfony\Component\EventDispatcher\EventDispatcher;
|
||||||
use Test\TestCase;
|
use Test\TestCase;
|
||||||
|
|
||||||
class HookManagerTest extends TestCase {
|
class HookManagerTest extends TestCase {
|
||||||
|
|
|
@ -24,7 +24,6 @@
|
||||||
|
|
||||||
namespace OCA\DAV\Tests\unit\SystemTag;
|
namespace OCA\DAV\Tests\unit\SystemTag;
|
||||||
|
|
||||||
use Sabre\DAV\Exception\NotFound;
|
|
||||||
use OC\SystemTag\SystemTag;
|
use OC\SystemTag\SystemTag;
|
||||||
use OCP\SystemTag\TagNotFoundException;
|
use OCP\SystemTag\TagNotFoundException;
|
||||||
use OCP\SystemTag\ISystemTag;
|
use OCP\SystemTag\ISystemTag;
|
||||||
|
|
|
@ -29,7 +29,6 @@ use OC\Files\Filesystem;
|
||||||
use OC\HintException;
|
use OC\HintException;
|
||||||
use OC\Share\Helper;
|
use OC\Share\Helper;
|
||||||
use OCA\FederatedFileSharing\AddressHandler;
|
use OCA\FederatedFileSharing\AddressHandler;
|
||||||
use OCA\FederatedFileSharing\DiscoveryManager;
|
|
||||||
use OCA\FederatedFileSharing\FederatedShareProvider;
|
use OCA\FederatedFileSharing\FederatedShareProvider;
|
||||||
use OCA\Files_Sharing\External\Manager;
|
use OCA\Files_Sharing\External\Manager;
|
||||||
use OCP\AppFramework\Controller;
|
use OCP\AppFramework\Controller;
|
||||||
|
|
|
@ -26,7 +26,6 @@
|
||||||
|
|
||||||
namespace OCA\FederatedFileSharing\Controller;
|
namespace OCA\FederatedFileSharing\Controller;
|
||||||
|
|
||||||
use OCA\FederatedFileSharing\DiscoveryManager;
|
|
||||||
use OCA\Files_Sharing\Activity\Providers\RemoteShares;
|
use OCA\Files_Sharing\Activity\Providers\RemoteShares;
|
||||||
use OCA\FederatedFileSharing\AddressHandler;
|
use OCA\FederatedFileSharing\AddressHandler;
|
||||||
use OCA\FederatedFileSharing\FederatedShareProvider;
|
use OCA\FederatedFileSharing\FederatedShareProvider;
|
||||||
|
|
|
@ -24,17 +24,13 @@
|
||||||
|
|
||||||
namespace OCA\Federation\AppInfo;
|
namespace OCA\Federation\AppInfo;
|
||||||
|
|
||||||
use OCA\Federation\API\OCSAuthAPI;
|
|
||||||
use OCA\Federation\Controller\SettingsController;
|
use OCA\Federation\Controller\SettingsController;
|
||||||
use OCA\Federation\DAV\FedAuth;
|
use OCA\Federation\DAV\FedAuth;
|
||||||
use OCA\Federation\DbHandler;
|
use OCA\Federation\DbHandler;
|
||||||
use OCA\Federation\Hooks;
|
use OCA\Federation\Hooks;
|
||||||
use OCA\Federation\Middleware\AddServerMiddleware;
|
use OCA\Federation\Middleware\AddServerMiddleware;
|
||||||
use OCA\Federation\SyncFederationAddressBooks;
|
use OCA\Federation\SyncFederationAddressBooks;
|
||||||
use OCA\Federation\SyncJob;
|
|
||||||
use OCA\Federation\TrustedServers;
|
use OCA\Federation\TrustedServers;
|
||||||
use OCP\API;
|
|
||||||
use OCP\App;
|
|
||||||
use OCP\AppFramework\IAppContainer;
|
use OCP\AppFramework\IAppContainer;
|
||||||
use OCP\SabrePluginEvent;
|
use OCP\SabrePluginEvent;
|
||||||
use OCP\Util;
|
use OCP\Util;
|
||||||
|
|
|
@ -23,7 +23,6 @@
|
||||||
*/
|
*/
|
||||||
namespace OCA\Federation\Command;
|
namespace OCA\Federation\Command;
|
||||||
|
|
||||||
use OCA\Federation\DbHandler;
|
|
||||||
use Symfony\Component\Console\Command\Command;
|
use Symfony\Component\Console\Command\Command;
|
||||||
use Symfony\Component\Console\Helper\ProgressBar;
|
use Symfony\Component\Console\Helper\ProgressBar;
|
||||||
use Symfony\Component\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
|
|
|
@ -23,8 +23,6 @@
|
||||||
|
|
||||||
namespace OCA\Files\Command;
|
namespace OCA\Files\Command;
|
||||||
|
|
||||||
use Doctrine\DBAL\Platforms\PostgreSqlPlatform;
|
|
||||||
use Doctrine\DBAL\Platforms\SqlitePlatform;
|
|
||||||
use OCP\IDBConnection;
|
use OCP\IDBConnection;
|
||||||
use Symfony\Component\Console\Command\Command;
|
use Symfony\Component\Console\Command\Command;
|
||||||
use Symfony\Component\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
|
|
|
@ -12,8 +12,6 @@ use OCP\Files\NotFoundException;
|
||||||
use OCP\Files\StorageNotAvailableException;
|
use OCP\Files\StorageNotAvailableException;
|
||||||
use OCP\IConfig;
|
use OCP\IConfig;
|
||||||
use OCP\IDBConnection;
|
use OCP\IDBConnection;
|
||||||
use OCP\IUserManager;
|
|
||||||
use Symfony\Component\Console\Input\InputArgument;
|
|
||||||
use Symfony\Component\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Component\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Symfony\Component\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
|
|
|
@ -35,7 +35,6 @@ use OCP\Files\IRootFolder;
|
||||||
use OCP\Files\NotFoundException;
|
use OCP\Files\NotFoundException;
|
||||||
use OCP\IConfig;
|
use OCP\IConfig;
|
||||||
use OCP\IL10N;
|
use OCP\IL10N;
|
||||||
use OCP\INavigationManager;
|
|
||||||
use OCP\IRequest;
|
use OCP\IRequest;
|
||||||
use OCP\IURLGenerator;
|
use OCP\IURLGenerator;
|
||||||
use OCP\IUserSession;
|
use OCP\IUserSession;
|
||||||
|
|
|
@ -26,7 +26,6 @@
|
||||||
|
|
||||||
namespace OCA\Files\Controller;
|
namespace OCA\Files\Controller;
|
||||||
|
|
||||||
use OC\Files\FileInfo;
|
|
||||||
use OCP\AppFramework\Http;
|
use OCP\AppFramework\Http;
|
||||||
use OCP\Files\File;
|
use OCP\Files\File;
|
||||||
use OCP\Files\Folder;
|
use OCP\Files\Folder;
|
||||||
|
@ -42,7 +41,6 @@ use OCP\IRequest;
|
||||||
use OCA\Files\Service\TagService;
|
use OCA\Files\Service\TagService;
|
||||||
use OCP\AppFramework\Http\DataResponse;
|
use OCP\AppFramework\Http\DataResponse;
|
||||||
use OCP\IPreview;
|
use OCP\IPreview;
|
||||||
use OCP\Image;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class ApiController
|
* Class ApiController
|
||||||
|
|
|
@ -23,11 +23,8 @@
|
||||||
namespace OCA\Files_External\Lib\Backend;
|
namespace OCA\Files_External\Lib\Backend;
|
||||||
|
|
||||||
use \OCP\IL10N;
|
use \OCP\IL10N;
|
||||||
use \OCA\Files_External\Lib\Backend\Backend;
|
|
||||||
use \OCA\Files_External\Lib\DefinitionParameter;
|
use \OCA\Files_External\Lib\DefinitionParameter;
|
||||||
use \OCA\Files_External\Lib\Auth\AuthMechanism;
|
use \OCA\Files_External\Lib\Auth\AuthMechanism;
|
||||||
use \OCA\Files_External\Service\BackendService;
|
|
||||||
|
|
||||||
use \OCA\Files_External\Lib\Auth\Password\Password;
|
use \OCA\Files_External\Lib\Auth\Password\Password;
|
||||||
|
|
||||||
class SFTP extends Backend {
|
class SFTP extends Backend {
|
||||||
|
|
|
@ -33,7 +33,6 @@
|
||||||
*/
|
*/
|
||||||
namespace OCA\Files_External\Lib\Storage;
|
namespace OCA\Files_External\Lib\Storage;
|
||||||
use Icewind\Streams\IteratorDirectory;
|
use Icewind\Streams\IteratorDirectory;
|
||||||
|
|
||||||
use Icewind\Streams\RetryWrapper;
|
use Icewind\Streams\RetryWrapper;
|
||||||
use phpseclib\Net\SFTP\Stream;
|
use phpseclib\Net\SFTP\Stream;
|
||||||
|
|
||||||
|
|
|
@ -31,14 +31,11 @@
|
||||||
|
|
||||||
namespace OCA\Files_External\Lib\Storage;
|
namespace OCA\Files_External\Lib\Storage;
|
||||||
|
|
||||||
use Icewind\SMB\Change;
|
|
||||||
use Icewind\SMB\Exception\ConnectException;
|
use Icewind\SMB\Exception\ConnectException;
|
||||||
use Icewind\SMB\Exception\Exception;
|
use Icewind\SMB\Exception\Exception;
|
||||||
use Icewind\SMB\Exception\ForbiddenException;
|
use Icewind\SMB\Exception\ForbiddenException;
|
||||||
use Icewind\SMB\Exception\NotFoundException;
|
use Icewind\SMB\Exception\NotFoundException;
|
||||||
use Icewind\SMB\INotifyHandler;
|
|
||||||
use Icewind\SMB\IFileInfo;
|
use Icewind\SMB\IFileInfo;
|
||||||
use Icewind\SMB\IShare;
|
|
||||||
use Icewind\SMB\NativeServer;
|
use Icewind\SMB\NativeServer;
|
||||||
use Icewind\SMB\Server;
|
use Icewind\SMB\Server;
|
||||||
use Icewind\Streams\CallbackWrapper;
|
use Icewind\Streams\CallbackWrapper;
|
||||||
|
|
|
@ -27,7 +27,6 @@
|
||||||
|
|
||||||
namespace OCA\Files_Sharing\AppInfo;
|
namespace OCA\Files_Sharing\AppInfo;
|
||||||
|
|
||||||
use OCA\FederatedFileSharing\DiscoveryManager;
|
|
||||||
use OCA\Files_Sharing\Middleware\OCSShareAPIMiddleware;
|
use OCA\Files_Sharing\Middleware\OCSShareAPIMiddleware;
|
||||||
use OCA\Files_Sharing\MountProvider;
|
use OCA\Files_Sharing\MountProvider;
|
||||||
use OCP\AppFramework\App;
|
use OCP\AppFramework\App;
|
||||||
|
|
|
@ -29,7 +29,6 @@ namespace OCA\Files_Sharing;
|
||||||
|
|
||||||
use OC\Files\Cache\Wrapper\CacheJail;
|
use OC\Files\Cache\Wrapper\CacheJail;
|
||||||
use OCP\Files\Cache\ICacheEntry;
|
use OCP\Files\Cache\ICacheEntry;
|
||||||
use OCP\Files\Storage\IStorage;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Metadata cache for shared files
|
* Metadata cache for shared files
|
||||||
|
|
|
@ -30,7 +30,6 @@
|
||||||
namespace OCA\Files_Sharing\External;
|
namespace OCA\Files_Sharing\External;
|
||||||
|
|
||||||
use OC\Files\Filesystem;
|
use OC\Files\Filesystem;
|
||||||
use OCA\FederatedFileSharing\DiscoveryManager;
|
|
||||||
use OCP\Files;
|
use OCP\Files;
|
||||||
use OCP\Files\Storage\IStorageFactory;
|
use OCP\Files\Storage\IStorageFactory;
|
||||||
use OCP\Http\Client\IClientService;
|
use OCP\Http\Client\IClientService;
|
||||||
|
|
|
@ -32,7 +32,6 @@ use GuzzleHttp\Exception\ClientException;
|
||||||
use GuzzleHttp\Exception\ConnectException;
|
use GuzzleHttp\Exception\ConnectException;
|
||||||
use OC\Files\Storage\DAV;
|
use OC\Files\Storage\DAV;
|
||||||
use OC\ForbiddenException;
|
use OC\ForbiddenException;
|
||||||
use OCA\FederatedFileSharing\DiscoveryManager;
|
|
||||||
use OCA\Files_Sharing\ISharedStorage;
|
use OCA\Files_Sharing\ISharedStorage;
|
||||||
use OCP\AppFramework\Http;
|
use OCP\AppFramework\Http;
|
||||||
use OCP\Federation\ICloudId;
|
use OCP\Federation\ICloudId;
|
||||||
|
|
|
@ -24,7 +24,6 @@
|
||||||
|
|
||||||
namespace OCA\Files_Trashbin\BackgroundJob;
|
namespace OCA\Files_Trashbin\BackgroundJob;
|
||||||
|
|
||||||
use OCP\IConfig;
|
|
||||||
use OCP\IUser;
|
use OCP\IUser;
|
||||||
use OCP\IUserManager;
|
use OCP\IUserManager;
|
||||||
use OCA\Files_Trashbin\AppInfo\Application;
|
use OCA\Files_Trashbin\AppInfo\Application;
|
||||||
|
|
|
@ -28,7 +28,6 @@ namespace OCA\Provisioning_API\Controller;
|
||||||
use \OC_App;
|
use \OC_App;
|
||||||
use OCP\App\AppPathNotFoundException;
|
use OCP\App\AppPathNotFoundException;
|
||||||
use OCP\App\IAppManager;
|
use OCP\App\IAppManager;
|
||||||
use OCP\AppFramework\Http;
|
|
||||||
use OCP\AppFramework\Http\DataResponse;
|
use OCP\AppFramework\Http\DataResponse;
|
||||||
use OCP\AppFramework\OCS\OCSException;
|
use OCP\AppFramework\OCS\OCSException;
|
||||||
use OCP\AppFramework\OCSController;
|
use OCP\AppFramework\OCSController;
|
||||||
|
|
|
@ -23,7 +23,6 @@
|
||||||
namespace OCA\Testing\Locking;
|
namespace OCA\Testing\Locking;
|
||||||
|
|
||||||
use OC\Lock\DBLockingProvider;
|
use OC\Lock\DBLockingProvider;
|
||||||
use OC\Lock\MemcacheLockingProvider;
|
|
||||||
use OC\User\NoUserException;
|
use OC\User\NoUserException;
|
||||||
use OCP\AppFramework\Http;
|
use OCP\AppFramework\Http;
|
||||||
use OCP\Files\NotFoundException;
|
use OCP\Files\NotFoundException;
|
||||||
|
|
|
@ -33,7 +33,6 @@ use Symfony\Component\Console\Helper\ProgressBar;
|
||||||
use Symfony\Component\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Component\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Symfony\Component\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Symfony\Component\EventDispatcher\EventDispatcher;
|
|
||||||
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||||
use Symfony\Component\EventDispatcher\GenericEvent;
|
use Symfony\Component\EventDispatcher\GenericEvent;
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,6 @@
|
||||||
|
|
||||||
namespace OC\Core\Controller;
|
namespace OC\Core\Controller;
|
||||||
|
|
||||||
use OCA\Encryption\Exceptions\PrivateKeyMissingException;
|
|
||||||
use \OCP\AppFramework\Controller;
|
use \OCP\AppFramework\Controller;
|
||||||
use OCP\AppFramework\Http\JSONResponse;
|
use OCP\AppFramework\Http\JSONResponse;
|
||||||
use \OCP\AppFramework\Http\TemplateResponse;
|
use \OCP\AppFramework\Http\TemplateResponse;
|
||||||
|
|
|
@ -26,8 +26,6 @@ namespace OC\App\CodeChecker;
|
||||||
|
|
||||||
use OC\Hooks\BasicEmitter;
|
use OC\Hooks\BasicEmitter;
|
||||||
use PhpParser\Lexer;
|
use PhpParser\Lexer;
|
||||||
use PhpParser\Node;
|
|
||||||
use PhpParser\Node\Name;
|
|
||||||
use PhpParser\NodeTraverser;
|
use PhpParser\NodeTraverser;
|
||||||
use PhpParser\Parser;
|
use PhpParser\Parser;
|
||||||
use RecursiveCallbackFilterIterator;
|
use RecursiveCallbackFilterIterator;
|
||||||
|
|
|
@ -24,7 +24,6 @@
|
||||||
|
|
||||||
namespace OC\App;
|
namespace OC\App;
|
||||||
|
|
||||||
use OC_Util;
|
|
||||||
use OCP\IConfig;
|
use OCP\IConfig;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -28,7 +28,6 @@
|
||||||
namespace OC\AppFramework;
|
namespace OC\AppFramework;
|
||||||
|
|
||||||
use OC\AppFramework\Http\Dispatcher;
|
use OC\AppFramework\Http\Dispatcher;
|
||||||
use OC_App;
|
|
||||||
use OC\AppFramework\DependencyInjection\DIContainer;
|
use OC\AppFramework\DependencyInjection\DIContainer;
|
||||||
use OCP\AppFramework\Http;
|
use OCP\AppFramework\Http;
|
||||||
use OCP\AppFramework\QueryException;
|
use OCP\AppFramework\QueryException;
|
||||||
|
|
|
@ -25,7 +25,6 @@ use OC\AppFramework\Utility\ControllerMethodReflector;
|
||||||
use OC\Security\RateLimiting\Exception\RateLimitExceededException;
|
use OC\Security\RateLimiting\Exception\RateLimitExceededException;
|
||||||
use OC\Security\RateLimiting\Limiter;
|
use OC\Security\RateLimiting\Limiter;
|
||||||
use OCP\AppFramework\Http\JSONResponse;
|
use OCP\AppFramework\Http\JSONResponse;
|
||||||
use OCP\AppFramework\Http\Response;
|
|
||||||
use OCP\AppFramework\Http\TemplateResponse;
|
use OCP\AppFramework\Http\TemplateResponse;
|
||||||
use OCP\AppFramework\Middleware;
|
use OCP\AppFramework\Middleware;
|
||||||
use OCP\IRequest;
|
use OCP\IRequest;
|
||||||
|
|
|
@ -25,7 +25,6 @@
|
||||||
namespace OC\Comments;
|
namespace OC\Comments;
|
||||||
|
|
||||||
use Doctrine\DBAL\Exception\DriverException;
|
use Doctrine\DBAL\Exception\DriverException;
|
||||||
use Doctrine\DBAL\Platforms\MySqlPlatform;
|
|
||||||
use OCP\Comments\CommentsEvent;
|
use OCP\Comments\CommentsEvent;
|
||||||
use OCP\Comments\IComment;
|
use OCP\Comments\IComment;
|
||||||
use OCP\Comments\ICommentsEventHandler;
|
use OCP\Comments\ICommentsEventHandler;
|
||||||
|
|
|
@ -37,7 +37,6 @@ use Symfony\Component\Console\Application as SymfonyApplication;
|
||||||
use Symfony\Component\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Component\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Symfony\Component\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Symfony\Component\Console\Output\ConsoleOutputInterface;
|
|
||||||
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||||
|
|
||||||
class Application {
|
class Application {
|
||||||
|
|
|
@ -32,8 +32,6 @@
|
||||||
namespace OC\DB;
|
namespace OC\DB;
|
||||||
|
|
||||||
use Doctrine\DBAL\Platforms\AbstractPlatform;
|
use Doctrine\DBAL\Platforms\AbstractPlatform;
|
||||||
use Doctrine\DBAL\Schema\SchemaConfig;
|
|
||||||
use Doctrine\DBAL\Platforms\MySqlPlatform;
|
|
||||||
use Doctrine\DBAL\Schema\Schema;
|
use Doctrine\DBAL\Schema\Schema;
|
||||||
use OCP\IConfig;
|
use OCP\IConfig;
|
||||||
|
|
||||||
|
|
|
@ -22,12 +22,6 @@
|
||||||
namespace OC\DB\QueryBuilder\ExpressionBuilder;
|
namespace OC\DB\QueryBuilder\ExpressionBuilder;
|
||||||
|
|
||||||
|
|
||||||
use OC\DB\QueryBuilder\QueryFunction;
|
|
||||||
use OCP\DB\QueryBuilder\ILiteral;
|
|
||||||
use OCP\DB\QueryBuilder\IParameter;
|
|
||||||
use OCP\DB\QueryBuilder\IQueryBuilder;
|
|
||||||
use OCP\DB\QueryBuilder\IQueryFunction;
|
|
||||||
|
|
||||||
class SqliteExpressionBuilder extends ExpressionBuilder {
|
class SqliteExpressionBuilder extends ExpressionBuilder {
|
||||||
/**
|
/**
|
||||||
* @inheritdoc
|
* @inheritdoc
|
||||||
|
|
|
@ -31,7 +31,6 @@ use OC\Encryption\Exceptions\ModuleDoesNotExistsException;
|
||||||
use OC\Files\Filesystem;
|
use OC\Files\Filesystem;
|
||||||
use OC\Files\View;
|
use OC\Files\View;
|
||||||
use OCP\Encryption\IEncryptionModule;
|
use OCP\Encryption\IEncryptionModule;
|
||||||
use OCP\Files\Storage;
|
|
||||||
use OCP\IConfig;
|
use OCP\IConfig;
|
||||||
|
|
||||||
class Util {
|
class Util {
|
||||||
|
|
|
@ -40,7 +40,6 @@ use OC\Hooks\BasicEmitter;
|
||||||
use OCP\Config;
|
use OCP\Config;
|
||||||
use OCP\Files\Cache\IScanner;
|
use OCP\Files\Cache\IScanner;
|
||||||
use OCP\Files\ForbiddenException;
|
use OCP\Files\ForbiddenException;
|
||||||
use OCP\Files\Storage\ILockingStorage;
|
|
||||||
use OCP\Lock\ILockingProvider;
|
use OCP\Lock\ILockingProvider;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -21,7 +21,6 @@
|
||||||
namespace OC\Files\Cache;
|
namespace OC\Files\Cache;
|
||||||
|
|
||||||
use OCP\DB\QueryBuilder\IQueryBuilder;
|
use OCP\DB\QueryBuilder\IQueryBuilder;
|
||||||
use OCP\Files\Mount\IMountPoint;
|
|
||||||
use OCP\IDBConnection;
|
use OCP\IDBConnection;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -22,10 +22,7 @@
|
||||||
|
|
||||||
namespace OC\Files\Config;
|
namespace OC\Files\Config;
|
||||||
|
|
||||||
use OC\Files\Filesystem;
|
|
||||||
use OCP\Files\Config\ICachedMountInfo;
|
|
||||||
use OCP\Files\Mount\IMountPoint;
|
use OCP\Files\Mount\IMountPoint;
|
||||||
use OCP\Files\Node;
|
|
||||||
use OCP\IUser;
|
use OCP\IUser;
|
||||||
|
|
||||||
class LazyStorageMountInfo extends CachedMountInfo {
|
class LazyStorageMountInfo extends CachedMountInfo {
|
||||||
|
|
|
@ -24,14 +24,11 @@
|
||||||
|
|
||||||
namespace OC\Files\Config;
|
namespace OC\Files\Config;
|
||||||
|
|
||||||
use Doctrine\DBAL\Exception\UniqueConstraintViolationException;
|
|
||||||
use OC\Files\Filesystem;
|
|
||||||
use OCA\Files_Sharing\SharedMount;
|
use OCA\Files_Sharing\SharedMount;
|
||||||
use OCP\DB\QueryBuilder\IQueryBuilder;
|
use OCP\DB\QueryBuilder\IQueryBuilder;
|
||||||
use OCP\Files\Config\ICachedMountInfo;
|
use OCP\Files\Config\ICachedMountInfo;
|
||||||
use OCP\Files\Config\IUserMountCache;
|
use OCP\Files\Config\IUserMountCache;
|
||||||
use OCP\Files\Mount\IMountPoint;
|
use OCP\Files\Mount\IMountPoint;
|
||||||
use OCP\Files\Node;
|
|
||||||
use OCP\Files\NotFoundException;
|
use OCP\Files\NotFoundException;
|
||||||
use OCP\ICache;
|
use OCP\ICache;
|
||||||
use OCP\IDBConnection;
|
use OCP\IDBConnection;
|
||||||
|
|
|
@ -32,8 +32,6 @@ namespace OC\Files;
|
||||||
|
|
||||||
use OCP\Files\Cache\ICacheEntry;
|
use OCP\Files\Cache\ICacheEntry;
|
||||||
use OCP\Files\Mount\IMountPoint;
|
use OCP\Files\Mount\IMountPoint;
|
||||||
use OCP\Files\Storage\IStorage;
|
|
||||||
use OCP\Files\IHomeStorage;
|
|
||||||
use OCP\IUser;
|
use OCP\IUser;
|
||||||
|
|
||||||
class FileInfo implements \OCP\Files\FileInfo, \ArrayAccess {
|
class FileInfo implements \OCP\Files\FileInfo, \ArrayAccess {
|
||||||
|
|
|
@ -64,7 +64,6 @@ use OC\Files\Mount\MountPoint;
|
||||||
use OC\Files\Storage\StorageFactory;
|
use OC\Files\Storage\StorageFactory;
|
||||||
use OC\Lockdown\Filesystem\NullStorage;
|
use OC\Lockdown\Filesystem\NullStorage;
|
||||||
use OCP\Files\Config\IMountProvider;
|
use OCP\Files\Config\IMountProvider;
|
||||||
use OCP\Files\Mount\IMountPoint;
|
|
||||||
use OCP\Files\NotFoundException;
|
use OCP\Files\NotFoundException;
|
||||||
use OCP\IUserManager;
|
use OCP\IUserManager;
|
||||||
|
|
||||||
|
|
|
@ -21,9 +21,7 @@
|
||||||
*/
|
*/
|
||||||
namespace OC\Files\Node;
|
namespace OC\Files\Node;
|
||||||
|
|
||||||
use OC\Files\Mount\MountPoint;
|
|
||||||
use OCP\Files\IRootFolder;
|
use OCP\Files\IRootFolder;
|
||||||
use OCP\Files\NotPermittedException;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class LazyRoot
|
* Class LazyRoot
|
||||||
|
|
|
@ -28,7 +28,6 @@ use Guzzle\Http\Exception\ClientErrorResponseException;
|
||||||
use OCP\Files\ObjectStore\IObjectStore;
|
use OCP\Files\ObjectStore\IObjectStore;
|
||||||
use OCP\Files\StorageAuthException;
|
use OCP\Files\StorageAuthException;
|
||||||
use OCP\Files\StorageNotAvailableException;
|
use OCP\Files\StorageNotAvailableException;
|
||||||
use OpenCloud\Common\Exceptions\EndpointError;
|
|
||||||
use OpenCloud\Common\Service\Catalog;
|
use OpenCloud\Common\Service\Catalog;
|
||||||
use OpenCloud\Common\Service\CatalogItem;
|
use OpenCloud\Common\Service\CatalogItem;
|
||||||
use OpenCloud\Identity\Resource\Token;
|
use OpenCloud\Identity\Resource\Token;
|
||||||
|
|
|
@ -38,12 +38,10 @@ use GuzzleHttp\Exception\RequestException;
|
||||||
use GuzzleHttp\Message\ResponseInterface;
|
use GuzzleHttp\Message\ResponseInterface;
|
||||||
use Icewind\Streams\CallbackWrapper;
|
use Icewind\Streams\CallbackWrapper;
|
||||||
use OC\Files\Filesystem;
|
use OC\Files\Filesystem;
|
||||||
use OC\Files\Stream\Close;
|
|
||||||
use Icewind\Streams\IteratorDirectory;
|
use Icewind\Streams\IteratorDirectory;
|
||||||
use OC\MemCache\ArrayCache;
|
use OC\MemCache\ArrayCache;
|
||||||
use OCP\AppFramework\Http;
|
use OCP\AppFramework\Http;
|
||||||
use OCP\Constants;
|
use OCP\Constants;
|
||||||
use OCP\Files;
|
|
||||||
use OCP\Files\FileInfo;
|
use OCP\Files\FileInfo;
|
||||||
use OCP\Files\StorageInvalidException;
|
use OCP\Files\StorageInvalidException;
|
||||||
use OCP\Files\StorageNotAvailableException;
|
use OCP\Files\StorageNotAvailableException;
|
||||||
|
|
|
@ -24,7 +24,6 @@ namespace OC\Files\Type;
|
||||||
|
|
||||||
use OCP\Files\IMimeTypeLoader;
|
use OCP\Files\IMimeTypeLoader;
|
||||||
use OCP\IDBConnection;
|
use OCP\IDBConnection;
|
||||||
|
|
||||||
use Doctrine\DBAL\Exception\UniqueConstraintViolationException;
|
use Doctrine\DBAL\Exception\UniqueConstraintViolationException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -61,8 +61,6 @@ use OCP\Files\InvalidPathException;
|
||||||
use OCP\Files\Mount\IMountPoint;
|
use OCP\Files\Mount\IMountPoint;
|
||||||
use OCP\Files\NotFoundException;
|
use OCP\Files\NotFoundException;
|
||||||
use OCP\Files\ReservedWordException;
|
use OCP\Files\ReservedWordException;
|
||||||
use OCP\Files\UnseekableException;
|
|
||||||
use OCP\Files\Storage\ILockingStorage;
|
|
||||||
use OCP\IUser;
|
use OCP\IUser;
|
||||||
use OCP\Lock\ILockingProvider;
|
use OCP\Lock\ILockingProvider;
|
||||||
use OCP\Lock\LockedException;
|
use OCP\Lock\LockedException;
|
||||||
|
|
|
@ -46,7 +46,6 @@ use OC\App\AppStore\Fetcher\AppFetcher;
|
||||||
use OC\App\CodeChecker\CodeChecker;
|
use OC\App\CodeChecker\CodeChecker;
|
||||||
use OC\App\CodeChecker\EmptyCheck;
|
use OC\App\CodeChecker\EmptyCheck;
|
||||||
use OC\App\CodeChecker\PrivateCheck;
|
use OC\App\CodeChecker\PrivateCheck;
|
||||||
use OC\Archive\Archive;
|
|
||||||
use OC\Archive\TAR;
|
use OC\Archive\TAR;
|
||||||
use OC_App;
|
use OC_App;
|
||||||
use OC_DB;
|
use OC_DB;
|
||||||
|
|
|
@ -22,7 +22,6 @@ namespace OC\Lockdown\Filesystem;
|
||||||
use OC\Files\Cache\CacheEntry;
|
use OC\Files\Cache\CacheEntry;
|
||||||
use OCP\Constants;
|
use OCP\Constants;
|
||||||
use OCP\Files\Cache\ICache;
|
use OCP\Files\Cache\ICache;
|
||||||
use OCP\Files\Cache\ICacheEntry;
|
|
||||||
use OCP\Files\FileInfo;
|
use OCP\Files\FileInfo;
|
||||||
use OCP\Files\Search\ISearchQuery;
|
use OCP\Files\Search\ISearchQuery;
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,6 @@ namespace OC;
|
||||||
use InterfaSys\LogNormalizer\Normalizer;
|
use InterfaSys\LogNormalizer\Normalizer;
|
||||||
|
|
||||||
use \OCP\ILogger;
|
use \OCP\ILogger;
|
||||||
use OCP\Security\StringUtils;
|
|
||||||
use OCP\Util;
|
use OCP\Util;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -27,7 +27,6 @@ namespace OC\Repair;
|
||||||
|
|
||||||
use OCP\Migration\IOutput;
|
use OCP\Migration\IOutput;
|
||||||
use OCP\Migration\IRepairStep;
|
use OCP\Migration\IRepairStep;
|
||||||
use Doctrine\DBAL\Platforms\OraclePlatform;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Repairs shares with invalid data
|
* Repairs shares with invalid data
|
||||||
|
|
|
@ -25,7 +25,6 @@ namespace OC\Security;
|
||||||
use OCP\Security\ICrypto;
|
use OCP\Security\ICrypto;
|
||||||
use OCP\IDBConnection;
|
use OCP\IDBConnection;
|
||||||
use OCP\Security\ICredentialsManager;
|
use OCP\Security\ICredentialsManager;
|
||||||
use OCP\IConfig;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Store and retrieve credentials for external services
|
* Store and retrieve credentials for external services
|
||||||
|
|
|
@ -23,8 +23,6 @@
|
||||||
|
|
||||||
namespace OC\Security;
|
namespace OC\Security;
|
||||||
|
|
||||||
use RandomLib;
|
|
||||||
use Sabre\DAV\Exception;
|
|
||||||
use OCP\Security\ISecureRandom;
|
use OCP\Security\ISecureRandom;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -23,16 +23,8 @@
|
||||||
|
|
||||||
namespace OC\Settings\Admin;
|
namespace OC\Settings\Admin;
|
||||||
|
|
||||||
use Doctrine\DBAL\Connection;
|
|
||||||
use Doctrine\DBAL\DBALException;
|
|
||||||
use Doctrine\DBAL\Platforms\SqlitePlatform;
|
|
||||||
use OC\Lock\DBLockingProvider;
|
|
||||||
use OC\Lock\NoopLockingProvider;
|
|
||||||
use OCP\AppFramework\Http\TemplateResponse;
|
use OCP\AppFramework\Http\TemplateResponse;
|
||||||
use OCP\IConfig;
|
use OCP\IConfig;
|
||||||
use OCP\IDBConnection;
|
|
||||||
use OCP\IL10N;
|
|
||||||
use OCP\Lock\ILockingProvider;
|
|
||||||
use OCP\Settings\ISettings;
|
use OCP\Settings\ISettings;
|
||||||
|
|
||||||
class Additional implements ISettings {
|
class Additional implements ISettings {
|
||||||
|
|
|
@ -22,16 +22,7 @@
|
||||||
*/
|
*/
|
||||||
namespace OC\Settings\Admin;
|
namespace OC\Settings\Admin;
|
||||||
|
|
||||||
use Doctrine\DBAL\Connection;
|
|
||||||
use Doctrine\DBAL\DBALException;
|
|
||||||
use Doctrine\DBAL\Platforms\SqlitePlatform;
|
|
||||||
use OC\Lock\DBLockingProvider;
|
|
||||||
use OC\Lock\NoopLockingProvider;
|
|
||||||
use OCP\AppFramework\Http\TemplateResponse;
|
use OCP\AppFramework\Http\TemplateResponse;
|
||||||
use OCP\IConfig;
|
|
||||||
use OCP\IDBConnection;
|
|
||||||
use OCP\IL10N;
|
|
||||||
use OCP\Lock\ILockingProvider;
|
|
||||||
use OCP\Settings\ISettings;
|
use OCP\Settings\ISettings;
|
||||||
|
|
||||||
class ServerDevNotice implements ISettings {
|
class ServerDevNotice implements ISettings {
|
||||||
|
|
|
@ -26,7 +26,6 @@
|
||||||
*/
|
*/
|
||||||
namespace OC\Setup;
|
namespace OC\Setup;
|
||||||
|
|
||||||
use OC\AllConfig;
|
|
||||||
use OC\DB\ConnectionFactory;
|
use OC\DB\ConnectionFactory;
|
||||||
use OC\SystemConfig;
|
use OC\SystemConfig;
|
||||||
use OCP\IL10N;
|
use OCP\IL10N;
|
||||||
|
|
|
@ -43,7 +43,6 @@
|
||||||
namespace OC\Share;
|
namespace OC\Share;
|
||||||
|
|
||||||
use OC\Files\Filesystem;
|
use OC\Files\Filesystem;
|
||||||
use OCA\FederatedFileSharing\DiscoveryManager;
|
|
||||||
use OCP\DB\QueryBuilder\IQueryBuilder;
|
use OCP\DB\QueryBuilder\IQueryBuilder;
|
||||||
use OCP\ILogger;
|
use OCP\ILogger;
|
||||||
use OCP\IUserManager;
|
use OCP\IUserManager;
|
||||||
|
|
|
@ -24,7 +24,6 @@
|
||||||
namespace OC\Share20;
|
namespace OC\Share20;
|
||||||
|
|
||||||
use OC\Files\Cache\Cache;
|
use OC\Files\Cache\Cache;
|
||||||
use OC\Files\Cache\CacheEntry;
|
|
||||||
use OCP\Files\File;
|
use OCP\Files\File;
|
||||||
use OCP\Files\Folder;
|
use OCP\Files\Folder;
|
||||||
use OCP\Share\IShareProvider;
|
use OCP\Share\IShareProvider;
|
||||||
|
|
|
@ -36,7 +36,6 @@ use OCP\Files\Folder;
|
||||||
use OCP\Files\IRootFolder;
|
use OCP\Files\IRootFolder;
|
||||||
use OCP\Files\Mount\IMountManager;
|
use OCP\Files\Mount\IMountManager;
|
||||||
use OCP\Files\Node;
|
use OCP\Files\Node;
|
||||||
use OCP\Files\NotFoundException;
|
|
||||||
use OCP\IConfig;
|
use OCP\IConfig;
|
||||||
use OCP\IGroupManager;
|
use OCP\IGroupManager;
|
||||||
use OCP\IL10N;
|
use OCP\IL10N;
|
||||||
|
@ -48,7 +47,6 @@ use OCP\Share\Exceptions\GenericShareException;
|
||||||
use OCP\Share\Exceptions\ShareNotFound;
|
use OCP\Share\Exceptions\ShareNotFound;
|
||||||
use OCP\Share\IManager;
|
use OCP\Share\IManager;
|
||||||
use OCP\Share\IProviderFactory;
|
use OCP\Share\IProviderFactory;
|
||||||
use OCP\Share\IShare;
|
|
||||||
use Symfony\Component\EventDispatcher\EventDispatcher;
|
use Symfony\Component\EventDispatcher\EventDispatcher;
|
||||||
use Symfony\Component\EventDispatcher\GenericEvent;
|
use Symfony\Component\EventDispatcher\GenericEvent;
|
||||||
use OCP\Share\IShareProvider;
|
use OCP\Share\IShareProvider;
|
||||||
|
|
|
@ -25,7 +25,6 @@ namespace OC\Share20;
|
||||||
|
|
||||||
use OC\CapabilitiesManager;
|
use OC\CapabilitiesManager;
|
||||||
use OCA\FederatedFileSharing\AddressHandler;
|
use OCA\FederatedFileSharing\AddressHandler;
|
||||||
use OCA\FederatedFileSharing\DiscoveryManager;
|
|
||||||
use OCA\FederatedFileSharing\FederatedShareProvider;
|
use OCA\FederatedFileSharing\FederatedShareProvider;
|
||||||
use OCA\FederatedFileSharing\Notifications;
|
use OCA\FederatedFileSharing\Notifications;
|
||||||
use OCA\FederatedFileSharing\TokenHandler;
|
use OCA\FederatedFileSharing\TokenHandler;
|
||||||
|
|
|
@ -31,7 +31,6 @@ use OCP\SystemTag\ManagerEvent;
|
||||||
use OCP\SystemTag\TagAlreadyExistsException;
|
use OCP\SystemTag\TagAlreadyExistsException;
|
||||||
use OCP\SystemTag\TagNotFoundException;
|
use OCP\SystemTag\TagNotFoundException;
|
||||||
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||||
use OCP\IUserManager;
|
|
||||||
use OCP\IGroupManager;
|
use OCP\IGroupManager;
|
||||||
use OCP\SystemTag\ISystemTag;
|
use OCP\SystemTag\ISystemTag;
|
||||||
use OCP\IUser;
|
use OCP\IUser;
|
||||||
|
|
|
@ -25,7 +25,6 @@ use Leafo\ScssPhp\Compiler;
|
||||||
use Leafo\ScssPhp\Exception\ParserException;
|
use Leafo\ScssPhp\Exception\ParserException;
|
||||||
use Leafo\ScssPhp\Formatter\Crunched;
|
use Leafo\ScssPhp\Formatter\Crunched;
|
||||||
use Leafo\ScssPhp\Formatter\Expanded;
|
use Leafo\ScssPhp\Formatter\Expanded;
|
||||||
use OC\SystemConfig;
|
|
||||||
use OCP\Files\IAppData;
|
use OCP\Files\IAppData;
|
||||||
use OCP\Files\NotFoundException;
|
use OCP\Files\NotFoundException;
|
||||||
use OCP\Files\NotPermittedException;
|
use OCP\Files\NotPermittedException;
|
||||||
|
|
|
@ -23,10 +23,8 @@
|
||||||
|
|
||||||
namespace OC\Updater;
|
namespace OC\Updater;
|
||||||
|
|
||||||
use OC_Util;
|
|
||||||
use OCP\Http\Client\IClientService;
|
use OCP\Http\Client\IClientService;
|
||||||
use OCP\IConfig;
|
use OCP\IConfig;
|
||||||
use OC\Setup;
|
|
||||||
use OCP\Util;
|
use OCP\Util;
|
||||||
|
|
||||||
class VersionCheck {
|
class VersionCheck {
|
||||||
|
|
|
@ -51,7 +51,6 @@ use OC\App\DependencyAnalyzer;
|
||||||
use OC\App\InfoParser;
|
use OC\App\InfoParser;
|
||||||
use OC\App\Platform;
|
use OC\App\Platform;
|
||||||
use OC\Installer;
|
use OC\Installer;
|
||||||
use OC\OCSClient;
|
|
||||||
use OC\Repair;
|
use OC\Repair;
|
||||||
use OCP\App\ManagerEvent;
|
use OCP\App\ManagerEvent;
|
||||||
|
|
||||||
|
|
|
@ -22,8 +22,6 @@
|
||||||
|
|
||||||
namespace OCP\AppFramework\Http;
|
namespace OCP\AppFramework\Http;
|
||||||
|
|
||||||
use OCP\AppFramework\Http;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class EmptyContentSecurityPolicy is a simple helper which allows applications
|
* Class EmptyContentSecurityPolicy is a simple helper which allows applications
|
||||||
* to modify the Content-Security-Policy sent by ownCloud. Per default the policy
|
* to modify the Content-Security-Policy sent by ownCloud. Per default the policy
|
||||||
|
|
|
@ -23,7 +23,6 @@
|
||||||
|
|
||||||
namespace OCP\AppFramework\Http;
|
namespace OCP\AppFramework\Http;
|
||||||
|
|
||||||
use OCP\AppFramework\Http;
|
|
||||||
use OCP\Template;
|
use OCP\Template;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -26,7 +26,6 @@
|
||||||
|
|
||||||
namespace OCP\AppFramework\Http;
|
namespace OCP\AppFramework\Http;
|
||||||
|
|
||||||
use OCP\AppFramework\Http\Response;
|
|
||||||
use OCP\AppFramework\Http;
|
use OCP\AppFramework\Http;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,6 @@
|
||||||
|
|
||||||
namespace OCP\AppFramework;
|
namespace OCP\AppFramework;
|
||||||
|
|
||||||
use OCP\AppFramework\IApi;
|
|
||||||
use OCP\IContainer;
|
use OCP\IContainer;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -30,7 +30,6 @@
|
||||||
|
|
||||||
namespace OCP\AppFramework;
|
namespace OCP\AppFramework;
|
||||||
|
|
||||||
use OCP\AppFramework\Controller;
|
|
||||||
use OCP\AppFramework\Http\Response;
|
use OCP\AppFramework\Http\Response;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,6 @@
|
||||||
namespace OCP\AppFramework;
|
namespace OCP\AppFramework;
|
||||||
|
|
||||||
use OCP\AppFramework\Http\DataResponse;
|
use OCP\AppFramework\Http\DataResponse;
|
||||||
use OCP\AppFramework\Http\OCSResponse;
|
|
||||||
use OCP\AppFramework\Http\Response;
|
use OCP\AppFramework\Http\Response;
|
||||||
use OCP\IRequest;
|
use OCP\IRequest;
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OCP\Files\Cache;
|
namespace OCP\Files\Cache;
|
||||||
use OCP\Files\Search\ISearchOperator;
|
|
||||||
use OCP\Files\Search\ISearchQuery;
|
use OCP\Files\Search\ISearchQuery;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -23,7 +23,6 @@
|
||||||
|
|
||||||
namespace OCP\Files\Config;
|
namespace OCP\Files\Config;
|
||||||
|
|
||||||
use OCP\Files\Mount\IMountPoint;
|
|
||||||
use OCP\IUser;
|
use OCP\IUser;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -24,7 +24,6 @@
|
||||||
namespace OCP\SystemTag;
|
namespace OCP\SystemTag;
|
||||||
|
|
||||||
use OCP\IUser;
|
use OCP\IUser;
|
||||||
use OCP\SystemTag\ISystemTag;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Public interface to access and manage system-wide tags.
|
* Public interface to access and manage system-wide tags.
|
||||||
|
|
Loading…
Reference in New Issue