Commit Graph

168 Commits (183afb48343cd38d8d597f793fb8b5606e15a906)

Author SHA1 Message Date
onespaceman 7c23e8d622
Widget buttons for transclusions (#942) (#1013)
Widget buttons for transclusions
2024-08-08 20:19:41 +02:00
Zef Hemel cafd001214 Added a ton of JS Doc 2024-08-07 13:27:25 +02:00
Zef Hemel e29352556b Expose syscalls in space script via globals (no more syscall calls) 2024-08-07 11:09:56 +02:00
Zef Hemel 6b69449d05
More JSR (#1027)
* Move all syscalls to JSR-style package naming
* Eliminating some prefixes in import maps
2024-08-06 20:11:38 +02:00
Zef Hemel 51f756ec60 Fallback for readSetting for old SB versions 2024-08-05 16:34:48 +02:00
Zef Hemel 102e6d10eb Fix deepObjectMerge edge cases 2024-08-03 14:09:12 +02:00
Zef Hemel 76dadb58b3 Another edge case 2024-08-03 11:58:50 +02:00
Zef Hemel c512f253cb Fix deepEqual edge case 2024-08-03 11:54:32 +02:00
Zef Hemel 64b6d9e2df
Space config (#1011)
Space config + a whole bunch of other tweaks
2024-08-02 16:47:36 +02:00
onespaceman 70cb0fc226
Per-tag page styling (#945)
PageDecorator add cssClasses

---------

Co-authored-by: Zef Hemel <zef@zef.me>
2024-07-31 11:28:31 +02:00
Zef Hemel c111f72e09 Lint error removal 2024-07-30 17:33:33 +02:00
Zef Hemel 9f353f7de1 More JSR dependency moves 2024-07-30 17:24:17 +02:00
Zef Hemel 64e116f75e lint cleanup 2024-07-30 15:17:34 +02:00
Zef Hemel 75471fa86b
Object decorators (#995)
Implemented objectDecorators to replace pageDecorations in SETTINGS
2024-07-29 21:21:16 +02:00
Marek S. Łukasiewicz a0f3f7ef41
Support linking to and moving to line number in pages (#988)
Support linking to and moving to line number in pages
2024-07-28 20:31:37 +02:00
Zef Hemel 0ad47987f5 Added http:request event enabling custom http endpoints 2024-07-26 19:12:10 +02:00
Zef Hemel 835e9e3b3e Fixes #779 2024-07-23 17:23:30 +02:00
Marek S. Łukasiewicz 75cd4b1383
Hide pages from auto complete with Page Decorations (#962) 2024-07-19 17:06:40 +02:00
Zef Hemel 6286e4a8ed Fixes #953 support decimals in query expressions 2024-07-17 20:34:52 +02:00
Zef Hemel 11967b82a6
Meta links (#954)
Add carret page link support (for meta pages)
2024-07-17 17:03:25 +02:00
Zef Hemel e4da0b7849 Refined implementation of #560 2024-07-14 11:29:43 +02:00
Zef Hemel f3a84e35c0 Cleaned up path file extension checking and handling conflicting copies 2024-07-13 13:51:49 +02:00
Семён Новиков 7e39bcfc6c Quick and dirty fix for the ".conflicted." pages navigation issue
This will allow user to Ctrl-K to conflicted page, but refreshing the
page still gives 404.
2024-07-13 13:37:32 +02:00
Zef Hemel 21b04a17fe Fixes #922 2024-07-09 09:32:57 +02:00
Zef Hemel d6f0f61d30 Rebrand Template Picker to Meta Picker
As well as associated documentation changes
2024-07-07 12:12:05 +02:00
Zef Hemel d6d06abe64 Support strings as regular expressions 2024-07-07 12:10:35 +02:00
Zef Hemel a0ac6e66f9 Support regular expressions that are strings in the query language 2024-07-07 10:55:31 +02:00
Zef Hemel ae2d636e80 Force space reindex on upgrade to incorporate new indexing features 2024-07-07 10:35:17 +02:00
Tomas 9ea4b1c463
Follow-up for parsing YAML dates (#921) 2024-07-06 21:52:03 +02:00
Zef Hemel 2eb7e25854 Parse YAML dates into strings 2024-07-06 15:07:40 +02:00
Semyon Novikov 09e7f1f906
Fix up validatePageName routine (#912)
* Fix up validatePageName routine

File extensions can contain numbers too.
My main motivation was to enable myself hosting `woff2` files right from
my space, like I do for `ttf` files.

Also added some tests.

* Fix up typo and add more numeric samples

* Add missing semicolons

(sorry, I'm not really js/ts programmer)

* Make linter happy
2024-07-03 07:50:26 +02:00
MrMugame 9ed493aa00
Makes the behaviour of logic expressions consistent in all cases (#898)
* Returned the value of a logic expression in all cases

* Remove legacy call syntax

* Correct test

* Remove old call syntax from docs/library

* Corrected docs for call syntax

* Add null coalescing operator
2024-07-02 19:12:40 +02:00
MrMugame 0e2553839c
Strip Markdown in TOC (#887) 2024-06-12 20:05:29 +02:00
onespaceman 1f949158e9
Index []() style links (#827) 2024-05-27 20:33:41 +02:00
pihentagy 0e3c5587f5
Delete line command (#866) 2024-05-25 23:12:48 +02:00
Justyn Shull 331d526f52
Fix frontmatter indexing error when a tag is a number (#830)
* Fix indexing error by always treating frontmatter tags as strings

* Only try escaping html in actual strings
2024-03-26 21:04:34 +01:00
Maks 8a3782e946
improve dependency management (#770)
* use import_map.json instead of per-file import

* remove test_deps.ts in favor of import_map

* remove common/deps.ts in favor of import_map

* use import_map instead of server/deps.ts

* make all plug-api files usable without an import_map

* make all lib files usable without an import_map

* remove web/deps.ts in favor of import_map

* fix plug build

* remove plug-api/deps.ts in favor of lib/deps.ts

* fix server deps bundled in client deps
2024-03-16 15:29:24 +01:00
Zef Hemel 398e452308 Attempt to address #479 2024-03-02 15:21:36 +01:00
Zef Hemel 03ee9adc86 Fixes #644 2024-03-02 12:14:27 +01:00
Zef Hemel ce5186c7c2 Whoops, forgot to commit this before 2024-02-29 15:25:28 +01:00
Zef Hemel e919aa82e9 0.7.4 2024-02-29 15:23:05 +01:00
Zef Hemel e046415f05 First iteration of new take on sharing 2024-02-28 12:16:51 +01:00
Zef Hemel de2d1089d4
New space script APIs (#761)
New space script APIs: registerEventListener and registerAttributeExtractor
2024-02-27 20:05:12 +01:00
Zef Hemel 7de987fd56 Use backtick syntax to support identifiers in expression language, see examples 2024-02-24 12:59:27 +01:00
Marek S. Łukasiewicz cf010b5ef2
Add unary minus to Expression Language (#732) 2024-02-21 07:28:59 +00:00
Joe Krill 35809836a9
Adds a system.getVersion syscall that returns the current system version (#721) 2024-02-17 22:32:09 +00:00
Zef Hemel bb1e49a11e More moving stuff around 2024-02-08 21:12:23 +01:00
Zef Hemel 60d3199d64
Giant code reorganization (#690)
Code restructure
2024-02-08 21:00:45 +01:00
Zef Hemel 05efbc8741 Refactoring and adding ability to create custom commands from space functions 2024-02-07 14:50:01 +01:00
Marek S. Łukasiewicz 257c7a3e4a
Improve mobile navigation through history (#686)
* History back and forward commands
* Conditionally display actionButtons on mobile devices
2024-02-07 09:33:47 +01:00