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
Zef Hemel
0ddbd877f9
Space script MVP ( #685 )
...
* Space Script MVP
* New `command` and `syscall` query sources
2024-02-06 16:51:04 +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
5bc7193fb0
Fixes #161 by implementing read-only mode, first iteration
2024-01-26 17:05:10 +01:00
Zef Hemel
43adb13fb2
Fixes #330
2024-01-26 11:10:35 +01:00
Zef Hemel
40dc50f782
Fixes #495
2024-01-25 19:46:08 +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
d43dbcacec
Fixed a lot of bugs with new widget rendering
2023-12-28 16:14:30 +01:00
Zef Hemel
4d66f23391
Top-bottom panel refactor, more instant rendering
2023-12-27 18:05:47 +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
8527528af4
Lazy plugs ( #596 )
...
* Manifest caching and lazy loading of plug workers
* Fixes #546 Plug unloading after time out
2023-12-06 18:44:48 +01:00
Zef Hemel
1d5c6f9277
Replace YAML parser
2023-11-29 16:51:28 +01:00
Zef Hemel
259ad5b488
Fixes #576 supporting markdown in headers and refactoring some stuff
2023-11-27 16:29:19 +01:00
prcrst
e6f77b12af
Initial implementation of command link arguments ( #573 )
...
Initial implementation of command link arguments
---------
Co-authored-by: prcrst <p-github@prcr.st>
Co-authored-by: Zef Hemel <zef@zef.me>
2023-11-25 18:57:00 +01:00
Zef Hemel
cd27739336
Upload robustness
2023-11-25 13:40:27 +01:00
prcrst
ae9c8dcb4c
Upload file command with copy/paste logic ( #571 )
...
Upload: File command
Co-authored-by: prcrst <p-github@prcr.st>
Co-authored-by: Zef Hemel <zef@zef.me>
2023-11-23 12:09:48 +01:00
prcrst
ae1561ac90
Implement editor.uploadFile syscall ( #570 )
...
* Implement editor.attachFile syscall
* Refactor attachFile to uploadFile
returns a promise with an UploadFile now
* Fix style
* Reject promise with errors
* Another code style fix
---------
Co-authored-by: prcrst <p-github@prcr.st>
2023-11-22 15:33:25 +01:00
Zef Hemel
9b89330ec9
More linting
2023-11-21 16:56:21 +01:00
Zef Hemel
2aed9e5685
Fixes #539 linter support, now checking YAML formats
2023-11-21 16:24:20 +01:00
Zef Hemel
6347c2b4d8
Rewrite page references in federated pages
2023-11-15 16:14:15 +01:00
Zef Hemel
8a7c50599d
Fixes #522
2023-11-15 10:08:21 +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
509683c537
Added 'created' attribute to files and pages
2023-11-03 09:38:04 +01:00
Zef Hemel
d8318c4ad7
Code widget refactor
2023-10-31 10:33:38 +01:00
Zef Hemel
8f4d6e5d23
Fixes #542 : render each and render all
2023-10-30 14:15:12 +01:00
Zef Hemel
50caba8522
Factor out markdown widget rendering
2023-10-29 10:02:50 +01:00
Zef Hemel
d8797aa805
Code complete fixes and changelog
2023-10-04 17:14:24 +02: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
Zef Hemel
d0bc1bc722
FTS simplifications
2023-10-03 15:24:07 +02:00
Zef Hemel
0313565610
Complete redo of content indexing and querying ( #517 )
...
Complete redo of data store
Introduces live queries and live templates
2023-10-03 14:16:33 +02:00
Zef Hemel
75da8e7ca9
Further iteration
2023-08-30 17:25:54 +02:00
Zef Hemel
9a005f26b5
Work on client modes
2023-08-29 21:17:29 +02:00
Zef Hemel
5ff1a8bae3
Refactor all the things
2023-08-28 17:12:15 +02:00
Zef Hemel
c3d384330d
More event refactoring work
2023-08-27 14:13:18 +02:00
Zef Hemel
9ee9008bf2
Work on #508 (thin client)
2023-08-26 08:31:51 +02:00
Zef Hemel
5a88254cde
Refactoring about how proxy fetching happens
2023-08-23 19:08:21 +02:00
Zef Hemel
2a10d50094
Fixes #193 : Allowing plug overrides
2023-08-20 19:54:31 +02:00
Zef Hemel
a94724768e
Refactoring
2023-08-20 17:51:00 +02:00
Zef Hemel
b273645bae
Change all SETTINGS with page references to allow "[[page]]" notation
2023-08-17 20:27:05 +02:00
Ian Shehadeh
7d3303251d
WIP: Plug API document change event ( #488 )
...
* add support for basic on doc change event
* move change API core into plug-api/lib; add docs
* add overlap utility
* Maintain modal focus
* Federated URL backend handling
* Fix small typo in Query.md (#483 )
* Federation progress
* Cleanup and federation prep
* Robustness and federation sync
* Federation: rewrite page references in federated content
* Don't sync service worker and index.json to client on silverbullet.md
* Federation listing timeouts
* Switching onboarding over to federation links
* Reduce amount of sync related log messages a bit
* Attribute indexing and code completion
* Shift-Enter in the page navigator now takes the input literally
* Updated changelog
* Completion for handlebar template variables
* Make 'pos' a number in tasks
* Updated install instructions to include edge builds
* WIP: CLI running of plugs
* Upgrade deno in Docker to 1.36.0
* Implement CLI store using Deno store
* Rerun directives
* Fixes #485
* 0.3.8
* 0.3.9
* Changelog
* Instantly sync updated pages when ticking off a task in a directive
* Sync current open page every 5s
* Optimize requests
* Make attribute extensible
* Debugging sync getting stuck
* Misaligning sync cycles (to avoid no-op cycles)
* Fixes #500 : New apply page template command
* Changelog
* More sync debugging statements
* More sync debugging
* Even more debug
* Dial down excessive debug logging
* Fixes #115 : By introducing MQ workers
* Use MQ for updating directives in entire space
* Work on plug:run
* touch up docs
* Fix htmlLanguage dependency
---------
Co-authored-by: Zef Hemel <zef@zef.me>
Co-authored-by: johnl <johnlunney@users.noreply.github.com>
2023-08-16 15:15:19 +02:00
Zef Hemel
bd77f2932c
Space sync now scheduled
2023-08-15 20:24:02 +02:00
Zef Hemel
b47c07da74
Fix minor inconsistencies
2023-08-15 07:56:29 +02:00
Zef Hemel
4dbbc31cb9
Work on plug:run
2023-08-11 20:37:13 +02:00
Zef Hemel
97a84e8538
Fixes #115 : By introducing MQ workers
2023-08-10 18:32:41 +02:00
Zef Hemel
4af7afa4aa
Instantly sync updated pages when ticking off a task in a directive
2023-08-05 21:09:41 +02:00
Zef Hemel
701a567c95
Attribute indexing and code completion
2023-08-01 21:35:19 +02:00
Zef Hemel
6929a7beb5
Federation: rewrite page references in federated content
2023-07-30 19:31:04 +02:00
Zef Hemel
b584e2ef7e
Robustness and federation sync
2023-07-30 11:30:01 +02:00
Zef Hemel
afa160d2c2
Cleanup and federation prep
2023-07-30 08:56:44 +02:00
Zef Hemel
fe4887dc78
Federation progress
2023-07-29 23:41:37 +02:00
Zef Hemel
fb67cba6ac
Fix deletion of open file on initial sync
2023-07-28 18:06:49 +02:00
Zef Hemel
891c8fb995
Fixes #453 : batch prefix refactor command
2023-07-28 15:20:56 +02:00
Zef Hemel
7b8d8af2c1
Attributes now have YAML values
2023-07-26 17:12:56 +02:00
Zef Hemel
5481e49393
Debug: Reload UI command
2023-07-26 11:22:10 +02:00
Zef Hemel
2b494f263e
Work on inline attributes
2023-07-24 19:54:31 +02:00
Zef Hemel
87b0e7e352
Fixes #470
2023-07-14 12:15:10 +02:00