Compare commits
7 Commits
react_test
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 661643e45b | |||
| b241f7b0da | |||
| 3eccb5ce2c | |||
| d4fb7ea2ed | |||
| 52d4ac1d60 | |||
| 5b360ac7d2 | |||
| d7a5ab3576 |
@ -8,20 +8,19 @@ A lightweight PHP-based ticketing system designed for tracking and managing data
|
||||
- 🎫 Customizable ticket creation and management
|
||||
- 🔄 Real-time status updates and priority tracking
|
||||
- 💬 Markdown-supported commenting system
|
||||
- 🔔 Discord integration for notifications
|
||||
- 📱 Mobile-responsive design
|
||||
- 🔔 Discord webhook integration for notifications
|
||||
|
||||
## Core Components
|
||||
|
||||
- **Dashboard**: View and filter tickets by status, priority, and type
|
||||
- **Ticket Management**: Create, edit, and update ticket details
|
||||
- **Priority Levels**: P1 (Critical) to P4 (Low) impact tracking
|
||||
- **Priority Levels**: P1 (Critical) to P5 (Lowest) impact tracking
|
||||
- **Categories**: Hardware, Software, Network, Security tracking
|
||||
- **Comment System**: Markdown support for detailed documentation
|
||||
|
||||
## Technical Details
|
||||
|
||||
- Backend: PHP with MySQL database
|
||||
- Backend: PHP with MariaDB database
|
||||
- Frontend: HTML5, CSS3, JavaScript
|
||||
- Authentication: Environment-based configuration
|
||||
- API: RESTful endpoints for ticket operations
|
||||
|
||||
@ -199,6 +199,8 @@ td:nth-child(2) span {
|
||||
border-radius: 4px;
|
||||
font-size: 0.875rem;
|
||||
font-weight: 500;
|
||||
min-width: 100px;
|
||||
overflow: none;
|
||||
}
|
||||
|
||||
.status-Closed {
|
||||
|
||||
@ -134,7 +134,7 @@ class TicketController {
|
||||
$webhookUrl = $this->envVars['DISCORD_WEBHOOK_URL'];
|
||||
|
||||
// Create ticket URL
|
||||
$ticketUrl = "http://tinkertickets.local/ticket/$ticketId";
|
||||
$ticketUrl = "http://t.lotusguild.org/ticket/$ticketId";
|
||||
|
||||
// Map priorities to Discord colors
|
||||
$priorityColors = [
|
||||
|
||||
@ -180,7 +180,7 @@ $discord_data = [
|
||||
"embeds" => [[
|
||||
"title" => "New Ticket Created: #" . $ticket_id,
|
||||
"description" => $title,
|
||||
"url" => "http://tinkertickets.local/ticket/" . $ticket_id,
|
||||
"url" => "http://t.lotusguild.org/ticket/" . $ticket_id,
|
||||
"color" => $priorityColors[$priority],
|
||||
"fields" => [
|
||||
["name" => "Priority", "value" => $priority, "inline" => true],
|
||||
|
||||
Reference in New Issue
Block a user