Zef Hemel
f4de6a4b85
Migrating core use of queryObjects to queryLuaObjects
2025-03-18 18:22:17 +01:00
Zef Hemel
29570a3760
Allow for custom widgets through hooks:renderBottomWidgets and hooks:renderTopWidgets
2025-03-16 14:35:59 +01:00
Zef Hemel
dde532d1b6
Added silverbullet lua:repl command
2025-03-14 16:43:13 +01:00
MrMugame and GitHub
d3cc3e0d48
Add image viewer ( #1289 )
...
* Fix legacy support for navigation
* Fixes timing issue with document editors
If silverbullet was directly loaded into a document editor it would set
the darkmode after loading the editor, causing a wrong value to be
passed
* Add basic `image-viewer`
This add adds a basic image viewer using the panzoom library from Timmy
Willison
* Svgs somehow don't accept 100% width
* Make `internal` a property of a message
* Add `editor.sendMessage` syscall
* Update forgotten internal syscall
* Add small info command to image-viewer
* Change indent to two spaces
* Move zoom in button to the right
* Switch rotation direction
* Display mime type instead of file extension
2025-03-14 09:42:23 +01:00
Zef Hemel
64feb6e608
parentNodes added to page:click event
2025-03-08 18:35:08 +01:00
Zef Hemel
0a80c5c537
Collapse PageRef, DocumentRef and LocationRef into a single Ref type
2025-03-07 13:49:20 +01:00
Zef Hemel
e96a220e1a
Meta page completion fix
2025-03-07 11:54:22 +01:00
MrMugame and GitHub
e61a447d98
Implementing #913 ( #1230 )
...
Implemented custom editors
2025-03-06 15:11:17 +01:00
Zef Hemel
66f378f4af
Fix JSR issues
2025-02-25 18:36:45 +01:00
Simon Cambier and GitHub
411416fe65
Feature/move lines up down ( #1232 )
...
* Move lines up/down
2025-02-23 20:49:52 +01:00
numan and GitHub
2a3c926849
add rebuildEditorState function to the syscalls ( #1254 )
2025-02-22 11:51:37 +01:00
Zef Hemel
e1c997616c
Support ${lua expression} in templates
2025-02-06 11:58:27 +01:00
Zef Hemel
12d5f0beba
Add scrolling into view to insertAtCursor syscall
2025-02-06 08:36:56 +01:00
Zef Hemel
517cfb209a
Lua: Reimplement template and config in Space Lua, distributed with Library/Std
2025-01-20 23:29:06 +01:00
Zef Hemel
83550c1623
Exposing Objects indexing as syscalls
2025-01-17 10:41:02 +01:00
Zef Hemel
55f5a465c8
Lua query fixes
2025-01-16 15:33:18 +01:00
Zef Hemel and GitHub
61f82869e9
Lua integrated query work ( #1205 )
...
* Lua query embeddings
2025-01-12 16:54:04 +01:00
Zef Hemel
c2fea2d25b
Lua work
2025-01-08 17:09:09 +01:00
Peter Weston and GitHub
83646eba37
recognise tel: uri scheme as a non-local path ( #1139 )
2024-11-02 22:34:26 +01:00
Zef Hemel
64c98678bc
Adjust import for tagRegex
2024-10-20 12:40:43 +02:00
Marek S. Łukasiewicz and GitHub
010e2b23f4
Allow tags to start with a number and be escaped with angle brackets ( #1116 )
...
Includes tests and Markdown/Hashtags page for website. Closes #1072
2024-10-20 12:39:58 +02:00
Zef Hemel
5c8332a109
Cleaning some dependencies
2024-10-11 15:52:37 +02:00
Zef Hemel
64e398fd90
deno fmt
2024-10-11 15:34:27 +02:00
Zef Hemel
6c71862641
Lua: multi-line string literals
2024-10-07 09:08: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
a5c4bcc43b
Lua AST refactor
2024-09-29 15:09:13 +02:00
MrMugame and GitHub
f7cfe328b8
Fixes #1101 ( #1102 )
...
* Make all keywords use @specialize
* Rebuild the grammar
* Making it work in the later parsers
2024-09-29 13:26:44 +02:00
Zef Hemel
aa712ed8f4
More work on Lua
2024-09-27 09:11:06 +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
d9aa6ef1c4
New window command
2024-09-10 14:38:41 +02:00
Zef Hemel and GitHub
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
b1c46a17cf
Redoing item and task indexing
2024-08-21 21:31:07 +02:00
Zef Hemel
600e3ce48b
lint fix
2024-08-20 09:41:28 +02:00
Zef Hemel
b8081d970c
Fixes #1049 centralizes page URL encoding and decoding
2024-08-20 09:38:56 +02:00
Zef Hemel
9dd589fcfe
lint fix
2024-08-18 13:09:06 +02:00
Zef Hemel
8b811f11c9
Test fixes
2024-08-18 13:08:52 +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
074aa323c2
Initial schema implementation #104
2024-08-15 16:39:06 +02:00
jcgurango and GitHub
9b88a8d694
Expose render parse tree ( #1032 )
2024-08-15 11:45:46 +02:00
Zef Hemel
b7c56a8379
Fix some things with transclusions, and added a renderWidgets page decoration
2024-08-12 20:12:28 +02:00
Zef Hemel
40e07dbea0
More docs updates
2024-08-09 09:28:04 +02:00
onespaceman and GitHub
7c23e8d622
Widget buttons for transclusions ( #942 ) ( #1013 )
...
Widget buttons for transclusions
2024-08-08 20:19:41 +02:00
Zef Hemel
cafd001214
Added a ton of JS Doc
2024-08-07 13:27:25 +02:00
Zef Hemel
e29352556b
Expose syscalls in space script via globals (no more syscall calls)
2024-08-07 11:09:56 +02:00
Zef Hemel and GitHub
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
51f756ec60
Fallback for readSetting for old SB versions
2024-08-05 16:34:48 +02:00
Zef Hemel
102e6d10eb
Fix deepObjectMerge edge cases
2024-08-03 14:09:12 +02:00
Zef Hemel
76dadb58b3
Another edge case
2024-08-03 11:58:50 +02:00
Zef Hemel
c512f253cb
Fix deepEqual edge case
2024-08-03 11:54:32 +02:00
Zef Hemel and GitHub
64b6d9e2df
Space config ( #1011 )
...
Space config + a whole bunch of other tweaks
2024-08-02 16:47:36 +02:00