Zef Hemel
26ba11b362
lint fixes
2025-11-07 16:29:19 +01:00
Zef Hemel
196fa4f51e
CHANGELOG updates
2025-11-07 16:28:27 +01:00
Zef Hemel
125c11721a
New Share, Library, Repositories support
2025-11-07 16:28:20 +01:00
Zef Hemel
d62b749cc0
Updated Library/Std to follow new Library format
2025-11-07 16:27:27 +01:00
Zef Hemel
a897d73a5e
Remove Import infrastructure
2025-11-07 16:26:24 +01:00
Zef Hemel
7b76f1cc75
Merged Github and Gist into single Share and URI provider
2025-11-07 16:26:13 +01:00
Zef Hemel
ac8cc7cda7
Updated Export scope
2025-11-07 16:25:52 +01:00
Zef Hemel
09b157ce00
List sub-tags on the tag page
2025-11-07 16:00:34 +01:00
Zef Hemel
5db3e136ab
Build the silverbullet binary when running make website.
2025-11-07 16:00:11 +01:00
Zef Hemel
d890b741c8
Exclude plugs from completions
2025-11-07 11:13:27 +01:00
Zef Hemel
266624b8b2
Fixes to patchFrontMatter
2025-11-07 10:52:25 +01:00
Zef Hemel
7cec9b6121
Lua: introduce net.* APIs and deprecate http.request in favor of new
...
net.proxyFetch API
Introduces foundation support for URIs (net.readURI, net.writeURI).
2025-11-07 10:51:17 +01:00
Zef Hemel
f65abb4704
Lua: start of crypto.* API
2025-11-07 10:49:13 +01:00
Zef Hemel
13bd2c9082
Exposing MQ to Lua properly
2025-11-07 10:48:40 +01:00
Zef Hemel
4a34b6c6a3
Properly map JS call return value in Lua
2025-11-07 10:47:56 +01:00
Zef Hemel
44a9ae6c0e
Support deletion of keys in YAML patch library
2025-11-07 10:47:11 +01:00
Zef Hemel
f0d13b2d60
Lua: index.tag sanity check
2025-11-07 10:46:40 +01:00
Zef Hemel
63bb23f8fb
Service bus (services API) implementation
2025-11-07 10:46:14 +01:00
Zef Hemel
cc317d8451
Sanity check on KV key building (checking for string type)
2025-11-07 10:43:57 +01:00
Zef Hemel
732c6a5589
Loading of plugs is no longer restricted to _plug
...
Builtin plugs are generated under Library/Std/Plugs path now.
2025-11-07 10:43:25 +01:00
Matouš Jan Fialka and GitHub
3422a9fa20
Add Space Lua benchmarks based on Deno.bench aligned to Deno.test ( #1649 )
...
Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz >
2025-11-05 15:06:33 +01:00
Zef Hemel and GitHub
df28a3f04d
Add Liberapay funding option
2025-11-05 08:56:10 +01:00
Zef Hemel
f44f00f4c2
2.2.1
2025-11-03 07:56:44 +01:00
Zef Hemel
93b3994e82
2.2.0
2025-11-03 07:54:18 +01:00
Zef Hemel
1b28f04bdf
A few refinements for Lua APIs
2025-10-31 17:07:40 +01:00
Zef Hemel
7403aa5acc
Lua code complete fix
2025-10-31 09:13:36 +01:00
Zef Hemel
5654a6bc6d
config.insert syscall
2025-10-31 09:13:24 +01:00
Zef Hemel
2ac006d354
Fixes #1625
2025-10-30 15:56:01 +01:00
Zef Hemel
f28815d642
Fixes #1622
2025-10-30 15:48:19 +01:00
Zef Hemel
c3aea2cf8c
When a Lua error occurs, report it and jump to source of occurance (best
...
effort)
2025-10-30 15:35:34 +01:00
Zef Hemel
000b76a6f7
Support adding additional content to <head> using the SB_HEAD_HTML env
...
variable
2025-10-30 11:42:08 +01:00
Zef Hemel
7c6becc7db
Fix link to query templates in website
2025-10-29 09:50:22 +01:00
Zef Hemel
a7597454bd
Fixes #1651
2025-10-29 09:46:20 +01:00
Zef Hemel
4c8dc704b7
Support embedded widgets and markdown with dom.* API
2025-10-29 09:30:48 +01:00
Zef Hemel
dbe80bed8c
Nicer error in case of empty Lua expression n directive
2025-10-29 08:56:08 +01:00
Zef Hemel
496ac5c69d
Fix exception in code completion caused by tags table
2025-10-29 08:55:58 +01:00
Mihai Maruseac and GitHub
8fdbc48f6d
Make the link to the site point to real site. ( #1655 )
2025-10-29 06:04:40 +01:00
Zef Hemel
0c5d4b73be
Prometheus metrics support
2025-10-27 17:21:50 +01:00
Zef Hemel
6ccff6c9b0
Rudamentary Prometheus metrics support
2025-10-27 17:21:12 +01:00
Zef Hemel
1838cc4eb1
Encryption auth redirect
2025-10-23 09:18:51 +02:00
Zef Hemel
18bea2e113
Client: Clean command
2025-10-23 09:03:57 +02:00
Zef Hemel and GitHub
272f293ddb
Optional client encryption ( #1640 )
...
Implements #1268
2025-10-22 15:35:37 +02:00
Matouš Jan Fialka and GitHub
cd6f4e9c58
Space Lua: Align .. (concatenation) operator ( #1648 )
...
* Make fallback accept only strings and numbers (as per standard Lua).
* Remove `luaToString` from the fallback. It fits well presentation
purposes but is too complicated for strict semantic checking in the
evaluator and also wrongly coersed non-string and non-number value.
It may also return a promise but we require synchronous error path.
* Concatenating `nil` now throws "attempt to concatenate nil value" as
per standard Lua.
* Other types throw "attempt to concatenate a non-string or non-number"
which is simplified message diverting from standard Lua which throws
typed error but we do not strictly need that for Space Lua (and can be
easily added anytime in the future).
Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz >
2025-10-22 10:41:26 +02:00
Matouš Jan Fialka and GitHub
4b9829c59c
Space Lua: Add rawget and rawequal functions ( #1647 )
...
Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz >
2025-10-21 13:41:36 +02:00
Matouš Jan Fialka and GitHub
9292ae4b74
Space Lua: Align length features with standard Lua ( #1637 )
...
* Align `#` operator and `__len` metamethod with Lua and add `rawlen` function
Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz >
2025-10-21 09:55:38 +02:00
Zef Hemel
0e4141e22e
Ensure level is actually a number in TOC widget
...
New Lua interpreter is more strict about comparing strings and numbers.
2025-10-20 19:51:43 +02:00
Zef Hemel
82800ad9bc
No longer supress errors coming from event handlers
2025-10-20 19:50:55 +02:00
Zef Hemel
abe2f6b909
Refactoring some server side stuff
2025-10-20 19:15:51 +02:00
Matouš Jan Fialka and GitHub
b363bd7e59
Fix serious truthiness evaluation flaws. ( #1644 )
...
In Lua, only the last expression in an argument list preserves multiple
results and all earlier expressions yield exactly one value (their first).
For example:
```
f(a(), b(), c())
```
where
```
a -> (1,2)
b -> (3,4)
c -> (5,6)
```
becomes
```
f(1, 3, 5, 6)
```
which matches Lua behaviour (tested in version 5.4).
Changes:
* Function argument lists keep multiple results only from the last
argument.
* Fixes failing truthiness tests (`true and ret_one_two()`).
Sidenote: the `truthiness_test.lua` was not called at all because of
my obvious copy/paste typo (the `arithmetical_test.lua` was called twice
instead; now fixed too and both test suites pass ok).
2025-10-20 17:34:45 +02:00
Matt Nodurfth and GitHub
b7870f36e7
Keybindings - Update disable key bindings documentation ( #1641 )
2025-10-17 07:43:41 +02:00