Commit Graph

438 Commits

Author SHA1 Message Date
johnnyq
836ac34a25 Leave email from someone who isn't a contact at a domain no client has (unknown senders off), or whose sender checks failed, in the inbox flagged as before 7b so a mailbox shared with other email keeps it, with Unprocessed Email keeping only email that was taken and failed; drop Ignore Sender from Unprocessed Email; Try an Email, the Tickets setting help and the 26.12.3 changelog say so 2026-12-01 00:52:56 -05:00
johnnyq
d2d9732efb Mail review stage 8: Admin > Ignored Senders lists addresses and domains whose email the ticket mailbox sets aside with no ticket, reply, answer or Unprocessed Email entry, a domain taking its subdomains, each counting what it set aside and saving one that takes a contact's or client's email saying so; Ignore Sender in Unprocessed Email ignores the address or its domain and dismisses the others waiting, leaving contacts, client domains and public domains to an admin; Try an Email has the step; every queued email gets its own Message-ID and invoice and quote emails say what they are about, so a bounce marks the email it came back about as Bounced with the mail server's reason in a new Mail Queue tab, on the ticket reply for those it names and in the invoice or quote history, matched by address and subject when the report has no Message-ID; .gitignore leaves out uploads/mail_unprocessed and uploads/kb (database 4.3.5); 26.12.3 changelog 2026-12-01 00:06:27 -05:00
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
6cec0b8574 Mail review stage 6: bulk email leaves out contacts marked Email bounced or unsubscribed and says who was left out; each bulk email has an Unsubscribe link and List-Unsubscribe headers for one-click unsubscribe, the link asks first and offers Subscribe Again, unsubscribing covers every contact with the address, and agents and the client portal can change it (database 4.3.0); Send at uses the agent's time zone; bounces of bulk email come back to the ticket mailbox when the mail server and domains allow it; each email in a queue run goes out with its own envelope sender instead of the first one's; 26.12.3 changelog 2026-11-30 19:00:49 -05:00
johnnyq
b8db50adfa 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 2026-11-30 14:01:11 -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
fcdb014786 Document and Knowledge Base article PDFs with the letterhead look: logo and company details on the first page, the name with the client, folder and last update, a running header on later pages, a footer with the company, Confidential or Knowledge Base, the date and page numbers, tables with lines, shaded code, checklist boxes, symbols the old font could not draw, and headings as bookmarks; WebP pictures now show in document PDFs and the client documentation PDF; 26.12.3 changelog entries 2026-11-29 13:13:36 -05:00
johnnyq
08f4c74253 Ticket pictures review fixes: Redact takes a picture selected on its own as well as text, a picture that can't be saved stays in the text instead of being lost and the Ticket Pictures job logs a warning and carries on past a ticket that fails, new tickets for several clients keep their pictures as files straight away, and deleting a client deletes its tickets with their attachments, pictures, tasks and history instead of leaving them behind; 26.12.3 changelog entries 2026-11-29 12:49:22 -05:00
johnnyq
e8c38c739e Ticket pictures kept as files: pictures pasted or dropped into a ticket, reply or note by agents, in the client portal or through the API, and the inline pictures of client emails are saved as the ticket's files instead of base64 inside the text, shown where they were put and left out of the ticket's file list; the portal, guest page, task approval page, emails and client exports show them from their own addresses; editing or redacting a picture away deletes it, and internal note or merged ticket pictures are copied when reused; a new Ticket Pictures cron job moves pictures already stored inside tickets into files a batch a minute; database 4.2.4 adds ticket_attachments.ticket_attachment_inline and the sweep's progress settings; 26.12.3 changelog entries 2026-11-29 02:28:27 -05:00
johnnyq
8b4fa5a1a0 Documents in Markdown: a document can be written in Markdown with Write and Preview or in the rich text editor and switched either way, pictures pasted or dropped into the Markdown are kept as files, New Document starts in the way last used, Import Markdown Files beside Upload makes a document from each .md file, a Markdown button beside PDF downloads a document as a .md file, and Markdown pasted into a document's rich text editor goes in as formatting; versions, restore, copy and the API carry the Markdown, and the API's document create and update no longer escape values twice; database 4.2.3 adds documents.document_markdown and document_versions.document_version_markdown, and league/commonmark 2.10 and league/html-to-markdown 5.2 are added to libs/vendor through composer; 26.12.3 changelog entries 2026-11-29 00:48:15 -05:00
johnnyq
d9c1c752bd Passkeys: agents and client portal contacts can add a passkey with their password and sign in with it instead of their email and password, counting as two-step sign-in; a passkey that supports PRF also opens an agent's credential vault, otherwise credentials stay locked until they type their password once; admins can turn passkeys off in Security settings, and resetting MFA, turning off a contact's two-step sign-in, archiving an agent and the incident password reset remove them; database 4.2.2 adds user_passkeys, users.user_passkey_handle and settings.config_login_passkeys, and lbuchs/WebAuthn 2.2.0 is bundled in libs/webauthn 2026-11-28 23:31:17 -05:00
johnnyq
778889c460 Credentials: the 2FA secret key is kept encrypted with the vault as the username and password are, from the form, CSV import, the API, demo data and logins sent through a share, and decrypted for the live code, the Edit window, share links, exports and the API; keys already saved are encrypted by the first agent page after the update, only when the session vault opens to a real master key, each checked and written only over the value read; database 4.2.1 widens credential_otp_secret to 500; 26.12.2 changelog Security entry 2026-11-27 13:36:28 -05:00
johnnyq
e6370abe22 Interfaces: adding several ports at once keeps the space at the end of the name before the number, so Port 01 is no longer made as Port01, matching the window preview; 26.12.2 changelog bug fix entry 2026-11-26 00:57:18 -05:00
johnnyq
35cc39af87 Add screen pops: calls on an agent's desk phone pop up on agent pages with the contact, client, open tickets and New Ticket, count talk time while answered and offer Add to Ticket once the call record is in, with My desk phone in Preferences 2026-11-22 21:59:02 -05:00
johnnyq
388f083a2b Add phone system integration with FusionPBX: Admin Phone Systems with setup lines for mod_xml_cdr and mod_cidlookup, domains linked to clients with suggestions, a Calls page per client and contact with calls matched to contacts, Add to Ticket with talk time as time worked, and caller ID names from ITFlow on desk phones 2026-11-22 21:56:35 -05:00
johnnyq
bb20447b48 Racks: devices side by side in a holder - a rack item that holds devices across and wraps into rows for stacks, with slots to add to, drag between and Undo, the holder moving and removing what is in it, the slot shown on assets, the export and the API, and database 4.1.3 for rack_units slots, holder and position 2026-11-22 14:50:45 -05:00
johnnyq
d821b32c43 QoL 76: RMM devices can be linked to another asset from their card with the old one archived, assets get their contact from the signed-in user one at a time or in bulk, each provider picks the asset types its devices come in as with database 4.1.2, the client overview shows a card of device states with new assets list filters and overdue devices under Needs attention, Bring back is offered as soon as an asset is deleted, and the API returns asset_rmm with each asset 2026-11-21 19:22:07 -05:00
johnnyq
865e763068 QoL 66: bulk windows that set a location, contact, status or referral require a pick and are marked required, and assigning a location to contacts with none picked asks for one instead of clearing their locations 2026-11-21 02:45:30 -05:00
johnnyq
fba791c2fd QoL 65: fields marked with an asterisk are required and required fields are marked, a bulk asset move needs a client picked instead of moving them to no client, field hints use form-text everywhere, and the credit message is in sentence case 2026-11-21 02:42:52 -05:00
johnnyq
d408f716d0 QoL 59: confirmation messages say created after Create and saved after Save instead of added, updated or edited, invoice copy, make recurring, bulk payment and file-only ticket replies say what happened, payment edits show the payment's own currency and log who made them, and record kinds are lower case mid-sentence 2026-11-21 01:58:05 -05:00
johnnyq
b5c7eeec39 QoL 58: audit log types use the names the rest of ITFlow uses - Software and Software Template become License and License Template, Revenue becomes Income and Account Transfer becomes Transfer as the API already logs it, with database 4.1.0 renaming existing entries, link entries naming the license side, icons for RMM Provider, Database, Demo and Undo entries and five unstyled actions, and the Upgrading paragraph counting 4.0.9 and 4.1.0 2026-11-21 01:43:46 -05:00
johnnyq
8b332846b4 QoL 53: every badge a rounded pill including the menu counts, the client menu Domains count coloured from the right counts and the Certificates and Licenses counts with one text colour, a grey dash for empty values, flashAlert and itflowToast called with error in place of danger and alert, the errpr alias removed, sentence case column headings, and the client portal search boxes reading Search with hints in the tooltip 2026-11-21 01:12:31 -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
eb79252ca0 QoL 45: intval and floatval in place of int and float casts and a string cast in place of strval, redirect in place of raw Location headers wherever functions.php is loaded, redirect fallback escapes the URL with json_encode and escapeHtml, escapeHtml for the last htmlspecialchars on a page, and the plain-HTTP cookie notice through flashAlert 2026-11-21 00:20:16 -05:00
johnnyq
d0caeee324 Format money through billingMoney in the 51 places that called numfmt_format_currency directly, on client and vendor pages, payment and credit messages, the portal home, the guest card page and the report, dashboard and search helpers 2026-11-20 23:58:05 -05:00
johnnyq
df64d82f3a Archive clients, ticket replies, accounts and SLAs and restore anything without an Are you sure prompt, with Undo added for ticket replies and accounts, real plurals and bold counts in bulk messages, and flashAlert for asset and contact note messages 2026-11-20 23:46:36 -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
8ac88a48fd Link opens the standard picker under the button instead of a window - linked records ticked, tick to link and untick to unlink, saved when the picker closes with one message - for every record link, contact and asset credentials, a contact's assets, project and service tickets, a ticket's services and related tickets, with a document's or file's Link grouped by kind and quick looks reloading in place; the old link windows and the handlers only they used are removed 2026-11-20 18:23:48 -05:00
johnnyq
8d9d15d6f7 Undo in Admin after archiving tags and categories (one or several), canned responses, ticket, project, document, vendor, license and contract templates, roles, payment methods with any default they were, SLAs, custom links, portal announcements and agent banners, and after archiving a tax or switching off a ticket status when nothing was moved; payment methods archive without asking first and the SLA archive message names the SLA 2026-11-20 16:53:11 -05:00
johnnyq
2fdb280406 Quick add: the plus beside Contact, Site, Location, Assigned to and Vendor in New Ticket, Edit Ticket and the asset form opens the usual New Contact, New Location or New Vendor window over the form, saved in the background and picked, in place of the pop-up 2026-11-20 12:49:34 -05:00
johnnyq
4083b7cbf3 Contacts: remove Save to phone, the vCard QR window and .vcf download, from the contact page, quick look and contacts list row menu, which again only shows when it has New ticket or Edit 2026-11-20 00:14:59 -05:00
johnnyq
352b0e3c50 Tickets: link related tickets, such as one outage at several clients, from a ticket's menu or Link together on the tickets list, each in one group with the others; the Related card lists them with Reply to all and Resolve all for the open ones and an x to take one out, the list shows a count, and merging passes them on; database 4.0.8 adds ticket_links 2026-11-20 00:13:32 -05:00
johnnyq
6a5bc6cf55 Undo: the message after archiving, a move or a bulk change has Undo, which puts it back as it was unless it changed since, and archiving no longer asks first except for clients; covers archiving every kind on Archived with contact roles, document links and a client's recurring invoices, file, document, folder and rack moves, and the bulk changes that set a field on tickets, assets, contacts, clients, projects, invoices, products and IP addresses 2026-11-19 23:15:07 -05:00
johnnyq
99ab99622e Review fixes: Offboard stops recurring invoices for agents who can edit sales, not only admins, and the Add Credit menu item checks the same permission; viewing an earlier password no longer keeps the next view of the current one out of the audit log; the split-reply note shows the new ticket's subject as text; a recurring invoice bulk action skips any of a client out of reach instead of stopping part way; and a carriage return can't break a contact's vCard 2026-11-19 21:34:13 -05:00
johnnyq
4c3370ae02 Pickers and Archived: long client, contact, vendor, category, location, asset, technician, project, account and product pickers list your last five picks first under Recent, and Tools - Archived lists everything archived lately across clients, contacts, locations, vendors, assets, credentials, documents, files, domains, certificates, networks, racks, services, licenses, projects and products, with who archived each, to restore one or several at once 2026-11-19 21:04:19 -05:00
johnnyq
5af76f5d8e Time and calendar: a stopwatch timer started before there is a ticket that goes to a new ticket through Quick ticket or onto an open one, the time you logged today and this week in the timers panel, reminders for calendar events and for work booked on your tickets by notification and optional email (db 4.0.6, a new Reminders cron job), and a Timeline tab on projects with bookings in time, now, start and due, clashes and the open tickets not booked yet 2026-11-19 21:03:37 -05:00
johnnyq
c98fa4bc8a Billing: pause a recurring invoice until a day it resumes by itself, copy a recurring invoice to another client, bulk pause, resume, next date and frequency on recurring invoices, the client's other unpaid invoices when adding a payment, one-off addresses when sending invoices and quotes, a notice before a sent quote runs out, Take a photo in the picture window, a client's overdue balance on their tickets, and drafts left more than a week singled out 2026-11-19 19:23:23 -05:00
johnnyq
a9dcbac8c1 Assets, racks and credentials: Copy details copies an asset's details as text for a vendor case, rack items drag to a new position and unracked assets drag onto the rack, logins sharing a password with another of the client's are flagged, and a changed password is kept encrypted under Earlier passwords to view or put back 2026-11-19 19:07:33 -05:00
johnnyq
6c1211b536 Clients: merge a duplicate client into the one kept, moving every record, file and photo, combining tags and sharing, keeping the kept client's settings and saved card customer, and leaving the duplicate archived and empty, with the agents whose access differs named first 2026-11-19 18:41:21 -05:00
johnnyq
90ba1b9c0b Clients and contacts: offboard a client in one window, a client card on hovering a client name, contacts whose email bounces flagged (db 4.0.3), save a contact to a phone by QR code or vCard, new ticket from a contact row, add a contact, site or vendor from the window that needs it, and duplicate warnings for contact emails and asset serials and MACs 2026-11-19 18:40:40 -05:00
johnnyq
47374710e9 Documents and files: edit a document on its own page, copy a document for this or another client with its pictures, a contents list for long documents and articles, what changed between versions, favorite documents on the client overview, upload a folder with its subfolders, download a folder or ticked items as a zip, and rename from the files list 2026-11-19 18:12:25 -05:00
johnnyq
44773561cc Tickets list: keeps itself up to date with a bar for tickets that came or went, bold for tickets the client wrote on since you last opened them with Mark as read (db 4.0.2), the last reply on hover over Activity, your open ticket count in the browser tab title, and desktop notifications for tickets assigned to you and client replies 2026-11-19 17:56:51 -05:00
johnnyq
533b801a70 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 2026-11-19 17:37:25 -05:00
johnnyq
3cb42eaaa2 Files drag and drop: files and documents drag from the list or grid onto a folder in the tree or the path above the list to move there, ticked ones together, and folders drag onto other folders or Top level; a closed folder held over opens, files from the computer dropped on a tree folder upload into it, folder moves use the new move_folder handler, and Bulk Action Move now leaves items already in the folder alone 2026-11-19 14:19:38 -05:00
johnnyq
c20acc9ac1 Remove RMM device actions: the Device actions switch in a provider's Edit, Actions on a device's card on its asset and beside it on a ticket, the Run a script window and their handlers are gone, along with the Tactical reboot, patch, maintenance mode and script calls behind them; database 3.6.9 is gone and 3.9.9 drops rmm_providers.rmm_provider_actions where a develop build added it; the 26.12 changelog, the demo locks and the development mode text no longer mention them 2026-11-19 14:00:54 -05:00
johnnyq
875998bbb2 Stripe: when Stripe no longer has a client's customer, deleted there or made under other keys, forget it and the cards saved on it so the client sets up again, let new-card payments go ahead, tell agents, and remove the unused autopay_setup_stripe.js 2026-11-19 01:34:48 -05:00
johnnyq
85941e56e0 Knowledge Base files, PDF and AI review, document review cadence: files on articles downloaded by whoever can read them in ITFlow, the portal or the public help center, PDF export of an article, Review with AI for articles flagging client details in shared ones with a summary to use, the review window script shared with documents in js/ai_review.js, How often on a document to set its own review cadence or follow its template, database 3.9.8 with kb_article_files and documents.document_review_months, and changelog entries 2026-11-18 18:27:03 -05:00
johnnyq
40da408d3c Knowledge Base stage 4: Was this helpful? under articles in the client portal and public help center with what was missing for a no, reads counted once a visit, a Readers column sortable by reads, a Needs a look view, a Feedback card on the article with Dealt with, a Not found list of searches that found nothing with Write an article, a main menu count of articles due for review or not helping, database 3.9.7 with kb_article_views, kb_article_feedback and kb_search_misses, and changelog entries 2026-11-18 18:12:03 -05:00