Repository navigation
Files Offline Copies Developer Guide
5.15.0 · Issue #285 · PR #488 by @cloudcogsio · User guide: Files § Make available offline · Review: Files offline copies - PR review · Storage underneath: Files storage - Developer Guide
When Files is in S3, a person can mark a file or folder. A background job keeps a copy of every covered file's current bytes at <storage root>/offline/<key>, and the read path uses a complete copy (right size) before the store. S3 stays the master: a copy is only ever a cache, so every failure here falls back to S3 and never breaks the action that caused it.
🗄️ schema · 🧠 coverage / service · 🔌 endpoint · ⏰ job · 🖥️ UI · 🧪 test
| 🎨 | File | What |
|---|---|---|
| 🧠 | includes/files/offline.php |
Reads only. FilesOfflineCoverage (what the marks cover), the state SQL, the folder ticks, paths, the limit and usage |
| 🧠 | includes/services/files_offline.php |
The only write path. FilesOfflineService: mark(), unmark(), exclude(), include(), clearAll(), setLimit(), copyKey(), keepUploadCopy() / commitUploadCopy(), foldersChanged(), forgetKey(), storageFolderChanged(), removeOldRoot(), sync()
|
| 🧠 | includes/files/storage.php |
filesServeBytes() and the new filesReadToLocal() read a copy first |
| 🔌 | api/files/offline.php |
POST only: on / off / exclude / include (Modify on the folder, checked by the service), clear_all, limit, remove_old_folder (Cap::FILES_STORAGE) |
| 🔌 |
api/files/list.php, properties.php
|
offline / offline_status on each entry; the Offline row |
| 🔌 |
api/files/upload.php, transfer.php
|
Keep a copy of an upload into a covered folder; mark folders pending after a move or copy in |
| 🧠 |
files_recycle.php, files_versions.php
|
Bytes deleted for good call forgetKey(); restores call foldersChanged()
|
| ⏰ | cron/files_offline_sync.php |
The files_offline_sync job (every 5 minutes, up to 8 minutes a run) |
| ⏰ | includes/job_registry.php |
needed: only while there are marks and S3 is (or was) in use, copies to tidy, or a proven old folder |
| 🖥️ | assets/js/files-desktop.js |
The right-click options, the ticks (offlineLabel()), Properties |
| 🖥️ | assets/js/files-settings.js |
The Storage tab: usage, marks, limit, Clear, old folders |
| 🗄️ |
files_offline, files_offline_copies, files_offline_folders
|
Below |
| 🧠 | includes/analyst_lifecycle.php |
files_offline.marked_by is an analyst reference (history) |
| 🧪 | tests/files-offline.php |
177 checks, fake S3, one rolled-back transaction |
files_offline -- the marks
target_type VARCHAR(10) -- folder | item
target_id INT
excluded TINYINT(1) -- 1 = "Don't keep offline"
marked_by INT NULL -- whose permissions decide what the mark covers
UNIQUE (target_type, target_id)
files_offline_copies -- one row per stored key that has a copy (or a failed try)
storage_path VARCHAR(255) -- the files_versions key, yyyy/mm/dd/<hex>.bin
size_bytes BIGINT
state VARCHAR(10) -- ready | failed
failed_datetime DATETIME NULL
UNIQUE (storage_path)
files_offline_folders -- each folder's tick, written by the job
folder_id INT UNIQUE
state TINYINT -- 0 ready, 1 failed, 2 pending
updated_datetime DATETIME(3)Settings (system_settings): files_offline_max_bytes (the limit, absent = none), files_offline_limit_reached, files_offline_old_roots (JSON list of {root, proven}).
Copies are recorded per key, not per file, because keys are shared: a copied file shares its source's stored bytes, exactly as files_versions rows do. Keys are never rewritten (a new version gets a new key), so a copy with the right size holds the right bytes - that is what lets every read trust filesOfflineHasCopy().
Worked out over the folder tree, never over files. A folder's state is self, folder (kept by one above), excluded or null. The walk goes up from the folder, and the nearest effective mark wins:
for ($a = $id, $depth = 0; $a !== null && isset($this->tree[$a]) && $depth < 1000; $a = $this->tree[$a]['parent_id'], $depth++) {
if (isset($this->marks['folder'][$a])) {
if (!$this->markerSees($this->marks['folder'][$a], $id)) continue; // not effective here: the next one above counts
if (!$exclusions) return $this->state[$id] = $a === $id ? 'self' : 'folder';
return $this->state[$id] = $exclusions === [$id] ? 'excluded' : null;
}
if (isset($this->marks['exclude']['folder'][$a])) $exclusions[] = $a;
}Effective means the maker is an active analyst who can see this folder (markerSees() - FilesAcl::levels() of marked_by, at least View). So:
- a subfolder that stops inheriting and is closed to the maker is not copied - the job never does what the person could not do by hand;
- a deactivated maker's mark is skipped and the mark above takes over. The row stays: anyone with Modify can mark it again, which makes it theirs.
The job and the read side ask the same object, so the tick and the copies can never disagree about coverage.
filesServeBytes() (view and download) and filesReadToLocal() (Attach as a copy) try a complete copy when the key's store is not a LocalDriver:
if (filesOfflineHasCopy($conn, $key, (int)($version['size_bytes'] ?? -1))) {
try {
(new LocalDriver(filesOfflineRoot($conn)))->readRange($key, $start, $end, $sink);
$served = true;
} catch (StorageNotFound $e) {
// Removed between the check and the read (the job, or a purge): use the store.
if ($started) throw $e;
}
}
if (!$served) $store->readRange($key, $start, $end, $sink);filesOfflineRoot() creates nothing - every S3 download asks it, including on installs that never used this.
Every change to the marks runs under one named lock (GET_LOCK('freeitsm_offline_<db hash>')) and one transaction that reads the mark row FOR UPDATE. Copies are deleted only after the commit, and the instant copy of a single file is fetched after the lock is released, so a slow download from S3 never holds up anyone else:
- The limit is checked before anything is written (
bytesToCopy()over-estimates: shared bytes once, left-out files counted). - A file up to
$instantMaxBytes(64 MB) is copied straight away; folders and bigger files go to the job. - Marking a folder sets its folders' ticks to pending (
rollupPending()). - Removing a mark (
unmark(),exclude()) deletes only copies nothing else covers (tidyScope()→coveredKeys()).
Changing marks needs Modify on the folder (for a file, its folder) or Cap::FILES_STORAGE; something the person cannot see is "not found".
In order, each step stopping at the deadline:
- Forget marks on folders and files deleted for good, and exclusions nothing is left to exclude from.
- Empty old storage folders that were proven to be another place (below).
-
Stop if the offline folder is also a store's own folder (
filesOfflineOverlapsStore()- storage moved from<P>/offlineto<P>): those are real stored files. -
Tidy rows - copies nothing covers are deleted (never one recorded after this run started); a
readyrow whose file is gone or the wrong size is forgotten, so the fill makes it again. -
Fill - covered files without a ready copy, in id order,
$batch(500) at a time. Failures are told apart:
| Failure | What happens |
|---|---|
FilesOfflineOutOfTime |
A big file: the .part is kept, the next run carries on from its size |
StorageUnavailable |
An outage: stop, every other copy would fail the same way. The .part is kept |
FilesOfflineDiskFull |
Stop and say so; the job always leaves $minFreeBytes (1 GB) |
| Anything else | This file's own problem (missing in S3, wrong checksum): failed, tried again after FILES_OFFLINE_RETRY_AFTER (a day) |
| The limit | Stop, set files_offline_limit_reached for the Storage tab |
-
Tidy the disk - files under
offline/no row records, and temporary copies older than a day. -
Roll up the folder ticks into
files_offline_folders: one grouped query (filesOfflineFolderRollup()), run even after the deadline.
filesStorageRoot($conn); // creates and guards the root (see Traps)
$tmp = $resume ? self::partFor($final) : self::tmpFor($final);
...
filesStoreFor($conn, $key)->readRange($key, $have, $size - 1, function (string $c) use ($fh, $deadlineUnix, &$outOfTime, &$writeFailed) { ... });
...
if ($got !== $size) throw new RuntimeException('copy did not match (size)');
if ($sha !== null && $sha !== '' && !hash_equals(strtolower($sha), hash_file('sha256', $tmp))) { ... }
if (!@rename($tmp, $final) && !filesOfflineHasCopy($conn, $key, $size)) { ... }
@touch($final);The job writes <key>.part and resumes it with a range read; a one-off copy writes <key>.<12 hex>.tmp. Only a copy that matches its size and SHA-256 is renamed into place.
A folder's tick is read from files_offline_folders - one indexed lookup of the viewer's folders below those on screen, never the files (300,000 files: 0.001 s per folder). Anything that can bring a file into a folder without a copy - a restore from the recycle bin, a move or copy in, Restore version, an upload whose copy did not land - calls:
FilesOfflineService::foldersChanged($conn, $folderIds); // state = 2 (pending) until the job has runupdated_datetime is to the millisecond so the rollup keeps a row marked pending after it began.
keepUploadCopy() runs before the upload is stored (the store may move the part away): a hard link when possible, otherwise a copy up to 64 MB, under a temporary name. commitUploadCopy() renames it into place only once the upload is saved, so a failed upload leaves no copy. Neither ever throws.
storageFolderChanged() runs inside the settings save, so it only writes rows. storageLocationRelation() decides:
| Relation | What happens |
|---|---|
same / none
|
Nothing |
different (proved) |
Copy rows forgotten; the old folder queued proven: true - the job deletes its copies in batches |
unknown |
Rows kept; the old folder queued proven: false - never emptied by itself. The Storage tab lists it with Remove, which probes again (removeOldRoot()) |
"Cannot tell" is never "different" - the same rule as the storage move (Files storage - The cleanup).
Nothing breaks. filesOfflineMarks() and filesOfflineUsage() return null on a missing table (filesOfflineMissingTable(): error 1146 / 42S02), so coverage is empty and the job does nothing; any change to a mark answers Run System → Database Verification first. (NEEDS_VERIFICATION). tests/files-offline.php proves it by renaming the tables for a while (and always putting them back).
-
TRAP: guard the storage root before creating
offline/. On an S3 install a custom storage folder may never have been created, because nothing local was ever stored. The first copy'smkdirthen made<root>/offlinewith no deny rules.copyKey()andkeepUploadCopy()callfilesStorageRoot($conn)first, which creates the root and runsuploadPrepareDir()on it, as a local store would. Added on merge (d18c6c94c). The defaultuploads/files/was already safe - its.htaccessandweb.configare in the repo. -
filesOfflineRoot()must stay side-effect free. Every S3 download calls it; creating the root there would make folders on installs that never use offline copies. - Never delete a copy inside the transaction. A rollback would bring the row back without the file. Delete after the commit.
-
A copy is trusted only at the right size. Anything that could leave a wrong-sized file at the final path must delete it (
tidyRows()does). -
Ids are written into SQL as integers, not placeholders, in
candidateSql()and the rollup: a big tree can cover more folders than a prepared statement allows placeholders (65,535). -
Paths are compared with forward slashes. The code normalises; a test comparing against
sys_get_temp_dir()must too (zzTempDir()- 4 checks failed on Windows before it).
tests/files-offline.php - 177 checks on ZZ fixtures in one rolled-back transaction, with a stand-in S3 driver that can be switched off. It covers coverage and the nearest effective mark (deactivated maker, access taken away), who may change marks, reads and the fallback when a copy vanishes, the job (fill, retries, outages, orphans, a run racing a change), uploads (hard link, limit, disk floor), exclusions, the Storage tab summary, ticks per viewer, moves back from S3, large copies over several runs, Overwrite / Restore version / the versions tidy-up, a new storage folder (proven and unproven), the lock, and bounded memory with 25,000 files. Two parts run on their own afterwards: before Database Verification (tables renamed and put back) and the endpoint over HTTP (FREEITSM_TEST_URL).
FREEITSM_TEST_DATABASE=<test db> FREEITSM_TEST_URL=http://localhost/<test install> php tests/files-offline.phpRun it on a test install only: it renames tables.
See also: Files - Developer Guide · Files storage - Developer Guide · Files recycle bin - Developer Guide · Code traps
FreeITSM — an open-source IT Service Management platform · github.com/edmozley/freeitsm · MIT licence
- Installation
- ⏰ Scheduled tasks (cron jobs)
-
Architecture
- ↳ 🧹 Root folder tidy (URL routing)
- ↳ 🔗 Database Integrity (FKs & constraints)
- ↳ 🛠️ Database Verification — Developer Guide
- ↳ 🧩 Service Layer (UI + API share code)
- ↳ 🪤 Code traps (the TRAP: comments)
- ↳ 📝 Commenting for the Engineering wiki
- ↳ 🛠️ Engineering wiki scanner - Developer Guide
- ↳ 📊 Service-Layer progress
- 🤝 Contributing (read before a pull request)
- 🧪 Developer tests
- 📄 PDF exports moved to PDFKit (#254)
- AI Providers
- Internationalisation (i18n)
- Timezones & Time Handling
- 📅 Date & Time Formats
- 💱 Currencies
- 🧭 The sidebar (optional module rail)
- 🧩 Preference templates
- 🔀 Display order (modules, Watchtower cards) — Developer Guide
- Theming & Dark Mode
- 🗂️ Recent — getting back to what you were doing
- ⌨️ Command palette (⌘K)
- 🔍 Searching inside tickets
- 📄 Attached documents
-
Mobile‑Friendly
- ↳ 🎫 Mobile: Tickets
- ↳ 💻 Mobile: Assets
- ↳ 📅 Mobile: Calendar
- ↳ 📚 Mobile: Knowledge
- ↳ 🚦 Mobile: Service Status
- ↳ 🗼 Mobile: Watchtower
- ↳ 🧩 Mobile: Problem Management
- ↳ 🔁 Mobile: Change Management
- ↳ 💿 Mobile: Software
- ↳ ✅ Mobile: Tasks
- ↳ 📝 Mobile: Forms
- ↳ 📄 Mobile: Contracts
- ↳ 📄 Mobile: Domains
- ↳ 📄 Mobile: People
- ↳ 🚀 Mobile: Projects
- ↳ 🗂️ Mobile: Files
- ↳ 🎓 Mobile: LMS
- ↳ 🗺️ Mobile: CMDB
- ↳ 🗺️ Mobile: Network Mapper
- ↳ 🧭 Mobile: Process Mapper
- ↳ ⚙️ Mobile: Workflow
- ↳ 🖥️ Mobile: System
- ↳ 📊 Mobile: Reporting
- ↳ 📖 Mobile: System Wiki
- ↳ 🙋 Mobile: Self-Service Portal
- ↳ 🧰 Mobile: Techniques & Tricks
-
Security
- Layer 1 — which modules you can enter
- ↳ 🧩 Module Access Control
- ↳ 🛠️ Module Access — Developer Guide
- ↳ 🔌 Switching modules off
- ↳ 🛠️ Module availability — Developer Guide
- ↳ 📐 Module availability — design (#217)
- Layer 2 — what you can administer
- ↳ 🎭 Roles & Permissions
- ↳ 🛠️ Roles — Developer Guide
- ↳ 🔤 Why capabilities are constants
- Layer 3 — the System module
- ↳ 🔑 Admin Access Control
- Hardening
- ↳ 📄 Security review response 2026-08
- ↳ 🛡️ Security hardening 2026-08
- ↳ 🛠️ Security hardening 2026-08 — Developer Guide
- ↳ 🛡️ Round three — plain English
- ↳ 🛠️ Round three — Developer Guide
- ↳ 🛡️ CSRF protection (S4) — Developer Guide
- Single Sign-On (SSO)
- 🗂️ LDAP & Active Directory
-
🟦 Microsoft Entra ID
- ↳ 📥 Importing people and groups
- ↳ 💻 Intune: assets to their primary user
- ↳ 🏢 Organisation chart
- ↳ 🛠️ Entra directory sync — Developer Guide
- ↳ 🛠️ Entra import - review (#235)
- ↳ 🛠️ Entra follow-ups - review (#237-#240)
- ↳ 🛠️ Intune primary user - review (#236)
- ↳ 🛠️ Intune after an Entra import - review (#334)
- ↳ 🛠️ Intune primary user history - review (#338)
- ↳ 🛠️ Intune asset types - review (#339)
- ↳ 🛠️ Intune scheduled syncs - review (#344)
- ↳ 🛠️ Microsoft 365 in Integrations - review (#352)
- ↳ 🛠️ Organisation chart - reviews (#242, #265)
- 📇 CardDAV contact sync
- Browser Extension
- API Reference
-
🔌 REST API — how it works
- ↳ 📜 Script library (PowerShell + Python)
- ↳ 📋 Proposal: custom fields, inventory import and change evidence (#194)
- ↳ 🛠️ Custom fields, evidence + inventory - review (#195-#197)
- ↳ 🛠️ Long forms in a task's Work view - review (#198)
- ↳ 🛠️ Empty Procedures fold - review (#247)
- ↳ 🎫 REST API: Tickets
- ↳ 💻 REST API: Assets
- ↳ 🔴 REST API: Problems
- ↳ 🟠 REST API: Changes
- ↳ 📚 REST API: Knowledge
- ↳ ✅ REST API: Tasks
- ↳ 🗄️ REST API: CMDB
- ↳ 📜 REST API: Contracts
- ↳ 🗓️ REST API: Calendar
- ↳ 💿 REST API: Software
- ↳ 🌐 REST API: Domains
- ↳ 🚦 REST API: Service Status
- ↳ ☀️ REST API: Morning Checks
- ↳ 📝 REST API: Forms
- ↳ ⚙️ REST API: Workflow
- ↳ 🏷️ REST API: Cost centres
- ↳ 🏢 REST API: Companies
- ↳ 📒 REST API: Chart of accounts
- ↳ 📁 REST API: Projects
- ↳ 🛡️ API threat protection
- ↳ 🧑💼 REST API: Analysts
- ↳ 🗺️ REST API: Network Mapper
- ↳ 🧭 Using the API docs page
- ↳ 📐 OpenAPI specification
- ↳ ✅ OpenAPI: kept correct
- ↳ 🛠️ Maintaining the catalogue
- Watchtower
-
Tickets
- ↳ 🛠️ Participants and automatic replies - review (#440)
- ↳ Reply subject and replying to one message
- ↳ 🔄 Live updates
- ↳ 🛠️ Watching a ticket - Developer Guide (1 of 2)
- ↳ ✉️ Ticket address suggestions - Developer Guide
- ↳ 🛠️ CSAT delay and reminder - Developer Guide
- ↳ 🛠️ Ticket checklist step types - Developer Guide (1 of 2)
- ↳ 🛠️ Right-click Attach checklist - Developer Guide
- ↳ 🛠️ Checklists in the REST API - Developer Guide
- ↳ 🔗 A ticket's related block and attachments - Developer Guide
- ↳ 🛠️ Inbox.js map — Developer Guide
- ↳ 🛠️ Floating windows & the file viewer — Developer Guide
- ↳ 🛠️ Tickets settings — Developer Guide
- ↳ 📐 Simpler ticket and task forms - design (#218)
- ↳ 🗂️ The ticket workspace
- ↳ 📋 Forms on tickets
- ↳ 📊 The ticket table
- ↳ 📋 Rota copy and paste — Developer Deep Dive
- ↳ ✅ Checklists & SOPs
- ↳ ☑️ Mandatory fields
- ↳ 🧾 Custom ticket fields
- ↳ 🏷️ Ticket categories
- ↳ 🧾 A type for every new ticket
- ↳ 👥 Assigning tickets to a team, and escalation
- ↳ 🏢 One board across every company
- ↳ 🔎 Many companies: searchable lists (#358)
- ↳ 📊 Ticket dashboard — Developer Guide
- ↳ Mailbox Authentication
- ↳ 📤 Email send log
- ↳ ✉️ Emailed reports
- ↳ 📎 Attachment size limits and large emails
-
↳ Basic IMAP mailboxes
- ↳ 📐 Basic IMAP without the PHP extension (#257)
- ↳ 🛠️ Basic IMAP client — Developer Guide
- ↳ 🧪 Basic IMAP client — Testing and verifying
- ↳ 🛠️ Basic IMAP - Sent copy - Developer Guide (#270)
- ↳ 📤 PR #400 Sending through a relay without a login
- ↳ 🛠️ Verifying a mail folder — Developer Guide
- ↳ 🛠️ Mailbox providers — Developer Guide
- ↳ 🛠️ How Gmail mail collection works — Developer Guide
- ↳ Email rendering & images
- ↳ SLA Management
- ↳ WhatsApp channel
-
↳
✈️ Telegram channel - ↳ ⭐ CSAT company scope and filters — Developer Guide
- ↳ 👥 Microsoft Teams channel
- ↳ 🗨️ Mattermost channel
- ↳ 💬 Web chat channel
- ↳ 🟣 Slack channel
- ↳ 🔗 Linking tickets
- ↳ ⓘ Record previews
- ↳ 📝 Ticket notes: internal or shared
- ↳ 🗒️ Canned responses
- ↳ ✉️ Limiting replies to particular senders
- ↳ 📨 Telling the analyst a ticket is theirs
- ↳ ✍️ Email signatures
- ↳ 🌐 The public web address
- ↳ 🔢 Ticket numbering
- ↳ 🙋 Raising a ticket for someone else
- ↳ 🔀 Merging tickets
- ↳ 🔒 Confidential tickets
- ↳ 👥 Portal managers
- ↳ 👁 Who has seen a ticket
- ↳ 📜 Reading long tickets
- ↳ ✨ Reply Cleanup prompt and history
- ↳ ⑂ Splitting tickets
- ↳ ✅ Selecting several tickets
- ↳ 🗂️ The folder pane
- ↳ 🔽 Just my tickets, or no closed ones
- ↳ 🛠️ Snoozing tickets — Developer Guide
- ↳ 👥 Collision detection
- ↳ ⏱️ Time tracking
- ↳ 📄 Case reports - a ticket and its work as one PDF
- ↳ 📅 Scheduled work in your own calendar
- Problem Management
-
Tasks
- ↳ 🛠️ Knowledge articles in a task's Link dialog - review (#450)
- ↳ 🛠️ Task ID and hover card - review (#405)
- ↳ 🛠️ Task ID, Company column and hover card — Developer Guide
- ↳ 🛠️ Task board and subtasks — Developer Guide
- ↳ 🗄️ Archiving done tasks — Developer Guide
- ↳ 🧑🤝🧑 People on a task ("Involved")
- ↳ 🔁 Repeating tasks
- ↳ 📐 Complete history for tasks and tickets - design (#430)
- ↳ 🏢 Moving a task between companies
- 🚀 Projects
-
Assets
- ↳ 🛠️ Asset list by type - review (#340)
- ↳ 🏢 Moving an asset between companies
- ↳ 📍 Shared asset locations
- ↳ 🧑💼 Assigning assets to analysts
- ↳ 📆 Warranty and lease alerts
- ↳ 📄 Leases
- ↳ 🔭 Saved table views
- ↳ 🖨️ Recording anything, and importing it
- ↳ 🧩 Asset type layouts
- ↳ 🕒 Inventory freshness
- ↳ 🔗 Linked configuration item
- ↳ 🔌 Connected assets
- ↳ 🔍 Asset review
- ↳ 📋 Missing information
- ↳ 📦 Consumables
- ↳ 🏷️ QR asset labels
- ↳ 📋 Who holds what, and handover documents
- ↳ 🖥️ The inventory agent (PowerShell)
- ↳ 🗄️ Proxmox VE servers
- ↳ ☁️ VMware Cloud Director servers
- ↳ 🪟 Hyper-V and Failover Clusters
- ↳ 🔗 Linking equipment to tickets
- ↳ ☑️ Follow-up tasks on a ticket
- Knowledge
- Change Management
- Calendar
- Morning Checks
- Reporting
- Software
-
Forms
- ↳ 🎨 The form designer — Developer Guide
- ↳ 📐 Layout & the grid — Developer Guide
- ↳ 🗂️ Collections — grouping submissions
- ↳ 📄 Submissions as PDFs
- ↳ ⚡ What happens next — a form's own actions
- ↳ 🛠️ Sections & conditional logic — Developer Guide
- ↳ 🛠️ Lookup fields — Developer Guide
- ↳ 🛠️ Calculated totals — Developer Guide
-
↳ 🛡️ Catalogue request approvals
- ↳ 🛠️ Catalogue approvals — Developer Guide
- ↳ 🛠️ Approval steps and chains — Developer Guide
- ↳ 🛠️ Portal approvals — Developer Guide
- ↳ 🛠️ Approvers change a request's answers — Developer Guide
- ↳ 📐 Catalogue group approvals — design (#220)
- ↳ 📐 Catalogue as a shop — design (#348)
- ↳ 📐 Financial approvals - design (#160)
- People
- Starters & leavers
- Domains
-
🗂️ Files
-
↳ 🛠️ Files - Developer Guide
- ↳ Versions
- ↳ Save to Files
- ↳ Storage: server folder or S3
- ↳ 🔍 S3 storage - PR review
- ↳ 🗑️ Recycle bin
- ↳ 📐 Thumbnails and gallery - design (#424)
- ↳ 📐 Recycle bin - design
- ↳ 🔍 Recycle bin - PR review
- ↳ 🔍 Recycle bin follow-ups - review (#431)
- ↳ 📴 Make available offline
- ↳ 🛠️ Make available offline - review (#488)
- ↳ 🔒 Deleting or moving a folder
- ↳ 📋 Storage series - follow-ups
- ↳ 🛠️ Floating windows & the file viewer — Developer Guide
-
↳ 🛠️ Files - Developer Guide
- Contracts
- Service Status
- 🔔 Notifications
- 🚨 War Room
-
Self-Service Portal
- ↳ 🎨 Branding the portal
- ↳ 🙋 What people can do
- ↳ 📚 Help Centre
- ↳ 🚪 Landing page
- ↳ 🎨 Login screen designer
- ↳ 🛠️ Back to your page after sign-in - review (#407)
- ↳ 🛠️ Back to your page after sign-in — Developer Guide
- ↳ 🛒 Request catalogue
- ↳ 🔒 Portal privacy
- ↳ 👥 Portal managers
- ↳ 📇 Contact details
- ↳ 🛠️ Developer guide
- LMS
- Process Mapper
-
CMDB
- ↳ 🧱 Designing your CMDB
- ↳ 🛠️ CMDB — Developer Guide
- ↳ 🛠️ Impact analysis — Developer Guide
- ↳ 🛠️ Data quality — Developer Guide
- ↳ 🛠️ Record references — Developer Guide
- ↳ 🛠️ CMDB assistant - Developer Guide
- ↳ 🔗 Linked assets
- ↳ 📐 Linking an asset to its CI - design (#201)
- ↳ 📐 Discovery and redundancy-aware impact - design (#199)
- ↳ 🛠️ Relationship wording - review (#297)
- Network Mapper
-
Workflows
- ↳ 🔀 Branches: If / Otherwise and Choose by value
- ↳ 🛠️ Workflow engine — Developer Guide
- ↳ 🛠️ Workflows for tasks — Developer Guide
- ↳ 🛠️ Workflow notes on a ticket — Developer Guide
- ↳ ✉️ The requester's reply in a workflow - design
- ↳ 🛠️ Workflow category routing — Developer Guide
- ↳ 📐 Workflows in order, child tickets - design (#304)
- ↳ ⏰ Time-Based Triggers
- ↳ 🪝 Webhooks
- ↳ 💬 Webhook Message Formats
- ↳ 🔒 HTTPS Certificates & CA Bundles
- ↳ 🛠️ SSL Verification — the Global Setting
- ↳ 🐞 Workflow & Webhook Pitfalls
- Issue trackers (Jira, Azure DevOps)
- 📡 Zabbix (monitoring)
- 💬 Microsoft Teams alerts
- 📞 3CX (phone system)
-
System
- ↳ 🔐 Keep me signed in (#443)
- ↳ 🛠️ Rate guard - Developer Guide
- ↳ 🛠️ System cards by topic - review (#347)
- ↳ 🟦 Microsoft 365 (Entra ID and Intune)
- ↳ 🛠️ Preferences — Developer Guide
- ↳ 🗂️ Settings on one page
- ↳ 🧹 Maintenance
- ↳ 💾 Storage usage
- ↳ ✉️ Emailed reports
- ↳ 🔎 Finding people in the Analysts list
- ↳ 🚪 When an analyst leaves
- ↳ 🛠️ System → Branding — Developer Guide
- ↳ 🩺 Page health (D019) — Developer Guide
- ↳ ⭐ Feature Bingo
- ↳ 📍 Locations
- ↳ 🏷️ Cost centres
- ↳ 📒 Chart of accounts
- ↳ 📷 Photo Album
- ↳ Demo Data
- ↳ 🛠️ Demo Data — Developer Guide
-
Overview
- ↳ 📊 Progress tracker
- ↳ Concepts & vocabulary
- ↳ Email routing & mailboxes
- ↳ Settings: global vs per-company
- ↳ Users & self-service
- ↳ Staff cross-company access
- ↳ One company supporting another
- ↳ 🏢 One board across every company
- ↳ Worked examples
- ↳ Pitfalls & gotchas
- ↳ Scope: what it's for
- ↳ 🛠️ Developer Guide (make a module multi-company)
- ↳ 🗄️ Case study: CMDB (a linked graph)
- ↳ 🧪 Test harness (prove it's isolated)
- What this is
-
🐞 Bugs resolved
- ↳ 🛠️ PR #431 Refused deletes retried hourly for ever
- ↳ 🛠️ PR #448 Knowledge folder lock meant the wrong thing
- ↳ 🧱 #453 / #454 Stray div broke page layout
- ↳ 🧭 #449 Knowledge embeddings with any provider
- ↳ 💬 #444 Teams package, self-test and thinking models
- ↳ 💻 #436 Intune Last seen not updating
- ↳ 🔐 #429 Trust duration ignored
- ↳ 📄 #423 Knowledge PDF lost formatting
- ↳ 🧾 #427 SOP checklist picker always empty
- ↳ 📐 #425 Label beside left a wide gap
- ↳ 📅 #422 Calendar Open in inbox link
- ↳ 🔎 #420 Lookup answers unusable after submit
- ↳ 📖 #413 Reading pane too narrow on tablets
- ↳ 📱 #412 Sign-in card cramped on phones
- ↳ 🧭 #411 Header buttons out of reach
- ↳ 💱 #386 Project stuck in an old currency
- ↳ 🖥️ #393 Header ran off the screen
- ↳ 🖱️ #395 Ticket flyouts ran off the bottom
- ↳ 🔁 PR #401 Change editor used hardcoded priorities
- ↳ 📝 Knowledge drafts could not be published
- ↳ 🧩 #392 Project dialogs shared element ids
- ↳ 🖼️ #391 Knowledge images from your computer
- ↳ 🕗 #375 REST API wall-clock times
- ↳ 📅 #374 Calendar popup ran off the screen
- ↳ 🏢 #373 All companies: Changes, CMDB, Starters
- ↳ 🏢 #356 Assets People and All companies
- ↳ 🎓 #366 LMS demo data would not import
- ↳ 🔔 #362/#365 Team handover showed only a name
- ↳ 🔔 #365 The bell credited the wrong person
- ↳ 🗄️ #369 Inbox empty until Database Verification
- ↳ 🪆 #360 Links opened inside the ticket
- ↳ 🔗 #354 Workspace Links missed tasks
- ↳ 🔒 Two access fixes (5.9.1)
- ↳ 🔒 Task company checks in the API (5.5.0)
- ↳ 🔒 Asset holders through the API (5.4.0)
- ↳ 🔒 Files folder delete did not check inside (5.4.0)
- ↳ 🔒 The Intune tab did not check the company
- ↳ 📂 #332 Files viewer would not open
- ↳ 📎 #333 Note attachments downloaded
- ↳ 🪝 #326/#327 Form webhook Full record
- ↳ 📄 #325 Form PDF download failed
- ↳ 🔁 Small fixes in 5.1.0
- ↳ 🔁 CMDB relationships read backwards (5.1.0)
- ↳ 🔁 #301 CSAT delay was never applied
- ↳ 🔁 #281 Comments imported from Jira never arrived
- ↳ 🔁 #288 A change failed to open with Enforce approvals on
- ↳ 📚 Long non-Latin articles never got an embedding
- ↳ 🎫 #280 Email lookups scanned the whole table
- ↳ ✅ #266 Dragging a task told nobody
- ↳ 📚 #255 Article previews showed HTML codes
- ↳ 📚 #252 A link to a Knowledge article did not open
- ↳ 📄 #254 PDFs could not print Polish
- ↳ 📚 #250 Clicking a folder left the open article on screen
- ↳ 🎫 #260 The dashboard cog did nothing
- ↳ 🎫 #248 A department rule never matched on four routes
- ↳ 🔒 A directory account could be matched to someone else
- ↳ 🎫 #244 Reply went to the assigned analyst
- ↳ 🔒 Mailbox sign-in was not checked
- ↳ 🔒 Four weaknesses around signing in
- ↳ 🔒 A lookup answer could name any record
- ↳ 🎫 #227 A mailbox could not be deleted
- ↳ 🎫 #226 A picture on a note could not be closed
- ↳ 💻 #222 The Assets page never loaded in 4.3.0
- ↳ ⚙️ #214 A "contains" condition did not match capitals
- ↳ ⚙️ #216 A workflow email from a chosen mailbox always failed
- ↳ 🐳 The Docker image was missing PHP extensions
- ↳ 🌐 A failed DNS lookup read as a missing record
- ↳ 🔒 A link could change data
- ↳ 🔒 Access outlived its removal
- ↳ 🔒 Knowledge articles could run scripts
- ↳ 🔒 Knowledge writes ignored permissions
- ↳ 🔒 Company boundaries (Oct 2026)
- ↳ 🔒 Smaller gaps (Oct 2026)
- ↳ 🔒 Escaped text could leave its attribute
- ↳ 🔒 Task descriptions were not cleaned
- ↳ 🔒 Task documents ignored company scope
- ↳ 🔒 Repeating tasks ignored company scope
- ↳ 📬 #183 Mailbox checks overlapped
- ↳ 🌐 #188 Transfer lock shown off when unknown
- ↳ ✅ #184 Subtask names and Overdue
- ↳ 🧩 #186 Teams: the buttons did nothing
- ↳ 🔒 Text in a change could run script
- ↳ 🔒 AI settings changed without the AI permission
- ↳ 🚪 #178 Deleting an analyst failed
- ↳ 🎫 A team with no departments showed 0 tickets
- ↳ 🚀 Projects: adding a phase did nothing on Save
- ↳ 🔒 Leavers could still sign in
- ↳ 🖼️ Logo and courses broke on Apache with PHP-FPM
- ↳ 🔢 Chat tickets ignored your ticket numbering
- ↳ 📅 Dates shown as a dash, or in server time
- ↳ 🔒 Assets → Users showed people from other companies
- ↳ 🔒 Restricted analysts could read other modules' data
- ↳ 🖼️ Replies with a picture in the thread failed to send
- ↳ 📎 Reply attachments never reached the customer
- ↳ 🛠️ Outbound email attachments — Developer Guide
- ↳ 🔑 A global SSO provider was missing from the portal
- ↳ 🔀 Behind a proxy, the SSO redirect said http
- ↳ ✏️ The portal tagline moved when you saved it
- ↳ 🎨 The portal settings screen forgot what you saved
- ↳ 🛡️ The approvals inbox said "Error" and nothing else
- ↳ 📄 A table's answers were missing from the PDF
- ↳ ◉ A single-select column let you tick every option
- ↳ 📐 The portal ignored a form's field widths
- ↳ 📋 The tasks board stopped taking clicks
- ↳ 🗂️ #121 The index list is out of date after upgrading
- ↳ 📅 #133 The calendar subscription was empty
- ↳ 📋 #131 Tasks always reopened on the board
- ↳ 💥 #129 Every page returned HTTP 500 after upgrading
- ↳ 🐳 #127 A PHP warning above the System page
- ↳ 🕐 #126 Notes stamped with the server's clock
- ↳ 🌍 Storing every date in UTC
- ↳ 🚪 The portal was down for everyone signed in
- ↳ ⚙️ #120 Workflow notes could never be written
- ↳ ⚙️ #123 Three errors when running Database Verification
- ↳ 📝 #122 The description box was a stub in the corner
- ↳ 💣 Demo data deleted real accounts
- ↳ 🔐 #117 Sign-in redirected to the wrong address
- ↳ 🎨 #108 The priority dot was invisible
- ↳ ⏱️ #116 Time logged from the right-click menu
- ↳ 🔑 #114 API keys refused by our own guard
- ↳ 🗂️ #110 Assigning a task told nobody
- ↳ 🚪 #107 Signed out while still working
- ↳ 📎 #103 "Share with Requester" reached nobody
- ↳ 🔍 #102 Search found nothing for hyphens
- ↳ 🪟 #101 Source code editor opened behind
- ↳ ☑️ #88 Subtasks could not be ticked off
- ↳ 💻 #84 Asset deep link selected nothing
- ↳ 🎫 #79 A new ticket arrived with no status
- ↳ 📧 #79 A ticket from email did not say so
- ↳ 🔔 #78 Bell opened to nothing
- ↳ 📬 #77 Mail only collected from Inbox
- ↳ 🔐 #74 The default password could not be changed
- ↳ 🚦 #70 Renaming an impact level
- ↳ 📤 #67 App-only mailboxes could not send
- ↳ 📭 #45 Verify only ever worked for Microsoft
- ↳ 📭 #45 IMAP reported as not authenticated
- ↳ ✉️ An email template stopped escaping itself
- ↳ 🕐 The portal dashboard showed the wrong time
- ↳ 🔢 The folder said 99 and the list showed 96