Commit Graph
6 Commits
Author SHA1 Message Date
Matouš Jan Fialka 0d49a7b0de [Space Lua] Load scripts without priority last during reload
The new null-aware ordering in `orderByCompare` changed the default
placement of undefined values for descending sorts to `nulls first` (SQL
standard). This caused Space Lua scripts without a `-- priority:`
comment to load before the `Std` library scripts and breaking the boot
sequence for user scripts ran before `schema`, `config`, `widget` and
other core definitions were available.

Add explicit `nulls: "last"` to the reload query so scripts without
priority always load last, matching the documented behavior.

Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz>
2026-03-02 13:44:28 +01:00
Zef Hemel c25a073e81 WIP 2026-01-20 13:48:15 +01:00
Zef Hemel cb0c74146d Lua: fix break edge case
As reported here:
https://community.silverbullet.md/t/break-is-broken/3739
2026-01-08 08:20:27 +01:00
Zef Hemel 596b92cd55 Reindex refactor feature complete 2026-01-07 15:44:04 +01:00
Zef Hemel f4336bf09f Code restructuring: eliminated the top-level lib/ directory 2025-09-23 17:00:34 +02:00
Zef HemelandGitHub a524c64884 Go backend (#1555)
* Replaces old Deno server with a Go implementation
* Restructured the code base accordingly
2025-09-19 13:23:20 +02:00