feat: harden admin auth and ticket workflows

- add rotating admin refresh tokens and password gates\n- expand ticket galleries, exports, and client resources\n- improve IP allocation auditing and dashboard data\n- enforce encrypted client access tokens on public routes
This commit is contained in:
baodev0
2026-10-16 17:00:55 +07:00
parent 0cdf224309
commit 0b08689ea4
52 changed files with 1421 additions and 118 deletions
+2 -2
View File
@@ -38,10 +38,10 @@ class TicketJobs implements ShouldQueue
// Gửi thông báo Telegram khi tạo ticket mới
$message = "🆕 Ticket mới được tạo!\n";
$message .= "👤 Khách: {$this->customer->firstname} {$this->customer->lastname} ({$this->customer->email})\n";
$message .= "👤 Khách: {$this->customer->fullname} ({$this->customer->email})\n";
$message .= "🎫 Số ticket: #{$this->ticket->ticket_num}\n";
$message .= "📄 Tiêu đề: {$this->ticket->subject}\n";
$message .= "🏢 Phòng ban: {$this->ticket->room}\n";
$message .= "🏢 Phòng ban: {$this->ticket->roomLabel()}\n";
$message .= "📝 Nội dung: " . $cleanDescription;
// Kiểm tra độ dài message (Telegram giới hạn 4096 ký tự)