diff --git a/CHANGELOG.md b/CHANGELOG.md index c6e382ae1..6202e9331 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -37,6 +37,8 @@ Update from Maintenance > Update as usual - this release has four database chang - Printing a ticket prints a work order instead of the page as it looks on screen: your letterhead, the client and contact, the site with its access notes, the job's details, its assets, the description, the fill-ins the client can see, the tasks as boxes to tick, the public replies oldest first, and a sign-off with arrival and departure times, lines for the work done and signatures. Internal notes never print. It's Print Work Order in the ticket's menu, or the browser's own print. - Printing an asset prints a spec sheet: its hardware, network, where it is and who has it, its interfaces, the devices in it, its licenses and services and its quick notes, with a QR code that opens it in ITFlow. Credentials and license keys never print. The new print button sits beside Copy Details. - Writing a document in the client portal works as it does for you: the editor shows it as it will read, with headings, lists, quotes, code, tables and lines on its toolbar, or contacts can write it in Markdown, with the Markdown toolbar and Preview, switching either way as they write. The next document starts in the way they wrote last. +- Long windows are split into tabs, so they are shorter. New Ticket has a Planning tab for the due date, the status it starts in, the work booked, tags and billing, leaving who it is for and what it is about on Details. A product or service has Details, Billing, Ordering and, for a product, Asset. A service has Service, Recovery & notes and, when it is new, Depends on. An event has When and Who & where. An expense has Expense, and Client & receipt. In Admin, a payment provider has Keys, Payments and Card fee, an RMM provider or network platform Connection, Alerts and Asset types, an identity provider Setup, Who it signs in and The app (or The mail server), and a ticket status Details and What it does. +- When the check on saving a payment provider or an RMM provider finds something wrong, the window opens the tab that field is on, so the message is next to it. A required field left empty on a hidden tab already opened its tab. ### Bug Fixes @@ -77,6 +79,7 @@ Update from Maintenance > Update as usual - this release has four database chang - functions/print_sheet.php draws the work order (ticketWorkOrderHtml()) and spec sheet (assetSpecSheetHtml()) into their pages, hidden on screen; css .itflow-print-sheet hides the rest of the page when printing (the .container-fluid:has() rule). [data-print-page] buttons call window.print() (js/app.js). The ticket's actions bar and menu now show for every agent. - includes/document_editors.php is a document's two editors and the switch between them, shared by agent/modals/document/document_form.php and client/document_add.php (which now posts format, content and markdown, saved through documentPostedContent()). js/document_markdown.js converts at the address its script tag gives (data-markdown-url, client/post.php markdown_to_html and html_to_markdown in the portal). itflowProseContentStyle() moved to js/tinymce_defaults.js; js/portal.js sets up .tinymce-document, and its required check looks in the Markdown box when that is shown. - agent/includes/inc_all_client.php: without a client_id, or with one that isn't there, it draws That client isn't here in the agent layout and exits, before anything queries with no client - it was an SQL error (or a tagPills() TypeError) and a blank page. admin/modules.php and its commented-out menu entry are removed. +- Tabs in agent/modals/product/product_form.php, service/service_form.php, calendar/calendar_event_form.php, expense/expense_form.php and ticket/ticket_add.php, and in admin/modals/payment_provider/payment_provider_edit.php, rmm/rmm_provider_edit.php, identity_provider/identity_provider_edit.php and ticket_status/ticket_status_form.php - the same field names, so the posts and their handlers are unchanged. js/app.js has window.itflowRevealTab(field), used by the invalid-field handler and by the provider windows' server-check errors, to open the tab a field is on. ## [26.12.2] diff --git a/admin/modals/identity_provider/identity_provider_edit.php b/admin/modals/identity_provider/identity_provider_edit.php index f609a4e8d..eeee19ca7 100644 --- a/admin/modals/identity_provider/identity_provider_edit.php +++ b/admin/modals/identity_provider/identity_provider_edit.php @@ -3,7 +3,8 @@ /* * Admin > Identity Providers - one identity provider's window: Add (?kind=, no id) or Edit (?id=). * Which kind it is is picked from the New menu and stays. How to set it up on the provider's side - * is at the top, with the redirect address to register there. The secret is never put back into + * is on its first tab, with the redirect address to register there; then Who it signs in, and the + * app (or the mail server). The secret is never put back into * the page - left empty, it stays as saved. Saved by save_identity_provider * (admin/post/identity_provider.php). */ @@ -51,174 +52,193 @@ ob_start();