diff --git a/CHANGELOG.md b/CHANGELOG.md index 44442411e..d7c8f52f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ Update from Maintenance > Update as usual. This release has four database change - The warranty lookup button shows beside **Warranty expires** on the asset form straight after the update, as Lenovo needs no key and is switched on. It only asks Lenovo when someone clicks it. Switch Lenovo off in Admin > Warranty Lookup if you'd rather ITFlow didn't ask Lenovo's support site at all. - Roles have a new **Vendors** permission, for your own vendors. The update gives each role what it had - **Read**, or its **Financial** level where that is higher - so nobody gains or loses anything until you change it in Admin > Roles. - A `.md` file uploaded to a client's Files now becomes a document you can edit. To upload one as a file, as before, turn on **Keep them as files** in the Upload window. **Import Markdown Files** has gone from the Upload menu - Upload does it. +- If CrowdSec blocked new tickets and you switched its rule 932260 off for ITFlow, switch it back on once you've updated: the fields it took for a Linux command have new names. Bookmarks to the tickets list's **Scheduled** tab, and scripts that post ITFlow's forms with the old names, keep working. ### New Features & Updates @@ -40,6 +41,7 @@ Update from Maintenance > Update as usual. This release has four database change - Email and phone links work in Knowledge Base articles and documents - a `mailto:` or `tel:` link showed as plain text on the published article, in the client portal and on the document, while the editor still had it. Those in an article or document written in Markdown were taken out when it was saved; the database update puts them back in the ones already saved, so they don't need saving again. Email and phone links in ticket replies, such as those in an email signature, work too. - Opening one of your own vendors from a client's license or service works - it said there was nothing to see. - A ticket's other assets show on it when its main asset was taken off - they were still on the ticket but not listed. +- A ticket's page opened without a ticket - from a link cut short, say - says there's nothing to see, as for a ticket that isn't there, instead of an empty page. - Behind CrowdSec's web application firewall, creating a ticket or a recurring ticket got you blocked, and soon banned, whatever you wrote in it. CrowdSec took the names of the fields that book the work - when, for how long, remote or onsite - for a Linux command, as they began with "sched", and so blocked the post. The same stopped the ticket's Schedule window, adding an agent to help at their own time, the **Scheduled** tab of the tickets list, sorting Maintenance > Cron by **Schedule** and saving a cron job. Those fields have new names, so nothing needs excluding in CrowdSec: any exclusion you added for this can come out. Stripe's return to ITFlow after a client saves a card or sets up autopay is renamed too, as the same firewall can take it for an attack when the browser doesn't say where it came from. ### Developer Updates diff --git a/agent/ticket.php b/agent/ticket.php index 7408d9f34..c1aec047a 100644 --- a/agent/ticket.php +++ b/agent/ticket.php @@ -26,6 +26,13 @@ $purifier_config->set('URI.AllowedSchemes', purifierUriSchemes()); $purifier_config->set('Attr.ForbiddenClasses', ['ajax-modal']); $purifier = new HTMLPurifier($purifier_config); +// No ticket asked for: as for one that isn't there - the page's scripts below need a ticket +if (!isset($_GET['ticket_id'])) { + echo "