Ticket page: server-side reply drafts with discard and nightly cleanup (db 4.0.1), drop files on the reply box, quick time buttons, no-time prompt on billable replies, split a client reply into a new ticket, copy a ticket, apply a template to an open ticket, keep and read the original email on emailed replies, click-to-zoom pictures

This commit is contained in:
johnnyq
2026-11-19 17:37:25 -05:00
parent 3f00182d78
commit 533b801a70
19 changed files with 1110 additions and 24 deletions

17
db.sql
View File

@@ -4509,6 +4509,23 @@ CREATE TABLE `ticket_replies` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `ticket_reply_drafts`
--
DROP TABLE IF EXISTS `ticket_reply_drafts`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `ticket_reply_drafts` (
`ticket_id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
`draft_body` longtext NOT NULL,
`draft_updated_at` datetime NOT NULL DEFAULT current_timestamp(),
PRIMARY KEY (`ticket_id`,`user_id`),
KEY `draft_updated_at` (`draft_updated_at`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `ticket_reply_mentions`
--