This feature stored incoming webhooks during maintenance mode and replayed them when maintenance ended. The behavior adds unnecessary complexity without clear value. Standard approach is to let webhooks fail during maintenance and let senders retry. Removes: - Listener classes that handled maintenance mode events and webhook replay - Maintenance mode checks from all webhook controllers (Github, Gitea, Gitlab, Bitbucket, Stripe) - webhooks-during-maintenance filesystem disk configuration - Feature mention from CHANGELOG 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
38 lines
1.2 KiB
PHP
38 lines
1.2 KiB
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
|
|
use SocialiteProviders\Authentik\AuthentikExtendSocialite;
|
|
use SocialiteProviders\Azure\AzureExtendSocialite;
|
|
use SocialiteProviders\Clerk\ClerkExtendSocialite;
|
|
use SocialiteProviders\Discord\DiscordExtendSocialite;
|
|
use SocialiteProviders\Google\GoogleExtendSocialite;
|
|
use SocialiteProviders\Infomaniak\InfomaniakExtendSocialite;
|
|
use SocialiteProviders\Manager\SocialiteWasCalled;
|
|
use SocialiteProviders\Zitadel\ZitadelExtendSocialite;
|
|
|
|
class EventServiceProvider extends ServiceProvider
|
|
{
|
|
protected $listen = [
|
|
SocialiteWasCalled::class => [
|
|
AzureExtendSocialite::class.'@handle',
|
|
AuthentikExtendSocialite::class.'@handle',
|
|
ClerkExtendSocialite::class.'@handle',
|
|
DiscordExtendSocialite::class.'@handle',
|
|
GoogleExtendSocialite::class.'@handle',
|
|
InfomaniakExtendSocialite::class.'@handle',
|
|
ZitadelExtendSocialite::class.'@handle',
|
|
],
|
|
];
|
|
|
|
public function boot(): void
|
|
{
|
|
//
|
|
}
|
|
|
|
public function shouldDiscoverEvents(): bool
|
|
{
|
|
return true;
|
|
}
|
|
}
|