Zef Hemel
a2c0c01ac7
preact upgrade
2026-01-15 09:27:06 +01:00
Zef Hemel
840e0c5fea
Tuned the filterbox and fuse-based filtering
...
* Upgraded fuse library
* Removed the category support in the filterbox, it was buggy and hides
command names
* Tweaked fuse parameters for (hopefully) better matches in the page
picker (and everywhere where the filter box is used)
2026-01-15 09:17:34 +01:00
Zef Hemel
cf49b9372f
Add message queue flushing to Client: Clean
2026-01-15 08:42:06 +01:00
Zef Hemel
3924b903fd
comment fix
2026-01-14 08:34:13 +01:00
Zef Hemel
062c1ea44d
Fix: addParentPointers re-attaches parents even if a sub-tree already
...
has some
+ some cleanup
Properly addresses #1776
2026-01-14 08:33:29 +01:00
Zef Hemel
50f418d41a
Position based transclusions now left-margin shift content
2026-01-13 15:45:29 +01:00
Zef Hemel
0f4d5a5437
system.getBaseURI syscall
2026-01-13 15:44:52 +01:00
Zef Hemel
68dc078668
Remove unnecessary flash notifications when copying anything to the
...
clipboard
2026-01-13 15:44:39 +01:00
Zef Hemel
088f51268f
Fix: Support transcluded markdown widgets
2026-01-13 15:44:07 +01:00
Zef Hemel
87c068fcc9
Remove debug code
2026-01-12 17:32:10 +01:00
Zef Hemel
43bd9efaf7
* Add "view" button to transclusions, jumping to ref
...
* Tweaks to markdown.expandMarkdown syscall
2026-01-12 17:19:23 +01:00
Zef Hemel
cdced5349f
Fix Edit button on transclusion widgets
2026-01-12 17:19:23 +01:00
Zef Hemel
3461b19f83
Item and transclusion refactor
2026-01-12 17:19:23 +01:00
Zef Hemel
fb3dd51bdb
Inline content refactor
2026-01-12 17:19:23 +01:00
MrMugame and GitHub
4cd12c8ae7
Set base inside of iframes ( #1766 )
...
* Set base inside of iframes
* Add `system.getURLPrefix` syscall
2026-01-09 15:30:34 +01:00
Lennart Ochel and GitHub
7ffcd83c44
Support |^| to set cursor position in virtual pages ( #1764 )
2026-01-08 16:15:57 +01:00
Zef Hemel
484c746bf0
Reduce widget "flapping"
2026-01-08 16:01:42 +01:00
Zef Hemel
63734ee231
Lua: table.find can now take a nil table and not fail (convenient for
...
queries)
2026-01-08 15:00:35 +01:00
Zef Hemel
dc21c5f6aa
Add syscalls to retrieve both file and page content together with meta
...
in 1 call (optimization opportunity)
2026-01-08 14:05:50 +01:00
Zef Hemel
286d5ff72b
Remove debug logging
2026-01-08 14:05:26 +01:00
Zef Hemel
9acf314880
Fix initial index race condition
2026-01-08 12:10:45 +01:00
Zef Hemel
a5a169df1b
More verbose sync error
2026-01-08 10:08:49 +01:00
Zef Hemel
f3680231b7
Fixes #1740 Attaches data-* attributes to attributes in the editor for
...
custom styling
2026-01-08 09:47:10 +01:00
Zef Hemel
757896d502
Fixes #1730 Introduces editor:fold and editor:unfold event, also
...
documents some other events while at it.
2026-01-08 09:30:40 +01:00
Zef Hemel
cd1fdca1e0
Fixes #1679 If CONFIG code is broken (e.g. parse error) will now attempt
...
another boot sequence without CONFIG.
2026-01-08 08:38:41 +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
aa9132d918
Further bug fixes and optimizations
2026-01-07 16:26:43 +01:00
Zef Hemel
596b92cd55
Reindex refactor feature complete
2026-01-07 15:44:04 +01:00
Zef Hemel
c93d656ac6
Significant refactor of index
...
* Moved YAML library import to index plug (so no async syscalls anymore)
should speed things up
* Merged task and item indexing
* Merged tasks plug into index (questionable)
* taskstate is now no longer a tag, but needs to be configured via
configs
2026-01-07 11:00:32 +01:00
Zef Hemel
46b12d2a41
Rename editor to client
2026-01-06 12:19:39 +01:00
Zef Hemel
658f6e4e18
Undoes the 2 stage index
...
This caused too many edge cases. Will work on optimizing the one-pass
index instead (not part of this commit).
2026-01-05 15:34:45 +01:00
Evgeny Zislis and GitHub
eda9f17915
Fix Lua widgets not re-rendering when page metadata loads ( #1759 )
...
Trigger editor re-render after page metadata is loaded to ensure Lua
widgets re-evaluate with the correct context. This fixes issue #1729
where widgets would show broken state on initial page load because
ctx.currentPage would be nil until the metadata finished loading
asynchronously.
The fix dispatches an empty CodeMirror transaction after updating the
page metadata, which triggers all decorator state fields (including
Lua widgets) to re-render with the updated metadata.
2026-01-04 14:23:09 +01:00
Sebastian and GitHub
4fd2d71fbd
Improve hamburger menu behavior in mobile mode ( #1723 )
2025-12-19 15:14:36 +01:00
Justyn Shull and GitHub
b9bbb32051
Fix missing x-proxy-headers- from non-lua fetch calls ( #1721 )
...
* Fix missing x-proxy-header- on proxied fetch calls
* Don't use https for host.docker.internal proxied urls
2025-12-11 12:06:31 +01:00
Zef Hemel
178cf2d01f
Fix in error propagation during boot
2025-12-10 16:43:16 +01:00
Zef Hemel
992d83f015
Fixes #1720
...
Stop intercepting exceptions during single file sync so they become
visible in the UI
2025-12-10 10:05:07 +01:00
Zef Hemel
2efeb93b47
Implements #1707
...
This splits indexing into two phases:
* preindex (where only pages, space lua, space styles are indexed)
* index (where everything else is indexed)
The goal is to get to more-or-less operational state quicker this way,
because probably most functionality can already be enabled after the
pre-index phase.
2025-12-10 09:48:09 +01:00
Thomas Jost and GitHub
bd132dacb2
Include sourcemaps in production builds ( #1717 )
...
This makes it easier to debug issues, but also to understand SilverBullet
internals while developing new features in Space Lua.
Fixes #1699 .
2025-12-10 09:30:32 +01:00
Zef Hemel
8c07783460
Only show offline error for offline errors
2025-12-06 17:17:32 +01:00
Zef Hemel
b4f8a0ce8b
Fixes #1091 In case an auth proxy (such as CF Zero Trust) attempts a
...
redirect, SB now kills the service worker and reloads in the hope that
the redirect will actually kick in.
2025-12-05 15:27:50 +01:00
Matouš Jan Fialka and GitHub
5b03ed872c
Space Lua: Add <const> attribute ( #1715 )
...
* Space Lua: Implement <const> attribute
Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz >
* Space Lua: Implement <const> attribute
- Add Lua attributes with parse time validation
- Add `<const>` attribute semantic tests
Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz >
---------
Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz >
2025-12-03 15:44:15 +01:00
Tomasz Gorochowik and GitHub
ca76e880d7
Improve links in frontmatter ( #1711 )
2025-11-28 14:43:24 +01:00
MrMugame and GitHub
eb6b232444
Fix document editors on safari ( #1710 )
...
* Revert document editors to old model
Safari had issues with the previous "hacky" way
* Cleaup panel code
2025-11-28 14:40:05 +01:00
Zef Hemel
b6e08e8fc7
Fixes #1705
...
Performing (implicitly) async actions in a `where` filter wasn't
supported. Fixed now.
2025-11-25 13:51:53 +01:00
Zef Hemel
0f57a03542
Remove full-text search from SB core
...
Now available as separate library:
https://github.com/silverbulletmd/basic-search/blob/main/PLUG.md
2025-11-24 16:33:17 +01:00
Zef Hemel
9e8e717ea3
Fixes #1352
2025-11-24 09:57:02 +01:00
Lelouch He and GitHub
7afda4aa37
Follow the system theme automatically when dark mode toggle was not set before ( #1696 )
...
* follow browser theme unless darkmode was set before
* trigger workflow
2025-11-21 15:46:25 +01:00
Matouš Jan Fialka and GitHub
c50bb49205
Space Lua: Add support for \t in strings ( #1698 )
...
Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz >
2025-11-21 09:36:45 +01:00
Zef Hemel
8395d2ab63
Propagate errors (e.g. when disabled) for proxy fetch
2025-11-19 14:57:32 +01:00
Zef Hemel
b0f6b9a33d
Add permission check before write/delete operations This avoids
...
accidentally writing to a read-only file and only finding out about it
after a sync.
Also removes redundant space primitive implementations that weren't used
2025-11-19 14:57:10 +01:00