Commit Graph

202 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
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
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
8ce7ad0789 Shorten the long windows: a role has Details and What it can open, each module one row with what its level allows under it; Edit Ticket gets a Planning tab for its due date, tags and billing, opened by the Due pencil; a recurring ticket's Schedule tab becomes Planning with the priority, category and billing of the tickets it raises, and Frequency reads How often; a recurring expense has Expense, and Client and reference; the tag, category, link and asset type icon pickers show three rows and scroll to the icon picked; invoicing a ticket gives a new invoice the ticket as its scope; a smaller description box when quoting a ticket; 26.12.3 changelog entries 2026-11-30 00:48:50 -05:00
johnnyq
285aae13b4 Split the long windows into tabs: New Ticket gets a Planning tab for its due date, starting status, schedule, tags and billing; a product or service has Details, Billing, Ordering and Asset; a service has Service, Recovery and notes, and Depends on; an event has When, and Who and where; an expense has Expense, and Client and receipt; in Admin a payment provider has Keys, Payments and Card fee, an RMM provider or network platform Connection, Alerts and Asset types, an identity provider Setup, Who it signs in and The app, and a ticket status Details and What it does; a payment or RMM provider check that finds something wrong opens that field's tab; 26.12.3 changelog entries 2026-11-30 00:14:40 -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
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
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
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
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
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
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
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
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
johnnyq
f183f0bddf QoL 57: placeholders as plain examples without e.g. ex. or Enter, address fields with the url keyboard, the bulk phone field as tel, New Location and New Network opening at the large size like their edit windows, transaction amount filters as decimal text that take commas, and rel noopener on every new-tab link with noreferrer for external ones 2026-11-21 01:35:13 -05:00
johnnyq
4265db34b6 QoL 55: one copy icon and one show icon everywhere, text-dark dropped from the 30 menu items that had it, light badges as text-bg-light, and the network IP list's Selected button named Bulk Action like every other list 2026-11-21 01:16:24 -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
a14b0fa9ca QoL 52: fw-bold for text-bold, text-body-secondary for text-muted and fas for the fa icon prefix everywhere, the user menu buttons as btn-light border, the dead AdminLTE 3 shims and small-box styles removed from itflow_custom.css, and the inert tooltip toggles on menu counts dropped 2026-11-21 01:10:23 -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
e48ee1ca0a QoL 47: every edit window titled Edit Kind with the record name after it in lighter text, the note, copy, archive, password, credit, office, role, instance and provider windows in the same form, and the existing 26.12 windows changelog line extended 2026-11-21 00:47:31 -05:00
johnnyq
efcaedaa87 QoL 46: one More menu icon, one icon each for Delete Restore and Export, plain required stars, the incident response window in the standard header, itflowConfirm shared by confirm-link and script with the confirm button taking the link label, the app confirm and toast in place of browser confirm and alert, the timer reset no longer marking a running timer stopped on cancel, and list search boxes reading Search with field hints in the tooltip 2026-11-21 00:43:26 -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
5cb09cee0b QoL 44: windows that make a record say New and Create and edit windows say Save, list buttons say New Provider, New Model, New Instance and New Item, add-to-record windows keep Add, every field label uses form-label, bare fields get input-group icons, one invoice icon everywhere, the license icon in onboarding, the client delete window rebuilt in the standard layout, and the contact archive button typo fixed 2026-11-21 00:16:26 -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
31c34fd92a Use the standard picker for the last 78 plain dropdowns in agent and admin windows, with the picker keeping w-auto, flex-grow-0 and max-width from the select so narrow ones stay narrow 2026-11-20 23:57:43 -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
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
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
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
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
00724866e3 Leads: clients marked as leads are left out of the client pickers in record windows, bulk edits, Dispatch, the client switcher, the transaction filter and export, report pickers and coverage, template reports and use windows, agent banners, portal announcements, RMM client linking and managed instances, keeping the record's own client and the lead whose page it is; quote pickers keep leads after the clients marked Lead, global search lists them after matching clients marked Lead, new clientNotLeadSql helper, 26.11.9 changelog entries 2026-11-18 12:21:25 -05:00
johnnyq
34fa126a35 Admin menu: Templates becomes one entry under Lists and Templates with ticket, project, contract, vendor, license and document templates and canned responses as tabs, Logs becomes one entry under Maintenance with audit logs, sign-ins and app logs as tabs, and Text Messaging holds its setup and its messages with the failed count on the entry; new adminNavGroups with adminNavGroupItemHtml and adminNavGroupTabsHtml, the on-screen paths to those pages say where they are now, 26.11.9 changelog entries 2026-11-18 01:52:00 -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
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
johnnyq
ee5f7ff48a Admin Backup restores a backup from its menu or an upload of up to 5 GB sent in pieces, checked in the Restore window and confirmed with the password and RESTORE, then queued for the Backup cron job, which takes a Before restore backup, restores, keeps both in the list, runs the database updates and ends the cycle while other dispatches wait; the page shows it waiting with Cancel, running and how it went; 26.11.9 changelog entries 2026-11-17 19:22:47 -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
c6f1de43e0 Agent banners: a note along the top of agents' pages for one client or every client, shown as Notice, Heads up or Urgent between its start and end; a client's is added from New Banner in the client's menu, which lists its banners to change, and shows on its pages and on its tickets, invoices, quotes, recurring invoices and projects opened on their own; Admin > Agent Banners lists them all and adds them for every client; Notice and Heads up can be hidden per agent until the banner changes, Urgent is big and red and can't be hidden; kept in portal_announcements with a new announcement_audience column and an announcement_dismissals table (database 3.7.2), sharing the portal announcement form, now includes/announcement_form.php; 26.11.9 changelog entries 2026-11-17 13:44:49 -05:00
johnnyq
4faa0d91ca Pasted pictures go with ticket emails as pictures attached inline: emailInlineImages takes each data image out of an email's HTML to uploads/tmp/mail_images, stored once by its hash, and points it at a cid that the mail queue attaches with addEmbeddedImage, so mail programs that show no data images show them and the queue keeps each picture once rather than in every email; Admin Mail Queue shows them back in the message and counts only files as attachments, a meeting request with pictures goes as an attached invite, and nightly removes pictures no queued email uses; 26.11.9 changelog entries 2026-11-16 19:36:00 -05:00
johnnyq
c2eb55c8dc Mail queue keeps what a sent email said: only an email with a link or code that opens something - a shared login and its code, a portal or agent invite, a password link, a contract to sign or a task to approve - is cleared once sent, and a day after it was queued if it failed or was cancelled; emailQueue gains a sensitive option set by those senders, cron marks sent email with mailQueueSentSql, nightly runs mailQueueClearSensitive, and a cleared email can't be retried; database 3.7.1 adds email_queue.email_sensitive and marks email waiting at the update; 26.11.9 changelog entries 2026-11-16 18:48:57 -05:00
johnnyq
270cc91f60 API keys in a header: the API takes the key from the X-API-Key header first, then a JSON body or the address as before, so a key no longer has to be sent in the address where web server and proxy access logs keep it; apiKeyFromRequest reads it for validate_api_key, which now escapes it once; the New API Key window says where it goes; 26.11.9 changelog entries 2026-11-16 18:05:44 -05:00
johnnyq
eee720ff77 Pictures open in a Picture window: the profile, Admin Users, contacts, assets, locations and racks show the picture itself on a button with a camera badge, a person's initials or an Add a photo box when there is none, and clicking it opens a window over the form to drop, paste or choose a picture, crop it to fit its shape by dragging, zooming and turning, and use it or remove the one there is; new pictureField in functions/picture.php and js/picture_field.js put the crop in a hidden file input as a JPG or WebP up to 512 pixels for a person or 2048 for a photo, upright and without location or camera details, and set the existing remove field, so the forms post the same fields and no handler changed; a person's initials follow the name as it is typed; the old file inputs, remove boxes and preview scripts on those forms are gone; 26.11.9 changelog entries 2026-11-16 14:44:31 -05:00