Skip to content
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
27 changes: 27 additions & 0 deletions .coderabbit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

language: "en" # English
early_access: false
reviews:
profile: chill
request_changes_workflow: false
high_level_summary: true
commit_status: true
poem: false
review_status: false
collapse_walkthrough: true
estimate_code_review_effort: false
sequence_diagrams: false
changed_files_summary: false
auto_review:
enabled: true
drafts: false
finishing_touches:
docstrings:
enabled: false
unit_tests:
enabled: false
suggested_labels: true
chat:
auto_reply: false
art: false
2 changes: 2 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ DB_DATABASE=he4rt
DB_USERNAME=root
DB_PASSWORD=root

LARAVEL_CLOUDFLARE_ENABLED=false

BROADCAST_DRIVER=log
CACHE_DRIVER=file
FILESYSTEM_DISK=local
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function leave(string|int $eventModelId): void
->send();
}

protected function modifyQueryWithActiveTab(Builder $query): Builder
protected function modifyQueryWithActiveTab(Builder $query, bool $isResolvingRecord = false): Builder
{
return $query->where('active', true)->with('attendees')->latest('end_at');
}
Expand Down
6 changes: 5 additions & 1 deletion bootstrap/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
use Illuminate\Foundation\Application;
use Illuminate\Foundation\Configuration\Exceptions;
use Illuminate\Foundation\Configuration\Middleware;
use Illuminate\Http\Middleware\TrustProxies;

return Application::configure(basePath: dirname(__DIR__))
->withRouting(
Expand All @@ -14,7 +15,10 @@
channels: __DIR__.'/../routes/channels.php',
health: '/up',
)->withMiddleware(function (Middleware $middleware): void {
//
$middleware->replace(
TrustProxies::class,
Monicahq\Cloudflare\Http\Middleware\TrustProxies::class
);
})
->withExceptions(function (Exceptions $exceptions): void {
//
Expand Down
45 changes: 25 additions & 20 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"require": {
"php": "^8.3",
"calebporzio/sushi": "^2.5.3",
"dedoc/scramble": "^0.13.8",
"filament/filament": "^4.3.1",
"filament/spatie-laravel-media-library-plugin": "^4.3.1",
"dedoc/scramble": "^0.13.11",
"filament/filament": "^4.6.3",
"filament/spatie-laravel-media-library-plugin": "^4.6.3",
"guzzlehttp/guzzle": "^7.10.0",
"he4rt/authentication": ">=1",
"he4rt/badge": ">=1",
Expand All @@ -33,43 +33,44 @@
"he4rt/sponsors": ">=1",
"he4rt/tenant": ">=1",
"he4rt/user": ">=1",
"internachi/modular": "^2.3.0",
"internachi/modular": "dev-main#ad95fe9",
"laracord/framework": "dev-next",
"laravel/framework": "^12.43.1",
"laravel/nightwatch": "^1.21.1",
"laravel/sanctum": "^4.2.1",
"laravel/telescope": "^5.16",
"laravel/tinker": "^2.10.2",
"livewire/flux": "^2.10.1",
"laravel/framework": "^12.49.0",
"laravel/nightwatch": "^1.22.1",
"laravel/sanctum": "^4.3.0",
"laravel/telescope": "^5.16.1",
"laravel/tinker": "^2.11.0",
"livewire/flux": "^2.11.1",
"marvinlabs/laravel-discord-logger": "^1.4.3",
"monicahq/laravel-cloudflare": "^4.0",
"otavio-araujo/filament-smart-cep": "^4.0.1",
"owenvoke/blade-fontawesome": "^3.0",
"predis/predis": "^2.4.1",
"ryangjchandler/commonmark-blade-block": "^1.1",
"spatie/laravel-medialibrary": "^11.17.7",
"spatie/laravel-medialibrary": "^11.17.10",
"symfony/browser-kit": "v7.0.8",
"torchlight/torchlight-commonmark": "^0.6.0",
"torchlight/torchlight-laravel": "^0.6.1"
},
"require-dev": {
"barryvdh/laravel-debugbar": "^3.16.2",
"barryvdh/laravel-debugbar": "^3.16.5",
"barryvdh/laravel-ide-helper": "^3.6.1",
"driftingly/rector-laravel": "^2.1.8",
"driftingly/rector-laravel": "^2.1.9",
"fakerphp/faker": "^1.24.1",
"larastan/larastan": "^3.8.1",
"laravel/boost": "^1.8.5",
"larastan/larastan": "^3.9.1",
"laravel/boost": "^1.8.10",
"laravel/pail": "^1.2.4",
"laravel/pint": "^1.26.0",
"laravel/sail": "^1.51.0",
"laravel/pint": "^1.27.0",
"laravel/sail": "^1.52.0",
"mockery/mockery": "^1.6.12",
"nunomaduro/collision": "^8.8.3",
"pestphp/pest": "^4.2.0",
"pestphp/pest": "^4.3.2",
"pestphp/pest-plugin-drift": "^4.0.0",
"pestphp/pest-plugin-faker": "^4.0.0",
"pestphp/pest-plugin-laravel": "^4.0.0",
"pestphp/pest-plugin-livewire": "^4.0.1",
"pestphp/pest-plugin-livewire": "^4.1.0",
"phpstan/extension-installer": "^1.4.3",
"rector/rector": "^2.2.14"
"rector/rector": "^2.3.5"
},
"autoload": {
"psr-4": {
Expand Down Expand Up @@ -172,6 +173,10 @@
{
"type": "vcs",
"url": "https://github.com/danielhe4rt/laracord-framework"
},
{
"type": "vcs",
"url": "https://github.com/gvieira18/modular"
}
]
}
Loading