Commit Graph

187 Commits

Author SHA1 Message Date
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
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
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
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
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
e57faeeb3a Mail review stage 5: a website form's email is answered at the visitor in its Reply-To, who becomes the ticket's CC under the client whose domain the site is on or none, and Reply-To at the sender's own domain is taken as the sender; someone who isn't a contact is answered without their subject or the ticket's link, and a forged ticket or one with no contact no longer emails the client's colleagues; a client's reply on a ticket nobody is assigned goes to the new-ticket address or the admins, and bounce and closed-ticket notices go to the assigned agent or the admins instead of every agent; an email with no From is from nobody rather than itflow-guest@example.com; a forged email no longer clears Email bounced; an address that is a contact at two clients goes to the one whose domain it is or where they last raised a ticket, with a note; an agent's emailed reply that went to the client is their public reply and the first response; 26.12.3 changelog 2026-11-30 18:22:59 -05:00
johnnyq
039c1b11da Mail review stage 4: a failed email is retried only while its last try is within a day, so emails given up on under the old four tries stay Failed instead of being sent again and Failed shows their own count of tries; only a recipient address that doesn't exist is turned away for good and marks its contact Email bounced - relay refusals, full mailboxes and other policy refusals are tried again and two in a row stop the run with a notice to admins; a dismissed notice counts toward the hour; password links and invites go first; 26.12.3 changelog 2026-11-30 17:32:30 -05:00
johnnyq
17d2611b60 Mail review stage 3: email-to-ticket reads the receiving server's Authentication-Results and treats an email failing DMARC for a domain that asks for reject or quarantine, or SPF with nothing else passing, as from a stranger - a reply is an internal note that reopens nothing, a new email still makes a ticket with a note but copies nobody in and gets no answer, and it never makes a contact; someone who isn't a contact is answered without their own subject; 26.12.3 changelog 2026-11-30 16:50:51 -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
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
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
024220e94d Fix the blank page on a client page opened without a client in the address, such as an old bookmark to the client overview: it now says That client isn't here in the normal agent layout with a way back to Clients, as it also does for a deleted client instead of the bare Nothing to see here page; remove the old Access Modules page, already hidden from the Admin menu, and its commented-out menu entry; the white-labelling turned off notice now links to Settings, Modules; 26.12.3 changelog entries 2026-11-29 23:03:52 -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
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
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
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
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
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
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
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
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
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
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
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
45f9f81c2c Email replies to tickets: keep what a client writes below the reply line - after the quote their mail program puts it in, or the unquoted lines of a plain text reply - as well as anything above it, and when their words can't be told from the quote keep the whole email with a note rather than nothing; new emailReplyText and emailReplyHasText helpers replace the cuts in the email parser, and changelog entries 2026-11-18 19:01:08 -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
d69015e2c7 Recurring tickets and events can repeat on a weekday, such as the third Wednesday or the last Friday, instead of the same date: monthly, quarterly, twice-yearly and yearly recurring tickets and monthly and yearly events get Repeats on once a date is picked, moving the next run or an event's start keeps the same kind of weekday, the recurring tickets list, events and invitations say which, and subscribed calendars get it as an RRULE BYDAY; the API takes repeat_on and event_repeat_by_day; database 3.8.3 adds recurring_tickets.recurring_ticket_by_day and calendar_events.event_repeat_by_day; 26.11.9 changelog entries 2026-11-17 20:51:53 -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
71dab1cca7 Development mode for a test copy, set on Admin Backup and kept in config.php: every email goes to the test inbox with its recipient in the subject or is cancelled without one, texts wait, the ticket mailbox is not read, AI Triage, Stripe, autopay, RMM device actions, log forwarding, managed check-ins and telemetry are off, and a DEVELOPMENT badge shows in the top bar; 26.11.9 changelog entries 2026-11-17 19:22:10 -05:00
johnnyq
22f9315c81 Maintenance Cron: admins see a heartbeat in the top bar when cron is not running, is switched off, or a job failed, is stuck or has fallen behind; the new Cron Watch job emails the admins or set addresses when a problem starts, once a day while it lasts and when it is fixed; health.php answers OK or 503 for an uptime monitor given its key in the address or an X-Health-Key header; the Alerts card sets the emails, sends a test and makes a new key; database 3.7.9 adds the cron alert settings; 26.11.9 changelog entries 2026-11-17 18:43:26 -05:00
johnnyq
de9544ffc6 Recurring tickets book each ticket for its run day at a set time, remote or onsite, and can be raised a number of days ahead of the run or of the 1st of its month; recurring invoices can be made a number of days ahead, due on their date plus the client's terms or on their date; database 3.7.7 adds the columns; 26.11.9 changelog entries 2026-11-17 17:56:00 -05:00
johnnyq
707fdaedd4 Robustness: lists take page 1 at least and an open end date, portal sessions go to the portal from the main address, custom page forms no longer load a missing post/ai.php, cron jobs that stop with an error code show as Failed with the parser saying what the mail server answered, the mail queue keeps a refreshed OAuth token for the rest of the run, the update check keeps the newest 100 commits and counts them all, restore_cli works on a database with no settings yet, the API reads a non-JSON body as no fields and clamps limit and offset, API client delete removes the client's uploads, contact anonymizing redacts stored values longest first, the asset transfer log names the asset, the client duplicate check escapes wildcards, and Access Modules drops its dead buttons and sorts only on its own columns; 26.11.9 changelog entries 2026-11-17 16:15:23 -05:00
johnnyq
44c7155078 Payments: Charge Saved Card takes a per-window token used as the Stripe idempotency key and holds a per-invoice lock while it re-reads and charges the balance, so a double click or two agents make one charge; Add Payment and Batch Payment work the balance out on save in whole cents, refuse 0 or less, and Add Payment only takes sent invoices with something owed; autopay charges what is still owed on Partial invoices, re-read before the charge; the invoice link payment page allows balances under 1.00, follows the card limit and refuses non-billable invoices, answers errors as JSON and shows them, with a working spinner; guest receipts and quote notices go out with OAuth mail; Make Recurring keeps the discount; statuses set by updateInvoiceStatusFromPayments; 26.11.9 changelog entries 2026-11-17 16:14:53 -05:00
johnnyq
58cbce83cc Tickets: every way out of Resolved into a working status (ticket reply, bulk reply, portal comment, API reply) clears the resolved time and restarts the resolution SLA; an emailed client reply on an open ticket keeps its SLA alerts; portal Resolve needs an unresolved ticket with its tasks done and Close needs a resolved one; API replies refuse closed tickets, New, Closed or unknown statuses and resolving with open tasks, and sync the SLA clock on a status change; API ticket update re-applies the SLA on a priority change; merging with replies moved takes their attachments and files along; 26.11.9 changelog entries 2026-11-17 16:14:18 -05:00
johnnyq
2ba1074e0e Security and access fixes from MountaineerIT's build: security headers in .htaccess and script-free uploads, with restores writing the same uploads guard (no php_flag 500 on PHP-FPM); portal sessions end when the portal is off or the client or contact is archived, and Microsoft sign-in checks the same; saved-card setup takes only the checkout session this sign-in started for the client's own customer; portal uploads take their type from the file; bulk email to clients and contacts needs Modify; bulk archive leaves a primary contact's login; MFA can't be set up again over one that is on, and 000000 is a valid code; tasks waiting for approval stay open; the email parser keeps strangers' mail as an internal note without reopening or attachments, files agents' mail as their internal note, sends no closed-ticket reply to bounces, and cuts long subjects and attachment names; 26.11.9 changelog entries 2026-11-17 16:13:36 -05:00
johnnyq
6e313f0c7d Ticket Schedule Cancelled emails send on Microsoft 365: sendQueueEmail puts a calendar file in its own text/calendar part only for a meeting with an organizer and attendees and attaches the rest as invite.ics, so a ticket's cancellation goes attached like its booking instead of as a meeting Exchange refuses; a failed send keeps the SMTP server's reply in email_error; 26.11.9 changelog entries 2026-11-16 22:31:59 -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
9f8676fe48 Quieter App Logs from cron: the email parser no longer logs a run summary every minute mail comes in or is left in the inbox, and echoes its counts and time instead; with no IMAP or SMTP provider set up the email parser and mail queue stop with a reason Maintenance Cron shows instead of an App Logs entry every minute; the mail queue, ticket SLA monitor, domain refresher and certificate refresher stop without an App Logs error while cron is switched off, as the email parser already did; 26.11.9 changelog entries 2026-11-16 17:38:51 -05:00
johnnyq
c76882f3d2 Add RMM alerts opening tickets: a provider's Edit picks which alerts open tickets (errors, errors and warnings, or every alert) and their ticket category, and the new RMM Alerts cron job looks every minute - a new alert on a device of a linked client opens a ticket on its client and asset with priority by severity, the same alert again goes on its open ticket and reopens it if resolved, and a cleared alert notes and resolves its ticket unless someone has written on it, it was moved to another status or another of its alerts is still open; the first look after turning alerts on, or the provider back on, takes open alerts as known, as does an alert raised before its device came into ITFlow; Tactical alerts read from PATCH /alerts/ and GET /alerts/id/ with no setup in Tactical; open alerts and their tickets on the asset's RMM card, an Alerts column on the providers list, the RMM ticket source on the ticket page and list, and the new-ticket address email; database 3.6.8 adds the alert columns to rmm_providers and the rmm_alerts table; 26.11.9 changelog entries 2026-11-13 18:33:38 -05:00
johnnyq
3fb0a3e2e0 Add RMM Providers under Admin > Integrations to bring devices in from an RMM as assets, with Tactical RMM as the first kind: a providers list (search, sort, add, edit, test, sync now, turn off and on, delete), a Clients page per provider to link its clients to ITFlow clients with same-name suggestions, devices matched to existing assets by serial or unique name or made as new ones, each asset field following the RMM until it is edited in ITFlow, removed devices marked and returned ones picked up, deleted assets left out until Bring back, a card per RMM device on the asset page with online state, last seen, signed-in user, reboot, patches and failing checks, Take Control and dashboard links, the state on the quick look, a status dot and RMM filter on the assets list, and the RMM Sync cron job every 15 minutes across every provider that is on; shared engine in functions/rmm.php and the Tactical adapter in functions/rmm_tactical.php so another RMM is one file and one registry line; database 3.6.7 adds rmm_providers, rmm_clients and rmm_devices; demo mode locks the new pages and handlers; 26.11.9 changelog entries 2026-11-13 18:13:58 -05:00
johnnyq
980f394ee2 Send mail again on installs first set up with Microsoft 365 or Google OAuth on 26.11: cast the SMTP host to a string at both sendQueueEmail call sites, since it is NULL until a host is saved and the typed argument threw a TypeError that ended the mail queue run before anything was sent; catch any Throwable around each send so one failing email is marked failed and the rest still go out, where only PHPMailer's own Exception was caught and an Error left the email as Sending; add the changelog entries. Fix reported by toto707 on the forum 2026-11-10 16:25:07 -05:00
johnnyq
2a36534583 Add demo mode for a public demo like demo.itflow.org - $config_demo_mode = true; in config.php puts one-click sign-in buttons for Admin, Technician, Accountant and a client portal contact on the sign-in page and a demo notice on every page, and the new Demo Reset cron job rebuilds the demo nightly at 2:00 AM from db.sql with all starter content, the demo clients and the demo accounts, empties uploads except the logo and signs everyone out, keeping the company details, timezone and cron schedules; visitors can try everything except users and roles, their own sign-in details, mail, payment, AI and texting settings, API keys, backups, updates, cron, log forwarding, company, module and portal settings, custom links, starter content and share links, Debug is closed, guest links open only for someone signed in, queued email is cancelled with the reason, no sign-in alert emails are sent, certificate checks reach only public addresses on port 443, and the domain and certificate refreshers are left out; new functions/demo.php and cron/demo_reset.php, no database change, changelog, CONTRIBUTING and README updated 2026-11-06 17:46:40 -05:00