Commit Graph

270 Commits

Author SHA1 Message Date
johnnyq
abcd1a6fcf Text messaging Receive only: database 4.3.6 adds sms_providers.sms_provider_send, and a provider set to Receive only in its window takes texts in as tickets, replies and codes and texts nothing out (no Text reply, ticket number, STOP or HELP answers, texts to clients or test texts), needs no SID or secret, cancels the texts waiting to go when switched, and is shown on Text Messaging, Text Messages, Notifications and Tickets settings and in the reply box of a ticket that came in by text, with the number to call; 26.12.3 changelog 2026-12-01 12:42:51 -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
812c4ae9c2 Mail review stage 7d: the links in emails that open a ticket, invoice or quote without signing in stop working a set time after it is closed, paid or answered, 90 days to start and set in Admin > Settings > Security, with an expired page pointing to the client portal and Copy Client Link marked Expired; your own subject, heading, opening and closing text for the 13 emails about a ticket to clients, edited from Admin > Settings > Mail > Previews with square-bracket placeholders (database 4.3.4); 26.12.3 changelog 2026-11-30 21:36:58 -05:00
johnnyq
20b2d1883e Mail review stage 7c: emailed and texted replies wait a few seconds on the ticket page with Undo and Send now before they are posted, set in Admin > Settings > Tickets (database 4.3.3); ticket emails sent from another address than the mailbox ITFlow reads ask for replies at that mailbox with Reply-To, which can be turned off there; 26.12.3 changelog 2026-11-30 21:36:09 -05:00
johnnyq
b3ba5d7275 Mail review stage 7a: mail passwords, the OAuth client secret and the mail tokens are stored encrypted with a key from config.php's backup key, kept as typed only when there is no key, with a warning in Admin > Settings > Mail when they can't be read (database 4.3.1); pictures from other sites in client email are held back on a ticket, its quick look and its work order until Show pictures is clicked; the sign-in page no longer loads the mail server's password; 26.12.3 changelog 2026-11-30 21:34:43 -05:00
johnnyq
899f2259fe Mail review stage 2: the mail queue sends at most config_mail_send_per_minute a minute (database 4.2.9, Admin > Settings > Mail, Sending) over one connection with bulk email last, retries over about eight hours on a growing wait, stops for the minute when the server turns two away in a row, costs no email a try when the server can't be reached, doesn't retry an address turned away for good and marks its contact Email bounced, sends an email once when only someone copied in is turned away, tells admins once an hour at most instead of every agent per email, and gives each email a plain text part and ITFlow's own host name; 26.12.3 changelog 2026-11-30 16:50:04 -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
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
adbd8866c2 Fix identity provider gaps: a required provider is decided before any password or mail password is checked and the sign-in page says the same whatever was typed, account or not; required beats IMAP on the same domain; after five wrong passwords for an address in ten minutes its mail server isn't asked; Google signs in only Workspace accounts and Nextcloud has to say the address is verified; client secrets are sealed with the install key, with RMM's sealing moved to shared secretSeal and secretOpen; an IMAP server is tried when saved or turned on and Required waits for a first sign-in; joining, Forgot password, password links and welcome emails follow mail-password and required domains; Turn Off says who goes back to a password; 26.12.3 changelog entries 2026-11-30 01:36:20 -05:00
johnnyq
fffa5680db Add identity providers for agents and client contacts: Admin, Identity Providers under Integrations adds Microsoft 365, Google Workspace and Nextcloud (OIDC Identity Provider app) sign-in buttons and IMAP mail-password sign-in, each for agents, client contacts or both and for the email domains listed; no account is created by signing in; Microsoft, Google and Nextcloud stand in for ITFlow two-step sign-in while IMAP still asks for the code; a provider can be required, turning off password sign-in on its domains with passkeys and administrator passwords still working; credentials stay locked after a provider or mail password sign-in until the ITFlow password is typed; the client portal Microsoft Entra single sign-on moves to a Microsoft 365 provider keeping its redirect address; database 4.2.5 adds identity_providers and drops the old Entra settings; 26.12.3 changelog entries 2026-11-29 20:13:10 -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
eed334aaa4 Credential vault: each agent's and API key's copy of the master key is sealed with AES-256-GCM under a 600,000 round PBKDF2-SHA256 key with its full 256 bits instead of a 64 bit key, old copies still read and moved to the new format at the next sign-in or API call, Admin > Backup lists the copies still in the old format with a button to retire them; sign-in no longer keeps the plain master key in the session between the password and two-step steps, which also fixes the vault being closed after a mistyped two-step code; 26.12.2 changelog entries 2026-11-27 14:17:06 -05:00
johnnyq
370b80a67b Logs: the log settings are a Settings tab under Admin > Logs beside Audit Logs, Sign-ins and App Logs instead of a page in the Settings menu and overview, still found by Find a setting and the top bar search as Logs > Settings; settings pages can be put under an admin menu entry with an under key; references to Admin > Settings > Logs updated; 26.12.2 changelog entries 2026-11-27 13:49:31 -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
95c44f6c73 Managed instances: a History card on each instance's page with its agents against the seat limit, clients, storage, uptime from gaps between check-ins with the latest listed, errors by day with their categories and backups as a strip of days, over 30 days, 90 days or a year, kept for good from one row per instance per day recorded at check-in, database 4.1.9 2026-11-25 01:49:59 -05:00
johnnyq
96edfde0e9 Managed instances: problems on an instance can open tickets on its client (Admin > Managed Instances > Problem Tickets, off by default) after lasting 10 minutes, the same problem again goes on its ticket, a cleared one resolves it unless someone has written on it, the Health card links each problem to its ticket, database 4.1.8 2026-11-25 01:24:39 -05:00
johnnyq
1b7a84de40 Show which categories a managed instance's errors were logged under: its check-in sends the count per category, never the error text, which can hold client addresses and subjects; the manager names them in the health line and lists them under Errors today, where the count and each category sign in as support straight to the instance's App Logs filtered to those errors, a page an older instance ignores so its count stays plain; Managed By's list of what it tells its manager says so 2026-11-25 01:00:50 -05:00
johnnyq
52390ca6a4 Show where each asset plugs in from network platforms, with the switch port or access point on the asset and what is plugged into each UniFi switch and access point, with database 4.1.7 2026-11-23 00:58:25 -05:00
johnnyq
47deaba513 Bring network platform sites' networks and VLANs into their clients' networks, matched by subnet and kept up detail by detail, with a platform card on the network page, with database 4.1.6 2026-11-23 00:57:43 -05:00
johnnyq
3171cb367d Add Network Platforms with UniFi device sync from a self-hosted controller, a UniFi console API key or Site Manager, matching assets by MAC address, with database 4.1.5 2026-11-23 00:56:56 -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
adb74fc04b QoL 74: unlinking an RMM client now removes its device records so its assets no longer show as in the RMM or count as managed devices, existing unlinked clients are cleaned up at the next sync, and relinking matches the devices back to the same assets 2026-11-21 18:32:43 -05:00
johnnyq
373041b251 QoL 71: custom asset types on a new Asset Types admin page, started from a built-in type with their own icon, color, group, fields, ITFlow details, rack setting and details of their own (text, number, list, flagged date), working across the asset form and page, exports, imports, products, racks, reports and the API, with renaming carried to assets, products and recurring lines, deleting that moves what has the type, switching any type but Other off and on with Undo, and one-click set up of types found on assets 2026-11-21 16:17:34 -05:00
johnnyq
e80c6978b3 Fix trailing whitespace 2026-11-21 13:33:45 -05:00
johnnyq
5cfd08134a QoL 69: a Knowledge Base Articles starter pack of 29 client how-tos loaded as agent-only drafts with Knowledge Base categories and article tags in their packs, and a demo Knowledge Base with every kind of audience, reads, feedback, versions, a review due, searches that found nothing and links from ticket replies, removed with the demo along with its clients' ticket read marks 2026-11-21 13:33:17 -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
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
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
c1bdc99c14 Admin messages use the same colours as the rest of ITFlow - red after archiving, removing, unlinking or cancelling something and green after restoring it or Undo - covering tags, categories, custom links, payment methods, roles, SLAs, ticket statuses, starter content, offices, closure days, backups, app logs, RMM clients, invites, queued emails and texts, and the company logo 2026-11-20 17:59:26 -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
9203880dfd Starter Content: Clear out unused beside a pack's counts archives what came from the pack and nothing uses yet, listed in a window with ticks, in-use items kept, rechecked on save, with Undo and a total in At a glance 2026-11-20 15:16:44 -05:00
johnnyq
5e173e92de Starter Content and demo data: US spelling throughout, with the old starter tag and canned response names counted as loaded, the canned response renamed when brought up to date, and demo products and errand trips found under either spelling on reload and removal 2026-11-20 13:04:30 -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
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
16c63de8de Knowledge Base stage 2: who can read each article - agents only, clients (all, by client tag or by name) or anyone - database 3.9.6 with kb_article_visibility, kb_article_all_clients, kb_article_client_tags, kb_article_clients and config_kb_public_enable, Help in the client portal with search, categories, print and Ask us, the public help center at guest/kb.php with its switch in Admin > Settings > Knowledge Base and a link on the sign-in page, a Who can read it column, filter and article panel, tag merge moving article client tags, tagKinds only listing kb_article once its table exists, and changelog entries 2026-11-18 17:36:51 -05:00
johnnyq
3c0a9c0255 Knowledge Base stage 1: articles written once for every client in a new main-menu Knowledge Base, with title, summary, category, tags, editor content and pictures, drafts and publishing, a version kept on every edit and restorable, review cadence with Review due, the standard list with search, category and tag filters, views and bulk actions, copying an article or a client document into a draft, global search group and shortcut, Knowledge Base category kind, article tag kind without a client, audit log kind and Modules switch, database 3.9.5, 26.11.9 changelog entries 2026-11-18 16:53:57 -05:00
johnnyq
9bcf0e433b Module switches: Dispatch, Bookkeeping, Purchasing, Trips and Calendar can be switched off in Admin > Settings > Modules, Dispatch coming with ticketing and the other three with invoicing, each hidden from menus, dashboard, search, reports and the API and refused on its pages, windows and handlers while off; Purchasing starts off unless already in use, Bookkeeping off posts the default accounts in place of account pickers, database 3.9.4, new moduleOn, moduleOffText and bookkeepingAccount helpers, purchase order settings tile summary, 26.11.9 changelog entries 2026-11-18 14:27:16 -05:00
johnnyq
70af6a0f0e Purchasing: new To Order, Purchase Orders and Receiving pages under a Purchasing side menu section, with invoicing on and the new Purchasing role permission (module_procurement, Read, Modify, Full); items go on To Order by hand, from a product's Order button or from low-stock products, purchase orders are made from ticked items with their own prefix and next number, edited as drafts, downloaded as a PDF or emailed to the vendor and marked ordered, with optional approval over an amount that notifies the approvers by notice and email, carrier tracking links, receiving into stock or into client assets with serials, undoing a receipt, and recording the vendor bill as an expense linked to the received stock; agents only see purchase orders for clients they can reach, the Full access refusal says what Full allows for Purchasing, new functions/purchase_orders.php and a Purchase orders settings page, database 3.9.3 adds order_items, purchase_orders, po_items, po_receipts and po_tracking with four settings columns, 26.11.9 changelog entries 2026-11-18 00:45:43 -05:00
johnnyq
a31471eff3 Mail: Microsoft 365 sends email and reads the support mailbox through Microsoft Graph when the app on the OAuth tab has Mail.Send or Mail.ReadWrite, so the mailbox needs no SMTP AUTH, and SMTP or IMAP stay in use for whatever it lacks; new functions/mail_graph.php with mailGraphToken caching the Graph token and its scopes and keeping the rotated refresh token, mailGraphSend sending the finished MIME or a draft with uploaded attachments past 3 MB, and functions/mail_graph_mailbox.php standing in for ImapEngine in the email parser; the OAuth tab says which way email goes, Test IMAP and Test OAuth Token Refresh cover Graph, the Exchange token renewals now name their scope, database 3.9.2 adds three settings columns, 26.11.9 changelog entries 2026-11-17 23:49:02 -05:00
johnnyq
45c3c6e29f Notifications: Admin Settings Notifications gets Emails and notices to your team with switches for the bell notice and the email an agent gets when someone else assigns them a ticket or recurring ticket, and for the copy of a client's reply to the agents helping on a ticket, all on by default; database 3.9.1 adds config_notify_assigned_app, config_notify_assigned_email and config_notify_helper_replies read by ticketTeamNotifyOn, checked by ticketMailAssigned, ticketHelpersMailReplied and every assigned bell notice; 26.11.9 changelog entries 2026-11-17 22:40:30 -05:00
johnnyq
79f8f37df4 Offices: list other offices under Admin > Settings > Company Details with who works from each, pick an agent's office in Admin > Users and on invites, start new trips from the driver's office with From following the driver, and show the agent's office address and contact line at the foot of ticket emails; database 3.9.0 adds the offices table, users.user_office_id and user_invites.invite_office_id 2026-11-17 21:28:45 -05:00
johnnyq
55e7f6cc5d Projects: Keep project tickets apart under Admin Settings Projects leaves a project's tickets off the tickets list's usual views with a Projects view of their own, out of the dashboard and menu counts and the Dispatch queue, with no SLA, while Mine, Workload and the calendar keep them in the project's color with the agent's color as a dot; a ticket taken out of its project, or every one when it is switched off, gets its SLA back counted from then; off by default; database 3.8.9 adds config_project_tickets_apart, config_project_ticket_color and tickets.ticket_sla_from; 26.11.9 changelog entries 2026-11-17 21:26:50 -05:00
johnnyq
475f27fc7f Quotes: a line can have a picture beside its name on the quote, guest link, portal and PDF, uploaded or pulled from a link to a picture or a product page's main picture, fetched only from public addresses and kept as ITFlow's own resized copy in uploads/quote_images; products keep a picture that a quote line added from them copies, Copy Quote copies them, and deleting a line, quote, client or product removes the files; Admin Settings Quotes can switch pictures off; database 3.8.8 adds quote_items.item_image, products.product_image and config_quote_show_images; 26.11.9 changelog entries 2026-11-17 21:25:57 -05:00
johnnyq
bd62f4af22 Quotes: a line can carry its cost each and a markup, margin or set price in the Edit Line window, with quick-pick percentages and what the line makes, a line added from a product takes the product's cost, the cost shows under the line while the quote can be changed and the quote's Margin counts each line's own cost, all for agents only; Admin Settings Quotes sets the starting method, percent and quick picks; Copy Quote keeps each line's product; database 3.8.7 adds quote_items.item_cost, item_price_method and item_price_percent and the pricing settings; 26.11.9 changelog entries 2026-11-17 21:24:27 -05:00
johnnyq
bf1124570b Calendar: every agent has a color picked in Account Preferences or Admin Users, and their booked tickets and assigned events are drawn in it with their first name beside the time; events are assigned to agents from New Event, Edit and the quick look, with contacts and anyone else under Invite; Left behind under the calendar lists open tickets booked on a day that has gone, to drag back on; a 7 days view moves a day at a time and bookings at the same time sit side by side; Holidays shows the SLA closure days; what the calendar shows is kept to the account, and To schedule with Everyone lists everyone's unbooked tickets; database 3.8.4 adds user_settings.user_config_calendar_color and user_config_calendar_state; 26.11.9 changelog entries 2026-11-17 20:53:03 -05:00
johnnyq
1c4c8be8de Users: an API or service account keeps its role for API keys but is left out of agent lists, pickers, notifications and admin alerts, cannot sign in, and has its own API accounts tab on Admin Users; database 3.8.1 adds users.user_service_account; 26.11.9 changelog entries 2026-11-17 19:24:04 -05:00
johnnyq
46a2dfe96c Admin Labor Costs holds each agent's cost per hour from a date with a company default, and Client Profitability adds labor, parts, profit, margin and break-even hours for flat fees, with a Paid or Invoiced basis; database 3.8.0 adds user_cost_rates and config_labor_cost_default; 26.11.9 changelog entries 2026-11-17 19:23:22 -05:00