Browse Source

Some php-cs fixes

* Order the imports
* No leading slash on imports
* Empty line before namespace
* One line per import
* Empty after imports
* Emmpty line at bottom of file

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
tags/v18.0.0beta1
Roeland Jago Douma 4 years ago
parent
commit
68748d4f85
No account linked to committer's email address
100 changed files with 163 additions and 117 deletions
  1. 1
    1
      apps/accessibility/lib/AppInfo/Application.php
  2. 2
    2
      apps/accessibility/lib/Controller/AccessibilityController.php
  3. 1
    1
      apps/accessibility/lib/Controller/ConfigController.php
  4. 1
    1
      apps/admin_audit/lib/AppInfo/Application.php
  5. 0
    1
      apps/cloud_federation_api/lib/AppInfo/Application.php
  6. 0
    1
      apps/cloud_federation_api/lib/Capabilities.php
  7. 0
    2
      apps/cloud_federation_api/lib/Config.php
  8. 1
    2
      apps/cloud_federation_api/lib/Controller/RequestHandlerController.php
  9. 0
    1
      apps/comments/lib/Activity/Setting.php
  10. 2
    2
      apps/comments/tests/Unit/EventHandlerTest.php
  11. 3
    2
      apps/dav/lib/AppInfo/Application.php
  12. 2
    1
      apps/dav/lib/AppInfo/PluginManager.php
  13. 0
    1
      apps/dav/lib/Avatars/AvatarHome.php
  14. 0
    1
      apps/dav/lib/Avatars/AvatarNode.php
  15. 1
    1
      apps/dav/lib/Avatars/RootCollection.php
  16. 3
    2
      apps/dav/lib/BackgroundJob/BuildReminderIndexBackgroundJob.php
  17. 1
    0
      apps/dav/lib/BackgroundJob/EventReminderJob.php
  18. 1
    0
      apps/dav/lib/BackgroundJob/GenerateBirthdayCalendarBackgroundJob.php
  19. 1
    0
      apps/dav/lib/BackgroundJob/RefreshWebcalJob.php
  20. 2
    1
      apps/dav/lib/BackgroundJob/RegisterRegenerateBirthdayCalendars.php
  21. 0
    1
      apps/dav/lib/CalDAV/Activity/Setting/Calendar.php
  22. 0
    1
      apps/dav/lib/CalDAV/Activity/Setting/Event.php
  23. 0
    1
      apps/dav/lib/CalDAV/Activity/Setting/Todo.php
  24. 1
    1
      apps/dav/lib/CalDAV/BirthdayCalendar/EnablePlugin.php
  25. 1
    0
      apps/dav/lib/CalDAV/CachedSubscription.php
  26. 1
    0
      apps/dav/lib/CalDAV/CachedSubscriptionObject.php
  27. 3
    3
      apps/dav/lib/CalDAV/CalDavBackend.php
  28. 1
    0
      apps/dav/lib/CalDAV/Calendar.php
  29. 2
    1
      apps/dav/lib/CalDAV/CalendarHome.php
  30. 1
    1
      apps/dav/lib/CalDAV/CalendarImpl.php
  31. 0
    1
      apps/dav/lib/CalDAV/CalendarObject.php
  32. 2
    1
      apps/dav/lib/CalDAV/CalendarRoot.php
  33. 4
    3
      apps/dav/lib/CalDAV/InvitationResponse/InvitationResponseServer.php
  34. 1
    0
      apps/dav/lib/CalDAV/Outbox.php
  35. 2
    1
      apps/dav/lib/CalDAV/PublicCalendar.php
  36. 2
    1
      apps/dav/lib/CalDAV/PublicCalendarObject.php
  37. 1
    0
      apps/dav/lib/CalDAV/PublicCalendarRoot.php
  38. 8
    7
      apps/dav/lib/CalDAV/Publishing/PublishPlugin.php
  39. 1
    0
      apps/dav/lib/CalDAV/Publishing/Xml/Publisher.php
  40. 2
    1
      apps/dav/lib/CalDAV/Reminder/Backend.php
  41. 2
    1
      apps/dav/lib/CalDAV/Reminder/INotificationProvider.php
  42. 2
    1
      apps/dav/lib/CalDAV/Reminder/NotificationProvider/AbstractProvider.php
  43. 1
    0
      apps/dav/lib/CalDAV/Reminder/NotificationProvider/AudioProvider.php
  44. 4
    3
      apps/dav/lib/CalDAV/Reminder/NotificationProvider/EmailProvider.php
  45. 1
    0
      apps/dav/lib/CalDAV/Reminder/NotificationProvider/ProviderNotAvailableException.php
  46. 3
    2
      apps/dav/lib/CalDAV/Reminder/NotificationProvider/PushProvider.php
  47. 1
    0
      apps/dav/lib/CalDAV/Reminder/NotificationProviderManager.php
  48. 2
    2
      apps/dav/lib/CalDAV/Reminder/Notifier.php
  49. 2
    1
      apps/dav/lib/CalDAV/Reminder/ReminderService.php
  50. 3
    2
      apps/dav/lib/CalDAV/ResourceBooking/AbstractPrincipalBackend.php
  51. 1
    0
      apps/dav/lib/CalDAV/ResourceBooking/ResourcePrincipalBackend.php
  52. 1
    0
      apps/dav/lib/CalDAV/ResourceBooking/RoomPrincipalBackend.php
  53. 2
    0
      apps/dav/lib/CalDAV/Schedule/IMipPlugin.php
  54. 2
    1
      apps/dav/lib/CalDAV/Schedule/Plugin.php
  55. 2
    1
      apps/dav/lib/CalDAV/Search/SearchPlugin.php
  56. 2
    1
      apps/dav/lib/CalDAV/Search/Xml/Filter/CompFilter.php
  57. 3
    2
      apps/dav/lib/CalDAV/Search/Xml/Filter/LimitFilter.php
  58. 3
    2
      apps/dav/lib/CalDAV/Search/Xml/Filter/OffsetFilter.php
  59. 2
    1
      apps/dav/lib/CalDAV/Search/Xml/Filter/ParamFilter.php
  60. 2
    1
      apps/dav/lib/CalDAV/Search/Xml/Filter/PropFilter.php
  61. 3
    2
      apps/dav/lib/CalDAV/Search/Xml/Filter/SearchTermFilter.php
  62. 2
    1
      apps/dav/lib/CalDAV/Search/Xml/Request/CalendarSearchReport.php
  63. 1
    0
      apps/dav/lib/CalDAV/WebcalCaching/Plugin.php
  64. 0
    1
      apps/dav/lib/Capabilities.php
  65. 1
    0
      apps/dav/lib/CardDAV/AddressBook.php
  66. 1
    0
      apps/dav/lib/CardDAV/AddressBookRoot.php
  67. 1
    1
      apps/dav/lib/CardDAV/CardDavBackend.php
  68. 2
    1
      apps/dav/lib/CardDAV/PhotoCache.php
  69. 1
    0
      apps/dav/lib/CardDAV/UserAddressBooks.php
  70. 2
    1
      apps/dav/lib/CardDAV/Xml/Groups.php
  71. 1
    0
      apps/dav/lib/Command/CreateAddressBook.php
  72. 1
    0
      apps/dav/lib/Command/CreateCalendar.php
  73. 1
    0
      apps/dav/lib/Command/ListCalendars.php
  74. 1
    0
      apps/dav/lib/Command/MoveCalendar.php
  75. 1
    0
      apps/dav/lib/Command/SendEventReminders.php
  76. 1
    0
      apps/dav/lib/Command/SyncBirthdayCalendar.php
  77. 1
    0
      apps/dav/lib/Command/SyncSystemAddressBook.php
  78. 1
    1
      apps/dav/lib/Comments/CommentsPlugin.php
  79. 0
    1
      apps/dav/lib/Comments/EntityCollection.php
  80. 1
    1
      apps/dav/lib/Comments/RootCollection.php
  81. 1
    0
      apps/dav/lib/Connector/Sabre/Auth.php
  82. 1
    1
      apps/dav/lib/Connector/Sabre/BlockLegacyClientPlugin.php
  83. 2
    1
      apps/dav/lib/Connector/Sabre/ChecksumList.php
  84. 2
    2
      apps/dav/lib/Connector/Sabre/CopyEtagHeaderPlugin.php
  85. 2
    2
      apps/dav/lib/Connector/Sabre/CustomPropertiesBackend.php
  86. 2
    2
      apps/dav/lib/Connector/Sabre/DavAclPlugin.php
  87. 5
    5
      apps/dav/lib/Connector/Sabre/Directory.php
  88. 1
    1
      apps/dav/lib/Connector/Sabre/DummyGetResponsePlugin.php
  89. 1
    0
      apps/dav/lib/Connector/Sabre/Exception/EntityTooLarge.php
  90. 1
    1
      apps/dav/lib/Connector/Sabre/Exception/PasswordLoginForbidden.php
  91. 1
    0
      apps/dav/lib/Connector/Sabre/Exception/UnsupportedMediaType.php
  92. 2
    2
      apps/dav/lib/Connector/Sabre/FakeLockerPlugin.php
  93. 1
    1
      apps/dav/lib/Connector/Sabre/File.php
  94. 7
    7
      apps/dav/lib/Connector/Sabre/FilesPlugin.php
  95. 9
    9
      apps/dav/lib/Connector/Sabre/FilesReportPlugin.php
  96. 1
    2
      apps/dav/lib/Connector/Sabre/Node.php
  97. 2
    2
      apps/dav/lib/Connector/Sabre/ObjectTree.php
  98. 1
    0
      apps/dav/lib/Connector/Sabre/QuotaPlugin.php
  99. 2
    1
      apps/dav/lib/Connector/Sabre/SharesPlugin.php
  100. 0
    0
      apps/dav/lib/Connector/Sabre/TagsPlugin.php

+ 1
- 1
apps/accessibility/lib/AppInfo/Application.php View File



use OCP\AppFramework\App; use OCP\AppFramework\App;
use OCP\IConfig; use OCP\IConfig;
use OCP\IUserSession;
use OCP\IURLGenerator; use OCP\IURLGenerator;
use OCP\IUserSession;


class Application extends App { class Application extends App {



+ 2
- 2
apps/accessibility/lib/Controller/AccessibilityController.php View File

use Leafo\ScssPhp\Compiler; 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 OC\Template\IconsCacher;
use OCP\App\IAppManager;
use OCP\AppFramework\Controller; use OCP\AppFramework\Controller;
use OCP\AppFramework\Http; use OCP\AppFramework\Http;
use OCP\AppFramework\Http\DataDisplayResponse; use OCP\AppFramework\Http\DataDisplayResponse;
use OCP\AppFramework\Http\DataDownloadResponse; use OCP\AppFramework\Http\DataDownloadResponse;
use OCP\AppFramework\Utility\ITimeFactory; use OCP\AppFramework\Utility\ITimeFactory;
use OCP\App\IAppManager;
use OCP\IConfig; use OCP\IConfig;
use OCP\ILogger; use OCP\ILogger;
use OCP\IRequest; use OCP\IRequest;
use OCP\IURLGenerator; use OCP\IURLGenerator;
use OCP\IUserManager; use OCP\IUserManager;
use OCP\IUserSession; use OCP\IUserSession;
use OC\Template\IconsCacher;


class AccessibilityController extends Controller { class AccessibilityController extends Controller {



+ 1
- 1
apps/accessibility/lib/Controller/ConfigController.php View File

use OCA\Accessibility\AccessibilityProvider; use OCA\Accessibility\AccessibilityProvider;
use OCP\AppFramework\Http; use OCP\AppFramework\Http;
use OCP\AppFramework\Http\DataResponse; use OCP\AppFramework\Http\DataResponse;
use OCP\AppFramework\OCSController;
use OCP\AppFramework\OCS\OCSBadRequestException; use OCP\AppFramework\OCS\OCSBadRequestException;
use OCP\AppFramework\OCSController;
use OCP\IConfig; use OCP\IConfig;
use OCP\IRequest; use OCP\IRequest;
use OCP\IUserSession; use OCP\IUserSession;

+ 1
- 1
apps/admin_audit/lib/AppInfo/Application.php View File

use OCP\ILogger; use OCP\ILogger;
use OCP\IPreview; use OCP\IPreview;
use OCP\IUserSession; use OCP\IUserSession;
use OCP\Share;
use OCP\Util; use OCP\Util;
use Symfony\Component\EventDispatcher\GenericEvent; use Symfony\Component\EventDispatcher\GenericEvent;
use OCP\Share;


class Application extends App { class Application extends App {



+ 0
- 1
apps/cloud_federation_api/lib/AppInfo/Application.php View File

* *
*/ */



namespace OCA\CloudFederationAPI\AppInfo; namespace OCA\CloudFederationAPI\AppInfo;





+ 0
- 1
apps/cloud_federation_api/lib/Capabilities.php View File

* *
*/ */



namespace OCA\CloudFederationAPI; namespace OCA\CloudFederationAPI;





+ 0
- 2
apps/cloud_federation_api/lib/Config.php View File

* *
*/ */



namespace OCA\CloudFederationAPI; namespace OCA\CloudFederationAPI;
use OCP\Federation\ICloudFederationProviderManager; use OCP\Federation\ICloudFederationProviderManager;
use OCP\GlobalScale\IConfig as IGsConfig; use OCP\GlobalScale\IConfig as IGsConfig;
use OCP\IConfig; use OCP\IConfig;



/** /**
* Class config * Class config
* *

+ 1
- 2
apps/cloud_federation_api/lib/Controller/RequestHandlerController.php View File

use OCP\Federation\Exceptions\AuthenticationFailedException; use OCP\Federation\Exceptions\AuthenticationFailedException;
use OCP\Federation\Exceptions\BadRequestException; use OCP\Federation\Exceptions\BadRequestException;
use OCP\Federation\Exceptions\ProviderCouldNotAddShareException; use OCP\Federation\Exceptions\ProviderCouldNotAddShareException;
use OCP\Federation\Exceptions\ProviderDoesNotExistsException;
use OCP\Federation\ICloudFederationFactory; use OCP\Federation\ICloudFederationFactory;
use OCP\Federation\ICloudFederationProviderManager; use OCP\Federation\ICloudFederationProviderManager;
use OCP\Federation\Exceptions\ProviderDoesNotExistsException;
use OCP\Federation\ICloudIdManager; use OCP\Federation\ICloudIdManager;
use OCP\IGroupManager; use OCP\IGroupManager;
use OCP\ILogger; use OCP\ILogger;
use OCP\IUserManager; use OCP\IUserManager;
use OCP\Share\Exceptions\ShareNotFound; use OCP\Share\Exceptions\ShareNotFound;



/** /**
* Class RequestHandlerController * Class RequestHandlerController
* *

+ 0
- 1
apps/comments/lib/Activity/Setting.php View File

return false; return false;
} }
} }


+ 2
- 2
apps/comments/tests/Unit/EventHandlerTest.php View File



namespace OCA\Comments\Tests\Unit\Notification; namespace OCA\Comments\Tests\Unit\Notification;


use OCA\Comments\Activity\Listener as ActivityListener;
use OCA\Comments\EventHandler; use OCA\Comments\EventHandler;
use OCA\Comments\Notification\Listener as NotificationListener;
use OCP\Comments\CommentsEvent; use OCP\Comments\CommentsEvent;
use OCP\Comments\IComment; use OCP\Comments\IComment;
use OCA\Comments\Activity\Listener as ActivityListener;
use OCA\Comments\Notification\Listener as NotificationListener;
use Test\TestCase; use Test\TestCase;


class EventHandlerTest extends TestCase { class EventHandlerTest extends TestCase {

+ 3
- 2
apps/dav/lib/AppInfo/Application.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/> * along with this program. If not, see <http://www.gnu.org/licenses/>
* *
*/ */

namespace OCA\DAV\AppInfo; namespace OCA\DAV\AppInfo;


use OC\AppFramework\Utility\SimpleContainer; use OC\AppFramework\Utility\SimpleContainer;
use OCA\DAV\CardDAV\PhotoCache; use OCA\DAV\CardDAV\PhotoCache;
use OCA\DAV\CardDAV\SyncService; use OCA\DAV\CardDAV\SyncService;
use OCA\DAV\HookManager; use OCA\DAV\HookManager;
use \OCP\AppFramework\App;
use OCP\Contacts\IManager as IContactsManager;
use OCP\AppFramework\App;
use OCP\Calendar\IManager as ICalendarManager; use OCP\Calendar\IManager as ICalendarManager;
use OCP\Contacts\IManager as IContactsManager;
use OCP\IUser; use OCP\IUser;
use Symfony\Component\EventDispatcher\GenericEvent; use Symfony\Component\EventDispatcher\GenericEvent;



+ 2
- 1
apps/dav/lib/AppInfo/PluginManager.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/> * along with this program. If not, see <http://www.gnu.org/licenses/>
* *
*/ */

namespace OCA\DAV\AppInfo; namespace OCA\DAV\AppInfo;


use OCP\App\IAppManager;
use OC\ServerContainer; use OC\ServerContainer;
use OCP\App\IAppManager;
use OCP\AppFramework\QueryException; use OCP\AppFramework\QueryException;


/** /**

+ 0
- 1
apps/dav/lib/Avatars/AvatarHome.php View File

* *
*/ */



namespace OCA\DAV\Avatars; namespace OCA\DAV\Avatars;





+ 0
- 1
apps/dav/lib/Avatars/AvatarNode.php View File

* *
*/ */



namespace OCA\DAV\Avatars; namespace OCA\DAV\Avatars;





+ 1
- 1
apps/dav/lib/Avatars/RootCollection.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */

namespace OCA\DAV\Avatars; namespace OCA\DAV\Avatars;


use Sabre\DAVACL\AbstractPrincipalCollection; use Sabre\DAVACL\AbstractPrincipalCollection;



class RootCollection extends AbstractPrincipalCollection { class RootCollection extends AbstractPrincipalCollection {


/** /**

+ 3
- 2
apps/dav/lib/BackgroundJob/BuildReminderIndexBackgroundJob.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */

namespace OCA\DAV\BackgroundJob; namespace OCA\DAV\BackgroundJob;


use OCP\BackgroundJob\QueuedJob;
use OCA\DAV\CalDAV\Reminder\ReminderService; use OCA\DAV\CalDAV\Reminder\ReminderService;
use OCP\AppFramework\Utility\ITimeFactory; use OCP\AppFramework\Utility\ITimeFactory;
use OCP\BackgroundJob\IJobList; use OCP\BackgroundJob\IJobList;
use OCP\BackgroundJob\QueuedJob;
use OCP\IDBConnection; use OCP\IDBConnection;
use OCP\ILogger; use OCP\ILogger;




return $stopAt; return $stopAt;
} }
}
}

+ 1
- 0
apps/dav/lib/BackgroundJob/EventReminderJob.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/> * along with this program. If not, see <http://www.gnu.org/licenses/>
* *
*/ */

namespace OCA\DAV\BackgroundJob; namespace OCA\DAV\BackgroundJob;


use OC\BackgroundJob\TimedJob; use OC\BackgroundJob\TimedJob;

+ 1
- 0
apps/dav/lib/BackgroundJob/GenerateBirthdayCalendarBackgroundJob.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */

namespace OCA\DAV\BackgroundJob; namespace OCA\DAV\BackgroundJob;


use OC\BackgroundJob\QueuedJob; use OC\BackgroundJob\QueuedJob;

+ 1
- 0
apps/dav/lib/BackgroundJob/RefreshWebcalJob.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */

namespace OCA\DAV\BackgroundJob; namespace OCA\DAV\BackgroundJob;


use GuzzleHttp\HandlerStack; use GuzzleHttp\HandlerStack;

+ 2
- 1
apps/dav/lib/BackgroundJob/RegisterRegenerateBirthdayCalendars.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */

namespace OCA\DAV\BackgroundJob; namespace OCA\DAV\BackgroundJob;


use OCP\AppFramework\Utility\ITimeFactory; use OCP\AppFramework\Utility\ITimeFactory;
}); });
} }


}
}

+ 0
- 1
apps/dav/lib/CalDAV/Activity/Setting/Calendar.php View File

return false; return false;
} }
} }


+ 0
- 1
apps/dav/lib/CalDAV/Activity/Setting/Event.php View File

return false; return false;
} }
} }


+ 0
- 1
apps/dav/lib/CalDAV/Activity/Setting/Todo.php View File

return false; return false;
} }
} }


+ 1
- 1
apps/dav/lib/CalDAV/BirthdayCalendar/EnablePlugin.php View File



use OCA\DAV\CalDAV\BirthdayService; use OCA\DAV\CalDAV\BirthdayService;
use OCA\DAV\CalDAV\CalendarHome; use OCA\DAV\CalDAV\CalendarHome;
use OCP\IConfig;
use Sabre\DAV\Server; use Sabre\DAV\Server;
use Sabre\DAV\ServerPlugin; use Sabre\DAV\ServerPlugin;
use Sabre\HTTP\RequestInterface; use Sabre\HTTP\RequestInterface;
use Sabre\HTTP\ResponseInterface; use Sabre\HTTP\ResponseInterface;
use OCP\IConfig;


/** /**
* Class EnablePlugin * Class EnablePlugin

+ 1
- 0
apps/dav/lib/CalDAV/CachedSubscription.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */

namespace OCA\DAV\CalDAV; namespace OCA\DAV\CalDAV;


use OCA\DAV\Exception\UnsupportedLimitOnInitialSyncException; use OCA\DAV\Exception\UnsupportedLimitOnInitialSyncException;

+ 1
- 0
apps/dav/lib/CalDAV/CachedSubscriptionObject.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */

namespace OCA\DAV\CalDAV; namespace OCA\DAV\CalDAV;


use Sabre\DAV\Exception\MethodNotAllowed; use Sabre\DAV\Exception\MethodNotAllowed;

+ 3
- 3
apps/dav/lib/CalDAV/CalDavBackend.php View File



namespace OCA\DAV\CalDAV; namespace OCA\DAV\CalDAV;


use OCA\DAV\DAV\Sharing\IShareable;
use OCP\DB\QueryBuilder\IQueryBuilder;
use OCA\DAV\Connector\Sabre\Principal; use OCA\DAV\Connector\Sabre\Principal;
use OCA\DAV\DAV\Sharing\Backend; use OCA\DAV\DAV\Sharing\Backend;
use OCA\DAV\DAV\Sharing\IShareable;
use OCP\DB\QueryBuilder\IQueryBuilder;
use OCP\IDBConnection; use OCP\IDBConnection;
use OCP\IGroupManager; use OCP\IGroupManager;
use OCP\ILogger; use OCP\ILogger;
use Sabre\DAV\Exception\Forbidden; use Sabre\DAV\Exception\Forbidden;
use Sabre\DAV\Exception\NotFound; use Sabre\DAV\Exception\NotFound;
use Sabre\DAV\PropPatch; use Sabre\DAV\PropPatch;
use Sabre\Uri;
use Sabre\VObject\Component; use Sabre\VObject\Component;
use Sabre\VObject\Component\VCalendar; use Sabre\VObject\Component\VCalendar;
use Sabre\VObject\Component\VTimeZone; use Sabre\VObject\Component\VTimeZone;
use Sabre\VObject\Property; use Sabre\VObject\Property;
use Sabre\VObject\Reader; use Sabre\VObject\Reader;
use Sabre\VObject\Recur\EventIterator; use Sabre\VObject\Recur\EventIterator;
use Sabre\Uri;
use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\EventDispatcher\GenericEvent; use Symfony\Component\EventDispatcher\GenericEvent;



+ 1
- 0
apps/dav/lib/CalDAV/Calendar.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/> * along with this program. If not, see <http://www.gnu.org/licenses/>
* *
*/ */

namespace OCA\DAV\CalDAV; namespace OCA\DAV\CalDAV;


use OCA\DAV\CalDAV\Proxy\ProxyMapper; use OCA\DAV\CalDAV\Proxy\ProxyMapper;

+ 2
- 1
apps/dav/lib/CalDAV/CalendarHome.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/> * along with this program. If not, see <http://www.gnu.org/licenses/>
* *
*/ */

namespace OCA\DAV\CalDAV; namespace OCA\DAV\CalDAV;


use Sabre\CalDAV\Backend\BackendInterface; use Sabre\CalDAV\Backend\BackendInterface;
use Sabre\CalDAV\Backend\SubscriptionSupport; use Sabre\CalDAV\Backend\SubscriptionSupport;
use Sabre\CalDAV\Schedule\Inbox; use Sabre\CalDAV\Schedule\Inbox;
use Sabre\CalDAV\Subscriptions\Subscription; use Sabre\CalDAV\Subscriptions\Subscription;
use Sabre\DAV\Exception\NotFound;
use Sabre\DAV\Exception\MethodNotAllowed; use Sabre\DAV\Exception\MethodNotAllowed;
use Sabre\DAV\Exception\NotFound;
use Sabre\DAV\MkCol; use Sabre\DAV\MkCol;


class CalendarHome extends \Sabre\CalDAV\CalendarHome { class CalendarHome extends \Sabre\CalDAV\CalendarHome {

+ 1
- 1
apps/dav/lib/CalDAV/CalendarImpl.php View File



namespace OCA\DAV\CalDAV; namespace OCA\DAV\CalDAV;


use OCP\Constants;
use OCP\Calendar\ICalendar; use OCP\Calendar\ICalendar;
use OCP\Constants;


class CalendarImpl implements ICalendar { class CalendarImpl implements ICalendar {



+ 0
- 1
apps/dav/lib/CalDAV/CalendarObject.php View File

* *
*/ */



namespace OCA\DAV\CalDAV; namespace OCA\DAV\CalDAV;





+ 2
- 1
apps/dav/lib/CalDAV/CalendarRoot.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/> * along with this program. If not, see <http://www.gnu.org/licenses/>
* *
*/ */

namespace OCA\DAV\CalDAV; namespace OCA\DAV\CalDAV;


class CalendarRoot extends \Sabre\CalDAV\CalendarRoot { class CalendarRoot extends \Sabre\CalDAV\CalendarRoot {


return parent::getName(); return parent::getName();
} }
}
}

+ 4
- 3
apps/dav/lib/CalDAV/InvitationResponse/InvitationResponseServer.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/> * along with this program. If not, see <http://www.gnu.org/licenses/>
* *
*/ */

namespace OCA\DAV\CalDAV\InvitationResponse; namespace OCA\DAV\CalDAV\InvitationResponse;


use OCA\DAV\AppInfo\PluginManager;
use OCA\DAV\Connector\Sabre\AnonymousOptionsPlugin;
use OCA\DAV\Connector\Sabre\BlockLegacyClientPlugin; use OCA\DAV\Connector\Sabre\BlockLegacyClientPlugin;
use OCA\DAV\Connector\Sabre\CachingTree; use OCA\DAV\Connector\Sabre\CachingTree;
use OCA\DAV\Connector\Sabre\DavAclPlugin; use OCA\DAV\Connector\Sabre\DavAclPlugin;
use OCA\DAV\Connector\Sabre\AnonymousOptionsPlugin;
use OCA\DAV\RootCollection; use OCA\DAV\RootCollection;
use OCP\SabrePluginEvent; use OCP\SabrePluginEvent;
use Sabre\DAV\Auth\Plugin; use Sabre\DAV\Auth\Plugin;
use OCA\DAV\AppInfo\PluginManager;
use Sabre\VObject\ITip\Message; use Sabre\VObject\ITip\Message;


class InvitationResponseServer { class InvitationResponseServer {
$schedulingPlugin = $this->server->getPlugin('caldav-schedule'); $schedulingPlugin = $this->server->getPlugin('caldav-schedule');
$schedulingPlugin->scheduleLocalDelivery($iTipMessage); $schedulingPlugin->scheduleLocalDelivery($iTipMessage);
} }
}
}

+ 1
- 0
apps/dav/lib/CalDAV/Outbox.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/> * along with this program. If not, see <http://www.gnu.org/licenses/>
* *
*/ */

namespace OCA\DAV\CalDAV; namespace OCA\DAV\CalDAV;


use OCP\IConfig; use OCP\IConfig;

+ 2
- 1
apps/dav/lib/CalDAV/PublicCalendar.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */

namespace OCA\DAV\CalDAV; namespace OCA\DAV\CalDAV;


use Sabre\DAV\Exception\NotFound; use Sabre\DAV\Exception\NotFound;
protected function isShared() { protected function isShared() {
return true; return true;
} }
}
}

+ 2
- 1
apps/dav/lib/CalDAV/PublicCalendarObject.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */

namespace OCA\DAV\CalDAV; namespace OCA\DAV\CalDAV;


class PublicCalendarObject extends CalendarObject { class PublicCalendarObject extends CalendarObject {
protected function isShared() { protected function isShared() {
return true; return true;
} }
}
}

+ 1
- 0
apps/dav/lib/CalDAV/PublicCalendarRoot.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/> * along with this program. If not, see <http://www.gnu.org/licenses/>
* *
*/ */

namespace OCA\DAV\CalDAV; namespace OCA\DAV\CalDAV;


use OCP\IConfig; use OCP\IConfig;

+ 8
- 7
apps/dav/lib/CalDAV/Publishing/PublishPlugin.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */

namespace OCA\DAV\CalDAV\Publishing; namespace OCA\DAV\CalDAV\Publishing;


use Sabre\DAV\PropFind;
use OCA\DAV\CalDAV\Calendar;
use OCA\DAV\CalDAV\Publishing\Xml\Publisher;
use OCP\IConfig;
use OCP\IURLGenerator;
use Sabre\CalDAV\Xml\Property\AllowedSharingModes;
use Sabre\DAV\Exception\NotFound;
use Sabre\DAV\INode; use Sabre\DAV\INode;
use Sabre\DAV\PropFind;
use Sabre\DAV\Server; use Sabre\DAV\Server;
use Sabre\DAV\ServerPlugin; use Sabre\DAV\ServerPlugin;
use Sabre\DAV\Exception\NotFound;
use Sabre\HTTP\RequestInterface; use Sabre\HTTP\RequestInterface;
use Sabre\HTTP\ResponseInterface; use Sabre\HTTP\ResponseInterface;
use Sabre\CalDAV\Xml\Property\AllowedSharingModes;
use OCA\DAV\CalDAV\Publishing\Xml\Publisher;
use OCA\DAV\CalDAV\Calendar;
use OCP\IURLGenerator;
use OCP\IConfig;


class PublishPlugin extends ServerPlugin { class PublishPlugin extends ServerPlugin {
const NS_CALENDARSERVER = 'http://calendarserver.org/ns/'; const NS_CALENDARSERVER = 'http://calendarserver.org/ns/';

+ 1
- 0
apps/dav/lib/CalDAV/Publishing/Xml/Publisher.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */

namespace OCA\DAV\CalDAV\Publishing\Xml; namespace OCA\DAV\CalDAV\Publishing\Xml;


use Sabre\Xml\Writer; use Sabre\Xml\Writer;

+ 2
- 1
apps/dav/lib/CalDAV/Reminder/Backend.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */

namespace OCA\DAV\CalDAV\Reminder; namespace OCA\DAV\CalDAV\Reminder;


use OCP\IDBConnection;
use OCP\AppFramework\Utility\ITimeFactory; use OCP\AppFramework\Utility\ITimeFactory;
use OCP\IDBConnection;


/** /**
* Class Backend * Class Backend

+ 2
- 1
apps/dav/lib/CalDAV/Reminder/INotificationProvider.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */

namespace OCA\DAV\CalDAV\Reminder; namespace OCA\DAV\CalDAV\Reminder;


use OCP\IUser; use OCP\IUser;
public function send(VEvent $vevent, public function send(VEvent $vevent,
string $calendarDisplayName, string $calendarDisplayName,
array $users=[]): void; array $users=[]): void;
}
}

+ 2
- 1
apps/dav/lib/CalDAV/Reminder/NotificationProvider/AbstractProvider.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */

namespace OCA\DAV\CalDAV\Reminder\NotificationProvider; namespace OCA\DAV\CalDAV\Reminder\NotificationProvider;


use OCA\DAV\CalDAV\Reminder\INotificationProvider; use OCA\DAV\CalDAV\Reminder\INotificationProvider;
use OCP\IL10N; use OCP\IL10N;
use OCP\ILogger; use OCP\ILogger;
use OCP\IURLGenerator; use OCP\IURLGenerator;
use OCP\L10N\IFactory as L10NFactory;
use OCP\IUser; use OCP\IUser;
use OCP\L10N\IFactory as L10NFactory;
use Sabre\VObject\Component\VEvent; use Sabre\VObject\Component\VEvent;
use Sabre\VObject\DateTimeParser; use Sabre\VObject\DateTimeParser;
use Sabre\VObject\Property; use Sabre\VObject\Property;

+ 1
- 0
apps/dav/lib/CalDAV/Reminder/NotificationProvider/AudioProvider.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/> * along with this program. If not, see <http://www.gnu.org/licenses/>
* *
*/ */

namespace OCA\DAV\CalDAV\Reminder\NotificationProvider; namespace OCA\DAV\CalDAV\Reminder\NotificationProvider;


/** /**

+ 4
- 3
apps/dav/lib/CalDAV/Reminder/NotificationProvider/EmailProvider.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */

namespace OCA\DAV\CalDAV\Reminder\NotificationProvider; namespace OCA\DAV\CalDAV\Reminder\NotificationProvider;


use \DateTime;
use DateTime;
use OCP\IConfig; use OCP\IConfig;
use OCP\IL10N; use OCP\IL10N;
use OCP\ILogger; use OCP\ILogger;
use OCP\IURLGenerator; use OCP\IURLGenerator;
use OCP\IUser;
use OCP\L10N\IFactory as L10NFactory; use OCP\L10N\IFactory as L10NFactory;
use OCP\Mail\IEMailTemplate; use OCP\Mail\IEMailTemplate;
use OCP\Mail\IMailer; use OCP\Mail\IMailer;
use OCP\IUser;
use Sabre\VObject\Component\VEvent;
use Sabre\VObject; use Sabre\VObject;
use Sabre\VObject\Component\VEvent;
use Sabre\VObject\Parameter; use Sabre\VObject\Parameter;
use Sabre\VObject\Property; use Sabre\VObject\Property;



+ 1
- 0
apps/dav/lib/CalDAV/Reminder/NotificationProvider/ProviderNotAvailableException.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */

namespace OCA\DAV\CalDAV\Reminder\NotificationProvider; namespace OCA\DAV\CalDAV\Reminder\NotificationProvider;


class ProviderNotAvailableException extends \Exception { class ProviderNotAvailableException extends \Exception {

+ 3
- 2
apps/dav/lib/CalDAV/Reminder/NotificationProvider/PushProvider.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */

namespace OCA\DAV\CalDAV\Reminder\NotificationProvider; namespace OCA\DAV\CalDAV\Reminder\NotificationProvider;


use OCA\DAV\AppInfo\Application; use OCA\DAV\AppInfo\Application;
use OCP\AppFramework\Utility\ITimeFactory;
use OCP\IConfig; use OCP\IConfig;
use OCP\ILogger; use OCP\ILogger;
use OCP\IURLGenerator; use OCP\IURLGenerator;
use OCP\IUser;
use OCP\L10N\IFactory as L10NFactory; use OCP\L10N\IFactory as L10NFactory;
use OCP\Notification\IManager; use OCP\Notification\IManager;
use OCP\IUser;
use OCP\Notification\INotification; use OCP\Notification\INotification;
use OCP\AppFramework\Utility\ITimeFactory;
use Sabre\VObject\Component\VEvent; use Sabre\VObject\Component\VEvent;
use Sabre\VObject\Property; use Sabre\VObject\Property;



+ 1
- 0
apps/dav/lib/CalDAV/Reminder/NotificationProviderManager.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/> * along with this program. If not, see <http://www.gnu.org/licenses/>
* *
*/ */

namespace OCA\DAV\CalDAV\Reminder; namespace OCA\DAV\CalDAV\Reminder;


/** /**

+ 2
- 2
apps/dav/lib/CalDAV/Reminder/Notifier.php View File



namespace OCA\DAV\CalDAV\Reminder; namespace OCA\DAV\CalDAV\Reminder;


use \DateTime;
use DateTime;
use OCA\DAV\AppInfo\Application; use OCA\DAV\AppInfo\Application;
use OCP\AppFramework\Utility\ITimeFactory; use OCP\AppFramework\Utility\ITimeFactory;
use OCP\IL10N; use OCP\IL10N;
use OCP\IURLGenerator;
use OCP\L10N\IFactory; use OCP\L10N\IFactory;
use OCP\Notification\INotification; use OCP\Notification\INotification;
use OCP\Notification\INotifier; use OCP\Notification\INotifier;
use OCP\IURLGenerator;


/** /**
* Class Notifier * Class Notifier

+ 2
- 1
apps/dav/lib/CalDAV/Reminder/ReminderService.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/> * along with this program. If not, see <http://www.gnu.org/licenses/>
* *
*/ */

namespace OCA\DAV\CalDAV\Reminder; namespace OCA\DAV\CalDAV\Reminder;


use \DateTimeImmutable;
use DateTimeImmutable;
use OCA\DAV\CalDAV\CalDavBackend; use OCA\DAV\CalDAV\CalDavBackend;
use OCP\AppFramework\Utility\ITimeFactory; use OCP\AppFramework\Utility\ITimeFactory;
use OCP\IGroup; use OCP\IGroup;

+ 3
- 2
apps/dav/lib/CalDAV/ResourceBooking/AbstractPrincipalBackend.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */

namespace OCA\DAV\CalDAV\ResourceBooking; namespace OCA\DAV\CalDAV\ResourceBooking;


use OCA\DAV\CalDAV\Proxy\ProxyMapper; use OCA\DAV\CalDAV\Proxy\ProxyMapper;
use OCP\IGroupManager; use OCP\IGroupManager;
use OCP\ILogger; use OCP\ILogger;
use OCP\IUserSession; use OCP\IUserSession;
use Sabre\DAVACL\PrincipalBackend\BackendInterface;
use Sabre\DAV\Exception; use Sabre\DAV\Exception;
use \Sabre\DAV\PropPatch;
use Sabre\DAV\PropPatch;
use Sabre\DAVACL\PrincipalBackend\BackendInterface;


abstract class AbstractPrincipalBackend implements BackendInterface { abstract class AbstractPrincipalBackend implements BackendInterface {



+ 1
- 0
apps/dav/lib/CalDAV/ResourceBooking/ResourcePrincipalBackend.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */

namespace OCA\DAV\CalDAV\ResourceBooking; namespace OCA\DAV\CalDAV\ResourceBooking;


use OCA\DAV\CalDAV\Proxy\ProxyMapper; use OCA\DAV\CalDAV\Proxy\ProxyMapper;

+ 1
- 0
apps/dav/lib/CalDAV/ResourceBooking/RoomPrincipalBackend.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */

namespace OCA\DAV\CalDAV\ResourceBooking; namespace OCA\DAV\CalDAV\ResourceBooking;


use OCA\DAV\CalDAV\Proxy\ProxyMapper; use OCA\DAV\CalDAV\Proxy\ProxyMapper;

+ 2
- 0
apps/dav/lib/CalDAV/Schedule/IMipPlugin.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/> * along with this program. If not, see <http://www.gnu.org/licenses/>
* *
*/ */

namespace OCA\DAV\CalDAV\Schedule; namespace OCA\DAV\CalDAV\Schedule;


use OCP\AppFramework\Utility\ITimeFactory; use OCP\AppFramework\Utility\ITimeFactory;
use Sabre\VObject\Parameter; use Sabre\VObject\Parameter;
use Sabre\VObject\Property; use Sabre\VObject\Property;
use Sabre\VObject\Recur\EventIterator; use Sabre\VObject\Recur\EventIterator;

/** /**
* iMIP handler. * iMIP handler.
* *

+ 2
- 1
apps/dav/lib/CalDAV/Schedule/Plugin.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */

namespace OCA\DAV\CalDAV\Schedule; namespace OCA\DAV\CalDAV\Schedule;


use DateTimeZone; use DateTimeZone;
use Sabre\VObject\Component\VCalendar; use Sabre\VObject\Component\VCalendar;
use Sabre\VObject\Component\VEvent; use Sabre\VObject\Component\VEvent;
use Sabre\VObject\DateTimeParser; use Sabre\VObject\DateTimeParser;
use Sabre\VObject\FreeBusyGenerator;
use Sabre\VObject\ITip; use Sabre\VObject\ITip;
use Sabre\VObject\Parameter; use Sabre\VObject\Parameter;
use Sabre\VObject\Property; use Sabre\VObject\Property;
use Sabre\VObject\Reader; use Sabre\VObject\Reader;
use Sabre\VObject\FreeBusyGenerator;


class Plugin extends \Sabre\CalDAV\Schedule\Plugin { class Plugin extends \Sabre\CalDAV\Schedule\Plugin {



+ 2
- 1
apps/dav/lib/CalDAV/Search/SearchPlugin.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */

namespace OCA\DAV\CalDAV\Search; namespace OCA\DAV\CalDAV\Search;


use OCA\DAV\CalDAV\CalendarHome;
use OCA\DAV\CalDAV\Search\Xml\Request\CalendarSearchReport; use OCA\DAV\CalDAV\Search\Xml\Request\CalendarSearchReport;
use Sabre\DAV\Server; use Sabre\DAV\Server;
use Sabre\DAV\ServerPlugin; use Sabre\DAV\ServerPlugin;
use OCA\DAV\CalDAV\CalendarHome;


class SearchPlugin extends ServerPlugin { class SearchPlugin extends ServerPlugin {
const NS_Nextcloud = 'http://nextcloud.com/ns'; const NS_Nextcloud = 'http://nextcloud.com/ns';

+ 2
- 1
apps/dav/lib/CalDAV/Search/Xml/Filter/CompFilter.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */

namespace OCA\DAV\CalDAV\Search\Xml\Filter; namespace OCA\DAV\CalDAV\Search\Xml\Filter;


use OCA\DAV\CalDAV\Search\SearchPlugin;
use Sabre\DAV\Exception\BadRequest; use Sabre\DAV\Exception\BadRequest;
use Sabre\Xml\Reader; use Sabre\Xml\Reader;
use Sabre\Xml\XmlDeserializable; use Sabre\Xml\XmlDeserializable;
use OCA\DAV\CalDAV\Search\SearchPlugin;


class CompFilter implements XmlDeserializable { class CompFilter implements XmlDeserializable {



+ 3
- 2
apps/dav/lib/CalDAV/Search/Xml/Filter/LimitFilter.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */

namespace OCA\DAV\CalDAV\Search\Xml\Filter; namespace OCA\DAV\CalDAV\Search\Xml\Filter;


use OCA\DAV\CalDAV\Search\SearchPlugin;
use Sabre\DAV\Exception\BadRequest; use Sabre\DAV\Exception\BadRequest;
use Sabre\Xml\Reader; use Sabre\Xml\Reader;
use Sabre\Xml\XmlDeserializable; use Sabre\Xml\XmlDeserializable;
use OCA\DAV\CalDAV\Search\SearchPlugin;


class LimitFilter implements XmlDeserializable { class LimitFilter implements XmlDeserializable {




return (int)$value; return (int)$value;
} }
}
}

+ 3
- 2
apps/dav/lib/CalDAV/Search/Xml/Filter/OffsetFilter.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */

namespace OCA\DAV\CalDAV\Search\Xml\Filter; namespace OCA\DAV\CalDAV\Search\Xml\Filter;


use OCA\DAV\CalDAV\Search\SearchPlugin;
use Sabre\DAV\Exception\BadRequest; use Sabre\DAV\Exception\BadRequest;
use Sabre\Xml\Reader; use Sabre\Xml\Reader;
use Sabre\Xml\XmlDeserializable; use Sabre\Xml\XmlDeserializable;
use OCA\DAV\CalDAV\Search\SearchPlugin;


class OffsetFilter implements XmlDeserializable { class OffsetFilter implements XmlDeserializable {




return (int)$value; return (int)$value;
} }
}
}

+ 2
- 1
apps/dav/lib/CalDAV/Search/Xml/Filter/ParamFilter.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */

namespace OCA\DAV\CalDAV\Search\Xml\Filter; namespace OCA\DAV\CalDAV\Search\Xml\Filter;


use OCA\DAV\CalDAV\Search\SearchPlugin;
use Sabre\DAV\Exception\BadRequest; use Sabre\DAV\Exception\BadRequest;
use Sabre\Xml\Reader; use Sabre\Xml\Reader;
use Sabre\Xml\XmlDeserializable; use Sabre\Xml\XmlDeserializable;
use OCA\DAV\CalDAV\Search\SearchPlugin;


class ParamFilter implements XmlDeserializable { class ParamFilter implements XmlDeserializable {



+ 2
- 1
apps/dav/lib/CalDAV/Search/Xml/Filter/PropFilter.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */

namespace OCA\DAV\CalDAV\Search\Xml\Filter; namespace OCA\DAV\CalDAV\Search\Xml\Filter;


use OCA\DAV\CalDAV\Search\SearchPlugin;
use Sabre\DAV\Exception\BadRequest; use Sabre\DAV\Exception\BadRequest;
use Sabre\Xml\Reader; use Sabre\Xml\Reader;
use Sabre\Xml\XmlDeserializable; use Sabre\Xml\XmlDeserializable;
use OCA\DAV\CalDAV\Search\SearchPlugin;


class PropFilter implements XmlDeserializable { class PropFilter implements XmlDeserializable {



+ 3
- 2
apps/dav/lib/CalDAV/Search/Xml/Filter/SearchTermFilter.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */

namespace OCA\DAV\CalDAV\Search\Xml\Filter; namespace OCA\DAV\CalDAV\Search\Xml\Filter;


use OCA\DAV\CalDAV\Search\SearchPlugin;
use Sabre\DAV\Exception\BadRequest; use Sabre\DAV\Exception\BadRequest;
use Sabre\Xml\Reader; use Sabre\Xml\Reader;
use Sabre\Xml\XmlDeserializable; use Sabre\Xml\XmlDeserializable;
use OCA\DAV\CalDAV\Search\SearchPlugin;


class SearchTermFilter implements XmlDeserializable { class SearchTermFilter implements XmlDeserializable {




return $value; return $value;
} }
}
}

+ 2
- 1
apps/dav/lib/CalDAV/Search/Xml/Request/CalendarSearchReport.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */

namespace OCA\DAV\CalDAV\Search\Xml\Request; namespace OCA\DAV\CalDAV\Search\Xml\Request;


use OCA\DAV\CalDAV\Search\SearchPlugin;
use Sabre\DAV\Exception\BadRequest; use Sabre\DAV\Exception\BadRequest;
use Sabre\Xml\Reader; use Sabre\Xml\Reader;
use Sabre\Xml\XmlDeserializable; use Sabre\Xml\XmlDeserializable;
use OCA\DAV\CalDAV\Search\SearchPlugin;


/** /**
* CalendarSearchReport request parser. * CalendarSearchReport request parser.

+ 1
- 0
apps/dav/lib/CalDAV/WebcalCaching/Plugin.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */

namespace OCA\DAV\CalDAV\WebcalCaching; namespace OCA\DAV\CalDAV\WebcalCaching;


use OCA\DAV\CalDAV\CalendarHome; use OCA\DAV\CalDAV\CalendarHome;

+ 0
- 1
apps/dav/lib/Capabilities.php View File

* *
*/ */



namespace OCA\DAV; namespace OCA\DAV;


use OCP\Capabilities\ICapability; use OCP\Capabilities\ICapability;

+ 1
- 0
apps/dav/lib/CardDAV/AddressBook.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/> * along with this program. If not, see <http://www.gnu.org/licenses/>
* *
*/ */

namespace OCA\DAV\CardDAV; namespace OCA\DAV\CardDAV;


use OCA\DAV\DAV\Sharing\IShareable; use OCA\DAV\DAV\Sharing\IShareable;

+ 1
- 0
apps/dav/lib/CardDAV/AddressBookRoot.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/> * along with this program. If not, see <http://www.gnu.org/licenses/>
* *
*/ */

namespace OCA\DAV\CardDAV; namespace OCA\DAV\CardDAV;


use OCP\IL10N; use OCP\IL10N;

+ 1
- 1
apps/dav/lib/CardDAV/CardDavBackend.php View File

namespace OCA\DAV\CardDAV; namespace OCA\DAV\CardDAV;


use OCA\DAV\Connector\Sabre\Principal; use OCA\DAV\Connector\Sabre\Principal;
use OCP\DB\QueryBuilder\IQueryBuilder;
use OCA\DAV\DAV\Sharing\Backend; use OCA\DAV\DAV\Sharing\Backend;
use OCA\DAV\DAV\Sharing\IShareable; use OCA\DAV\DAV\Sharing\IShareable;
use OCP\DB\QueryBuilder\IQueryBuilder;
use OCP\IDBConnection; use OCP\IDBConnection;
use OCP\IGroupManager; use OCP\IGroupManager;
use OCP\IUser; use OCP\IUser;

+ 2
- 1
apps/dav/lib/CardDAV/PhotoCache.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */

namespace OCA\DAV\CardDAV; namespace OCA\DAV\CardDAV;


use OCP\Files\IAppData; use OCP\Files\IAppData;
use OCP\ILogger;
use OCP\Files\NotFoundException; use OCP\Files\NotFoundException;
use OCP\Files\NotPermittedException; use OCP\Files\NotPermittedException;
use OCP\Files\SimpleFS\ISimpleFile; use OCP\Files\SimpleFS\ISimpleFile;
use OCP\Files\SimpleFS\ISimpleFolder; use OCP\Files\SimpleFS\ISimpleFolder;
use OCP\ILogger;
use Sabre\CardDAV\Card; use Sabre\CardDAV\Card;
use Sabre\VObject\Property\Binary; use Sabre\VObject\Property\Binary;
use Sabre\VObject\Reader; use Sabre\VObject\Reader;

+ 1
- 0
apps/dav/lib/CardDAV/UserAddressBooks.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/> * along with this program. If not, see <http://www.gnu.org/licenses/>
* *
*/ */

namespace OCA\DAV\CardDAV; namespace OCA\DAV\CardDAV;


use OCP\IConfig; use OCP\IConfig;

+ 2
- 1
apps/dav/lib/CardDAV/Xml/Groups.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/> * along with this program. If not, see <http://www.gnu.org/licenses/>
* *
*/ */

namespace OCA\DAV\CardDAV\Xml; namespace OCA\DAV\CardDAV\Xml;


use Sabre\Xml\XmlSerializable;
use Sabre\Xml\Writer; use Sabre\Xml\Writer;
use Sabre\Xml\XmlSerializable;


class Groups implements XmlSerializable { class Groups implements XmlSerializable {
const NS_OWNCLOUD = 'http://owncloud.org/ns'; const NS_OWNCLOUD = 'http://owncloud.org/ns';

+ 1
- 0
apps/dav/lib/Command/CreateAddressBook.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/> * along with this program. If not, see <http://www.gnu.org/licenses/>
* *
*/ */

namespace OCA\DAV\Command; namespace OCA\DAV\Command;


use OCA\DAV\CardDAV\CardDavBackend; use OCA\DAV\CardDAV\CardDavBackend;

+ 1
- 0
apps/dav/lib/Command/CreateCalendar.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/> * along with this program. If not, see <http://www.gnu.org/licenses/>
* *
*/ */

namespace OCA\DAV\Command; namespace OCA\DAV\Command;


use OCA\DAV\CalDAV\CalDavBackend; use OCA\DAV\CalDAV\CalDavBackend;

+ 1
- 0
apps/dav/lib/Command/ListCalendars.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/> * along with this program. If not, see <http://www.gnu.org/licenses/>
* *
*/ */

namespace OCA\DAV\Command; namespace OCA\DAV\Command;


use OCA\DAV\CalDAV\BirthdayService; use OCA\DAV\CalDAV\BirthdayService;

+ 1
- 0
apps/dav/lib/Command/MoveCalendar.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/> * along with this program. If not, see <http://www.gnu.org/licenses/>
* *
*/ */

namespace OCA\DAV\Command; namespace OCA\DAV\Command;


use OCA\DAV\CalDAV\CalDavBackend; use OCA\DAV\CalDAV\CalDavBackend;

+ 1
- 0
apps/dav/lib/Command/SendEventReminders.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/> * along with this program. If not, see <http://www.gnu.org/licenses/>
* *
*/ */

namespace OCA\DAV\Command; namespace OCA\DAV\Command;


use OCA\DAV\CalDAV\Reminder\ReminderService; use OCA\DAV\CalDAV\Reminder\ReminderService;

+ 1
- 0
apps/dav/lib/Command/SyncBirthdayCalendar.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/> * along with this program. If not, see <http://www.gnu.org/licenses/>
* *
*/ */

namespace OCA\DAV\Command; namespace OCA\DAV\Command;


use OCA\DAV\CalDAV\BirthdayService; use OCA\DAV\CalDAV\BirthdayService;

+ 1
- 0
apps/dav/lib/Command/SyncSystemAddressBook.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/> * along with this program. If not, see <http://www.gnu.org/licenses/>
* *
*/ */

namespace OCA\DAV\Command; namespace OCA\DAV\Command;


use OCA\DAV\CardDAV\SyncService; use OCA\DAV\CardDAV\SyncService;

+ 1
- 1
apps/dav/lib/Comments/CommentsPlugin.php View File

use OCP\Comments\ICommentsManager; use OCP\Comments\ICommentsManager;
use OCP\IUserSession; use OCP\IUserSession;
use Sabre\DAV\Exception\BadRequest; use Sabre\DAV\Exception\BadRequest;
use Sabre\DAV\Exception\NotFound;
use Sabre\DAV\Exception\ReportNotSupported; use Sabre\DAV\Exception\ReportNotSupported;
use Sabre\DAV\Exception\UnsupportedMediaType; use Sabre\DAV\Exception\UnsupportedMediaType;
use Sabre\DAV\Exception\NotFound;
use Sabre\DAV\Server; use Sabre\DAV\Server;
use Sabre\DAV\ServerPlugin; use Sabre\DAV\ServerPlugin;
use Sabre\DAV\Xml\Element\Response; use Sabre\DAV\Xml\Element\Response;

+ 0
- 1
apps/dav/lib/Comments/EntityCollection.php View File

return [self::PROPERTY_NAME_READ_MARKER => $marker]; return [self::PROPERTY_NAME_READ_MARKER => $marker];
} }
} }


+ 1
- 1
apps/dav/lib/Comments/RootCollection.php View File

use OCP\ILogger; use OCP\ILogger;
use OCP\IUserManager; use OCP\IUserManager;
use OCP\IUserSession; use OCP\IUserSession;
use Sabre\DAV\Exception\NotAuthenticated;
use Sabre\DAV\Exception\Forbidden; use Sabre\DAV\Exception\Forbidden;
use Sabre\DAV\Exception\NotAuthenticated;
use Sabre\DAV\Exception\NotFound; use Sabre\DAV\Exception\NotFound;
use Sabre\DAV\ICollection; use Sabre\DAV\ICollection;
use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Component\EventDispatcher\EventDispatcherInterface;

+ 1
- 0
apps/dav/lib/Connector/Sabre/Auth.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/> * along with this program. If not, see <http://www.gnu.org/licenses/>
* *
*/ */

namespace OCA\DAV\Connector\Sabre; namespace OCA\DAV\Connector\Sabre;


use Exception; use Exception;

+ 1
- 1
apps/dav/lib/Connector/Sabre/BlockLegacyClientPlugin.php View File

namespace OCA\DAV\Connector\Sabre; namespace OCA\DAV\Connector\Sabre;


use OCP\IConfig; use OCP\IConfig;
use Sabre\HTTP\RequestInterface;
use Sabre\DAV\ServerPlugin; use Sabre\DAV\ServerPlugin;
use Sabre\HTTP\RequestInterface;


/** /**
* Class BlockLegacyClientPlugin is used to detect old legacy sync clients and * Class BlockLegacyClientPlugin is used to detect old legacy sync clients and

+ 2
- 1
apps/dav/lib/Connector/Sabre/ChecksumList.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/> * along with this program. If not, see <http://www.gnu.org/licenses/>
* *
*/ */

namespace OCA\DAV\Connector\Sabre; namespace OCA\DAV\Connector\Sabre;


use Sabre\Xml\XmlSerializable;
use Sabre\Xml\Writer; use Sabre\Xml\Writer;
use Sabre\Xml\XmlSerializable;


/** /**
* Checksumlist property * Checksumlist property

+ 2
- 2
apps/dav/lib/Connector/Sabre/CopyEtagHeaderPlugin.php View File



namespace OCA\DAV\Connector\Sabre; namespace OCA\DAV\Connector\Sabre;


use \Sabre\HTTP\RequestInterface;
use \Sabre\HTTP\ResponseInterface;
use Sabre\HTTP\RequestInterface;
use Sabre\HTTP\ResponseInterface;


/** /**
* Copies the "Etag" header to "OC-Etag" after any request. * Copies the "Etag" header to "OC-Etag" after any request.

+ 2
- 2
apps/dav/lib/Connector/Sabre/CustomPropertiesBackend.php View File



use OCP\IDBConnection; use OCP\IDBConnection;
use OCP\IUser; use OCP\IUser;
use Sabre\DAV\Exception\NotFound;
use Sabre\DAV\Exception\ServiceUnavailable;
use Sabre\DAV\PropertyStorage\Backend\BackendInterface; use Sabre\DAV\PropertyStorage\Backend\BackendInterface;
use Sabre\DAV\PropFind; use Sabre\DAV\PropFind;
use Sabre\DAV\PropPatch; use Sabre\DAV\PropPatch;
use Sabre\DAV\Tree; use Sabre\DAV\Tree;
use Sabre\DAV\Exception\NotFound;
use Sabre\DAV\Exception\ServiceUnavailable;


class CustomPropertiesBackend implements BackendInterface { class CustomPropertiesBackend implements BackendInterface {



+ 2
- 2
apps/dav/lib/Connector/Sabre/DavAclPlugin.php View File



namespace OCA\DAV\Connector\Sabre; namespace OCA\DAV\Connector\Sabre;


use OCA\DAV\CardDAV\AddressBook;
use Sabre\CalDAV\Principal\User; use Sabre\CalDAV\Principal\User;
use Sabre\DAV\Exception\NotFound; use Sabre\DAV\Exception\NotFound;
use Sabre\DAV\INode; use Sabre\DAV\INode;
use \Sabre\DAV\PropFind;
use OCA\DAV\CardDAV\AddressBook;
use Sabre\DAV\PropFind;
use Sabre\HTTP\RequestInterface; use Sabre\HTTP\RequestInterface;
use Sabre\HTTP\ResponseInterface; use Sabre\HTTP\ResponseInterface;



+ 5
- 5
apps/dav/lib/Connector/Sabre/Directory.php View File



namespace OCA\DAV\Connector\Sabre; namespace OCA\DAV\Connector\Sabre;


use OC\Files\Mount\MoveableMount;
use OC\Files\View; use OC\Files\View;
use OCA\DAV\Connector\Sabre\Exception\FileLocked;
use OCA\DAV\Connector\Sabre\Exception\Forbidden; use OCA\DAV\Connector\Sabre\Exception\Forbidden;
use OCA\DAV\Connector\Sabre\Exception\InvalidPath; use OCA\DAV\Connector\Sabre\Exception\InvalidPath;
use OCA\DAV\Connector\Sabre\Exception\FileLocked;
use OCP\Files\FileInfo; use OCP\Files\FileInfo;
use OCP\Files\ForbiddenException; use OCP\Files\ForbiddenException;
use OCP\Files\InvalidPathException; use OCP\Files\InvalidPathException;
use OCP\Files\StorageNotAvailableException; use OCP\Files\StorageNotAvailableException;
use OCP\Lock\ILockingProvider; use OCP\Lock\ILockingProvider;
use OCP\Lock\LockedException; use OCP\Lock\LockedException;
use Sabre\DAV\Exception\BadRequest;
use Sabre\DAV\Exception\Locked; use Sabre\DAV\Exception\Locked;
use Sabre\DAV\Exception\NotFound;
use Sabre\DAV\Exception\ServiceUnavailable; use Sabre\DAV\Exception\ServiceUnavailable;
use Sabre\DAV\INode;
use Sabre\DAV\Exception\BadRequest;
use OC\Files\Mount\MoveableMount;
use Sabre\DAV\IFile; use Sabre\DAV\IFile;
use Sabre\DAV\Exception\NotFound;
use Sabre\DAV\INode;


class Directory extends \OCA\DAV\Connector\Sabre\Node class Directory extends \OCA\DAV\Connector\Sabre\Node
implements \Sabre\DAV\ICollection, \Sabre\DAV\IQuota, \Sabre\DAV\IMoveTarget { implements \Sabre\DAV\ICollection, \Sabre\DAV\IQuota, \Sabre\DAV\IMoveTarget {

+ 1
- 1
apps/dav/lib/Connector/Sabre/DummyGetResponsePlugin.php View File

*/ */


namespace OCA\DAV\Connector\Sabre; namespace OCA\DAV\Connector\Sabre;
use Sabre\HTTP\ResponseInterface;
use Sabre\HTTP\RequestInterface; use Sabre\HTTP\RequestInterface;
use Sabre\HTTP\ResponseInterface;


/** /**
* Class DummyGetResponsePlugin is a plugin used to not show a "Not implemented" * Class DummyGetResponsePlugin is a plugin used to not show a "Not implemented"

+ 1
- 0
apps/dav/lib/Connector/Sabre/Exception/EntityTooLarge.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/> * along with this program. If not, see <http://www.gnu.org/licenses/>
* *
*/ */

namespace OCA\DAV\Connector\Sabre\Exception; namespace OCA\DAV\Connector\Sabre\Exception;


/** /**

+ 1
- 1
apps/dav/lib/Connector/Sabre/Exception/PasswordLoginForbidden.php View File

namespace OCA\DAV\Connector\Sabre\Exception; namespace OCA\DAV\Connector\Sabre\Exception;


use DOMElement; use DOMElement;
use Sabre\DAV\Server;
use Sabre\DAV\Exception\NotAuthenticated; use Sabre\DAV\Exception\NotAuthenticated;
use Sabre\DAV\Server;


class PasswordLoginForbidden extends NotAuthenticated { class PasswordLoginForbidden extends NotAuthenticated {



+ 1
- 0
apps/dav/lib/Connector/Sabre/Exception/UnsupportedMediaType.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/> * along with this program. If not, see <http://www.gnu.org/licenses/>
* *
*/ */

namespace OCA\DAV\Connector\Sabre\Exception; namespace OCA\DAV\Connector\Sabre\Exception;


/** /**

+ 2
- 2
apps/dav/lib/Connector/Sabre/FakeLockerPlugin.php View File



namespace OCA\DAV\Connector\Sabre; namespace OCA\DAV\Connector\Sabre;


use Sabre\DAV\INode;
use Sabre\DAV\Locks\LockInfo; use Sabre\DAV\Locks\LockInfo;
use Sabre\DAV\PropFind;
use Sabre\DAV\ServerPlugin; use Sabre\DAV\ServerPlugin;
use Sabre\DAV\Xml\Property\LockDiscovery; use Sabre\DAV\Xml\Property\LockDiscovery;
use Sabre\DAV\Xml\Property\SupportedLock; use Sabre\DAV\Xml\Property\SupportedLock;
use Sabre\HTTP\RequestInterface; use Sabre\HTTP\RequestInterface;
use Sabre\HTTP\ResponseInterface; use Sabre\HTTP\ResponseInterface;
use Sabre\DAV\PropFind;
use Sabre\DAV\INode;


/** /**
* Class FakeLockerPlugin is a plugin only used when connections come in from * Class FakeLockerPlugin is a plugin only used when connections come in from

+ 1
- 1
apps/dav/lib/Connector/Sabre/File.php View File

use Sabre\DAV\Exception; use Sabre\DAV\Exception;
use Sabre\DAV\Exception\BadRequest; use Sabre\DAV\Exception\BadRequest;
use Sabre\DAV\Exception\Forbidden; use Sabre\DAV\Exception\Forbidden;
use Sabre\DAV\Exception\NotFound;
use Sabre\DAV\Exception\NotImplemented; use Sabre\DAV\Exception\NotImplemented;
use Sabre\DAV\Exception\ServiceUnavailable; use Sabre\DAV\Exception\ServiceUnavailable;
use Sabre\DAV\IFile; use Sabre\DAV\IFile;
use Sabre\DAV\Exception\NotFound;


class File extends Node implements IFile { class File extends Node implements IFile {



+ 7
- 7
apps/dav/lib/Connector/Sabre/FilesPlugin.php View File

use OC\AppFramework\Http\Request; use OC\AppFramework\Http\Request;
use OCP\Constants; use OCP\Constants;
use OCP\Files\ForbiddenException; use OCP\Files\ForbiddenException;
use OCP\Files\StorageNotAvailableException;
use OCP\IConfig;
use OCP\IPreview; use OCP\IPreview;
use OCP\IRequest;
use Sabre\DAV\Exception\Forbidden; use Sabre\DAV\Exception\Forbidden;
use Sabre\DAV\Exception\NotFound; use Sabre\DAV\Exception\NotFound;
use Sabre\DAV\IFile; use Sabre\DAV\IFile;
use \Sabre\DAV\PropFind;
use \Sabre\DAV\PropPatch;
use Sabre\DAV\PropFind;
use Sabre\DAV\PropPatch;
use Sabre\DAV\ServerPlugin; use Sabre\DAV\ServerPlugin;
use Sabre\DAV\Tree; use Sabre\DAV\Tree;
use \Sabre\HTTP\RequestInterface;
use \Sabre\HTTP\ResponseInterface;
use OCP\Files\StorageNotAvailableException;
use OCP\IConfig;
use OCP\IRequest;
use Sabre\HTTP\RequestInterface;
use Sabre\HTTP\ResponseInterface;


class FilesPlugin extends ServerPlugin { class FilesPlugin extends ServerPlugin {



+ 9
- 9
apps/dav/lib/Connector/Sabre/FilesReportPlugin.php View File



use OC\Files\View; use OC\Files\View;
use OCP\App\IAppManager; use OCP\App\IAppManager;
use Sabre\DAV\Exception\PreconditionFailed;
use OCP\Files\Folder;
use OCP\IGroupManager;
use OCP\ITagManager;
use OCP\IUserSession;
use OCP\SystemTag\ISystemTagManager;
use OCP\SystemTag\ISystemTagObjectMapper;
use OCP\SystemTag\TagNotFoundException;
use Sabre\DAV\Exception\BadRequest; use Sabre\DAV\Exception\BadRequest;
use Sabre\DAV\Exception\PreconditionFailed;
use Sabre\DAV\PropFind;
use Sabre\DAV\ServerPlugin; use Sabre\DAV\ServerPlugin;
use Sabre\DAV\Tree; use Sabre\DAV\Tree;
use Sabre\DAV\Xml\Element\Response; use Sabre\DAV\Xml\Element\Response;
use Sabre\DAV\Xml\Response\MultiStatus; use Sabre\DAV\Xml\Response\MultiStatus;
use Sabre\DAV\PropFind;
use OCP\SystemTag\ISystemTagObjectMapper;
use OCP\IUserSession;
use OCP\Files\Folder;
use OCP\IGroupManager;
use OCP\SystemTag\ISystemTagManager;
use OCP\SystemTag\TagNotFoundException;
use OCP\ITagManager;


class FilesReportPlugin extends ServerPlugin { class FilesReportPlugin extends ServerPlugin {



+ 1
- 2
apps/dav/lib/Connector/Sabre/Node.php View File

use OCA\DAV\Connector\Sabre\Exception\InvalidPath; use OCA\DAV\Connector\Sabre\Exception\InvalidPath;
use OCP\Files\FileInfo; use OCP\Files\FileInfo;
use OCP\Files\StorageNotAvailableException; use OCP\Files\StorageNotAvailableException;
use OCP\Share;
use OCP\Share\Exceptions\ShareNotFound; use OCP\Share\Exceptions\ShareNotFound;
use OCP\Share\IManager; use OCP\Share\IManager;
use OCP\Share;
use OCP\Share\IShare; use OCP\Share\IShare;



abstract class Node implements \Sabre\DAV\INode { abstract class Node implements \Sabre\DAV\INode {


/** /**

+ 2
- 2
apps/dav/lib/Connector/Sabre/ObjectTree.php View File



namespace OCA\DAV\Connector\Sabre; namespace OCA\DAV\Connector\Sabre;


use OC\Files\FileInfo;
use OC\Files\Storage\FailedStorage; use OC\Files\Storage\FailedStorage;
use OCA\DAV\Connector\Sabre\Exception\FileLocked;
use OCA\DAV\Connector\Sabre\Exception\Forbidden; use OCA\DAV\Connector\Sabre\Exception\Forbidden;
use OCA\DAV\Connector\Sabre\Exception\InvalidPath; use OCA\DAV\Connector\Sabre\Exception\InvalidPath;
use OCA\DAV\Connector\Sabre\Exception\FileLocked;
use OC\Files\FileInfo;
use OCP\Files\ForbiddenException; use OCP\Files\ForbiddenException;
use OCP\Files\StorageInvalidException; use OCP\Files\StorageInvalidException;
use OCP\Files\StorageNotAvailableException; use OCP\Files\StorageNotAvailableException;

+ 1
- 0
apps/dav/lib/Connector/Sabre/QuotaPlugin.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/> * along with this program. If not, see <http://www.gnu.org/licenses/>
* *
*/ */

namespace OCA\DAV\Connector\Sabre; namespace OCA\DAV\Connector\Sabre;
use OCA\DAV\Upload\FutureFile; use OCA\DAV\Upload\FutureFile;
use OCP\Files\FileInfo; use OCP\Files\FileInfo;

+ 2
- 1
apps/dav/lib/Connector/Sabre/SharesPlugin.php View File

* along with this program. If not, see <http://www.gnu.org/licenses/> * along with this program. If not, see <http://www.gnu.org/licenses/>
* *
*/ */

namespace OCA\DAV\Connector\Sabre; namespace OCA\DAV\Connector\Sabre;


use \Sabre\DAV\PropFind;
use OCP\IUserSession; use OCP\IUserSession;
use OCP\Share\IShare; use OCP\Share\IShare;
use Sabre\DAV\PropFind;


/** /**
* Sabre Plugin to provide share-related properties * Sabre Plugin to provide share-related properties

+ 0
- 0
apps/dav/lib/Connector/Sabre/TagsPlugin.php View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save