1
0
Commit Graph

273 Commits

Author SHA1 Message Date
Zef Hemel
2b494f263e Work on inline attributes 2023-07-24 19:54:31 +02:00
Zef Hemel
1a33b213be AddedCenter Cursor command 2023-07-24 11:27:46 +02:00
Zef Hemel
2a697332e8 Added replaceRegexp helper to templates 2023-07-24 11:09:17 +02:00
Valentin Rieß
5cd0f09726
Add page names to search index (#474) 2023-07-16 22:45:26 +02:00
Zef Hemel
c5849f881b Editor refactor: extract state 2023-07-14 13:58:16 +02:00
Zef Hemel
b39a9b8e22 Editor refactor: extract system stuff 2023-07-14 13:44:30 +02:00
Zef Hemel
87b0e7e352 Fixes #470 2023-07-14 12:15:10 +02:00
Zef Hemel
430792834e Fixes #462 and adds richer backlink data 2023-07-14 11:52:35 +02:00
Zef Hemel
5b620b2dcc Fixes snippets not working in unsaved page 2023-07-12 11:00:25 +02:00
Zef Hemel
04d6de18e6 Restrict valid page names 2023-07-07 11:44:05 +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
f89cebc424 Disable file listing for federation for now 2023-07-04 17:50:55 +02:00
Zef Hemel
5ff9a5692b More robust handing of empty PLUGS list 2023-07-04 16:52:43 +02:00
Zef Hemel
2f685153db Fixes #439 2023-07-02 11:48:52 +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
260c91e4b1 Fixes #416: remove frontmatter when including or using a template 2023-06-14 10:20:21 +02:00
JordanPaoletti
80e7d97b80
Add copy page to core plugin (#418) 2023-06-14 09:20:15 +02:00
Zef Hemel
8e0a7cf177
Real-time collaboration within space (#411) 2023-06-13 20:47:05 +02:00
Zef Hemel
97710d1a79 Client reset command 2023-05-29 09:56:47 +02:00
Zef Hemel
50651dc185 Fixes #408: adding about and getting started command 2023-05-26 16:37:32 +02:00
Zef Hemel
1a1b942f92 No longer serialize binary blobs as data URLs 2023-05-26 14:04:32 +02:00
Zef Hemel
5f484bed57
SilverBullet pivot to become an offline-first PWA (#403) 2023-05-23 20:53:53 +02:00
rjgibson
b256269897
Fix date calculation in Task: Postpone command (#406)
* Fix date calculation in `Task: Postpone` command

Create new postponed date as a "naive" date to prevent it from being
converted to UTC.

* Convert types to satisfy deno linter

---------

Co-authored-by: Bob Gibson <rjg@rjgibson.org>
2023-05-22 11:54:25 +02:00
Siddhant Sanyam
47acb503cb
Add support for multiple order by (#387) 2023-04-19 11:01:27 +02:00
Zef Hemel
a28966b410 Dep update, build fixes 2023-04-19 10:46:20 +02:00
Zef Hemel
ea293be159 Include tags in frontmatter in autocomplete 2023-03-13 09:59:58 +01:00
Zef Hemel
a333803876 Support multiple data blocks in single page #43 2023-03-06 14:43:50 +01:00
Zef Hemel
50fdc2fdbc Fixes #359 2023-03-06 14:17:03 +01:00
Zef Hemel
ece4177e11 Fixes #344 2023-02-28 11:13:18 +01:00
Zef Hemel
df38a43a1e Fixes #359 2023-02-27 15:51:54 +01:00
Zef Hemel
3e112689a9 Fixes #343 2023-02-27 15:20:16 +01:00
Zef Hemel
c0128b1090 Fixes #365 2023-02-23 16:09:39 +01:00
Zef Hemel
c1528eff08 Fixes #360 2023-02-23 15:33:51 +01:00
Zef Hemel
df958749d1 Add character count to stats 2023-02-11 14:19:02 +01:00
Zef Hemel
9c04db6a9c Sync tweaks 2023-01-26 15:54:28 +01:00
Zef Hemel
4c39d0b964 Show a clear error message when querying a non-existant query source 2023-01-26 15:52:37 +01:00
Zef Hemel
cf9ca06dff Fix tag completion 2023-01-26 12:02:41 +01:00
Zef Hemel
c56caac533 Sync tweaks 2023-01-25 09:46:56 +01:00
Zef Hemel
e7728c2d2a Fixes #319 2023-01-23 18:52:17 +01:00
Zef Hemel
53bf098579 deno fmt 2023-01-22 18:53:14 +01:00
Zef Hemel
a7a5ed8f0a Remove hashtag from index tag name, related to #322 2023-01-21 14:06:37 +01:00
Zef Hemel
a4c103e127 Fixes #258 2023-01-21 13:37:55 +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
e4a4467547 Sync: Local wipe and sync command and better info 2023-01-16 18:34:15 +01:00
Zef Hemel
c046d4a221 Don't translate cloud links to cloud links 2023-01-16 16:59:45 +01:00
Zef Hemel
882f157cf1 Transition from sendEvent to syscall event.dispatch 2023-01-16 11:06:07 +01:00
Zef Hemel
ef7830662e Support syscalls in sandboxed iframes 2023-01-16 10:40:16 +01:00
Zef Hemel
9c0525e683 Ghost plug doc update 2023-01-15 13:48:43 +01:00
Zef Hemel
71b3ee4c77 Add static typecheck to pipeline 2023-01-15 11:33:09 +01:00
Zef Hemel
31c2f6c222 Fixes #309 2023-01-15 11:20:02 +01:00
Zef Hemel
e5276319e0 Timeouts for sync config 2023-01-14 18:51:00 +01:00
Zef Hemel
a170d9c2d7 Fixes #293 2023-01-13 16:33:36 +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
Tristan Sokol
dc7de9d8f9
update listify command to work with selection and add keyboard shortcut (#290)
Co-authored-by: Tristan Sokol <tristan@rightfoot.com>
2023-01-06 18:47:08 +01:00
Tristan Sokol
8fcc7741d2
Fixes #210
Add in new refactor file and extract to page command

Co-authored-by: Tristan Sokol <tristan@rightfoot.com>
2023-01-05 15:37:08 +01:00
Zef Hemel
5b8744d0a8 Remove read-only mode 2023-01-03 16:23:38 +01:00
Zef Hemel
e4ebaa2cf4
Fixes #107 2023-01-01 11:28:25 -08:00
Zef Hemel
f78a0abbbe Fixes #240 2022-12-29 12:53:42 +01:00
Evgenii Karagodin
a2ff27f511
Fixes #129: add "attachment" query source (#239) 2022-12-28 08:51:55 +01:00
Evgenii Karagodin
0d10caf55c
Fixes #180 (#237) 2022-12-27 10:49:16 +01:00
Zef Hemel
cca48f66cd Fixes #158 2022-12-22 16:20:05 +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
6444824f5c Fixes #213 Fixes #215 2022-12-19 13:16:22 +01:00
Zef Hemel
88cc80cd1a Fixes #201 2022-12-16 12:44:04 +01:00
Zef Hemel
d609daf59e Dead code elimination 2022-12-15 12:59:38 +01:00
Zef Hemel
aaebea5e54
Major directive refactor (#195)
Fixes #188 #144 #76: major refactor of directive parsing, rendering, styling
2022-12-14 20:04:20 +01:00
Nesbeer
79e1151ee6
added no-results text (#192)
Fixes #182: Added no-results text
2022-12-14 11:21:06 +01:00
Chris Zarate
996b518d93
Fix "Rename page" command (#190) 2022-12-13 09:49:31 +01:00
Zef Hemel
c8c4271aeb Fixes #164: Rewrote all CM view plugins to statefields 2022-12-09 16:12:55 +01:00
Zef Hemel
453c613ef4 UI font tweaks 2022-12-09 14:16:28 +01:00
Zef Hemel
8c62ca981e Fix empty cell MD table render bug 2022-11-30 15:59:41 +01:00
Zef Hemel
15263a8dc6 Nicer hash tag CSS 2022-11-30 15:59:28 +01:00
Zef Hemel
19e5d8f21d Remove confusing plug manager logs 2022-11-28 08:48:09 +01:00
Zef Hemel
b43c028e51 Fix alias page link markdown rendering 2022-11-27 11:20:43 +01:00
Zef Hemel
701a601641 Remove 'publish' command moved to silverbullet-publish 2022-11-26 19:00:01 +01:00
Zef Hemel
ee4979b471 Clean up website build 2022-11-25 19:43:54 +01:00
Zef Hemel
6779c9076a Stop replacing directives with garbag on silverbullet.md 2022-11-25 16:10:18 +01:00
Zef Hemel
e926b7ba47 Massive documentation bump 2022-11-25 16:01:05 +01:00
Zef Hemel
94127c41f0 Directive fix 2022-11-25 13:47:10 +01:00
Zef Hemel
aee071be6a Fix syntax extensions not loading at b oot 2022-11-25 13:05:41 +01:00
Zef Hemel
53408feed5 Search pages should keep running on the server side 2022-11-24 16:58:16 +01:00
Zef Hemel
b61e8ff681 Implementation of #117: sharing 2022-11-24 16:08:51 +01:00
Zef Hemel
5b1ec14891 Work on $share 2022-11-24 12:04:00 +01:00
Zef Hemel
0ebbe2e7f3 Fix client-driven directive updates 2022-11-23 10:05:01 +01:00
Zef Hemel
56e5466b19 Don't blow up when frontmatter YAML is invalid 2022-11-23 10:04:51 +01:00
Zef Hemel
5d89e15959 Plugs: Add command 2022-11-20 10:56:52 +01:00
Zef Hemel
7f7be814fc Limit maximum width of images in markdown preview 2022-11-20 10:28:23 +01:00
Zef Hemel
89f27f9e9c Expose file and page meta data directly 2022-11-20 10:24:42 +01:00
Zef Hemel
7a627c2f35 Fixes #124 2022-11-20 10:24:24 +01:00
Zef Hemel
a1e3299fb8 Order page reference completion by date modified 2022-11-20 08:51:27 +01:00
Zef Hemel
dff2a3dfa4 Dependency bump 2022-11-19 16:05:37 +01:00
Zef Hemel
cde6311bcb Fixes #122 2022-11-19 15:22:43 +01:00
Zef Hemel
24c17a793f
Live Preview (#119)
Live preview mode is here
2022-11-18 16:04:37 +01:00
Ben Schumacher
334550675a
Add nextWeek template variable (#109) 2022-11-03 13:14:43 +01:00
Zef Hemel
c56261a024 Weekly Note command + docs 2022-11-02 09:06:30 +01:00
Zef Hemel
c4f80589f3 Migrated silverbullet-publish into this repo 2022-11-01 17:03:42 +01:00
Zef Hemel
3d671e8195 Fixes #100 implements a custom Markdown renderer 2022-11-01 15:01:28 +01:00
Zef Hemel
bef2c4c62b Cmd/Ctrl-click now opens page in new window 2022-10-29 09:23:12 +02:00
Zef Hemel
540af411a0 Large "query" plug refactor into "directive" 2022-10-28 16:17:40 +02:00
Zef Hemel
2b06af6147 Rename "name" frontmatter to "displayName" not to clash with builtin name 2022-10-26 09:33:37 +02:00
Zef Hemel
590440748b WIP: real-time collab support 2022-10-25 18:50:07 +02:00
Zef Hemel
a2e5d0cc93 Changed named anchor syntax 2022-10-24 19:40:52 +02:00
Zef Hemel
9164b57a3e Full text search improvements 2022-10-22 20:23:54 +02:00
Zef Hemel
02dd2f17c7 No await for reload 2022-10-21 20:20:58 +02:00
Zef Hemel
5bb73c111d Parallel plug loading on the server 2022-10-21 17:06:14 +02:00
Zef Hemel
dc32ca81a9 HTTP Caching 2022-10-21 16:56:46 +02:00
Zef Hemel
c1a78e0105 Fixes #97: SQLite is now async, optimized, tests 2022-10-21 10:00:43 +02:00
Zef Hemel
70501bc3e4 Fixes #90: Re-enables full text search 2022-10-19 09:52:29 +02:00
Zef Hemel
cd7c37b136 Fixed regression where OPTIONS resulted in 500 instead of 404 2022-10-17 20:21:09 +02:00
Zef Hemel
7d1a04f392 Fixes #92: implements frontmatter syntax 2022-10-17 15:48:21 +02:00
Zef Hemel
574014a8be Reduce lint errors 2022-10-15 19:02:56 +02:00
Zef Hemel
68809ff958 Fix to queryPrefix and LIKE queries 2022-10-14 16:49:45 +02:00
Zef Hemel
3a3210ecac Asset fixes 2022-10-14 15:53:51 +02:00
Zef Hemel
7d28b53b75 Massive restructure of plugin API 2022-10-14 15:11:33 +02:00
Zef Hemel
982623fc38 Added imports 2022-10-13 15:16:18 +02:00
Zef Hemel
4c19ab21f2 Refactor of asset bundles 2022-10-12 11:47:13 +02:00
Zef Hemel
61bf715c9f Fix materialized queries and reload 2022-10-10 18:19:08 +02:00
Zef Hemel
561aa6891f
Migrate to Deno (#86)
Big bang migration to Deno 🤯
2022-10-10 14:50:21 +02:00
Zef Hemel
1f842ec1d6 Monorepo with yarn workspaces requires yarn 3.2 2022-04-21 13:57:45 +02:00
Zef Hemel
32f3501773 Exposing fetch to functions and initial work on Electron 2022-04-21 11:46:33 +02:00
Zef Hemel
dbdfc9d631 Changed all indexes to use (pre) parsed trees. 2022-04-20 10:56:43 +02:00
Zef Hemel
c7176b00fa Factored out materialized query providers 2022-04-19 16:54:47 +02:00
Zef Hemel
31254d15e6 Work to reduce bundles size (prebundle modules) 2022-04-13 14:46:52 +02:00
Zef Hemel
a24eaaf4b4 Materialized query parser + data indexing and querying 2022-04-12 13:33:07 +02:00
Zef Hemel
b3c3302970 Materialized query parser redo 2022-04-11 20:34:09 +02:00
Zef Hemel
d649009dd2 Date indexer 2022-04-10 11:04:07 +02:00
Zef Hemel
ebfe62dd49 Ghost plugin update 2022-04-09 18:25:42 +02:00
Zef Hemel
6c943bacd0 Markdown plugin improvements 2022-04-09 14:57:59 +02:00
Zef Hemel
8fafd1cd4a Basic ghost plugin 2022-04-09 14:28:41 +02:00
Zef Hemel
6ebf8e7f15 * Refactored server to use spaces
* Other cleanup
2022-04-08 17:46:09 +02:00
Zef Hemel
fff2690e99 Enormous refactor adding IndexedDB space and syncing. 2022-04-07 14:04:50 +02:00
Zef Hemel
eb781b9e19 Enormous refactor adding IndexedDB space and syncing. 2022-04-06 15:39:20 +02:00
Zef Hemel
38faf50ab8 Work on sync stuff 2022-04-05 17:02:17 +02:00
Zef Hemel
1b0048cdcf Flexible LHS and RHS with flex 2022-04-04 18:33:13 +02:00
Zef Hemel
a7cd3ea7e0 A whole lot of enhancements 2022-04-04 15:25:07 +02:00
Zef Hemel
16577c8ea2 Rewrote all plugs using MarkdownTree 2022-04-04 11:51:41 +02:00
Zef Hemel
07453d638b Rewrote some navigation stuff based on new parser 2022-04-03 18:42:12 +02:00
Zef Hemel
16bf0d866d Reapplied all the things 2022-04-03 18:12:16 +02:00
Zef Hemel
a1a10a1d1f Task fixes 2022-04-01 17:32:03 +02:00
Zef Hemel
3aafa63073 Extracted syscall packages 2022-04-01 17:07:08 +02:00
Zef Hemel
b858917c98 Fix some nasty bug 2022-04-01 15:02:35 +02:00
Zef Hemel
4d201efdbb Fix some nasty bug 2022-03-31 17:25:34 +02:00