Jeremy Ruston
160cc0e9a9
Revert "Add widget.destroy() function ( #7468 )"
...
See discussion at https://github.com/Jermolene/TiddlyWiki5/pull/7468#issuecomment-1645753857
2023-07-22 11:41:36 +01:00
Jeremy Ruston
7eeaa20e7e
Merge branch 'master' into demo-alternate-store
2023-07-22 11:06:06 +01:00
Jeremy Ruston
fd8b8f62da
Fix tiddler icon size ( #7619 )
...
* Fix tiddler icon size
* Adjust icon size
---------
Co-authored-by: Jeremy Ruston <174761+Jermolene@users.noreply.github.com>
2023-07-21 14:44:49 +01:00
Saq Imtiaz
61a08cbd7b
Feat: allow new pragmas to be indented ( #7624 )
2023-07-21 13:40:42 +01:00
Jeremy Ruston
39d04517dd
Experiment with optimising specific filters with direct SQL equivalents
2023-07-21 13:21:04 +01:00
Jeremy Ruston
0fd6b986a0
Update release note
2023-07-20 22:03:07 +01:00
Jeremy Ruston
0a4cfa1164
Revert f61d244410
...
No evidence that this change improved anything
2023-07-20 22:03:00 +01:00
Jeremy Ruston
04e971c3c6
Merge remote-tracking branch 'origin/tiddlywiki-com'
2023-07-20 21:48:00 +01:00
Jeremy Ruston
b9245da91f
Sort tag lookups according to TW semantics
...
Perhaps it would be better to keep the tags in the desired order in the database...
2023-07-20 19:30:02 +01:00
Jeremy Ruston
963887c8c4
Update Saving via a Minimal Web Server.tid ( #7617 )
...
Co-Authored-By: hffqyd <10190817+hffqyd@users.noreply.github.com>
2023-07-20 17:07:45 +01:00
hffqyd
aef76fa25f
Update Saving via a Minimal Web Server.tid ( #7617 )
...
update information
2023-07-20 17:00:33 +01:00
Jeremy Ruston
4124bbdfb3
New release banner for v5.3.1
2023-07-20 16:58:04 +01:00
Cameron Fischer
98ff6b67fd
Fixed boot so module line numbers are correct again ( #7618 )
2023-07-20 16:13:36 +01:00
Jeremy Ruston
7fd2dd5a3e
Wire up the tag indexer properly
...
Improves rendering performance by a factor of 4, but we're still 5 times slower than the plain JS store
2023-07-19 21:52:28 +01:00
Jeremy Ruston
2d3027faab
Sql console styling
2023-07-19 19:52:44 +01:00
Jeremy Ruston
2cd2a057f8
Fix tag saving
2023-07-19 19:52:34 +01:00
Jeremy Ruston
09b0e2815c
Style update for sql console
2023-07-19 19:19:57 +01:00
Jeremy Ruston
b4fe89657b
Styling for SQL console
2023-07-19 18:08:35 +01:00
Jeremy Ruston
88c8c2c9f3
SQL console - process query on enter key
2023-07-19 09:04:38 +01:00
Jeremy Ruston
979a1f746d
Introduce sql console
...
Very bare bones, but functional. Results are displayed in JSON for the moment. The console should also perhaps be hidden by default, with a keyboard shortcut, and a setting in local storage.
2023-07-18 21:54:01 +01:00
Jeremy Ruston
83e7d32c8e
Merge branch 'master' into demo-alternate-store
2023-07-18 19:33:31 +01:00
Jeremy Ruston
cc2cd20e32
Add tags tables and tag indexer and make custom collator be optional
...
This commit (a) is very much work in progress (b) improves performance significantly and (c) is actually broken
Right now, theme stylesheets don't get loaded for some reason.
I plan to spend some time improving debuggability by adding a SQL console
2023-07-18 19:33:21 +01:00
Jeremy Ruston
9b2af13596
tm-http-request: Add support for binary responses
...
With a demo courtesy of https://random.dog/
@rmunn you recently worked on the base64 utilities. I tried to use $tw.utils.base64Encode instead of window.btoa, but found that it didn't work. It's concerning because we expose that utility method as a filter operation, and it would be frustrating if we were not base64encoding things properly.
2023-07-17 12:15:20 +01:00
Jeremy Ruston
7182dbf244
Fix whitespace within new journal button image
...
Fixes #7612
2023-07-17 09:33:38 +01:00
Jeremy Ruston
f61d244410
Adjust max widget tree depth to 500
...
See discussion at https://talk.tiddlywiki.org/t/recursive-error-in-template-tiddler-not-getting-caught-in-5-3-0/7566/12
2023-07-17 09:33:16 +01:00
Saq Imtiaz
284669544b
Trim whitespace when importing variables in $importvariables ( #7611 )
...
* fix: trim whitespace when importing variables
* feat: added tests for importing variables
2023-07-17 09:18:42 +01:00
Jeremy Ruston
b54a88ce83
Clean up transclude widget
...
1. Update comments
2. Refactor use of parseTreeNodes so that they are not referenced unnecessarily
3. getTransclusionTarget doesn't need to return the parser object
2023-07-16 14:04:09 +01:00
Mario Pietsch
3bd8c5d50d
Add code-body to unsafe templates, and new cascade for tiddlers with system tags ( #7583 )
2023-07-15 18:12:10 +01:00
Jeremy Ruston
3a90c37816
Update substitute operator docs
...
Fixes #7609
2023-07-15 17:58:14 +01:00
Jeremy Ruston
ff7214ff56
New test for importvariables widget
2023-07-15 17:56:20 +01:00
btheado
8e9d8d4fef
Allow attribute substitution to handle variables containing non-word characters ( #7606 )
...
* Added failing test for #7604
* Fix attribute substitution regexp
Use the same regexp in wiki.getSubstitutedText as is used in
Widget.prototype.substituteVariableReferences. Fixes #7604 .
* Added a test for a variable name containing spaces
2023-07-14 21:42:31 +01:00
Jeremy Ruston
709669b714
Merge branch 'master' into demo-alternate-store
2023-07-14 12:42:14 +01:00
Jeremy Ruston
a7bafd8840
Google Analytics: tweaks
2023-07-14 12:41:55 +01:00
Jeremy Ruston
a6779efb1c
Use locale sort for shadows
...
For consistency and compatibility with non-shadow ordering
2023-07-14 12:41:04 +01:00
twMat
ec00dc5042
Update Saving on Browser with TiddlyStow.tid ( #7605 )
...
Prevent CC linking in the GettingStarted card display
2023-07-13 19:31:54 +01:00
Jeremy Ruston
f48bddb167
Merge branch 'master' into demo-alternate-store
2023-07-13 19:28:02 +01:00
Jeremy Ruston
08bad90e51
Ensure shadow tiddler listings are always sorted
...
Currently shadow tiddler ordering depends upon the order in which the shadows appear in the plugin JSON
2023-07-13 19:27:50 +01:00
Jeremy Ruston
e3255a4d2a
Merge branch 'master' into demo-alternate-store
2023-07-13 17:57:42 +01:00
Jeremy Ruston
9a1d7085b8
Merge remote-tracking branch 'origin/tiddlywiki-com'
2023-07-13 17:57:30 +01:00
jeremy@jermolene.com
feb797701f
Fix internal link in "Anchor Links using HTML"
...
Fixes #7600
2023-07-11 11:26:50 +01:00
TonyM
34ef27fbc0
Update Widget Attributes.tid ( #7582 )
...
Fixing error in
* [[a transclusion of a macro/variable|Transcluded Attribute Values]]
Which should be;
* [[a transclusion of a macro/variable|Variable Attribute Values]]
2023-07-09 16:55:37 +01:00
Scott Sauyet
f517497fe7
Add tabindex to SelectWidget and docs ( #7594 )
2023-07-09 16:52:35 +01:00
btheado
eff158b1ae
Fixed http-request bind-status and bind-progress option names ( #7595 )
2023-07-09 16:50:48 +01:00
Jeremy Ruston
b557deac79
Update comment
2023-07-07 10:15:40 +01:00
Jeremy Ruston
64ffa52da9
Write tiddlers with string fields
...
Otherwise date fields will get saved as JS date objects, which are not properly defined in JSON.
2023-07-07 08:22:36 +01:00
Jeremy Ruston
d2e21ddd3c
Add a custom collator that matches JS ordering
2023-07-07 08:20:57 +01:00
jeremy@jermolene.com
6954fbee51
Fix comment missing from previous commit 6c7c21a87b
2023-07-06 12:01:39 +01:00
jeremy@jermolene.com
f3bc32a2e9
Merge branch 'master' into demo-alternate-store
2023-07-06 11:55:38 +01:00
jeremy@jermolene.com
21ef2d7646
Make the tests work in the browser
2023-07-06 11:55:32 +01:00
jeremy@jermolene.com
9e190a46db
Use a temporary database so that multiple wiki stores can coexist
2023-07-06 11:54:03 +01:00