diff --git a/app/Models/Submission.php b/app/Models/Submission.php index eae7cfea9..01a4b4bc3 100644 --- a/app/Models/Submission.php +++ b/app/Models/Submission.php @@ -103,7 +103,7 @@ protected static function booted(): void ]); //If current user does not exists in participant - if (! $userAsParticipant = $submission->user->asParticipant()) { + if (!$userAsParticipant = $submission->user->asParticipant()) { $userAsParticipant = CreateParticipantFromUserAction::run($submission->user); } @@ -155,14 +155,14 @@ public function contributors() return $this->hasMany(SubmissionContributor::class); } - public function scopeStage(Builder $query, SubmissionStage $stage) + public function scopePublished(Builder $query) { - return $query->where('stage', $stage); + return $query->status(SubmissionStatus::Published); } - public function scopePublished(Builder $query) + public function scopeStage(Builder $query, SubmissionStage $stage) { - return $query->status(SubmissionStatus::Published); + return $query->where('stage', $stage); } public function scopeStatus(Builder $query, SubmissionStatus $status) diff --git a/app/Models/SubmissionParticipant.php b/app/Models/SubmissionParticipant.php index 734fcc213..02493aabb 100644 --- a/app/Models/SubmissionParticipant.php +++ b/app/Models/SubmissionParticipant.php @@ -2,6 +2,8 @@ namespace App\Models; +use App\Models\Enums\UserRole; +use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; @@ -27,6 +29,12 @@ public function role() return $this->belongsTo(Role::class); } + public function scopeEditor(Builder $builder) + { + $roleEditor = Role::where('name', UserRole::Editor->value)->first(); + return $builder->where('role_id', $roleEditor->getKey()); + } + public function submission() { return $this->belongsTo(Submission::class); diff --git a/app/Panel/Livewire/Submissions/Components/ParticipantList.php b/app/Panel/Livewire/Submissions/Components/ParticipantList.php index 2f78ab72b..4a4ecdad7 100644 --- a/app/Panel/Livewire/Submissions/Components/ParticipantList.php +++ b/app/Panel/Livewire/Submissions/Components/ParticipantList.php @@ -139,7 +139,24 @@ function (Model $record) { ->toArray() ) ->searchable() - ->preload() + ->getSearchResultsUsing(function (Get $get, string $search) { + return User::with('roles') + ->whereHas( + 'roles', + fn (Builder $query) => $query->whereId($get('role_id')) + ) + ->whereNotIn('id', $this->submission->participants->pluck('user_id')) + ->where('given_name', 'like', "%{$search}%") + ->orWhere('family_name', 'like', "%{$search}%") + ->orWhere('email', 'like', "%{$search}%") + ->get() + ->mapWithKeys( + fn (User $user) => [ + $user->getKey() => static::renderSelectParticipant($user), + ] + ) + ->toArray(); + }) ->columnSpan(2), Fieldset::make() ->label('Notification') @@ -262,7 +279,7 @@ function (Message $message) use ($data) { ->color('primary') ->redirectTo('panel') ->action(function (SubmissionParticipant $record, Impersonate $action) { - if (! $action->impersonate($record->user)) { + if (!$action->impersonate($record->user)) { $action->failureNotificationTitle("User can't be impersonated"); $action->failure(); } diff --git a/app/Panel/Resources/SubmissionResource/Pages/ManageSubmissions.php b/app/Panel/Resources/SubmissionResource/Pages/ManageSubmissions.php index 17fcab865..2fb088360 100644 --- a/app/Panel/Resources/SubmissionResource/Pages/ManageSubmissions.php +++ b/app/Panel/Resources/SubmissionResource/Pages/ManageSubmissions.php @@ -22,13 +22,21 @@ class ManageSubmissions extends ManageRecords protected static string $view = 'panel.resources.submission-resource.pages.list-submission'; + protected const TAB_MYQUEUE = 'My Queue'; + + protected const TAB_ACTIVE = 'Active'; + + protected const TAB_PUBLISHED = 'Published'; + + protected const TAB_ARCHIVED = 'Archived'; + public function infolist(Infolist $infolist): Infolist { return $infolist ->schema([ ShoutEntry::make('title') ->hidden(function () { - return StageManager::callForAbstract()->isStageOpen() || ! Auth::user()->can('Workflow:update'); + return StageManager::callForAbstract()->isStageOpen() || !Auth::user()->can('Workflow:update'); }) ->type('warning') ->content(function () { @@ -53,7 +61,7 @@ protected function getHeaderActions(): array ->button() ->authorize('Submission:create') ->disabled( - fn (): bool => ! StageManager::callForAbstract()->isStageOpen() + fn (): bool => !StageManager::callForAbstract()->isStageOpen() ) ->url(static::$resource::getUrl('create')) ->icon('heroicon-o-plus') @@ -67,82 +75,109 @@ protected function getHeaderActions(): array ]; } - public function getTabs(): array + protected static function generateQueryByCurrentUser(string $tabs) { - return [ - 'My Queue' => Tab::make('My Queue') - ->when(auth()->user()->hasRole(UserRole::Author->value), function (Tab $tab) { - return $tab->modifyQueryUsing(function (Builder $query) { - return $query->where('user_id', auth()->id()); - }); - }) - ->when(auth()->user()->hasRole(UserRole::Reviewer->value), function (Tab $tab) { - return $tab->modifyQueryUsing(function (Builder $query) { - return $query->whereHas( - 'reviews', - fn (Builder $query) => $query->where('user_id', auth()->id()) - ); - }); - }) - ->when(auth()->user()->hasRole(UserRole::Editor->value), function (Tab $tab) { - return $tab->modifyQueryUsing(function (Builder $query) { - return $query->whereHas( - 'participants', - fn (Builder $query) => $query->where('user_id', auth()->id()) - ); - }); - }), - 'Active' => Tab::make('Active') - ->when( - auth()->user()->hasRole(UserRole::Author->value), - function (Tab $tab) { - return $tab->modifyQueryUsing(function (Builder $query) { - return $query->where('user_id', auth()->id()); + $statuses = match ($tabs) { + static::TAB_MYQUEUE => [ + SubmissionStatus::Queued, + ], + static::TAB_ACTIVE => [ + SubmissionStatus::OnReview, + SubmissionStatus::Editing, + ], + static::TAB_PUBLISHED => [ + SubmissionStatus::Published, + ], + static::TAB_ARCHIVED => [ + SubmissionStatus::Declined, + SubmissionStatus::Withdrawn, + ], + default => null, + }; + + $query = static::getResource()::getEloquentQuery(); + + if (Auth::user()->hasAnyRole([ + UserRole::Admin->value, + UserRole::ConferenceManager->value + ])) { + return $query->whereIn('status', $statuses)->when( + $tabs == static::TAB_MYQUEUE, + function (Builder $query) { + $query->orWhere([ + ['user_id', '=', Auth::id()], + ['status', '=', SubmissionStatus::Incomplete] + ]); + } + ); + } + + + // Digunakan untuk menentukan mengetahui kondisi sebelumnya sudah ada atau belum + $conditionBeforeExist = false; + return $query->when( + Auth::user()->hasRole(UserRole::Author->value), + function (Builder $query) use ($statuses, &$conditionBeforeExist) { + $query->where('user_id', Auth::id())->whereIn('status', $statuses); + $conditionBeforeExist = true; + } + )->when( + Auth::user()->hasRole(UserRole::Reviewer->value), + function (Builder $query) use (&$conditionBeforeExist, $tabs, $statuses) { + $query->when( + $conditionBeforeExist, + function (Builder $query) { + $query->orWhereHas('reviews', function (Builder $query) { + return $query->where('user_id', Auth::id()); + }); + }, + function (Builder $query) { + $query->whereHas('reviews', function (Builder $query) { + return $query->where('user_id', Auth::id()); }); } - ) - ->when(auth()->user()->hasRole(UserRole::Reviewer->value), function (Tab $tab) { - return $tab->modifyQueryUsing(function (Builder $query) { - return $query->whereHas( - 'reviews', - fn (Builder $query) => $query->where('user_id', auth()->id()) - ); - }); - }), - 'Published' => Tab::make('Published') - ->when(auth()->user()->hasRole(UserRole::Author->value), function (Tab $tab) { - return $tab->modifyQueryUsing(function (Builder $query) { - return $query->where('user_id', auth()->id()); - }); - }) - ->when(auth()->user()->hasRole(UserRole::Reviewer->value), function (Tab $tab) { - return $tab->modifyQueryUsing(function (Builder $query) { - return $query->whereHas( - 'reviews', - fn (Builder $query) => $query->where('user_id', auth()->id()) - ); - }); - }) - ->modifyQueryUsing(function (Builder $query) { - return $query->where('status', SubmissionStatus::Published); - }), - 'Declined' => Tab::make('Declined') - ->when(auth()->user()->hasRole(UserRole::Author->value), function (Tab $tab) { - return $tab->modifyQueryUsing(function (Builder $query) { - return $query->where('user_id', auth()->id()); + )->when($tabs != static::TAB_MYQUEUE, function (Builder $query) use ($statuses) { + $query->whereIn('status', $statuses); + }); + $conditionBeforeExist = true; + } + )->when( + Auth::user()->hasRole(UserRole::Editor->value), + function (Builder $query) use ($statuses, &$conditionBeforeExist) { + $query->when($conditionBeforeExist, function (Builder $query) { + $query->orWhereHas('participants', function (Builder $query) { + return $query->where('user_id', Auth::id()); }); - }) - ->when(auth()->user()->hasRole(UserRole::Reviewer->value), function (Tab $tab) { - return $tab->modifyQueryUsing(function (Builder $query) { - return $query->whereHas( - 'reviews', - fn (Builder $query) => $query->where('user_id', auth()->id()) - ); + }, function (Builder $query) { + $query->whereHas('participants', function (Builder $query) { + return $query->where('user_id', Auth::id()); }); - }) - ->modifyQueryUsing(function (Builder $query) { - return $query->where('status', SubmissionStatus::Declined); - }), + })->whereIn('status', $statuses); + } + )->when( + $tabs == static::TAB_MYQUEUE, + function (Builder $query) { + $query->orWhere([ + ['user_id', '=', Auth::id()], + ['status', '=', SubmissionStatus::Incomplete] + ]); + } + ); + } + + /** Need to be optimized */ + public function getTabs(): array + { + + return [ + static::TAB_MYQUEUE => Tab::make("My Queue") + ->modifyQueryUsing(fn (): Builder => static::generateQueryByCurrentUser(static::TAB_MYQUEUE)), + static::TAB_ACTIVE => Tab::make("Active") + ->modifyQueryUsing(fn (): Builder => static::generateQueryByCurrentUser(static::TAB_ACTIVE)), + static::TAB_PUBLISHED => Tab::make("Published") + ->modifyQueryUsing(fn (): Builder => static::generateQueryByCurrentUser(static::TAB_PUBLISHED)), + static::TAB_ARCHIVED => Tab::make("Archived") + ->modifyQueryUsing(fn (): Builder => static::generateQueryByCurrentUser(static::TAB_ARCHIVED)), ]; } } diff --git a/app/Policies/SubmissionPolicy.php b/app/Policies/SubmissionPolicy.php index 9ca4925b4..a49119ea4 100644 --- a/app/Policies/SubmissionPolicy.php +++ b/app/Policies/SubmissionPolicy.php @@ -21,8 +21,12 @@ public function viewAny(User $user) return $user->can('Submission:viewAny'); } - public function view(User $user) + public function view(User $user, Submission $submission) { + if ($submission->participants()->where('user_id', $user->getKey())->exists()) { + return true; + } + if ($user->can('Submission:view')) { return true; } @@ -285,7 +289,7 @@ public function withdraw(User $user, Submission $submission) } // Editors cannot withdraw submissions; they must wait for the author to request it.. - if (! filled($submission->withdrawn_reason)) { + if (!filled($submission->withdrawn_reason)) { return false; } diff --git a/nohup.out b/nohup.out deleted file mode 100644 index abcfedee6..000000000 --- a/nohup.out +++ /dev/null @@ -1,313 +0,0 @@ -Horizon started successfully. - 2023-12-15 10:01:36 App\Mail\Templates\ThankAuthorMail ............. RUNNING - 2023-12-15 10:01:36 App\Mail\Templates\ThankAuthorMail ........ 84.65ms DONE - 2023-12-15 10:01:36 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ........... 34.20ms DONE - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ........... 24.47ms FAIL - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 8.43ms DONE - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 7.95ms FAIL - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 7.19ms DONE - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ........... 17.05ms FAIL - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 7.87ms DONE - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 8.69ms FAIL - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 8.28ms DONE - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 7.16ms FAIL - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 7.48ms DONE - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 7.34ms FAIL - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 8.14ms DONE - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 7.48ms FAIL - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 7.86ms DONE - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 7.36ms FAIL - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 6.73ms DONE - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 8.13ms FAIL - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 8.31ms DONE - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 8.31ms FAIL - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 6.85ms DONE - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 7.92ms FAIL - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 9.01ms DONE - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 8.52ms FAIL - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ........... 10.24ms DONE - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 7.76ms FAIL - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 9.21ms DONE - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 9.49ms FAIL - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 9.50ms DONE - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 7.81ms FAIL - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 9.83ms DONE - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 8.44ms FAIL - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 9.48ms DONE - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 8.38ms FAIL - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 7.84ms DONE - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 8.20ms FAIL - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 9.12ms DONE - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 7.89ms FAIL - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 8.49ms DONE - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 9.64ms FAIL - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 7.16ms DONE - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 9.04ms FAIL - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 7.25ms DONE - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 7.82ms FAIL - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 7.07ms DONE - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 8.20ms FAIL - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 8.14ms DONE - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 8.86ms FAIL - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 7.54ms DONE - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 8.08ms FAIL - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 8.17ms DONE - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 8.92ms FAIL - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 6.97ms DONE - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ........... 18.88ms FAIL - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 6.64ms DONE - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ........... 11.24ms FAIL - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 6.69ms DONE - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 8.63ms FAIL - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 8.59ms DONE - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 9.16ms FAIL - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 8.79ms DONE - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 8.88ms FAIL - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 7.88ms DONE - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 8.85ms FAIL - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 7.24ms DONE - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 8.09ms FAIL - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ........... 14.14ms DONE - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 8.76ms FAIL - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 8.32ms DONE - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 9.30ms FAIL - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 7.20ms DONE - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 9.17ms FAIL - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 7.55ms DONE - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 9.16ms FAIL - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ........... 10.07ms DONE - 2023-12-15 10:01:37 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:01:37 App\Notifications\NewSubmission ............ 9.47ms FAIL - 2023-12-15 10:02:56 App\Mail\Templates\ThankAuthorMail ............. RUNNING - 2023-12-15 10:02:56 App\Mail\Templates\ThankAuthorMail ........ 30.44ms DONE - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ........... 13.22ms DONE - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ........... 11.16ms FAIL - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 8.19ms DONE - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 9.50ms FAIL - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 7.70ms DONE - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 7.67ms FAIL - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 9.52ms DONE - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 8.14ms FAIL - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ........... 21.84ms DONE - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 7.98ms FAIL - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 7.37ms DONE - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 9.20ms FAIL - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 7.92ms DONE - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 7.74ms FAIL - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 8.18ms DONE - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 7.60ms FAIL - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ........... 19.38ms DONE - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 7.98ms FAIL - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 7.18ms DONE - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 8.22ms FAIL - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 7.84ms DONE - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 9.51ms FAIL - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 8.18ms DONE - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ........... 15.58ms FAIL - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ........... 13.57ms DONE - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ........... 10.37ms FAIL - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ........... 10.22ms DONE - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 9.82ms FAIL - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 8.58ms DONE - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 8.15ms FAIL - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 8.02ms DONE - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 8.38ms FAIL - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 6.66ms DONE - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 7.79ms FAIL - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 8.01ms DONE - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 9.05ms FAIL - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ........... 13.68ms DONE - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 8.55ms FAIL - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 7.68ms DONE - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ........... 18.78ms FAIL - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 8.73ms DONE - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 8.87ms FAIL - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ........... 10.57ms DONE - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 9.32ms FAIL - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 7.96ms DONE - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 9.29ms FAIL - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 7.82ms DONE - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ........... 10.10ms FAIL - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 9.23ms DONE - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 9.21ms FAIL - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 7.12ms DONE - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ........... 14.43ms FAIL - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 7.50ms DONE - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 9.68ms FAIL - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 7.65ms DONE - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ........... 10.62ms FAIL - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 8.79ms DONE - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ........... 11.25ms FAIL - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ........... 10.18ms DONE - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ........... 10.10ms FAIL - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 8.72ms DONE - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 9.89ms FAIL - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 6.98ms DONE - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 9.76ms FAIL - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 8.00ms DONE - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 9.66ms FAIL - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 8.29ms DONE - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 9.08ms FAIL - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 7.30ms DONE - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 8.88ms FAIL - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 7.95ms DONE - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 8.74ms FAIL - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 6.90ms DONE - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 8.45ms FAIL - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 8.71ms DONE - 2023-12-15 10:02:56 App\Notifications\NewSubmission ................ RUNNING - 2023-12-15 10:02:56 App\Notifications\NewSubmission ............ 9.58ms FAIL - 2023-12-15 10:03:10 App\Notifications\AbstractAccepted ............. RUNNING - 2023-12-15 10:03:10 App\Notifications\AbstractAccepted ........ 93.59ms DONE - 2023-12-15 10:03:10 App\Notifications\AbstractAccepted ............. RUNNING - 2023-12-15 10:03:10 App\Notifications\AbstractAccepted ........ 14.39ms FAIL