1
0
Commit Graph

264 Commits

Author SHA1 Message Date
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