Zef Hemel
d33db399c8
Auto complete and lint fixes
2025-03-07 15:13:47 +01:00
Zef Hemel
0a80c5c537
Collapse PageRef, DocumentRef and LocationRef into a single Ref type
2025-03-07 13:49:20 +01:00
Zef Hemel
e56ff4ab07
Disable spell check on coding languages
2025-03-07 13:12:31 +01:00
Zef Hemel
fbe145e75b
deno task fmt
2025-03-07 12:18:14 +01:00
Zef Hemel
fe7dcb65c4
All tags starting with #meta are now considered meta pages
2025-03-07 11:47:40 +01:00
Zef Hemel
1807d7b572
Fix navigating to new pages being broken
2025-03-07 11:40:20 +01:00
Zef Hemel
1dc1103b2a
Moved indexPage configuration to SB_INDEX_PAGE env variable instead
...
Added /.config endpoint to more dynamically influence the configuration
2025-03-07 10:56:45 +01:00
Zef Hemel
af93da7c43
Authentication page layout improvements
2025-03-07 09:09:32 +01:00
Zef Hemel
0acd600222
Fix lint
2025-03-06 16:17:12 +01:00
Zef Hemel
605a586ca8
Reduce race condition on individual file sync and slow connection
2025-03-06 16:14:44 +01:00
Zef Hemel
4c58719bde
Fix having to reload 3x before new client files are properly loaded
2025-03-06 15:37:43 +01:00
Zef Hemel
1975b867ee
deno task fmt
2025-03-06 15:14:53 +01:00
MrMugame and GitHub
e61a447d98
Implementing #913 ( #1230 )
...
Implemented custom editors
2025-03-06 15:11:17 +01:00
Allie Stephan and GitHub
6190a4ff06
Vim Mode and Read Only Fixes ( #1240 )
...
* Vim Mode and Read Only Fixes
- remove client.focus call from global keydown handler. This call causes
issues with vim mode. For instance typing j with the editor not
focused would insert a j before properly going to normal mode instead
of just moving down a line as expected
- add client.reloadPage call to setUiOption syscall. This appears to fix
read only mode that is broken without the above focus call. In
particular when switching between vim and regular mode read only mode
was previously broken even with the client.focus call
- add client.focus call to CommandPalette onTrigger if no cmd is
selected. Without the client.focus call above, the editor is no longer
selected when exiting the command palette with escape - this call
fixes that
- add watch-all task to deno.json to run all 3 watches in 1 terminal
window
* Update watch-all
Fix watch-all order so that arguments get passed to watch-server
2025-03-02 15:22:33 +01:00
Mufeed Ali and GitHub
c37a2ae0ed
fix(editorState): Reset undo history after editor init ( #1267 )
2025-03-02 15:16:24 +01:00
Zef Hemel
f8ebafcbb4
Removed legacy fallback code in index.html as mentioned in #1262
2025-02-25 20:05:38 +01:00
MrMugame and GitHub
a6af94b9e3
Remove editor.setText syscall from client ( #1263 )
2025-02-25 20:02:59 +01:00
Zef Hemel
280fa2cd3c
Deno upgrade, lint related fixes
2025-02-25 18:05:58 +01:00
Simon Cambier and GitHub
411416fe65
Feature/move lines up down ( #1232 )
...
* Move lines up/down
2025-02-23 20:49:52 +01:00
Zef Hemel
6f4b02298c
deno task fmt
2025-02-23 20:46:41 +01:00
Zef Hemel
5cc7b47d6a
Fix lint
2025-02-22 12:21:07 +01:00
MrMugame and GitHub
606077b98a
Uses the correct function map for index navigation ( #1257 )
2025-02-22 12:19:03 +01:00
Kenneth Fitzgerald and GitHub
bd733398b8
Fix href check for action buttons ( #1246 )
...
* Fix href check for action buttons
Co-authored-by: Zef Hemel <zef@zef.me >
Co-authored-by: KitAmbraid <128903658+KitAmbraid@users.noreply.github.com >
2025-02-22 12:13:36 +01:00
MrMugame and GitHub
f553c62950
Fix spell checking for code blocks and inline code ( #1244 )
2025-02-22 12:06:01 +01:00
numan and GitHub
2a3c926849
add rebuildEditorState function to the syscalls ( #1254 )
2025-02-22 11:51:37 +01:00
Zef Hemel
9e0925beff
Fix lint issues
2025-02-22 11:50:44 +01:00
Zef Hemel
5111b5a380
http.request Lua syscall
2025-02-13 21:12:00 +01:00
Zef Hemel
9d3b9a8a22
Reduce code duplication
2025-02-13 20:11:08 +01:00
Zef Hemel
cf81594b02
Fixes #1236
2025-02-13 20:11:08 +01:00
Zef Hemel
7abb096382
Lua: better handle nil, null and undefined values for Lua directives
2025-02-10 20:30:37 +01:00
Zef Hemel
8e8acbb470
Fix service worker proxy
2025-02-10 15:38:14 +01:00
Zef Hemel
5eb2405823
Fixes #1234
2025-02-09 17:57:59 +01:00
Miró Allard and Zef Hemel
49b8a0f7dc
Auth: refresh visuals
2025-02-08 20:45:54 +01:00
Miró Allard and Zef Hemel
9dbf6a760f
Auth: use labels instead of placeholders
2025-02-08 20:45:20 +01:00
Zef Hemel
8f29cef717
Disable rendering widgets on federated pages (security)
2025-02-08 20:38:41 +01:00
Zef Hemel
38dc5bb11c
Reduce log noise
2025-02-08 20:34:34 +01:00
Zef Hemel
772fe82e3a
Fix lint error
2025-02-08 16:52:24 +01:00
Zef Hemel
9317d143b3
Fixes #1231
2025-02-08 16:51:31 +01:00
Zef Hemel
2978f4a8d6
Service worker tweaks in federated URL handling
2025-02-08 11:30:51 +01:00
Zef Hemel
2de149dca1
Merge branch 'main' of github.com:silverbulletmd/silverbullet
2025-02-07 21:07:13 +01:00
Zef Hemel
720154c39a
Return -> Enter
2025-02-07 21:07:09 +01:00
Zef Hemel
8eebb8dd67
Expose index.extractFrontmatter as syscall
2025-02-07 15:39:51 +01:00
Zef Hemel
44a1ce698e
Support plugs to register their own syscalls, using syscall (see the index plug for an example)
2025-02-07 15:16:57 +01:00
Zef Hemel
e1c997616c
Support ${lua expression} in templates
2025-02-06 11:58:27 +01:00
Zef Hemel
a169406d37
Lua: huge API breaking change: converted all snake_case APIs to camelCase
2025-02-06 10:04:45 +01:00
Zef Hemel
2e96155a05
Support scrollIntoView in insertAtCursor syscall
2025-02-06 08:37:34 +01:00
Zef Hemel
2ea3d8fe4f
Fixes #1227
2025-02-05 09:01:26 +01:00
Mufeed Ali and GitHub
c27c83bc44
poc: Add indentMultiplier configuration for customizable indentation in editor ( #1212 )
2025-02-01 14:35:22 +01:00
Zef Hemel
ccf86a648b
Fix RO mode on initial sync
2025-01-30 15:54:34 +01:00
Max Richter and GitHub
c6624085f0
fix: strike through links in tasks ( #1225 )
2025-01-30 14:54:57 +01:00