diff --git a/CHANGELOG.md b/CHANGELOG.md index dd8c78af8..14bd5ba62 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,11 +2,11 @@ This file documents all notable changes made to ITFlow. -## [26.11.9] +## [26.12] -### Upgrading +### Upgrading to 26.12 -Update from Maintenance > Update — Queue Update hands the job to cron, which updates the files and applies this release's thirty-two database changes (3.6.6 to 3.9.8) in the same pass. They add four tables for RMM providers and their alerts, a setting for device actions and one for API keys in the address, a column marking the emails the mail queue clears once sent, a column and a table for agent banners, two columns for ticket statuses with a setting for the "ticket assigned" message, a column on tickets with a setting for the "no response" message, a table for who a ticket's email replies go to, the settings for Quick tickets, columns on recurring tickets and recurring invoices for booking and making them ahead, two columns on ticket replies for when their time was worked, the settings for cron alerts, a table and a setting for labor costs, a column on users for API / service accounts, columns on tickets and recurring tickets for how long booked work takes, a column each on recurring tickets and calendar events for repeating on a weekday, three columns on agents' settings for their calendar color, what their calendar shows and their own time zone, and a table for the agents helping on a ticket, three columns on quote lines with three settings for what a quote line costs and how it is priced, a column each on quote lines and products with a setting for their pictures, two settings and a column on tickets for keeping project tickets apart, a table for your other offices with a column each on agents and invites for which one they work from, three settings for the emails and notices your agents get about their tickets, three settings for sending and reading Microsoft 365 mail through Microsoft Graph, five tables, four settings and a role permission for purchase orders, five settings for switching Dispatch, Bookkeeping, Purchasing, Trips and the calendar on and off, and eight tables, three columns and two settings for the Knowledge Base, who can read its articles, what its readers think of them and their files, a column on documents for how often each is reviewed, and change nothing that is there. Nothing else is required. Purchasing starts off - switch it on in Admin > Settings > Modules - and so does the Knowledge Base's public help center, in Admin > Settings > Knowledge Base. This release has thirteen security fixes - see Security. On Apache, ITFlow's own .htaccess now sends security headers: if you show ITFlow inside a frame on another website, it will now refuse to load there. On nginx, add the same headers to your server block if you want them - see Developer Updates. +Update from Maintenance > Update — Queue Update hands the job to cron, which updates the files and applies this release's thirty-two database changes (3.6.6 to 3.9.8) in the same pass. They add four tables for RMM providers and their alerts, a setting for device actions and one for API keys in the address, a column marking the emails the mail queue clears once sent, a column and a table for agent banners, two columns for ticket statuses with a setting for the "ticket assigned" message, a column on tickets with a setting for the "no response" message, a table for who a ticket's email replies go to, the settings for Quick tickets, columns on recurring tickets and recurring invoices for booking and making them ahead, two columns on ticket replies for when their time was worked, the settings for cron alerts, a table and a setting for labor costs, a column on users for API / service accounts, columns on tickets and recurring tickets for how long booked work takes, a column each on recurring tickets and calendar events for repeating on a weekday, three columns on agents' settings for their calendar color, what their calendar shows and their own time zone, a table for the agents helping on a ticket, three columns on quote lines with three settings for what a quote line costs and how it is priced, a column each on quote lines and products with a setting for their pictures, two settings and a column on tickets for keeping project tickets apart, a table for your other offices with a column each on agents and invites for which one they work from, three settings for the emails and notices your agents get about their tickets, three settings for sending and reading Microsoft 365 mail through Microsoft Graph, five tables, four settings and a role permission for purchase orders, five settings for switching Dispatch, Bookkeeping, Purchasing, Trips and the calendar on and off, and eight tables, three columns and two settings for the Knowledge Base, who can read its articles, what its readers think of them and their files, a column on documents for how often each is reviewed, and change nothing that is there. Nothing else is required, but it is a big release, so take a backup before you update. Purchasing starts off - switch it on in Admin > Settings > Modules - and so does the Knowledge Base's public help center, in Admin > Settings > Knowledge Base. This release has thirteen security fixes - see Security. On Apache, ITFlow's own .htaccess now sends security headers: if you show ITFlow inside a frame on another website, it will now refuse to load there. On nginx, add the same headers to your server block if you want them - see Developer Updates. ### Security @@ -14,7 +14,7 @@ Update from Maintenance > Update — Queue Update hands the job to cron, which u - Credentials: a login saved with a piece of web page code as its username or password could run that code in the browser of an agent who followed a link made for the purpose. The address ITFlow's own pages use to fetch a login's username and password answered as a web page, so a browser sent straight to it drew what the login held instead of showing it as text - and the code then acted as that agent. It took someone able to get such a login saved - an agent who can edit credentials, or a person sent an Ask for a login link, once an agent had saved what they sent back - and then an agent with access to that login opening the link while signed in. The pages that list and show logins were never affected. That answer now says it is data, which no browser draws as a page, and so do sixteen like it that carried only text ITFlow had already made safe. Releases from 26.10 to 26.11.8 are affected, and there is nothing to do after updating. - Invites: with a login key required, the page behind an agent's invite link went on showing the sign-in address with the key in it after the invite had been cancelled or had run out. Someone whose invite was withdrawn could still read the key from their old link. The key signs no one in by itself - it only opens the agents' sign-in page, which still asks for an email and password. A cancelled or run-out link now leads to the plain sign-in page. Releases from 26.11 to 26.11.8 are affected. If you cancelled an invite because the person should never have had it, change the login key in Admin > Settings > Security. - Client access: an agent limited to some clients could read a few names belonging to the others, by putting a record's number in a page's address - a project's name on the tickets list, a site's name, a ticket's subject and an invoice's number on Trips and its export window, a vendor's name in the domains export window, and a client's name on Update Prices and in the message when an AI request was turned away. Nothing else of those records showed, and nothing could be changed. These names now show only for clients the agent can open. Releases from 26.09 to 26.11.8 are affected. -- Tickets: a ticket moved to another client kept its link, so the old client's contact could go on opening it from an email they had - its details, its status and the new client's replies from then on - and a task approval emailed to them still opened, with the ticket's details. Moving a ticket now gives it a new link, and its tasks' approvals new ones, so those the old client was sent stop working; the new client gets the new link with the next email. The Change Client window says so. Every release before 26.11.9 is affected, and there is nothing to do after updating. +- Tickets: a ticket moved to another client kept its link, so the old client's contact could go on opening it from an email they had - its details, its status and the new client's replies from then on - and a task approval emailed to them still opened, with the ticket's details. Moving a ticket now gives it a new link, and its tasks' approvals new ones, so those the old client was sent stop working; the new client gets the new link with the next email. The Change Client window says so. Every release before 26.12 is affected, and there is nothing to do after updating. - Tickets: a link in an email or a client portal reply could be written so that an agent who clicked it on the ticket opened a page from another website inside ITFlow, where it ran as that agent - able to do anything they could, such as reading the logins they have access to. It took someone sending such a message and an agent clicking its link. Links in tickets, and in documents, now open as ordinary links, and ITFlow's windows only ever load ITFlow's own pages. On an ITFlow without HTTPS, the key that unlocks a signed-in agent's saved logins is also kept out of reach of the page, as it already was with HTTPS. Releases from 25.12 to 26.11.8 are affected, and there is nothing to do after updating. Found by Mountaineer IT. @@ -309,6 +309,7 @@ Update from Maintenance > Update — Queue Update hands the job to cron, which u - Libraries removed, about 390 KB, and about 200 KB less script and stylesheet loaded on every agent page: DataTables (no table has used `.dataTables` for a while - `itflowStep('datatables')` in `js/app.js`, `js/portal_datatables.js` and the portal's never-set `$portal_load_datatables` went with it, and CONTRIBUTING no longer says lists use it); zapcal (unused since ticket visit files stopped using it); clipboard.js (only `agent/user/mfa_enforcement.php` still loaded it - it now carries a cut-down copy of `js/app.js`'s copy code, the clipboard API with the selected-textarea fallback); `libs/barcode`, as QR codes now come from new `qrCodeSvg($text, $attributes)` in `functions/format.php`, drawn from TCPDF's own `tcpdf_barcodes_2d.php` as one `` in a viewBox with a four-module quiet zone, and `userMfaQrSvg()`, `portalMfaQrSvg()` and `shareQrSvg()` use it and lose their `extension_loaded('gd')` checks; and IMask, replaced by new `itflowInputMask()` in `js/app.js` on the same `data-mask` / `data-inputmask` markup, which also leaves alone a MAC field that opens holding anything but hex digits and separators. - `libs/tinymce` trimmed to what ITFlow loads, 5.3 MB to 2.6 MB: the 10 plugins in `js/app.js` and `js/portal.js` (autolink, autoresize, autosave, code, codesample, fullscreen, image, link, lists, table), the `oxide` and `oxide-dark` skins and the `default` and `dark` content styles. The 19 other plugins are gone - `media`, where TinyMCE's GHSA-mf2p-h6hf-fcwm was, among them - with the `tinymce-5` skins and the `document`, `writer` and `tinymce-5` content styles. `libs/fontawesome-free/webfonts` keeps only its `.woff2` and `.woff` fonts, 2.8 MB to 0.4 MB, as browsers take the first format they can read and every one ITFlow supports reads `.woff2`; the `.eot`, `.svg` and `.ttf` copies were for Internet Explorer and very old Safari. CONTRIBUTING's `libs/` row now says an update replaces only the files already there. - Stripe customers Stripe no longer has: new `billingStripeCustomerGone($e)` in `functions/billing_pay.php` - an `InvalidRequestException` with code `resource_missing` on the `customer` parameter ("No such customer: 'cus_...'") - and `billingStripeCustomerForget($client_id, $customer_id)`, which deletes the `client_payment_provider` row only while it still holds that customer, removes the client's saved cards through `paymentCardRemove()` (so the autopay on them goes with each recurring invoice's history saying why), and logs, audits and `appNotify()`s it. Used where the stored customer goes to Stripe: `billingStripeCheckoutIntent()` and the guest pay page's PaymentIntent (`guest/guest_ajax.php`) retry once without a customer; `billingStripeChargeSaved()` returns a message for the client; the portal's `create_stripe_checkout` answers `{reload: true}` with a flash, and `js/portal_stripe.js` reloads into the Add a card step; `stripe_save_card`, Charge Saved Card (`agent/post/payment.php`) and the nightly autopay (`cron/nightly_tasks.php`) record what happened. Any other Stripe error is handled as before. `js/autopay_setup_stripe.js` is gone - nothing has loaded it since `js/portal_stripe.js` took over the portal's card form, and it was the version that never checked the server's answer. +- `Clients-Template.csv` is gone from the top folder - nothing linked to it, and the Import window gives each kind's template. ## [26.11.8] diff --git a/includes/app_version.php b/includes/app_version.php index 906279bfc..74c7436eb 100644 --- a/includes/app_version.php +++ b/includes/app_version.php @@ -5,4 +5,4 @@ * Update this file each time we merge develop into master. Format is YY.MM (add a .v if there is more than one release a month. */ -DEFINE("APP_VERSION", "26.11.8"); +DEFINE("APP_VERSION", "26.12");