Commit Graph

85 Commits (2a4e4874ef9db28fdbd4bcf43c94ab090b6040e8)

Author SHA1 Message Date
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
Zef Hemel 848211120c
Tags redo (#624)
Introduction of `tag` and `itags`
2024-01-11 13:20:50 +01:00
Zef Hemel 848e11a773 Rebuilt frontmatter templates as template widgets 2024-01-08 17:08:35 +01:00
Zef Hemel 91027af5fe
Awesome frontmatter (#617)
Live Frontmatter Templates
2024-01-04 20:08:12 +01:00
Zef Hemel 8a2e081672
Fixes #529 by removing directives (#613)
* Fixes #529 by removing directives
* Load builtin tags on space reindex
2024-01-02 14:47:02 +01:00
Zef Hemel 3350c7f076 More instant page navigator 2023-12-22 15:55:50 +01:00
Zef Hemel c709f4e4be More ways to define tags in frontmatter 2023-12-22 13:59:16 +01:00
Zef Hemel 30624a8112 startsWith and endsWith query functions 2023-12-21 18:21:27 +01:00
Zef Hemel 62d55e11ff not support in queries 2023-12-21 18:21:00 +01:00
Zef Hemel 30436d97ea More fixes related to #363 2023-12-19 17:55:11 +01:00
Zef Hemel 1d5c6f9277 Replace YAML parser 2023-11-29 16:51:28 +01:00
Zef Hemel 6347c2b4d8 Rewrite page references in federated pages 2023-11-15 16:14:15 +01:00
Zef Hemel 7fec3fe587 Fixes #559 2023-11-13 15:49:21 +01:00
Zef Hemel d58db6aa1a No longer index templates tagged as #template 2023-11-09 09:26:44 +01:00
Zef Hemel 1afac0274e Custom template slash commands 2023-11-06 09:14:16 +01:00
johnl 0e2a802bbd
Add a {time} template helper, reuse timestamp code from Quick Note as a niceTime (#555)
niceTime helper
2023-11-03 12:04:51 +01:00
Zef Hemel e0b6fbed3e Change anchor reference syntax 2023-11-03 12:01:33 +01:00
Zef Hemel 8f4d6e5d23 Fixes #542: render each and render all 2023-10-30 14:15:12 +01:00
Zef Hemel 4904644464 = semantics 2023-10-04 09:43:15 +02:00
Zef Hemel 6dc62f8d14 Implement != operator for arrays 2023-10-04 09:29:46 +02:00
Zef Hemel 1e8a96ef20 Fix ordering and limit in query 2023-10-03 16:54:03 +02:00