Commit Graph

313 Commits (main)

Author SHA1 Message Date
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
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
Zef Hemel 0b82d248d3 Fixes #143 2022-12-05 13:07:38 +01:00
Zef Hemel e780a838b6 Fixes #139 #140 2022-12-05 12:14:21 +01:00
Zef Hemel b24c2996be Allow arbitrary attributes in FilterOptions 2022-12-05 11:41:28 +01:00
Zef Hemel 6a047e1ef4 CommandLink alias syntax 2022-11-29 09:11:23 +01:00
Zef Hemel 55791cc88e Fixes #130 2022-11-29 08:50:09 +01:00
Zef Hemel 3b1802399a Fixes #120 2022-11-27 08:48:01 +01:00
Zef Hemel 89f27f9e9c Expose file and page meta data directly 2022-11-20 10:24:42 +01:00
Zef Hemel dff2a3dfa4 Dependency bump 2022-11-19 16:05:37 +01:00
Zef Hemel 24c17a793f
Live Preview (#119)
Live preview mode is here
2022-11-18 16:04:37 +01:00
Zef Hemel c9713bf52b Bump codemirror versions 2022-11-09 12:01:50 +01:00
Zef Hemel 07db10773a Fix deps 2022-11-09 11:55:41 +01:00
Zef Hemel 3d671e8195 Fixes #100 implements a custom Markdown renderer 2022-11-01 15:01:28 +01:00
Zef Hemel 540af411a0 Large "query" plug refactor into "directive" 2022-10-28 16:17:40 +02:00
Zef Hemel 590440748b WIP: real-time collab support 2022-10-25 18:50:07 +02:00
Zef Hemel dc32ca81a9 HTTP Caching 2022-10-21 16:56:46 +02:00
Zef Hemel cd5c2ff9c2 Rewrite listFiles to use std lib's "walk" + test 2022-10-19 11:30:22 +02:00
Zef Hemel 70501bc3e4 Fixes #90: Re-enables full text search 2022-10-19 09:52:29 +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 7d28b53b75 Massive restructure of plugin API 2022-10-14 15:11:33 +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 415e53904b Fixed HTTP header related issues causing hangs 2022-10-10 16:20:29 +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 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 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 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 eb781b9e19 Enormous refactor adding IndexedDB space and syncing. 2022-04-06 15:39:20 +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 3aafa63073 Extracted syscall packages 2022-04-01 17:07:08 +02:00
Zef Hemel c6628927ba Use distance filter 2022-03-29 12:13:46 +02:00
Zef Hemel b89aee97d7 Tons of refactoring, moving commands and slash commands into hooks 2022-03-29 11:21:32 +02:00
Zef Hemel cb809d2d03 Rebranded plugbox to PlugOS (plugos) 2022-03-27 11:31:12 +02:00
Zef Hemel 621e55dbcf Plug format now changed to YAML 2022-03-27 11:26:13 +02:00
Zef Hemel 08e6c3bad8 Refactoring 2022-03-25 12:03:06 +01:00
Zef Hemel 09d07d587f Massive cleanup and plugbox cleanup 2022-03-23 15:41:12 +01:00
Zef Hemel a916088215 Cleanup and progress 2022-03-21 15:21:34 +01:00