Commit Graph
197 Commits
Author SHA1 Message Date
Zef Hemel ff9b39cb5e Emit warning when double registering a space script function 2024-02-28 10:54:47 +01:00
Zef Hemel 0940eb1d15 Ensure reindex with space function indexers 2024-02-28 10:54:31 +01:00
Zef Hemel 16d1d3265b Better error message when invoking function that doesn't exist 2024-02-28 10:54:03 +01:00
Zef HemelandGitHub de2d1089d4 New space script APIs (#761)
New space script APIs: registerEventListener and registerAttributeExtractor
2024-02-27 20:05:12 +01:00
Matthew PietzandGitHub e290245621 Relax hashtag pattern matching (Support Emoji) (#752)
Adjust the RegExp for matching tags in order to better support compatibility
with other PKM systems. Though not the exact matcher used in Obsidian (since
its source is closed), this matcher is modeled mostly after it and allows most
non-whitespace characters, including Emoji.

I use a task line like `- [ ] Gift Idea #🎁 #Person-Name` to denote gift ideas
for friends and family. This patch allows SilverBullet to recognize the emoji.
2024-02-26 18:03:55 +01:00
Joe KrillandGitHub 90385f4d4f Check if symlink is a file or directory (#758) 2024-02-26 16:29:13 +01:00
MaksandGitHub 1e30bb29bd add type guards in query functions (#754) 2024-02-26 06:46:03 +01:00
Zef Hemel a8d042f9b2 Fixes #740 2024-02-25 14:17:23 +01:00
Zef Hemel 5904326f0c Minor bug fix in service worker 2024-02-25 13:46:02 +01:00
Zef Hemel 7de987fd56 Use backtick syntax to support identifiers in expression language, see examples 2024-02-24 12:59:27 +01:00
Zef Hemel cdefe7351a Change to registerFunction space script API (backwards compatibility added) 2024-02-23 14:06:55 +01:00
Marek S. ŁukasiewiczandGitHub afd2ce71a5 Recognize info string, settings and css after any legal fenced code start (#675, #693) (#694) 2024-02-23 09:03:14 +01:00
Marek S. ŁukasiewiczandGitHub cf010b5ef2 Add unary minus to Expression Language (#732) 2024-02-21 07:28:59 +00:00
Joe KrillandGitHub 35809836a9 Adds a system.getVersion syscall that returns the current system version (#721) 2024-02-17 22:32:09 +00:00
Giovanni PolloandGitHub 905c325f6c Added support for new languages in the code environment (diff, powershell, perl, tcl, verilos, vhdl, docker, cmake) (#718) 2024-02-17 21:19:25 +00:00
ViktorasandGitHub 740b3a7664 Add go snippet support (#709) 2024-02-14 21:35:45 +00:00
Zef Hemel 04c7a78676 More moves 2024-02-08 21:16:55 +01:00
Zef Hemel bb1e49a11e More moving stuff around 2024-02-08 21:12:23 +01:00
Zef HemelandGitHub 60d3199d64 Giant code reorganization (#690)
Code restructure
2024-02-08 21:00:45 +01:00
Zef Hemel 05efbc8741 Refactoring and adding ability to create custom commands from space functions 2024-02-07 14:50:01 +01:00
Zef HemelandGitHub 0ddbd877f9 Space script MVP (#685)
* Space Script MVP
* New `command` and `syscall` query sources
2024-02-06 16:51:04 +01:00
Zef Hemel 2b86e288e8 Expose readPage function 2024-02-05 20:05:17 +01:00
Zef Hemel 15358c8dd5 More #each in parsing fixes 2024-02-03 16:14:48 +01:00
Zef Hemel f85db51920 And same fix for #let 2024-02-03 15:55:39 +01:00
Zef Hemel dae2111d90 #each parser fix 2024-02-03 15:53:17 +01:00
Zef Hemel d0ebda0d7a Fixes #678 2024-02-03 15:28:24 +01:00
Zef HemelandGitHub 341c07049f Custom template parser (#672)
New template engine 🤯
2024-02-02 19:19:07 +01:00
Zef Hemel 59eed7966d More Deno 1.40 fixes 2024-01-28 14:37:54 +01:00
Zef Hemel c338693343 Upgrade to deno 1.40 2024-01-28 14:13:37 +01:00
Zef Hemel 5bc7193fb0 Fixes #161 by implementing read-only mode, first iteration 2024-01-26 17:05:10 +01:00
Zef Hemel 40dc50f782 Fixes #495 2024-01-25 19:46:08 +01:00
Zef Hemel 604bea3ee0 Fixes #650 #629 2024-01-25 14:51:40 +01:00
Zef Hemel 8404256ccb Fixes #643 2024-01-25 11:42:36 +01:00
Zef Hemel ad4a795e7f Remove "syntax" support from plugs 2024-01-24 13:34:12 +01:00
Zef HemelandGitHub aaacec6d61 Navigator refactor (#648)
Navigation refactor
2024-01-24 11:58:33 +01:00
Zef Hemel 514b0600a3 Whoops 2024-01-20 23:02:55 +01:00
Zef Hemel 4133cabd52 Fixing netlify 2024-01-20 22:53:51 +01:00
Zef HemelandGitHub f30b1d3418 Templates 2.0 (#636)
Templates 2.0 and a whole bunch of other refactoring
2024-01-20 19:16:07 +01:00
Zef HemelandGitHub a2dbf7b3db PlugOS refactor and other tweaks (#631)
* Prep for in-process plug loading (e.g. for CF workers, Deno Deploy)
* Prototype of fixed in-process loading plugs
* Fix: buttons not to scroll with content
* Better positioning of modal especially on mobile
* Move query caching outside query
* Fix annoying mouse behavior when filter box appears
* Page navigator search tweaks
2024-01-15 16:43:12 +01:00
Zef Hemel bf1eb03129 Backporting a bunch of optimizations from db-only branch 2024-01-13 17:30:15 +01:00
Zef HemelandGitHub 848211120c Tags redo (#624)
Introduction of `tag` and `itags`
2024-01-11 13:20:50 +01:00
Zef Hemel 848e11a773 Rebuilt frontmatter templates as template widgets 2024-01-08 17:08:35 +01:00
Zef Hemel bfdc8383b1 Prep crypto work 2024-01-08 09:12:54 +01:00
Zef HemelandGitHub 91027af5fe Awesome frontmatter (#617)
Live Frontmatter Templates
2024-01-04 20:08:12 +01:00
Zef HemelandGitHub 8a2e081672 Fixes #529 by removing directives (#613)
* Fixes #529 by removing directives
* Load builtin tags on space reindex
2024-01-02 14:47:02 +01:00
Zef Hemel 4d66f23391 Top-bottom panel refactor, more instant rendering 2023-12-27 18:05:47 +01:00
Zef Hemel 90659c9c7e Make frontmatter foldable 2023-12-21 19:04:54 +01:00
Zef Hemel 1a86c5b326 Fix plug space filtering (again) 2023-12-20 14:56:15 +01:00
Zef Hemel 9ca1382cf1 Safer failing to load SETTINGS fallback 2023-12-18 16:54:55 +01:00
Zef Hemel 8d85031a14 Minor tweaks 2023-12-18 14:39:52 +01:00