Zef Hemel
a0807b052f
Add YAML patching tests and implement serialization logic
...
- Introduced comprehensive tests for applying minimal set key patches in YAML, covering various scenarios including scalar operations, adding new keys, list operations, and handling of empty values.
- Implemented serialization functions to convert JavaScript types to YAML format, ensuring proper handling of scalars, arrays, and objects.
- Enhanced the `applyMinimalSetKeyPatches` function to support patching of top-level keys while preserving comments and formatting.
2025-03-30 13:03:32 +02:00
Zef Hemel
c25a3bf0eb
Fix string.find with plain = true
2025-03-29 22:07:31 +01:00
Zef Hemel
f429e1f7b2
Attempt to address /.config auth issues
2025-03-29 19:20:11 +01:00
Zef Hemel
4d2299df41
Enhance page list caching logic in Client class
...
- Introduced checks for initial sync completion before updating the page list cache.
- Updated logic to fetch pages based on sync status and index plug availability.
- Added tagging for meta pages starting with "Library/" during direct fetch.
- Initialized empty tags array for file metadata in fileMetaToPageMeta function.
2025-03-29 15:48:49 +01:00
Zef Hemel
41559f1b06
Merge branch 'v2' of github.com:silverbulletmd/silverbullet into v2
2025-03-29 13:07:50 +01:00
Zef Hemel
c2ab44699b
Add back pageDecoration.disableTOC support
2025-03-29 13:07:21 +01:00
Zef Hemel
5b9122eb62
Fix very subtle Lua async bug
2025-03-28 18:25:47 +01:00
Zef Hemel
45b767fd3c
Lua widgets: html can now also be a DOM node
...
Encoding some more space lua priorities and documenting them
2025-03-28 17:38:32 +01:00
Zef Hemel
c28e7aacf5
Fixes #1311
2025-03-28 15:57:46 +01:00
Zef Hemel
1703020a8a
feat: Add logout option to client wipe functionality
...
- Add optional logout parameter to system.wipeClient
- Add new 'Clear Local Storage & Logout' command
- Update API to support logout parameter
- Clean up server code comments
2025-03-28 13:45:39 +01:00
Zef Hemel
2787c40ebe
Better Lua parse error reporting
2025-03-28 12:50:35 +01:00
Zef Hemel
64e537732b
Debug: Reset Client is now called System: Wipe Client
...
Merged two datastores into one (for both state and files), this will trigger a resync on upgrade
2025-03-28 12:17:17 +01:00
512c85bbcb
Add support for application/xml content type in lua http.request ( #1320 )
...
Co-authored-by: Long Hoang Nguyen <roman_nguyen@gatech.edu >
2025-03-27 19:11:56 +01:00
Zef Hemel
96f299bf8a
Shell streaming support (Lua)
2025-03-27 17:04:15 +01:00
Zef Hemel
4587496406
Out of date docs purge
2025-03-26 19:49:44 +01:00
MrMugame and Zef Hemel
d3e79ea4a7
Catch event in capturing phase instead of bubbling phase ( #1315 )
...
This is should be the default behaviour as silverbullet keybinds should always have priority over keybinds implemented by document editors
2025-03-26 19:43:00 +01:00
Zef Hemel
d08c8cef20
Fix plugs and plug updating
2025-03-26 19:42:51 +01:00
Zef Hemel
706588cd56
Bringing in config and config docs
2025-03-26 17:46:35 +01:00
Zef Hemel
9c3c4a9098
Fix not detecting changes regression, plus cleanup
2025-03-26 10:27:13 +01:00
Zef Hemel
e6a45f213a
Remove temporal
2025-03-25 18:55:27 +01:00
Zef Hemel
6428159e80
Revert to deno 2.2.4 for actions
2025-03-24 20:24:49 +01:00
Zef Hemel
5f6b26813f
Docker build
2025-03-24 20:23:34 +01:00
Zef Hemel
254d6e6379
Ripped out use of Deno KV and other unstable features
2025-03-24 20:21:17 +01:00
Zef Hemel
4616cb19e2
Fix logout & clean command
2025-03-24 19:50:48 +01:00
Zef Hemel
130b5b179a
config.* syscalls
2025-03-24 17:44:09 +01:00
Zef Hemel
0bc5cb7356
Library/Std moved to top level, now bundled in same way as plugs
2025-03-24 17:08:04 +01:00
Zef Hemel
771c1606ed
Textual changes
2025-03-23 16:12:44 +01:00
Zef Hemel
4191fa5d4b
Port https://github.com/silverbulletmd/silverbullet/pull/1310
2025-03-23 15:58:34 +01:00
Zef Hemel
e003e926d2
Progress
2025-03-23 15:56:02 +01:00
Zef Hemel
c157e979f0
WIP
2025-03-23 12:48:25 +01:00
Zef Hemel
1ea480eb0d
Deploy v2
2025-03-22 20:57:08 +01:00
Stan Ionitoiu-Janssen and Zef Hemel
6b2390badf
fix(menu): Move sync progress wrapper outside of actions menu ( #1309 )
2025-03-22 20:47:37 +01:00
Zef Hemel
953f84d4b5
More manifest cleanup
2025-03-22 08:50:39 +01:00
Zef Hemel
65e853e800
Temporarily add back in system.getSpaceConfig
2025-03-22 08:48:02 +01:00
Zef Hemel
55be05031c
Markdown widget removal
2025-03-22 08:40:26 +01:00
Zef Hemel
63f7314256
index.tag simplification
2025-03-22 07:53:24 +01:00
Zef Hemel
ac5a839ea8
Moving some endpoints
2025-03-22 07:32:27 +01:00
Zef Hemel
da9e11f0f0
Fixes #1306
2025-03-21 19:45:26 +01:00
Zef Hemel
672bd97b6e
More cleaning
2025-03-21 17:38:43 +01:00
Zef Hemel
6e551cd245
Lua: cron:secondPassed event
2025-03-21 17:38:25 +01:00
Zef Hemel
b1421dc030
Update table.find API
2025-03-21 16:48:30 +01:00
Zef Hemel
cbbecf2ad0
Reimplement tag pages using editor:pageCreating event
2025-03-21 16:40:03 +01:00
Zef Hemel
fa6975870a
Fix docker builds
2025-03-21 16:12:10 +01:00
Zef Hemel
d73d9b155f
Further work
2025-03-21 16:12:10 +01:00
Zef Hemel
628ff63616
Docker image build for v2
2025-03-21 16:12:10 +01:00
Zef Hemel
dbfc5995f3
More thorough removal of federation
2025-03-21 16:12:10 +01:00
Zef Hemel
6e368619c5
Remove embeds
2025-03-21 16:12:10 +01:00
Zef Hemel
1284d15a8b
Remove command buttons
2025-03-21 16:12:10 +01:00
Zef Hemel
c333f65a1f
Remove benchmarks (non currently)
2025-03-21 16:12:10 +01:00
Zef Hemel
e7dc879722
More progress
2025-03-21 16:12:10 +01:00