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

Laravel 11.x Shift #135

Merged
merged 17 commits into from
Feb 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,16 @@ APP_KEY=base64:sxRlZCiJ0OpbVTO7vcqGdV9/xbt59CxX7RWyw4PVpyg=
APP_DEBUG=true
APP_URL=http://labbuildstatus.lando.net

APP_TIMEZONE=UTC
APP_LOCALE=en
APP_FALLBACK_LOCALE=en
APP_FAKER_LOCALE=en_US
APP_MAINTENANCE_DRIVER=file
APP_MAINTENANCE_STORE=database
BCRYPT_ROUNDS=12

LOG_CHANNEL=stack
LOG_STACK=single
LOG_LEVEL=debug

DB_CONNECTION=mysql
Expand All @@ -14,11 +23,14 @@ DB_USERNAME=laravel
DB_PASSWORD=laravel
DB_PORT=3306

BROADCAST_DRIVER=log
CACHE_DRIVER=redis
BROADCAST_CONNECTION=log
CACHE_STORE=redis
QUEUE_CONNECTION=redis
SESSION_DRIVER=redis
SESSION_LIFETIME=120
SESSION_ENCRYPT=false
SESSION_PATH=/
SESSION_DOMAIN=null

MEMCACHED_HOST=127.0.0.1

Expand Down
4 changes: 2 additions & 2 deletions .env.github
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ DB_DATABASE=homestead
DB_USERNAME=root
DB_PASSWORD=homestead

BROADCAST_DRIVER=log
CACHE_DRIVER=array
BROADCAST_CONNECTION=log
CACHE_STORE=array
SESSION_DRIVER=array
SESSION_LIFETIME=120
QUEUE_CONNECTION=sync
Expand Down
4 changes: 2 additions & 2 deletions .env.gitlab
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret

BROADCAST_DRIVER=log
CACHE_DRIVER=file
BROADCAST_CONNECTION=log
CACHE_STORE=file
SESSION_DRIVER=file
SESSION_LIFETIME=120
QUEUE_CONNECTION=sync
Expand Down
27 changes: 0 additions & 27 deletions app/Console/Kernel.php

This file was deleted.

48 changes: 0 additions & 48 deletions app/Exceptions/Handler.php

This file was deleted.

4 changes: 2 additions & 2 deletions app/Http/Controllers/Api/MachineController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace App\Http\Controllers\Api;

use Illuminate\Http\Request;
use App\Jobs\UpdateMachineJob;
use App\Http\Controllers\Controller;
use App\Jobs\UpdateMachineJob;
use Illuminate\Http\Request;

class MachineController extends Controller
{
Expand Down
3 changes: 1 addition & 2 deletions app/Http/Controllers/Auth/LoginController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@

namespace App\Http\Controllers\Auth;

use App\Http\Controllers\Controller;
use App\Models\User;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Ohffs\Ldap\LdapFacade;

class LoginController extends Controller
{
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Routing\Controller as BaseController;

class Controller extends BaseController
abstract class Controller extends BaseController
{
use AuthorizesRequests, ValidatesRequests;
}
67 changes: 0 additions & 67 deletions app/Http/Kernel.php

This file was deleted.

9 changes: 7 additions & 2 deletions app/Http/Livewire/AccessManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,24 @@
namespace App\Http\Livewire;

use App\Models\User;
use Livewire\Component;
use Illuminate\Support\Str;
use Illuminate\Support\Facades\Validator;
use Illuminate\Support\Str;
use Livewire\Component;

class AccessManager extends Component
{
public $showCreateForm = false;

public $userError = '';

public $username = '';

public $email = '';

public $surname = '';

public $forenames = '';

public $description = '';

public function render()
Expand Down
17 changes: 0 additions & 17 deletions app/Http/Middleware/Authenticate.php

This file was deleted.

17 changes: 0 additions & 17 deletions app/Http/Middleware/EncryptCookies.php

This file was deleted.

17 changes: 0 additions & 17 deletions app/Http/Middleware/PreventRequestsDuringMaintenance.php

This file was deleted.

30 changes: 0 additions & 30 deletions app/Http/Middleware/RedirectIfAuthenticated.php

This file was deleted.

19 changes: 0 additions & 19 deletions app/Http/Middleware/TrimStrings.php

This file was deleted.

20 changes: 0 additions & 20 deletions app/Http/Middleware/TrustHosts.php

This file was deleted.

Loading
Loading