Commit Graph

456 Commits (8725655b9d4c37bcffa494bed3a90e110a695543)

Author SHA1 Message Date
Zef Hemel f3a84e35c0 Cleaned up path file extension checking and handling conflicting copies 2024-07-13 13:51:49 +02:00
onespaceman be8c3303a4
fix serving files with numbers in extension (#931) 2024-07-11 22:37:58 +02:00
Zef Hemel 25d14031c9
Fixes #926
Libraries have been rethought, see associated documentation.
2024-07-11 20:36:26 +02:00
Ethan Yoo 776206db90
Check only the primary pointing device's accuracy (#929) 2024-07-11 06:03:33 +02:00
Zef Hemel c7f5645075 Fixes #927 2024-07-10 08:50:54 +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 7ddd7c4011 Style a line containng only "#" as if it were to become a tag instead of a header 2024-07-07 10:32:13 +02:00
Zef Hemel 25720c63e0 Fixes #822 2024-07-06 20:29:38 +02:00
Zef Hemel 104b6356df Fixes #902 2024-07-06 15:45:04 +02:00
Zef Hemel a6450d3179 Fixes #704 implementing read-only mode and mobile only button 2024-07-04 21:22:37 +02:00
MrMugame c412bed98e
Add `drawSelection()` (#917) 2024-07-04 07:05:58 +02:00
MrMugame 5c28b1a73f
Change selection behaviour (#904)
* Change selection behaviour
* turn mouseup/mousedown events into click
* Remove `drawSelection()`
* Add custom cursor
2024-07-03 19:13:54 +02:00
Zef Hemel 1e58d220eb Fixes #911 2024-07-02 20:13:41 +02:00
MrMugame 1ea652a730
Hides the '\' from escaped characters (#901) 2024-06-26 15:55:56 +02:00
MrMugame 2a2cdef0f4
Added automatic quote insertion (#897) 2024-06-23 05:33:16 +02:00
MrMugame b6d95ec632
Redirect to initial url after authentication (#893) 2024-06-22 12:45:23 +02:00
Zef Hemel bd3e91ba65 Fix regression reloading pages changed "on disk" 2024-06-14 08:44:46 +02:00
Zef Hemel bb8f594a68 Fixes #888 regression in #boot url 2024-06-13 12:10:12 +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
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
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 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
Zef Hemel 75d3277885 Fixes #864 2024-05-14 13:24:33 +02:00
s1gnate-sync 4390f6ebc2
Window controls overlay (#837)
* Update main.scss

Make page header a title bar

* Update manifest.json

Allow custom titlebar

* Resize page header so it won't overlap titlebar controls
2024-05-14 11:49:10 +02:00
MrMugame f683a4570a
Fixed panel border (#863) 2024-05-14 09:22:52 +02:00
Dobli 2472d34f29
Add support for Material Design Icons (#848)
* Add support for Material Design Icons

* Re-export selected material icons to reduce bundle size
2024-04-20 16:24:34 +02:00
Daniel Michel cb6ee137f2
Improve modals (#840)
* Adjust picker input to take up all remaining space

* Improve modals and buttons

* Remove confusing focus of scrollable result list in Firefox

* Adjust css for dark themes, add background for text field in prompt

Seperate accent color for text to increase contrast in dark theme
Set css color-scheme to dark for dark theme

* Fix buggy when entering very long text in picker

* Prevent key events from propagating outside of modals

* Always show focus on button

* Add the keydown event listener directly to the mini editor

* Do not refocus the mini editor when it loses focus and refactoring of the AlwaysShownModal.

* Fix reference to button and mini editor focus in chrome

* Fix selected option index capping in filter when using page down
2024-04-20 16:22:02 +02:00
Zef Hemel 27ef256674 Fixes #853 with dependency version bump 2024-04-20 16:20:13 +02:00
Thomas Michelat c75598cc80
use configurable file size for drag and drop too (#846) 2024-04-11 18:06:57 +02:00
Zef Hemel 82e431d358 Revert font part of #831 back to iA Mono 2024-04-09 09:28:12 +02:00
onespaceman b292b5f336
fix completion colors (#843) 2024-04-08 21:06:39 +02:00
Daniel Michel 3806513ba0
Allow middle click to open link (#841) 2024-04-07 15:10:58 +02:00
onespaceman f193a73e39
New font and css fixes (#831) 2024-04-03 22:09:47 +02: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 ca5b6803eb More reload fix attempts 2024-03-14 13:02:34 +01:00
Zef Hemel 221e9e859c Potential fox to file reload race condition 2024-03-12 16:33:38 +01:00
Zef Hemel 34af1b1bb6 Added tracing for reloads 2024-03-12 14:24:46 +01:00
Zef Hemel 0959a37a83 Optimize sync slightly 2024-03-11 20:56:29 +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
onespaceman 2705fff52e
Fix admonitions without style (#797) 2024-03-07 18:52:04 +01:00
Zef Hemel 4d2006d7e4 Fixes #785 2024-03-04 19:50:59 +01:00
onespaceman 6230c8ab83
Custom admonitions (#786) 2024-03-04 18:35:02 +01:00
Zef Hemel e6faaca67c Remove console.logs 2024-03-02 15:23:25 +01:00
Zef Hemel 398e452308 Attempt to address #479 2024-03-02 15:21:36 +01:00
Zef Hemel 89e2e7a37c Fixes #621 with improved snippets for page links 2024-03-02 14:48:02 +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 ec858b8b8f Fix notification positioning 2024-02-28 16:22:28 +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
onespaceman 35128cc591
Change top bar to flexbox (#762) 2024-02-27 22:43:39 +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 a98299e8b3
Revert "Change top bar to flexbox (#753)" (#760)
This reverts commit e3a2dbdd11.
2024-02-27 19:32:40 +01:00
onespaceman e3a2dbdd11
Change top bar to flexbox (#753) 2024-02-26 18:10:31 +01:00
Matthew Pietz 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
Zef Hemel 5904326f0c Minor bug fix in service worker 2024-02-25 13:46:02 +01:00
Marek S. Łukasiewicz c53a6cec76
Exclude copy code button from more code widgets (#748) 2024-02-24 15:52:22 +01:00
Zef Hemel 6f897f6f6e Make slash command API compatible with regular completions 2024-02-24 09:26:00 +01:00
Zef Hemel 7e82a1b278 cliboard -> clipboard 2024-02-23 13:54:51 +01:00
Zef Hemel 60a42048ba Hopefully addresses #742 2024-02-23 13:42:02 +01:00
Zef Hemel cfd1e53f62 Fixes #734 2024-02-23 13:26:10 +01:00
Joe Krill aaad3dbf0a
Add copy to clipboard button to code blocks (#735) 2024-02-23 10:12:48 +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 29e55ca6b1
Store extracted customStyles in uiSettings (#731) 2024-02-22 22:28:47 +00:00
Joe Krill d25eee79f8
Correctly skip adding default shortcuts for overriden commands (#739) 2024-02-22 22:26:31 +00:00
Joe Krill f49c5a0431
Include `context` when opening the command palette via syscall (#737) 2024-02-22 22:25:02 +00:00
Ashish Dhama a9b31bde30
GH-683: Fix template dark mode (#698) 2024-02-13 18:32:55 +01: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
Zef Hemel b3dc303624 Top bar sizing fixes 2024-02-07 09:51:55 +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
Marek S. Łukasiewicz dbce3a2ad1
Plug: Emoji aliases (#246) (#679)
Plug: Emoji aliases (#246)
2024-02-06 14:07:38 +01:00
Zef Hemel 341c07049f
Custom template parser (#672)
New template engine 🤯
2024-02-02 19:19:07 +01:00
Zef Hemel 58ea651668 opengraph attributes 2024-01-28 15:51:02 +01:00
Zef Hemel 7612f1af73 Server-side render content 2024-01-28 15:08:35 +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 63083d1e05 Support kebab-case names for feather icons 2024-01-26 09:17:01 +01:00
Zef Hemel 40dc50f782 Fixes #495 2024-01-25 19:46:08 +01:00
Zef Hemel 8112616cb2 Clean some console.logs 2024-01-25 16:48:17 +01:00
Zef Hemel 604bea3ee0 Fixes #650 #629 2024-01-25 14:51:40 +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 2893fe11a3 Fix Shift-Enter regressions 2024-01-24 14:56:02 +01:00
Zef Hemel 308b1232bc Fixes #642 2024-01-24 14:52:07 +01:00
Zef Hemel 8a89d69c22 Fixes #640 2024-01-24 14:44:39 +01:00
Zef Hemel a9ce68860e Fixes #638 2024-01-24 14:03:14 +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 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
Zef Hemel 9734c0f14c Fix sync mode offline crash 2024-01-20 20:57:05 +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