Rename Activities->ActivityEventHandlers
This commit is contained in:
parent
94a54eab5f
commit
737f691a4c
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ActivityPub\Activities;
|
namespace ActivityPub\ActivityEventHandlers;
|
||||||
|
|
||||||
use ActivityPub\Objects\CollectionsService;
|
use ActivityPub\Objects\CollectionsService;
|
||||||
use ActivityPub\Objects\ContextProvider;
|
use ActivityPub\Objects\ContextProvider;
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ActivityPub\Activities;
|
namespace ActivityPub\ActivityEventHandlers;
|
||||||
|
|
||||||
use ActivityPub\Entities\ActivityPubObject;
|
use ActivityPub\Entities\ActivityPubObject;
|
||||||
use Symfony\Component\EventDispatcher\Event;
|
use Symfony\Component\EventDispatcher\Event;
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ActivityPub\Activities;
|
namespace ActivityPub\ActivityEventHandlers;
|
||||||
|
|
||||||
use ActivityPub\Objects\CollectionsService;
|
use ActivityPub\Objects\CollectionsService;
|
||||||
use ActivityPub\Objects\ObjectsService;
|
use ActivityPub\Objects\ObjectsService;
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ActivityPub\Activities;
|
namespace ActivityPub\ActivityEventHandlers;
|
||||||
|
|
||||||
use ActivityPub\Entities\ActivityPubObject;
|
use ActivityPub\Entities\ActivityPubObject;
|
||||||
use ActivityPub\Objects\CollectionsService;
|
use ActivityPub\Objects\CollectionsService;
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ActivityPub\Activities;
|
namespace ActivityPub\ActivityEventHandlers;
|
||||||
|
|
||||||
use ActivityPub\Objects\CollectionsService;
|
use ActivityPub\Objects\CollectionsService;
|
||||||
use ActivityPub\Objects\IdProvider;
|
use ActivityPub\Objects\IdProvider;
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ActivityPub\Activities;
|
namespace ActivityPub\ActivityEventHandlers;
|
||||||
|
|
||||||
use ActivityPub\Objects\ObjectsService;
|
use ActivityPub\Objects\ObjectsService;
|
||||||
use ActivityPub\Utils\DateTimeProvider;
|
use ActivityPub\Utils\DateTimeProvider;
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ActivityPub\Activities;
|
namespace ActivityPub\ActivityEventHandlers;
|
||||||
|
|
||||||
use ActivityPub\Objects\ContextProvider;
|
use ActivityPub\Objects\ContextProvider;
|
||||||
use Symfony\Component\EventDispatcher\EventDispatcher;
|
use Symfony\Component\EventDispatcher\EventDispatcher;
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ActivityPub\Activities;
|
namespace ActivityPub\ActivityEventHandlers;
|
||||||
|
|
||||||
class InboxActivityEvent extends ActivityEvent
|
class InboxActivityEvent extends ActivityEvent
|
||||||
{
|
{
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ActivityPub\Activities;
|
namespace ActivityPub\ActivityEventHandlers;
|
||||||
|
|
||||||
use ActivityPub\Entities\ActivityPubObject;
|
use ActivityPub\Entities\ActivityPubObject;
|
||||||
use ActivityPub\Objects\CollectionsService;
|
use ActivityPub\Objects\CollectionsService;
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ActivityPub\Activities;
|
namespace ActivityPub\ActivityEventHandlers;
|
||||||
|
|
||||||
use ActivityPub\Entities\ActivityPubObject;
|
use ActivityPub\Entities\ActivityPubObject;
|
||||||
use ActivityPub\Objects\ContextProvider;
|
use ActivityPub\Objects\ContextProvider;
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ActivityPub\Activities;
|
namespace ActivityPub\ActivityEventHandlers;
|
||||||
|
|
||||||
class OutboxActivityEvent extends ActivityEvent
|
class OutboxActivityEvent extends ActivityEvent
|
||||||
{
|
{
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ActivityPub\Activities;
|
namespace ActivityPub\ActivityEventHandlers;
|
||||||
|
|
||||||
use ActivityPub\Objects\CollectionsService;
|
use ActivityPub\Objects\CollectionsService;
|
||||||
use ActivityPub\Objects\ObjectsService;
|
use ActivityPub\Objects\ObjectsService;
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ActivityPub\Activities;
|
namespace ActivityPub\ActivityEventHandlers;
|
||||||
|
|
||||||
use ActivityPub\Objects\ObjectsService;
|
use ActivityPub\Objects\ObjectsService;
|
||||||
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ActivityPub\Activities;
|
namespace ActivityPub\ActivityEventHandlers;
|
||||||
|
|
||||||
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
||||||
use Symfony\Component\HttpKernel\Exception\BadRequestHttpException;
|
use Symfony\Component\HttpKernel\Exception\BadRequestHttpException;
|
@ -4,14 +4,14 @@
|
|||||||
|
|
||||||
namespace ActivityPub;
|
namespace ActivityPub;
|
||||||
|
|
||||||
use ActivityPub\Activities\AcceptHandler;
|
use ActivityPub\ActivityEventHandlers\AcceptHandler;
|
||||||
use ActivityPub\Activities\AddHandler;
|
use ActivityPub\ActivityEventHandlers\AddHandler;
|
||||||
use ActivityPub\Activities\CreateHandler;
|
use ActivityPub\ActivityEventHandlers\CreateHandler;
|
||||||
use ActivityPub\Activities\DeleteHandler;
|
use ActivityPub\ActivityEventHandlers\DeleteHandler;
|
||||||
use ActivityPub\Activities\FollowHandler;
|
use ActivityPub\ActivityEventHandlers\FollowHandler;
|
||||||
use ActivityPub\Activities\NonActivityHandler;
|
use ActivityPub\ActivityEventHandlers\NonActivityHandler;
|
||||||
use ActivityPub\Activities\UpdateHandler;
|
use ActivityPub\ActivityEventHandlers\UpdateHandler;
|
||||||
use ActivityPub\Activities\ValidationHandler;
|
use ActivityPub\ActivityEventHandlers\ValidationHandler;
|
||||||
use ActivityPub\Auth\AuthListener;
|
use ActivityPub\Auth\AuthListener;
|
||||||
use ActivityPub\Auth\SignatureListener;
|
use ActivityPub\Auth\SignatureListener;
|
||||||
use ActivityPub\Config\ActivityPubConfig;
|
use ActivityPub\Config\ActivityPubConfig;
|
||||||
|
@ -4,14 +4,14 @@
|
|||||||
|
|
||||||
namespace ActivityPub\Config;
|
namespace ActivityPub\Config;
|
||||||
|
|
||||||
use ActivityPub\Activities\AcceptHandler;
|
use ActivityPub\ActivityEventHandlers\AcceptHandler;
|
||||||
use ActivityPub\Activities\AddHandler;
|
use ActivityPub\ActivityEventHandlers\AddHandler;
|
||||||
use ActivityPub\Activities\CreateHandler;
|
use ActivityPub\ActivityEventHandlers\CreateHandler;
|
||||||
use ActivityPub\Activities\DeleteHandler;
|
use ActivityPub\ActivityEventHandlers\DeleteHandler;
|
||||||
use ActivityPub\Activities\FollowHandler;
|
use ActivityPub\ActivityEventHandlers\FollowHandler;
|
||||||
use ActivityPub\Activities\NonActivityHandler;
|
use ActivityPub\ActivityEventHandlers\NonActivityHandler;
|
||||||
use ActivityPub\Activities\UpdateHandler;
|
use ActivityPub\ActivityEventHandlers\UpdateHandler;
|
||||||
use ActivityPub\Activities\ValidationHandler;
|
use ActivityPub\ActivityEventHandlers\ValidationHandler;
|
||||||
use ActivityPub\Auth\AuthListener;
|
use ActivityPub\Auth\AuthListener;
|
||||||
use ActivityPub\Auth\AuthService;
|
use ActivityPub\Auth\AuthService;
|
||||||
use ActivityPub\Auth\SignatureListener;
|
use ActivityPub\Auth\SignatureListener;
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
namespace ActivityPub\Controllers;
|
namespace ActivityPub\Controllers;
|
||||||
|
|
||||||
use ActivityPub\Activities\InboxActivityEvent;
|
use ActivityPub\ActivityEventHandlers\InboxActivityEvent;
|
||||||
use ActivityPub\Activities\OutboxActivityEvent;
|
use ActivityPub\ActivityEventHandlers\OutboxActivityEvent;
|
||||||
use ActivityPub\Entities\ActivityPubObject;
|
use ActivityPub\Entities\ActivityPubObject;
|
||||||
use ActivityPub\Objects\ObjectsService;
|
use ActivityPub\Objects\ObjectsService;
|
||||||
use Symfony\Component\EventDispatcher\EventDispatcher;
|
use Symfony\Component\EventDispatcher\EventDispatcher;
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
namespace ActivityPub\Test\Activities;
|
namespace ActivityPub\Test\Activities;
|
||||||
|
|
||||||
use ActivityPub\Activities\AcceptHandler;
|
use ActivityPub\ActivityEventHandlers\AcceptHandler;
|
||||||
use ActivityPub\Activities\InboxActivityEvent;
|
use ActivityPub\ActivityEventHandlers\InboxActivityEvent;
|
||||||
use ActivityPub\Activities\OutboxActivityEvent;
|
use ActivityPub\ActivityEventHandlers\OutboxActivityEvent;
|
||||||
use ActivityPub\Objects\CollectionsService;
|
use ActivityPub\Objects\CollectionsService;
|
||||||
use ActivityPub\Objects\ContextProvider;
|
use ActivityPub\Objects\ContextProvider;
|
||||||
use ActivityPub\Objects\ObjectsService;
|
use ActivityPub\Objects\ObjectsService;
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
namespace ActivityPub\Test\Activities;
|
namespace ActivityPub\Test\Activities;
|
||||||
|
|
||||||
use ActivityPub\Activities\AddHandler;
|
use ActivityPub\ActivityEventHandlers\AddHandler;
|
||||||
use ActivityPub\Activities\InboxActivityEvent;
|
use ActivityPub\ActivityEventHandlers\InboxActivityEvent;
|
||||||
use ActivityPub\Activities\OutboxActivityEvent;
|
use ActivityPub\ActivityEventHandlers\OutboxActivityEvent;
|
||||||
use ActivityPub\Objects\CollectionsService;
|
use ActivityPub\Objects\CollectionsService;
|
||||||
use ActivityPub\Objects\ObjectsService;
|
use ActivityPub\Objects\ObjectsService;
|
||||||
use ActivityPub\Test\TestConfig\APTestCase;
|
use ActivityPub\Test\TestConfig\APTestCase;
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
namespace ActivityPub\Test\Activities;
|
namespace ActivityPub\Test\Activities;
|
||||||
|
|
||||||
use ActivityPub\Activities\AnnounceHandler;
|
use ActivityPub\ActivityEventHandlers\AnnounceHandler;
|
||||||
use ActivityPub\Activities\InboxActivityEvent;
|
use ActivityPub\ActivityEventHandlers\InboxActivityEvent;
|
||||||
use ActivityPub\Objects\CollectionsService;
|
use ActivityPub\Objects\CollectionsService;
|
||||||
use ActivityPub\Objects\ContextProvider;
|
use ActivityPub\Objects\ContextProvider;
|
||||||
use ActivityPub\Objects\ObjectsService;
|
use ActivityPub\Objects\ObjectsService;
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
namespace ActivityPub\Test\Activities;
|
namespace ActivityPub\Test\Activities;
|
||||||
|
|
||||||
use ActivityPub\Activities\CreateHandler;
|
use ActivityPub\ActivityEventHandlers\CreateHandler;
|
||||||
use ActivityPub\Activities\InboxActivityEvent;
|
use ActivityPub\ActivityEventHandlers\InboxActivityEvent;
|
||||||
use ActivityPub\Activities\OutboxActivityEvent;
|
use ActivityPub\ActivityEventHandlers\OutboxActivityEvent;
|
||||||
use ActivityPub\Auth\AuthService;
|
use ActivityPub\Auth\AuthService;
|
||||||
use ActivityPub\Objects\CollectionsService;
|
use ActivityPub\Objects\CollectionsService;
|
||||||
use ActivityPub\Objects\ContextProvider;
|
use ActivityPub\Objects\ContextProvider;
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
namespace ActivityPub\Test\Activities;
|
namespace ActivityPub\Test\Activities;
|
||||||
|
|
||||||
use ActivityPub\Activities\DeleteHandler;
|
use ActivityPub\ActivityEventHandlers\DeleteHandler;
|
||||||
use ActivityPub\Activities\InboxActivityEvent;
|
use ActivityPub\ActivityEventHandlers\InboxActivityEvent;
|
||||||
use ActivityPub\Activities\OutboxActivityEvent;
|
use ActivityPub\ActivityEventHandlers\OutboxActivityEvent;
|
||||||
use ActivityPub\Objects\ObjectsService;
|
use ActivityPub\Objects\ObjectsService;
|
||||||
use ActivityPub\Test\TestConfig\APTestCase;
|
use ActivityPub\Test\TestConfig\APTestCase;
|
||||||
use ActivityPub\Test\TestUtils\TestActivityPubObject;
|
use ActivityPub\Test\TestUtils\TestActivityPubObject;
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
namespace ActivityPub\Test\Activities;
|
namespace ActivityPub\Test\Activities;
|
||||||
|
|
||||||
use ActivityPub\Activities\FollowHandler;
|
use ActivityPub\ActivityEventHandlers\FollowHandler;
|
||||||
use ActivityPub\Activities\InboxActivityEvent;
|
use ActivityPub\ActivityEventHandlers\InboxActivityEvent;
|
||||||
use ActivityPub\Activities\OutboxActivityEvent;
|
use ActivityPub\ActivityEventHandlers\OutboxActivityEvent;
|
||||||
use ActivityPub\Objects\ContextProvider;
|
use ActivityPub\Objects\ContextProvider;
|
||||||
use ActivityPub\Test\TestConfig\APTestCase;
|
use ActivityPub\Test\TestConfig\APTestCase;
|
||||||
use ActivityPub\Test\TestUtils\TestActivityPubObject;
|
use ActivityPub\Test\TestUtils\TestActivityPubObject;
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
namespace ActivityPub\Test\Activities;
|
namespace ActivityPub\Test\Activities;
|
||||||
|
|
||||||
use ActivityPub\Activities\InboxActivityEvent;
|
use ActivityPub\ActivityEventHandlers\InboxActivityEvent;
|
||||||
use ActivityPub\Activities\LikeHandler;
|
use ActivityPub\ActivityEventHandlers\LikeHandler;
|
||||||
use ActivityPub\Activities\OutboxActivityEvent;
|
use ActivityPub\ActivityEventHandlers\OutboxActivityEvent;
|
||||||
use ActivityPub\Objects\CollectionsService;
|
use ActivityPub\Objects\CollectionsService;
|
||||||
use ActivityPub\Objects\ContextProvider;
|
use ActivityPub\Objects\ContextProvider;
|
||||||
use ActivityPub\Objects\ObjectsService;
|
use ActivityPub\Objects\ObjectsService;
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
namespace ActivityPub\Test\Activities;
|
namespace ActivityPub\Test\Activities;
|
||||||
|
|
||||||
use ActivityPub\Activities\NonActivityHandler;
|
use ActivityPub\ActivityEventHandlers\NonActivityHandler;
|
||||||
use ActivityPub\Activities\OutboxActivityEvent;
|
use ActivityPub\ActivityEventHandlers\OutboxActivityEvent;
|
||||||
use ActivityPub\Objects\ContextProvider;
|
use ActivityPub\Objects\ContextProvider;
|
||||||
use ActivityPub\Test\TestConfig\APTestCase;
|
use ActivityPub\Test\TestConfig\APTestCase;
|
||||||
use ActivityPub\Test\TestUtils\TestActivityPubObject;
|
use ActivityPub\Test\TestUtils\TestActivityPubObject;
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
namespace ActivityPub\Test\Activities;
|
namespace ActivityPub\Test\Activities;
|
||||||
|
|
||||||
use ActivityPub\Activities\InboxActivityEvent;
|
use ActivityPub\ActivityEventHandlers\InboxActivityEvent;
|
||||||
use ActivityPub\Activities\OutboxActivityEvent;
|
use ActivityPub\ActivityEventHandlers\OutboxActivityEvent;
|
||||||
use ActivityPub\Activities\RemoveHandler;
|
use ActivityPub\ActivityEventHandlers\RemoveHandler;
|
||||||
use ActivityPub\Objects\CollectionsService;
|
use ActivityPub\Objects\CollectionsService;
|
||||||
use ActivityPub\Objects\ObjectsService;
|
use ActivityPub\Objects\ObjectsService;
|
||||||
use ActivityPub\Test\TestConfig\APTestCase;
|
use ActivityPub\Test\TestConfig\APTestCase;
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
namespace ActivityPub\Test\Activities;
|
namespace ActivityPub\Test\Activities;
|
||||||
|
|
||||||
use ActivityPub\Activities\InboxActivityEvent;
|
use ActivityPub\ActivityEventHandlers\InboxActivityEvent;
|
||||||
use ActivityPub\Activities\OutboxActivityEvent;
|
use ActivityPub\ActivityEventHandlers\OutboxActivityEvent;
|
||||||
use ActivityPub\Activities\UpdateHandler;
|
use ActivityPub\ActivityEventHandlers\UpdateHandler;
|
||||||
use ActivityPub\Objects\ObjectsService;
|
use ActivityPub\Objects\ObjectsService;
|
||||||
use ActivityPub\Test\TestConfig\APTestCase;
|
use ActivityPub\Test\TestConfig\APTestCase;
|
||||||
use ActivityPub\Test\TestUtils\TestActivityPubObject;
|
use ActivityPub\Test\TestUtils\TestActivityPubObject;
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
namespace ActivityPub\Test\Activities;
|
namespace ActivityPub\Test\Activities;
|
||||||
|
|
||||||
use ActivityPub\Activities\InboxActivityEvent;
|
use ActivityPub\ActivityEventHandlers\InboxActivityEvent;
|
||||||
use ActivityPub\Activities\OutboxActivityEvent;
|
use ActivityPub\ActivityEventHandlers\OutboxActivityEvent;
|
||||||
use ActivityPub\Activities\ValidationHandler;
|
use ActivityPub\ActivityEventHandlers\ValidationHandler;
|
||||||
use ActivityPub\Test\TestConfig\APTestCase;
|
use ActivityPub\Test\TestConfig\APTestCase;
|
||||||
use ActivityPub\Test\TestUtils\TestActivityPubObject;
|
use ActivityPub\Test\TestUtils\TestActivityPubObject;
|
||||||
use Symfony\Component\EventDispatcher\EventDispatcher;
|
use Symfony\Component\EventDispatcher\EventDispatcher;
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
namespace ActivityPub\Test\Controllers;
|
namespace ActivityPub\Test\Controllers;
|
||||||
|
|
||||||
use ActivityPub\Activities\InboxActivityEvent;
|
use ActivityPub\ActivityEventHandlers\InboxActivityEvent;
|
||||||
use ActivityPub\Activities\OutboxActivityEvent;
|
use ActivityPub\ActivityEventHandlers\OutboxActivityEvent;
|
||||||
use ActivityPub\Controllers\PostController;
|
use ActivityPub\Controllers\PostController;
|
||||||
use ActivityPub\Objects\ObjectsService;
|
use ActivityPub\Objects\ObjectsService;
|
||||||
use ActivityPub\Test\TestConfig\APTestCase;
|
use ActivityPub\Test\TestConfig\APTestCase;
|
||||||
|
Loading…
Reference in New Issue
Block a user