Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLA-individual signed: JC John Sese Cuneta, @techmagus, 2024/10/07 #8668

Closed
wants to merge 170 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
170 commits
Select commit Hold shift + click to select a range
c0f4bc3
Preparing for v5.3.6-prerelease
Jermolene Jul 10, 2024
68d1360
Merge branch 'tiddlywiki-com'
Jermolene Jul 10, 2024
7e2b035
Check CLA signatures for new PRs (#8363)
saqimtiaz Jul 11, 2024
4a907b8
Merge branch 'tiddlywiki-com'
Jermolene Jul 11, 2024
7e16424
Updates check-cla workflow (#8368)
saqimtiaz Jul 11, 2024
da697f1
Create workflow to be run when a CLA signature is merged (#8375)
saqimtiaz Jul 13, 2024
a3a9fd3
Fix for minor transclude wikimethod issue (#8382)
flibbles Jul 15, 2024
da72ee9
Show version in site title for tw5.com edition (#8383)
simonbaird Jul 15, 2024
e404186
Updates phrasing of confirmation message in CLA check (#8386)
saqimtiaz Jul 16, 2024
fcb28df
Update import.tid to delete the state tiddler for "select all" (#8399)
kookma Jul 17, 2024
a464949
Add more markdown toolbar buttons (#8395)
Leilei332 Jul 17, 2024
da8b213
fix RSOD if tm-copy-to-clipboard param is empty (#8393)
pmario Jul 17, 2024
2a8d664
tags-operator: add new test (#8392)
pmario Jul 17, 2024
4f3f09d
Merge branch 'tiddlywiki-com'
Jermolene Jul 18, 2024
bd936e2
Update test-tags-operator.js (#8401)
pmario Jul 18, 2024
b48be91
Fix tiddlers should not be interactive after being closed (#8344)
Jermolene Jul 19, 2024
bfb9c38
Make markdown wikitext links readable (#8402)
Leilei332 Jul 19, 2024
7c35ada
Merge branch 'tiddlywiki-com'
Jermolene Jul 21, 2024
b520048
Fix invisible stability badges on hover (#8407)
Leilei332 Jul 22, 2024
b8ed59f
Use .tid file extension in node.js for text/vnd.tiddlywiki-multiple (…
btheado Jul 23, 2024
0c9d61d
Merge branch 'tiddlywiki-com'
Jermolene Jul 24, 2024
acb2602
Fix $:/core/ui/testcases/DefaultTemplate so narrative can use wikitex…
pmario Jul 24, 2024
b1cd130
Geospatial Plugin: Support for custom popups (#8404)
Jermolene Jul 25, 2024
be22951
Merge branch 'tiddlywiki-com'
Jermolene Jul 25, 2024
7a60e7c
More rename Jermolene/TiddlyWiki5 to TiddlyWiki/TiddlyWiki5
Jermolene Jul 25, 2024
9069992
Update release note
Jermolene Jul 25, 2024
886514a
bootprefix: Tighten browser check to include the document global (#8423)
valpackett Jul 26, 2024
43b937d
Merge branch 'tiddlywiki-com'
Jermolene Jul 27, 2024
a620a6c
Add Copy to Clipboard Button to Code Template (#8430)
kookma Jul 27, 2024
4d8932a
Add NoBreak HTML entity (#8431)
pmario Jul 27, 2024
b4597e7
Remove Redundant Filter in ViewTemplateBodyFilters (#8434)
kookma Jul 27, 2024
82bf448
Add Shortcut to Open Control Panel (#8439)
kookma Jul 28, 2024
bb9c64b
Fix olc-decode and geopoint latitude and longitude order in the geosp…
btheado Jul 28, 2024
95863ae
Merge branch 'tiddlywiki-com'
Jermolene Jul 28, 2024
685d831
Fix navigation vertical position when duration is zero
Jermolene Jul 28, 2024
5794718
Add Documentation for New Shortcutkey to Open Control Panel (#8440)
kookma Jul 28, 2024
e80c997
Add tag-tiddler to tag-pill drag & drop import, add hidden setting fo…
pmario Jul 28, 2024
561580f
Merge branch 'tiddlywiki-com'
Jermolene Jul 28, 2024
c412ea5
Add Discord icon
Jermolene Jul 28, 2024
ea8e805
Improve prerelease presentation
Jermolene Jul 28, 2024
165c7e9
Data widget add compound filter parameter (#8447)
pmario Jul 29, 2024
d2302df
Add procedure and function snippet to "stamp button" (#8445)
pmario Jul 29, 2024
27f3de2
Show wikitext formatting buttons for compound tiddlers (#8449)
pmario Jul 29, 2024
9d21071
Update chinese language files (#8444)
BramChen Jul 29, 2024
8735d1a
Add vnd.tiddlywiki-multiple to the editor type dropdown (#8450)
pmario Jul 29, 2024
ada5af5
Update chinese language files (#8453)
BramChen Jul 30, 2024
22286aa
Add image toolbar dropdown to markdown plugin (#8459)
Leilei332 Jul 31, 2024
39bd450
Test to verify that reserved wikitext constructs are not parsed (#8384)
PotOfCoffee2Go Aug 1, 2024
5c43512
Shorter Title of Compound Tiddler in Type Field Dropdown Menu (#8469)
kookma Aug 1, 2024
57d3e8e
Feat: allow tags have its ViewTemplate tag and cascade (#8462)
linonetwo Aug 1, 2024
77335a4
Fix: add cascade configs (#8470)
linonetwo Aug 2, 2024
2bc7ec4
Do not import "$:/build" (#8476)
Leilei332 Aug 3, 2024
c5c7279
Eslint force double-quotes for strings -- avoidEscape:true (#8482)
pmario Aug 4, 2024
ac286da
Update chinese language files (#8473)
BramChen Aug 4, 2024
d9ac4a8
Fix crash with render command when filename filter returns empty result
Jermolene Aug 5, 2024
885faf9
Fix strange links in $:/plugins/tiddlywiki/highlight/usage (#8487)
Leilei332 Aug 5, 2024
a6ffcc1
Update bug_report.yml (#8468)
pmario Aug 6, 2024
9b6baba
Fix geospatial plugin popup demo
Jermolene Aug 6, 2024
0e0818c
Transliterate control characters in site title (#8339)
Jermolene Aug 7, 2024
0bfa124
Apply proper color for target footnote background in markdown (#8492)
Leilei332 Aug 7, 2024
d3394aa
Fix transposed palette filename for "Contrast" palettes (#8493)
Leilei332 Aug 7, 2024
fd056d2
Merge branch 'tiddlywiki-com'
Jermolene Aug 7, 2024
3707e10
Add start/end properties for table row/cell elements (#8494)
hoelzro Aug 8, 2024
4da27f6
Add support for social media cards (#8441)
Jermolene Aug 8, 2024
ec65153
Add stability badge colors for Solar Flare palette (#8521)
Leilei332 Aug 18, 2024
c51a233
Make testcase default template more modular (#8514)
pmario Aug 18, 2024
f32f8ba
Merge branch 'tiddlywiki-com'
Jermolene Aug 19, 2024
ab2b79e
Let language plugins display properly (#8355)
Leilei332 Aug 19, 2024
53b808d
Add support for language Chinese (Hong Kong) (#8531)
Leilei332 Aug 20, 2024
f10d4eb
Localise description in language plugins (#8530)
Leilei332 Aug 20, 2024
b75fa58
Testcase widget improve containment (#8529)
pmario Aug 20, 2024
990108c
Make pluginlibrary edition consistent with all other editions (#8265)
pmario Aug 20, 2024
014f302
Fix whitespace in boot.js (#8318)
pmario Aug 20, 2024
231a39e
Fix whitespace in all plugins for v5.3.6 (#8285)
pmario Aug 20, 2024
3fe66bb
Fix scaled plugin icon (#8540)
Leilei332 Aug 21, 2024
999f74e
Fix tiddlywiki editions command (#8535)
pmario Aug 21, 2024
d730412
Normalize appearance of input element with other type (#8517)
Leilei332 Aug 21, 2024
c225013
Add type attribute to input fields in control panel (#8518)
Leilei332 Aug 21, 2024
7fba409
Fix social media preview url tiddler name (#8496)
simonbaird Aug 21, 2024
b8fb9e6
Fix DataWidget to allow titles to be overwritten
Jermolene Aug 21, 2024
38081b8
Filesystem adaptor should not crash with missing wiki folder
Jermolene Aug 21, 2024
890b48c
Merge branch 'tiddlywiki-com'
Jermolene Aug 22, 2024
6d05afe
Fix scaled language icon in dropdown (#8546)
Leilei332 Aug 22, 2024
6264aa2
Fix unwrapped oveflowed code blocks not showing scroll bars when sett…
Leilei332 Aug 24, 2024
bcae5cc
Fix 7142 search outline in chrome like browsers (#7317)
pmario Aug 25, 2024
fa423e5
Put saver OPTIONS request: fix interpretation of success codes
Jermolene Aug 26, 2024
98cd4a0
Make the default title created by excision translatable (#8500)
Leilei332 Aug 27, 2024
fb9459a
Fix since-version docs macro to make extra information optional
Jermolene Aug 27, 2024
d3cea5d
Further fix search outline (#8552)
Leilei332 Aug 27, 2024
c9f816f
Update chinese language files (#8495)
BramChen Aug 28, 2024
6b13614
Fix duplicated search result in advanced search (#8485)
Leilei332 Aug 28, 2024
7dfdbae
Keyboard widget should not crash if the keyboard manager has not been…
Jermolene Aug 29, 2024
98d411c
Add empty message to tag picker, search dropdown and advanced search …
Leilei332 Aug 30, 2024
5094096
Add import field to testcase tiddlers (#8499)
btheado Aug 30, 2024
9a4aafd
Prevent geospatial plugin exception when geomap contains empty geolay…
btheado Aug 30, 2024
26acd9b
Fix whitespace in social media cards
Jermolene Aug 30, 2024
16e7510
Update release note
Jermolene Sep 1, 2024
81405ee
Further tweaks to release note
Jermolene Sep 1, 2024
d70b23e
Add link to Jeremy's QCon talk
Jermolene Sep 1, 2024
8e1cad5
Fix HTML nesting error causing typing problem in advanced search filt…
pmario Sep 1, 2024
f6cd760
Release note clarification
Jermolene Sep 1, 2024
842605d
fix advanced search filter input eats key presses (#8578)
pmario Sep 1, 2024
6963764
Standardise whitespace in conditional shortcut syntax (#8583)
Jermolene Sep 2, 2024
8e4670c
Merge branch 'tiddlywiki-com'
Jermolene Sep 2, 2024
d6308f1
Merge branch 'tiddlywiki-com'
Jermolene Sep 2, 2024
9a3f1d2
Update toolbar buttons to use v5.3.2 syntax (#8584)
Leilei332 Sep 5, 2024
f0cb57f
Update docs for base64 operators (#8575)
Leilei332 Sep 6, 2024
dcf63b7
Fix suffix does not work for base64 operators (#8574)
Leilei332 Sep 6, 2024
38657a2
tm-new-tiddler - Create empty tags field only if template or addition…
pmario Sep 6, 2024
7f2ab57
Fix invalid accept header in put saver (#8547)
simonbaird Sep 6, 2024
d827c57
Make export macros code readable without changing any functionality (…
pmario Sep 8, 2024
e1b3308
Fix float right overflow (#8557)
pmario Sep 9, 2024
b12625c
Merge branch 'tiddlywiki-com'
Jermolene Sep 9, 2024
8a8dcf8
Add startCount to unusedtitle macro, new tests, new docs (#7941)
pmario Sep 10, 2024
3434884
Add a settings page for markdown plugin (#8585)
Leilei332 Sep 10, 2024
6505e46
Use the testcase widget for $action-createtiddler examples (#8232)
btheado Sep 10, 2024
1368cd6
Fix missing closing tag, and update erroneous docs (#8340)
Jermolene Sep 10, 2024
eaf8558
Update PageControls buttons to use v5.3.2 syntax (#8579)
Leilei332 Sep 10, 2024
d7b00a6
Make overflowed content scrollable (#8524)
Leilei332 Sep 10, 2024
4f4e055
Add a search button to the control panel tiddler fields tab (#8157)
pmario Sep 10, 2024
ffbef16
ViewTemplate toolbar add, change aria-label to hint so it is more des…
pmario Sep 10, 2024
753a820
Edittemplate toolbar improve accessibility (#8324)
pmario Sep 10, 2024
c64bbd9
Re-activate tabs-macro test, rename expected-* files for easier maint…
pmario Sep 10, 2024
d450fce
Add trimSelection parameter to text editor (#7944)
pmario Sep 10, 2024
40138be
Merge branch 'tiddlywiki-com'
Jermolene Sep 10, 2024
a960e4f
Make Excision Available for Markdown (#8498)
michaeljmcd Sep 10, 2024
8a75ba1
Merge branch 'tiddlywiki-com'
Jermolene Sep 10, 2024
d133c92
Updated release note
Jermolene Sep 10, 2024
695e2ee
Revert "Make overflowed content scrollable (#8524)"
Jermolene Sep 10, 2024
bae2b78
Added keyboard shortcut option for menubar search. (#8350)
michaeljmcd Sep 11, 2024
fbf619b
Update ViewTemplateBodyFilters.multids For Readability (#8592)
kookma Sep 12, 2024
18e1ee4
Move contents of config tab to readme tab in markdown plugin (#8595)
Leilei332 Sep 12, 2024
c7ca835
Add drag and drop handling for export macro & rewrite using v5.3.2 sy…
Leilei332 Sep 12, 2024
3355907
Seperate clear cookie and disable actions in Browser Storage Plugin (…
Leilei332 Sep 15, 2024
6ae00e4
Improve View Widget Refreshing (#8135)
BurningTreeC Sep 15, 2024
e93515f
Fix style of codemirror settings page (#8600)
Leilei332 Sep 15, 2024
a510e4a
Use colour-picker macro in Tag Manager (#8606)
Leilei332 Sep 16, 2024
0f4d6e4
Fix extra p tag in colour-picker (#8605)
Leilei332 Sep 16, 2024
1999080
Fix missing tiddler with code body isn't displayed properly. (#8604)
Leilei332 Sep 16, 2024
6dbdbfb
Fix overflow in table and table-of-contents (#8608)
Leilei332 Sep 16, 2024
0222d4d
Add translation changes to Polish from commits: (#8612)
EvidentlyCube Sep 17, 2024
8d80ff2
Fix colour-picker dropdown auto close when selecting or typing a colo…
Leilei332 Sep 17, 2024
73225d0
Fix shadow tiddler with code body displayed as missing (#8609)
Leilei332 Sep 17, 2024
c386411
Make stability badge text translatable (#8614)
Leilei332 Sep 17, 2024
9a042c0
Merge branch 'tiddlywiki-com'
Jermolene Sep 23, 2024
a60e716
Feat: loading indicator for tiddlers being lazy loaded (#8505)
linonetwo Sep 24, 2024
678c272
Revert "Improve View Widget Refreshing (#8135)"
Jermolene Sep 24, 2024
ae8a6e7
Pl 2024 09 24 (#8631)
EvidentlyCube Sep 24, 2024
006157e
Update cla-check.yml to be caseinsensitive
saqimtiaz Sep 24, 2024
bb75560
Add basic view-widget tests (#8632)
pmario Sep 25, 2024
2a77d6a
Fix confusing empty message in tag dropdown (#8649)
Leilei332 Sep 30, 2024
36b988c
Gather all the plugins' settings page under the control panel's "Sett…
Leilei332 Sep 30, 2024
bb46221
Make stability badges in add plugin modal translatable (#8642)
Leilei332 Sep 30, 2024
96840b8
Fix mediatype Typo in excise.js (#8640)
BurningTreeC Sep 30, 2024
3f4067e
Fix: variables in functions should not pollute upstream widgets (#8641)
saqimtiaz Sep 30, 2024
6e4a64b
Remove deprecated plugins in full edition (#8639)
Leilei332 Sep 30, 2024
0aa9cf6
Include Polish language in full edition (#8638)
Leilei332 Sep 30, 2024
7bf2fee
Fix geospatial plugin map state loading (#8511)
btheado Sep 30, 2024
fca39c7
Remove function wrapper (#8625)
pmario Oct 1, 2024
2dd8ff9
Fix github fork ribbon plugin marked as deprecated & add it back to f…
Leilei332 Oct 2, 2024
d981e45
i18n(ES) update to latest code base (#8653)
joebordes Oct 2, 2024
c82761a
Add tc-table-wrapper class to fix overflow (#8652)
Leilei332 Oct 2, 2024
e591dfd
Update the editor file import UI to support markdown tiddlers (#8486)
saqimtiaz Oct 2, 2024
f4f1ae6
Fix alignment in tiddler subtitle (#8659)
pmario Oct 3, 2024
2327dd0
Revert "Fix alignment in tiddler subtitle (#8659)"
Jermolene Oct 3, 2024
ac8fa2c
Remove obsolete mobiledragdrop plugin
Jermolene Oct 3, 2024
f2a3e74
Merge branch 'tiddlywiki-com'
Jermolene Oct 5, 2024
c0415d9
Make All Hex Color Code Consistent (#8665)
kookma Oct 6, 2024
491b664
Merge branch 'tiddlywiki-com'
Jermolene Oct 7, 2024
5674056
CLA-individual signed: JC John Sese Cuneta, @techmagus, 2024/10/07
techmagus Oct 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 4 additions & 1 deletion .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,10 @@ rules:
prefer-spread: 'off'
prefer-template: 'off'
quote-props: 'off'
quotes: 'off'
quotes:
- error
- double
- avoidEscape: true
radix: 'off'
require-atomic-updates: error
require-await: error
Expand Down
2 changes: 1 addition & 1 deletion bin/build-site.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Default to the current version number for building the plugin library

if [ -z "$TW5_BUILD_VERSION" ]; then
TW5_BUILD_VERSION=v5.3.5
TW5_BUILD_VERSION=v5.3.6
fi

echo "Using TW5_BUILD_VERSION as [$TW5_BUILD_VERSION]"
Expand Down
4 changes: 2 additions & 2 deletions boot/boot.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion boot/bootprefix.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion contributing.md

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions core/images/discord.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
title: $:/core/images/discord
tags: $:/tags/Image

\parameters (size:"22pt")
<svg width=<<size>> height=<<size>> class="tc-image-discord tc-image-button" viewBox="0 -28.5 256 256"><path d="M216.856 16.597A208.502 208.502 0 0 0 164.042 0c-2.275 4.113-4.933 9.645-6.766 14.046-19.692-2.961-39.203-2.961-58.533 0-1.832-4.4-4.55-9.933-6.846-14.046a207.809 207.809 0 0 0-52.855 16.638C5.618 67.147-3.443 116.4 1.087 164.956c22.169 16.555 43.653 26.612 64.775 33.193A161.094 161.094 0 0 0 79.735 175.3a136.413 136.413 0 0 1-21.846-10.632 108.636 108.636 0 0 0 5.356-4.237c42.122 19.702 87.89 19.702 129.51 0a131.66 131.66 0 0 0 5.355 4.237 136.07 136.07 0 0 1-21.886 10.653c4.006 8.02 8.638 15.67 13.873 22.848 21.142-6.58 42.646-16.637 64.815-33.213 5.316-56.288-9.08-105.09-38.056-148.36ZM85.474 135.095c-12.645 0-23.015-11.805-23.015-26.18s10.149-26.2 23.015-26.2c12.867 0 23.236 11.804 23.015 26.2.02 14.375-10.148 26.18-23.015 26.18Zm85.051 0c-12.645 0-23.014-11.805-23.014-26.18s10.148-26.2 23.014-26.2c12.867 0 23.236 11.804 23.015 26.2 0 14.375-10.148 26.18-23.015 26.18Z"/></svg>
2 changes: 2 additions & 0 deletions core/language/en-GB/Buttons.multids
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ NewMarkdown/Caption: new Markdown tiddler
NewMarkdown/Hint: Create a new Markdown tiddler
NewTiddler/Caption: new tiddler
NewTiddler/Hint: Create a new tiddler
OpenControlPanel/Hint: Open control panel
OpenWindow/Caption: open in new window
OpenWindow/Hint: Open tiddler in new window
Palette/Caption: palette
Expand Down Expand Up @@ -132,6 +133,7 @@ Excise/Caption/Replace/Link: link
Excise/Caption/Replace/Transclusion: transclusion
Excise/Caption/Tag: Tag new tiddler with the title of this tiddler
Excise/Caption/TiddlerExists: Warning: tiddler already exists
Excise/DefaultTitle: New Excision
Excise/Hint: Excise the selected text into a new tiddler
Heading1/Caption: heading 1
Heading1/Hint: Apply heading level 1 formatting to lines containing selection
Expand Down
14 changes: 14 additions & 0 deletions core/language/en-GB/ControlPanel.multids
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ Plugins/PluginWillRequireReload: (requires reload)
Plugins/Plugins/Caption: Plugins
Plugins/Plugins/Hint: Plugins
Plugins/Reinstall/Caption: reinstall
Plugins/Stability/Deprecated: DEPRECATED
Plugins/Stability/Experimental: EXPERIMENTAL
Plugins/Stability/Legacy: LEGACY
Plugins/Stability/Stable: STABLE
Plugins/Themes/Caption: Themes
Plugins/Themes/Hint: Theme plugins
Plugins/Update/Caption: update
Expand Down Expand Up @@ -198,6 +202,12 @@ Settings/TitleLinks/Yes/Description: Display tiddler titles as links
Settings/MissingLinks/Caption: Wiki Links
Settings/MissingLinks/Hint: Choose whether to link to tiddlers that do not exist yet
Settings/MissingLinks/Description: Enable links to missing tiddlers
SocialCard/Caption: Social Media Card
SocialCard/Domain/Prompt: Domain name to display for the link (for example, ''tiddlywiki.com'')
SocialCard/Hint: This information is used by social and messaging services to display a preview card for links to this TiddlyWiki when hosted online
SocialCard/PreviewUrl/Prompt: Full URL to preview image for this TiddlyWiki
SocialCard/PreviewUrl/Preview: Preview image:
SocialCard/Url/Prompt: Full URL of this TiddlyWiki
StoryTiddler/Caption: Story Tiddler
StoryTiddler/Hint: This rule cascade is used to dynamically choose the template for displaying a tiddler in the story river.
StoryView/Caption: Story View
Expand Down Expand Up @@ -235,3 +245,7 @@ ViewTemplateBody/Caption: View Template Body
ViewTemplateBody/Hint: This rule cascade is used by the default view template to dynamically choose the template for displaying the body of a tiddler.
ViewTemplateTitle/Caption: View Template Title
ViewTemplateTitle/Hint: This rule cascade is used by the default view template to dynamically choose the template for displaying the title of a tiddler.
ViewTemplateSubtitle/Caption: View Template Subtitle
ViewTemplateSubtitle/Hint: This rule cascade is used by the default view template to dynamically choose the template for displaying the subtitle of a tiddler.
ViewTemplateTags/Caption: View Template Tags
ViewTemplateTags/Hint: This rule cascade is used by the default view template to dynamically choose the template for displaying the tags area of a tiddler.
2 changes: 2 additions & 0 deletions core/language/en-GB/EditTemplate.multids
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ Tags/ClearInput/Caption: clear input
Tags/ClearInput/Hint: Clear tag input
Tags/Dropdown/Caption: tag list
Tags/Dropdown/Hint: Show tag list
Tags/EmptyMessage: No tags found
Tags/EmptyMessage/System: No system tags found
Title/BadCharacterWarning: Warning: avoid using any of the characters <<bad-chars>> in tiddler titles
Title/Exists/Prompt: Target tiddler already exists
Title/Relink/Prompt: Update ''<$text text=<<fromTitle>>/>'' to ''<$text text=<<toTitle>>/>'' in the //tags// and //list// fields of other tiddlers
Expand Down
2 changes: 2 additions & 0 deletions core/language/en-GB/Search.multids
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Filter/Hint: Search via a [[filter expression|https://tiddlywiki.com/static/Filt
Filter/Matches: //<small><<resultCount>> matches</small>//
Matches: //<small><<resultCount>> matches</small>//
Matches/All: All matches:
Matches/NoMatch: //No match//
Matches/NoResult: //No search result//
Matches/Title: Title matches:
Search: Search
Search/TooShort: Search text too short
Expand Down
7 changes: 7 additions & 0 deletions core/language/en-GB/Snippets/FunctionDefinition.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
title: $:/language/Snippets/FunctionDefinition
tags: $:/tags/TextEditor/Snippet
caption: Function definition

\function f.name(param1,param2:"default value") [<param1>!is[blank]else<param2>]

<<f.name>>
7 changes: 7 additions & 0 deletions core/language/en-GB/Snippets/ProcedureDefinition.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
title: $:/language/Snippets/ProcedureDefinition
tags: $:/tags/TextEditor/Snippet
caption: Procedure definition

\procedure procName(param1:"default value",param2)
Your text comes here.
\end
5 changes: 0 additions & 5 deletions core/language/en-GB/Types/image_x-icon.tid

This file was deleted.

5 changes: 5 additions & 0 deletions core/language/en-GB/Types/text_vnd.tiddlywiki_multiple.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
title: $:/language/Docs/Types/text/vnd.tiddlywiki-multiple
description: Compound tiddler
name: text/vnd.tiddlywiki-multiple
group: Developer
group-sort: 2
25 changes: 15 additions & 10 deletions core/modules/commands/render.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,22 @@ Render individual tiddlers and save the results to the specified files
variableList = variableList.slice(2);
}
$tw.utils.each(tiddlers,function(title) {
var filepath = path.resolve(self.commander.outputPath,wiki.filterTiddlers(filenameFilter,$tw.rootWidget,wiki.makeTiddlerIterator([title]))[0]);
if(self.commander.verbose) {
console.log("Rendering \"" + title + "\" to \"" + filepath + "\"");
var filenameResults = wiki.filterTiddlers(filenameFilter,$tw.rootWidget,wiki.makeTiddlerIterator([title]));
if(filenameResults.length > 0) {
var filepath = path.resolve(self.commander.outputPath,filenameResults[0]);
if(self.commander.verbose) {
console.log("Rendering \"" + title + "\" to \"" + filepath + "\"");
}
var parser = wiki.parseTiddler(template || title),
widgetNode = wiki.makeWidget(parser,{variables: $tw.utils.extend({},variables,{currentTiddler: title,storyTiddler: title})}),
container = $tw.fakeDocument.createElement("div");
widgetNode.render(container,null);
var text = type === "text/html" ? container.innerHTML : container.textContent;
$tw.utils.createFileDirectories(filepath);
fs.writeFileSync(filepath,text,"utf8");
} else {
console.log("Not rendering \"" + title + "\" because the filename filter returned an empty result");
}
var parser = wiki.parseTiddler(template || title),
widgetNode = wiki.makeWidget(parser,{variables: $tw.utils.extend({},variables,{currentTiddler: title,storyTiddler: title})}),
container = $tw.fakeDocument.createElement("div");
widgetNode.render(container,null);
var text = type === "text/html" ? container.innerHTML : container.textContent;
$tw.utils.createFileDirectories(filepath);
fs.writeFileSync(filepath,text,"utf8");
});
return null;
};
Expand Down
2 changes: 1 addition & 1 deletion core/modules/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ exports.textPrimitives.wikiLink = exports.textPrimitives.upperLetter + "+" +
exports.textPrimitives.upperLetter +
exports.textPrimitives.anyLetter + "*";

exports.htmlEntities = {quot:34, dollar:36, amp:38, apos:39, lt:60, gt:62, nbsp:160, iexcl:161, cent:162, pound:163, curren:164, yen:165, brvbar:166, sect:167, uml:168, copy:169, ordf:170, laquo:171, not:172, shy:173, reg:174, macr:175, deg:176, plusmn:177, sup2:178, sup3:179, acute:180, micro:181, para:182, middot:183, cedil:184, sup1:185, ordm:186, raquo:187, frac14:188, frac12:189, frac34:190, iquest:191, Agrave:192, Aacute:193, Acirc:194, Atilde:195, Auml:196, Aring:197, AElig:198, Ccedil:199, Egrave:200, Eacute:201, Ecirc:202, Euml:203, Igrave:204, Iacute:205, Icirc:206, Iuml:207, ETH:208, Ntilde:209, Ograve:210, Oacute:211, Ocirc:212, Otilde:213, Ouml:214, times:215, Oslash:216, Ugrave:217, Uacute:218, Ucirc:219, Uuml:220, Yacute:221, THORN:222, szlig:223, agrave:224, aacute:225, acirc:226, atilde:227, auml:228, aring:229, aelig:230, ccedil:231, egrave:232, eacute:233, ecirc:234, euml:235, igrave:236, iacute:237, icirc:238, iuml:239, eth:240, ntilde:241, ograve:242, oacute:243, ocirc:244, otilde:245, ouml:246, divide:247, oslash:248, ugrave:249, uacute:250, ucirc:251, uuml:252, yacute:253, thorn:254, yuml:255, OElig:338, oelig:339, Scaron:352, scaron:353, Yuml:376, fnof:402, circ:710, tilde:732, Alpha:913, Beta:914, Gamma:915, Delta:916, Epsilon:917, Zeta:918, Eta:919, Theta:920, Iota:921, Kappa:922, Lambda:923, Mu:924, Nu:925, Xi:926, Omicron:927, Pi:928, Rho:929, Sigma:931, Tau:932, Upsilon:933, Phi:934, Chi:935, Psi:936, Omega:937, alpha:945, beta:946, gamma:947, delta:948, epsilon:949, zeta:950, eta:951, theta:952, iota:953, kappa:954, lambda:955, mu:956, nu:957, xi:958, omicron:959, pi:960, rho:961, sigmaf:962, sigma:963, tau:964, upsilon:965, phi:966, chi:967, psi:968, omega:969, thetasym:977, upsih:978, piv:982, ensp:8194, emsp:8195, thinsp:8201, zwnj:8204, zwj:8205, lrm:8206, rlm:8207, ndash:8211, mdash:8212, lsquo:8216, rsquo:8217, sbquo:8218, ldquo:8220, rdquo:8221, bdquo:8222, dagger:8224, Dagger:8225, bull:8226, hellip:8230, permil:8240, prime:8242, Prime:8243, lsaquo:8249, rsaquo:8250, oline:8254, frasl:8260, euro:8364, image:8465, weierp:8472, real:8476, trade:8482, alefsym:8501, larr:8592, uarr:8593, rarr:8594, darr:8595, harr:8596, crarr:8629, lArr:8656, uArr:8657, rArr:8658, dArr:8659, hArr:8660, forall:8704, part:8706, exist:8707, empty:8709, nabla:8711, isin:8712, notin:8713, ni:8715, prod:8719, sum:8721, minus:8722, lowast:8727, radic:8730, prop:8733, infin:8734, ang:8736, and:8743, or:8744, cap:8745, cup:8746, int:8747, there4:8756, sim:8764, cong:8773, asymp:8776, ne:8800, equiv:8801, le:8804, ge:8805, sub:8834, sup:8835, nsub:8836, sube:8838, supe:8839, oplus:8853, otimes:8855, perp:8869, sdot:8901, lceil:8968, rceil:8969, lfloor:8970, rfloor:8971, lang:9001, rang:9002, loz:9674, spades:9824, clubs:9827, hearts:9829, diams:9830 };
exports.htmlEntities = {quot:34, dollar:36, amp:38, apos:39, lt:60, gt:62, nbsp:160, iexcl:161, cent:162, pound:163, curren:164, yen:165, brvbar:166, sect:167, uml:168, copy:169, ordf:170, laquo:171, not:172, shy:173, reg:174, macr:175, deg:176, plusmn:177, sup2:178, sup3:179, acute:180, micro:181, para:182, middot:183, cedil:184, sup1:185, ordm:186, raquo:187, frac14:188, frac12:189, frac34:190, iquest:191, Agrave:192, Aacute:193, Acirc:194, Atilde:195, Auml:196, Aring:197, AElig:198, Ccedil:199, Egrave:200, Eacute:201, Ecirc:202, Euml:203, Igrave:204, Iacute:205, Icirc:206, Iuml:207, ETH:208, Ntilde:209, Ograve:210, Oacute:211, Ocirc:212, Otilde:213, Ouml:214, times:215, Oslash:216, Ugrave:217, Uacute:218, Ucirc:219, Uuml:220, Yacute:221, THORN:222, szlig:223, agrave:224, aacute:225, acirc:226, atilde:227, auml:228, aring:229, aelig:230, ccedil:231, egrave:232, eacute:233, ecirc:234, euml:235, igrave:236, iacute:237, icirc:238, iuml:239, eth:240, ntilde:241, ograve:242, oacute:243, ocirc:244, otilde:245, ouml:246, divide:247, oslash:248, ugrave:249, uacute:250, ucirc:251, uuml:252, yacute:253, thorn:254, yuml:255, OElig:338, oelig:339, Scaron:352, scaron:353, Yuml:376, fnof:402, circ:710, tilde:732, Alpha:913, Beta:914, Gamma:915, Delta:916, Epsilon:917, Zeta:918, Eta:919, Theta:920, Iota:921, Kappa:922, Lambda:923, Mu:924, Nu:925, Xi:926, Omicron:927, Pi:928, Rho:929, Sigma:931, Tau:932, Upsilon:933, Phi:934, Chi:935, Psi:936, Omega:937, alpha:945, beta:946, gamma:947, delta:948, epsilon:949, zeta:950, eta:951, theta:952, iota:953, kappa:954, lambda:955, mu:956, nu:957, xi:958, omicron:959, pi:960, rho:961, sigmaf:962, sigma:963, tau:964, upsilon:965, phi:966, chi:967, psi:968, omega:969, thetasym:977, upsih:978, piv:982, ensp:8194, emsp:8195, thinsp:8201, zwnj:8204, zwj:8205, lrm:8206, rlm:8207, ndash:8211, mdash:8212, lsquo:8216, rsquo:8217, sbquo:8218, ldquo:8220, rdquo:8221, bdquo:8222, dagger:8224, Dagger:8225, bull:8226, hellip:8230, permil:8240, prime:8242, Prime:8243, lsaquo:8249, rsaquo:8250, oline:8254, frasl:8260, nobreak:8288, NoBreak:8288, euro:8364, image:8465, weierp:8472, real:8476, trade:8482, alefsym:8501, larr:8592, uarr:8593, rarr:8594, darr:8595, harr:8596, crarr:8629, lArr:8656, uArr:8657, rArr:8658, dArr:8659, hArr:8660, forall:8704, part:8706, exist:8707, empty:8709, nabla:8711, isin:8712, notin:8713, ni:8715, prod:8719, sum:8721, minus:8722, lowast:8727, radic:8730, prop:8733, infin:8734, ang:8736, and:8743, or:8744, cap:8745, cup:8746, int:8747, there4:8756, sim:8764, cong:8773, asymp:8776, ne:8800, equiv:8801, le:8804, ge:8805, sub:8834, sup:8835, nsub:8836, sube:8838, supe:8839, oplus:8853, otimes:8855, perp:8869, sdot:8901, lceil:8968, rceil:8969, lfloor:8970, rfloor:8971, lang:9001, rang:9002, loz:9674, spades:9824, clubs:9827, hearts:9829, diams:9830 };

exports.htmlVoidElements = "area,base,br,col,command,embed,hr,img,input,keygen,link,meta,param,source,track,wbr".split(",");

Expand Down
16 changes: 12 additions & 4 deletions core/modules/editor/operations/text/excise.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,27 @@ Text editor operation to excise the selection to a new tiddler
/*global $tw: false */
"use strict";

function isMarkdown(mediaType) {
return mediaType === 'text/markdown' || mediaType === 'text/x-markdown';
}

exports["excise"] = function(event,operation) {
var editTiddler = this.wiki.getTiddler(this.editTitle),
editTiddlerTitle = this.editTitle;
editTiddlerTitle = this.editTitle,
wikiLinks = !isMarkdown(editTiddler.fields.type),
excisionBaseTitle = $tw.language.getString("Buttons/Excise/DefaultTitle");
if(editTiddler && editTiddler.fields["draft.of"]) {
editTiddlerTitle = editTiddler.fields["draft.of"];
}
var excisionTitle = event.paramObject.title || this.wiki.generateNewTitle("New Excision");
var excisionTitle = event.paramObject.title || this.wiki.generateNewTitle(excisionBaseTitle);
this.wiki.addTiddler(new $tw.Tiddler(
this.wiki.getCreationFields(),
this.wiki.getModificationFields(),
{
title: excisionTitle,
text: operation.selection,
tags: event.paramObject.tagnew === "yes" ? [editTiddlerTitle] : []
tags: event.paramObject.tagnew === "yes" ? [editTiddlerTitle] : [],
type: editTiddler.fields.type
}
));
operation.replacement = excisionTitle;
Expand All @@ -34,7 +41,8 @@ exports["excise"] = function(event,operation) {
operation.replacement = "{{" + operation.replacement+ "}}";
break;
case "link":
operation.replacement = "[[" + operation.replacement+ "]]";
operation.replacement = wikiLinks ? "[[" + operation.replacement+ "]]"
: ("[" + operation.replacement + "](<#" + operation.replacement + ">)");
break;
case "macro":
operation.replacement = "<<" + (event.paramObject.macro || "translink") + " \"\"\"" + operation.replacement + "\"\"\">>";
Expand Down
Loading
Loading