diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2018-12-13 08:40:27 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2018-12-13 08:40:27 -0100 |
commit | 7f2eede76bf40ba2c60deb10b9356ca9e8864889 (patch) | |
tree | 5d7733febe7ad9613e037b14a1a0076c756dacb8 /lib/Db | |
parent | a72039c21225de466d7761cc3fa9b1205626cf3e (diff) |
moving stuff around
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/Db')
-rw-r--r-- | lib/Db/ActorsRequest.php | 2 | ||||
-rw-r--r-- | lib/Db/ActorsRequestBuilder.php | 2 | ||||
-rw-r--r-- | lib/Db/CacheActorsRequest.php | 2 | ||||
-rw-r--r-- | lib/Db/CacheActorsRequestBuilder.php | 2 | ||||
-rw-r--r-- | lib/Db/CacheDocumentsRequest.php | 2 | ||||
-rw-r--r-- | lib/Db/CacheDocumentsRequestBuilder.php | 3 | ||||
-rw-r--r-- | lib/Db/CoreRequestBuilder.php | 8 | ||||
-rw-r--r-- | lib/Db/FollowsRequest.php | 3 | ||||
-rw-r--r-- | lib/Db/FollowsRequestBuilder.php | 2 | ||||
-rw-r--r-- | lib/Db/NotesRequest.php | 4 | ||||
-rw-r--r-- | lib/Db/NotesRequestBuilder.php | 4 |
11 files changed, 16 insertions, 18 deletions
diff --git a/lib/Db/ActorsRequest.php b/lib/Db/ActorsRequest.php index a8ad8a28..be241ab4 100644 --- a/lib/Db/ActorsRequest.php +++ b/lib/Db/ActorsRequest.php @@ -32,7 +32,7 @@ namespace OCA\Social\Db; use OCA\Social\Exceptions\ActorDoesNotExistException; use OCA\Social\Exceptions\SocialAppConfigException; -use OCA\Social\Model\ActivityPub\Person; +use OCA\Social\Model\ActivityPub\Actor\Person; use OCA\Social\Service\ConfigService; use OCA\Social\Service\MiscService; use OCP\IDBConnection; diff --git a/lib/Db/ActorsRequestBuilder.php b/lib/Db/ActorsRequestBuilder.php index 0312dea3..5263c6e3 100644 --- a/lib/Db/ActorsRequestBuilder.php +++ b/lib/Db/ActorsRequestBuilder.php @@ -32,7 +32,7 @@ namespace OCA\Social\Db; use daita\MySmallPhpTools\Traits\TArrayTools; use OCA\Social\Exceptions\SocialAppConfigException; -use OCA\Social\Model\ActivityPub\Person; +use OCA\Social\Model\ActivityPub\Actor\Person; use OCP\DB\QueryBuilder\IQueryBuilder; class ActorsRequestBuilder extends CoreRequestBuilder { diff --git a/lib/Db/CacheActorsRequest.php b/lib/Db/CacheActorsRequest.php index e69afbc1..6298c12b 100644 --- a/lib/Db/CacheActorsRequest.php +++ b/lib/Db/CacheActorsRequest.php @@ -33,7 +33,7 @@ namespace OCA\Social\Db; use DateTime; use Exception; use OCA\Social\Exceptions\CacheActorDoesNotExistException; -use OCA\Social\Model\ActivityPub\Person; +use OCA\Social\Model\ActivityPub\Actor\Person; use OCA\Social\Service\ConfigService; use OCA\Social\Service\MiscService; use OCP\DB\QueryBuilder\IQueryBuilder; diff --git a/lib/Db/CacheActorsRequestBuilder.php b/lib/Db/CacheActorsRequestBuilder.php index 4833d0e9..fe0e5313 100644 --- a/lib/Db/CacheActorsRequestBuilder.php +++ b/lib/Db/CacheActorsRequestBuilder.php @@ -32,7 +32,7 @@ namespace OCA\Social\Db; use daita\MySmallPhpTools\Traits\TArrayTools; use OCA\Social\Exceptions\InvalidResourceException; -use OCA\Social\Model\ActivityPub\Person; +use OCA\Social\Model\ActivityPub\Actor\Person; use OCP\DB\QueryBuilder\IQueryBuilder; class CacheActorsRequestBuilder extends CoreRequestBuilder { diff --git a/lib/Db/CacheDocumentsRequest.php b/lib/Db/CacheDocumentsRequest.php index 3b5d917a..43b9ad3e 100644 --- a/lib/Db/CacheDocumentsRequest.php +++ b/lib/Db/CacheDocumentsRequest.php @@ -33,7 +33,7 @@ namespace OCA\Social\Db; use DateTime; use Exception; use OCA\Social\Exceptions\CacheDocumentDoesNotExistException; -use OCA\Social\Model\ActivityPub\Document; +use OCA\Social\Model\ActivityPub\Object\Document; use OCP\DB\QueryBuilder\IQueryBuilder; class CacheDocumentsRequest extends CacheDocumentsRequestBuilder { diff --git a/lib/Db/CacheDocumentsRequestBuilder.php b/lib/Db/CacheDocumentsRequestBuilder.php index 4271fe6d..300f5066 100644 --- a/lib/Db/CacheDocumentsRequestBuilder.php +++ b/lib/Db/CacheDocumentsRequestBuilder.php @@ -31,8 +31,7 @@ namespace OCA\Social\Db; use daita\MySmallPhpTools\Traits\TArrayTools; -use OCA\Social\Model\ActivityPub\Document; -use OCA\Social\Model\ActivityPub\Image; +use OCA\Social\Model\ActivityPub\Object\Document; use OCP\DB\QueryBuilder\IQueryBuilder; class CacheDocumentsRequestBuilder extends CoreRequestBuilder { diff --git a/lib/Db/CoreRequestBuilder.php b/lib/Db/CoreRequestBuilder.php index 8f594ddd..1e96b620 100644 --- a/lib/Db/CoreRequestBuilder.php +++ b/lib/Db/CoreRequestBuilder.php @@ -36,10 +36,10 @@ use DateTime; use Doctrine\DBAL\Query\QueryBuilder; use Exception; use OCA\Social\Exceptions\InvalidResourceException; -use OCA\Social\Model\ActivityPub\Document; -use OCA\Social\Model\ActivityPub\Follow; -use OCA\Social\Model\ActivityPub\Image; -use OCA\Social\Model\ActivityPub\Person; +use OCA\Social\Model\ActivityPub\Object\Document; +use OCA\Social\Model\ActivityPub\Activity\Follow; +use OCA\Social\Model\ActivityPub\Object\Image; +use OCA\Social\Model\ActivityPub\Actor\Person; use OCA\Social\Service\ConfigService; use OCA\Social\Service\MiscService; use OCP\DB\QueryBuilder\IQueryBuilder; diff --git a/lib/Db/FollowsRequest.php b/lib/Db/FollowsRequest.php index fac47cdb..eb8789ed 100644 --- a/lib/Db/FollowsRequest.php +++ b/lib/Db/FollowsRequest.php @@ -34,8 +34,7 @@ namespace OCA\Social\Db; use daita\MySmallPhpTools\Traits\TArrayTools; use DateTime; use OCA\Social\Exceptions\FollowDoesNotExistException; -use OCA\Social\Exceptions\InvalidResourceException; -use OCA\Social\Model\ActivityPub\Follow; +use OCA\Social\Model\ActivityPub\Activity\Follow; use OCP\DB\QueryBuilder\IQueryBuilder; diff --git a/lib/Db/FollowsRequestBuilder.php b/lib/Db/FollowsRequestBuilder.php index 01e08442..6fb323a6 100644 --- a/lib/Db/FollowsRequestBuilder.php +++ b/lib/Db/FollowsRequestBuilder.php @@ -33,7 +33,7 @@ namespace OCA\Social\Db; use daita\MySmallPhpTools\Traits\TArrayTools; use OCA\Social\Exceptions\InvalidResourceException; -use OCA\Social\Model\ActivityPub\Follow; +use OCA\Social\Model\ActivityPub\Activity\Follow; use OCP\DB\QueryBuilder\IQueryBuilder; diff --git a/lib/Db/NotesRequest.php b/lib/Db/NotesRequest.php index fdd1313b..fa2f77b2 100644 --- a/lib/Db/NotesRequest.php +++ b/lib/Db/NotesRequest.php @@ -32,8 +32,8 @@ namespace OCA\Social\Db; use DateTime; use OCA\Social\Exceptions\NoteNotFoundException; -use OCA\Social\Model\ActivityPub\Note; -use OCA\Social\Model\ActivityPub\Person; +use OCA\Social\Model\ActivityPub\Object\Note; +use OCA\Social\Model\ActivityPub\Actor\Person; use OCA\Social\Service\ActivityService; use OCA\Social\Service\ConfigService; use OCA\Social\Service\MiscService; diff --git a/lib/Db/NotesRequestBuilder.php b/lib/Db/NotesRequestBuilder.php index 872004fa..4adaf37a 100644 --- a/lib/Db/NotesRequestBuilder.php +++ b/lib/Db/NotesRequestBuilder.php @@ -34,8 +34,8 @@ use daita\MySmallPhpTools\Traits\TArrayTools; use DateTime; use Doctrine\DBAL\Query\QueryBuilder; use OCA\Social\Exceptions\InvalidResourceException; -use OCA\Social\Model\ActivityPub\Note; -use OCA\Social\Model\ActivityPub\Person; +use OCA\Social\Model\ActivityPub\Object\Note; +use OCA\Social\Model\ActivityPub\Actor\Person; use OCA\Social\Model\InstancePath; use OCP\DB\QueryBuilder\ICompositeExpression; use OCP\DB\QueryBuilder\IQueryBuilder; |