wbhouston and GitHub
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
wbhouston and GitHub
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. Łukasiewicz and GitHub
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. Łukasiewicz and GitHub
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 Alejandro and GitHub
a5c2119f90
Add GitHub Actions Cache to reduce build times ( #1394 )
2025-05-10 16:19:37 +02:00
wbhouston and GitHub
fe315a81fa
Fix support for disabling shortcuts ( #1393 )
2025-05-09 21:15:12 +02:00
Lennart Ochel and GitHub
b7f5fc174b
Fetch tags and history for proper version string generation ( #1388 )
2025-05-09 14:01:32 +02:00
Lennart Ochel and GitHub
9eb9ab2401
Fix string.find ( #1390 )
2025-05-09 14:00:21 +02:00
Marek S. Łukasiewicz and GitHub
b93f622e9b
Render a predefined string for empty markdown table instead of pipe characters ( #1387 )
2025-05-08 15:09:40 +02:00
Lennart Ochel and GitHub
57c4317b49
Fix paragraphs for the tag page ( #1376 )
2025-05-07 19:14:38 +02:00
Lennart Ochel and GitHub
bf62b972eb
Add missing case to math.random and check arguments ( #1372 )
2025-05-07 18:54:44 +02:00
Lennart Ochel and GitHub
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 Ochel and GitHub
ced44aa4ab
Allow non-zero shell exit codes ( #1377 )
2025-05-07 18:50:51 +02:00
Lennart Ochel and GitHub
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 Ochel and GitHub
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 Benaets and GitHub
ea3d6928cf
feat: configure vim in CONFIG ( #1369 )
2025-05-04 20:42:00 +02:00
Lennart Ochel and GitHub
0b1051c2af
Escape pipe symbol in string.gsub ( #1370 )
2025-05-04 20:36:46 +02:00
Lennart Ochel and GitHub
16d947b285
Remove common/space_lua/stdlib/math.md ( #1371 )
2025-05-04 20:35:02 +02:00
wbhouston and GitHub
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. Łukasiewicz and GitHub
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. Łukasiewicz and GitHub
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. Łukasiewicz and GitHub
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 Ochel and GitHub
3cf67f7cce
Dynamic App Name Loading for Auth Page ( #1361 )
2025-04-30 11:00:15 +02:00
Marek S. Łukasiewicz and GitHub
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
wbhouston and GitHub
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
wbhouston and GitHub
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 Savage and GitHub
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
Zef Hemel
286ad5e048
Update Deno version to 2.2.10 in Dockerfile and workflow files
2025-04-18 09:05:28 +02:00
Zef Hemel
a61ef2f8df
Version number fix
2025-04-18 09:04:35 +02:00
Zef Hemel
d0bad5ce30
Bump reported version number to 2
2025-04-18 09:03:03 +02:00
Nico S. and GitHub
d43697e9a4
tag-page: changed order of queries ( #1342 )
2025-04-17 21:55:36 +02:00
Nico S. and GitHub
aa20de14f2
Added paragraphs to tag-page ( #1341 )
2025-04-17 21:55:09 +02:00
Zef Hemel
1c1a84c63e
Website content
2025-04-17 16:53:32 +02:00
Zef Hemel
199d553a81
Switch playground to v2
2025-04-17 16:37:44 +02:00
Zef Hemel
7b9b8fb12a
Last tweaks before merging v2 into main
2025-04-17 16:32:14 +02:00
Zef Hemel
65cd6e7585
Enhance language core tests with comprehensive pairs and ipairs validation
...
- Modified the `assertEqual` function to include a custom message for assertion failures.
- Added tests for empty tables and JavaScript arrays to verify correct behavior of `pairs` and `ipairs`.
- Implemented checks for mixed key types and ensured `ipairs` only iterates over numeric indices, validating the expected values.
2025-04-17 15:23:59 +02:00
Zef Hemel
63db06a8c6
Fixed recently opened page tracking, fixed deletion of page when using dynamic index page
2025-04-17 14:44:38 +02:00
Zef Hemel
55fdaa2466
Added intro video
2025-04-17 14:14:53 +02:00
Zef Hemel
cde017cda0
Fix broken links
2025-04-17 13:01:02 +02:00
Zef Hemel
d4033763f7
Enhance link indexing logic for meta template pages
...
- Added a check to skip indexing links for pages tagged as "meta/template" to prevent indexing links there.
- Updated the documentation in `Spaces.md` to remove redundant information regarding git repository usage for space folders.
2025-04-17 12:59:53 +02:00
Zef Hemel
2df06fccfc
Update Markdown documentation for code blocks and hashtags
...
- Changed the fenced code block notation from "template-type" to "language" for clarity in the Fenced Code Blocks documentation.
- Removed outdated example code from the Hashtags documentation to streamline content and improve focus on relevant information.
2025-04-17 12:07:46 +02:00