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