Commit Graph

25 Commits

Author SHA1 Message Date
johnnyq
8f68de0f65 Mail review stage 7b: email the ticket mailbox couldn't take is kept in Tickets > Unprocessed Email and moved to the ITFlow folder instead of left flagged in the inbox (database 4.3.2), where agents view it, make a ticket at a client for a contact or a new contact, add it to a ticket with the sender as a CC if wanted, try it again, dismiss it or download it, the email parser making the ticket or reply on its next run; the tickets list says how many are waiting; sorted ones are kept 30 days and unsorted 90; 26.12.3 changelog 2026-11-30 21:35:30 -05:00
johnnyq
e57faeeb3a Mail review stage 5: a website form's email is answered at the visitor in its Reply-To, who becomes the ticket's CC under the client whose domain the site is on or none, and Reply-To at the sender's own domain is taken as the sender; someone who isn't a contact is answered without their subject or the ticket's link, and a forged ticket or one with no contact no longer emails the client's colleagues; a client's reply on a ticket nobody is assigned goes to the new-ticket address or the admins, and bounce and closed-ticket notices go to the assigned agent or the admins instead of every agent; an email with no From is from nobody rather than itflow-guest@example.com; a forged email no longer clears Email bounced; an address that is a contact at two clients goes to the one whose domain it is or where they last raised a ticket, with a note; an agent's emailed reply that went to the client is their public reply and the first response; 26.12.3 changelog 2026-11-30 18:22:59 -05:00
johnnyq
ee3f31ff05 Call watchers CCs everywhere they show: the ticket's Linked card, Add CC, New Ticket's CC field, the reply To line, email footnotes and the copied-in email, ticket history, audit log, messages, Try an Email, settings, mail previews, Dispatch and the resolve and schedule windows; the code, the ticket_watchers table and the API keep their names for now; 26.12.3 changelog reworded 2026-11-30 13:51:33 -05:00
johnnyq
42ea7e58a5 Keep a ticket's emails in one conversation: every client email about a ticket has the subject [TCK-123] and its subject and carries Message-ID, In-Reply-To and References, kept per ticket in ticket_mail_threads, and the email parser finds a reply's ticket by those headers first, then by the number in brackets with the prefix that ticket was given; one email goes to the contact with the watchers and colleagues copied in, switchable in Admin, Settings, Tickets; a client's reply by email, text or portal is passed on to the people following the ticket who weren't on it, by email only when it answers one of the ticket's emails; others in To and Cc on a client's or watcher's email become watchers, never your own domain or agents; the same email twice makes one ticket and a merged ticket's replies go to the ticket it went into; database 4.2.6; 26.12.3 changelog entries 2026-11-30 13:08:24 -05:00
johnnyq
b208ed0069 Stop ITFlow's own mail looping back: its own addresses are never made watchers or emailed about a ticket, mail from them is set aside in the ITFlow folder without a ticket, and Email new tickets to can't be the mailbox ITFlow reads; take email someone opened in the hour before the parser got to it; a domain whose mail server can't be found is retried like any failed email and one taking mail at its own address is accepted; 26.12.3 changelog entries 2026-11-30 12:37:03 -05:00
johnnyq
3f70c5e2e4 QoL 49: page and window titles, menu items and buttons in Title Case and field labels, section headings, tabs and help in sentence case across agent, admin and portal, including empty-state action labels, script-built buttons, the portal menu and headings, the settings menu pages and in-app mentions of renamed buttons, with changelog lines 2026-11-21 00:56:05 -05:00
johnnyq
91af76b2e1 QoL 48: empty first choices read Select a client where you pick one, Any client where a list is filtered and None or No contact where it can be blank, the same for multi-pick placeholders, the report client and agent pickers and the choices built in script 2026-11-21 00:47:49 -05:00
johnnyq
74d571c029 Assign an unassigned ticket to the first agent who replies where the client can see it, as Assign to me would, with internal notes, bulk replies and already assigned tickets left alone, and a switch under Admin Settings Tickets Assigning to turn it off (db 4.0.9) 2026-11-20 22:57:39 -05:00
johnnyq
61488305cb Admin: invite several agents at once with one role, try an email against the support mailbox to see what it would become without sending anything, and a weekly summary email to the owners with the week beside the week before and what needs a look (db 4.0.7) 2026-11-19 21:05:51 -05:00
johnnyq
a27c5d684a Tickets: Quick ticket, a + in the top bar, takes the client, contact found by name email or phone, and the issue, lists the contact's open tickets with Work on this one, raises it through add_ticket and opens it with its timer running, with what it starts with set in Admin Settings Tickets; a stopwatch in the top bar lists the ticket timers in this browser to open, pause, resume or throw away; database 3.7.6 adds the Quick tickets settings; 26.11.9 changelog entries 2026-11-17 17:55:25 -05:00
johnnyq
7105d00b77 Tickets: Resolve - no response on an arrow beside Resolve sends a client who never answered the message from Settings Tickets, filled in and editable in its window, as a public note and in place of the resolved email's usual words, then resolves the ticket, which closes as usual without the email asking how we did; the Resolve button is a group with a split arrow swapped whole when a task is ticked; database 3.7.4 adds tickets.ticket_no_response_at and config_ticket_no_response_message; 26.11.9 changelog entries 2026-11-17 17:53:16 -05:00
johnnyq
96eec95fb8 Ticket statuses: When the client replies can move a ticket to another status, a Client responded one say, on the built-in statuses as well as your own, falling back to Open when that status is switched off and cleared when it is deleted; a status can count as the first response when an agent moves a ticket nobody has answered into it, quietly or after emailing the contact and watchers a ticket assigned message kept as a public note, counted only when someone got it; the message is set under Messages to clients in Settings Tickets with the canned response placeholders; database 3.7.3 adds ticket_status_reply_status_id, ticket_status_first_response and config_ticket_assigned_message; 26.11.9 changelog entries 2026-11-17 17:52:35 -05:00
johnnyq
b391e2ce6c Add Skyetel text messaging with two-way ticket texting, text to ticket for contacts, Text reply on tickets, a Texts inbox for unmatched numbers, verification codes and spam (codes masked, limited to credential access, every reveal audited, wiped after a day), STOP/START/HELP handling, a text log with retry and cancel in Maintenance > Text Messages, the Text Messages cron job, and texts to clients about their tickets, visits, visit reminders and invoices with per-contact opt-in from the contact, by text or in the client portal, quiet hours, and new settings in Tickets and Notifications (database 3.6.0 and 3.6.1) 2026-11-06 00:08:10 -05:00
johnnyq
808c27a0fc AI stage 2: AI on tickets - Draft button in the ticket reply editor that writes the next reply from the ticket or from typed notes, for the reply type picked, leaving internal notes out of anything the client reads, with undo; richer ticket summary from the whole ticket with Save as a note, Copy and Again; Triage with AI suggesting a category and priority shown on the ticket to apply in part or dismiss, logged in the ticket history; automatic triage of new email, portal and API tickets with a Settings > Tickets mode of off, suggest or fill in and a new AI Triage cron job; Write up as a document drafting a knowledge base document from a ticket into the New Document form for the client or the company's own client record, linked to the ticket's asset, with passwords and keys left out as [removed]; new ticket features shown by name in AI Usage; database 3.3.9 adds config_ticket_ai_triage and ai_ticket_triage 2026-10-20 18:58:14 -04:00
johnnyq
928fc5f10a Settings stage 2: move Tickets, Projects, Quotes, Invoices and billing and Defaults onto the settings frame with sections and live next-number previews that refuse a number already in use, validate email addresses instead of blanking them, check the ticket close time and stop its PHP warnings, warn when late fees are on but reminders are off, limit the start page to real ITFlow pages and escape it where shown, keep archived default accounts, rename the Defaults fields to their columns, and keep the reminder, billing time, expense and mileage anchors 2026-10-20 11:29:58 -04:00
johnnyq
dc6b191eed Update Font, Migrated away from JQUERY dependent libs: toastr to bootstrap5 toasts, daterangepicker to flatpickr, select2 to Tom Select, InputMask to IMask 2026-08-14 17:08:40 -04:00
johnnyq
a084e37c39 Initial migration from AdminLTE 3 to 4, bootstrap 4 to 5 2026-08-14 13:22:11 -04:00
johnnyq
a27019511e Remove unused overdue invoice setting move master cron switch out of notificaiton and into cron 2026-08-02 17:22:28 -04:00
johnnyq
89fba247c5 Add some missing maxlength form options to prevent info overflow and result in error 500 2026-08-02 16:08:01 -04:00
johnnyq
b3f959ac55 Use Short echo tags across the code 2026-07-28 18:47:52 -04:00
johnnyq
7bc47a58fe Replace Function nullable_htmlentities() with just escapeHtml() and update all instances throughout 2026-07-14 17:10:45 -04:00
wrongecho
5c3ff91f21 Lower autoclose minimum allowed value to 24 hours (this still works off cron so is not exact) 2026-03-02 08:07:43 +00:00
wrongecho
b48168ffec Rewrite kanban in more procedural code to match existing codebase (as a v2, delete old and rename once we're happy) 2026-01-12 15:36:06 +00:00
johnnyq
9ee76213e1 Update more broken links from file dirextory consolidation 2025-07-29 14:32:43 -04:00
johnnyq
0494bfc1cf Moved admin_ to /admin, user_ to user report_ to /reports each have their own post includes modals directories created seperate headers and footer. Also did the same for xcustom, more work to me done 2025-07-28 13:32:28 -04:00