Commit Graph
43 Commits
Author SHA1 Message Date
Zef Hemel e34d6edb3c fix: avoid duplicate text when a page is edited externally in sync mode 2026-08-09 16:07:14 +02:00
Zef Hemel 64c4581b0e Initial implementation of experimental Comment support (parsed and custom rendered HTML comments) 2026-08-06 10:15:57 +02:00
Zef Hemel 1414eb1999 Fix: use the platform-correct redo chord in e2e tests 2026-08-05 11:22:16 +02:00
Zef Hemel 3feb262670 E2E tests for live external editing 2026-08-05 11:02:51 +02:00
Zef Hemel e373d7393f Fix: support renaming pages/files with different casing 2026-08-04 09:38:09 +02:00
Zef Hemel 992f2617ec Space Manager: navigate to space list after hitting Save 2026-07-31 15:40:55 +02:00
Zef Hemel e9ff819735 Enable runtime API by default (previous default) 2026-07-31 15:35:08 +02:00
Zef Hemel c135bcbdb7 fmt 2026-07-28 13:56:28 +02:00
Zef Hemel 40b9999ec5 Added anchor navigation to page picker (type $ to activagte) 2026-07-28 12:04:54 +02:00
Zef Hemel a99e5d98be Space Manager UI 2026-07-23 14:52:48 +02:00
Zef Hemel b90d8869d5 Multi-space with accounts and first-run setup 2026-07-23 14:51:20 +02:00
Zef Hemel 7e0770d1f4 SW proxy router changes 2026-07-23 14:47:31 +02:00
Zef Hemel 7b070e9964 Multi-space: remove support for port-binding 2026-07-16 12:45:36 +02:00
Zef Hemel 75ca3b9c39 Migrate Lua code complete and code navigation to typescript 2026-07-16 12:06:59 +02:00
Zef Hemel 28f1f8af16 Long overdue "make fmt" sorry about this one 2026-07-14 15:58:15 +02:00
Zef Hemel 543749868e Multi-space mode: first pass 2026-07-14 15:38:22 +02:00
Zef Hemel 9d3642bc72 New syscalls for schema-self describing 2026-06-30 10:51:17 +02:00
Zef Hemel 10bf48dd8c Fix: Disable "Bake" button on fenced code blocks 2026-06-24 15:52:55 +02:00
Zef Hemel 50d8f1f09f Feature: baked sections 2026-06-23 17:14:41 +02:00
Zef Hemel 55f53fc9a6 Update reference from website/ to docs/ everywhere 2026-06-23 09:15:34 +02:00
Zef Hemel 4d25eec15f Build optimization 2026-06-19 16:10:14 +02:00
Zef Hemel ec04bc6818 Fix: clicking a link always sends you to the top of the page (or wherever the ref points), not restoring previous scroll/selection state 2026-06-19 15:47:25 +02:00
Zef HemelandGitHub 91e76d0c78 Rust backend/CLI replacement (previously Go) (#2010)
* Rust backend: initial setup and space primitives implementation + tests

* Rust: initial basic server setup

* Rust server: auth layer

* Rust: added specific auth layers

* Rust: shell and proxy endpoints

* Rust: SSR and Prometheus metrics

* Rust: runtime API

* Rust: basic working silverbullet binary server

* Rust: fix client file caching

* Rust: in dev mode, update version number dynamically

* Rust: build-rs Makefile target

* Rust: auth and start of 'sb' CLI

* Rust: headless Chrome runtime runner

* Rust: basic e2e tests for Rust build

* Rust: docker builds

* Rust: forgot to commit silverbullet-bin code

* Rust: cross compile and chrome driver fixes

* Rust: waiting for ready status fixes

* Rust: sb-CLI port

* Rust: use native build toolchain

* Rust: fix build chain

* Rust: edge release builds

* Rust: FreeBSD and armv7 builds

* Rust: edge-upgrade from edge-rust release

* Rust: fix FreeBSD build

* Rust: fix FreeBSD build

* Rust: get rid of Go code

* refactor: rename library crates to server- prefix convention

* Rust: refactoring, moving crypto around

* Rust: more refactoring

* Runtime: internal renaming

* Fix: cursor placement after paste on Webkit browsers

* Tweak how version numbers are generated and consumed

* Cleanup CI situation

* Fix CI

* Fix e2e

* ci: website image uses :edge channel (was :v2) post-merge

* Rust: restore manifest.json endpoint

* Rust: ready to merge
2026-06-16 08:40:41 +02:00
Zef Hemel 3ee2d4ef73 refactor (simplification): eliminate (CM-based)MiniEditor replaced with standard browser input 2026-06-02 09:00:43 +02:00
Zef Hemel 605382578c lint fixes 2026-05-31 13:01:33 +02:00
Zef Hemel a3feeb9a71 Alternative approach to properly aligning lists and tasks with indentation 2026-05-28 13:26:09 +02:00
Zef Hemel 83765385d2 Fix e2e flakiness (again) 2026-05-28 13:25:21 +02:00
Zef Hemel 370bd33619 Fix: forced rebuild index handling
And also bumps index version to force reindex (due to 'relation' introduction and 'link' elimination)
2026-05-22 15:56:00 +02:00
Zef Hemel 9134944896 Introduce "relation" indexer, demote "link" to virtual view 2026-05-21 16:49:34 +02:00
Zef Hemel fc16a75bc5 Fix: more cursor movements around widgets fixes
With e2e tests to avoid regressions...
2026-05-19 17:13:22 +02:00
Zef Hemel 171eecf461 e2e: regression tests around widget rendering 2026-05-18 10:04:17 +02:00
Zef Hemel 4e47809d86 runtime-api: SB objects handler 2026-05-14 16:44:44 +02:00
Zef Hemel 946cf6d1db Fix e2e tests 2026-05-14 08:08:07 +02:00
Zef Hemel 95ae979c54 Adjust journal e2e test to new journaling feature 2026-05-12 14:17:40 +02:00
Zef Hemel aa0996bbd0 Add X-Ray editor lens
New "Editor: Toggle X-Ray" command underlines every ranged object the indexer produces and shows a YAML tooltip per indexing tag on hover.
2026-05-09 12:32:11 +02:00
Zef Hemel 31efb8351f Fix e2e tests (again) 2026-04-14 20:59:23 +02:00
Zef Hemel 61f2ace09e Fix e2e tests 2026-04-14 19:02:40 +02:00
Zef Hemel 0627e7cb49 Fixes #1931 and #1923 (hopefully)
The service worker's proxy fallback only matched the wrapped "Offline"
error from HttpSpacePrimitives, but raw fetch() throws browser-native
errors like
"Failed to fetch" (Chrome), "NetworkError..." (Firefox), or "Load
failed"
(Safari). This caused a hard 503 instead of falling through to serve
local
data. Additionally, the `fullSyncConfirmed` flag reset on every service
worker
restart, forcing unnecessary proxying even when synced data existed in
IndexedDB.

In this commit:
- Use `isNetworkError()` in proxy_router.ts to catch all browser network
  errors
  and fall through to local serving instead of returning 503
* Recover `fullSyncConfirmed` from persisted sync snapshot on SW
  restart, so
  previously synced spaces serve locally immediately
* Adds e2e tests trying to emulate this behavior and prevent regressions
2026-04-14 08:01:43 +02:00
Zef Hemel a7ed4e074c Fix paste e2e tests for firefox 2026-04-12 10:51:20 +02:00
Zef Hemel c9f93dccde Fixes #1929 2026-04-12 10:33:44 +02:00
Zef Hemel 92c3121756 Add Playwright e2e tests for all scenarios described in website/Guide/* 2026-04-08 20:05:08 +02:00
Zef Hemel 431bf787ac Optimization: chunk up all coding languages
Even though the service worker will proactively cache them in the
browser, the browser will not have to load them, parse them, interpret
them unless these languages are actually used. Less JS to load, less
waiting.
2026-03-28 16:49:24 +01:00
Zef Hemel dc3c23b68f Initial set of PlayWright e2e tests 2026-03-24 10:47:01 +01:00