Commit Graph

474 Commits (337534cf02bc0b6ae97582232f1e1ac542be4a5f)

Author SHA1 Message Date
Zef Hemel b0a7fa913b Fixes #956 2024-07-17 20:18:53 +02:00
Zef Hemel 11967b82a6
Meta links (#954)
Add carret page link support (for meta pages)
2024-07-17 17:03:25 +02:00
Eric Yang fefda09c2b
Fix blank space above tables issue (#952) 2024-07-17 12:49:48 +02:00
Zef Hemel 663f1523f1 Renamed 'source' to 'import' for Libraries 2024-07-16 15:48:49 +02:00
Zef Hemel e4da0b7849 Refined implementation of #560 2024-07-14 11:29:43 +02:00
Deepak Narayan 850c06fd70
Fixes #560 and provides an initial implementation for assigning (#940)
decorators to tags.

This patch enables decorations for user specified tags - starting
with handling only a single decoration - a 'prefix' to be added
to the page name. Prefix is handled in the top bar title,
page navigator, wiki-links appearing within a page as well as
page autocomplete suggestions.
2024-07-13 13:56:00 +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 25d14031c9
Fixes #926
Libraries have been rethought, see associated documentation.
2024-07-11 20:36:26 +02:00
Zef Hemel fb21377bef
Transclosure support for pages (#925)
Transclusion implementation
2024-07-09 09:22:08 +02:00
Zef Hemel d6f0f61d30 Rebrand Template Picker to Meta Picker
As well as associated documentation changes
2024-07-07 12:12:05 +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 1e58d220eb Fixes #911 2024-07-02 20:13:41 +02:00
MrMugame b6d95ec632
Redirect to initial url after authentication (#893) 2024-06-22 12:45:23 +02:00
Zef Hemel ad067e08e7 Fixed some issues with attachment indexing and sync mode 2024-06-13 12:01:40 +02:00
Zef Hemel 470c1153ed Support auto link in markdown render 2024-06-13 11:47:03 +02:00
MrMugame 0e2553839c
Strip Markdown in TOC (#887) 2024-06-12 20:05:29 +02:00
MrMugame 892849c30b
Fixes the white flash for widget iframes & Make use of panel api (#882)
* Fix widget iframes flashing when loading

* Set the data-theme attribute for all panels
2024-06-08 13:32:35 +02:00
Zef Hemel ff923b8718 Remove redundant log 2024-06-07 08:31:55 +02:00
Zef Hemel 9d04257149 Fixes #856 2024-06-07 08:31:29 +02:00
Zef Hemel 60461cf2db Support level 6 headings in preview 2024-06-07 08:27:11 +02:00
MrMugame 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
MrMugame 8524c0f96f
Fix for flashing markdown preview (#880) 2024-06-07 08:19:26 +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
pihentagy 0e3c5587f5
Delete line command (#866) 2024-05-25 23:12:48 +02:00
Florent 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
Thomas Michelat c75598cc80
use configurable file size for drag and drop too (#846) 2024-04-11 18:06:57 +02:00
Thomas Michelat 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
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
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
Justyn Shull 2eb9ecd34f
Only prepend attachmentUrlPrefix if url doesnt already start with it (#800) 2024-03-13 08:26:40 +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
Zef Hemel 5cf38617af Fixes #793 2024-03-10 12:28:13 +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 c584bbeb0a Fixes #745 2024-03-02 13:09:05 +01:00
Zef Hemel c65173ec03 Fixes #723 2024-03-02 12:53:31 +01:00
Zef Hemel af6489bbff Fixes #724 2024-03-02 12:42:42 +01:00
Zef Hemel 03ee9adc86 Fixes #644 2024-03-02 12:14:27 +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 f3a252b5dc Reindex tweaks 2024-02-28 10:55:25 +01:00
Zef Hemel 59ab0cbaff Emit task:stateChange event 2024-02-28 10:55:08 +01:00
Michael Kolb 7f0eb21030
Expose instantiate template function (#763) 2024-02-27 22:48:16 +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
Zef Hemel cafe39135e Youtube URL unfurl 2024-02-24 13:16:04 +01:00
Zef Hemel 6f897f6f6e Make slash command API compatible with regular completions 2024-02-24 09:26:00 +01:00
Zef Hemel d5f1ba6583 Support carets in matchregex snippets 2024-02-24 09:08:10 +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 cc4f9d017c Fixes #701 2024-02-23 13:50:59 +01:00
Zef Hemel cfd1e53f62 Fixes #734 2024-02-23 13:26:10 +01:00
Michael Kolb 4f0650d0b7
added custom data property for template instantiation (#716) 2024-02-23 10:21:51 +01:00
Zef Hemel 702474dca1 Add table to builtins 2024-02-23 10:21:13 +01:00
Michael Kolb 4056c4f2f2
Implemented queries for tables (#729) 2024-02-23 10:18:47 +01:00
Marek S. Łukasiewicz afd2ce71a5
Recognize info string, settings and css after any legal fenced code start (#675, #693) (#694) 2024-02-23 09:03:14 +01:00
Joe Krill da762356db
Inject custom styles and theme into markdown preview pane (#741) 2024-02-23 09:01:38 +01:00
Joe Krill 46cd0fbb4f
Add fetch to editor plug's requiredPermissions (#738) 2024-02-22 22:24:05 +00:00
Joe Krill 8c3625b0a4
Allow passing additional arguments to `renamePageCommand` and `renamePrefixCommand` (#720) 2024-02-17 20:22:51 +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
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 bfd8ef9cd2 Fix emoji aliasing breaking when no such config is defined 2024-02-06 17:20:31 +01:00
Zef Hemel 11859a1d53 Make System: Reload available in RO mode 2024-02-06 16:59:30 +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
Marek S. Łukasiewicz dbce3a2ad1
Plug: Emoji aliases (#246) (#679)
Plug: Emoji aliases (#246)
2024-02-06 14:07:38 +01:00
Zef Hemel f82d72e626 Fixes #677 code complete 2024-02-04 16:36:59 +01:00
Zef Hemel d71c63a3a3 Render templates on the server 2024-02-04 15:32:14 +01:00
Zef Hemel 82cb0ed267 Fix not passing in global vars into renderTemplate 2024-02-03 15:37:22 +01:00
Zef Hemel d0ebda0d7a Fixes #678 2024-02-03 15:28:24 +01:00
Zef Hemel 9bb72d01b2 Fixes #676 2024-02-03 14:58:29 +01:00
Zef Hemel 341c07049f
Custom template parser (#672)
New template engine 🤯
2024-02-02 19:19:07 +01:00
Zef Hemel da9ca842bf Allow page templates to apply to any new page #671 2024-01-31 13:00:42 +01:00
Zef Hemel e2aa869660 Fix markdown rendering for links with markup 2024-01-28 16:14:05 +01:00
Zef Hemel 98194b59b8 Fixes #655 2024-01-28 13:48:27 +01:00
Zef Hemel b443192c1b Fixes #656 2024-01-28 13:38:31 +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 5222e874f8 Header docs 2024-01-25 16:05:48 +01:00
Zef Hemel 604bea3ee0 Fixes #650 #629 2024-01-25 14:51:40 +01:00
Zef Hemel 928614c724 Fixes #649 2024-01-25 12:06:01 +01:00
Zef Hemel 8404256ccb Fixes #643 2024-01-25 11:42:36 +01:00
Zef Hemel 232a0d8df8 Fixes #98 2024-01-25 10:17:42 +01:00
Zef Hemel 8a89d69c22 Fixes #640 2024-01-24 14:44:39 +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 3eec0758e7 Fix h1-h4 regression 2024-01-22 16:25:55 +01:00
Zef Hemel 1be39558d5 Command naming 2024-01-22 09:58:41 +01:00
Zef Hemel ddd730d9b3 Remove some page templates, remove template picker button, update changelog 2024-01-22 09:53:39 +01:00
Zef Hemel 4133cabd52 Fixing netlify 2024-01-20 22:53:51 +01:00