3.6
Application Release Notes
Version 3.6
New Features:
Appeals Management:
- New Appeals Section: You can now manage your appeals with the new "Appeals" section in the menu. A badge indicates the number of pending appeals that require your attention.
- Approve or Reject Appeals: Easily approve or reject appeals directly from the "Appeals" section.
- Email Notifications: Users will receive email notifications about the status of their appeals (approved or denied).
Reports Management:
- Report Player: A new "Report Player" option has been added to the menu, allowing you to report players directly.
- Reports Overview: The "Reports" section provides an overview of all pending reports, making it easier to manage and resolve issues. A badge indicates the number of pending reports.
###Run the below schema if your just upgrading!
DROP TABLE IF EXISTS appeals;
CREATE TABLE `appeals` (
`id` int NOT NULL AUTO_INCREMENT,
`ban_type` varchar(50) COLLATE utf8mb4_general_ci NOT NULL,
`steamid` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL,
`ip` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL,
`name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL,
`reason` text COLLATE utf8mb4_general_ci NOT NULL,
`email` varchar(255) COLLATE utf8mb4_general_ci NOT NULL,
`status` enum('PENDING','APPROVED','REJECTED') COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'PENDING',
`created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
`updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
DROP TABLE IF EXISTS reports;
CREATE TABLE `reports` (
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
`ban_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`steamid` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`ip` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`nickname` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`comments` text COLLATE utf8mb4_unicode_ci NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`server_id` bigint unsigned NOT NULL,
`media_link` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
Email Settings:
- SMTP Configuration: Ensure your email settings are properly configured to send notifications.
Email Settings Configuration
To ensure email notifications are sent correctly, please configure your SMTP settings as follows:
General SMTP Configuration
-
Edit the .env File:
- Open the
.env
file in the root directory of your application. - Add or update the following lines with your SMTP settings:
MAIL_MAILER=smtp MAIL_HOST=smtp.example.com MAIL_PORT=587 [email protected] MAIL_PASSWORD=your_email_password MAIL_ENCRYPTION=tls [email protected] MAIL_FROM_NAME="Your Application Name"
Replace
smtp.example.com
with your SMTP server,[email protected]
with your email address,your_email_password
with your email password, and "Your Application Name" with the name of your application. - Open the
SendGrid Configuration (You can use any email provider! Sendgrid is used only for demonstration purpose)
If you prefer to use SendGrid for sending emails, follow these steps:
-
Create a SendGrid Account:
- Sign up for a free account at SendGrid.
-
Generate an API Key:
- After logging in, navigate to the API Keys section.
- Create a new API Key with "Full Access" and copy the generated key.
-
Update the .env File:
- Open the
.env
file in the root directory of your application. - Add or update the following lines with your SendGrid settings:
MAIL_MAILER=smtp MAIL_HOST=smtp.sendgrid.net MAIL_PORT=587 MAIL_USERNAME=apikey MAIL_PASSWORD=your_sendgrid_api_key MAIL_ENCRYPTION=tls [email protected] MAIL_FROM_NAME="Your Application Name"
Replace
your_sendgrid_api_key
with the API key you generated, and[email protected]
with your verified SendGrid email address. - Open the