Commit Graph

45 Commits (337534cf02bc0b6ae97582232f1e1ac542be4a5f)

Author SHA1 Message Date
Vighnesh Shenoy 3132d9e9f2
Allow tab press to autocomplete (#1150) 2024-11-13 21:15:40 +01:00
Ohad Lutzky 916c84e9c1
Fix Enter for vim mode (#1146)
This is a workaround for https://github.com/replit/codemirror-vim/issues/182

Fixes https://github.com/silverbulletmd/silverbullet/pull/1145 (harder)
2024-11-11 13:57:19 +01:00
Ohad Lutzky 4457927416
Do not use standardKeymap in vim mode (#1145)
The standard keymap conflicts with the vim mode, e.g. not allowing arrow
keys to move through the vim commandline for `/` and `:` commands. The
keys described in
https://codemirror.net/docs/ref/#commands.standardKeymap seem to work
just fine without it in vim mode.

Fixes https://github.com/silverbulletmd/silverbullet/issues/976
2024-11-11 12:38:01 +01:00
Fernando Serboncini 7731b28203
auto close brackets setting (#1110) 2024-10-08 21:06:33 +02:00
Zef Hemel d8b4295af4 Fix double page reloads 2024-09-10 14:54:15 +02:00
Zef Hemel 64b6d9e2df
Space config (#1011)
Space config + a whole bunch of other tweaks
2024-08-02 16:47:36 +02:00
onespaceman 45166ccd93
Embed video, audio and pdf (#1008) 2024-08-02 16:30:39 +02:00
onespaceman 70cb0fc226
Per-tag page styling (#945)
PageDecorator add cssClasses

---------

Co-authored-by: Zef Hemel <zef@zef.me>
2024-07-31 11:28:31 +02:00
Zef Hemel c111f72e09 Lint error removal 2024-07-30 17:33:33 +02:00
Marek S. Łukasiewicz e2cb2ab6e7
Add setting for smart quotes (#960) 2024-07-19 19:08:49 +02:00
Zef Hemel fb21377bef
Transclosure support for pages (#925)
Transclusion implementation
2024-07-09 09:22:08 +02:00
Zef Hemel a6450d3179 Fixes #704 implementing read-only mode and mobile only button 2024-07-04 21:22:37 +02:00
MrMugame c412bed98e
Add `drawSelection()` (#917) 2024-07-04 07:05:58 +02:00
MrMugame 5c28b1a73f
Change selection behaviour (#904)
* Change selection behaviour
* turn mouseup/mousedown events into click
* Remove `drawSelection()`
* Add custom cursor
2024-07-03 19:13:54 +02:00
Zef Hemel 75d3277885 Fixes #864 2024-05-14 13:24:33 +02:00
Maks 8a3782e946
improve dependency management (#770)
* use import_map.json instead of per-file import

* remove test_deps.ts in favor of import_map

* remove common/deps.ts in favor of import_map

* use import_map instead of server/deps.ts

* make all plug-api files usable without an import_map

* make all lib files usable without an import_map

* remove web/deps.ts in favor of import_map

* fix plug build

* remove plug-api/deps.ts in favor of lib/deps.ts

* fix server deps bundled in client deps
2024-03-16 15:29:24 +01:00
Zef Hemel 03ee9adc86 Fixes #644 2024-03-02 12:14:27 +01:00
Zef Hemel e919aa82e9 0.7.4 2024-02-29 15:23:05 +01:00
Joe Krill aaad3dbf0a
Add copy to clipboard button to code blocks (#735) 2024-02-23 10:12:48 +01:00
Joe Krill d25eee79f8
Correctly skip adding default shortcuts for overriden commands (#739) 2024-02-22 22:26:31 +00:00
Zef Hemel 60d3199d64
Giant code reorganization (#690)
Code restructure
2024-02-08 21:00:45 +01:00
Zef Hemel 05efbc8741 Refactoring and adding ability to create custom commands from space functions 2024-02-07 14:50:01 +01:00
Zef Hemel 341c07049f
Custom template parser (#672)
New template engine 🤯
2024-02-02 19:19:07 +01:00
Zef Hemel 40dc50f782 Fixes #495 2024-01-25 19:46:08 +01:00
Zef Hemel 8404256ccb Fixes #643 2024-01-25 11:42:36 +01:00
Zef Hemel a9ce68860e Fixes #638 2024-01-24 14:03:14 +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 0296679827 Fixes #627 2024-01-13 18:42:40 +01:00
Zef Hemel a205178ff0 Renamed "keyboardShortcuts" to "shortcuts" 2023-12-27 08:14:57 +01:00
Zef Hemel 3350c7f076 More instant page navigator 2023-12-22 15:55:50 +01:00
Zef Hemel df83c62dec Fixes #605 2023-12-22 13:22:25 +01:00
Zef Hemel 70ef6ed9da Work on #587: revamped templates 2023-12-21 18:38:02 +01:00
Zef Hemel 5a7a35c759
E2E encryption (prototype) (#601)
Prototype E2E encryption
2023-12-17 11:46:18 +01:00
Zef Hemel 62e98b1fd8 Fixes #585 2023-11-29 16:50:53 +01:00
Zef Hemel 259ad5b488 Fixes #576 supporting markdown in headers and refactoring some stuff 2023-11-27 16:29:19 +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 1ac494765f Fixes #263: Implement TOC 2023-11-25 13:40:56 +01:00
Zef Hemel 2aed9e5685 Fixes #539 linter support, now checking YAML formats 2023-11-21 16:24:20 +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
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 cf97d04b1b Add HTML code blocks 2023-08-15 07:56:11 +02:00
Zef Hemel 16842a1c4b Editor refact: rename Editor to Client 2023-07-14 16:56:20 +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