Rename watchers to CCs in the database and code: database 4.2.8 renames ticket_watchers to ticket_ccs with its columns and index, functions, settings, form and post names, the Add CC modal file, JavaScript IDs, the email preview key and the To line group follow; the ticket email parser waits while a database update is pending instead of flagging email it cannot take; 26.12.3 changelog updated

This commit is contained in:
johnnyq
2026-11-30 14:01:11 -05:00
parent ee3f31ff05
commit b8db50adfa
26 changed files with 253 additions and 189 deletions

View File

@@ -13,7 +13,7 @@
* ticket_id required - Ticket to reply to
* ticket_reply required - Reply body (HTML allowed, same as the UI)
* ticket_reply_type optional - 'Internal' (default) or 'Public'.
* Public emails the contact and any watchers
* Public emails the contact and any CCs
* and counts as the ticket's first response.
* ticket_reply_time_worked optional - HH:MM:SS, default 00:00:00
* ticket_status optional - Also set the ticket status. Status 4 resolves
@@ -144,7 +144,7 @@ if (!empty($ticket_id) && !empty($reply)) {
triggerCustomAction('reply_reply_agent_public', $ticket_id);
}
// Email the contact and watchers on a public reply, as the agent reply handler does -
// Email the contact and CCs on a public reply, as the agent reply handler does -
// the reply keeps who it went to
if ($reply_type == 'Public') {
ticketMailReply($ticket_id, (string) getFieldById('ticket_replies', $insert_id, 'ticket_reply'), stripslashes($session_name), false, [], $insert_id);

View File

@@ -6,7 +6,7 @@
* sent, its category, priority, billing and agent for those not sent, its
* tags, due time and tasks, and its fill-ins answered from ticket_fill_ins
* ({"Name": "answer"}). ticket_notify = 1 tells people as a ticket raised in
* ITFlow does - the contact and watchers (when ticket emails to clients are
* ITFlow does - the contact and CCs (when ticket emails to clients are
* on), the new-ticket address and the agent it is assigned to; "agents" tells
* only your team, the new-ticket address and the agent. ticket_status
* starts it in an open status of your choosing - On Hold, say - and