Commit Graph

343 Commits

Author SHA1 Message Date
johnnyq
79078d1c5c QoL 56: formatBytes as the one file size formatter with one decimal and a unit at 1024, backupFormatBytes calling it, and the portal and setup scripts writing sizes the same way 2026-11-21 01:18:24 -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
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
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
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
93baf11544 Put the cursor in the first code box when the Turn on MFA window opens or reopens after a wrong code, and on the portal two-step setup opened at its section, without scrolling the QR code away 2026-11-20 19:10:30 -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
a8c25f1faa Show desktop notifications in the bell panel as a switch that says whether they are on, off or blocked in this browser, skip the permission prompt when the browser already allows them, and keep the switch in step across tabs 2026-11-20 18:43:29 -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
478c8edcc8 Tabs on record pages, quick looks, forms, the admin category and tag kinds on a phone and the mail settings fold into More like the list views instead of wrapping onto several lines or scrolling sideways, with More styled as one of the tabs and the open tab and form validation still working 2026-11-20 17:32:26 -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
491f2c4d42 Tags in the row menu of every list - assets, clients, contacts, credentials, domains, documents, locations, networks, services, licenses, vendors, tickets, the tickets board, the Files grid and the Knowledge Base - opens the tag picker from the row menu button, the row tag line appears as tags are ticked and hides again while a row has none, cards keep their tags without the plus, the picker lines up with a menu button at the end of a row, and the ticket reply draft waits for the editor to be ready before reading it 2026-11-20 15:48:55 -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
3d2bfbcad5 Leaving a page: a ticket's reply no longer asks Leave page first, as it is kept as a draft, and invoice, quote and recurring invoice notes save on the way out instead of asking; the document editor, signature and settings pages still ask 2026-11-19 23:26:02 -05:00
johnnyq
c105d8f5e5 Lists: clients, tickets and projects drop the chips under their filters for the x at the end of the search box, as on every other list, and a set date range tints its box; the open tickets count shows in the tab title on the tickets list only 2026-11-19 22:36:57 -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
4c3370ae02 Pickers and Archived: long client, contact, vendor, category, location, asset, technician, project, account and product pickers list your last five picks first under Recent, and Tools - Archived lists everything archived lately across clients, contacts, locations, vendors, assets, credentials, documents, files, domains, certificates, networks, racks, services, licenses, projects and products, with who archived each, to restore one or several at once 2026-11-19 21:04:19 -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
a9dcbac8c1 Assets, racks and credentials: Copy details copies an asset's details as text for a vendor case, rack items drag to a new position and unracked assets drag onto the rack, logins sharing a password with another of the client's are flagged, and a changed password is kept encrypted under Earlier passwords to view or put back 2026-11-19 19:07:33 -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
47374710e9 Documents and files: edit a document on its own page, copy a document for this or another client with its pictures, a contents list for long documents and articles, what changed between versions, favorite documents on the client overview, upload a folder with its subfolders, download a folder or ticked items as a zip, and rename from the files list 2026-11-19 18:12:25 -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
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
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
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
85941e56e0 Knowledge Base files, PDF and AI review, document review cadence: files on articles downloaded by whoever can read them in ITFlow, the portal or the public help center, PDF export of an article, Review with AI for articles flagging client details in shared ones with a summary to use, the review window script shared with documents in js/ai_review.js, How often on a document to set its own review cadence or follow its template, database 3.9.8 with kb_article_files and documents.document_review_months, and changelog entries 2026-11-18 18:27:03 -05:00
johnnyq
358b23c91d Knowledge Base stage 3: a Knowledge Base picker beside canned responses on a ticket reply with the articles that might help, a search, how the client could read each and Link or Insert, Write up for the Knowledge Base in the ticket menu with an AI-written draft for any client or one started from the ticket and a ticket history line, Help articles suggested in the client portal as a new ticket subject is typed, kbFind, kbReachFor and related helpers, the ticket_kb_article AI feature, and changelog entries 2026-11-18 17:37:18 -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
ce1dc3a24d Menus: Recurring Expenses becomes a tab on Expenses and Transfers a tab on Transactions, Purchasing becomes one entry under Billing with To Order, Purchase Orders and Receiving as tabs and one badge, and the client menu tucks Calendar, Racks, Certificates, Shared Links, Services and Trips behind More when two or more of them are empty for that client; new pageTabsHtml helper with expenseTabsHtml and poTabsHtml, the client Calendar also counts open tickets booked from today, 26.11.9 changelog entries 2026-11-18 01:41:34 -05:00
johnnyq
70af6a0f0e Purchasing: new To Order, Purchase Orders and Receiving pages under a Purchasing side menu section, with invoicing on and the new Purchasing role permission (module_procurement, Read, Modify, Full); items go on To Order by hand, from a product's Order button or from low-stock products, purchase orders are made from ticked items with their own prefix and next number, edited as drafts, downloaded as a PDF or emailed to the vendor and marked ordered, with optional approval over an amount that notifies the approvers by notice and email, carrier tracking links, receiving into stock or into client assets with serials, undoing a receipt, and recording the vendor bill as an expense linked to the received stock; agents only see purchase orders for clients they can reach, the Full access refusal says what Full allows for Purchasing, new functions/purchase_orders.php and a Purchase orders settings page, database 3.9.3 adds order_items, purchase_orders, po_items, po_receipts and po_tracking with four settings columns, 26.11.9 changelog entries 2026-11-18 00:45:43 -05:00
johnnyq
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
9e1a659f58 Invoices: the invoices list's Bulk Action menu adds Mark Sent, Send by Email, Mark Paid, Cancel and Delete beside Set Category, each done only to the ticked invoices its own button would be offered for, with the window and the message after listing those left alone and why; Mark Paid pays what is owed on each with one receipt per client, under a lock, and is open to agents who can take payments; the ticked ids are kept in the session under a short key so a page of 500 opens; mark_invoice_sent, cancel_invoice and delete_invoice share invoiceMarkSent, invoiceCancel and invoiceDelete in functions/invoice_actions.php; 26.11.9 changelog entries 2026-11-17 22:31:06 -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
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
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
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
7b6356e057 Security and SLA fixes from MountaineerIT's build: links in ticket and document HTML lose the ajax-modal class and ajax_modal.js loads only same-origin addresses, so a link in an email can no longer load another site's page into ITFlow and run it as the agent who clicks it (25.12 to 26.11.8); the vault key cookie is HttpOnly on installs without HTTPS too; applyTicketSla keeps a ticket's SLA alert stages when re-stamping leaves the alert standing, so saving an SLA, the SLA settings or a closure day, or changing a priority, no longer re-sends every breach and warning email; 26.11.9 changelog entries 2026-11-17 16:12:54 -05:00
johnnyq
2109349715 Reports export as a PDF that looks like the page: Export PDF draws the report as usual and reportPdfFinish lays out what it drew with ReportPdfWriter in functions/report_pdf.php - the title bar, the figures, each section with its tables in the page colours, badges and bold, the notes, heat grid, bar lists and the geography map - with the charts drawn again by the browser in light colours and posted as PNG pictures; tables list every row for a PDF, Letter or A4 by country and landscape for wide tables, Client Review offers a PDF once a client is picked, and the per-table PDF is gone from the Export menu; 26.11.9 changelog entries 2026-11-16 21:55:19 -05:00
johnnyq
ad4899a9ae Receipts and the company logo open in the Picture window: an expense's receipt on its form and quick look, the company logo in Admin Settings Company details and the setup wizard, and the setup account step's avatar; pictureField gains a free crop (shapes free, a frame with corner and edge handles), Trim the edges for logos, an accept option with PDF passthrough for receipts, submit to save the quick look's receipt as soon as it is used, tall and logo boxes and pictureFile for a PDF; a PNG stays PNG where WebP is not taken so a logo keeps its transparency; setup.js loses its image preview and checks and the setup preview CSS is gone; 26.11.9 changelog entries 2026-11-16 15:11:45 -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