Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#405 - Laravel 11 upgrade #413

Merged
merged 29 commits into from
Apr 3, 2024
Merged
Show file tree
Hide file tree
Changes from 28 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
75b86ab
#405 - update to Laravel 11
krzysztofrewak Mar 20, 2024
a829d4d
#405 - spatie/laravel-slack-slash-command updated
krzysztofrewak Mar 20, 2024
604c1a0
#405 - rebase
krzysztofrewak Mar 20, 2024
f145f4f
- some updates
kamilpiech97 Mar 21, 2024
761d485
Merge remote-tracking branch 'origin/laravel-11' into laravel-11
kamilpiech97 Mar 21, 2024
d82ff79
Merge branch 'main' into laravel-11
kamilpiech97 Mar 21, 2024
00c39af
Merge remote-tracking branch 'origin/main' into laravel-11
krzysztofrewak Mar 26, 2024
b01fdb0
Merge remote-tracking branch 'origin/laravel-11' into laravel-11
krzysztofrewak Mar 26, 2024
baab854
#405 - rebase
krzysztofrewak Mar 26, 2024
a34d501
#405 - restructuring
krzysztofrewak Mar 26, 2024
b916fb0
#405 - Laravel 11 slimming
krzysztofrewak Mar 26, 2024
f6d5cce
#405 - csf
krzysztofrewak Mar 26, 2024
9add072
Merge remote-tracking branch 'origin/main' into laravel-11
krzysztofrewak Mar 27, 2024
f99e134
#405 - rebase
krzysztofrewak Mar 27, 2024
be9f5bc
#405 - timezone?
krzysztofrewak Mar 27, 2024
d8ee580
#405 - more files moved
krzysztofrewak Mar 27, 2024
421988d
#405 - readme update
krzysztofrewak Mar 27, 2024
72fb588
#405 - docker-compose to docker compose
krzysztofrewak Mar 27, 2024
bfbcde3
#405 - removing rackbeat/laravel-ui-avatars
krzysztofrewak Mar 27, 2024
7e53127
#405 - composer bump
krzysztofrewak Mar 27, 2024
36555c2
- add trust proxies middleware
mtracz Mar 28, 2024
02d8d37
#405 - adding Sanctum middleware
krzysztofrewak Apr 2, 2024
132d801
#405 - deprecated annotations
krzysztofrewak Apr 2, 2024
37012d3
#405 - downgrading phpoffice/phpword
krzysztofrewak Apr 2, 2024
01e48a1
#405 - transferring exception handling
krzysztofrewak Apr 3, 2024
a3e0011
#405 - źźź
krzysztofrewak Apr 3, 2024
af658a8
#405 - updating permission namespaces
krzysztofrewak Apr 3, 2024
1a85336
#405 - csf
krzysztofrewak Apr 3, 2024
232fa7e
#405 - inertia tweaks
krzysztofrewak Apr 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

declare(strict_types=1);

namespace Toby\Domain\Actions;
namespace Toby\Actions;

use Toby\Eloquent\Models\User;
use Toby\Eloquent\Models\YearPeriod;
use Toby\Models\User;
use Toby\Models\YearPeriod;

class CreateUserAction
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

declare(strict_types=1);

namespace Toby\Domain\Actions;
namespace Toby\Actions;

use Toby\Domain\PolishHolidaysRetriever;
use Toby\Eloquent\Models\User;
use Toby\Eloquent\Models\YearPeriod;
use Toby\Models\User;
use Toby\Models\YearPeriod;

class CreateYearPeriodAction
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

declare(strict_types=1);

namespace Toby\Domain\Actions\Slack;
namespace Toby\Actions\Slack;

use Illuminate\Support\Carbon;
use Toby\Domain\DailySummaryRetriever;
use Toby\Eloquent\Models\DailySummary;
use Toby\Eloquent\Models\User;
use Toby\Eloquent\Models\VacationRequest;
use Toby\Models\DailySummary;
use Toby\Models\User;
use Toby\Models\VacationRequest;

class GenerateDailySummaryAction
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

declare(strict_types=1);

namespace Toby\Domain\Actions\Slack;
namespace Toby\Actions\Slack;

use Illuminate\Support\Facades\Http;
use Toby\Eloquent\Models\DailySummary;
use Toby\Models\DailySummary;

class SendDailySummaryToSlackAction
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

declare(strict_types=1);

namespace Toby\Domain\Actions\Slack;
namespace Toby\Actions\Slack;

use Toby\Domain\DailySummaryRetriever;
use Toby\Domain\VacationRequestStatesRetriever;
use Toby\Eloquent\Models\DailySummary;
use Toby\Eloquent\Models\User;
use Toby\Eloquent\Models\VacationRequest;
use Toby\Models\DailySummary;
use Toby\Models\User;
use Toby\Models\VacationRequest;

class UpdateDailySummaryAction
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

declare(strict_types=1);

namespace Toby\Domain\Actions\Slack;
namespace Toby\Actions\Slack;

use Illuminate\Support\Facades\Http;
use Toby\Eloquent\Models\DailySummary;
use Toby\Models\DailySummary;

class UpdateDailySummaryMessageAction
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

declare(strict_types=1);

namespace Toby\Domain\Actions;
namespace Toby\Actions;

use Toby\Eloquent\Models\User;
use Toby\Models\User;

class SyncUserPermissionsWithRoleAction
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

declare(strict_types=1);

namespace Toby\Domain\Actions;
namespace Toby\Actions;

use Toby\Eloquent\Models\User;
use Toby\Models\User;

class UpdateUserAction
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

declare(strict_types=1);

namespace Toby\Domain\Actions;
namespace Toby\Actions;

use Toby\Eloquent\Models\User;
use Toby\Models\User;

class UpdateUserPermissionsAction
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

declare(strict_types=1);

namespace Toby\Domain\Actions\VacationRequest;
namespace Toby\Actions\VacationRequest;

use Toby\Domain\VacationRequestStateManager;
use Toby\Eloquent\Models\User;
use Toby\Eloquent\Models\VacationRequest;
use Toby\Models\User;
use Toby\Models\VacationRequest;

class AcceptAsAdministrativeAction
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

declare(strict_types=1);

namespace Toby\Domain\Actions\VacationRequest;
namespace Toby\Actions\VacationRequest;

use Toby\Domain\VacationRequestStateManager;
use Toby\Domain\VacationTypeConfigRetriever;
use Toby\Eloquent\Models\User;
use Toby\Eloquent\Models\VacationRequest;
use Toby\Models\User;
use Toby\Models\VacationRequest;

class AcceptAsTechnicalAction
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

declare(strict_types=1);

namespace Toby\Domain\Actions\VacationRequest;
namespace Toby\Actions\VacationRequest;

use Spatie\Permission\Models\Permission;
use Toby\Domain\Events\VacationRequestChanged;
use Toby\Domain\Notifications\VacationRequestStatusChangedNotification;
use Toby\Domain\VacationRequestStateManager;
use Toby\Domain\VacationTypeConfigRetriever;
use Toby\Eloquent\Models\User;
use Toby\Eloquent\Models\VacationRequest;
use Toby\Infrastructure\Jobs\SendVacationRequestDaysToGoogleCalendar;
use Toby\Events\VacationRequestChanged;
use Toby\Jobs\SendVacationRequestDaysToGoogleCalendar;
use Toby\Models\User;
use Toby\Models\VacationRequest;
use Toby\Notifications\VacationRequestStatusChangedNotification;

class ApproveAction
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

declare(strict_types=1);

namespace Toby\Domain\Actions\VacationRequest;
namespace Toby\Actions\VacationRequest;

use Spatie\Permission\Models\Permission;
use Toby\Domain\Events\VacationRequestChanged;
use Toby\Domain\Notifications\VacationRequestStatusChangedNotification;
use Toby\Domain\VacationRequestStateManager;
use Toby\Domain\VacationTypeConfigRetriever;
use Toby\Eloquent\Models\User;
use Toby\Eloquent\Models\VacationRequest;
use Toby\Infrastructure\Jobs\ClearVacationRequestDaysInGoogleCalendar;
use Toby\Events\VacationRequestChanged;
use Toby\Jobs\ClearVacationRequestDaysInGoogleCalendar;
use Toby\Models\User;
use Toby\Models\VacationRequest;
use Toby\Notifications\VacationRequestStatusChangedNotification;

class CancelAction
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

declare(strict_types=1);

namespace Toby\Domain\Actions\VacationRequest;
namespace Toby\Actions\VacationRequest;

use Illuminate\Validation\ValidationException;
use Toby\Domain\Notifications\VacationRequestCreatedNotification;
use Toby\Domain\VacationRequestStateManager;
use Toby\Domain\VacationTypeConfigRetriever;
use Toby\Domain\Validation\VacationRequestValidator;
use Toby\Domain\WorkDaysCalculator;
use Toby\Eloquent\Models\User;
use Toby\Eloquent\Models\VacationRequest;
use Toby\Models\User;
use Toby\Models\VacationRequest;
use Toby\Notifications\VacationRequestCreatedNotification;
use Toby\Validation\VacationRequestValidator;

class CreateAction
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

declare(strict_types=1);

namespace Toby\Domain\Actions\VacationRequest;
namespace Toby\Actions\VacationRequest;

use Spatie\Permission\Models\Permission;
use Toby\Domain\Events\VacationRequestChanged;
use Toby\Domain\Notifications\VacationRequestStatusChangedNotification;
use Toby\Domain\VacationRequestStateManager;
use Toby\Eloquent\Models\User;
use Toby\Eloquent\Models\VacationRequest;
use Toby\Events\VacationRequestChanged;
use Toby\Models\User;
use Toby\Models\VacationRequest;
use Toby\Notifications\VacationRequestStatusChangedNotification;

class RejectAction
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

declare(strict_types=1);

namespace Toby\Domain\Actions\VacationRequest;
namespace Toby\Actions\VacationRequest;

use Spatie\Permission\Models\Permission;
use Toby\Domain\Events\VacationRequestChanged;
use Toby\Domain\Notifications\VacationRequestWaitsForApprovalNotification;
use Toby\Domain\VacationRequestStateManager;
use Toby\Domain\VacationTypeConfigRetriever;
use Toby\Eloquent\Models\User;
use Toby\Eloquent\Models\VacationRequest;
use Toby\Events\VacationRequestChanged;
use Toby\Models\User;
use Toby\Models\VacationRequest;
use Toby\Notifications\VacationRequestWaitsForApprovalNotification;

class WaitForAdminApprovalAction
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

declare(strict_types=1);

namespace Toby\Domain\Actions\VacationRequest;
namespace Toby\Actions\VacationRequest;

use Spatie\Permission\Models\Permission;
use Toby\Domain\Events\VacationRequestChanged;
use Toby\Domain\Notifications\VacationRequestWaitsForApprovalNotification;
use Toby\Domain\VacationRequestStateManager;
use Toby\Domain\VacationTypeConfigRetriever;
use Toby\Eloquent\Models\User;
use Toby\Eloquent\Models\VacationRequest;
use Toby\Events\VacationRequestChanged;
use Toby\Models\User;
use Toby\Models\VacationRequest;
use Toby\Notifications\VacationRequestWaitsForApprovalNotification;

class WaitForTechApprovalAction
{
Expand Down
61 changes: 0 additions & 61 deletions app/Architecture/ExceptionHandler.php

This file was deleted.

36 changes: 0 additions & 36 deletions app/Architecture/Providers/RouteServiceProvider.php

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

declare(strict_types=1);

namespace Toby\Infrastructure\Console\Commands;
namespace Toby\Console\Commands;

use Illuminate\Console\Command;
use Toby\Eloquent\Models\BenefitsReport;
use Toby\Models\BenefitsReport;

class CreateFirstBenefitsReport extends Command
{
Expand Down
Loading
Loading