1
0
Commit Graph

322 Commits

Author SHA1 Message Date
Zef Hemel
6892756397 Ignore casing in wiki link marking 2023-10-10 09:38:06 +02:00
Zef Hemel
539f0e5326 Safari theme color tweaks 2023-10-10 09:01:44 +02:00
Zef Hemel
dc255c3dda Fix iframes in Safari PWA 2023-10-09 21:02:57 +02: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
371932e085 More iframe height fixing 2023-10-04 16:21:18 +02:00
Zef Hemel
852b07c7a7 Widget sizing fixes 2023-10-04 13:47:02 +02:00
Zef Hemel
0b4f938c5d Remove console.log 2023-10-03 14:34:21 +02:00
Zef Hemel
3535bc9449 Improved cached widget height 2023-10-03 14:34: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
7af98e7c7b Merge branch 'main' of github.com:silverbulletmd/silverbullet 2023-09-09 21:06:27 +02:00
Zef Hemel
3f42377f58 Single-line height directives again 2023-09-09 21:06:15 +02:00
Zef Hemel
d9f1f848c4
Update editor_ui.tsx 2023-09-07 12:52:40 +02:00
Zef Hemel
ae2135714d Tweaking the styling of the sync button 2023-09-07 12:33:25 +02:00
Zef Hemel
7b56df523b Better mode switch message 2023-09-04 20:02:35 +02:00
Zef Hemel
95d182e382 Work on next-gen data store 2023-09-03 21:15:17 +02:00
Zef Hemel
2ee20af5c8 Custom task statuses plus various fixes 2023-09-01 16:57:29 +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
54d2deea15 Support multiple customStyles pages 2023-08-28 15:52:39 +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
38a95d2382 Fixes miscoloring meta 2023-08-21 16:37:10 +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
a94724768e Refactoring 2023-08-20 17:51:00 +02:00
Zef Hemel
b273645bae Change all SETTINGS with page references to allow "[[page]]" notation 2023-08-17 20:27:05 +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
f22b9c4a1f Open PWA on last opened page 2023-08-16 11:40:31 +02:00
Zef Hemel
bd77f2932c Space sync now scheduled 2023-08-15 20:24:02 +02:00
Zef Hemel
7cce83b240 API refinements 2023-08-15 20:15:27 +02:00
Zef Hemel
b47c07da74 Fix minor inconsistencies 2023-08-15 07:56:29 +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
d4f7833f0d Use MQ for updating directives in entire space 2023-08-10 19:00:28 +02:00
Zef Hemel
97a84e8538 Fixes #115: By introducing MQ workers 2023-08-10 18:32:41 +02:00
Zef Hemel
c6fce524e6 Dial down excessive debug logging 2023-08-10 16:09:28 +02:00
Zef Hemel
c13f7edb65 Even more debug 2023-08-09 18:07:01 +02:00
Zef Hemel
647f23634d More sync debugging 2023-08-09 17:52:39 +02:00
Zef Hemel
52fdc14ee4 More sync debugging statements 2023-08-09 17:22:42 +02:00
Zef Hemel
cc8f817581 Misaligning sync cycles (to avoid no-op cycles) 2023-08-08 20:09:48 +02:00
Zef Hemel
e805a1ced0 Debugging sync getting stuck 2023-08-08 17:19:43 +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
4af7afa4aa Instantly sync updated pages when ticking off a task in a directive 2023-08-05 21:09:41 +02:00
Zef Hemel
3464af0252 WIP: CLI running of plugs 2023-08-04 18:56:55 +02:00
Zef Hemel
2c8e1f1809 Shift-Enter in the page navigator now takes the input literally 2023-08-01 21:37:52 +02:00
Zef Hemel
701a567c95 Attribute indexing and code completion 2023-08-01 21:35:19 +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
21c8cd6e7a Federated URL backend handling 2023-07-29 17:06:32 +02:00
Zef Hemel
7442aac7e0 Maintain modal focus 2023-07-29 12:19:35 +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
891c8fb995 Fixes #453: batch prefix refactor command 2023-07-28 15:20:56 +02:00
Zef Hemel
747e81e5da More consise error messages 2023-07-28 13:54:44 +02:00
Zef Hemel
9dd7a5310b Remove old fuzzy search 2023-07-27 17:05:07 +02:00
Zef Hemel
804d87436c Fixes #355 2023-07-27 17:02:53 +02:00
Zef Hemel
4ba11ac66c Minor clean 2023-07-27 15:25:33 +02:00
Zef Hemel
a3ad239b09 Fixes #428 2023-07-27 15:25:25 +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
5481e49393 Debug: Reload UI command 2023-07-26 11:22:10 +02:00
Zef Hemel
6510f06e0e Replacing fuzzy search with fuse.js 2023-07-25 17:33:07 +02:00
Zef Hemel
95df296197 Fix broken boot sequence on HTTP without auth cookie 2023-07-25 10:51:44 +02:00
Zef Hemel
2b494f263e Work on inline attributes 2023-07-24 19:54:31 +02:00
Zef Hemel
804c688a46 Fixes shell/fetch regression 2023-07-24 09:36:33 +02:00
Zef Hemel
7cd88eca14 Fixes #475 2023-07-24 09:36:10 +02:00
Zef Hemel
16842a1c4b Editor refact: rename Editor to Client 2023-07-14 16:56:20 +02:00
Zef Hemel
f3936f9b2f Editor refactor: fix plug namespace 2023-07-14 16:48:35 +02:00
Zef Hemel
e92ed2c5be Editor refactor: extract UI 2023-07-14 14:22: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
79a1120198 Fixes #373: applies horizontal scrolling to tables when necessary 2023-07-13 11:50:31 +02:00
Zef Hemel
77af9e0257 Auto add closing ` 2023-07-12 11:15:28 +02:00
Zef Hemel
b615ccdff7 Don't mark plug-space links as non-existent in the editor 2023-07-12 11:07:14 +02:00
Ian Shehadeh
a9a5242159
move viewport top to cursor on page navigate (#463) 2023-07-11 17:58:29 +02:00
Zef Hemel
f7edfec6e0 Manual merge of #452 2023-07-10 13:16:22 +02:00
TheLD6978
3be4c9fc34
Refactor SCSS to use CSS variables (#455)
* refactor: start using css variables for theming

* refactor: finish defining all currently used css vars

* refactor: create dark mode with css vars

* refactor: move color vars to own file

* fix: switch order of style tags to priorize custom styles over main.css

---------

Co-authored-by: TheLD <lars@adornis.de>
2023-07-10 08:44:37 +02:00
Zef Hemel
f0aaec7afc Fix hashtag indexing for tasks on inial sync 2023-07-07 15:46:11 +02:00
Zef Hemel
e98495fb50 Automatically reopen DB when closed (e.g. due to SW update) 2023-07-07 15:45:52 +02:00
Zef Hemel
fd6f81d500 Uploads to same folder 2023-07-07 13:09:44 +02:00
Zef Hemel
04d6de18e6 Restrict valid page names 2023-07-07 11:44:05 +02:00
Zef Hemel
59ff0643b0 Fix auth 2023-07-07 09:28:20 +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
98bebf3cb8 Service worker cleanup 2023-07-04 16:54:57 +02:00
Zef Hemel
297090b588 Backwards compatibility fix 2023-07-02 16:30:37 +02:00
Zef Hemel
fabd785f6d STYLES handling changes (via SETTINGS) 2023-07-02 14:48:27 +02:00
Zef Hemel
a116b7aadd Fixes #422 2023-07-02 14:10:03 +02:00
Zef Hemel
75aa3171ff Fixes #421 2023-07-02 13:41:40 +02:00
Zef Hemel
0c006bb84c Fixes #393 2023-07-02 12:15:37 +02:00
Zef Hemel
809fc7e2e1 Fixes #429 2023-07-02 11:50:53 +02:00
Zef Hemel
ec1c4ac26f Fixes #424 2023-07-02 11:47:41 +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
Ian Shehadeh
fee2c5928e
Prevent duplicate tap events (#436)
* prevent duplicate click events on mobile

* prevent duplicate mouse events on mobile safari

* only prevent default event on links

I think I misunderstood what was going on originally, mouse and click
weren't both triggering  it was the default event from the a reference.

So, only prevent default behavior on a e;ements, since default handlers
are needed on navigation.

Oddly, this I've only noticed this fixing navigation on firefox simulator.
It wasn't needed on firefox.
2023-06-28 19:36:22 +02:00
Zef Hemel
eefd8a5245 Add Fold: Toggle Fold command 2023-06-17 09:01:32 +02:00
Zef Hemel
a2bba5a7ab Sync progress circle 2023-06-14 20:58:08 +02:00
Zef Hemel
1b922791f3 Implements #51: Folding commands 2023-06-14 19:27:18 +02:00
Zef Hemel
a5ae15e803 Disable onunload ping, no longer required 2023-06-14 10:10:40 +02:00
Zef Hemel
8e0a7cf177
Real-time collaboration within space (#411) 2023-06-13 20:47:05 +02:00
JordanPaoletti
063a8e4767
allow top bar action buttons to be links and make home one (#417) 2023-06-10 16:15:16 +02:00
Zef Hemel
b035969402 Fixes #368 2023-05-29 10:26:56 +02:00
Zef Hemel
c6a45be4bb Fixes #409 2023-05-29 09:53:49 +02:00
Zef Hemel
bc5cdff323 Limit code widget width to 100% 2023-05-26 14:48:41 +02:00
Zef Hemel
92c36ca524 Version bump all around 2023-05-26 14:25:24 +02:00
Zef Hemel
1a1b942f92 No longer serialize binary blobs as data URLs 2023-05-26 14:04:32 +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
Zef Hemel
f57f4d1342 Fixes #337 2023-05-08 09:59:29 +02:00
Max Richter
0195001e93
feat: make darkmode more readable (#396) 2023-05-06 15:59:19 +02:00
Zef Hemel
288e67e380 Added support for overriding CSS styles with STYLES page 2023-02-28 10:07:20 +01:00
Zef Hemel
41a311d625 Remove up/down movement support between page name and content 2023-02-27 15:55:31 +01:00
Zef Hemel
a11f4b1d57 Dependency bumps 2023-02-23 16:02:41 +01:00
Zef Hemel
c1528eff08 Fixes #360 2023-02-23 15:33:51 +01:00
Zef Hemel
d133c79de0 Support for store.has syscall 2023-01-26 15:26: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
Brendan Molloy
5ad804da1c
Add various language syntax highlighting (#329) 2023-01-22 18:45:01 +01:00
Zef Hemel
d6d3ed9636 Fixes #326 2023-01-22 15:48:12 +01:00
Zef Hemel
8f6be9dd11 YAML highlighting for embed blocks 2023-01-21 13:44:11 +01:00
Zef Hemel
a4c103e127 Fixes #258 2023-01-21 13:37:55 +01:00
Zef Hemel
3fb393baf3 Fixes #316 2023-01-18 16:46:24 +01:00
Zef Hemel
e4a4467547 Sync: Local wipe and sync command and better info 2023-01-16 18:34:15 +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
fd8645c157 Nicer read-only mode 2023-01-16 11:28:59 +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
e5276319e0 Timeouts for sync config 2023-01-14 18:51:00 +01:00
Zef Hemel
b41d9514d1 Windows icon 2023-01-14 06:00:30 -08:00
Zef Hemel
6e41731f3f Windows ico 2023-01-14 13:07:07 +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
Martin Kraft
6f500bcc16
Fixes #234 2023-01-06 18:17:39 +01:00
Zef Hemel
b30a0a3fa7 Fixes #270 2023-01-04 07:51:58 -08:00
Evgenii Karagodin
66eb289d6e
Prevent losing commands with context (#254) 2023-01-04 16:37:09 +01:00
Krzysztof Kowalczyk
c3d5f4275e
better up / down handling in FilterList (#232)
Better up/down handling in FilterList; fixes #230

Co-authored-by: Zef Hemel <zef@zef.me>
2023-01-03 21:27:46 +01:00
Zef Hemel
fdc08d893a
PoC Electron app (#264)
Initial version of Electron wrapper + build pipeline
2023-01-03 20:46:52 +01:00
Zef Hemel
03c49dc937 Fixes #243 2022-12-29 12:59:45 +01:00