Commit Graph

105 Commits (e42a6844e95856d02231b928a69098af112f1197)

Author SHA1 Message Date
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 b1c46a17cf Redoing item and task indexing 2024-08-21 21:31:07 +02:00
Zef Hemel 600e3ce48b lint fix 2024-08-20 09:41:28 +02:00
Zef Hemel b8081d970c Fixes #1049 centralizes page URL encoding and decoding 2024-08-20 09:38:56 +02:00
Zef Hemel 9dd589fcfe lint fix 2024-08-18 13:09:06 +02:00
Zef Hemel 8b811f11c9 Test fixes 2024-08-18 13:08:52 +02:00
Zef Hemel 3ac21498f3 Fixes #680 all times and dates are now local (to the environment) 2024-08-18 13:04:51 +02:00
Zef Hemel cafd001214 Added a ton of JS Doc 2024-08-07 13:27:25 +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
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
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 835e9e3b3e Fixes #779 2024-07-23 17:23:30 +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 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 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
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 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 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
Zef Hemel 60d3199d64
Giant code reorganization (#690)
Code restructure
2024-02-08 21:00:45 +01:00
Zef Hemel 2b86e288e8 Expose readPage function 2024-02-05 20:05:17 +01:00
Zef Hemel 341c07049f
Custom template parser (#672)
New template engine 🤯
2024-02-02 19:19:07 +01:00
Zef Hemel 744badaf81 Fixes tags not being added when listed as an array in frontmatter 2024-01-28 13:42:25 +01:00
Zef Hemel 604bea3ee0 Fixes #650 #629 2024-01-25 14:51:40 +01:00
Zef Hemel ad4a795e7f Remove "syntax" support from plugs 2024-01-24 13:34:12 +01:00
Zef Hemel aaacec6d61
Navigator refactor (#648)
Navigation refactor
2024-01-24 11:58:33 +01:00
Zef Hemel f30b1d3418
Templates 2.0 (#636)
Templates 2.0 and a whole bunch of other refactoring
2024-01-20 19:16:07 +01:00
Zef Hemel a2dbf7b3db
PlugOS refactor and other tweaks (#631)
* Prep for in-process plug loading (e.g. for CF workers, Deno Deploy)
* Prototype of fixed in-process loading plugs
* Fix: buttons not to scroll with content
* Better positioning of modal especially on mobile
* Move query caching outside query
* Fix annoying mouse behavior when filter box appears
* Page navigator search tweaks
2024-01-15 16:43:12 +01:00
Zef Hemel bf1eb03129 Backporting a bunch of optimizations from db-only branch 2024-01-13 17:30:15 +01:00