Moved Controllers/ViewProxies to ViewProxies
This commit is contained in:
parent
116522498d
commit
95cf0ca37b
37 changed files with 44 additions and 44 deletions
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
namespace Szurubooru\Routes\Comments;
|
namespace Szurubooru\Routes\Comments;
|
||||||
use Szurubooru\Routes\AbstractRoute;
|
use Szurubooru\Routes\AbstractRoute;
|
||||||
use Szurubooru\Controllers\ViewProxies\CommentViewProxy;
|
use Szurubooru\ViewProxies\CommentViewProxy;
|
||||||
|
|
||||||
abstract class AbstractCommentRoute extends AbstractRoute
|
abstract class AbstractCommentRoute extends AbstractRoute
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
<?php
|
<?php
|
||||||
namespace Szurubooru\Routes\Comments;
|
namespace Szurubooru\Routes\Comments;
|
||||||
use Szurubooru\Controllers\ViewProxies\CommentViewProxy;
|
|
||||||
use Szurubooru\Controllers\ViewProxies\PostViewProxy;
|
|
||||||
use Szurubooru\Helpers\InputReader;
|
use Szurubooru\Helpers\InputReader;
|
||||||
use Szurubooru\Privilege;
|
use Szurubooru\Privilege;
|
||||||
use Szurubooru\Services\CommentService;
|
use Szurubooru\Services\CommentService;
|
||||||
use Szurubooru\Services\PostService;
|
use Szurubooru\Services\PostService;
|
||||||
use Szurubooru\Services\PrivilegeService;
|
use Szurubooru\Services\PrivilegeService;
|
||||||
|
use Szurubooru\ViewProxies\CommentViewProxy;
|
||||||
|
use Szurubooru\ViewProxies\PostViewProxy;
|
||||||
|
|
||||||
class AddComment extends AbstractCommentRoute
|
class AddComment extends AbstractCommentRoute
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
<?php
|
<?php
|
||||||
namespace Szurubooru\Routes\Comments;
|
namespace Szurubooru\Routes\Comments;
|
||||||
use Szurubooru\Controllers\ViewProxies\CommentViewProxy;
|
|
||||||
use Szurubooru\Controllers\ViewProxies\PostViewProxy;
|
|
||||||
use Szurubooru\Helpers\InputReader;
|
use Szurubooru\Helpers\InputReader;
|
||||||
use Szurubooru\Privilege;
|
use Szurubooru\Privilege;
|
||||||
use Szurubooru\Services\CommentService;
|
use Szurubooru\Services\CommentService;
|
||||||
use Szurubooru\Services\PostService;
|
use Szurubooru\Services\PostService;
|
||||||
use Szurubooru\Services\PrivilegeService;
|
use Szurubooru\Services\PrivilegeService;
|
||||||
|
use Szurubooru\ViewProxies\CommentViewProxy;
|
||||||
|
use Szurubooru\ViewProxies\PostViewProxy;
|
||||||
|
|
||||||
class DeleteComment extends AbstractCommentRoute
|
class DeleteComment extends AbstractCommentRoute
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
<?php
|
<?php
|
||||||
namespace Szurubooru\Routes\Comments;
|
namespace Szurubooru\Routes\Comments;
|
||||||
use Szurubooru\Controllers\ViewProxies\CommentViewProxy;
|
|
||||||
use Szurubooru\Controllers\ViewProxies\PostViewProxy;
|
|
||||||
use Szurubooru\Helpers\InputReader;
|
use Szurubooru\Helpers\InputReader;
|
||||||
use Szurubooru\Privilege;
|
use Szurubooru\Privilege;
|
||||||
use Szurubooru\Services\CommentService;
|
use Szurubooru\Services\CommentService;
|
||||||
use Szurubooru\Services\PostService;
|
use Szurubooru\Services\PostService;
|
||||||
use Szurubooru\Services\PrivilegeService;
|
use Szurubooru\Services\PrivilegeService;
|
||||||
|
use Szurubooru\ViewProxies\CommentViewProxy;
|
||||||
|
use Szurubooru\ViewProxies\PostViewProxy;
|
||||||
|
|
||||||
class EditComment extends AbstractCommentRoute
|
class EditComment extends AbstractCommentRoute
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace Szurubooru\Routes\Comments;
|
namespace Szurubooru\Routes\Comments;
|
||||||
use Szurubooru\Controllers\ViewProxies\CommentViewProxy;
|
|
||||||
use Szurubooru\Controllers\ViewProxies\PostViewProxy;
|
|
||||||
use Szurubooru\Helpers\InputReader;
|
use Szurubooru\Helpers\InputReader;
|
||||||
use Szurubooru\Privilege;
|
use Szurubooru\Privilege;
|
||||||
use Szurubooru\SearchServices\Filters\PostFilter;
|
use Szurubooru\SearchServices\Filters\PostFilter;
|
||||||
|
@ -10,6 +8,8 @@ use Szurubooru\SearchServices\Requirements\RequirementRangedValue;
|
||||||
use Szurubooru\Services\CommentService;
|
use Szurubooru\Services\CommentService;
|
||||||
use Szurubooru\Services\PostService;
|
use Szurubooru\Services\PostService;
|
||||||
use Szurubooru\Services\PrivilegeService;
|
use Szurubooru\Services\PrivilegeService;
|
||||||
|
use Szurubooru\ViewProxies\CommentViewProxy;
|
||||||
|
use Szurubooru\ViewProxies\PostViewProxy;
|
||||||
|
|
||||||
class GetComments extends AbstractCommentRoute
|
class GetComments extends AbstractCommentRoute
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace Szurubooru\Routes\Comments;
|
namespace Szurubooru\Routes\Comments;
|
||||||
use Szurubooru\Controllers\ViewProxies\CommentViewProxy;
|
|
||||||
use Szurubooru\Controllers\ViewProxies\PostViewProxy;
|
|
||||||
use Szurubooru\Helpers\InputReader;
|
use Szurubooru\Helpers\InputReader;
|
||||||
use Szurubooru\Privilege;
|
use Szurubooru\Privilege;
|
||||||
use Szurubooru\SearchServices\Filters\CommentFilter;
|
use Szurubooru\SearchServices\Filters\CommentFilter;
|
||||||
|
@ -10,6 +8,8 @@ use Szurubooru\SearchServices\Requirements\RequirementSingleValue;
|
||||||
use Szurubooru\Services\CommentService;
|
use Szurubooru\Services\CommentService;
|
||||||
use Szurubooru\Services\PostService;
|
use Szurubooru\Services\PostService;
|
||||||
use Szurubooru\Services\PrivilegeService;
|
use Szurubooru\Services\PrivilegeService;
|
||||||
|
use Szurubooru\ViewProxies\CommentViewProxy;
|
||||||
|
use Szurubooru\ViewProxies\PostViewProxy;
|
||||||
|
|
||||||
class GetPostComments extends AbstractCommentRoute
|
class GetPostComments extends AbstractCommentRoute
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
namespace Szurubooru\Routes\Favorites;
|
namespace Szurubooru\Routes\Favorites;
|
||||||
use Szurubooru\Controllers\ViewProxies\UserViewProxy;
|
|
||||||
use Szurubooru\Routes\AbstractRoute;
|
use Szurubooru\Routes\AbstractRoute;
|
||||||
use Szurubooru\Services\AuthService;
|
use Szurubooru\Services\AuthService;
|
||||||
use Szurubooru\Services\FavoritesService;
|
use Szurubooru\Services\FavoritesService;
|
||||||
use Szurubooru\Services\PostService;
|
use Szurubooru\Services\PostService;
|
||||||
use Szurubooru\Services\PrivilegeService;
|
use Szurubooru\Services\PrivilegeService;
|
||||||
|
use Szurubooru\ViewProxies\UserViewProxy;
|
||||||
|
|
||||||
class AddToFavorites extends AbstractRoute
|
class AddToFavorites extends AbstractRoute
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
namespace Szurubooru\Routes\Favorites;
|
namespace Szurubooru\Routes\Favorites;
|
||||||
use Szurubooru\Controllers\ViewProxies\UserViewProxy;
|
|
||||||
use Szurubooru\Routes\AbstractRoute;
|
use Szurubooru\Routes\AbstractRoute;
|
||||||
use Szurubooru\Services\AuthService;
|
use Szurubooru\Services\AuthService;
|
||||||
use Szurubooru\Services\FavoritesService;
|
use Szurubooru\Services\FavoritesService;
|
||||||
use Szurubooru\Services\PostService;
|
use Szurubooru\Services\PostService;
|
||||||
use Szurubooru\Services\PrivilegeService;
|
use Szurubooru\Services\PrivilegeService;
|
||||||
|
use Szurubooru\ViewProxies\UserViewProxy;
|
||||||
|
|
||||||
class GetFavoriteUsers extends AbstractRoute
|
class GetFavoriteUsers extends AbstractRoute
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
namespace Szurubooru\Routes\Favorites;
|
namespace Szurubooru\Routes\Favorites;
|
||||||
use Szurubooru\Controllers\ViewProxies\UserViewProxy;
|
|
||||||
use Szurubooru\Routes\AbstractRoute;
|
use Szurubooru\Routes\AbstractRoute;
|
||||||
use Szurubooru\Services\AuthService;
|
use Szurubooru\Services\AuthService;
|
||||||
use Szurubooru\Services\FavoritesService;
|
use Szurubooru\Services\FavoritesService;
|
||||||
use Szurubooru\Services\PostService;
|
use Szurubooru\Services\PostService;
|
||||||
use Szurubooru\Services\PrivilegeService;
|
use Szurubooru\Services\PrivilegeService;
|
||||||
|
use Szurubooru\ViewProxies\UserViewProxy;
|
||||||
|
|
||||||
class RemoveFromFavorites extends AbstractRoute
|
class RemoveFromFavorites extends AbstractRoute
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
<?php
|
<?php
|
||||||
namespace Szurubooru\Routes;
|
namespace Szurubooru\Routes;
|
||||||
use Szurubooru\Controllers\ViewProxies\SnapshotViewProxy;
|
|
||||||
use Szurubooru\Helpers\InputReader;
|
use Szurubooru\Helpers\InputReader;
|
||||||
use Szurubooru\Privilege;
|
use Szurubooru\Privilege;
|
||||||
use Szurubooru\Routes\AbstractRoute;
|
use Szurubooru\Routes\AbstractRoute;
|
||||||
use Szurubooru\SearchServices\Parsers\SnapshotSearchParser;
|
use Szurubooru\SearchServices\Parsers\SnapshotSearchParser;
|
||||||
use Szurubooru\Services\HistoryService;
|
use Szurubooru\Services\HistoryService;
|
||||||
use Szurubooru\Services\PrivilegeService;
|
use Szurubooru\Services\PrivilegeService;
|
||||||
|
use Szurubooru\ViewProxies\SnapshotViewProxy;
|
||||||
|
|
||||||
class GetHistory extends AbstractRoute
|
class GetHistory extends AbstractRoute
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace Szurubooru\Routes;
|
namespace Szurubooru\Routes;
|
||||||
use Szurubooru\Controllers\ViewProxies\TokenViewProxy;
|
|
||||||
use Szurubooru\Controllers\ViewProxies\UserViewProxy;
|
|
||||||
use Szurubooru\FormData\LoginFormData;
|
use Szurubooru\FormData\LoginFormData;
|
||||||
use Szurubooru\Helpers\InputReader;
|
use Szurubooru\Helpers\InputReader;
|
||||||
use Szurubooru\Router;
|
use Szurubooru\Router;
|
||||||
|
@ -9,6 +7,8 @@ use Szurubooru\Services\AuthService;
|
||||||
use Szurubooru\Services\PrivilegeService;
|
use Szurubooru\Services\PrivilegeService;
|
||||||
use Szurubooru\Services\TokenService;
|
use Szurubooru\Services\TokenService;
|
||||||
use Szurubooru\Services\UserService;
|
use Szurubooru\Services\UserService;
|
||||||
|
use Szurubooru\ViewProxies\TokenViewProxy;
|
||||||
|
use Szurubooru\ViewProxies\UserViewProxy;
|
||||||
|
|
||||||
class Login extends AbstractRoute
|
class Login extends AbstractRoute
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
namespace Szurubooru\Routes\Posts;
|
namespace Szurubooru\Routes\Posts;
|
||||||
use Szurubooru\Routes\AbstractRoute;
|
use Szurubooru\Routes\AbstractRoute;
|
||||||
use Szurubooru\Controllers\ViewProxies\PostViewProxy;
|
use Szurubooru\ViewProxies\PostViewProxy;
|
||||||
|
|
||||||
abstract class AbstractPostRoute extends AbstractRoute
|
abstract class AbstractPostRoute extends AbstractRoute
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
namespace Szurubooru\Routes\Posts;
|
namespace Szurubooru\Routes\Posts;
|
||||||
use Szurubooru\Controllers\ViewProxies\PostViewProxy;
|
|
||||||
use Szurubooru\FormData\UploadFormData;
|
use Szurubooru\FormData\UploadFormData;
|
||||||
use Szurubooru\Helpers\InputReader;
|
use Szurubooru\Helpers\InputReader;
|
||||||
use Szurubooru\Privilege;
|
use Szurubooru\Privilege;
|
||||||
use Szurubooru\Services\PostService;
|
use Szurubooru\Services\PostService;
|
||||||
use Szurubooru\Services\PrivilegeService;
|
use Szurubooru\Services\PrivilegeService;
|
||||||
|
use Szurubooru\ViewProxies\PostViewProxy;
|
||||||
|
|
||||||
class CreatePost extends AbstractPostRoute
|
class CreatePost extends AbstractPostRoute
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
<?php
|
<?php
|
||||||
namespace Szurubooru\Routes\Posts;
|
namespace Szurubooru\Routes\Posts;
|
||||||
use Szurubooru\Controllers\ViewProxies\PostViewProxy;
|
|
||||||
use Szurubooru\Controllers\ViewProxies\UserViewProxy;
|
|
||||||
use Szurubooru\Entities\Post;
|
use Szurubooru\Entities\Post;
|
||||||
use Szurubooru\Services\PostFeatureService;
|
use Szurubooru\Services\PostFeatureService;
|
||||||
|
use Szurubooru\ViewProxies\PostViewProxy;
|
||||||
|
use Szurubooru\ViewProxies\UserViewProxy;
|
||||||
|
|
||||||
class GetFeaturedPost extends AbstractPostRoute
|
class GetFeaturedPost extends AbstractPostRoute
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
<?php
|
<?php
|
||||||
namespace Szurubooru\Routes\Posts;
|
namespace Szurubooru\Routes\Posts;
|
||||||
use Szurubooru\Controllers\ViewProxies\PostViewProxy;
|
|
||||||
use Szurubooru\Privilege;
|
use Szurubooru\Privilege;
|
||||||
use Szurubooru\Services\PostService;
|
use Szurubooru\Services\PostService;
|
||||||
use Szurubooru\Services\PrivilegeService;
|
use Szurubooru\Services\PrivilegeService;
|
||||||
|
use Szurubooru\ViewProxies\PostViewProxy;
|
||||||
|
|
||||||
class GetPost extends AbstractPostRoute
|
class GetPost extends AbstractPostRoute
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
<?php
|
<?php
|
||||||
namespace Szurubooru\Routes\Posts;
|
namespace Szurubooru\Routes\Posts;
|
||||||
use Szurubooru\Config;
|
use Szurubooru\Config;
|
||||||
use Szurubooru\Controllers\ViewProxies\PostViewProxy;
|
|
||||||
use Szurubooru\Helpers\InputReader;
|
use Szurubooru\Helpers\InputReader;
|
||||||
use Szurubooru\Privilege;
|
use Szurubooru\Privilege;
|
||||||
use Szurubooru\SearchServices\Parsers\PostSearchParser;
|
use Szurubooru\SearchServices\Parsers\PostSearchParser;
|
||||||
use Szurubooru\Services\PostService;
|
use Szurubooru\Services\PostService;
|
||||||
use Szurubooru\Services\PrivilegeService;
|
use Szurubooru\Services\PrivilegeService;
|
||||||
|
use Szurubooru\ViewProxies\PostViewProxy;
|
||||||
|
|
||||||
class GetPosts extends AbstractPostRoute
|
class GetPosts extends AbstractPostRoute
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace Szurubooru\Routes\Posts\Notes;
|
namespace Szurubooru\Routes\Posts\Notes;
|
||||||
use Szurubooru\Controllers\ViewProxies\PostNoteViewProxy;
|
|
||||||
use Szurubooru\FormData\PostNoteFormData;
|
use Szurubooru\FormData\PostNoteFormData;
|
||||||
use Szurubooru\Helpers\InputReader;
|
use Szurubooru\Helpers\InputReader;
|
||||||
use Szurubooru\Privilege;
|
use Szurubooru\Privilege;
|
||||||
|
@ -8,6 +7,7 @@ use Szurubooru\Routes\Posts\AbstractPostRoute;
|
||||||
use Szurubooru\Services\PostNotesService;
|
use Szurubooru\Services\PostNotesService;
|
||||||
use Szurubooru\Services\PostService;
|
use Szurubooru\Services\PostService;
|
||||||
use Szurubooru\Services\PrivilegeService;
|
use Szurubooru\Services\PrivilegeService;
|
||||||
|
use Szurubooru\ViewProxies\PostNoteViewProxy;
|
||||||
|
|
||||||
class AddPostNote extends AbstractPostRoute
|
class AddPostNote extends AbstractPostRoute
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
<?php
|
<?php
|
||||||
namespace Szurubooru\Routes\Posts\Notes;
|
namespace Szurubooru\Routes\Posts\Notes;
|
||||||
use Szurubooru\Controllers\ViewProxies\PostNoteViewProxy;
|
|
||||||
use Szurubooru\Helpers\InputReader;
|
use Szurubooru\Helpers\InputReader;
|
||||||
use Szurubooru\Privilege;
|
use Szurubooru\Privilege;
|
||||||
use Szurubooru\Routes\Posts\AbstractPostRoute;
|
use Szurubooru\Routes\Posts\AbstractPostRoute;
|
||||||
use Szurubooru\Services\PostNotesService;
|
use Szurubooru\Services\PostNotesService;
|
||||||
use Szurubooru\Services\PostService;
|
use Szurubooru\Services\PostService;
|
||||||
use Szurubooru\Services\PrivilegeService;
|
use Szurubooru\Services\PrivilegeService;
|
||||||
|
use Szurubooru\ViewProxies\PostNoteViewProxy;
|
||||||
|
|
||||||
class GetPostNotes extends AbstractPostRoute
|
class GetPostNotes extends AbstractPostRoute
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
<?php
|
<?php
|
||||||
namespace Szurubooru\Routes\Posts\Notes;
|
namespace Szurubooru\Routes\Posts\Notes;
|
||||||
use Szurubooru\Controllers\ViewProxies\PostNoteViewProxy;
|
|
||||||
use Szurubooru\FormData\PostNoteFormData;
|
use Szurubooru\FormData\PostNoteFormData;
|
||||||
use Szurubooru\Helpers\InputReader;
|
use Szurubooru\Helpers\InputReader;
|
||||||
use Szurubooru\Privilege;
|
use Szurubooru\Privilege;
|
||||||
use Szurubooru\Routes\Posts\AbstractPostRoute;
|
use Szurubooru\Routes\Posts\AbstractPostRoute;
|
||||||
use Szurubooru\Services\PostNotesService;
|
use Szurubooru\Services\PostNotesService;
|
||||||
use Szurubooru\Services\PrivilegeService;
|
use Szurubooru\Services\PrivilegeService;
|
||||||
|
use Szurubooru\ViewProxies\PostNoteViewProxy;
|
||||||
|
|
||||||
class UpdatePostNote extends AbstractPostRoute
|
class UpdatePostNote extends AbstractPostRoute
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
namespace Szurubooru\Routes\Posts;
|
namespace Szurubooru\Routes\Posts;
|
||||||
use Szurubooru\Controllers\ViewProxies\PostViewProxy;
|
|
||||||
use Szurubooru\FormData\PostEditFormData;
|
use Szurubooru\FormData\PostEditFormData;
|
||||||
use Szurubooru\Helpers\InputReader;
|
use Szurubooru\Helpers\InputReader;
|
||||||
use Szurubooru\Privilege;
|
use Szurubooru\Privilege;
|
||||||
use Szurubooru\Services\PostService;
|
use Szurubooru\Services\PostService;
|
||||||
use Szurubooru\Services\PrivilegeService;
|
use Szurubooru\Services\PrivilegeService;
|
||||||
|
use Szurubooru\ViewProxies\PostViewProxy;
|
||||||
|
|
||||||
class UpdatePost extends AbstractPostRoute
|
class UpdatePost extends AbstractPostRoute
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
namespace Szurubooru\Routes\Tags;
|
namespace Szurubooru\Routes\Tags;
|
||||||
use Szurubooru\Routes\AbstractRoute;
|
use Szurubooru\Routes\AbstractRoute;
|
||||||
use Szurubooru\Controllers\ViewProxies\TagViewProxy;
|
use Szurubooru\ViewProxies\TagViewProxy;
|
||||||
|
|
||||||
abstract class AbstractTagRoute extends AbstractRoute
|
abstract class AbstractTagRoute extends AbstractRoute
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
<?php
|
<?php
|
||||||
namespace Szurubooru\Routes\Tags;
|
namespace Szurubooru\Routes\Tags;
|
||||||
use Szurubooru\Controllers\ViewProxies\TagViewProxy;
|
|
||||||
use Szurubooru\Privilege;
|
use Szurubooru\Privilege;
|
||||||
use Szurubooru\Services\PrivilegeService;
|
use Szurubooru\Services\PrivilegeService;
|
||||||
use Szurubooru\Services\TagService;
|
use Szurubooru\Services\TagService;
|
||||||
|
use Szurubooru\ViewProxies\TagViewProxy;
|
||||||
|
|
||||||
class GetTag extends AbstractTagRoute
|
class GetTag extends AbstractTagRoute
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
<?php
|
<?php
|
||||||
namespace Szurubooru\Routes\Tags;
|
namespace Szurubooru\Routes\Tags;
|
||||||
use Szurubooru\Controllers\ViewProxies\TagViewProxy;
|
|
||||||
use Szurubooru\Privilege;
|
use Szurubooru\Privilege;
|
||||||
use Szurubooru\Services\PrivilegeService;
|
use Szurubooru\Services\PrivilegeService;
|
||||||
use Szurubooru\Services\TagService;
|
use Szurubooru\Services\TagService;
|
||||||
|
use Szurubooru\ViewProxies\TagViewProxy;
|
||||||
|
|
||||||
class GetTagSiblings extends AbstractTagRoute
|
class GetTagSiblings extends AbstractTagRoute
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
namespace Szurubooru\Routes\Tags;
|
namespace Szurubooru\Routes\Tags;
|
||||||
use Szurubooru\Controllers\ViewProxies\TagViewProxy;
|
|
||||||
use Szurubooru\Helpers\InputReader;
|
use Szurubooru\Helpers\InputReader;
|
||||||
use Szurubooru\Privilege;
|
use Szurubooru\Privilege;
|
||||||
use Szurubooru\SearchServices\Parsers\TagSearchParser;
|
use Szurubooru\SearchServices\Parsers\TagSearchParser;
|
||||||
use Szurubooru\Services\PrivilegeService;
|
use Szurubooru\Services\PrivilegeService;
|
||||||
use Szurubooru\Services\TagService;
|
use Szurubooru\Services\TagService;
|
||||||
|
use Szurubooru\ViewProxies\TagViewProxy;
|
||||||
|
|
||||||
class GetTags extends AbstractTagRoute
|
class GetTags extends AbstractTagRoute
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
namespace Szurubooru\Routes\Tags;
|
namespace Szurubooru\Routes\Tags;
|
||||||
use Szurubooru\Controllers\ViewProxies\TagViewProxy;
|
|
||||||
use Szurubooru\FormData\TagEditFormData;
|
use Szurubooru\FormData\TagEditFormData;
|
||||||
use Szurubooru\Helpers\InputReader;
|
use Szurubooru\Helpers\InputReader;
|
||||||
use Szurubooru\Privilege;
|
use Szurubooru\Privilege;
|
||||||
use Szurubooru\Services\PrivilegeService;
|
use Szurubooru\Services\PrivilegeService;
|
||||||
use Szurubooru\Services\TagService;
|
use Szurubooru\Services\TagService;
|
||||||
|
use Szurubooru\ViewProxies\TagViewProxy;
|
||||||
|
|
||||||
class UpdateTag extends AbstractTagRoute
|
class UpdateTag extends AbstractTagRoute
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
namespace Szurubooru\Routes\Users;
|
namespace Szurubooru\Routes\Users;
|
||||||
use Szurubooru\Controllers\ViewProxies\UserViewProxy;
|
|
||||||
use Szurubooru\FormData\RegistrationFormData;
|
use Szurubooru\FormData\RegistrationFormData;
|
||||||
use Szurubooru\Helpers\InputReader;
|
use Szurubooru\Helpers\InputReader;
|
||||||
use Szurubooru\Privilege;
|
use Szurubooru\Privilege;
|
||||||
use Szurubooru\Services\PrivilegeService;
|
use Szurubooru\Services\PrivilegeService;
|
||||||
use Szurubooru\Services\UserService;
|
use Szurubooru\Services\UserService;
|
||||||
|
use Szurubooru\ViewProxies\UserViewProxy;
|
||||||
|
|
||||||
class CreateUser extends AbstractUserRoute
|
class CreateUser extends AbstractUserRoute
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
<?php
|
<?php
|
||||||
namespace Szurubooru\Routes\Users;
|
namespace Szurubooru\Routes\Users;
|
||||||
use Szurubooru\Controllers\ViewProxies\UserViewProxy;
|
|
||||||
use Szurubooru\Privilege;
|
use Szurubooru\Privilege;
|
||||||
use Szurubooru\SearchServices\Parsers\UserSearchParser;
|
use Szurubooru\SearchServices\Parsers\UserSearchParser;
|
||||||
use Szurubooru\Services\PrivilegeService;
|
use Szurubooru\Services\PrivilegeService;
|
||||||
use Szurubooru\Services\UserService;
|
use Szurubooru\Services\UserService;
|
||||||
|
use Szurubooru\ViewProxies\UserViewProxy;
|
||||||
|
|
||||||
class GetUser extends AbstractUserRoute
|
class GetUser extends AbstractUserRoute
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
<?php
|
<?php
|
||||||
namespace Szurubooru\Routes\Users;
|
namespace Szurubooru\Routes\Users;
|
||||||
use Szurubooru\Config;
|
use Szurubooru\Config;
|
||||||
use Szurubooru\Controllers\ViewProxies\UserViewProxy;
|
|
||||||
use Szurubooru\Helpers\InputReader;
|
use Szurubooru\Helpers\InputReader;
|
||||||
use Szurubooru\Privilege;
|
use Szurubooru\Privilege;
|
||||||
use Szurubooru\SearchServices\Parsers\UserSearchParser;
|
use Szurubooru\SearchServices\Parsers\UserSearchParser;
|
||||||
use Szurubooru\Services\PrivilegeService;
|
use Szurubooru\Services\PrivilegeService;
|
||||||
use Szurubooru\Services\UserService;
|
use Szurubooru\Services\UserService;
|
||||||
|
use Szurubooru\ViewProxies\UserViewProxy;
|
||||||
|
|
||||||
class GetUsers extends AbstractUserRoute
|
class GetUsers extends AbstractUserRoute
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
namespace Szurubooru\Routes\Users;
|
namespace Szurubooru\Routes\Users;
|
||||||
use Szurubooru\Controllers\ViewProxies\UserViewProxy;
|
|
||||||
use Szurubooru\FormData\UserEditFormData;
|
use Szurubooru\FormData\UserEditFormData;
|
||||||
use Szurubooru\Helpers\InputReader;
|
use Szurubooru\Helpers\InputReader;
|
||||||
use Szurubooru\Privilege;
|
use Szurubooru\Privilege;
|
||||||
use Szurubooru\Services\PrivilegeService;
|
use Szurubooru\Services\PrivilegeService;
|
||||||
use Szurubooru\Services\UserService;
|
use Szurubooru\Services\UserService;
|
||||||
|
use Szurubooru\ViewProxies\UserViewProxy;
|
||||||
|
|
||||||
class UpdateUser extends AbstractUserRoute
|
class UpdateUser extends AbstractUserRoute
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace Szurubooru\Controllers\ViewProxies;
|
namespace Szurubooru\ViewProxies;
|
||||||
|
|
||||||
abstract class AbstractViewProxy
|
abstract class AbstractViewProxy
|
||||||
{
|
{
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace Szurubooru\Controllers\ViewProxies;
|
namespace Szurubooru\ViewProxies;
|
||||||
use Szurubooru\Services\AuthService;
|
use Szurubooru\Services\AuthService;
|
||||||
use Szurubooru\Services\ScoreService;
|
use Szurubooru\Services\ScoreService;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace Szurubooru\Controllers\ViewProxies;
|
namespace Szurubooru\ViewProxies;
|
||||||
|
|
||||||
class PostNoteViewProxy extends AbstractViewProxy
|
class PostNoteViewProxy extends AbstractViewProxy
|
||||||
{
|
{
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace Szurubooru\Controllers\ViewProxies;
|
namespace Szurubooru\ViewProxies;
|
||||||
use Szurubooru\Entities\Post;
|
use Szurubooru\Entities\Post;
|
||||||
use Szurubooru\Helpers\EnumHelper;
|
use Szurubooru\Helpers\EnumHelper;
|
||||||
use Szurubooru\Helpers\MimeHelper;
|
use Szurubooru\Helpers\MimeHelper;
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace Szurubooru\Controllers\ViewProxies;
|
namespace Szurubooru\ViewProxies;
|
||||||
|
|
||||||
class SnapshotViewProxy extends AbstractViewProxy
|
class SnapshotViewProxy extends AbstractViewProxy
|
||||||
{
|
{
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace Szurubooru\Controllers\ViewProxies;
|
namespace Szurubooru\ViewProxies;
|
||||||
use Szurubooru\Privilege;
|
use Szurubooru\Privilege;
|
||||||
use Szurubooru\Services\PrivilegeService;
|
use Szurubooru\Services\PrivilegeService;
|
||||||
use Szurubooru\Services\TagHistoryService;
|
use Szurubooru\Services\TagHistoryService;
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace Szurubooru\Controllers\ViewProxies;
|
namespace Szurubooru\ViewProxies;
|
||||||
|
|
||||||
class TokenViewProxy extends AbstractViewProxy
|
class TokenViewProxy extends AbstractViewProxy
|
||||||
{
|
{
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace Szurubooru\Controllers\ViewProxies;
|
namespace Szurubooru\ViewProxies;
|
||||||
use Szurubooru\Helpers\EnumHelper;
|
use Szurubooru\Helpers\EnumHelper;
|
||||||
use Szurubooru\Privilege;
|
use Szurubooru\Privilege;
|
||||||
use Szurubooru\Services\PrivilegeService;
|
use Szurubooru\Services\PrivilegeService;
|
Loading…
Reference in a new issue