Commit Graph
1945 Commits
Author SHA1 Message Date
Zef Hemel d33db399c8 Auto complete and lint fixes 2025-03-07 15:13:47 +01:00
Zef Hemel a339800e75 Set SB_INDEX_PAGE for silverbullet.md 2025-03-07 15:10:24 +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 b29d8245b2 Completion fixes 2025-03-07 13:13:45 +01:00
Zef Hemel 30617a9ee7 Disable emoji completion in code blocks 2025-03-07 13:13:14 +01:00
Zef Hemel e56ff4ab07 Disable spell check on coding languages 2025-03-07 13:12:31 +01:00
Zef Hemel 549b73c37d Lua: optimize returns to no longer leverage exception throwing in the common case 2025-03-07 12:42:12 +01:00
Zef Hemel fbe145e75b deno task fmt 2025-03-07 12:18:14 +01:00
Zef Hemel e96a220e1a Meta page completion fix 2025-03-07 11:54:22 +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 d5842a039e Indexing tweaks 2025-03-07 11:27:20 +01:00
Zef Hemel a17a9df40e Remove indexPage from default SETTINGS 2025-03-07 11:16:27 +01:00
Zef Hemel f0ed003066 Moved spaceIgnore to be a environment variable as well 2025-03-07 11:12:49 +01:00
Zef Hemel 037d319a2f Lua date useful library 2025-03-07 11:11:28 +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
MrMugameandGitHub e61a447d98 Implementing #913 (#1230)
Implemented custom editors
2025-03-06 15:11:17 +01:00
Allie StephanandGitHub 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 AliandGitHub 6ee3b4341c docs: Document indentMultiplier (#1266) 2025-03-02 15:16:51 +01:00
Mufeed AliandGitHub 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
MrMugameandGitHub a6af94b9e3 Remove editor.setText syscall from client (#1263) 2025-02-25 20:02:59 +01:00
Zef Hemel 6fe715518f Update version to 0.10.4 2025-02-25 19:33:14 +01:00
Zef Hemel b0d17ecf94 0.10.4 2025-02-25 19:13:00 +01:00
Zef Hemel b6ae17e3f2 Dummy commit 2025-02-25 18:56:11 +01:00
Zef Hemel 8a0f059f80 0.10.3 2025-02-25 18:37:07 +01:00
Zef Hemel 66f378f4af Fix JSR issues 2025-02-25 18:36:45 +01:00
Zef Hemel 32f7c5dab7 0.10.2 2025-02-25 18:26:58 +01:00
Zef Hemel 93c35edf20 Fix TOC regression 2025-02-25 18:22:31 +01:00
SiggsyandGitHub 4612f59b4f Frontmatter wikilinks should be resolved from root (#1248) 2025-02-25 18:07:08 +01:00
Zef Hemel 280fa2cd3c Deno upgrade, lint related fixes 2025-02-25 18:05:58 +01:00
Simon CambierandGitHub 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
Nico S.andGitHub 60dea56020 added ToC min+maxLevel (#1258)
Added option to ToC to define minimum and maximum displayed levels.
2025-02-23 20:45:58 +01:00
Zef Hemel 58556f8e6d Fixes #1247 2025-02-22 21:39:14 +01:00
Zef Hemel 105908204b Fixes #1253
More accurate type classification and eager evaluation of left "and" operand.
2025-02-22 21:28:00 +01:00
Zef Hemel a268ea89f2 Fixes #1256
Point to ghcr docker images rather than docker hub
2025-02-22 20:58:42 +01:00
Zef Hemel 5cc7b47d6a Fix lint 2025-02-22 12:21:07 +01:00
MrMugameandGitHub 606077b98a Uses the correct function map for index navigation (#1257) 2025-02-22 12:19:03 +01:00
vanceandGitHub 99eab8b3ac Spelling and grammar corrections to website (#1242)
* Spelling corrections

* Grammar corrections
2025-02-22 12:14:09 +01:00
Kenneth FitzgeraldandGitHub 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
KitAmbraidandGitHub 7f9615ea9d Add option to personalize toc header (#1243) 2025-02-22 12:06:42 +01:00
MrMugameandGitHub f553c62950 Fix spell checking for code blocks and inline code (#1244) 2025-02-22 12:06:01 +01:00
KitAmbraidandGitHub 31792a3a43 space lua: os.date add support for %U, %V and %W (#1250) 2025-02-22 12:00:54 +01:00
numanandGitHub 2a3c926849 add rebuildEditorState function to the syscalls (#1254) 2025-02-22 11:51:37 +01:00