Commit Graph
3129 Commits
Author SHA1 Message Date
Zef Hemel 628fbb3ed3 Fixes #1932 2026-04-14 07:57:26 +02:00
Zef Hemel f46196adcf Revert unnecessary Webkit hacks 2026-04-13 20:09:10 +02:00
Zef Hemel cf159dba06 Fix: too tall a mini editor in various pickers on Safari
Hacky, but... probably working with a safari bug here.
2026-04-13 18:04:44 +02:00
Zef Hemel 21de72c6b5 Fix: don't wait for index drain on navigation on initial index
Currently when an inintial index takes a long time, navigation will
basically be blocked until it's finished which isn't great. This
special-cases that scenario and doesn't block (at the cost of possibly
not showing up to date widgets on the target page).
2026-04-13 13:44:03 +02:00
Zef Hemel 35f267c4b6 Update CHANGELOG.md 2026-04-13 08:03:01 +02:00
Zef Hemel 453139780b Fix: initial sync handling 2026-04-13 07:59:16 +02:00
Zef Hemel 82868f7992 Fix: cannot rename pages that contain an external link 2026-04-13 07:58:57 +02:00
Zef Hemel b7d46faa76 Remove VOLUME from dockerfile
This gives a false sense of persistence, users need to explicitly mount
/space in all cases as is documented.
2026-04-12 10:52:43 +02:00
Zef Hemel a7ed4e074c Fix paste e2e tests for firefox 2026-04-12 10:51:20 +02:00
Zef Hemel c9f93dccde Fixes #1929 2026-04-12 10:33:44 +02:00
Zef Hemel f168ead370 tweak to rebuild 2026-04-11 15:08:55 +02:00
Zef Hemel 9f54b3a719 2.6.1 2026-04-11 14:33:26 +02:00
Zef Hemel 95438849e0 2.6.0 2026-04-11 14:30:22 +02:00
Zef Hemel 9bc1582533 Minor tweaks to new template index.md 2026-04-09 14:38:21 +02:00
Zef Hemel 64898923e1 Restore separate copy path for Lua widgets with cleaner markdown
Specifically for tables using (less rich) markdown syntax when possible
2026-04-09 14:38:10 +02:00
Zef Hemel 9a21b319a1 Updated dev instructions (make setup) in README 2026-04-08 20:12:11 +02:00
Zef Hemel ecf06497b6 Install all playwright browsers 2026-04-08 20:07:24 +02:00
Zef Hemel 92c3121756 Add Playwright e2e tests for all scenarios described in website/Guide/* 2026-04-08 20:05:08 +02:00
Zef Hemel cca2bc6392 Typo in Journaling.md 2026-04-08 20:04:27 +02:00
Zef Hemel b1df359b69 Run e2e tests on Firefox as well 2026-04-08 20:04:00 +02:00
Zef Hemel 2229a11160 Fix tag stripping for page templates 2026-04-08 20:03:46 +02:00
Zef Hemel d8832b5431 Chore: dep updates 2026-04-07 18:15:51 +02:00
Zef Hemel 1946df3cb5 Generate <br/> instead of <br> for line breaks 2026-04-07 18:15:43 +02:00
Zef Hemel fbaad6cffb Fix widget glitching
No longer cache widget HTML content just widget heights, either way the
widgets will briefly flash as the widget is recalculated and this saves
storage space and reduces issues in Webkit
2026-04-07 15:42:59 +02:00
Zef Hemel 97e84607e7 Minor layout regression fix 2026-04-07 15:42:59 +02:00
Zef Hemel f495fd0854 Tweak default index and CONFIG pages 2026-04-07 15:42:59 +02:00
Matouš Jan FialkaandGitHub 83bf71a907 [LIQ] Fix: Coerce values to plain numbers in numeric aggregate functions (#1925)
* [LIQ] Fix: Coerce values to plain numbers in numeric aggregate functions

All numeric aggregate iterate functions (`sum`, `product`, `avg`,
`stddev`, variance, covariance, correlation, bitwise, quantile, ...)
used TypeScript as number type assertions which have no effect at
runtime.  When a value was a string (e.g., YAML `rs: '3000.0'`) or
a `LuaTaggedFloat` object JS arithmetic operators like `+=` would
silently perform string concatenation or produce `[object Object]`
nonsense instead of numeric addition.

The fix introduces a small helper wrapping the `coerceToNumber` that
correctly unwraps plain numbers, `LuaTaggedFloat` objects and numeric
strings to plain JS numbers, and applies it at every numeric aggregate
intake point.

Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz>

* [LIQ] Fix: Unwrap `LuaTaggedFloat` before passing values iterate function

`executeAggregate` now unwraps `LuaTaggedFloat` boxing before passing
values to any iterate function ensuring user-defined aggregates also
receive plain JS numbers instead of opaque internal objects.

Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz>

* Remove forgotten trivial wrapper `aggNum`

Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz>

---------

Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz>
2026-04-07 11:31:28 +02:00
Zef Hemel d93a551e88 Footnote website docs 2026-04-07 11:30:45 +02:00
Zef Hemel 5751d5b64f HTML tag Live Preview (second attempt) 2026-04-07 11:30:38 +02:00
Zef Hemel 909e6e208b Trim single values when rendering Lua results as markdown 2026-04-06 21:51:35 +02:00
Felix RiedelandGitHub e88842d90b feat: allow passing arguments to vim ex commands (#1924) 2026-04-06 20:52:32 +02:00
Zef Hemel c12e0af422 More template.each rewrites 2026-04-06 20:15:58 +02:00
Zef Hemel 37891b2668 Replaced template.each with select template(...) pattern, much cleaner
and now possible
2026-04-06 20:13:54 +02:00
Zef Hemel 15317ce821 Refactored Lua expression result rendering
Now produce "markdown" (or <table> tags for tables) instead of pure
HTML. Hopefully doesn't introduce regressions. Added a test suite for
future iterations.
2026-04-06 20:13:25 +02:00
Zef Hemel d143693f4b Replacing the CM default HTML parser with a custom one, to support
embedded markdown inside HTML blocks (not supported by default)
In preparation of implementing HTML tag preview (among other things)
2026-04-06 15:46:37 +02:00
Zef Hemel 42635590c2 Fix tests 2026-04-06 15:20:46 +02:00
Zef Hemel 8da76f230a Customized implementation of Enter handling for lists
* Fine tunes a few behaviors (like not adding extra newlines, ever
  (should fix #1629))
* When a list item ends with :, it automaticaly indents the next item
* Adds an extensive test suite with various cases

This needs some more testing, but should be a good starting point for
adding more tweaks later.
2026-04-06 15:17:48 +02:00
Zef Hemel b158dc6697 Unit test for render_lua_html test to make future changes not regress 2026-04-06 14:53:19 +02:00
Zef Hemel 2ad3172568 Revert HTML tags live preview, too many edge cases 2026-04-02 14:36:54 +02:00
Zef Hemel 75d992c10e Support JS objects for spacelua.interpolate 2026-04-02 13:47:13 +02:00
Zef Hemel 6fc936ae5a Improve widgets.button() stylign 2026-04-02 09:34:58 +02:00
Zef Hemel e5f188e59e Tag enhancements
* tag.define now supports a `tagPage` attribute, allowing what page to
  send the user to when clicking on a hash tag in the editor
* index.contentPages() and index.metaPages() are convenience wrappers
  around the index.tag("page") collection that filter on content and
  meta pages respectively.
2026-04-01 08:44:50 +02:00
Zef Hemel bb1fa6d8be Fix object index update 2026-04-01 07:59:01 +02:00
Zef Hemel 49229c1608 Add pageLastModified to item and task, similar to link 2026-03-31 15:43:21 +02:00
Zef Hemel dc4e701ddf syntax.define refinements 2026-03-31 15:01:16 +02:00
Zef Hemel 031da6a6bc Add DeepWiki link 2026-03-31 14:58:59 +02:00
Zef Hemel a6ba2b9de7 Update CHANGELOG.md 2026-03-31 11:42:23 +02:00
Zef Hemel dbc95239f6 Fixes #702 implementing Live Preview for HTML tags
This may still have edge cases, but basics should be working.
2026-03-31 11:11:17 +02:00
Zef Hemel 116dbbecbf Simplify CI 2026-03-30 09:33:13 +02:00
Zef Hemel d2e5aef8b8 Fix CI 2026-03-30 09:28:29 +02:00