diff --git a/CHANGELOG.md b/CHANGELOG.md index d36c3cd76..8481859bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -138,7 +138,7 @@ Update from Maintenance > Update — Queue Update hands the job to cron, which u - Documents: how often a document is reviewed can be set on the document itself, from How often beside its review - every 3 months to every 2 years, never, or as its template says. A document with no template can be reviewed on a schedule too; it shows Review due on Files, its client's overview and the reports like any other. Changing it doesn't count as reviewing it. - Files: drag a file or document onto a folder on the left to move it there - tick several first and drag one of them to move them all. A folder drags onto another to go inside it, with everything in it, or onto Top level to come out. Holding over a closed folder opens it, and the folders in the path above the list take a drop too. Files from your computer dropped on a folder on the left upload into it. Each move goes in the audit log. - Windows ask before closing when something typed in them hasn't been saved. A click outside the window, Escape, its X and Cancel all ask first; saving doesn't. -- A list's filters that are on now stand out, tinted in your theme color, and an x at the end of the search box clears the search and every filter at once. More filters on clients, projects and tickets takes the same tint while one tucked under it is on, where it turned yellow. +- A list's filters that are on now stand out, tinted in your theme color, and an x at the end of the search box clears the search and every filter at once - on clients, tickets and projects too, in place of the chips that listed each filter under them. More filters on those three takes the same tint while one tucked under it is on, where it turned yellow. - Shift-click a list's tick boxes to tick, or untick, every row between two clicks. - Compact rows: Your account > Preferences can show lists with tighter rows, so more fit on screen. - Tickets: what you type in a ticket's reply box is kept as you write. Leave the page, close the browser or get signed out, and it's back next time with a note saying so - pick how to send it to carry on, or discard it. @@ -153,7 +153,7 @@ Update from Maintenance > Update — Queue Update hands the job to cron, which u - Tickets: the tickets list keeps itself up to date. Once a minute, a ticket that changed - a reply, a new status, someone else picking it up - is updated where it is on the list, and a bar above the list says when tickets have come into the view or left it, with Show to load the list again. A ticket you've ticked waits for Show. - Tickets: a ticket the client has written on since you last opened it is in bold on the tickets list - a reply from them, or a ticket they raised by email, in the portal or by text. Opening the ticket or its quick look takes the bold away, and so does Bulk Action > Mark as read. Each agent has their own; tickets from before the update count as read. - Tickets: rest the pointer on a ticket's Activity on the tickets list to see its last reply - who, when and what it said. -- The browser tab shows how many open tickets are assigned to you, such as "(3) Real MSP - Tickets", on every page - kept up to date in the background, so you see it from another tab. +- The tickets list's browser tab shows how many open tickets are assigned to you, such as "(3) Real MSP - Tickets" - kept up to date in the background, so you see it from another tab. - Desktop notifications: Turn on desktop notifications, at the bottom of the bell's panel, and a ticket assigned to you or a client's reply on one of yours shows as a notification on your computer while you're away from ITFlow. Each browser has its own switch, and asks your permission first. - Documents: Edit opens a document on a page of its own, with the editor filling the window and its toolbar always in view - long documents no longer squeeze into a window over the page. - Documents: Copy, in a document's menu, copies it for the same client or another - content, summary, tags and pictures, out of the client portal and linked to nothing. @@ -203,7 +203,6 @@ Update from Maintenance > Update — Queue Update hands the job to cron, which u ### Bug Fixes -- Clients: the filter chips under the filters were dark text on a dark background in dark mode. - Email replies to tickets: a client who typed below the "Please type your reply above this line" line - or whose mail program puts replies under the email it quotes, as Thunderbird and Apple Mail can, and plain text replies do - lost everything they wrote, and the ticket got an empty reply. What they wrote below the quote is now kept, as well as anything above the line. When nothing was written above the line and their words can't be told from the quote, the whole email goes on the ticket with a note saying so, rather than nothing. - Invoices: Copy Invoice and Make Recurring copied the Card Fee line of an invoice paid by card, so the copy or every invoice the recurring one made charged the fee before anyone paid - and a client who paid the copy by card was charged a second fee on top. The card fee ITFlow added is now left off, the total without it, and the Copy Invoice and Make Recurring windows say so. A line you typed yourself with that name is still copied. Releases from 26.11.4 to 26.11.8 are affected. - Quotes: Copy Quote dropped each line's link to the product it came from, so the copy's Margin left those lines out. The copy now keeps it. Found by Mountaineer IT. @@ -365,7 +364,7 @@ Update from Maintenance > Update — Queue Update hands the job to cron, which u - `Clients-Template.csv` is gone from the top folder - nothing linked to it, and the Import window gives each kind's template. - Files: `agent/js/files.js` drags list rows and grid cards (`[data-files-item]`, with `data-id` and `data-folder-id`) and tree folders (`[data-folder-drag]`) onto `[data-folder-drop]` - the tree's rows and the path's crumbs, only for agents with Modify on Support. Files and documents post `bulk_move_files`, which now leaves an item already in the folder alone rather than logging a move. A folder posts the new `move_folder` (`agent/post/folder.php`) with `folder_id` and `parent_folder`, refused for a folder that isn't the client's or one inside the folder moved; the same parent is a no-op. Files from the computer dropped on a tree folder open Upload with that folder (`[data-files-upload]`). - Windows: `js/app.js` asks before a `.modal` closes with unsaved typing, but only when the close came from the person - a mousedown on the shade, Escape or a `[data-bs-dismiss="modal"]` click in the last 1.5 seconds - so a script's `hide()` after a save never asks. Typing counts in text fields and textareas of `method="post"` forms whose value differs from when they were first focused (not hidden, checkbox, radio, search, file, readonly, `[data-no-guard]` or picker fields), and in TinyMCE editors by `isDirty()`. The question is SweetAlert2 with `target` set to the window, so Bootstrap's focus trap leaves it alone; Discard sets `data-itflow-discard` and hides again. -- Lists: `js/list_filters.js` (every page) reads which filters are applied from the address - the GET form in a card header, its selects, text and search fields, and hidden fields inside its `.collapse` - and gives their fields `.itflow-filter-on`. The x it adds to the search's input group links to the same address without them and `page`. Hidden fields outside the collapse, `show_column`, `view`, `show`, `sort` and `order` are kept. Lists with their own "Clear all" get no x. `.btn.itflow-filter-on` marks the More filters button on `agent/clients.php`, `projects.php` and `tickets.php` in place of `btn-warning`; both take a `color-mix()` of `--itflow-accent`. +- Lists: `js/list_filters.js` (every page) reads which filters are applied from the address - the GET form in a card header, its selects, text and search fields, and hidden fields inside its `.collapse` - and gives their fields `.itflow-filter-on`. The x it adds to the search's input group links to the same address without them and `page`. Hidden fields outside the collapse, `show_column`, `view`, `show`, `sort` and `order` are kept. The date range's box (`#dateFilter`) is marked when `canned_date` or `dtf` is. `.btn.itflow-filter-on` marks the More filters button on `agent/clients.php`, `projects.php` and `tickets.php` in place of `btn-warning`; both take a `color-mix()` of `--itflow-accent`. The chips under the filters on `agent/clients.php`, `tickets.php` and `projects.php` are gone, with `$active_filters` - the tickets list's and board's empty state reads `$filter_sql`. - Lists: `js/bulk_actions.js` ticks a shift-clicked range of `.bulk-select` boxes within one form, firing `change` on each box it changes. - Database 4.0.0 adds `user_settings.user_config_compact_rows` (`compactRowsReady()` in `functions/user.php`), which puts `itflow-compact` on `
`. - Tickets: database 4.0.1 adds `ticket_reply_drafts` (ticket, agent, body, updated), kept by `functions/ticket_reply_draft.php` (`ticketReplyDraftsReady()`, `ticketReplyDraft()`, `ticketReplyDraftSave()` - purified, and dropped when it has no words or picture - and `ticketReplyDraftDelete()`). `agent/js/ticket_reply_extras.js` posts `ticket_reply_draft` to `agent/ajax.php` 1.5 seconds after typing stops and by `sendBeacon` on `pagehide`, then marks the editor clean so leaving doesn't warn. `add_ticket_reply` drops the draft; the nightly tasks drop drafts untouched for 30 days or on closed tickets. @@ -375,7 +374,7 @@ Update from Maintenance > Update — Queue Update hands the job to cron, which u - `js/pretty_content.js` marks a `.prettyContent` picture shown smaller than it is (not one in a link) `itflow-zoomable` and opens it in a fixed layer on click; Escape closes the layer without closing a window under it. - Tickets: database 4.0.2 adds `ticket_reads` (ticket, agent, `read_at`; ticket 0 is the agent's starting point, made by `ticketReadsSince()` the first time their list loads). `functions/ticket_read.php` has `ticketReadsReady()`, `ticketMarkRead()` (from `agent/ticket.php`, the quick look and the new `bulk_mark_tickets_read`), `ticketUnreadSql()` - a Client reply, or a ticket raised by Email, Portal or Text, newer than the agent's read or starting point, on a ticket not closed, selected as `ticket_unread` on the list view - and `ticketReadsCleanup()`, run nightly for closed or deleted tickets and archived agents. On the list, open subjects that have been read are no longer semibold; unread ones are bold. - Tickets: list rows carry `data-ticket-id` and `data-ticket-sig`, a hash of what the row shows. `agent/js/tickets_live.js` fetches the same address once a minute while the tab is visible, swaps in rows whose signature changed (not ticked, no menu open), marks rows no longer there `itflow-row-gone`, counts new ones in `[data-tickets-live-bar]` and copies the pills' counts. `agent/js/ticket_reply_peek.js` shows `agent/ajax.php?ticket_reply_peek` - the last reply, or the details when there is none, as `emailPlainText()` - in a Bootstrap popover over `[data-reply-peek]`. -- `js/ticket_pulse.js` (every agent page, for Support) asks `agent/ajax.php?ticket_pulse` once a minute per browser - localStorage keeps the answer and a lock, and other tabs pick it up from the `storage` event - and puts the count of open tickets assigned to the agent (`TICKET_OPEN_SQL` and `ticketAssignedSql()`, as the Mine view) in front of `document.title`. With desktop notifications on (localStorage, per agent and browser, switched from `[data-desktop-notify]` in the bell's panel) it also asks for the assigned tickets not closed and Client replies on them after the last `reply_max`, works out newly assigned ones against the last answer, asks `about=` for up to five, and shows a `Notification` for each - not while an ITFlow tab has had the focus in the last 10 seconds, nor after a gap of more than 10 minutes. +- `js/ticket_pulse.js` (every agent page, for Support) asks `agent/ajax.php?ticket_pulse` once a minute per browser - localStorage keeps the answer and a lock, and other tabs pick it up from the `storage` event - and puts the count of open tickets assigned to the agent (`TICKET_OPEN_SQL` and `ticketAssignedSql()`, as the Mine view) in front of `document.title` on `agent/tickets.php` - other pages keep their title. With desktop notifications on (localStorage, per agent and browser, switched from `[data-desktop-notify]` in the bell's panel) it also asks for the assigned tickets not closed and Client replies on them after the last `reply_max`, works out newly assigned ones against the last answer, asks `about=` for up to five, and shows a `Notification` for each - not while an ITFlow tab has had the focus in the last 10 seconds, nor after a gap of more than 10 minutes. - Documents: `agent/document_edit.php` is Edit on a page, posting `edit_document` as the window did, with `document_form.php`'s editor as `.tinymce-page` - a second TinyMCE set-up in `js/app.js` sharing the document editor's options (`itflowDocumentEditor`), without autoresize and sized to the window on init and resize. The document page, Files' menus and "Start writing" link to it; other places still open `document_edit.php` the window. `copy_document` (`agent/modals/document/document_copy.php`) uses new `documentCopy()` in `functions/files.php`, which copies `uploads/documents/