Commit Graph
721 Commits
Author SHA1 Message Date
Zef Hemel 8849f0736f New actionButton.define command 2025-06-18 16:58:45 +02:00
Zef Hemel 6d8deb969e Migrate from esm.sh to npm: packages 2025-06-18 10:49:19 +02:00
Zef Hemel d92eeb85c2 2.0.0-pre4 2025-06-18 10:11:42 +02:00
Zef Hemel 42bd980419 2.0.0-pre3 2025-06-18 10:01:24 +02:00
Zef Hemel 32be2f64b7 Fixes #1429 2025-06-18 09:05:48 +02:00
Zef Hemel 450ef50df7 Cleanup: more cleanup and moving stuff around 2025-06-17 16:12:18 +02:00
Zef Hemel 3d805383bb Cleanup: server 2025-06-17 13:48:56 +02:00
Zef Hemel e17d6b7bb7 Removed markdown plug with markdown preview 2025-06-17 11:11:59 +02:00
Zef Hemel fbf2e4bc45 Rename system.invokeCommand syscall to editor.invokeCommand 2025-06-17 10:55:51 +02:00
Zef Hemel aff178bd78 Fix index.defineTag after refactor 2025-06-17 10:46:38 +02:00
Zef Hemel de561cdf6c Lint fix 2025-06-17 10:46:18 +02:00
Zef Hemel 2f7f1dbbd4 Add support for exposing syscalls as "Lua native" not performing JS value conversion 2025-06-17 10:46:06 +02:00
Zef Hemel 806888a597 Remove double tap left shift again, bad idea 2025-06-17 10:42:11 +02:00
Zef Hemel 4155c5e38e Fix legacy syscall 2025-06-17 10:41:55 +02:00
Zef Hemel 2d8e16c4e6 Trigger "Anything Picker" by tapping the left shift twice 2025-06-16 20:34:36 +02:00
Zef Hemel c70938e972 Better "O" in Vim mode 2025-06-16 19:14:03 +02:00
Zef Hemel c3672056fb Eliminate $lib 2025-06-16 18:53:21 +02:00
Zef Hemel 7ded234eb1 Lint issues fix 2025-06-16 17:13:55 +02:00
Zef Hemel 10f6efe0ad Significant refactor of command, slashcommand and config handling, removal of "shortcuts" 2025-06-16 17:08:04 +02:00
Zef Hemel 30118eb01c Fixes #1346
Adds back "args" option to shortcuts
2025-06-13 10:38:08 +02:00
Zef Hemel 15657b6831 Fix lint 2025-06-13 10:29:27 +02:00
Zef Hemel 931b0bd16c Refactor vim mode naming
Rebind "o" to follow markdown editor's newline and continue behavior
2025-06-13 10:27:37 +02:00
Zef Hemel ea41d195b2 Minor code tweaks 2025-06-12 21:12:50 +02:00
Zef Hemel 5c45f671d1 More cleanup 2025-06-12 20:40:31 +02:00
Zef Hemel 8d3dc4cc4e Refactor, cleanup 2025-06-12 20:30:01 +02:00
Zef Hemel b942ebabad Visual indication of initial indexing progress (red circle) 2025-06-12 14:35:16 +02:00
Zef Hemel 1910ffce3e Index handling refinements 2025-06-12 13:52:13 +02:00
Zef Hemel a8d7cd122a More robust handling of client data wiping
Renamed logout command to "System: Logout"
2025-06-12 10:17:53 +02:00
Zef Hemel 944da7e7e2 Fixes #1421 2025-06-12 08:27:18 +02:00
Zef Hemel 19618b96ca Fixes #1420
Cleans up vararg handling, previously done really badly by AI...
2025-06-10 11:00:26 +02:00
Zef Hemel a0b1f03e14 Lint issues 2025-06-10 09:44:24 +02:00
Zef Hemel aed37202d4 Fixes #1251 2025-06-10 09:41:38 +02:00
Niels GanserandZef Hemel e0fff9d07c [#481] If user hasn't explicitly set a dark mode pref in Silverbullet, fall back to browser pref 2025-06-10 09:17:19 +02:00
Zef Hemel 4723303b58 Fix import 2025-06-09 18:00:33 +02:00
Zef Hemel ff741b8075 Refactor: Moved spaces/ to lib/ 2025-06-09 17:57:20 +02:00
Zef Hemel 839860ade8 Fixes #1222 2025-06-05 11:50:33 +02:00
b1b1363574 Fixing service worker and local storage conflicts when hosting multiple instances on same origin, different URL prefix but same space path (#1415)
Co-authored-by: floakclav <floakclav@gmail.com>
2025-06-04 18:39:52 +02:00
+1 766fb96ff2 Adding support for hosting with URL prefix (#1357)
* Adding support for hosting with URL prefix to make reverse-proxy setup on sub-path possible

* Adjusting recent changes to auth.html (changing to relative URLs)  after rebasing from upstream

* Adjusting service_worker and application manifest to support URL-prefix

* Add notes on Space Lua Pattern Matching (#1366)

* Remove common/space_lua/stdlib/math.md (#1371)

* Escape pipe symbol in string.gsub (#1370)

* feat: configure vim in CONFIG (#1369)

* Fix week calculation (#1368)

* Add more tests for week calculation

* Fix week calculation

* Add more tests

* Implement Lua built-in function os.difftime (#1367)

* Implement Lua built-in function os.difftime

* Test os.difftime

---------

Co-authored-by: Zef Hemel <zef@zef.me>

* Fix index page naming during server initialization (#1365)

* Allow non-zero shell exit codes (#1377)

* Generate version from git describe at build time (#1374)

* Generate version from git describe at build time

* Add 2.0-beta prefix

* Use Deno.Command instead of Deno.run

* Add missing case to math.random and check arguments (#1372)

* Fix paragraphs for the tag page (#1376)

* Render a predefined string for empty markdown table instead of pipe characters (#1387)

* Fix string.find (#1390)

* Fetch tags and history for proper version string generation (#1388)

* Fix support for disabling shortcuts (#1393)

* Add GitHub Actions Cache to reduce build times (#1394)

* Order strings in queries using collation algorithm (#1391)

Configurable with queryCollation, default value maintains old behaviour.
Added tests, schema, example settings, and documentation to query page.

Close: #614
Close: #1316

* Utility function to handle empty query results and templates (#1386)

* Add global Lua function 'some'

Moved documentation for 'each' function to non-standard section.

* Revert "Add optional argument to template.each for empty collection output (#1359)"

This reverts commit b73dadec67.

* Reimplement #1359 using 'some' function

* Update Lua to event.listEvents to match plugos syscall (#1397)

The documentation, example, and other function names use
`event.listEvents`, but `event.list` is being registered with the
client.

* Update widget header to not overflow container (#1410)

Also add a 10px margin below the header to maintain consistent spacing
around the widget contents.

* fix: case insensitive admonitions by default (#1409)

* fix: closing bracket is missing (#1408)

* Add optional priority attribute to PageCreatingContent (#1392)

* Add optional priority attribute to PageCreatingContent

* Minor simplification

* Fix comments

* Revert changes

* Add pageEventHandlers

* Use UTC year, month, and date for strings lacking time components (#1403)

* feat: allow CONFIG.md in any directory (#1398)

* fix: bundle external dependencies (#1379)

* Deno bump

* Copy-edit splash screen text (#1413)

* Fixes #1401 by implementing Lua's select

* Fixes offline capability of PWA (I hope).

Now storing config in localStorage.

* fix lint

* Reduce blast radius of Lua errors

* Fixes #1411: adds 'priority' setting for space style

* Refactor: Merging common/ into web/

* Fixes #1400

* Improves #1312 by rendering Lua expressions (but not widgets)

* Fix minor typos, add configuration to the docs

---------

Co-authored-by: wbhouston <wmbhouston@gmail.com>
Co-authored-by: Lennart Ochel <lennart.ochel@outlook.com>
Co-authored-by: Matthias Benaets <89214559+MatthiasBenaets@users.noreply.github.com>
Co-authored-by: Zef Hemel <zef@zef.me>
Co-authored-by: Marek S. Łukasiewicz <marek@lukasiewicz.tech>
Co-authored-by: Ivan Alejandro <ivanalejandro0@gmail.com>
Co-authored-by: Albert-Jan de Vries <aj+github@albert-jandevries.nl>
Co-authored-by: Cole Stowell <121599022+costowell@users.noreply.github.com>
Co-authored-by: Jim Tittsler <jimt@onjapan.net>
2025-06-04 15:15:14 +02:00
Zef Hemel e217f64d36 Improves #1312 by rendering Lua expressions (but not widgets) 2025-06-04 14:57:53 +02:00
Zef Hemel 5f784b72a9 Fixes #1400 2025-06-04 14:31:44 +02:00
Zef Hemel bf2e0cdb87 Refactor: Merging common/ into web/ 2025-06-04 14:01:59 +02:00
Zef Hemel e5c137a505 Fixes #1411: adds 'priority' setting for space style 2025-06-04 11:36:39 +02:00
Zef Hemel 0abae019f9 fix lint 2025-06-04 10:13:59 +02:00
Zef Hemel 742c82be10 Fixes offline capability of PWA (I hope).
Now storing config in localStorage.
2025-06-04 10:11:47 +02:00
Zef Hemel a76f272635 Deno bump 2025-06-04 09:17:20 +02:00
Matthias BenaetsandGitHub 9e7e201b92 fix: case insensitive admonitions by default (#1409) 2025-05-26 20:02:21 +02:00
wbhoustonandGitHub 1630bc3493 Update widget header to not overflow container (#1410)
Also add a 10px margin below the header to maintain consistent spacing
around the widget contents.
2025-05-26 20:01:32 +02:00
wbhoustonandGitHub fe315a81fa Fix support for disabling shortcuts (#1393) 2025-05-09 21:15:12 +02:00
Lennart OchelandGitHub ced44aa4ab Allow non-zero shell exit codes (#1377) 2025-05-07 18:50:51 +02:00
Matthias BenaetsandGitHub ea3d6928cf feat: configure vim in CONFIG (#1369) 2025-05-04 20:42:00 +02:00