You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Browser version: host a game straight from a browser tab at /client/host/, with no download. The GM server runs in the tab, keeps games in the browser's storage across reloads and installs addons from Central's registry. The Host button shows storage, the log and what the browser version can't do; the local server is still needed for backups, linked folders and services on your computer.
Addon network: addons say which sites their actions and cards may reach, and everything else is refused. GMs are told once what was blocked and why, the Addons panel shows each addon's connections and what was blocked, and cards get a CardAPI Host group (GetInfo, IsBrowser, HasLimitation, IsAvailable). On the browser version, actions reach https sites that allow browser requests.
Cards can no longer show other sites in frames (frame-src 'none'): embedded videos or pages in card code stop working.
Action permissions: players need Execute on an action to run it (no value means blocked), and game editors can always run them. Addons can be disabled per game: their hooks, actions and panels stop, their templates stay. Update your addons so their player actions keep working.
Addon dependencies: an addon can need other addons. They are resolved before anything changes and installed with it, and the Addons panel shows what an addon needs and what needs it.
Imports: exports are signed, and importing card code from another server asks first. Imports show progress, actions can be imported from a file, and cards relink to their template by key on import and addon update.
Battle map: Ctrl/Cmd/Shift + click adds to or takes out of the selection, Ctrl/Shift + drag adds an area, Ctrl+A selects all, and a modified drag still moves the selection. Copy and paste keeps the whole element, its properties and its place in the layer. A popped-out battle map works fully: drawing, menus and overlays use its own window.
Card API: RunClientCommand runs only the supported commands (and logs a failing one instead of breaking the card), and cards can follow the map's selection.
Security: updated WebRTC library for two denial-of-service advisories, cross-site requests with the login cookie are refused, chunked messages have size limits (a stalled one is dropped first), a damaged admin file no longer makes everyone local admin, and one chain of actions is limited to 32 levels and 10,000 runs.
Fixed: chat showed no sender names when it opened while the game was still loading; joins and leaves could break a broadcast; failed imports left their upload behind.