Commit Graph

427 Commits

Author SHA1 Message Date
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
a9e5bc66db Mail review stage 1: people copied in on an email become a ticket's CCs only from the email that raises it or a reply to one of its emails, not a reply matched by the number in its subject alone; a subject too long for the mail queue is cut to fit and an email the queue turns away is logged rather than stopping the page or the mailbox; emailed files use the same list as attached ones, which gains heic, heif, tif, tiff, eml, xlsm, ppt, rtf and log, with an internal note naming any file left out; names with an apostrophe escaped once; 26.12.3 changelog 2026-11-30 16:49:01 -05:00
johnnyq
c98ea0e686 Ticket CCs in the API: ticket_ccs read, create and delete endpoints scoped through the ticket's client, adding one address or several with an optional email to each new CC, removing by id or by address at Modify as on the ticket page, closed tickets left as they are, ticket history and audit lines; tickets/create takes ticket_ccs before its first email goes out and tickets/read returns each ticket's CCs; 26.12.3 changelog 2026-11-30 14:12:08 -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
b22ed53ab3 Clean up incoming ticket mail: a bounce is read first whatever the settings, marking the contacts it failed for and noting the ticket the email was about, found by the bounced email's Message-ID or subject, and never makes a ticket; only a mail server's own address or a bounce report counts, so an address with mta in it is a person; out-of-office replies are a note on the ticket they answer without reopening it or a notice; mail from systems and lists still makes tickets but is never answered; ITFlow's automatic emails carry Auto-Submitted and X-Auto-Response-Suppress, at most five an hour to one address; a watcher's or guest's reply is the client's reply, named by database 4.2.7, reopening the ticket and passed on; a near-same subject is a reply only from the ticket's contact or a watcher and otherwise a new ticket linked as related; a reply to a closed ticket is kept on it as a note and only contacts and watchers are told it is closed; Try an Email follows; 26.12.3 changelog entries 2026-11-30 13:34:24 -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
52e340b85c Print a ticket as a work order and an asset as a spec sheet: Print Work Order in the ticket menu, or the browser print, gives the letterhead, who and where with access notes, the job details, assets, description, client-visible fill-ins, tasks as boxes to tick, public replies oldest first and a sign-off with times, work done lines and signatures, never internal notes; the asset print button beside Copy Details gives its hardware, network, location and assignee, interfaces, devices in it, licenses, services and quick notes with a QR code that opens it, never credentials or license keys; both print black on white in either theme and the ticket menu now shows for every agent; 26.12.3 changelog entries 2026-11-29 22:36:50 -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
85c151eec8 Document quick view reads like the document page: the page's typography, folder, template, Markdown, review and tags above what it says, what it is linked to as counts that open to their lists instead of every record listed, and Open Document, Edit to the edit page, Share and Export along the bottom; linkGroupsHtml compact mode takes how many links open their groups; the old document edit modal is gone; 26.12.3 changelog entries 2026-11-29 14:08:11 -05:00
johnnyq
f777bb212c Documents and articles outside the agent app read like the document page: the portal document and Help article pages, shared links and the public help center lay out what they say as on the agent document page, with a long one's Contents beside it in view as you scroll and marking the section being read, or above it on a phone; pictures open full size when clicked; a section picked from Contents stays marked, on the agent page too; 26.12.3 changelog entries 2026-11-29 13:28:40 -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
6cdbe60747 Document page modernized: headings in proportion to the text with styled tables, code and quotes; folder, template, Markdown and the review under the name, the review's menu with Mark Reviewed and how often; Edit, Share and an Export menu for PDF, Markdown and Print, Template moved to the more menu; Contents marks the section being read; Linked, Versions and History as tabs of one card, Linked as counts that open to their lists; linkGroupsHtml compact mode; 26.12.3 changelog entries 2026-11-29 01:06:42 -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
a84c3eca79 Passkeys: bundle report-uri/passkeys-php 2.0.1 in libs/webauthn in place of lbuchs/WebAuthn 2.2.0, Report URI's maintained fork with the fixes from their penetration test - only attestation none is accepted, cross-origin requests and Token Binding are refused, the backup flags and credential id length are checked and the RP ID is matched on a dot boundary; functions/passkey.php uses the new namespace, constructor and processCreate arguments, and the 26.12.3 changelog names the library 2026-11-28 23:55:14 -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
46f9a1681d Payment reminders: a client with more than one late invoice gets one reminder listing all they owe, on the days of the oldest late invoice, with the statement PDF and one text, instead of a reminder per invoice on its own dates; an invoice page shows when the shared reminder goes; the monthly statement is skipped for a client sent one that day; statements count an invoice marked Paid as settled; 26.12.2 changelog entries 2026-11-27 12:59:45 -05:00
johnnyq
bfc91512c9 Managed instances: report usage counts each day by the instance's own date (tickets opened, resolved and by email, agent replies, invoices, payments, agents and client portal sign-ins, email sent and failed, API calls by key name), shown in a Usage part of the History card and a sortable Last 30 days column on the list, with Managed By saying only counts are sent, database 4.2.0 2026-11-25 16:06:39 -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
42df246266 Managed instances now report their agents and waiting invites (name, email, role, MFA, last sign-in) at check-in, the manager shows them in an Agents card on the instance page, and the Managed By privacy text lists what is sent 2026-11-25 01:09:52 -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
41b14c7718 Send a managed instance's check-in report as one base64url string once its manager says it reads that, so a web application firewall in front of the manager stops answering 403 to the cron command and error text in a plain report; the manager says so in its connect and check-in answers and decodes the report before storing it as before, with 400 for one it can't read and 413 for one too large, and older managers keep getting plain JSON 2026-11-25 00:31:08 -05:00
johnnyq
7ab5154c2a Open tickets for network platform devices that go offline, with one ticket for a site whose gateway is down and for a Site Manager console that is offline, resolved when they are back 2026-11-23 01:05:26 -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
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
5cedf3a491 Have Yealink and Polycom desk phones report themselves to ITFlow and become Phone assets of their domain client, matched by MAC address and kept up to date unless changed in ITFlow, with a phone system card on the asset and a Phones count on the Domains page 2026-11-22 21:57:42 -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
7705288817 Racks: an asset in a holder links to the holder from its slot on its page and quick look, so a server node links to its chassis, and a holder asset has a Devices in it card listing what is in each slot 2026-11-22 15:02:37 -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
bea12a54f9 QoL 82: Profit and Loss and Tax Collected show a card for each quarter on Quarterly in place of the chart, with each figure's change on the same quarter last year 2026-11-22 13:19:56 -05:00
johnnyq
e76594b054 QoL 81: Profit and Loss and Tax Collected charts follow the Monthly and Quarterly switch instead of always showing months 2026-11-22 13:14:21 -05:00
johnnyq
78cc187f3b QoL 79: the date filter box on list pages shows All Time or its date range from the first paint instead of filling in after the page loads 2026-11-21 21:33:55 -05:00
johnnyq
4522b06522 QoL 77: an RMM device whose CPU or storage text is too long, or that cannot be saved for any other reason, no longer stops the whole sync, answers that are not a list are refused, most of a client's devices disappearing at once are held for a day before being marked gone, and alerts cleared over 180 days ago are pruned nightly 2026-11-21 19:34:43 -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
d5fa5dbad8 QoL 75: a reinstalled Tactical agent is now matched to the asset its old agent had instead of making a second one, and a device moved to another linked client in Tactical is matched or made there while the old asset stays with its client, with existing moved devices put right at the next sync 2026-11-21 18:56:47 -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
fe2d880b51 QoL 72: assets list badges for any flagged date of your own asset types alongside the UPS battery, and the AI client document listing firewalls, servers, NAS, virtual machines, switches and access points ahead of other types 2026-11-21 16:25:16 -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
2e2cbea773 QoL 64: bulk asset delete asks first, credential archive from a record page no longer asks as no other archive does, related ticket and service ticket removal ask first like the other ticket page removals, and four field hints use form-text 2026-11-21 02:37:15 -05:00
johnnyq
9a58e2b315 QoL 62: icon-only buttons have accessible names - every window close button has aria-label Close, and split-button carets and record page menus are named More actions 2026-11-21 02:24:41 -05:00