Commit Graph

485 Commits (206c3f7603a97517f948ffabfd3c9ef2025c0400)

Author SHA1 Message Date
Michael Kolb cfbe8959d0
fix case sensitive property (#1167) 2024-11-24 09:21:34 +01:00
Peter Weston 046a0df868
Simple protection against brute force attacks (#1152) 2024-11-15 16:51:18 +01:00
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
Mufeed Ali c52e9e71f0
Few dark mode fixes and top bar improvements (#1137)
* fix: Fix progress bar coloring and remove % on indicator

Fixes #1129

* fix: Improve header, action buttons and progress bar spacing

* fix: Fix caret color on sb-mini-editor
2024-11-07 21:28:14 +01:00
Vighnesh Shenoy 68ead02975
fix: update unused scss variable for directive mark color (#1142)
Signed-off-by: Vighnesh shenoy <vighneshq@gmail.com>
2024-11-07 21:19:37 +01:00
aekaisato 64bbe67912
Create "remember me" functionality for basic auth, which sets an unexpiring jwt and refreshes the cookie during requests (#1132)
* Create "remember me" functionality for basic auth, which sets an unexpiring jwt and refreshes the cookie during requests
2024-10-28 14:09:32 +01:00
Michael Kolb e83f3ebc66
Enabler to make scripts loaded from CDN more secure (#1127)
* added integrity property to load scripts

* fix contribution
2024-10-25 10:38:37 +02:00
Zef Hemel 8acb112e4e Lua stack frame refactor 2024-10-20 15:06:23 +02:00
Marek S. Łukasiewicz f37cf23ba7
Space config for smart quotes (close #1114) (#1121) 2024-10-17 22:34:47 +02:00
Zef Hemel 5765540a3a Widget: alt-click to move cursor into widget 2024-10-16 20:50:38 +02:00
Zef Hemel 2842183568 Lua widgets: support inline for HTML widgets 2024-10-15 16:58:39 +02:00
Zef Hemel 6ec6f0cd6d First Lua docs 2024-10-14 20:59:10 +02:00
Zef Hemel c1a20af981 Lua: widgets 2024-10-13 15:14:22 +02:00
Zef Hemel 4b6cd183a8 Dependency bumps 2024-10-11 16:59:06 +02:00
Zef Hemel 64e398fd90 deno fmt 2024-10-11 15:34:27 +02:00
Zef Hemel 6a30284bab Migration to Deno 2.0 2024-10-10 12:52:28 +02:00
Zef Hemel 3319c7f21c More lua progress: JS Interop 2024-10-09 20:35:11 +02:00
Fernando Serboncini 7731b28203
auto close brackets setting (#1110) 2024-10-08 21:06:33 +02:00
Zef Hemel 899c2556cb Lua: more fixes and work on stdlib 2024-10-08 19:53:09 +02:00
Zef Hemel f74bab0aca Lua: inline directives improvements 2024-10-07 19:17:12 +02:00
Zef Hemel 6c71862641 Lua: multi-line string literals 2024-10-07 09:08:36 +02:00
Zef Hemel 41a856636a Lint 2024-10-05 15:38:28 +02:00
Zef Hemel 1299d85e9a First simple Lua directive Live Preview 2024-10-05 15:37:36 +02:00
Zef Hemel 3cf7b72ebb First integration of Lua into the core (via space-lua code blocks) 2024-10-03 17:55:51 +02:00
Zef Hemel 2ef43bd56d Fixes #1100 2024-09-29 13:39:08 +02:00
Zef Hemel 28f3e454b6 Slightly different way of addressing #1085
saving files after local update with setTexrt
2024-09-24 17:34:46 +02:00
Zef Hemel 4bc6ed719c
Update index.html
Removed random s
2024-09-13 08:03:44 +02:00
Zef Hemel d8b4295af4 Fix double page reloads 2024-09-10 14:54:15 +02:00
Zef Hemel d9aa6ef1c4 New window command 2024-09-10 14:38:41 +02:00
Ruibin Xing bddb1b5da9
Export PDF through print. (#1065)
Add print button for markdown panel
2024-08-28 17:32:29 +02:00
Zef Hemel 80f9c14b96
Change how attribute indexing and completion works (#1061)
* Creation of separate aspring-page objects for pages linked to, but not created
* Show "No results" instead of broken markdown table for no query results
* Show schema validation errors
* Deno upgrade
* Adds config support to plugs (see examples)
* Moves all builtin schemas to plug config
* Adds core plug just for builtin schemas
* Changes how attributes are indexed and completed, now attempts to derive a JSON schema for ad hoc attributes
2024-08-24 12:35:09 +02:00
Zef Hemel efc5fa6b2c Fix RO mode 2024-08-22 14:24:40 +02:00
jcgurango eea8326220
Use setText instead of replacing entire editor state (#1056)
* Fix diffAndPrepareChanges
* Use setText instead of replacing editor state
* Isolate editor.setText transaction
2024-08-21 21:36:50 +02:00
jcgurango eeb54738f2
Fix diffAndPrepareChanges (#1055) 2024-08-21 20:03:30 +02:00
Zef Hemel 0c4838e45c Fix copy code edge case 2024-08-20 10:52:08 +02:00
Zef Hemel b8081d970c Fixes #1049 centralizes page URL encoding and decoding 2024-08-20 09:38:56 +02:00
Zef Hemel 225443aef1 Fixes #984 adds Page: Rename Linked Page command 2024-08-18 15:24:18 +02:00
Zef Hemel 3ac21498f3 Fixes #680 all times and dates are now local (to the environment) 2024-08-18 13:04:51 +02:00
Zef Hemel cf054fa186 Should fix #1019 and #1035 2024-08-18 10:39:04 +02:00
Ruibin Xing 770b4b3b59
Added ctrl-p/n keybindings for filters (#1006) (#1036)
Co-authored-by: Ruibin Xing <xingruibin@kanyun.com>
2024-08-15 16:41:15 +02:00
Zef Hemel 074aa323c2 Initial schema implementation #104 2024-08-15 16:39:06 +02:00
Zef Hemel 94d745c7a7 Fixes #1030 2024-08-15 14:36:15 +02:00
Zef Hemel b7c56a8379 Fix some things with transclusions, and added a renderWidgets page decoration 2024-08-12 20:12:28 +02:00
onespaceman 7c23e8d622
Widget buttons for transclusions (#942) (#1013)
Widget buttons for transclusions
2024-08-08 20:19:41 +02:00
Zef Hemel 6b69449d05
More JSR (#1027)
* Move all syscalls to JSR-style package naming
* Eliminating some prefixes in import maps
2024-08-06 20:11:38 +02:00
Zef Hemel ea6e4ce079 Emit config:loaded event 2024-08-03 20:59:53 +02:00
Zef Hemel 47f504f2ce deno fmt 2024-08-02 17:14:40 +02:00
Zef Hemel 64b6d9e2df
Space config (#1011)
Space config + a whole bunch of other tweaks
2024-08-02 16:47:36 +02:00