394 Commits

Author SHA1 Message Date
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
ee80dc0b55 QoL 67: the list footer keeps the record count in the middle, with a spacer balancing the per page picker while the page numbers are on their own row 2026-11-21 02:52:41 -05:00
johnnyq
c094f97eed QoL 63: counts in menus, tabs, list headers and the list footer have a thousands separator, as the dashboard, reports and audit log already did 2026-11-21 02:29:20 -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
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
f61d4143ae QoL 51: browser tab titles take the menu name of each page from reportCatalog, settingsPages and a short list, acronyms in capitals, no double-escaped ampersands, and rack, instance and template pages show the record name 2026-11-21 01:07:46 -05:00
johnnyq
3f70c5e2e4 QoL 49: page and window titles, menu items and buttons in Title Case and field labels, section headings, tabs and help in sentence case across agent, admin and portal, including empty-state action labels, script-built buttons, the portal menu and headings, the settings menu pages and in-app mentions of renamed buttons, with changelog lines 2026-11-21 00:56:05 -05:00
johnnyq
eb79252ca0 QoL 45: intval and floatval in place of int and float casts and a string cast in place of strval, redirect in place of raw Location headers wherever functions.php is loaded, redirect fallback escapes the URL with json_encode and escapeHtml, escapeHtml for the last htmlspecialchars on a page, and the plain-HTTP cookie notice through flashAlert 2026-11-21 00:20:16 -05:00
johnnyq
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
df22c61519 Keep browser autofill and password managers out of agent and admin forms by giving fields an unrecognised autocomplete value, new-password on password fields and the Bitwarden, 1Password, LastPass and Dashlane ignore attributes, leaving the agent's own profile, password change, current password and MFA code fields as they are 2026-11-20 19:17:25 -05:00
johnnyq
9dfa6016ae Enter 6-digit sign-in, MFA setup, portal two-step and share codes in six boxes that accept paste and autofill, turn red on a wrong code and send the form on the sixth digit, with Remember this browser moved above the code on the sign-in page 2026-11-20 19:02:41 -05:00
johnnyq
8ac88a48fd Link opens the standard picker under the button instead of a window - linked records ticked, tick to link and untick to unlink, saved when the picker closes with one message - for every record link, contact and asset credentials, a contact's assets, project and service tickets, a ticket's services and related tickets, with a document's or file's Link grouped by kind and quick looks reloading in place; the old link windows and the handlers only they used are removed 2026-11-20 18:23:48 -05:00
johnnyq
156bc96693 View tabs that do not fit across the screen fold into a More menu at the end of the row on every list instead of running off the edge, keeping the open tab out and showing the count of an alerting tab in it in red or amber, with the counts kept live 2026-11-20 17:10:22 -05:00
johnnyq
651a4d1306 Undo message keeps the close x apart from Undo - the x has its own strip behind a divider line and a larger target, and a click on the message itself no longer closes it, so a click that just misses Undo keeps the offer; other messages still close on any click 2026-11-20 16:28:36 -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
6a5bc6cf55 Undo: the message after archiving, a move or a bulk change has Undo, which puts it back as it was unless it changed since, and archiving no longer asks first except for clients; covers archiving every kind on Archived with contact roles, document links and a client's recurring invoices, file, document, folder and rack moves, and the bulk changes that set a field on tickets, assets, contacts, clients, projects, invoices, products and IP addresses 2026-11-19 23:15:07 -05:00
johnnyq
f5c0011909 Lists and notes: filters that are on take a light wash of the theme color instead of a yellow edge, as does More filters on clients, projects and tickets; the x that clears a search is grey; colored notes on invoices, Add Payment, Offboard, the project timeline and ticket replies use plain text with a colored icon, and a stale draft shows a Not sent for N days line; the clients filter chips are readable in dark mode; the floating column headings are removed 2026-11-19 22:15:46 -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
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
3f00182d78 Lists and windows: a window with unsaved typing asks before a click outside it, Esc, its X or Cancel closes it; long lists keep their column headings at the top of the screen; active filters get a yellow edge with an x in the search box that clears them all; shift-click ticks a run of rows; and Compact rows in Preferences, with database 4.0.0 2026-11-19 17:27:42 -05:00
johnnyq
f1591c19d9 Remove the cron health heartbeat from the top bar: the Cron Watch emails, the health address for an uptime monitor and the warnings on the Cron, Mail Queue and Backup pages stay 2026-11-19 13:48:25 -05:00
johnnyq
7d2f2540e8 Release 26.12: changelog section renamed from 26.11.9 with its upgrade notes, and app version 26.12 2026-11-19 13:39:48 -05:00
johnnyq
c6f1609139 Put SweetAlert2 back for the confirmation dialogs in place of the Bootstrap modal dialog helper, with its tags, stylesheet overrides and callers restored as before, and the changelog now counting five removed libraries 2026-11-19 00:37:39 -05:00
johnnyq
527a1c5dd2 Remove five bundled libraries: drop unused DataTables, zapcal and clipboard.js, make QR codes with TCPDF instead of libs/barcode, and replace IMask with own IP and MAC field code that leaves non-MAC text alone 2026-11-19 00:37:07 -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
5b33490f7c Across clients: All Client Docs moves from the main menu to a top bar menu beside the menu button that opens each list of every client's contacts, locations and documentation directly, grouped like its side menu and marking the open list or record, the side menu header and search shortcut renamed, both honouring the IT documentation module switch, the top bar search narrowing on phones so the avatar stays on the bar, 26.11.9 changelog entries 2026-11-18 15:42:11 -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
5aa7280c9b Quotes: the picture on a quote line and on a product is picked in the Picture window like every other picture in ITFlow - a box with a camera that opens it to drop, paste or choose one, crop it freely to the product or trim its plain edges, or remove it - with the link input kept beside it; quoteImageField uses pictureField with a new product box fitted on white, the Edit Line link opens modal-lg, and the old file preview in js/app.js and the itflow-line-image-box CSS are removed; 26.11.9 changelog entries updated 2026-11-17 23:02:17 -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
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
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
a27c5d684a Tickets: Quick ticket, a + in the top bar, takes the client, contact found by name email or phone, and the issue, lists the contact's open tickets with Work on this one, raises it through add_ticket and opens it with its timer running, with what it starts with set in Admin Settings Tickets; a stopwatch in the top bar lists the ticket timers in this browser to open, pause, resume or throw away; database 3.7.6 adds the Quick tickets settings; 26.11.9 changelog entries 2026-11-17 17:55:25 -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
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
8294a3f8cb Geography report under Clients and Documentation - where clients and their locations are by country, state or province and city, on built-in maps of the world, US states and Canadian provinces from Natural Earth outlines in includes/maps, shaded by clients or locations, with drill-down, incomplete address count, leads switch and CSV exports; reportGeo helpers in functions/reports.php; 26.11.9 changelog entries 2026-11-16 21:15:14 -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
johnnyq
3f8d948fe1 Add billing per managed device: recurring invoice lines can take their quantity from Managed devices, the client's devices an RMM provider has, narrowed by device type and tag like Devices and, with more than one provider, to one of them; devices the RMM no longer has stop counting and lost, stolen or retired ones never count; products can be counted Per managed device in the product window and product import, so they bill that way on any recurring invoice; a line whose provider is deleted keeps its last quantity marked RMM provider gone, and deleting a provider says how many lines bill its devices; tag merges, the line script and the AI catalog text know the new source; no database change; 26.11.9 changelog entries 2026-11-13 18:44:58 -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
0ce8b5a510 Bump ITFlow to 26.11.8 2026-11-13 13:21:22 -05:00
johnnyq
dfb0298245 Rebuild Maintenance > Cron on the Update and Backup pages' pattern: a status card at the top says cron is running, when it last ran, how many jobs are on and which runs next, or instead that cron has never run or has stopped, with the crontab line and a copy button, that it is switched off, with Turn cron on, that a managed instance's jobs are paused by its manager, or that a job failed, by name; the jobs are listed with an icon, what each does, its schedule and next run, its last run and how long it took, and a status of Queued, Running, Completed, Failed, Skipped, Paused, Not run yet or Didn't finish for one still running six hours on, with the reason a run was skipped under the job and a kept error shown until dismissed, marked as having run since once it has; the list sorts in PHP on the standard sort and order by job, schedule, last run or status, starting by schedule, with no pager or search as it is a fixed list of at most fifteen; a job's menu has Run now, Change the schedule, Copy the command to run it and Turn off, which asks first; the page reloads itself every 10 seconds while a job is queued or running and every 15 while cron has not been heard from; the side column has At a glance, the cron line with a copy button and Turn cron off, which asks first; includes/cron_jobs.php gives each job an icon and drops cronJobTimeAgo, which nothing uses now; the schedule window opens with what the job does, uses the select picker and names the time zone; admin/post/cron.php words its messages as the buttons are worded, with the audit log unchanged; js/auto_reload.js holds a reload while a window, menu or confirmation is open, a field has focus or text is selected, which also stops the Backup page reloading away its Change the time window or what is typed into its retention boxes; CONTRIBUTING says to give a new job its icon; no database change and no new CSS; changelog entries added to 26.11.8 2026-11-13 01:51:34 -05:00
johnnyq
755e488d6c Add and change lines on invoices, quotes and recurring invoices on the page itself, without a reload: the row of boxes under the lines is now one field - type a product and Enter takes the one picked out, adding it as a line with its description, price and tax, billed as the product usually is on a quote and counted per user or per device on a recurring invoice, or type anything and pick the Add row for a line of its own - and the new line opens with its quantity ready to type over, Enter moving on to a price it still needs and then back to the field; a line name, description, quantity, price and tax are changed where they sit, by a click or by Tab and Enter, saved on Enter or on leaving, put back by Escape, with the tax picked from the select picker and a counted quantity left to the Edit Line window; a quote line menu gains Billed, one time to yearly; agent/ajax.php gains billing_item_add and billing_item_set with the checks post.php billing_item_save makes, answering JSON, and functions/billing.php gains billingItemSetField, which replaces one value and hands the line to billingItemSave so stock, tax and totals follow as before, saves nothing when the value is the same, and gives the audit log what changed; js/billing_items.js is rewritten to send saves one at a time in order and then fetch the page again, taking from it the lines by id and every element marked data-billing-live - the totals and amount due in includes/billing_paper.php, the header card, tax warning and side column on the three pages - so nothing is drawn twice, a field in use is left alone, and a document no longer open for changes reloads; the paper carries the products as JSON and the tax options, and itflowBillingItems no longer takes products; js/autocomplete.js gains pickFirst and an extra row kept in view under the list, and opens above the field when the list does not fit below; getProductsForAutocomplete encodes with JSON_HEX_TAG and JSON_HEX_AMP; the guest and client portal pages are unchanged; add a 26.11.8 changelog section 2026-11-12 16:14:30 -05:00
johnnyq
351a3f9b9c update itflow version and changelog 2026-11-11 21:47:01 -05:00
johnnyq
5ba8ffc0cf Speed up the dashboard and the menu counts on installs with years of history: database 3.6.4 adds seven indexes, each only where it is missing and also in db.sql for new installs - tickets on ticket_resolved_at, ticket_closed_at and ticket_created_at, a five-column one led by ticket_billable that answers the unbilled count from the index alone, ticket_replies on ticket_reply_by with ticket_reply_created_at, invoices on invoice_status and expenses on expense_date - so open tickets, unpaid invoices, an agent time this week and unbilled tickets are found directly, where each was a read of the whole table, a dozen times over tickets on the dashboard and twice in the menu on every page; dashboardPeriodOptions finds the years with data with one index step a year per table in place of a UNION of YEAR over every row of five tables, and dashboardLatestIncome joins from payments with STRAIGHT_JOIN so the last five are read off payment_date, where every payment was sorted; measured on 280,000 tickets, 380,000 replies and 70,000 invoices the dashboard went from 5.1s to 0.7s and other pages lost about half a second, with every figure unchanged; also fix lists past 10,000 pages, where includes/filter_footer.php left the pager step unset and a division by zero ended the page at its page numbers; add a 26.11.7 changelog section 2026-11-11 14:13:11 -05:00