refactor: replace custom CRM with Monica fork
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s

This commit is contained in:
Kroonk
2026-05-22 16:19:55 +02:00
parent 38cc4c09ca
commit a213a1dba0
2215 changed files with 242567 additions and 6015 deletions

8
app/Events/Event.php Normal file
View File

@@ -0,0 +1,8 @@
<?php
namespace App\Events;
abstract class Event
{
//
}

View File

@@ -0,0 +1,29 @@
<?php
namespace App\Events;
use App\Models\Contact\Contact;
use Illuminate\Queue\SerializesModels;
class MoveAvatarEvent extends Event
{
use SerializesModels;
/**
* The contact.
*
* @var Contact
*/
public $contact;
/**
* Create a new event instance.
*
* @param Contact $contact
* @return void
*/
public function __construct($contact)
{
$this->contact = $contact;
}
}

View File

@@ -0,0 +1,30 @@
<?php
namespace App\Events;
use Illuminate\Queue\SerializesModels;
class RecoveryLogin extends Event
{
use SerializesModels;
/**
* The authenticated user.
*
* @var \Illuminate\Contracts\Auth\Authenticatable
*/
public $user;
/**
* Create a new event instance.
*
* @param \Illuminate\Contracts\Auth\Authenticatable $user
* @return void
*
* @codeCoverageIgnore
*/
public function __construct($user)
{
$this->user = $user;
}
}

View File

@@ -0,0 +1,31 @@
<?php
namespace App\Events;
use App\Models\User\SyncToken;
use Illuminate\Queue\SerializesModels;
class TokenDeleteEvent extends Event
{
use SerializesModels;
/**
* The deleted token.
*
* @var SyncToken
*/
public $token;
/**
* Create a new event instance.
*
* @param SyncToken $token
* @return void
*
* @codeCoverageIgnore
*/
public function __construct($token)
{
$this->token = $token;
}
}