Commit Graph
3189 Commits
Author SHA1 Message Date
Zef Hemel ea44937863 anchors: extend Ref grammar with anchor variant ($anchor) 2026-04-30 17:52:21 +02:00
Zef Hemel d566a00336 Add 'sb' to .gitignore 2026-04-30 10:59:53 +02:00
Zef Hemel 70f100f066 Fixes #1952 2026-04-30 10:59:53 +02:00
Zef Hemel 81dbdae857 Fixes #1955 2026-04-30 10:59:53 +02:00
Lumen YangandGitHub 49ab50af43 Fix "white screen when booting" (#1953) 2026-04-29 13:03:15 +02:00
LogeshandGitHub 3a3f9f8ccd Change shadow DOM mode to 'open' (#1954) 2026-04-29 13:01:49 +02:00
Zef Hemel 0b5cf7c6af Make Configuration UI look more reasonable on mobile devices 2026-04-28 09:07:44 +02:00
laikqandGitHub ab8a790a02 Update Authelia documentation (#1951) 2026-04-27 18:59:53 +02:00
Zef Hemel a7c18cfa78 Renamed silverbullet-cli -> sb
+ CHANGELOG updates
2026-04-27 16:56:21 +02:00
Carlos Fdez. LlamasandGitHub b72971f6ca Disable splitting to prevent including import statements in service_worker.js (#1949)
* Disable splitting to prevent including `import` statements in
`service_worker.js`, which fails when loaded in Firefox, because
Firefox doesn't support `import` statements in Service Workers until
version 147.

* Build client and service worker separately so splitting can be enabled
for client and disabled for service worker.
2026-04-27 16:46:02 +02:00
Zef Hemel c33b3edd41 Fix "Save & Apply" on hover for configuration management 2026-04-26 20:50:32 +02:00
Zef Hemel 4149fbc287 Fixes #1936 2026-04-26 17:31:53 +02:00
Zef Hemel f76060fb08 fix tests 2026-04-26 17:24:37 +02:00
Zef Hemel 5833919faf More robust traversals in case of invalid markdown trees 2026-04-26 17:22:29 +02:00
Zef Hemel 4d38ca3a22 Don't silenty fail on auth config file corruption 2026-04-24 16:34:10 +02:00
Zef Hemel 563b20eece Security: set auth cookie security flags 2026-04-24 16:06:27 +02:00
Zef Hemel e4ffb660c0 Limit restriction on name attribute to just #meta/library pages 2026-04-24 13:55:28 +02:00
Zef Hemel 1763b07c8f Remove indent/outdent key bindings clashing with browser forward/backward 2026-04-23 15:54:21 +02:00
Zef Hemel ccc917c55d Fix makefile for windows 2026-04-23 15:29:32 +02:00
Zef Hemel d0cb8e6c0e Menus: refactoring and renaming 2026-04-23 13:32:00 +02:00
Zef Hemel 1e5d35ab8d Simplified navigate home keyboard shortcut 2026-04-23 10:21:50 +02:00
Zef Hemel 47f9d9987c Annotated existing commands with menu placements 2026-04-23 10:16:49 +02:00
Zef Hemel 6dec86d236 Add initial schema support for native file menu bindings 2026-04-23 09:31:04 +02:00
Zef Hemel c5d9a1b6fe Better debugging info in case of headless Chrome boot failure 2026-04-22 21:00:57 +02:00
LuminiferousandGitHub a002d2ff0d Fixing #1935 (#1944) 2026-04-22 20:58:14 +02:00
Zef Hemel 8b241f9448 Rebranding LIQ to SLIQ! 2026-04-22 20:54:43 +02:00
Zef Hemel 6f5d3c776f fix: restrict Ctrl-v page-down binding to macOS 2026-04-22 14:23:07 +02:00
Zef Hemel aca71e2621 Fix: re-enable some features on the website
Accidentally disabled this why testing the configuration manager, whoopsies.
2026-04-22 08:58:33 +02:00
Zef Hemel 4f8dbe209f Remove unnecessary comment in configuration manager website copy 2026-04-21 21:00:03 +02:00
Zef Hemel 88428d2111 Key bindings UI: "Filter commands" instead of "Search commands"
Consistency people
2026-04-21 17:09:54 +02:00
Zef Hemel 8ccd6b2add Docs: configuration manager + CHANGELOG
Documents the Configuration Manager and Libraries tab, removes Library Manager page, rewrites the plug-installation section of the v1 migration guide, tighten the Plugs manifest reference, and updates in the Edge changelog.
2026-04-21 17:00:06 +02:00
Zef Hemel 5a9f9ed101 Std Library: remove plug-manager and legacy Library Manager
Drop the old plug-manager plug and the Space-Lua Library Manager, all superseded by the Libraries tab in the configuration manager.

Pass fallback values to config.get(...) in the Std widgets so  TOC / linked mentions / linked tasks keep rendering on a fresh  space where schema defaults haven't been indexed yet.
2026-04-21 16:59:00 +02:00
Zef Hemel 74173af525 Configuration Manager: Libraries tab
Add a Libraries tab to the configuration manager covering installed libraries, installable libraries (from repositories),  repositories themselves, and detection of "rogue" plugs installed outside a library.

Rename the managed-block marker from "configuration-ui" to"configuration-manager" to match the plug name.
2026-04-21 16:56:55 +02:00
Zef Hemel 556404565e Client: portal notification panel to document.body
Render .sb-notifications via createPortal so notifications escape the top-bar stacking context and can overlay modal panels.
2026-04-21 16:55:24 +02:00
Zef Hemel b207e8a06e Client: extract prettifyShortcut into shared lib
Move isMacLike and prettifyShortcut out of command_palette into plug-api/lib/shortcut so the configuration manager's shortcuts UI can render identical key notation.
2026-04-21 16:54:24 +02:00
Zef Hemel 54da633d06 Move "Plugs: Reload" command to editor
Move `Plugs: Reload` from the plug-manager plug into the editor plug  alongside the other built-in client commands, ahead of removing plug-manager entirely.
2026-04-21 16:53:45 +02:00
Zef Hemel a446014e2c Fix: accidentally pulled in a huge amount of codemirror code by not using the parseMarkdown syscall in outline ops, whoopsies
Reduces the editor plug bundle size by about 600K
2026-04-21 16:52:50 +02:00
Zef Hemel a34c2d3ac9 Plugs: per-path load/unload syscalls
Track the source path on each Plug and rename the sandbox-factory "cacheKey" to "path" to reflect what it actually is. Fold the one-liner web_worker_sandbox helper into a WorkerSandbox.forPath factory and add system.loadPlug / system.unloadPlug syscalls so individual plugs can be (re)loaded by path — foundation for the upcoming configuration-manager libraries UI.
2026-04-21 16:51:33 +02:00
Zef Hemel e226bfd685 Client: add editor.focus syscall 2026-04-21 16:50:34 +02:00
Zef Hemel 15b1f37734 Potentially breaking CSS change for the themers: .sb-notifications is now elsewhere in the DOM
Goal: make it always appear above even modal windows
2026-04-21 16:29:38 +02:00
Zef Hemel 795c248a0c Set some sensible default (fallback) config options when defaults are not yet available (initial index) 2026-04-21 13:06:36 +02:00
Zef Hemel f1394f3bc0 Expose content type also via X-Content-Type header 2026-04-21 10:30:11 +02:00
Zef Hemel 42bbcf5f7c lint fixes 2026-04-21 10:16:05 +02:00
Zef Hemel 8d8bb46649 Expanded plug dev guide
Split the Plug Development page into a quick-start with more subtopics: Architecture (loading, sandboxing, execution), Reference (manifests, hooks, syscalls), and Distribution and Testing.

Swap the Excalidraw architecture embed for a Mermaid diagram, and update the website Dockerfile to ship the Mermaid plug instead of Excalidraw.
2026-04-21 10:11:24 +02:00
Zef Hemel 1a0cb49fd7 Server: stop seeding CONFIG.md in empty spaces
The configuration-manager plug now creates and owns the managed  CONFIG.md block on first save, so the server no longer needs to  inject a template. Client also gracefully handles the absense of CONFIG.
2026-04-21 10:09:28 +02:00
Zef Hemel 88c3f00b7d First iteration of the new: configuration-manager plug
Adds the `Configuration: Open` command (Ctrl/Cmd-,) (and `Configuration: Key Bindings` also) backed by a Preact UI compiled through the new plug build steps. Supports editing scalar, enum, password, and object fields against the registered JSON schemas, plus a shortcuts tab with a chord recorder that handles multi-stroke sequences and multiple alternate bindings per command.

Edits are written back into a managed `space-lua` block (created  from template/CONFIG.md on first save).
2026-04-21 10:08:27 +02:00
Zef Hemel d25e98b932 Std Library: wire schema defaults and UI categories
Registers UI categories and moves default values from `config.set` blocks into schema `default` fields, so the configuration manager can drive everything directly from the schema. Only `actionButtons`, whose entries hold function bodies, stays in `config.set`.

Also adds a schema for `github.*` settings so the integration shows  up in the configuration UI (later commit)
2026-04-21 10:06:52 +02:00
Zef Hemel 21ce019ede Editor: move built-in commands from plug to client
Cursor motions, selection, delete, undo/redo, completion, and the various navigator/palette openers are registered directly on the CommandHook from client code, eliminating the async plug round-trip that was racing Enter/Backspace handling in some cases (especially e2e tests).

CommandHook gains `registerCommand` and a shared `mergeCommand`  helper so built-ins, plug commands.
2026-04-21 10:05:38 +02:00
Zef Hemel dcc5f8992c Plug compiler: add "build" steps (esbuild/sass/copy)
Adds an optional `build:` section to plug manifests, running esbuild,  sass, or copy transforms before asset bundling. Enables plugs to ship bundled TSX/SCSS UIs (used by the upcoming configuration-manager plug).
2026-04-21 10:04:34 +02:00
Zef Hemel 0c9c07b3e6 Config: schema defaults, UI categories and annotations
`config.define` now propagates schema `default` values, so features like smart quotes no longer need their own fallback constants.

Adds `defineCategory` / `getCategories` for the upcoming configuration  manager UI.
2026-04-21 10:03:40 +02:00