numan and GitHub
afebdcf64c
fix: bottom search bar dark mode styles ( #1614 )
2025-10-11 20:12:11 +02:00
Ohad Lutzky and GitHub
2ba095a181
Add autolinks to documentation ( #1609 )
2025-10-10 17:52:38 +02:00
Zef Hemel
3fa9c82add
Fixes #1598
...
Lua: Implements %u in os.date()
2025-10-10 09:11:14 +02:00
Zef Hemel
5c4c71df8e
Fixes #1608
...
Status code is now passed via x-proxy-status-code header
2025-10-10 08:51:24 +02:00
MrMugame and GitHub
00af994d69
Fix navigation for Autolinks and clean up code ( #1607 )
2025-10-10 08:42:25 +02:00
Zef Hemel
458bdb515c
Minor documentation tweaks + added additional Youtube video.
2025-10-09 20:34:24 +02:00
e45ac0c2ab
Fix docker build by fixing Go installation when TARGETARCH is unset ( #1606 )
...
Co-authored-by: Casey Grzecka <caseyg@accuglassproducts.com >
2025-10-09 20:10:00 +02:00
Zef Hemel
aaaee4299a
2.1.9
2025-10-09 15:56:41 +02:00
Zef Hemel
5f64d7c143
Fix only supporting a single virtualPage
2025-10-09 15:56:16 +02:00
Zef Hemel
17e838883b
2.1.8
2025-10-09 09:59:43 +02:00
Zef Hemel
91d356000a
Reimplement full-text search command/virtual page in Lua
2025-10-09 09:45:17 +02:00
Zef Hemel
18e78e5006
Lua: fix key deletion in tables
2025-10-09 09:19:58 +02:00
Cole Stowell and GitHub
34b143f5db
fix: include config in syscalls ( #1601 )
2025-10-08 21:26:50 +02:00
Zef Hemel
d3892aea39
Update build instructions in README
2025-10-08 10:18:24 +02:00
Zef Hemel
ba73fd24cb
Content type setting on .proxy
2025-10-08 09:01:47 +02:00
Zef Hemel
83aa5bc349
Fix in content type handling of http.request
2025-10-08 08:59:28 +02:00
Oleksandr Kuvshynov and GitHub
42dc543be1
silverbullet: fix circular recent page deletion ( #1599 )
2025-10-07 21:01:44 +02:00
Zef Hemel
5c4fb64c24
Ref render documentation
2025-10-07 16:46:27 +02:00
Zef Hemel
c8fe66c3ac
Changelog and new videos in manual
2025-10-07 16:41:55 +02:00
Zef Hemel
3be377ceef
Virtual Page API
2025-10-07 16:38:57 +02:00
Zef Hemel
b126320c5a
Better readOnly checking, making sure that tag pages are never saved,
...
for instance
2025-10-07 14:33:54 +02:00
Zef Hemel
869f4c6dd3
Remove duplicate appearance of items on the tag page
2025-10-07 13:21:24 +02:00
Zef Hemel
f9527c8238
Lua: allow passing in a number to tonumber
2025-10-07 09:07:12 +02:00
Zef Hemel
4f44426346
Fixes #1595
...
Accidentally was using `+` instead of `..` operator.
2025-10-07 09:02:55 +02:00
Oleksandr Kuvshynov and GitHub
1b56357aa4
silverbullet: fix ToC rendering when item itself is a link. ( #1597 )
...
When item itself is a link, it seems to be rendered as
`[[[[header_name]]]]`
Just stripping `[[ ]]` from the title before creating anchor link.
2025-10-07 08:11:06 +02:00
Nico S. and GitHub
c7d9bd29f8
Update space.md: addded "space.pageExists()" ( #1594 )
2025-10-06 18:22:04 +02:00
Zef Hemel
ad94c95c18
Lint
2025-10-06 17:22:49 +02:00
Zef Hemel
dde3433b87
Some tag page improvements:
...
* More efficient
* Now also exposes data objects
New markdown.objectToTable syscall to turn a list of objects into a
markdown table.
2025-10-06 17:22:10 +02:00
Zef Hemel
c3a6d7aaaf
Add data to itags for data objects to be able to distinguish them.
2025-10-06 16:50:12 +02:00
Zef Hemel
51e1eaf817
/.proxy enhancements
...
Now cleanly separates request and response headers for the request and
response of the http request from the ones that SB needs/serves itself.
2025-10-06 14:38:00 +02:00
Zef Hemel
fff65f9094
Fixes #1593
...
Lua widget output can now be selected
2025-10-06 10:35:05 +02:00
Zef Hemel
5be6297271
2.1.7
2025-10-04 15:41:12 +02:00
Zef Hemel
abf7f2782d
Fixes #1589
...
Symlinks are supported again
2025-10-04 15:30:30 +02:00
Matouš Jan Fialka and GitHub
e91bec71c0
Fix Lua arithmetic model ( #1587 )
...
This patch fixes the Lua arithmetic model at parser level only. Runtime
level fixtures are left for future work.
MOTIVATION
Space Lua treats all numbers as IEEE-754 doubles (JS semantics), so it
preserves negative zero. Lua uses integers and floats. The literal "-0"
in Lua is parsed as unary minus applied to the integer literal "0",
which yields the integer "0" (no sign). This difference flips the sign
of the divisor in "1/-0" and "-1/-0". Although it could be fixed without
touching the parser by changing only unary minus evaluation, this commit
goes a little further and provides integer vs float differenciating at
the parser level as well uses it to fix the unary minus evaluation.
Extensive tests are added to test this exact change works and the Space
Lua arithmetic model is aligned with Lua. Note that things like `-(expr)`
in general may still produce results inconsistent with Lua. This cannot
be fixed at parser level and must be fixed at runtime level which will
need far more complex change to the Space Lua interpreter code. Therefor
these cases we omitted from the tests.
Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz >
2025-10-03 16:31:00 +02:00
Zef Hemel
d919a2e97c
Fix caching of index page for offline on auth setups
2025-10-03 10:43:28 +02:00
Zef Hemel
b530d99dd6
No longer accept < and > in page names to avoid potential exploints
2025-10-03 09:00:38 +02:00
Matouš Jan Fialka and GitHub
9967cf1fd1
Space Lua: Remove unary plus ( #1585 )
...
* Improve documentation on string to number conversion (plus minor fixes of typos)
* Update Lua grammar to disallow unary plus
Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz >
2025-10-03 08:28:36 +02:00
David Hayes and GitHub
731a0cf334
Handle incoming signals and add more logging around server start. ( #1584 )
2025-10-02 19:25:15 +02:00
Zef Hemel
5222252a23
Fixes #1580
...
Added $SB_URL_PREFIX to health check endpoint URL docker uses
2025-10-02 09:52:35 +02:00
Zef Hemel
df7eff1e3d
make fmt
2025-10-01 17:14:54 +02:00
Zef Hemel
b333d4ac36
Remove redundant disk_space_primitives
2025-10-01 17:14:46 +02:00
Zef Hemel
b0b6087659
Removed unsupported transclusion syntax from docs
2025-10-01 16:57:56 +02:00
Matouš Jan Fialka and GitHub
c9c6a212a5
Improve documentation on string to number conversion (plus minor fixes of typos) ( #1579 )
...
Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz >
2025-10-01 15:56:26 +02:00
Amanda Stjerna and GitHub
7b7e905790
LIQ: add mention of rendering links ( #1578 )
2025-10-01 13:19:11 +02:00
Zef Hemel
fbdde5aae6
Use full page path in full-text search results
2025-10-01 12:55:28 +02:00
Zef Hemel
5b7e4c6027
Switch default generated CONFIG page use of the config.set API.
2025-10-01 11:31:40 +02:00
Matouš Jan Fialka and GitHub
80f31da16b
Fix arithmetic coercion - refactored and enhanced ( #1576 )
...
The Lua 5.4 compatible `tonumber` implementation completely reworked
- custom char-by-char parser (no regexes)
- proper Lua space handling
- support for heximal integers and floats
- support for scientific float notation
- extended tests
- updated website docs
Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz >
2025-10-01 11:30:58 +02:00
Zef Hemel
26d9d5bdf0
Restructure standard library and improve documentation
...
Refactor Library/Std into subfolders for APIs, Infrastructure, Editor,
Widgets, etc. Add more documentation and descriptions. Update references
throughout website and docs.
2025-10-01 11:22:31 +02:00
Zef Hemel
bcb5fa5655
Properly fix #1577
2025-10-01 08:38:57 +02:00
Zef Hemel
99834a8b5b
Fixes #1577
...
There was a recursive parent looking loop happening
2025-10-01 08:36:16 +02:00