Commit Graph

115 Commits (main)

Author SHA1 Message Date
Vighnesh Shenoy 6ba28e0a95
Fix rendering on tag pages (#1151) 2024-11-13 21:14:51 +01:00
Marek S. Łukasiewicz 010e2b23f4
Allow tags to start with a number and be escaped with angle brackets (#1116)
Includes tests and Markdown/Hashtags page for website. Closes #1072
2024-10-20 12:39:58 +02:00
Marek S. Łukasiewicz 7b955ef26a
Index wikilinks in frontmatter strings (#1000) (#1066) 2024-10-11 15:39:14 +02:00
Zef Hemel 64e398fd90 deno fmt 2024-10-11 15:34:27 +02:00
Zef Hemel 6a30284bab Migration to Deno 2.0 2024-10-10 12:52:28 +02:00
Zef Hemel 6c71862641 Lua: multi-line string literals 2024-10-07 09:08:36 +02:00
Zef Hemel 1299d85e9a First simple Lua directive Live Preview 2024-10-05 15:37:36 +02:00
Zef Hemel 3cf7b72ebb First integration of Lua into the core (via space-lua code blocks) 2024-10-03 17:55:51 +02:00
Zef Hemel c0a248daba deno fmt 2024-09-30 12:50:54 +02:00
Zef Hemel 409b0df328 More robustness on lack of space config 2024-09-09 18:35:44 +02:00
Zef Hemel fed9965a99 Schema validation on index 2024-08-24 16:14:38 +02:00
Zef Hemel 80f9c14b96
Change how attribute indexing and completion works (#1061)
* Creation of separate aspring-page objects for pages linked to, but not created
* Show "No results" instead of broken markdown table for no query results
* Show schema validation errors
* Deno upgrade
* Adds config support to plugs (see examples)
* Moves all builtin schemas to plug config
* Adds core plug just for builtin schemas
* Changes how attributes are indexed and completed, now attempts to derive a JSON schema for ad hoc attributes
2024-08-24 12:35:09 +02:00
Zef Hemel d0ed24aae5 Docs 2024-08-21 21:31:07 +02:00
Zef Hemel b1c46a17cf Redoing item and task indexing 2024-08-21 21:31:07 +02:00
Zef Hemel 225443aef1 Fixes #984 adds Page: Rename Linked Page command 2024-08-18 15:24:18 +02:00
Zef Hemel 074aa323c2 Initial schema implementation #104 2024-08-15 16:39:06 +02:00
onespaceman 7c23e8d622
Widget buttons for transclusions (#942) (#1013)
Widget buttons for transclusions
2024-08-08 20:19:41 +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 1bb096f503 Pre-index SETTINGS on full space reindex 2024-08-05 09:15:31 +02:00
Zef Hemel 64b6d9e2df
Space config (#1011)
Space config + a whole bunch of other tweaks
2024-08-02 16:47:36 +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
Zef Hemel d1a827aa4a Attempt to fix issue where pages would randomly disappear from the index
I suspect this is due to event triggering order (where clearing happened at the same time as adding new entries), this should fix that.
2024-07-23 13:12:02 +02:00
Zef Hemel f3a84e35c0 Cleaned up path file extension checking and handling conflicting copies 2024-07-13 13:51:49 +02:00
Zef Hemel 4fa58aaafd Make tag auto-complete context independent
Previously there was a (best effort) attempt to limit tag auto complete to only the type of object a had been applied to (e.g. an item, a page, a task). This is now removed, because I realized the need to reuse tags for various purposes and this filtering was annoying in practice.
2024-07-07 10:13:53 +02:00
Zef Hemel 6d8149d747 Fixes #845 2024-07-06 20:52:27 +02:00
Zef Hemel ad067e08e7 Fixed some issues with attachment indexing and sync mode 2024-06-13 12:01:40 +02:00
MrMugame 0e2553839c
Strip Markdown in TOC (#887) 2024-06-12 20:05:29 +02:00
onespaceman cbd4814493
Fix attachment indexing (#873) 2024-05-30 19:55:35 +02:00
Zef Hemel 654ca15914 Don't index attachment on list 2024-05-28 19:26:48 +02:00
onespaceman 1f949158e9
Index []() style links (#827) 2024-05-27 20:33:41 +02:00
johnl e7eba107c6
Update tag_page.ts explanation string (#829) 2024-03-24 06:53:46 +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 a0f7230776 Fixes #803 2024-03-14 20:39:41 +01:00
Zef Hemel 73e5bb6672 Stop loading settings on every single page index 2024-03-11 20:14:49 +01:00
Zef Hemel 9d5b12e9cc Tweaking MQ parameters trying to address #798 2024-03-10 12:35:06 +01:00
onespaceman 95ae722a50
Implement space-style (#796)
* Implement space-style
* Add reloading styles to System: Reload

---------

Co-authored-by: Zef Hemel <zef@zef.me>
2024-03-09 12:26:58 +01:00
Zef Hemel cfd713c120 Remove legacy test 2024-03-02 14:48:56 +01:00
Zef Hemel 89e2e7a37c Fixes #621 with improved snippets for page links 2024-03-02 14:48:02 +01:00
Zef Hemel 63eb99e0d3 Fixes #771 2024-03-02 13:54:31 +01:00
Zef Hemel e919aa82e9 0.7.4 2024-02-29 15:23:05 +01:00
Zef Hemel f3a252b5dc Reindex tweaks 2024-02-28 10:55:25 +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 fb0bc4eacb Revert indexing space script in templates, not a good idea 2024-02-25 08:18:49 +01:00
Marek S. Łukasiewicz e63c6c1993
Bake live blocks (#719) 2024-02-24 15:51:55 +01:00
Patrik Stenmark 64c36f9d4c
Pre-fill new page name with heading (#744)
When extracting a page, this will check if the first line is a markdown
heading. If it is, it will be used as a default name in the prompt
asking for a page name.

This uses a regular expression to check for a heading. It seemed a bit
overkill to do a full markdown parsing for this specific check.
2024-02-23 18:27:03 +01:00
Zef Hemel fe20411984 Fixes #713 2024-02-23 13:54:29 +01:00
Zef Hemel 702474dca1 Add table to builtins 2024-02-23 10:21:13 +01:00