Commit Graph
222 Commits
Author SHA1 Message Date
Zef Hemel 2eb7e25854 Parse YAML dates into strings 2024-07-06 15:07:40 +02:00
MrMugameandGitHub 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
MrMugameandGitHub 513b9ef441 Recreate file list on every call of pageExists() (#900) 2024-06-24 06:21:57 +02:00
Zef Hemel ad067e08e7 Fixed some issues with attachment indexing and sync mode 2024-06-13 12:01:40 +02:00
Zef Hemel 78be20c24f Fix regression where the index would no longer be cleared in sync mode 2024-06-13 11:46:52 +02:00
MrMugameandGitHub 442133ea2b Add subscript and superscript (#879)
* Added superscript and subscript to markdown

* Added docs for Superscript and subscript

* Remove leftover brace
2024-06-07 08:21:16 +02:00
MrMugameandGitHub 99aaae23f1 Added erlang support (#878) 2024-06-05 12:23:12 +02:00
MrMugameandGitHub 63e3821646 Fixed greedy parsing of settings block (#876) 2024-06-04 20:27:10 +02:00
onespacemanandGitHub cbd4814493 Fix attachment indexing (#873) 2024-05-30 19:55:35 +02:00
onespacemanandGitHub 1f949158e9 Index []() style links (#827) 2024-05-27 20:33:41 +02:00
FlorentandGitHub 827b08c21f Support size for images (#833)
* Support size for images

* Also support dimensions while rendering markdown

* Parser - ImageWithSize: Comment regexp with examples
2024-05-19 11:05:48 +02:00
Daniel MichelandGitHub 5798a39289 Add the Intl DateTimeFormat polyfill for space scripts without overwriting other Intl classes (#836) 2024-04-02 19:26:06 +02:00
Thomas MichelatandGitHub e280dfee4a Adds an option in SETTINGS to change the maximum size of file you can upload to your space. (#832) 2024-03-27 21:21:12 +01:00
FlorentandGitHub 5a6d7ecae1 Fix space on end of page name creates two pages, one shadowed #615 (#817) 2024-03-23 20:02:16 +01:00
MaksandGitHub 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 ca5b6803eb More reload fix attempts 2024-03-14 13:02:34 +01:00
Zef Hemel 2800185893 More race condition fixes 2024-03-13 19:48:43 +01:00
Zef Hemel 56954dbc3b More race condition avoiding event trigger code 2024-03-13 08:35:38 +01:00
Zef Hemel 221e9e859c Potential fox to file reload race condition 2024-03-12 16:33:38 +01:00
Zef Hemel 61a2611002 Hopefully addresses #804 2024-03-11 21:02:14 +01:00
Zef Hemel 0959a37a83 Optimize sync slightly 2024-03-11 20:56:29 +01:00
Zef Hemel 9d5b12e9cc Tweaking MQ parameters trying to address #798 2024-03-10 12:35:06 +01:00
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 adf7d2e785 Don't hide real error message during event dispatch 2024-03-04 20:22:09 +01:00
Zef Hemel e919aa82e9 0.7.4 2024-02-29 15:23:05 +01:00
Zef Hemel ff9b39cb5e Emit warning when double registering a space script function 2024-02-28 10:54:47 +01:00
Zef Hemel 0940eb1d15 Ensure reindex with space function indexers 2024-02-28 10:54:31 +01:00
Zef Hemel 16d1d3265b Better error message when invoking function that doesn't exist 2024-02-28 10:54:03 +01:00
Zef HemelandGitHub de2d1089d4 New space script APIs (#761)
New space script APIs: registerEventListener and registerAttributeExtractor
2024-02-27 20:05:12 +01:00
Matthew PietzandGitHub e290245621 Relax hashtag pattern matching (Support Emoji) (#752)
Adjust the RegExp for matching tags in order to better support compatibility
with other PKM systems. Though not the exact matcher used in Obsidian (since
its source is closed), this matcher is modeled mostly after it and allows most
non-whitespace characters, including Emoji.

I use a task line like `- [ ] Gift Idea #🎁 #Person-Name` to denote gift ideas
for friends and family. This patch allows SilverBullet to recognize the emoji.
2024-02-26 18:03:55 +01:00
Joe KrillandGitHub 90385f4d4f Check if symlink is a file or directory (#758) 2024-02-26 16:29:13 +01:00
MaksandGitHub 1e30bb29bd add type guards in query functions (#754) 2024-02-26 06:46:03 +01:00
Zef Hemel a8d042f9b2 Fixes #740 2024-02-25 14:17:23 +01:00
Zef Hemel 5904326f0c Minor bug fix in service worker 2024-02-25 13:46:02 +01:00
Zef Hemel 7de987fd56 Use backtick syntax to support identifiers in expression language, see examples 2024-02-24 12:59:27 +01:00
Zef Hemel cdefe7351a Change to registerFunction space script API (backwards compatibility added) 2024-02-23 14:06:55 +01:00
Marek S. ŁukasiewiczandGitHub afd2ce71a5 Recognize info string, settings and css after any legal fenced code start (#675, #693) (#694) 2024-02-23 09:03:14 +01:00
Marek S. ŁukasiewiczandGitHub cf010b5ef2 Add unary minus to Expression Language (#732) 2024-02-21 07:28:59 +00:00
Joe KrillandGitHub 35809836a9 Adds a system.getVersion syscall that returns the current system version (#721) 2024-02-17 22:32:09 +00:00
Giovanni PolloandGitHub 905c325f6c Added support for new languages in the code environment (diff, powershell, perl, tcl, verilos, vhdl, docker, cmake) (#718) 2024-02-17 21:19:25 +00:00
ViktorasandGitHub 740b3a7664 Add go snippet support (#709) 2024-02-14 21:35:45 +00:00
Zef Hemel 04c7a78676 More moves 2024-02-08 21:16:55 +01:00
Zef Hemel bb1e49a11e More moving stuff around 2024-02-08 21:12:23 +01:00
Zef HemelandGitHub 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
Zef HemelandGitHub 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 15358c8dd5 More #each in parsing fixes 2024-02-03 16:14:48 +01:00
Zef Hemel f85db51920 And same fix for #let 2024-02-03 15:55:39 +01:00
Zef Hemel dae2111d90 #each parser fix 2024-02-03 15:53:17 +01:00