Repository navigation
FoxDesk 0.3.152 — Flight deck interface, security and Docker
FoxDesk 0.3.152 — Flight deck interface, security and Docker
Changes
- New flight deck interface: a light design in FoxDesk blue with rounded pill controls, an icon rail sidebar (expand it from the menu), a bottom navigation bar on phones and the running timer in the top bar; the dashboard, ticket list and ticket detail are rebuilt (details below)
- Security: rescue.php, upgrade.php and install.php?force=1 now require the full SECRET_KEY; the first 16 characters are no longer accepted
- Security: all frontend libraries (Alpine, Chart.js, flatpickr, Quill, SortableJS, QR code) are now bundled with FoxDesk instead of loaded from CDNs, and the Content Security Policy no longer allows any CDN host
- New Time page with every saved work-log entry, a searchable client directory with Work log and Report history tabs, and a searchable report history (details below)
- Docker: new Docker Compose setup (app, MariaDB and a cron worker) with persistent data, automatic backups before image upgrades and support for the in-app updater, plus prebuilt images ghcr.io/lukashanes/foxdesk: for amd64 and arm64; see docs/DOCKER.md
- Dashboard rebuilt for staff: billable amount for the period with the change against the previous period, people and clients, worked hours per day, what needs your attention, the recent activity feed and recently updated tickets; switching period or Me/Team updates the page in place
- Ticket list: one Filter button holds all filters and the full sort list, columns sort by clicking their headers, rows offer quick actions (take, start timer, reply), due dates and time can be edited inline, Done tickets are grouped by when they were completed, and the list loads more rows as you scroll
- Tickets: the list tabs are now Open, Done and Archive; Open shows every unfinished ticket (including waiting ones) sorted by last update, the list is paged with 10, 20, 50 or all tickets per page, and the subtitle shows how many tickets are overdue
- Ticket detail: the status pipeline and the Status select sit in the header and replace the Complete button, actions moved into the properties card, the timer, work log and conversation are consolidated, assigning a ticket asks for an optional handoff note, and you can log time for a comment or as standalone work
- Ticket detail: staff can preview a ticket as the requester or a shared user sees it (Ticket access > eye icon); the preview is read-only and hides internal comments and work logs from clients
- PDF, text, CSV and JSON attachments open in a built-in preview with page navigation, using a bundled PDF.js; images open in the improved lightbox and comment uploads show image thumbnails
- New ticket form shows image thumbnails for selected attachments
- Images pasted into a ticket are stored as ticket attachments, so they stay visible to everyone who can see the ticket
- Admins and agents can enter an earlier Created at date for new tickets and replies, for example when recording work done by phone
- New Time page (sidebar > Time): every saved work-log entry for a period with client, billable, agent and search filters, totals, paging and CSV export; entries can be logged and edited in place. Agents see their own work, admins can switch to the whole team
- Clients: the client list can be searched, filtered by active or inactive, sorted by entries, time or name and paged; each client page has Tickets, Work log and Report history tabs
- Reports: the report history can be searched and filtered by client and status, is paged and shows the saved report time. Opening the list no longer creates public share links automatically; use Create share link on a published report
- Notifications: opening a ticket or marking a notification read no longer resolves action-required items; use Mark as reviewed on the Notifications page. Completed tickets and saved work logs ask the other participating staff to review them
- Client overview counts and time totals now respect each agent's ticket visibility and count saved work only; invalid custom date ranges (for example 31 February) fall back to the current month
- Incoming email: messages from active users are accepted without adding their address to Allowed Senders
- Incoming email: formatted messages keep images, lists, tables and emphasis in tickets and comments; tables and remote images now display correctly
- Fixed permanent ticket deletion, which failed with "Ticket could not be deleted safely" on self-hosted installations
- Ticket list actions recover automatically when the page's security token has expired, for example after signing in again in another tab
- The rich-text editor is upgraded to Quill 2; lists, formatting and inline images are saved as clean HTML
- Adding time to a ticket reply no longer causes a browser script error
- Dashboard data: new work-time-dashboard API action returns billable amounts, people, clients, worked days, attention counts, the activity feed and recently updated tickets for the selected period
- API: new app-update-time-entry action (time:write scope) edits a saved work-log entry; explicit historical start and end times are limited to admins and agents
- Fixed: logging time through the app API with an explicit start or end time failed with "Date normalization is not available"
- Agent API: agent-docs works with every API token again and lists only the scopes a token is actually missing
- Agent API: new agent-delete-comment action deletes a comment the token owner may manage
- Agent API: writes sent with an Idempotency-Key share one database transaction, so retries replay the stored result without duplicate records
- Agent API: applied work logs return a direct ticket link, and older ticket links with hash= open correctly, including completed tickets
- New installations are fully set up by the web installer: database migrations, email templates and default settings no longer need a separate upgrade.php run
- The installer uses the server time zone (TZ or date.timezone) instead of always Europe/Prague
- Installation guide corrected: run the web installer before editing config.php
- Settings → System lists the full changelog of an available or uploaded update before you install it
- Uploading an update package larger than the server's PHP upload limit now reports that limit instead of asking you to select a file
- After an oversized upload or an expired form, FoxDesk returns you to the page you were on also when it runs on a non-standard port, such as Docker on port 8080
- Updating from an older installation no longer reports "Migration ... changed after it was applied" when the only difference is line endings, for example after installing from a package built on Windows
- Removed obsolete scripts and stylesheets replaced by the new interface (ticket-detail-core.js, ticket-detail-workflow.js, ticket-list-actions.js, new-ticket.css, report-page.css, ticket-detail.css); the updater deletes them
Upgrade notes
Back up the database, config.php and the uploads directory before updating; this release can be installed directly on 0.3.149 or later and includes every change from 0.3.150 and 0.3.151.
rescue.php, upgrade.php and install.php?force=1 now require the full SECRET_KEY from config.php; links or scripts that pass only its first 16 characters stop working and must be updated.
Incoming email from active FoxDesk users is now accepted without adding their address to Allowed Senders; review your user list if you relied on Allowed Senders to block someone.
The Complete button on the ticket detail is replaced by the Status select in the ticket header; choose the done status there to complete a ticket.
The updater runs the database upgrade automatically; if it did not (for example after a manual file copy), open upgrade.php once with the full SECRET_KEY.
Package SHA-256: a85c8cea1a8230db31baca1f1479deea0f0bc9216b3c0fe0cd9c19b7d6c53f7f