Commit Graph

219 Commits (main)

Author SHA1 Message Date
Zef Hemel f6f93d796f Disable proxy in read-only, enable better caching 2024-01-29 09:43:56 +01:00
Zef Hemel dbabba7326 Only server-side render non-auth systems 2024-01-28 19:24:59 +01:00
Zef Hemel 58ea651668 opengraph attributes 2024-01-28 15:51:02 +01:00
Zef Hemel 1d8a54b72f Fix indexPage server rendering 2024-01-28 15:19:30 +01:00
Zef Hemel 7612f1af73 Server-side render content 2024-01-28 15:08:35 +01:00
Zef Hemel 5bc7193fb0 Fixes #161 by implementing read-only mode, first iteration 2024-01-26 17:05:10 +01:00
Zef Hemel 8404256ccb Fixes #643 2024-01-25 11:42:36 +01:00
Zef Hemel 488fa84d50 Fixes #647 2024-01-24 13:34:55 +01:00
Zef Hemel ad4a795e7f Remove "syntax" support from plugs 2024-01-24 13:34:12 +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 a9eb252658 Plug sandbox rework 2024-01-14 13:38:39 +01:00
Zef Hemel 0296679827 Fixes #627 2024-01-13 18:42:40 +01:00
Zef Hemel 291280b709 Switch from Oak to Hono 2024-01-13 18:07:02 +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 d43dbcacec Fixed a lot of bugs with new widget rendering 2023-12-28 16:14:30 +01:00
Zef Hemel 4015d164c6 Subtle renaming of some DB configuration options 2023-12-22 19:06:36 +01:00
Zef Hemel 3350c7f076 More instant page navigator 2023-12-22 15:55:50 +01:00
Zef Hemel 581edf92d5 Federation fix 2023-12-22 11:45:32 +01:00
Zef Hemel 82391682f6 Avoid builtin page attributes to be overridden 2023-12-22 11:27:07 +01:00
Zef Hemel 8c14087a2c Fixes #603 by not recreating existing unix groups and users 2023-12-18 17:18:58 +01:00
Zef Hemel 8d85031a14 Minor tweaks 2023-12-18 14:39:52 +01:00
Zef Hemel b3d5af360b Change server-side shell running implementation 2023-12-17 15:25:44 +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 e0bb1dde79 Fix plugOverrides being broken 2023-12-12 14:15:46 +01:00
Zef Hemel 06a50b6987 Bump auth cookie expiry 2023-12-11 13:53:08 +01:00
Zef Hemel e0fe7897b7 CSRF and authentication changes 2023-12-11 12:11:56 +01:00
Zef Hemel 9921d72b96 Remove duplicate shell reporting 2023-12-10 13:30:34 +01:00
Zef Hemel 30ba3fcca7
Refactoring work to support multi-tenancy and multiple storage, database backends (#598)
* Backend infrastructure
* New backend configuration work
* Factor out KV prefixing
* Don't put assets in the manifest cache
* Removed fancy authentication stuff
* Documentation updates
2023-12-10 13:23:42 +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
Zef Hemel a984ab1f82 Disable 404 caching 2023-11-17 13:54:48 +01:00
Zef Hemel 6336190c20 Federation URL handling 2023-11-16 13:55:02 +01:00
Zef Hemel b4ab56c712 Requeue messages on the server as well 2023-11-15 09:31:44 +01:00
Zef Hemel bedc85e7a9 Adding some page reload debugging 2023-11-12 10:33:27 +01:00
Zef Hemel 509683c537 Added 'created' attribute to files and pages 2023-11-03 09:38:04 +01:00
Zef Hemel e23b0808e0 Initial index on plug:run 2023-11-02 12:46:33 +01:00
Zef Hemel d8318c4ad7 Code widget refactor 2023-10-31 10:33:38 +01: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 9b5fa44fb6 Perform initial index 2023-08-30 22:36:27 +02:00
Zef Hemel 75da8e7ca9 Further iteration 2023-08-30 17:25:54 +02:00
Zef Hemel 9a005f26b5 Work on client modes 2023-08-29 21:17:29 +02:00
Zef Hemel 5ff1a8bae3 Refactor all the things 2023-08-28 17:12:15 +02:00
Zef Hemel cc2448b91f Fix tests 2023-08-27 18:05:14 +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 9ee9008bf2 Work on #508 (thin client) 2023-08-26 08:31:51 +02:00
Zef Hemel 5079d3e68e Filter proxied headers 2023-08-23 20:00:40 +02:00
Zef Hemel 5a88254cde Refactoring about how proxy fetching happens 2023-08-23 19:08:21 +02:00
Zef Hemel a94724768e Refactoring 2023-08-20 17:51:00 +02:00
Zef Hemel 4583991fa5 Fixes #497 2023-08-17 12:43:08 +02:00
Zef Hemel c6fce524e6 Dial down excessive debug logging 2023-08-10 16:09:28 +02:00
Zef Hemel 2f1f266482 Make attribute extensible 2023-08-08 16:35:46 +02:00
Zef Hemel b7b666ee1d Optimize requests 2023-08-08 15:00:18 +02:00
Zef Hemel b584e2ef7e Robustness and federation sync 2023-07-30 11:30:01 +02:00
Zef Hemel fe4887dc78 Federation progress 2023-07-29 23:41:37 +02:00
Zef Hemel 21c8cd6e7a Federated URL backend handling 2023-07-29 17:06:32 +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 7c825348b2
Big refactors and fixes
* Query regen
* Fix anchor completion
* Dependency fixes
* Changelog update
2023-07-02 11:25:32 +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 25c789538d Log delets 2023-05-25 17:21:51 +02:00
Zef Hemel 0e58f95920 Dispatch pageLoaded event upon plug updates 2023-05-24 06:47:39 +02:00
Zef Hemel c746d77a6b Alert when indexeddb not available 2023-05-24 05:42:24 +02:00
Zef Hemel 5f484bed57
SilverBullet pivot to become an offline-first PWA (#403) 2023-05-23 20:53:53 +02:00
rjgibson 9b49317bbf
Accept SB_USER environment variable as a secondary source of creds (#404) 2023-05-21 13:07:34 +02:00
Zef Hemel c1cf1b0d3a Another regression fix 2023-01-25 18:42:35 +01:00
Zef Hemel 2577a2db32
Continuous sync (#320)
* Continuous sync

* Mobile dep upgrade
2023-01-20 16:08:01 +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 e5276319e0 Timeouts for sync config 2023-01-14 18:51:00 +01:00
Zef Hemel a56e14bff1
Sync engine (#298)
Fixes #261
2023-01-13 15:41:29 +01:00
Zef Hemel 0365673c41
Mobile app PoC (#281)
Initial checkin of mobile "native" app
2023-01-08 12:24:12 +01:00
Zef Hemel 089bc02ddd Fixes #206 2022-12-22 11:21:12 +01:00
Zef Hemel b6c0349203 Remove authentication on manifest.json file (and favicon just in case) 2022-12-15 12:59:31 +01:00
Zef Hemel 1d3ae7c822 Check auth before serving static files 2022-12-14 20:32:26 +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 3175b3c948 Merge branch 'main' of github.com:silverbulletmd/silverbullet 2022-12-05 12:17:27 +01:00
Zef Hemel e780a838b6 Fixes #139 #140 2022-12-05 12:14:21 +01:00
Jouni K. Seppänen 9baac2181a
Allow the user to specify hostname to listen on (#138) 2022-12-04 06:24:06 +01:00
Zef Hemel 5923d98b7b Cleanup 2022-11-26 19:05:55 +01:00
Zef Hemel eff0277be0 Space System refactor 2022-11-26 14:15:38 +01:00
Zef Hemel 27a8adf347 Make server crash when listening to port fails 2022-11-25 13:08:59 +01:00
Zef Hemel aee071be6a Fix syntax extensions not loading at b oot 2022-11-25 13:05:41 +01:00
Zef Hemel 5b1ec14891 Work on $share 2022-11-24 12:04:00 +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 c4f80589f3 Migrated silverbullet-publish into this repo 2022-11-01 17:03:42 +01:00
Zef Hemel 5d9329a531 Lazy initialize sandboxes (workers) upon first need 2022-11-01 09:57:20 +01:00
Zef Hemel 540af411a0 Large "query" plug refactor into "directive" 2022-10-28 16:17:40 +02:00
Zef Hemel 01aea4768b CLI work 2022-10-24 13:51:26 +02:00
Zef Hemel 2d9240ee25 New silverbullet command line structure, allowing for sub-commands 2022-10-23 09:06:12 +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 006ad76c85 Rename fulltext search 2022-10-19 11:30:36 +02:00
Zef Hemel 70501bc3e4 Fixes #90: Re-enables full text search 2022-10-19 09:52:29 +02:00