Commit Graph
2152 Commits
Author SHA1 Message Date
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 1a4fd12017 Reduce blast radius of Lua errors 2025-06-04 11:02:38 +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 ad3bcae1ee Fixes #1401 by implementing Lua's select 2025-06-04 09:37:11 +02:00
Jim TittslerandGitHub 9baafce968 Copy-edit splash screen text (#1413) 2025-06-04 09:18:59 +02:00
Zef Hemel a76f272635 Deno bump 2025-06-04 09:17:20 +02:00
Cole StowellandGitHub a32328615b fix: bundle external dependencies (#1379) 2025-05-26 20:06:20 +02:00
Matthias BenaetsandGitHub c23402ded6 feat: allow CONFIG.md in any directory (#1398) 2025-05-26 20:05:42 +02:00
wbhoustonandGitHub 3b56740f9e Use UTC year, month, and date for strings lacking time components (#1403) 2025-05-26 20:04:47 +02:00
Lennart OchelandGitHub ce22a4245a Add optional priority attribute to PageCreatingContent (#1392)
* Add optional priority attribute to PageCreatingContent

* Minor simplification

* Fix comments

* Revert changes

* Add pageEventHandlers
2025-05-26 20:03:54 +02:00
Albert-Jan de VriesandGitHub 4a0f03ee1e fix: closing bracket is missing (#1408) 2025-05-26 20:03:04 +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 f72e4bbfdb 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.
2025-05-13 20:29:49 +02:00
Marek S. ŁukasiewiczandGitHub f2f4937854 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
2025-05-12 07:33:49 +02:00
Marek S. ŁukasiewiczandGitHub 10e7cea08d 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
2025-05-10 17:06:45 +02:00
Ivan AlejandroandGitHub a5c2119f90 Add GitHub Actions Cache to reduce build times (#1394) 2025-05-10 16:19:37 +02:00
wbhoustonandGitHub fe315a81fa Fix support for disabling shortcuts (#1393) 2025-05-09 21:15:12 +02:00
Lennart OchelandGitHub b7f5fc174b Fetch tags and history for proper version string generation (#1388) 2025-05-09 14:01:32 +02:00
Lennart OchelandGitHub 9eb9ab2401 Fix string.find (#1390) 2025-05-09 14:00:21 +02:00
Marek S. ŁukasiewiczandGitHub b93f622e9b Render a predefined string for empty markdown table instead of pipe characters (#1387) 2025-05-08 15:09:40 +02:00
Lennart OchelandGitHub 57c4317b49 Fix paragraphs for the tag page (#1376) 2025-05-07 19:14:38 +02:00
Lennart OchelandGitHub bf62b972eb Add missing case to math.random and check arguments (#1372) 2025-05-07 18:54:44 +02:00
Lennart OchelandGitHub 2ef644791b 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
2025-05-07 18:52:07 +02:00
Lennart OchelandGitHub ced44aa4ab Allow non-zero shell exit codes (#1377) 2025-05-07 18:50:51 +02:00
Lennart OchelandGitHub 71ba757534 Fix index page naming during server initialization (#1365) 2025-05-04 20:54:25 +02:00
1cda87318b 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>
2025-05-04 20:53:48 +02:00
Lennart OchelandGitHub c49679c37f Fix week calculation (#1368)
* Add more tests for week calculation

* Fix week calculation

* Add more tests
2025-05-04 20:43:04 +02:00
Matthias BenaetsandGitHub ea3d6928cf feat: configure vim in CONFIG (#1369) 2025-05-04 20:42:00 +02:00
Lennart OchelandGitHub 0b1051c2af Escape pipe symbol in string.gsub (#1370) 2025-05-04 20:36:46 +02:00
Lennart OchelandGitHub 16d947b285 Remove common/space_lua/stdlib/math.md (#1371) 2025-05-04 20:35:02 +02:00
wbhoustonandGitHub c0f68f0906 Add notes on Space Lua Pattern Matching (#1366) 2025-05-02 07:36:04 +02:00
Zef Hemel 73f6b09d02 Refactor read_file to readFile which never worked 2025-04-30 19:55:15 +02:00
Zef Hemel 3e6aa22efd Updated README to be more consistent with website 2025-04-30 11:06:35 +02:00
Zef Hemel 3e6097a964 vim related styling fixes 2025-04-30 11:02:33 +02:00
Marek S. ŁukasiewiczandGitHub 39be21e475 Mention answers to recent forum questions on website (#1358)
* Add another example line to Frontmatter.md

Add another line which shows that page references should be quoted and pascalCase convention

* Mention feather icons in config documentation

* Add a query example to select based on folder

This is relevant for Quick Notes
2025-04-30 11:02:13 +02:00
Marek S. ŁukasiewiczandGitHub b73dadec67 Add optional argument to template.each for empty collection output (#1359)
When omitted, the function outputs empty string for empty table as before.
The feature was motivated by the Maintenance page in v1 that showed messages
instead of just empty blocks (ported over).
2025-04-30 11:01:39 +02:00
Marek S. ŁukasiewiczandGitHub b9488b45c8 Fix table constructor in editor.filterBox example (close #1344) (#1360)
Also added description field from FilterOption, others didn't seem relevant
2025-04-30 11:01:00 +02:00
Lennart OchelandGitHub 3cf67f7cce Dynamic App Name Loading for Auth Page (#1361) 2025-04-30 11:00:15 +02:00
Marek S. ŁukasiewiczandGitHub 971e19f591 Add Lua features for integers (#1363)
* Parse hexadecimal numeric constants in Lua

Fix lua grammar to not require a "+" after "e" in numbers.
Add tests for parsing correct number value.

* Implement bitwise operators in Lua

They throw an error when called on fractional values,
like Lua 5.4 but with a hint to round them manually.
2025-04-30 10:58:45 +02:00
Zef Hemel 85310e915d codemirror-vim mode version bump 2025-04-30 09:18:46 +02:00
Zef Hemel 3356a3bc5f Update Datastore API documentation to reflect key format changes from string to list for keys in set, get, and delete operations. 2025-04-28 18:52:09 +02:00
Zef Hemel 444755bbf0 Moved website warning 2025-04-26 14:33:03 +02:00
wbhoustonandGitHub 6be32d73bf Fix hashes in code blocks interpreted as titles in ToC (#1354)
https://github.com/silverbulletmd/silverbullet/issues/1351
2025-04-25 19:00:22 +02:00
wbhoustonandGitHub c35c3a0a58 Add priority to mentions and linked tasks templates (#1355)
https://github.com/silverbulletmd/silverbullet/issues/1349
2025-04-25 18:58:08 +02:00
Nick SavageandGitHub 6d83a5a3ed Add desc to query example to work as described (#1356)
Per https://community.silverbullet.md/t/query-ordered-by-lastmodified-does-not-work-as-expected-with-the-example/2252
2025-04-25 18:57:42 +02:00
Zef Hemel 019f8d3b1b Adding note on SETTINGS to migration doc 2025-04-24 20:07:54 +02:00
Zef Hemel d7e8ab1ea5 Fix lint 2025-04-18 09:34:14 +02:00