Commit Graph
100 Commits
Author SHA1 Message Date
Zef Hemel 693706b66e v1 code contribution guidelines 2026-01-14 09:29:39 +01:00
Zef Hemel 9bf093ecdd Initial version of an LLM policy 2026-01-14 09:20:19 +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 27c67878e5 CHANGELOG 2026-01-13 19:24:41 +01:00
Zef Hemel db20a9be77 Link snippet rebuild Now more "block" based: includes current line and
subsequent ones if they're at a deeper indentation level
2026-01-13 15:47:47 +01:00
Zef Hemel bc1f5c6ed0 Docs fix 2026-01-13 15:46:47 +01:00
Zef Hemel ef961d5f79 Navigate: Copy Ref to Current Position and `Navigate: Copy Link to
Current Position` commands
2026-01-13 15:46:27 +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 067e1058d2 Item indexing refactor 2026-01-12 17:19:23 +01:00
Zef Hemel b504a88611 Subpages widget 2026-01-12 17:19:23 +01:00
Zef Hemel a14b2af3c6 Docs work 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 c2488f38ea Website docs refactor 2026-01-12 17:19:23 +01:00
Zef Hemel fb3dd51bdb Inline content refactor 2026-01-12 17:19:23 +01:00
Zef Hemel a0d3c9bfba Hack fix: show alert and force a reload when client code hasn't been
updated yet in cache.
2026-01-08 17:17:16 +01:00
Zef Hemel 484c746bf0 Reduce widget "flapping" 2026-01-08 16:01:42 +01:00
Zef Hemel 5e5ef0fb85 Fixes #1754
Adds `links` and `ilinks` attributes to `task` and `item` objects.
2026-01-08 15:03:48 +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 ff60237d95 use readPageWithMeta syscall to reduce indexing cost 2026-01-08 14:06:58 +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 1e20b9e1f5 Website upgrade 2026-01-08 11:45:34 +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 3c15b6301b Mock fix 2026-01-07 16:30:43 +01:00
Zef Hemel 686b3affe1 Merge branch 'index-refactor' 2026-01-07 16:27:14 +01:00
Zef Hemel aa9132d918 Further bug fixes and optimizations 2026-01-07 16:26:43 +01:00
Zef Hemel bd5ea26b45 index time reporting 2026-01-07 15:51:33 +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 9eba693ffd Remove dead code 2026-01-06 15:39:08 +01:00
Zef Hemel 2470bea0b5 Start of rudementary refactoring of indexing Making index logic actually
testable. Three indexers migrated:
* page
* data
* item
2026-01-06 12:21:02 +01:00
Zef Hemel 46b12d2a41 Rename editor to client 2026-01-06 12:19:39 +01:00
Zef Hemel 24a03e1073 CHANGELOG updates 2026-01-05 15:44:00 +01:00
Zef Hemel 38f411baa3 Disables indexing all paragraphs by default
To enable: `config.set("index.paragraph.all", true)`
2026-01-05 15:36:40 +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
Zef HemelandGitHub 8719e15f2e Shields in README 2025-12-27 17:03:46 +01:00
Zef Hemel 34a5b2d508 Edge changelog updates 2025-12-19 16:17:34 +01:00
Zef Hemel f9be584dce Deno version fix attempt 2025-12-19 15:18:52 +01:00
Zef Hemel b96c56d84e Deno upgrade to 2.6.1 2025-12-18 11:49:56 +01:00
Zef Hemel d5aa4e9354 Clarify authentication proxies 2025-12-10 17:08:30 +01:00
Zef Hemel 178cf2d01f Fix in error propagation during boot 2025-12-10 16:43:16 +01:00
Zef Hemel 2772cd408f Switch silversearch to edge build 2025-12-10 10:11:26 +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
Zef Hemel 5d9caacc30 Add source for change to URL decoding 2025-12-10 09:48:02 +01:00
Zef Hemel 4473164c96 Merge branch 'main' of github.com:silverbulletmd/silverbullet 2025-12-10 09:28:08 +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
Zef HemelandGitHub ff02481ede Add Patreon funding option 2025-12-01 19:01:13 +01:00
Zef Hemel 683a7d6747 Fix URL parsing in Chrome and other browsers 2025-11-26 09:55:02 +01:00
Zef Hemel dcd7230084 Fixes #1694 2025-11-25 14:17:02 +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 80b554a155 Fixes #1703 2025-11-24 16:01:12 +01:00
Zef Hemel 182fe4cc32 Add link to SilverBullet website in README 2025-11-24 13:23:55 +01:00
Zef Hemel 3ee1eb519c README update 2025-11-24 13:22:51 +01:00
Zef Hemel bfba987b2e Additional updates to changelog 2025-11-24 11:16:27 +01:00
Zef Hemel 28cc8787b3 URIs -> URI 2025-11-24 10:57:13 +01:00
Zef Hemel e7b03045e5 More page renames 2025-11-24 10:55:49 +01:00
Zef Hemel 0b028e4436 Library development page rename 2025-11-24 10:53:46 +01:00
Zef Hemel 21ddcb462e 2.3.0 2025-11-24 10:48:00 +01:00
Zef Hemel d5fbbbdaac Website content refactor (mostly pluralized page names to singular ones) 2025-11-24 10:47:10 +01:00
Zef Hemel 96fb9f8a03 Changelog and manual updates 2025-11-24 10:24:09 +01:00
Zef Hemel 2ced6de1ee Using topWidget to render beta-level on website 2025-11-24 10:24:02 +01:00
Zef Hemel 9e8e717ea3 Fixes #1352 2025-11-24 09:57:02 +01:00
Zef Hemel e837059501 Update TreeView URL to official repo 2025-11-19 17:00:52 +01:00
Zef Hemel 80ab0151cc CHANGELOG updates 2025-11-19 17:00:13 +01:00
Zef Hemel 34210b9a52 Rename LaTeX library to Math 2025-11-19 15:01:59 +01:00
Zef Hemel 8117342c2c Better URI to name translations for repo URIs 2025-11-19 14:57: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
Zef Hemel ce25cc9d9e Adding more libraries to the Std repo 2025-11-18 17:08:49 +01:00
Zef Hemel 5d0bcbd913 Update Excalidraw to official repo 2025-11-18 16:44:01 +01:00
Zef Hemel 6d81aeb4c2 Fixes #1687 2025-11-17 15:50:12 +01:00
Zef Hemel 79df63bd79 Add Silversearch to silverbullet.md
Alternative implementation of #1689
2025-11-17 14:54:50 +01:00
Zef Hemel 90473bd3b9 Website updates 2025-11-17 14:45:52 +01:00
Zef Hemel aae9805e32 Add a few more libraries to Std 2025-11-17 14:45:45 +01:00
Zef Hemel e74ac4b4d3 Default to full Github URLs in Github share support 2025-11-17 14:45:33 +01:00
Zef Hemel 0d4351cf7a Fix removing libraries support for files 2025-11-17 14:45:13 +01:00
Zef Hemel 8c34b35ed6 Website content redo 2025-11-14 15:36:38 +01:00
Zef Hemel 35ec8b162e Website: Funding 2025-11-14 15:34:42 +01:00
Zef Hemel 11fccb0552 Website: More elaborate architecture diagram 2025-11-14 15:34:21 +01:00
Zef Hemel f62a861762 Website: API classification 2025-11-14 15:33:01 +01:00
Zef Hemel a3b69bd47d Added Tag Picker
Bonus:
* Tag pages now include parent and child tags
* Optimized tag completion
2025-11-14 11:50:59 +01:00
Zef Hemel e01c8b3d83 Lua: fix edge case where querying wasn't supported for empty tags 2025-11-14 11:49:18 +01:00
Zef Hemel ec9fcd1ced More info on edge builds in CHANGELOG 2025-11-12 16:55:08 +01:00
Zef Hemel 391e70139e Library and Repostitory refinements 2025-11-12 16:54:55 +01:00
Zef Hemel f0e6bb243a Don't show a border when using button widgets 2025-11-12 16:54:07 +01:00