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 Hemel
de2d1089d4
New space script APIs ( #761 )
...
New space script APIs: registerEventListener and registerAttributeExtractor
2024-02-27 20:05:12 +01:00
Matthew Pietz
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 Krill
90385f4d4f
Check if symlink is a file or directory ( #758 )
2024-02-26 16:29:13 +01:00
Maks
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. Łukasiewicz
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. Łukasiewicz
cf010b5ef2
Add unary minus to Expression Language ( #732 )
2024-02-21 07:28:59 +00:00
Joe Krill
35809836a9
Adds a system.getVersion syscall that returns the current system version ( #721 )
2024-02-17 22:32:09 +00:00
Giovanni Pollo
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
Viktoras
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 Hemel
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 Hemel
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 Hemel
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 Hemel
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 Hemel
f30b1d3418
Templates 2.0 ( #636 )
...
Templates 2.0 and a whole bunch of other refactoring
2024-01-20 19:16:07 +01:00
Zef Hemel
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 Hemel
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 Hemel
91027af5fe
Awesome frontmatter ( #617 )
...
Live Frontmatter Templates
2024-01-04 20:08:12 +01:00
Zef Hemel
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
Zef Hemel
6b0bf3c960
Folding outliner commands #13
2023-12-17 14:26:41 +01:00
Zef Hemel
e682e13dab
Codemirror and lezer dep bump
2023-12-17 12:50:38 +01:00
Zef Hemel
5a7a35c759
E2E encryption (prototype) ( #601 )
...
Prototype E2E encryption
2023-12-17 11:46:18 +01:00
Zef Hemel
9f082c83a9
Major backend refactor ( #599 )
...
Backend refactor
2023-12-13 17:52:56 +01:00
Zef Hemel
8527528af4
Lazy plugs ( #596 )
...
* Manifest caching and lazy loading of plug workers
* Fixes #546 Plug unloading after time out
2023-12-06 18:44:48 +01:00
Zef Hemel
1d5c6f9277
Replace YAML parser
2023-11-29 16:51:28 +01:00
prcrst
e6f77b12af
Initial implementation of command link arguments ( #573 )
...
Initial implementation of command link arguments
---------
Co-authored-by: prcrst <p-github@prcr.st>
Co-authored-by: Zef Hemel <zef@zef.me>
2023-11-25 18:57:00 +01:00
Zef Hemel
79611a27e0
Hopefully finally squashed the race condition that would randomly reload files
2023-11-20 17:08:29 +01:00
Zef Hemel
5b81185afa
Fixes
2023-11-15 16:27:17 +01:00
Zef Hemel
6347c2b4d8
Rewrite page references in federated pages
2023-11-15 16:14:15 +01:00
Zef Hemel
694448a99b
Support for env-specific plug space primitives
2023-11-15 16:13:44 +01:00
Zef Hemel
1d7dc04f54
Fixes #563
2023-11-13 10:32:40 +01:00
Zef Hemel
bedc85e7a9
Adding some page reload debugging
2023-11-12 10:33:27 +01:00
Zef Hemel
1afac0274e
Custom template slash commands
2023-11-06 09:14:16 +01:00
johnl
0e2a802bbd
Add a {time} template helper, reuse timestamp code from Quick Note as a niceTime ( #555 )
...
niceTime helper
2023-11-03 12:04:51 +01:00
Zef Hemel
28b0e9f9e9
Backwards compatibility fix for synced spaces and 'created' timestamp
2023-11-03 09:48:07 +01:00
Zef Hemel
509683c537
Added 'created' attribute to files and pages
2023-11-03 09:38:04 +01:00
Zef Hemel
6cca4eb0b2
Copy fixes
2023-10-31 10:53:52 +01:00
Zef Hemel
3d3535f56c
Link to settings docs
2023-10-31 10:48:00 +01:00
Zef Hemel
8f4d6e5d23
Fixes #542 : render each and render all
2023-10-30 14:15:12 +01:00
Zef Hemel
386c5ab916
Minor page load fixes
2023-10-05 18:24:12 +02:00
Zef Hemel
d8797aa805
Code complete fixes and changelog
2023-10-04 17:14:24 +02:00
Zef Hemel
55d4699930
Content updates
2023-10-03 18:16:07 +02:00
Zef Hemel
0313565610
Complete redo of content indexing and querying ( #517 )
...
Complete redo of data store
Introduces live queries and live templates
2023-10-03 14:16:33 +02:00
Zef Hemel
2ee20af5c8
Custom task statuses plus various fixes
2023-09-01 16:57:29 +02:00
Zef Hemel
9a005f26b5
Work on client modes
2023-08-29 21:17:29 +02:00
Zef Hemel
c3d384330d
More event refactoring work
2023-08-27 14:13:18 +02:00
Zef Hemel
593597454a
Huge event system refactoring
2023-08-27 11:02:24 +02:00
Zef Hemel
5a88254cde
Refactoring about how proxy fetching happens
2023-08-23 19:08:21 +02:00
Zef Hemel
2a10d50094
Fixes #193 : Allowing plug overrides
2023-08-20 19:54:31 +02:00
Zef Hemel
136682ebd3
Fixes #504
2023-08-20 18:02:13 +02:00
Zef Hemel
78ccb2fabc
Merge branch 'main' of github.com:silverbulletmd/silverbullet
2023-08-20 17:51:04 +02:00
Zef Hemel
a94724768e
Refactoring
2023-08-20 17:51:00 +02:00
Ian Shehadeh
447dd2fed1
Add inline manifest documentation ( #503 )
2023-08-20 07:24:17 +02:00
Ian Shehadeh
7d3303251d
WIP: Plug API document change event ( #488 )
...
* add support for basic on doc change event
* move change API core into plug-api/lib; add docs
* add overlap utility
* Maintain modal focus
* Federated URL backend handling
* Fix small typo in Query.md (#483 )
* Federation progress
* Cleanup and federation prep
* Robustness and federation sync
* Federation: rewrite page references in federated content
* Don't sync service worker and index.json to client on silverbullet.md
* Federation listing timeouts
* Switching onboarding over to federation links
* Reduce amount of sync related log messages a bit
* Attribute indexing and code completion
* Shift-Enter in the page navigator now takes the input literally
* Updated changelog
* Completion for handlebar template variables
* Make 'pos' a number in tasks
* Updated install instructions to include edge builds
* WIP: CLI running of plugs
* Upgrade deno in Docker to 1.36.0
* Implement CLI store using Deno store
* Rerun directives
* Fixes #485
* 0.3.8
* 0.3.9
* Changelog
* Instantly sync updated pages when ticking off a task in a directive
* Sync current open page every 5s
* Optimize requests
* Make attribute extensible
* Debugging sync getting stuck
* Misaligning sync cycles (to avoid no-op cycles)
* Fixes #500 : New apply page template command
* Changelog
* More sync debugging statements
* More sync debugging
* Even more debug
* Dial down excessive debug logging
* Fixes #115 : By introducing MQ workers
* Use MQ for updating directives in entire space
* Work on plug:run
* touch up docs
* Fix htmlLanguage dependency
---------
Co-authored-by: Zef Hemel <zef@zef.me>
Co-authored-by: johnl <johnlunney@users.noreply.github.com>
2023-08-16 15:15:19 +02:00
Zef Hemel
7cce83b240
API refinements
2023-08-15 20:15:27 +02:00
Zef Hemel
1a3acceaf0
Upgrade stdlib to fix walk and symlinks
2023-08-15 08:26:25 +02:00
Zef Hemel
cf97d04b1b
Add HTML code blocks
2023-08-15 07:56:11 +02:00
Zef Hemel
4dbbc31cb9
Work on plug:run
2023-08-11 20:37:13 +02:00
Zef Hemel
97a84e8538
Fixes #115 : By introducing MQ workers
2023-08-10 18:32:41 +02:00
Zef Hemel
b7b666ee1d
Optimize requests
2023-08-08 15:00:18 +02:00
Zef Hemel
7498cc1ecb
Sync current open page every 5s
2023-08-07 20:42:52 +02:00
Zef Hemel
52a28c78a7
Reduce amount of sync related log messages a bit
2023-08-01 21:34:24 +02:00
Zef Hemel
cfb528eb42
Switching onboarding over to federation links
2023-07-31 21:11:24 +02:00
Zef Hemel
b584e2ef7e
Robustness and federation sync
2023-07-30 11:30:01 +02:00
Zef Hemel
afa160d2c2
Cleanup and federation prep
2023-07-30 08:56:44 +02:00
Zef Hemel
fe4887dc78
Federation progress
2023-07-29 23:41:37 +02:00
Zef Hemel
8a790aae9e
More robust way to resolve initial sync bug
2023-07-28 21:22:06 +02:00
Zef Hemel
fb67cba6ac
Fix deletion of open file on initial sync
2023-07-28 18:06:49 +02:00
Zef Hemel
a758446ecd
More auth friendly ping URL
2023-07-28 15:34:12 +02:00
Zef Hemel
747e81e5da
More consise error messages
2023-07-28 13:54:44 +02:00
Zef Hemel
804d87436c
Fixes #355
2023-07-27 17:02:53 +02:00
Zef Hemel
bfce343e7b
More refactoring
2023-07-27 12:37:39 +02:00
Zef Hemel
4d0f36d475
Refactoring of offline handling
2023-07-27 11:41:44 +02:00
Zef Hemel
7b8d8af2c1
Attributes now have YAML values
2023-07-26 17:12:56 +02:00
Zef Hemel
41fb82b9d2
Restrict attribute names
2023-07-25 10:52:14 +02:00
Zef Hemel
2b494f263e
Work on inline attributes
2023-07-24 19:54:31 +02:00
Zef Hemel
f3936f9b2f
Editor refactor: fix plug namespace
2023-07-14 16:48:35 +02:00
Zef Hemel
839a11bfd7
AES convenience functions for encryption
2023-07-14 11:23:17 +02:00
Zef Hemel
2ae538a5e5
No longer use HEAD requests, which are handled oddly in Safari on iOS
2023-07-10 13:06:57 +02:00
Zef Hemel
fd6f81d500
Uploads to same folder
2023-07-07 13:09:44 +02:00
Zef Hemel
fb75ea1a65
No More Collab. Fixes #449
...
* Fully removes real-time collaboration
* URL scheme rewrite
2023-07-06 16:47:50 +02:00
Zef Hemel
f39ab26cea
Replace unauthorized status with a redirect
2023-07-04 16:53:39 +02:00
Zef Hemel
4a88b5636e
Fixes #426
2023-07-02 11:46:23 +02:00
Zef Hemel
7c825348b2
Big refactors and fixes
...
* Query regen
* Fix anchor completion
* Dependency fixes
* Changelog update
2023-07-02 11:25:32 +02:00
Zef Hemel
eefd8a5245
Add Fold: Toggle Fold command
2023-06-17 09:01:32 +02:00
Zef Hemel
1b922791f3
Implements #51 : Folding commands
2023-06-14 19:27:18 +02:00
Zef Hemel
8e0a7cf177
Real-time collaboration within space ( #411 )
2023-06-13 20:47:05 +02:00
Zef Hemel
c6a45be4bb
Fixes #409
2023-05-29 09:53:49 +02:00
Zef Hemel
92c36ca524
Version bump all around
2023-05-26 14:25:24 +02:00
Zef Hemel
5f484bed57
SilverBullet pivot to become an offline-first PWA ( #403 )
2023-05-23 20:53:53 +02:00
Zef Hemel
a28966b410
Dep update, build fixes
2023-04-19 10:46:20 +02:00
Zef Hemel
ece4177e11
Fixes #344
2023-02-28 11:13:18 +01:00
Zef Hemel
a11f4b1d57
Dependency bumps
2023-02-23 16:02:41 +01:00
Zef Hemel
bd152dd297
Disable background jobs on mobile
2023-01-25 18:29:47 +01:00
Zef Hemel
b596d83a5b
Remove excessive sync logging
2023-01-25 09:59:15 +01:00
Zef Hemel
c56caac533
Sync tweaks
2023-01-25 09:46:56 +01:00
Zef Hemel
53bf098579
deno fmt
2023-01-22 18:53:14 +01:00
Brendan Molloy
5ad804da1c
Add various language syntax highlighting ( #329 )
2023-01-22 18:45:01 +01:00
Zef Hemel
a3fb2ffe92
Fix sync with silverbullet.md
2023-01-20 17:03:55 +01:00
Zef Hemel
2577a2db32
Continuous sync ( #320 )
...
* Continuous sync
* Mobile dep upgrade
2023-01-20 16:08:01 +01:00
Zef Hemel
a53ebbd2e1
Fix onboarding and cloud pages appearing in queries
2023-01-17 09:34:49 +01:00
Zef Hemel
d23846cdbf
Sync: no conflict when only directive bodies differ
2023-01-16 18:55:35 +01:00
Zef Hemel
18c1da4431
Rebranding from "Silver Bullet" to "SilverBullet" and updated a lot of website copy
2023-01-16 16:45:55 +01:00
Zef Hemel
c8f0304ade
Better onboarding page
2023-01-16 12:06:37 +01:00
Zef Hemel
e5276319e0
Timeouts for sync config
2023-01-14 18:51:00 +01:00
Zef Hemel
d371f2f68a
Added source of table parser
2023-01-14 16:08:16 +01:00
Zef Hemel
1b0aa11ee2
Fixes #297 Fixes #235
2023-01-14 03:04:51 -08:00
Zef Hemel
285b52ebef
Fixes #304
2023-01-13 16:59:28 +01:00
Zef Hemel
a56e14bff1
Sync engine ( #298 )
...
Fixes #261
2023-01-13 15:41:29 +01:00
Zef Hemel
8dac58f38a
Handle inline images and attachments via data urls
2023-01-08 15:29:34 +01:00
Zef Hemel
0365673c41
Mobile app PoC ( #281 )
...
Initial checkin of mobile "native" app
2023-01-08 12:24:12 +01:00
Martin Kraft
6f500bcc16
Fixes #234
2023-01-06 18:17:39 +01:00
Zef Hemel
e4ebaa2cf4
Fixes #107
2023-01-01 11:28:25 -08:00
Evgenii Karagodin
a2ff27f511
Fixes #129 : add "attachment" query source ( #239 )
2022-12-28 08:51:55 +01:00
Zef Hemel
cca48f66cd
Fixes #158
2022-12-22 16:20:05 +01:00
Zef Hemel
089bc02ddd
Fixes #206
2022-12-22 11:21:12 +01:00
Zef Hemel
3545d00d46
Major mini editor refactoring ( #225 )
...
Replaces most editing components with CM components, enabling vim mode and completions everywhere
Fixes #205
Fixes #221
Fixes #222
Fixes #223
2022-12-21 14:55:24 +01:00
Zef Hemel
6897111cf9
Changelog
2022-12-19 13:42:20 +01:00
Zef Hemel
74c4694af6
Fixes #203
2022-12-16 12:49:05 +01:00
Zef Hemel
0f090b77db
Fixes #149 : vim mode
2022-12-15 13:23:49 +01:00