Repository navigation
Security fix
- Mail through a connected Gmail account. Line breaks in a mail's subject and recipient were removed only on the SMTP path. A mailbox connected through Google got them as they came, so a workspace's name could add a recipient to a notice about that workspace. Every way out cleans them now, with a test that fails on 1.1.8.
New
- Workspaces from Microsoft groups. The instance owner maps Microsoft Entra groups to workspaces, each with a role (Instance settings, the new Groups tab). Joining a group in the directory brings a person into its workspace, leaving it takes away only what the group gave, and a blocked or deleted Microsoft account deactivates the account here. What a person set by hand always stays: a role somebody changed, a membership somebody added, a workspace somebody took away. Accounts are created at the first Microsoft sign-in, and only for members of a mapped group. It runs at every Microsoft sign-in and every 15 minutes, "Check now" shows what would change before anything does, and a run that would take access from unusually many people at once waits for the owner. It reads the directory as an app of its own with two read-only Graph permissions, and needs no Entra ID P1. The wiki has a page on it.
- Large uploads, and files from agents (#149, thanks @Benjafin). Every upload streams to disk instead of through memory. An agent that cannot fit a file into a tool call asks
upload_filefor a one-time upload address and sends the file there withcurl -T; the address is checked again when the file arrives and ends with the key that asked for it. Scripts canPUTa file straight onto a page at/api/pages/{id}/files/{name}. The default limit is 100 MB; a file sent inline as base64 takes 16 MB at most, because that path holds it in memory.
Fixes
- Large pages open faster (#138, thanks @luisfernandosoni). The history behind live editing is folded together by size, and as soon as somebody who may write opens a page that needs it, instead of only every 200 changes. A connection the server is already closing can no longer hand in the folded state.
- Busy agents write less (#148, thanks @luisfernandosoni). When a key or a signed-in connection was last used is written at most once a minute per address; a new address is still noted at once.
- A deactivated account is told so when it signs in with Google or Microsoft, instead of being shown the message about an unconfirmed address.
- A Microsoft account renamed in the directory keeps its account here. Every Microsoft sign-in now records which directory account it was, and a later sign-in finds the account by that before it looks at the address.
- Instance settings are wider, so the tabs stay on one line.
Upgrading
Nothing to do beyond replacing the binary or pulling the image. The data migration only adds columns and tables, and the search index is not rebuilt. Two things change on their own:
- The upload limit is 100 MB where none was set (it was 50 MB). A limit set in the settings stays as it is.
- The data directory gains a folder
files-incoming, where uploads land while they arrive. It is emptied at every start and is not part of a backup.
Full Changelog: v1.1.8...v1.1.9