Commit Graph

1805 Commits (55f5a465c8e33760b15043a5e942dccac0a0adaf)

Author SHA1 Message Date
Zef Hemel 55f5a465c8 Lua query fixes 2025-01-16 15:33:18 +01:00
Zef Hemel 396c9fc60a Fixes to lua:run 2025-01-16 15:31:52 +01:00
Zef Hemel 94acad1a9b Index .lua files in your space as space lua scripts 2025-01-16 12:35:34 +01:00
Zef Hemel ccea2200ac JS iterable handling 2025-01-16 12:35:15 +01:00
Zef Hemel ce18078480 Better string handling 2025-01-16 12:34:55 +01:00
Zef Hemel d82e755b35 silverbullet lua:run command 2025-01-16 12:34:27 +01:00
Zef Hemel fe9e3c6eda Expose globals in root of Lua scripts 2025-01-16 09:27:11 +01:00
Zef Hemel 63cc7132ee Fix tests 2025-01-16 09:15:53 +01:00
Zef Hemel bd05ac206b Remove dead code 2025-01-15 20:49:05 +01:00
Zef Hemel 4531eb936b Merge branch 'main' of github.com:silverbulletmd/silverbullet 2025-01-15 20:48:27 +01:00
Zef Hemel bc1bdea396 Lua: refactored and extracted test approach 2025-01-15 20:47:58 +01:00
numan 96330e73db
fix parsing issue caused by reserved word 'by' in query (#1210) 2025-01-15 20:45:07 +01:00
Zef Hemel 5604f6d8c2 Lua: tweaks and docs 2025-01-14 20:26:47 +01:00
Zef Hemel cbf227fa49 Lua Queries: make object attributes variables 2025-01-13 21:17:08 +01:00
Zef Hemel bf6a34f82c Lua Integrated Query 2025-01-13 20:25:39 +01:00
Zef Hemel 2283d16d09 Render scalar arrays as bulleted list 2025-01-13 16:22:39 +01:00
Zef Hemel 61f82869e9
Lua integrated query work (#1205)
* Lua query embeddings
2025-01-12 16:54:04 +01:00
Zef Hemel 337534cf02 Lua: early work on LuaQueryCollections 2025-01-09 18:22:26 +01:00
Zef Hemel 15ad6f3129 Lua: language fixes, and new space_lua APIs 2025-01-09 18:22:12 +01:00
Zef Hemel 86f31e3a00 Lua: experimental string interpolation 2025-01-09 11:45:15 +01:00
Zef Hemel b6f1977cec Lua runtime fixes 2025-01-09 10:27:41 +01:00
Zef Hemel 821dddff5e Lua string.gsub fixes 2025-01-09 09:00:29 +01:00
Zef Hemel c2fea2d25b Lua work 2025-01-08 17:09:09 +01:00
Zef Hemel 29e127ca78 Remove references to HTTP storage 2025-01-08 16:29:37 +01:00
Zef Hemel fc9213c7ca Lua cleanup 2025-01-08 11:39:00 +01:00
Zef Hemel fc1ff7dc5b Lua test cleanup 2025-01-08 11:23:30 +01:00
Zef Hemel 076c296dfd Lua iterator fixes 2025-01-08 11:12:26 +01:00
Zef Hemel ec6db8c766 Lua vararg testing 2025-01-08 11:04:33 +01:00
Zef Hemel c70f8fef1a Lua scope fixes 2025-01-08 10:00:46 +01:00
Zef Hemel f4507e9513 Bump deno version to 2.1.4 2025-01-08 09:38:06 +01:00
Zef Hemel de83995f35 Upgrade cliffy dependency 2025-01-08 09:37:56 +01:00
Marek S. Łukasiewicz 1508f6bcbf
Correctly extract hashtag content in links and Page Picker filter (fix #1196) (#1199) 2025-01-07 19:57:46 +01:00
István Szekeres fdd3d1b650
Fix encoding of inline content (#1186)
Inline content with the file containing e.g. a `:` cannot be displayed
as the file name is set as the img src, and the browser treats the part
before the : as the protocol, instead of as a file name.

This change encodes the file name so `:` becomes `%3A`, fixing the
issue.

Fixes #1182.
2025-01-07 19:56:45 +01:00
Mufeed Ali f801fd263b
fix(system): Add condition to prevent remote script reload when syncOnly is enabled (#1198) 2025-01-04 07:02:49 +01:00
Marek S. Łukasiewicz e94c4843b4
Add config for Helix editor (#1200) 2025-01-04 06:59:12 +01:00
David Lawrence df9edc5d64
Allow clicking Remember me label to toggle checkbox (#1194) 2024-12-31 07:19:17 +01:00
David Chiles 4cadb8cb4d
fix Swift syntax highlighting (#1183) 2024-12-26 08:17:48 +01:00
Martin Mauch 6e421ca20e
Fix passing URL parameters when proxying (#1168) 2024-12-14 09:58:41 +01:00
TR Staake 2020e85a6f
Update how tags are rendered to allow for custom styling (#1179)
* Updated how tags are rendered to allow for custom styling via space-styles

* Wrapped the existing span for a tag with an anchor element <a> to
improve ux for screen readers
* Added data-tag-name attribute to tags so that given a tag `#my-tag` it
will have the attribute `data-tag-name="my-tag"` added to the new `<a>`
element wrapper allowing for end users to target tags for styling with a
css selector such as `.sb-hashtag[data-tag-name="my-tag"]{...}`

* Updated Docs
2024-12-14 09:57:46 +01:00
Zef Hemel a56db78194 Reload configuration before updating plugs 2024-12-14 09:42:46 +01:00
Marek S. Łukasiewicz 6e4742de11
Plug Manager rework (#1042) (#1122) 2024-12-14 09:39:37 +01:00
Ohad Lutzky 3e153a525c
Fix trailing periods for naked URLs (#1175)
Fixes https://github.com/silverbulletmd/silverbullet/issues/1160
2024-12-14 09:19:25 +01:00
Marek S. Łukasiewicz a400f0fc20
Create Library/Core/Snippet/yesterday.md (#1176) 2024-12-07 15:23:09 +01:00
Bruno Heridet 206c3f7603
doc: replace Oak mentions by Hono (#1177) 2024-12-07 15:22:27 +01:00
Lindsay Schwartz 660c7c3f99
readme MIT license link corrected (#1174) 2024-12-05 21:15:42 +01:00
Michael Kolb cfbe8959d0
fix case sensitive property (#1167) 2024-11-24 09:21:34 +01:00
Michael Stapelberg 8114b25470
markdown_parser: allow comma and semicolon in naked URLs (#1162) 2024-11-21 22:39:27 +01:00
Zef Hemel 51fc5952bc Some enhancement of the lockout mechanism 2024-11-15 16:56:54 +01:00
Peter Weston 046a0df868
Simple protection against brute force attacks (#1152) 2024-11-15 16:51:18 +01:00
Zef Hemel 7811f53e28 0.10.1 2024-11-14 21:31:13 +01:00