tiddlywiki 5.2.2 → 5.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/ISSUE_TEMPLATE/bug_report.yml +67 -0
- package/.github/ISSUE_TEMPLATE/config.yml +8 -0
- package/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md +8 -0
- package/bin/build-site.sh +1 -1
- package/boot/boot.js +1 -1
- package/contributing.md +1 -1
- package/core/language/en-GB/EditTemplate.multids +1 -0
- package/core/language/en-GB/Help/default.tid +4 -1
- package/core/language/en-GB/Help/render.tid +2 -2
- package/core/language/en-GB/SideBar.multids +1 -0
- package/core/modules/commands/render.js +1 -1
- package/core/modules/commands/rendertiddler.js +1 -0
- package/core/modules/commands/rendertiddlers.js +1 -1
- package/core/modules/commands/save.js +56 -42
- package/core/modules/editor/engines/framed.js +3 -1
- package/core/modules/editor/operations/text/prefix-lines.js +2 -2
- package/core/modules/editor/operations/text/wrap-lines.js +27 -10
- package/core/modules/filterrunprefixes/map.js +10 -2
- package/core/modules/filters/insertafter.js +46 -0
- package/core/modules/filters/insertbefore.js +6 -1
- package/core/modules/filters.js +19 -1
- package/core/modules/savers/put.js +11 -7
- package/core/modules/savers/upload.js +1 -1
- package/core/modules/server/server.js +3 -2
- package/core/modules/startup/browser-messaging.js +4 -2
- package/core/modules/startup/story.js +3 -1
- package/core/modules/utils/dom/dom.js +51 -0
- package/core/modules/utils/dom/dragndrop.js +24 -14
- package/core/modules/utils/dom/notifier.js +2 -1
- package/core/modules/utils/parsetree.js +48 -11
- package/core/modules/utils/utils.js +15 -1
- package/core/modules/widgets/action-setfield.js +12 -14
- package/core/modules/widgets/button.js +6 -1
- package/core/modules/widgets/checkbox.js +124 -15
- package/core/modules/widgets/draggable.js +37 -14
- package/core/modules/widgets/element.js +9 -3
- package/core/modules/widgets/eventcatcher.js +1 -27
- package/core/modules/widgets/image.js +4 -0
- package/core/modules/widgets/let.js +1 -1
- package/core/modules/widgets/scrollable.js +2 -0
- package/core/modules/widgets/widget.js +8 -1
- package/core/modules/wiki.js +1 -1
- package/core/palettes/CupertinoDark.tid +3 -3
- package/core/palettes/GruvBoxDark.tid +2 -2
- package/core/palettes/Nord.tid +2 -2
- package/core/templates/save-lazy-all.tid +2 -2
- package/core/templates/server/static.sidebar.wikitext.tid +1 -1
- package/core/templates/server/static.tiddler.html.tid +2 -2
- package/core/ui/Actions/new-image.tid +1 -0
- package/core/ui/Actions/new-journal.tid +2 -1
- package/core/ui/Actions/new-tiddler.tid +1 -0
- package/core/ui/AdvancedSearch/Filter.tid +50 -10
- package/core/ui/AdvancedSearch/FilterButtons/clear.tid +1 -0
- package/core/ui/AdvancedSearch/FilterButtons/delete.tid +1 -0
- package/core/ui/AdvancedSearch/FilterButtons/dropdown.tid +5 -2
- package/core/ui/AdvancedSearch/FilterButtons/export.tid +1 -0
- package/core/ui/AdvancedSearch/Shadows.tid +54 -12
- package/core/ui/AdvancedSearch/Standard.tid +36 -19
- package/core/ui/AdvancedSearch/System.tid +54 -12
- package/core/ui/AdvancedSearch.tid +1 -0
- package/core/ui/AlertTemplate.tid +10 -1
- package/core/ui/Components/tag-link.tid +1 -0
- package/core/ui/ControlPanel/Advanced.tid +1 -0
- package/core/ui/ControlPanel/Appearance.tid +1 -0
- package/core/ui/ControlPanel/Basics.tid +3 -0
- package/core/ui/ControlPanel/Cascades.tid +1 -0
- package/core/ui/ControlPanel/EditorTypes.tid +1 -0
- package/core/ui/ControlPanel/Info.tid +1 -0
- package/core/ui/ControlPanel/KeyboardShortcuts.tid +18 -7
- package/core/ui/ControlPanel/Modals/AddPlugins.tid +26 -9
- package/core/ui/ControlPanel/Parsing.tid +3 -0
- package/core/ui/ControlPanel/Plugins/Add/Updates.tid +5 -1
- package/core/ui/ControlPanel/Plugins/AddPlugins.tid +4 -1
- package/core/ui/ControlPanel/Plugins.tid +1 -0
- package/core/ui/ControlPanel/Saving/TiddlySpot.tid +2 -1
- package/core/ui/ControlPanel/Saving.tid +1 -0
- package/core/ui/ControlPanel/Settings/DefaultMoreSidebarTab.tid +1 -0
- package/core/ui/ControlPanel/Settings/DefaultSidebarTab.tid +1 -0
- package/core/ui/ControlPanel/Settings/LinkToBehaviour.tid +1 -0
- package/core/ui/ControlPanel/Settings/ToolbarButtonStyle.tid +1 -0
- package/core/ui/ControlPanel/Toolbars/EditorItemTemplate.tid +8 -1
- package/core/ui/ControlPanel/Toolbars/ItemTemplate.tid +11 -1
- package/core/ui/ControlPanel/Toolbars.tid +1 -0
- package/core/ui/ControlPanel.tid +1 -0
- package/core/ui/DefaultSearchResultList.tid +1 -0
- package/core/ui/EditTemplate/Preview/output.tid +1 -1
- package/core/ui/EditTemplate/body/default.tid +8 -5
- package/core/ui/EditTemplate/body-editor.tid +2 -0
- package/core/ui/EditTemplate/controls.tid +1 -0
- package/core/ui/EditTemplate/fieldEditor-default.tid +1 -1
- package/core/ui/EditTemplate/fields.tid +17 -10
- package/core/ui/EditTemplate/shadow.tid +2 -0
- package/core/ui/EditTemplate/title.tid +10 -5
- package/core/ui/EditTemplate.tid +28 -4
- package/core/ui/EditorToolbar/editor-height.tid +1 -0
- package/core/ui/EditorToolbar/excise-dropdown.tid +5 -4
- package/core/ui/EditorToolbar/file-import.tid +4 -0
- package/core/ui/EditorToolbar/link-dropdown.tid +10 -5
- package/core/ui/EditorToolbar/more-dropdown.tid +5 -1
- package/core/ui/EditorToolbar/paint.tid +1 -0
- package/core/ui/EditorToolbar/preview.tid +1 -0
- package/core/ui/EditorToolbar/size-dropdown.tid +6 -1
- package/core/ui/ExportTiddlyWikiCore.tid +15 -5
- package/core/ui/ImportListing.tid +23 -5
- package/core/ui/ImportPreviews/Fields.tid +1 -0
- package/core/ui/KeyboardShortcuts/advanced-search.tid +1 -0
- package/core/ui/KeyboardShortcuts/change-sidebar-layout.tid +4 -2
- package/core/ui/KeyboardShortcuts/new-image.tid +1 -0
- package/core/ui/KeyboardShortcuts/new-journal.tid +1 -0
- package/core/ui/KeyboardShortcuts/new-tiddler.tid +1 -0
- package/core/ui/KeyboardShortcuts/save-wiki.tid +1 -0
- package/core/ui/KeyboardShortcuts/toggle-sidebar.tid +4 -3
- package/core/ui/LayoutSwitcher.tid +16 -4
- package/core/ui/ListItemTemplate.tid +1 -3
- package/core/ui/ListTaggedCascade.tid +1 -0
- package/core/ui/Manager/ItemMainFields.tid +1 -0
- package/core/ui/Manager/ItemSidebarColour.tid +4 -1
- package/core/ui/Manager/ItemSidebarIcon.tid +4 -4
- package/core/ui/Manager/ItemSidebarTools.tid +7 -2
- package/core/ui/Manager.tid +11 -6
- package/core/ui/MissingTemplate.tid +1 -0
- package/core/ui/MoreSideBar/Types.tid +1 -0
- package/core/ui/PageControls/controlpanel.tid +1 -1
- package/core/ui/PageStylesheet.tid +1 -0
- package/core/ui/PageTemplate/story.tid +1 -1
- package/core/ui/PaletteManager.tid +11 -10
- package/core/ui/PluginInfo.tid +1 -0
- package/core/ui/PluginInfoDefaultContents.tid +1 -0
- package/core/ui/SearchResults.tid +8 -6
- package/core/ui/SideBar/More.tid +1 -0
- package/core/ui/SideBar/Open.tid +2 -2
- package/core/ui/SideBarSegments/search.tid +2 -0
- package/core/ui/SideBarSegments/tabs.tid +1 -1
- package/core/ui/TiddlerFieldTemplate.tid +1 -0
- package/core/ui/TiddlerFields.tid +1 -0
- package/core/ui/TiddlerInfo/Advanced/PluginInfo.tid +1 -0
- package/core/ui/TiddlerInfo/Advanced/ShadowInfo.tid +1 -0
- package/core/ui/TiddlerInfo/Advanced.tid +1 -0
- package/core/ui/TiddlerInfo.tid +1 -0
- package/core/ui/TopRightBar/menu.tid +1 -0
- package/core/ui/UntaggedTemplate.tid +1 -0
- package/core/ui/ViewTemplate/body/import.tid +6 -1
- package/core/ui/ViewTemplate/body/plugin.tid +1 -0
- package/core/ui/ViewTemplate/body/rendered-plain-text.tid +7 -0
- package/core/ui/ViewTemplate/body.tid +2 -0
- package/core/ui/ViewTemplate/classic.tid +1 -0
- package/core/ui/ViewTemplate/subtitle/modified.tid +4 -0
- package/core/ui/ViewTemplate/subtitle/modifier.tid +4 -0
- package/core/ui/ViewTemplate/subtitle.tid +6 -2
- package/core/ui/ViewTemplate/tags.tid +1 -0
- package/core/ui/ViewTemplate/title.tid +2 -0
- package/core/ui/ViewTemplate/unfold.tid +1 -0
- package/core/ui/ViewTemplate.tid +1 -1
- package/core/ui/ViewToolbar/new-here.tid +1 -0
- package/core/wiki/allfields.tid +8 -2
- package/core/wiki/config/OfficialPluginLibrary.tid +1 -1
- package/core/wiki/config/ViewTemplateBodyFilters.multids +2 -1
- package/core/wiki/currpalettepreview.tid +7 -2
- package/core/wiki/debugstylesheets.tid +1 -0
- package/core/wiki/download-wiki-button.tid +2 -1
- package/core/wiki/languageswitcher.tid +2 -0
- package/core/wiki/macros/colour-picker.tid +9 -2
- package/core/wiki/macros/copy-to-clipboard.tid +5 -2
- package/core/wiki/macros/diff.tid +4 -3
- package/core/wiki/macros/dumpvariables.tid +1 -0
- package/core/wiki/macros/image-picker.tid +5 -4
- package/core/wiki/macros/keyboard-driven-input.tid +22 -12
- package/core/wiki/macros/list.tid +7 -2
- package/core/wiki/macros/tabs.tid +55 -30
- package/core/wiki/macros/tag-picker.tid +14 -13
- package/core/wiki/macros/tag.tid +10 -5
- package/core/wiki/macros/thumbnails.tid +21 -9
- package/core/wiki/macros/timeline.tid +1 -0
- package/core/wiki/macros/toc.tid +19 -8
- package/core/wiki/macros/translink.tid +1 -0
- package/core/wiki/macros/tree.tid +8 -3
- package/core/wiki/minifocusswitcher.tid +1 -0
- package/core/wiki/minilanguageswitcher.tid +1 -0
- package/core/wiki/minithemeswitcher.tid +2 -1
- package/core/wiki/modules.tid +1 -0
- package/core/wiki/palettepreview.tid +1 -0
- package/core/wiki/paletteswitcher.tid +13 -2
- package/core/wiki/peek-stylesheets.tid +1 -5
- package/core/wiki/tags/ViewTemplateBodyFilter.tid +1 -1
- package/core/wiki/tags/ViewTemplateSubtitle.tid +2 -0
- package/core/wiki/themeswitcher.tid +10 -1
- package/core/wiki/title.tid +2 -1
- package/core/wiki/viewswitcher.tid +1 -0
- package/editions/de-AT/tiddlers/howto/TiddlyWiki und TiddlyDesktop.tid +1 -1
- package/editions/dev/tiddlers/_tw_shared/tiddlywiki.files +5 -0
- package/editions/dev/tiddlers/system/github-fork-ribbon.tid +1 -1
- package/editions/dev/tiddlywiki.info +1 -1
- package/editions/es-ES/tiddlers/TiddlyDesktop.tid +2 -2
- package/editions/fr-FR/tiddlers/Community Links Aggregator.tid +4 -4
- package/editions/fr-FR/tiddlers/Glossaire en-GB -_ fr-FR.tid +2 -1
- package/editions/fr-FR/tiddlers/community/editions/_Noteself_ by Danielo Rodr/303/255guez.tid" +34 -0
- package/editions/fr-FR/tiddlers/community/resources/TW5-firebase_ TiddlyWiki5 for Google Firebase by Peter Neumark.tid +28 -0
- package/editions/fr-FR/tiddlers/community/resources/TiddlyDrive Add-on for Google Drive by Joshua Stubbs.tid +24 -0
- package/editions/fr-FR/tiddlers/community/resources/TiddlyServer by Arlen Beiler.tid +35 -0
- package/editions/fr-FR/tiddlers/community/resources/Twexe_ Single File Tiddlywiki5 executable.tid +30 -0
- package/editions/fr-FR/tiddlers/community/resources/_Timimi_ Extension and executable by Riz.tid +33 -0
- package/editions/fr-FR/tiddlers/community/resources/_file-backups_ Extension for Firefox by pmario.tid +19 -0
- package/editions/fr-FR/tiddlers/community/resources/_savetiddlers_ Extension for Chrome and Firefox by buggyj.tid +17 -0
- package/editions/fr-FR/tiddlers/concepts/Pragma.tid +23 -0
- package/editions/fr-FR/tiddlers/{WikiText.tid → concepts/WikiText.tid} +6 -4
- package/editions/fr-FR/tiddlers/definitions/TiddlyDesktop.tid +19 -0
- package/editions/fr-FR/tiddlers/gettingstarted/GettingStarted - Internet Explorer.tid +11 -0
- package/editions/fr-FR/tiddlers/gettingstarted/GettingStarted - Safari.tid +12 -0
- package/editions/fr-FR/tiddlers/{A_Gentle_Guide_to_TiddlyWiki.tid → hellothere/A Gentle Guide to TiddlyWiki.tid } +6 -4
- package/editions/fr-FR/tiddlers/howtos/How to Customize TiddlyDesktop.tid +33 -0
- package/editions/fr-FR/tiddlers/howtos/Windows HTA Hack.tid +17 -0
- package/editions/fr-FR/tiddlers/nodejs/Installing TiddlyWiki on Node.js.tid +49 -0
- package/editions/fr-FR/tiddlers/nodejs/Serving TW5 from Android.tid +47 -0
- package/editions/fr-FR/tiddlers/nodejs/TiddlyWiki on Node.js.tid +18 -0
- package/editions/fr-FR/tiddlers/saving/Emergency Tiddler Export.tid +28 -0
- package/editions/fr-FR/tiddlers/saving/Example config-tiddlyweb-host for IIS.tid +9 -0
- package/editions/fr-FR/tiddlers/saving/Example package.json for IIS.tid +15 -0
- package/editions/fr-FR/tiddlers/saving/Example tiddlywiki.info for IIS.tid +18 -0
- package/editions/fr-FR/tiddlers/saving/Example web.config for IIS.tid +32 -0
- package/editions/fr-FR/tiddlers/saving/Installing TiddlyWiki on Microsoft Internet Information Server.tid +69 -0
- package/editions/fr-FR/tiddlers/saving/Saving on Android.tid +36 -0
- package/editions/fr-FR/tiddlers/saving/Saving on Beaker Browser.tid +35 -0
- package/editions/fr-FR/tiddlers/saving/Saving on Browser with File System Access API.tid +20 -0
- package/editions/fr-FR/tiddlers/saving/Saving on TidGi Desktop.tid +28 -0
- package/editions/fr-FR/tiddlers/saving/Saving on TiddlyDesktop.tid +20 -0
- package/editions/fr-FR/tiddlers/saving/Saving on TiddlyHost.tid +18 -0
- package/editions/fr-FR/tiddlers/{Saving on TiddlySpot.tid → saving/Saving on TiddlySpot.tid } +14 -3
- package/editions/fr-FR/tiddlers/saving/Saving on a PHP Server.tid +45 -0
- package/editions/fr-FR/tiddlers/saving/Saving on iPad_iPhone.tid +30 -0
- package/editions/fr-FR/tiddlers/saving/Saving to a Git service.tid +26 -0
- package/editions/fr-FR/tiddlers/saving/Saving via WebDAV.tid +88 -0
- package/editions/fr-FR/tiddlers/saving/Saving via a Minimal Ruby Server.tid +20 -0
- package/editions/fr-FR/tiddlers/saving/Saving with Polly.tid +30 -0
- package/editions/fr-FR/tiddlers/saving/Saving with TW Receiver.tid +16 -0
- package/editions/fr-FR/tiddlers/{Saving with TiddlyFox on Android.tid → saving/Saving with TiddlyFox on Android.tid } +5 -5
- package/editions/fr-FR/tiddlers/saving/Saving with TiddlyFox.tid +31 -0
- package/editions/fr-FR/tiddlers/saving/Saving with TiddlyIE.tid +25 -0
- package/editions/fr-FR/tiddlers/{Saving with the HTML5 fallback saver.tid → saving/Saving with the HTML5 fallback saver.tid } +11 -6
- package/editions/fr-FR/tiddlers/{Saving.tid → saving/Saving.tid} +8 -10
- package/editions/fr-FR/tiddlers/saving/TiddlyWiki Cloud.tid +17 -0
- package/editions/fr-FR/tiddlers/system/$__core_ui_SideBar_Open.tid +40 -0
- package/editions/fr-FR/tiddlers/{$__editions_fr-FR_util-macros.tid → system/$__editions_fr-FR_util-macros.tid} +4 -4
- package/editions/fr-FR/tiddlers/{$__editions_tw5.com_wikitext-macros.tid → system/$__editions_tw5.com_wikitext-macros.tid} +24 -3
- package/editions/fr-FR/tiddlers/system/tw5.com-card-template.tid +17 -0
- package/editions/fr-FR/tiddlers/tiddlydesktop/TiddlyDesktop_Releases.tid +9 -0
- package/editions/fr-FR/tiddlers/widgets/TranscludeWidget.tid +72 -0
- package/editions/fr-FR/tiddlers/{Block_Quotes_in_WikiText.tid → wikitext/Block Quotes in WikiText.tid } +3 -2
- package/editions/fr-FR/tiddlers/{Code Blocks in WikiText.tid → wikitext/Code Blocks in WikiText.tid } +3 -3
- package/editions/fr-FR/tiddlers/{Dashes in WikiText.tid → wikitext/Dashes in WikiText.tid } +3 -3
- package/editions/fr-FR/tiddlers/{Definitions_in_WikiText.tid → wikitext/Definitions in WikiText.tid } +2 -2
- package/editions/fr-FR/tiddlers/{Formatting in WikiText.tid → wikitext/Formatting in WikiText.tid } +5 -6
- package/editions/fr-FR/tiddlers/{Hard Linebreaks in WikiText.tid → wikitext/Hard Linebreaks in WikiText.tid } +6 -5
- package/editions/fr-FR/tiddlers/{Headings in WikiText.tid → wikitext/Headings in WikiText.tid } +4 -4
- package/editions/fr-FR/tiddlers/wikitext/Horizontal Rules in WikiText.tid +17 -0
- package/editions/fr-FR/tiddlers/{Lists_in_WikiText.tid → wikitext/Lists in WikiText.tid } +19 -19
- package/editions/fr-FR/tiddlers/wikitext/Macro Calls in WikiText.tid +27 -0
- package/editions/fr-FR/tiddlers/{Paragraphs in WikiText.tid → wikitext/Paragraphs in WikiText.tid } +8 -7
- package/editions/fr-FR/tiddlers/wikitext/Tables in WikiText.tid +69 -0
- package/editions/fr-FR/tiddlers/wikitext/Transclusion and Substitution.tid +61 -0
- package/editions/fr-FR/tiddlers/{Transclusion_in_WikiText.tid → wikitext/Transclusion in WikiText.tid } +14 -13
- package/editions/fr-FR/tiddlers/{Transclusion_with_Templates.tid → wikitext/Transclusion with Templates.tid } +2 -1
- package/editions/fr-FR/tiddlers/{Typed_Blocks_in_WikiText.tid → wikitext/Typed Blocks in WikiText.tid } +16 -11
- package/editions/fr-FR/tiddlers/{Variables_in_WikiText.tid → wikitext/Variables in WikiText.tid } +7 -8
- package/editions/fr-FR/tiddlers/wikitext/Widgets in WikiText.tid +30 -0
- package/editions/fr-FR/tiddlers/wikitext/parser/Block Mode WikiText (Examples).tid +52 -0
- package/editions/fr-FR/tiddlers/wikitext/parser/Block Mode WikiText.tid +37 -0
- package/editions/fr-FR/tiddlers/wikitext/parser/Inline Mode WikiText.tid +28 -0
- package/editions/fr-FR/tiddlers/wikitext/parser/Places where the parser ignores WikiText.tid +14 -0
- package/editions/fr-FR/tiddlers/wikitext/parser/WikiText Parser Modes.tid +17 -0
- package/editions/fr-FR/tiddlers/wikitext/parser/WikiText parser mode HTML examples.tid +73 -0
- package/editions/fr-FR/tiddlers/wikitext/parser/WikiText parser mode transitions.tid +59 -0
- package/editions/fr-FR/tiddlers/wikitext/parser/WikiText parser mode_ macro examples.tid +56 -0
- package/editions/fr-FR/tiddlers/wikitext/parser/WikiText parser mode_ transclusion examples.tid +56 -0
- package/editions/fr-FR/tiddlers/wikitext/parser/table-example.tid +8 -0
- package/editions/katexdemo/tiddlers/$__DefaultTiddlers.tid +8 -0
- package/editions/katexdemo/tiddlers/HelloThere.tid +4 -1
- package/editions/katexdemo/tiddlers/LaTeX.tid +8 -0
- package/editions/katexdemo/tiddlers/TiddlyWiki.tid +8 -0
- package/editions/katexdemo/tiddlers/TiddlyWiki5.tid +6 -0
- package/editions/prerelease/tiddlers/{Release 5.2.3.tid → Release 5.2.4.tid } +16 -15
- package/editions/prerelease/tiddlers/system/PrereleaseLocalPluginLibrary.tid +1 -1
- package/editions/prerelease/tiddlers/system/PrereleaseOfficialPluginLibrary.tid +1 -1
- package/editions/prerelease/tiddlers/system/TiddlyWiki Pre-release.tid +4 -1
- package/editions/prerelease/tiddlywiki.info +0 -2
- package/editions/test/tiddlers/tests/data/tabs-macro/expected-html-tabs-horizontal-all.tid +1 -29
- package/editions/test/tiddlers/tests/data/tabs-macro/expected-html-tabs-horizontal.tid +1 -39
- package/editions/test/tiddlers/tests/data/tabs-macro/expected-html-tabs-vertical.tid +1 -39
- package/editions/test/tiddlers/tests/test-action-widgets.js +43 -0
- package/editions/test/tiddlers/tests/test-checkbox-widget.js +507 -0
- package/editions/test/tiddlers/tests/test-filters.js +49 -2
- package/editions/test/tiddlers/tests/test-prefixes-filter.js +2 -0
- package/editions/test/tiddlers/tests/test-utils.js +6 -0
- package/editions/test/tiddlers/tests/test-widget.js +2 -1
- package/editions/test/tiddlers/tests/test-wikitext-tabs-macro.js +8 -7
- package/editions/test/tiddlers/tests/test-wikitext.js +8 -1
- package/editions/translators/tiddlywiki.info +7 -1
- package/editions/tw.org/tiddlers/$__config_DefaultSidebarTab.tid +6 -0
- package/editions/tw.org/tiddlers/$__core_templates_static.content.tid +18 -0
- package/editions/tw.org/tiddlers/Code of Conduct.tid +30 -0
- package/editions/tw.org/tiddlers/Fundraising.tid +23 -0
- package/editions/tw.org/tiddlers/HelloThere.tid +3 -2
- package/editions/tw.org/tiddlers/Table of Contents.tid +2 -1
- package/editions/tw.org/tiddlers/_tw_shared/tiddlywiki.files +5 -0
- package/editions/tw5.com/tiddlers/$__StoryList.tid +3 -3
- package/editions/tw5.com/tiddlers/Brackets.tid +14 -0
- package/editions/tw5.com/tiddlers/{images → _tw_shared}/Motovun Jack.svg +0 -0
- package/editions/tw5.com/tiddlers/{images → _tw_shared}/Motovun Jack.svg.meta +1 -1
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/classic.tiddlywiki.com.ico +0 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/classic.tiddlywiki.com.ico.meta +3 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/links.tiddlywiki.org.ico +0 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/links.tiddlywiki.org.ico.meta +3 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/talk.tiddlywiki.org.svg +6 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/talk.tiddlywiki.org.svg.meta +3 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.dev.ico +0 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.dev.ico.meta +3 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.ico +0 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.ico.meta +3 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.prerelease.ico +0 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.prerelease.ico.meta +3 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.upgrade.ico +0 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.upgrade.ico.meta +3 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.org.ico +0 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.org.ico.meta +3 -0
- package/editions/tw5.com/tiddlers/_tw_shared/sites/classic.tiddlywiki.com.tid +6 -0
- package/editions/tw5.com/tiddlers/_tw_shared/sites/links.tiddlywiki.org.tid +6 -0
- package/editions/tw5.com/tiddlers/_tw_shared/sites/talk.tiddlywiki.org.tid +6 -0
- package/editions/tw5.com/tiddlers/_tw_shared/sites/tiddlywiki.com.dev.tid +6 -0
- package/editions/tw5.com/tiddlers/_tw_shared/sites/tiddlywiki.com.prerelease.tid +6 -0
- package/editions/tw5.com/tiddlers/_tw_shared/sites/tiddlywiki.com.tid +6 -0
- package/editions/tw5.com/tiddlers/_tw_shared/sites/tiddlywiki.com.upgrade.tid +6 -0
- package/editions/tw5.com/tiddlers/_tw_shared/sites/tiddlywiki.org.tid +6 -0
- package/editions/tw5.com/tiddlers/_tw_shared/sites.tid +32 -0
- package/editions/tw5.com/tiddlers/_tw_shared/styles.tid +48 -0
- package/editions/tw5.com/tiddlers/_tw_shared/tags-TiddlyWikiSites.tid +3 -0
- package/editions/tw5.com/tiddlers/community/Community Links Aggregator.tid +1 -1
- package/editions/tw5.com/tiddlers/community/Contributing.tid +2 -1
- package/editions/tw5.com/tiddlers/community/editions/TiddlyMemo by oflg.tid +16 -0
- package/editions/tw5.com/tiddlers/community/resources/Projectify by Nicolas Petton.tid +6 -4
- package/editions/tw5.com/tiddlers/concepts/Customizing EditTemplate Field Rendering.tid +23 -7
- package/editions/tw5.com/tiddlers/concepts/DataTiddlers.tid +4 -21
- package/editions/tw5.com/tiddlers/concepts/DictionaryTiddlers.tid +3 -2
- package/editions/tw5.com/tiddlers/concepts/JSONTiddlers.tid +4 -3
- package/editions/tw5.com/tiddlers/concepts/KeyboardShortcutTiddler.tid +7 -0
- package/editions/tw5.com/tiddlers/concepts/Macros.tid +6 -2
- package/editions/tw5.com/tiddlers/concepts/Order of Tagged Tiddlers.tid +3 -1
- package/editions/tw5.com/tiddlers/concepts/SystemTags.tid +1 -1
- package/editions/tw5.com/tiddlers/concepts/TiddlyWiki5.tid +4 -2
- package/editions/tw5.com/tiddlers/concepts/Title List.tid +4 -1
- package/editions/tw5.com/tiddlers/customising/Customising TiddlyWiki's user interface.tid +2 -2
- package/editions/tw5.com/tiddlers/definitions/JavaScript Object Notation.tid +2 -6
- package/editions/tw5.com/tiddlers/definitions/Node.js.tid +5 -3
- package/editions/tw5.com/tiddlers/definitions/TiddlyDesktop.tid +1 -1
- package/editions/tw5.com/tiddlers/definitions/TiddlyWeb.tid +1 -0
- package/editions/tw5.com/tiddlers/demonstrations/CustomStoryTiddlerTemplateDemo.tid/Styles.tid +0 -1
- package/editions/tw5.com/tiddlers/features/JSON in TiddlyWiki.tid +69 -0
- package/editions/tw5.com/tiddlers/filters/Mathematics Operators.tid +23 -3
- package/editions/tw5.com/tiddlers/filters/examples/insertafter Operator (Examples).tid +28 -0
- package/editions/tw5.com/tiddlers/filters/format.tid +3 -1
- package/editions/tw5.com/tiddlers/filters/insertafter Operator.tid +35 -0
- package/editions/tw5.com/tiddlers/filters/insertbefore Operator.tid +9 -3
- package/editions/tw5.com/tiddlers/filters/syntax/Map Filter Run Prefix (Examples).tid +20 -2
- package/editions/tw5.com/tiddlers/filters/syntax/Map Filter Run Prefix.tid +3 -2
- package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted.tid +6 -0
- package/editions/tw5.com/tiddlers/hellothere/HelloThere.tid +1 -1
- package/editions/tw5.com/tiddlers/howtos/Constructing JSON tiddlers.tid +16 -0
- package/editions/tw5.com/tiddlers/howtos/Creating a splash screen.tid +1 -1
- package/editions/tw5.com/tiddlers/howtos/How to apply custom styles by tag.tid +2 -2
- package/editions/tw5.com/tiddlers/howtos/How to customize TiddlyDesktop.tid +1 -1
- package/editions/tw5.com/tiddlers/howtos/How to update TiddlyWiki to the latest version.tid +7 -0
- package/editions/tw5.com/tiddlers/howtos/Modifying JSON tiddlers.tid +18 -0
- package/editions/tw5.com/tiddlers/howtos/Reading data from JSON tiddlers.tid +25 -0
- package/editions/tw5.com/tiddlers/images/New Release Banner.png +0 -0
- package/editions/tw5.com/tiddlers/macros/JsonTiddlersMacro.tid +3 -3
- package/editions/tw5.com/tiddlers/macros/TagMacro.tid +1 -1
- package/editions/tw5.com/tiddlers/macros/jsontiddler Macro.tid +2 -2
- package/editions/tw5.com/tiddlers/macros/list-links-draggable Macro.tid +2 -0
- package/editions/tw5.com/tiddlers/mechanisms/InfoMechanism.tid +1 -0
- package/editions/tw5.com/tiddlers/mechanisms/PluginMechanism.tid +1 -1
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-close-window.tid +3 -1
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-new-tiddler.tid +11 -2
- package/editions/tw5.com/tiddlers/nodejs/Environment Variables on Node.js.tid +5 -5
- package/editions/tw5.com/tiddlers/nodejs/Installing TiddlyWiki on Node.js.tid +5 -10
- package/editions/tw5.com/tiddlers/nodejs/Installing custom plugins on Node.js.tid +11 -19
- package/editions/tw5.com/tiddlers/nodejs/Installing official plugins on Node.js.tid +40 -0
- package/editions/tw5.com/tiddlers/nodejs/PluginsCS.tid +9 -0
- package/editions/tw5.com/tiddlers/nodejs/TiddlyWiki on Node.js.tid +7 -2
- package/editions/tw5.com/tiddlers/nodejs/Uninstalling a plugin with Node.js.tid +31 -0
- package/editions/tw5.com/tiddlers/nodejs/Using TiddlyWiki on Node.js.tid +4 -4
- package/editions/tw5.com/tiddlers/platforms/TiddlyWiki in the Sky for TiddlyWeb.tid +2 -1
- package/editions/tw5.com/tiddlers/plugins/Installing a plugin from the plugin library.tid +22 -35
- package/editions/tw5.com/tiddlers/plugins/Manually installing a plugin.tid +19 -4
- package/editions/tw5.com/tiddlers/plugins/OfficialPlugins.tid +3 -1
- package/editions/tw5.com/tiddlers/plugins/Plugin Ordering.tid +47 -0
- package/editions/tw5.com/tiddlers/plugins/PluginFolders.tid +27 -1
- package/editions/tw5.com/tiddlers/plugins/Plugins.tid +19 -7
- package/editions/tw5.com/tiddlers/plugins/Uninstalling a plugin.tid +15 -25
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.23.tid +32 -34
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.0.tid +36 -38
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.1.tid +16 -18
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.2.tid +26 -28
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.3.tid +152 -0
- package/editions/tw5.com/tiddlers/releasenotes/Releases.tid +1 -1
- package/editions/tw5.com/tiddlers/saving/Saving on Android.tid +1 -1
- package/editions/tw5.com/tiddlers/saving/Saving on TidGi.tid +1 -1
- package/editions/tw5.com/tiddlers/saving/Saving on TiddlyDesktop.tid +3 -3
- package/editions/tw5.com/tiddlers/saving/Saving on iPad_iPhone.tid +1 -1
- package/editions/tw5.com/tiddlers/saving/Saving via WebDAV.tid +5 -3
- package/editions/tw5.com/tiddlers/saving/Saving.tid +9 -11
- package/editions/tw5.com/tiddlers/system/Deprecated.tid +4 -4
- package/editions/tw5.com/tiddlers/system/Deprecated_-_What_does_it_mean.tid +2 -6
- package/editions/tw5.com/tiddlers/system/doc-macros.tid +11 -1
- package/editions/tw5.com/tiddlers/system/doc-styles.tid +34 -4
- package/editions/tw5.com/tiddlers/system/download-empty-button.tid +1 -1
- package/editions/tw5.com/tiddlers/system/systemtag-template.tid +21 -0
- package/editions/tw5.com/tiddlers/system/tw5.com-card-template.tid +12 -8
- package/editions/tw5.com/tiddlers/system/tw5.com-styles.tid +5 -6
- package/editions/tw5.com/tiddlers/system/version-macros.tid +3 -3
- package/editions/tw5.com/tiddlers/system/wikitext-macros.tid +38 -3
- package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_Macro_View_Body.tid +9 -0
- package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_ViewTemplate.tid +2 -2
- package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_ViewTemplateSubtitle.tid +9 -0
- package/editions/tw5.com/tiddlers/tiddlydesktop/TiddlyDesktop_Releases.tid +1 -1
- package/editions/tw5.com/tiddlers/variables/modifier Variable.tid +2 -2
- package/editions/tw5.com/tiddlers/widgets/CheckboxWidget.tid +77 -3
- package/editions/tw5.com/tiddlers/widgets/DraggableWidget.tid +19 -3
- package/editions/tw5.com/tiddlers/widgets/EventCatcherWidget.tid +3 -1
- package/editions/tw5.com/tiddlers/widgets/ImageWidget.tid +5 -3
- package/editions/tw5.com/tiddlers/widgets/JSONTiddlerWidget.tid +5 -4
- package/editions/tw5.com/tiddlers/widgets/ListWidget.tid +2 -2
- package/editions/tw5.com/tiddlers/widgets/ScrollableWidget.tid +3 -3
- package/editions/tw5.com/tiddlers/widgets/SetWidget.tid +3 -1
- package/editions/tw5.com/tiddlers/widgets/TranscludeWidget.tid +2 -5
- package/editions/tw5.com/tiddlers/wikitext/Code Blocks in WikiText.tid +4 -7
- package/editions/tw5.com/tiddlers/wikitext/Dashes in WikiText.tid +7 -3
- package/editions/tw5.com/tiddlers/wikitext/Formatting in WikiText.tid +7 -7
- package/editions/tw5.com/tiddlers/wikitext/Headings in WikiText.tid +3 -3
- package/editions/tw5.com/tiddlers/wikitext/Horizontal Rules in WikiText.tid +3 -5
- package/editions/tw5.com/tiddlers/wikitext/Tables in WikiText.tid +13 -37
- package/editions/tw5.com/tiddlers/wikitext/Widgets in WikiText.tid +4 -4
- package/editions/tw5.com/tiddlers/wikitext/parser/WikiText Parser Modes.tid +1 -1
- package/languages/de-DE/EditTemplate.multids +1 -0
- package/languages/de-DE/Help/render.tid +2 -1
- package/languages/de-DE/SideBar.multids +1 -0
- package/languages/fr-FR/ControlPanel.multids +18 -0
- package/languages/fr-FR/EditTemplate.multids +1 -0
- package/languages/fr-FR/Fields.multids +4 -2
- package/languages/fr-FR/Help/default.tid +4 -1
- package/languages/fr-FR/Help/render.tid +2 -1
- package/languages/fr-FR/Misc.multids +1 -1
- package/languages/fr-FR/SideBar.multids +1 -0
- package/languages/ja-JP/Buttons.multids +147 -30
- package/languages/ja-JP/ControlPanel.multids +175 -37
- package/languages/ja-JP/CoreReadMe.tid +2 -2
- package/languages/ja-JP/Dates.multids +24 -24
- package/languages/ja-JP/Docs/ModuleTypes.multids +3 -3
- package/languages/ja-JP/Docs/PaletteColours.multids +18 -18
- package/languages/ja-JP/EditTemplate.multids +23 -7
- package/languages/ja-JP/Exporters.multids +1 -1
- package/languages/ja-JP/Fields.multids +28 -23
- package/languages/ja-JP/Filters.multids +12 -9
- package/languages/ja-JP/GettingStarted.tid +6 -6
- package/languages/ja-JP/Help/build.tid +2 -2
- package/languages/ja-JP/Help/editions.tid +6 -2
- package/languages/ja-JP/Help/help.tid +1 -1
- package/languages/ja-JP/Help/init.tid +2 -2
- package/languages/ja-JP/Help/load.tid +2 -2
- package/languages/ja-JP/Help/makelibrary.tid +3 -3
- package/languages/ja-JP/Help/output.tid +2 -2
- package/languages/ja-JP/Help/rendertiddler.tid +2 -2
- package/languages/ja-JP/Help/rendertiddlers.tid +2 -2
- package/languages/ja-JP/Help/savetiddler.tid +2 -2
- package/languages/ja-JP/Help/savetiddlers.tid +12 -2
- package/languages/ja-JP/Help/server.tid +6 -6
- package/languages/ja-JP/Help/setfield.tid +7 -7
- package/languages/ja-JP/Help/unpackplugin.tid +2 -2
- package/languages/ja-JP/Help/verbose.tid +6 -2
- package/languages/ja-JP/Help/version.tid +2 -2
- package/languages/ja-JP/Import.multids +27 -8
- package/languages/ja-JP/Misc.multids +98 -11
- package/languages/ja-JP/Modals/Download.tid +2 -2
- package/languages/ja-JP/Notifications.multids +2 -2
- package/languages/ja-JP/Search.multids +8 -4
- package/languages/ja-JP/SideBar.multids +6 -4
- package/languages/ja-JP/SiteSubtitle.tid +1 -1
- package/languages/ja-JP/SiteTitle.tid +1 -1
- package/languages/ja-JP/TiddlerInfo.multids +10 -10
- package/languages/ja-JP/Types/application%2Fjavascript.tid +1 -1
- package/languages/ja-JP/Types/image%2Fgif.tid +1 -1
- package/languages/ja-JP/Types/image%2Fjpeg.tid +1 -1
- package/languages/ja-JP/Types/image%2Fpng.tid +1 -1
- package/languages/ja-JP/Types/image%2Fsvg%2Bxml.tid +1 -1
- package/languages/ja-JP/Types/image%2Fx-icon.tid +1 -1
- package/languages/ja-JP/Types/text%2Fcss.tid +1 -1
- package/languages/ja-JP/Types/text%2Fvnd.tiddlywiki.tid +1 -1
- package/languages/ja-JP/plugin.info +1 -1
- package/languages/pl-PL/ControlPanel.multids +3 -1
- package/languages/pl-PL/EditTemplate.multids +1 -0
- package/languages/pl-PL/Fields.multids +3 -3
- package/languages/pl-PL/Help/default.tid +4 -1
- package/languages/pl-PL/Import.multids +3 -3
- package/languages/pl-PL/SideBar.multids +1 -0
- package/languages/zh-Hans/EditTemplate.multids +1 -0
- package/languages/zh-Hans/Help/default.tid +4 -1
- package/languages/zh-Hans/Help/render.tid +1 -0
- package/languages/zh-Hans/SideBar.multids +1 -0
- package/languages/zh-Hant/EditTemplate.multids +1 -0
- package/languages/zh-Hant/Help/default.tid +4 -1
- package/languages/zh-Hant/Help/render.tid +1 -0
- package/languages/zh-Hant/SideBar.multids +1 -0
- package/licenses/cla-individual.md +10 -0
- package/package.json +1 -1
- package/plugins/tiddlywiki/browser-sniff/browser.js +5 -1
- package/plugins/tiddlywiki/browser-sniff/usage.tid +1 -0
- package/plugins/tiddlywiki/browser-storage/rawmarkup.js +18 -1
- package/plugins/tiddlywiki/browser-storage/readme.tid +0 -1
- package/plugins/tiddlywiki/browser-storage/settings.tid +5 -1
- package/plugins/tiddlywiki/browser-storage/startup.js +14 -9
- package/plugins/tiddlywiki/dynannotate/docs/readme.tid +72 -8
- package/plugins/tiddlywiki/dynannotate/modules/dynannotate.js +10 -1
- package/plugins/tiddlywiki/dynannotate/modules/legacy-selection-tracker.js +104 -0
- package/plugins/tiddlywiki/dynannotate/modules/selection-tracker.js +144 -89
- package/plugins/tiddlywiki/dynannotate/modules/startup.js +40 -0
- package/{editions/katexdemo/tiddlers → plugins/tiddlywiki/katex}/ImplementationNotes.tid +3 -3
- package/plugins/tiddlywiki/katex/developer.tid +58 -0
- package/plugins/tiddlywiki/katex/files/contrib/mhchem.min.js +1 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_AMS-Regular.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Bold.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Regular.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Bold.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-BoldItalic.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Italic.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Regular.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-BoldItalic.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-Italic.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Bold.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Italic.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Regular.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Script-Regular.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size1-Regular.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size2-Regular.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size3-Regular.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size4-Regular.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Typewriter-Regular.woff +0 -0
- package/plugins/tiddlywiki/katex/files/katex.min.css +1 -1
- package/plugins/tiddlywiki/katex/files/katex.min.js +1 -1
- package/plugins/tiddlywiki/katex/files/katex.without-font-face.min.css +1 -1
- package/plugins/tiddlywiki/katex/files/tiddlywiki.files +2 -2
- package/plugins/tiddlywiki/katex/plugin.info +1 -1
- package/plugins/tiddlywiki/katex/readme.tid +1 -1
- package/plugins/tiddlywiki/katex/snippets/logo.tid +4 -0
- package/plugins/tiddlywiki/katex/snippets/math.tid +8 -0
- package/plugins/tiddlywiki/katex/styles.tid +7 -0
- package/plugins/tiddlywiki/katex/usage.tid +18 -2
- package/plugins/tiddlywiki/markdown/EditorToolbar/link-dropdown.tid +73 -0
- package/plugins/tiddlywiki/markdown/EditorToolbar/link.tid +11 -0
- package/plugins/tiddlywiki/markdown/EditorToolbar/linkify.tid +15 -0
- package/plugins/tiddlywiki/markdown/EditorToolbar/mono-block.tid +17 -0
- package/plugins/tiddlywiki/markdown/KeyboardShortcuts/new-markdown-tiddler.tid +8 -0
- package/plugins/tiddlywiki/markdown/config.multids +5 -0
- package/plugins/tiddlywiki/markdown/editor-operations/make-markdown-link.js +37 -0
- package/plugins/tiddlywiki/markdown/images/markdown-linkify.tid +6 -0
- package/plugins/tiddlywiki/menubar/items/search.tid +2 -0
- package/plugins/tiddlywiki/tiddlyweb/save-wiki-button.tid +1 -1
- package/readme.md +5 -3
- package/themes/tiddlywiki/vanilla/base.tid +21 -3
- package/.github/ISSUE_TEMPLATE/bug_report.md +0 -43
- package/editions/fr-FR/tiddlers/$__core_ui_SideBar_Open.tid +0 -15
- package/editions/fr-FR/tiddlers/Horizontal Rules in WikiText.tid +0 -17
- package/editions/fr-FR/tiddlers/Installing TiddlyWiki on Node.js.tid +0 -23
- package/editions/fr-FR/tiddlers/Macro_Calls_in_WikiText.tid +0 -22
- package/editions/fr-FR/tiddlers/Pragma.tid +0 -17
- package/editions/fr-FR/tiddlers/Saving on Android.tid +0 -10
- package/editions/fr-FR/tiddlers/Saving on InternetExplorer.tid +0 -11
- package/editions/fr-FR/tiddlers/Saving on Safari.tid +0 -24
- package/editions/fr-FR/tiddlers/Saving on iPad_iPhone.tid +0 -23
- package/editions/fr-FR/tiddlers/Saving with TiddlyFox.tid +0 -24
- package/editions/fr-FR/tiddlers/Saving with TiddlyIE.tid +0 -19
- package/editions/fr-FR/tiddlers/Saving_on_a_PHP_Server.tid +0 -30
- package/editions/fr-FR/tiddlers/Tables_in_WikiText.tid +0 -102
- package/editions/fr-FR/tiddlers/TiddlyDesktop.tid +0 -23
- package/editions/fr-FR/tiddlers/TiddlyDesktop_Releases.tid +0 -9
- package/editions/fr-FR/tiddlers/TiddlyWiki on Node.js.tid +0 -18
- package/editions/fr-FR/tiddlers/TranscludeWidget.tid +0 -73
- package/editions/fr-FR/tiddlers/Widgets_in_WikiText.tid +0 -30
- package/editions/katexdemo/tiddlers/DefaultTiddlers.tid +0 -5
- package/plugins/tiddlywiki/katex/files/README.md +0 -119
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_AMS-Regular.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_AMS-Regular.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Bold.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Regular.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Bold.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Regular.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Bold.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Bold.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-BoldItalic.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Italic.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Italic.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Regular.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Regular.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-BoldItalic.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-Italic.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-Italic.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Bold.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Italic.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Regular.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Script-Regular.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Script-Regular.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size1-Regular.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size1-Regular.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size2-Regular.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size2-Regular.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size3-Regular.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size3-Regular.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size4-Regular.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size4-Regular.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Typewriter-Regular.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/katex.css +0 -1079
- package/plugins/tiddlywiki/katex/files/katex.js +0 -18183
- package/plugins/tiddlywiki/katex/files/mhchem.min.js +0 -1
@@ -0,0 +1,67 @@
|
|
1
|
+
name: Bug report
|
2
|
+
description: Create a report to help us improve TiddlyWiki 5
|
3
|
+
title: "[BUG] "
|
4
|
+
body:
|
5
|
+
- type: textarea
|
6
|
+
id: Describe
|
7
|
+
attributes:
|
8
|
+
label: Describe the bug
|
9
|
+
description: A clear and concise description of what the bug is.
|
10
|
+
validations:
|
11
|
+
required: true
|
12
|
+
- type: textarea
|
13
|
+
id: Expected
|
14
|
+
attributes:
|
15
|
+
label: Expected behavior
|
16
|
+
description: A clear and concise description of what you expected to happen.
|
17
|
+
validations:
|
18
|
+
required: false
|
19
|
+
- type: textarea
|
20
|
+
id: Reproduce
|
21
|
+
attributes:
|
22
|
+
label: To Reproduce
|
23
|
+
description: "Steps to reproduce the behavior:"
|
24
|
+
value: |
|
25
|
+
1. Go to '...'
|
26
|
+
2. Click on '....'
|
27
|
+
3. Scroll down to '....'
|
28
|
+
4. See error
|
29
|
+
validations:
|
30
|
+
required: false
|
31
|
+
- type: textarea
|
32
|
+
id: Screenshots
|
33
|
+
attributes:
|
34
|
+
label: Screenshots
|
35
|
+
description: If applicable, add screenshots to help explain your problem.
|
36
|
+
placeholder: Drag image here to upload screenshot!
|
37
|
+
validations:
|
38
|
+
required: false
|
39
|
+
- type: textarea
|
40
|
+
id: Configuration
|
41
|
+
attributes:
|
42
|
+
label: TiddlyWiki Configuration
|
43
|
+
description: please complete the following information
|
44
|
+
value: |
|
45
|
+
- Version [e.g. v5.1.24]
|
46
|
+
- Saving mechanism [e.g. Node.js, TiddlyDesktop, TiddlyHost etc]
|
47
|
+
- Plugins installed [e.g. Freelinks, TiddlyMap]
|
48
|
+
|
49
|
+
### Desktop (please complete the following information):
|
50
|
+
|
51
|
+
- OS: [e.g. iOS]
|
52
|
+
- Browser [e.g. chrome, safari]
|
53
|
+
- Version [e.g. 22]
|
54
|
+
|
55
|
+
### Smartphone (please complete the following information):
|
56
|
+
|
57
|
+
- Device: [e.g. iPhone6]
|
58
|
+
- OS: [e.g. iOS8.1]
|
59
|
+
- Browser [e.g. stock browser, safari]
|
60
|
+
- Version [e.g. 22]
|
61
|
+
validations:
|
62
|
+
required: true
|
63
|
+
- type: textarea
|
64
|
+
id: Context
|
65
|
+
attributes:
|
66
|
+
label: Additional context
|
67
|
+
description: Add any other context about the problem here.
|
@@ -0,0 +1,8 @@
|
|
1
|
+
blank_issues_enabled: false
|
2
|
+
contact_links:
|
3
|
+
- name: Discuss feature request
|
4
|
+
url: https://github.com/Jermolene/TiddlyWiki5/discussions
|
5
|
+
about: Open new discussion about new feature
|
6
|
+
- name: Talk.Tiddlywiki Forum
|
7
|
+
url: https://talk.tiddlywiki.org
|
8
|
+
about: Join the Forum
|
@@ -20,3 +20,11 @@ A clear and concise description of any alternative solutions or features you've
|
|
20
20
|
Add any other context or screenshots about the feature request here.
|
21
21
|
|
22
22
|
If you link to discussions elsewhere then please copy and paste the important text, and don't expect readers to scan the entire discussion to find the relevant part.
|
23
|
+
|
24
|
+
## Checklist before requesting a review
|
25
|
+
|
26
|
+
- [ ] Illustrate any visual changes (however minor) with before/after screenshots
|
27
|
+
- [ ] Self-review of code
|
28
|
+
- [ ] Documentation updates (for user-visible changes)
|
29
|
+
- [ ] Tests (for core code changes)
|
30
|
+
- [ ] Complies with coding style guidelines (for JavaScript code)
|
package/bin/build-site.sh
CHANGED
package/boot/boot.js
CHANGED
@@ -2596,7 +2596,7 @@ $tw.boot.isStartupTaskEligible = function(taskModule) {
|
|
2596
2596
|
for(t=0; t<remaining.length; t++) {
|
2597
2597
|
var task = remaining[t];
|
2598
2598
|
if(task.before && task.before.indexOf(name) !== -1) {
|
2599
|
-
if($tw.boot.doesTaskMatchPlatform(task)
|
2599
|
+
if($tw.boot.doesTaskMatchPlatform(task) && (!task.name || $tw.boot.disabledStartupModules.indexOf(task.name) === -1)) {
|
2600
2600
|
return false;
|
2601
2601
|
}
|
2602
2602
|
}
|
package/contributing.md
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
<h1 class="">Contributing to <a class="tc-tiddlylink tc-tiddlylink-resolves" href="https://tiddlywiki.com/static/TiddlyWiki5.html">TiddlyWiki5</a></h1><p>Here we focus on contributions via <a class="tc-tiddlylink tc-tiddlylink-resolves" href="https://tiddlywiki.com/static/GitHub.html">GitHub</a> Pull Requests but there are many other ways that anyone can help the <a class="tc-tiddlylink tc-tiddlylink-resolves" href="https://tiddlywiki.com/static/TiddlyWiki.html">TiddlyWiki</a> project, such as <a class="tc-tiddlylink tc-tiddlylink-resolves" href="https://tiddlywiki.com/static/ReportingBugs.html">reporting bugs</a> or helping to <a class="tc-tiddlylink tc-tiddlylink-resolves" href="https://tiddlywiki.com/static/Improving%2520TiddlyWiki%2520Documentation.html">improve our documentation</a>.</p><h1 class="">Rules for Pull Requests</h1><p>PRs must meet these minimum requirements before they can be considered for merging:</p><ul><li>The material in the PR must be free of licensing restrictions. Which means that either:<ul><li>The author must hold the copyright in all of the material themselves</li><li>The material must be licensed under a license compatible with <a class="tc-tiddlylink tc-tiddlylink-resolves" href="https://tiddlywiki.com/static/TiddlyWiki.html">TiddlyWiki</a>'s BSD license</li></ul></li><li>The author must sign the Contributors License Agreement (see below)</li><li>Each PR should only make a single feature change</li><li>The title of the PR should be 50 characters or less</li><li>The title of the PR should be capitalised, and should not end with a period</li><li>The title of the PR should be written in the imperative mood. See below</li><li>Adequate explanation in the body of the PR for the motivation and implementation of the change. Focus on the <em>why</em> and <em>what</em>, rather than the <em>how</em></li><li>PRs must be self-contained. Although they can link to material elsewhere, everything needed to understand the intention of the PR should be included</li><li>Documentation as appropriate for end-users or developers</li><li>Observe the coding style</li><li>Read the developers documentation</li><li>Please open a consultation issue prior to investing time in making a large PR</li></ul><h2 class="">Imperative Mood for PR Titles</h2><p>The "imperative mood" means written as if giving a command or instruction. See <a class="tc-tiddlylink-external" href="https://chris.beams.io/posts/git-commit/#imperative" rel="noopener noreferrer" target="_blank">this post</a> for more details, but the gist is that the title of the PR should make sense when used to complete the sentence "If applied, this commit will...". So for example, these are good PR titles:</p><ul><li>If applied, this commit will <em>update the contributing guidelines</em></li><li>If applied, this commit will <em>change css-escape-polyfill to a $tw.utils method</em></li><li>If applied, this commit will <em>make it easier to subclass the wikitext parser with a custom rule set</em></li></ul><p>These a poorly worded PR titles:</p><ul><li><strike>If applied, this commit will <em>edit text widgets should use default text for missing fields</em></strike></li><li><strike>If applied, this commit will <em>signing the CLA</em></strike></li><li><strike>If applied, this commit will <em>don't crash if options.event is missing</em></strike></li></ul><p>PR titles may also include a short prefix to indicate the subsystem to which they apply. For example:</p><ul><li><em>Menu plugin: Include menu text in aerial rotator</em></li></ul><h1 class="">Commenting on Pull Requests</h1><p>One of the principles of open source is that many pairs of eyes on the code can improve quality. So, we welcome comments and critiques of pending PRs. <a class="tc-tiddlylink-external" href="https://conventionalcomments.org" rel="noopener noreferrer" target="_blank">Conventional Comments</a> has some techniques to help make comments as constructive and actionable as possible. Notably, they recommend prefixing a comment with a label to clarify the intention:</p><table><tbody><tr class="evenRow"><td align="left">praise</td><td align="left">Praises highlight something positive. Try to leave at least one of these comments per review. Do not leave false praise (which can actually be damaging). Do look for something to sincerely praise</td></tr><tr class="oddRow"><td align="left">nitpick</td><td align="left">Nitpicks are small, trivial, but necessary changes. Distinguishing nitpick comments significantly helps direct the reader's attention to comments requiring more involvement</td></tr><tr class="evenRow"><td align="left">suggestion</td><td align="left">Suggestions are specific requests to improve the subject under review. It is assumed that we all want to do what's best, so these comments are never dismissed as “mere suggestions”, but are taken seriously</td></tr><tr class="oddRow"><td align="left">issue</td><td align="left">Issues represent user-facing problems. If possible, it's great to follow this kind of comment with a suggestion</td></tr><tr class="evenRow"><td align="left">question</td><td align="left">Questions are appropriate if you have a potential concern but are not quite sure if it's relevant or not. Asking the author for clarification or investigation can lead to a quick resolution</td></tr><tr class="oddRow"><td align="left">thought</td><td align="left">Thoughts represent an idea that popped up from reviewing. These comments are non-blocking by nature, but they are extremely valuable and can lead to more focused initiatives and mentoring opportunities</td></tr><tr class="evenRow"><td align="left">chore</td><td align="left">Chores are simple tasks that must be done before the subject can be “officially” accepted. Usually, these comments reference some common process. Try to leave a link to the process description so that the reader knows how to resolve the chore</td></tr></tbody></table><h1 class="">Contributor License Agreement</h1><p>Like other <a class="tc-tiddlylink tc-tiddlylink-resolves" href="https://tiddlywiki.com/static/OpenSource.html">OpenSource</a> projects, <a class="tc-tiddlylink tc-tiddlylink-resolves" href="https://tiddlywiki.com/static/TiddlyWiki5.html">TiddlyWiki5</a> needs a signed contributor license agreement from individual contributors. This is a legal agreement that allows contributors to assert that they own the copyright of their contribution, and that they agree to license it to the <a class="tc-tiddlylink tc-tiddlylink-missing" href="https://tiddlywiki.com/static/UnaMesa.html">UnaMesa</a> Association (the legal entity that owns <a class="tc-tiddlylink tc-tiddlylink-resolves" href="https://tiddlywiki.com/static/TiddlyWiki.html">TiddlyWiki</a> on behalf of the community).</p><ul><li>For individuals use: <a class="tc-tiddlylink-external" href="https://github.com/Jermolene/TiddlyWiki5/tree/tiddlywiki-com/licenses/cla-individual.md" rel="noopener noreferrer" target="_blank">licenses/CLA-individual</a></li><li>For entities use: <a class="tc-tiddlylink-external" href="https://github.com/Jermolene/TiddlyWiki5/tree/tiddlywiki-com/licenses/cla-entity.md" rel="noopener noreferrer" target="_blank">licenses/CLA-entity</a></li></ul><h1 class="">How to sign the CLA</h1><p>Create a <a class="tc-tiddlylink tc-tiddlylink-resolves" href="https://tiddlywiki.com/static/GitHub.html">GitHub</a> pull request to add your name to <code>cla-individual.md</code> or <code>cla-entity.md</code>, with the date in the format (YYYY/MM/DD).</p><p><strong>step by step</strong></p><ol><li>Navigate to <a class="tc-tiddlylink-external" href="https://github.com/Jermolene/TiddlyWiki5/tree/tiddlywiki-com/licenses/cla-individual.md" rel="noopener noreferrer" target="_blank">licenses/CLA-individual</a> or <a class="tc-tiddlylink-external" href="https://github.com/Jermolene/TiddlyWiki5/tree/tiddlywiki-com/licenses/cla-entity.md" rel="noopener noreferrer" target="_blank">licenses/CLA-entity</a> according to whether you are signing as an individual or representative of an organisation</li><li>Ensure that the "branch" dropdown at the top left is set to <code>tiddlywiki-com</code></li><li>Click the "edit" button at the top-right corner (clicking this button will fork the project so you can edit the file)</li><li>Add your name at the bottom<ul><li>eg: <code>Jeremy Ruston, @Jermolene, 2011/11/22</code></li></ul></li><li>Below the edit box for the CLA text you should see a box labelled <strong>Propose file change</strong></li><li>Enter a brief title to explain the change (eg, "Signing the CLA")</li><li>Click the green button labelled <strong>Propose file change</strong></li><li>On the following screen, click the green button labelled <strong>Create pull request</strong></li></ol><hr><p><em>The CLA documents used for this project were created using <a class="tc-tiddlylink-external" href="http://www.harmonyagreements.org" rel="noopener noreferrer" target="_blank">Harmony Project Templates</a>. "HA-CLA-I-LIST Version 1.0" for "CLA-individual" and "HA-CLA-E-LIST Version 1.0" for "CLA-entity".</em>
|
1
|
+
<h1 class="">Contributing to <a class="tc-tiddlylink tc-tiddlylink-resolves" href="https://tiddlywiki.com/static/TiddlyWiki5.html">TiddlyWiki5</a></h1><p>Here we focus on contributions via <a class="tc-tiddlylink tc-tiddlylink-resolves" href="https://tiddlywiki.com/static/GitHub.html">GitHub</a> Pull Requests but there are many other ways that anyone can help the <a class="tc-tiddlylink tc-tiddlylink-resolves" href="https://tiddlywiki.com/static/TiddlyWiki.html">TiddlyWiki</a> project, such as <a class="tc-tiddlylink tc-tiddlylink-resolves" href="https://tiddlywiki.com/static/ReportingBugs.html">reporting bugs</a> or helping to <a class="tc-tiddlylink tc-tiddlylink-resolves" href="https://tiddlywiki.com/static/Improving%2520TiddlyWiki%2520Documentation.html">improve our documentation</a>.</p><h1 class="">Rules for Pull Requests</h1><p>PRs must meet these minimum requirements before they can be considered for merging:</p><ul><li>The material in the PR must be free of licensing restrictions. Which means that either:<ul><li>The author must hold the copyright in all of the material themselves</li><li>The material must be licensed under a license compatible with <a class="tc-tiddlylink tc-tiddlylink-resolves" href="https://tiddlywiki.com/static/TiddlyWiki.html">TiddlyWiki</a>'s BSD license</li></ul></li><li>The author must sign the Contributors License Agreement (see below)</li><li>Each PR should only make a single feature change</li><li>The title of the PR should be 50 characters or less</li><li>The title of the PR should be capitalised, and should not end with a period</li><li>The title of the PR should be written in the imperative mood. See below</li><li>Adequate explanation in the body of the PR for the motivation and implementation of the change. Focus on the <em>why</em> and <em>what</em>, rather than the <em>how</em></li><li>PRs must be self-contained. Although they can link to material elsewhere, everything needed to understand the intention of the PR should be included</li><li>Any visual changes introduced by the PR should be noted and illustrated with before/after screenshots</li><li>Documentation as appropriate for end-users or developers</li><li>Observe the coding style</li><li>Read the developers documentation</li><li>Please open a consultation issue prior to investing time in making a large PR</li></ul><h2 class="">Imperative Mood for PR Titles</h2><p>The "imperative mood" means written as if giving a command or instruction. See <a class="tc-tiddlylink-external" href="https://chris.beams.io/posts/git-commit/#imperative" rel="noopener noreferrer" target="_blank">this post</a> for more details, but the gist is that the title of the PR should make sense when used to complete the sentence "If applied, this commit will...". So for example, these are good PR titles:</p><ul><li>If applied, this commit will <em>update the contributing guidelines</em></li><li>If applied, this commit will <em>change css-escape-polyfill to a $tw.utils method</em></li><li>If applied, this commit will <em>make it easier to subclass the wikitext parser with a custom rule set</em></li></ul><p>These a poorly worded PR titles:</p><ul><li><strike>If applied, this commit will <em>edit text widgets should use default text for missing fields</em></strike></li><li><strike>If applied, this commit will <em>signing the CLA</em></strike></li><li><strike>If applied, this commit will <em>don't crash if options.event is missing</em></strike></li></ul><p>PR titles may also include a short prefix to indicate the subsystem to which they apply. For example:</p><ul><li><em>Menu plugin: Include menu text in aerial rotator</em></li></ul><h1 class="">Commenting on Pull Requests</h1><p>One of the principles of open source is that many pairs of eyes on the code can improve quality. So, we welcome comments and critiques of pending PRs. <a class="tc-tiddlylink-external" href="https://conventionalcomments.org" rel="noopener noreferrer" target="_blank">Conventional Comments</a> has some techniques to help make comments as constructive and actionable as possible. Notably, they recommend prefixing a comment with a label to clarify the intention:</p><table><tbody><tr class="evenRow"><td align="left">praise</td><td align="left">Praises highlight something positive. Try to leave at least one of these comments per review. Do not leave false praise (which can actually be damaging). Do look for something to sincerely praise</td></tr><tr class="oddRow"><td align="left">nitpick</td><td align="left">Nitpicks are small, trivial, but necessary changes. Distinguishing nitpick comments significantly helps direct the reader's attention to comments requiring more involvement</td></tr><tr class="evenRow"><td align="left">suggestion</td><td align="left">Suggestions are specific requests to improve the subject under review. It is assumed that we all want to do what's best, so these comments are never dismissed as “mere suggestions”, but are taken seriously</td></tr><tr class="oddRow"><td align="left">issue</td><td align="left">Issues represent user-facing problems. If possible, it's great to follow this kind of comment with a suggestion</td></tr><tr class="evenRow"><td align="left">question</td><td align="left">Questions are appropriate if you have a potential concern but are not quite sure if it's relevant or not. Asking the author for clarification or investigation can lead to a quick resolution</td></tr><tr class="oddRow"><td align="left">thought</td><td align="left">Thoughts represent an idea that popped up from reviewing. These comments are non-blocking by nature, but they are extremely valuable and can lead to more focused initiatives and mentoring opportunities</td></tr><tr class="evenRow"><td align="left">chore</td><td align="left">Chores are simple tasks that must be done before the subject can be “officially” accepted. Usually, these comments reference some common process. Try to leave a link to the process description so that the reader knows how to resolve the chore</td></tr></tbody></table><h1 class="">Contributor License Agreement</h1><p>Like other <a class="tc-tiddlylink tc-tiddlylink-resolves" href="https://tiddlywiki.com/static/OpenSource.html">OpenSource</a> projects, <a class="tc-tiddlylink tc-tiddlylink-resolves" href="https://tiddlywiki.com/static/TiddlyWiki5.html">TiddlyWiki5</a> needs a signed contributor license agreement from individual contributors. This is a legal agreement that allows contributors to assert that they own the copyright of their contribution, and that they agree to license it to the <a class="tc-tiddlylink tc-tiddlylink-missing" href="https://tiddlywiki.com/static/UnaMesa.html">UnaMesa</a> Association (the legal entity that owns <a class="tc-tiddlylink tc-tiddlylink-resolves" href="https://tiddlywiki.com/static/TiddlyWiki.html">TiddlyWiki</a> on behalf of the community).</p><ul><li>For individuals use: <a class="tc-tiddlylink-external" href="https://github.com/Jermolene/TiddlyWiki5/tree/tiddlywiki-com/licenses/cla-individual.md" rel="noopener noreferrer" target="_blank">licenses/CLA-individual</a></li><li>For entities use: <a class="tc-tiddlylink-external" href="https://github.com/Jermolene/TiddlyWiki5/tree/tiddlywiki-com/licenses/cla-entity.md" rel="noopener noreferrer" target="_blank">licenses/CLA-entity</a></li></ul><h1 class="">How to sign the CLA</h1><p>Create a <a class="tc-tiddlylink tc-tiddlylink-resolves" href="https://tiddlywiki.com/static/GitHub.html">GitHub</a> pull request to add your name to <code>cla-individual.md</code> or <code>cla-entity.md</code>, with the date in the format (YYYY/MM/DD).</p><p><strong>step by step</strong></p><ol><li>Navigate to <a class="tc-tiddlylink-external" href="https://github.com/Jermolene/TiddlyWiki5/tree/tiddlywiki-com/licenses/cla-individual.md" rel="noopener noreferrer" target="_blank">licenses/CLA-individual</a> or <a class="tc-tiddlylink-external" href="https://github.com/Jermolene/TiddlyWiki5/tree/tiddlywiki-com/licenses/cla-entity.md" rel="noopener noreferrer" target="_blank">licenses/CLA-entity</a> according to whether you are signing as an individual or representative of an organisation</li><li>Ensure that the "branch" dropdown at the top left is set to <code>tiddlywiki-com</code></li><li>Click the "edit" button at the top-right corner (clicking this button will fork the project so you can edit the file)</li><li>Add your name at the bottom<ul><li>eg: <code>Jeremy Ruston, @Jermolene, 2011/11/22</code></li></ul></li><li>Below the edit box for the CLA text you should see a box labelled <strong>Propose file change</strong></li><li>Enter a brief title to explain the change (eg, "Signing the CLA")</li><li>Click the green button labelled <strong>Propose file change</strong></li><li>On the following screen, click the green button labelled <strong>Create pull request</strong></li></ol><hr><p><em>The CLA documents used for this project were created using <a class="tc-tiddlylink-external" href="http://www.harmonyagreements.org" rel="noopener noreferrer" target="_blank">Harmony Project Templates</a>. "HA-CLA-I-LIST Version 1.0" for "CLA-individual" and "HA-CLA-E-LIST Version 1.0" for "CLA-entity".</em>
|
2
2
|
</p><p><em>This file was automatically generated by <a class="tc-tiddlylink tc-tiddlylink-resolves" href="https://tiddlywiki.com/static/TiddlyWiki5.html">TiddlyWiki5</a></em>
|
3
3
|
</p>
|
@@ -1,5 +1,6 @@
|
|
1
1
|
title: $:/language/EditTemplate/
|
2
2
|
|
3
|
+
Caption: Editor
|
3
4
|
Body/External/Hint: This tiddler shows content stored outside of the main TiddlyWiki file. You can edit the tags and fields but cannot directly edit the content itself
|
4
5
|
Body/Placeholder: Type the text for this tiddler
|
5
6
|
Body/Preview/Type/Output: output
|
@@ -3,6 +3,7 @@ title: $:/language/Help/default
|
|
3
3
|
\define commandTitle()
|
4
4
|
$:/language/Help/$(command)$
|
5
5
|
\end
|
6
|
+
\whitespace trim
|
6
7
|
```
|
7
8
|
usage: tiddlywiki [<wikifolder>] [--<command> [<args>...]...]
|
8
9
|
```
|
@@ -11,7 +12,9 @@ Available commands:
|
|
11
12
|
|
12
13
|
<ul>
|
13
14
|
<$list filter="[commands[]sort[title]]" variable="command">
|
14
|
-
<li><$link to=<<commandTitle>>><$macrocall $name="command" $type="text/plain" $output="text/plain"/></$link>:
|
15
|
+
<li><$link to=<<commandTitle>>><$macrocall $name="command" $type="text/plain" $output="text/plain"/></$link>:
|
16
|
+
 
|
17
|
+
<$transclude tiddler=<<commandTitle>> field="description"/></li>
|
15
18
|
</$list>
|
16
19
|
</ul>
|
17
20
|
|
@@ -31,5 +31,5 @@ Notes:
|
|
31
31
|
|
32
32
|
Examples:
|
33
33
|
|
34
|
-
* `--render
|
35
|
-
|
34
|
+
* `--render '[!is[system]]' '[encodeuricomponent[]addprefix[tiddlers/]addsuffix[.html]]'` -- renders all non-system tiddlers as files in the subdirectory "tiddlers" with URL-encoded titles and the extension HTML
|
35
|
+
* `--render '.' 'tiddlers.json' 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' '[tag[HelloThere]]'` -- renders the tiddlers tagged "HelloThere" to a JSON file named "tiddlers.json"
|
@@ -50,7 +50,7 @@ Render individual tiddlers and save the results to the specified files
|
|
50
50
|
console.log("Rendering \"" + title + "\" to \"" + filepath + "\"");
|
51
51
|
}
|
52
52
|
var parser = wiki.parseTiddler(template || title),
|
53
|
-
widgetNode = wiki.makeWidget(parser,{variables: $tw.utils.extend({},variables,{currentTiddler: title})}),
|
53
|
+
widgetNode = wiki.makeWidget(parser,{variables: $tw.utils.extend({},variables,{currentTiddler: title,storyTiddler: title})}),
|
54
54
|
container = $tw.fakeDocument.createElement("div");
|
55
55
|
widgetNode.render(container,null);
|
56
56
|
var text = type === "text/html" ? container.innerHTML : container.textContent;
|
@@ -46,7 +46,7 @@ Command.prototype.execute = function() {
|
|
46
46
|
}
|
47
47
|
$tw.utils.each(tiddlers,function(title) {
|
48
48
|
var parser = wiki.parseTiddler(template),
|
49
|
-
widgetNode = wiki.makeWidget(parser,{variables: {currentTiddler: title}}),
|
49
|
+
widgetNode = wiki.makeWidget(parser,{variables: {currentTiddler: title, storyTiddler: title}}),
|
50
50
|
container = $tw.fakeDocument.createElement("div");
|
51
51
|
widgetNode.render(container,null);
|
52
52
|
var text = type === "text/html" ? container.innerHTML : container.textContent,
|
@@ -8,46 +8,60 @@ Saves individual tiddlers in their raw text or binary format to the specified fi
|
|
8
8
|
\*/
|
9
9
|
(function(){
|
10
10
|
|
11
|
-
/*jslint node: true, browser: true */
|
12
|
-
/*global $tw: false */
|
13
|
-
"use strict";
|
14
|
-
|
15
|
-
exports.info = {
|
16
|
-
|
17
|
-
|
18
|
-
};
|
19
|
-
|
20
|
-
var Command = function(params,commander,callback) {
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
};
|
25
|
-
|
26
|
-
Command.prototype.execute = function() {
|
27
|
-
|
28
|
-
|
29
|
-
}
|
30
|
-
var self = this,
|
31
|
-
fs = require("fs"),
|
32
|
-
path = require("path"),
|
33
|
-
wiki = this.commander.wiki,
|
34
|
-
tiddlerFilter = this.params[0],
|
35
|
-
filenameFilter = this.params[1] || "[is[tiddler]]",
|
36
|
-
tiddlers = wiki.filterTiddlers(tiddlerFilter);
|
37
|
-
$tw.utils.each(tiddlers,function(title) {
|
38
|
-
var tiddler = self.commander.wiki.getTiddler(title),
|
39
|
-
type = tiddler.fields.type || "text/vnd.tiddlywiki",
|
40
|
-
contentTypeInfo = $tw.config.contentTypeInfo[type] || {encoding: "utf8"},
|
41
|
-
filepath = path.resolve(self.commander.outputPath,wiki.filterTiddlers(filenameFilter,$tw.rootWidget,wiki.makeTiddlerIterator([title]))[0]);
|
42
|
-
if(self.commander.verbose) {
|
43
|
-
console.log("Saving \"" + title + "\" to \"" + filepath + "\"");
|
11
|
+
/*jslint node: true, browser: true */
|
12
|
+
/*global $tw: false */
|
13
|
+
"use strict";
|
14
|
+
|
15
|
+
exports.info = {
|
16
|
+
name: "save",
|
17
|
+
synchronous: true
|
18
|
+
};
|
19
|
+
|
20
|
+
var Command = function(params,commander,callback) {
|
21
|
+
this.params = params;
|
22
|
+
this.commander = commander;
|
23
|
+
this.callback = callback;
|
24
|
+
};
|
25
|
+
|
26
|
+
Command.prototype.execute = function() {
|
27
|
+
if(this.params.length < 1) {
|
28
|
+
return "Missing filename filter";
|
44
29
|
}
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
30
|
+
var self = this,
|
31
|
+
fs = require("fs"),
|
32
|
+
path = require("path"),
|
33
|
+
result = null,
|
34
|
+
wiki = this.commander.wiki,
|
35
|
+
tiddlerFilter = this.params[0],
|
36
|
+
filenameFilter = this.params[1] || "[is[tiddler]]",
|
37
|
+
tiddlers = wiki.filterTiddlers(tiddlerFilter);
|
38
|
+
$tw.utils.each(tiddlers,function(title) {
|
39
|
+
if(!result) {
|
40
|
+
var tiddler = self.commander.wiki.getTiddler(title);
|
41
|
+
if(tiddler) {
|
42
|
+
var fileInfo = $tw.utils.generateTiddlerFileInfo(tiddler,{
|
43
|
+
directory: path.resolve(self.commander.outputPath),
|
44
|
+
pathFilters: [filenameFilter],
|
45
|
+
wiki: wiki,
|
46
|
+
fileInfo: {}
|
47
|
+
});
|
48
|
+
if(self.commander.verbose) {
|
49
|
+
console.log("Saving \"" + title + "\" to \"" + fileInfo.filepath + "\"");
|
50
|
+
}
|
51
|
+
try {
|
52
|
+
$tw.utils.saveTiddlerToFileSync(tiddler,fileInfo);
|
53
|
+
} catch (err) {
|
54
|
+
result = "Error saving tiddler \"" + title + "\", to file: \"" + fileInfo.filepath + "\"";
|
55
|
+
}
|
56
|
+
} else {
|
57
|
+
result = "Tiddler '" + title + "' not found";
|
58
|
+
}
|
59
|
+
}
|
60
|
+
});
|
61
|
+
return result;
|
62
|
+
};
|
63
|
+
|
64
|
+
exports.Command = Command;
|
65
|
+
|
66
|
+
})();
|
67
|
+
|
@@ -34,8 +34,10 @@ function FramedEngine(options) {
|
|
34
34
|
this.parentNode.insertBefore(this.iframeNode,this.nextSibling);
|
35
35
|
this.iframeDoc = this.iframeNode.contentWindow.document;
|
36
36
|
// (Firefox requires us to put some empty content in the iframe)
|
37
|
+
var paletteTitle = this.widget.wiki.getTiddlerText("$:/palette");
|
38
|
+
var colorScheme = (this.widget.wiki.getTiddler(paletteTitle) || {fields: {}}).fields["color-scheme"] || "light";
|
37
39
|
this.iframeDoc.open();
|
38
|
-
this.iframeDoc.write("");
|
40
|
+
this.iframeDoc.write("<meta name='color-scheme' content='" + colorScheme + "'>");
|
39
41
|
this.iframeDoc.close();
|
40
42
|
// Style the iframe
|
41
43
|
this.iframeNode.className = this.dummyTextArea.className;
|
@@ -25,8 +25,8 @@ exports["prefix-lines"] = function(event,operation) {
|
|
25
25
|
$tw.utils.each(lines,function(line,index) {
|
26
26
|
// Remove and count any existing prefix characters
|
27
27
|
var count = 0;
|
28
|
-
while(
|
29
|
-
line = line.substring(
|
28
|
+
while($tw.utils.startsWith(line,event.paramObject.character)) {
|
29
|
+
line = line.substring(event.paramObject.character.length);
|
30
30
|
count++;
|
31
31
|
}
|
32
32
|
// Remove any whitespace
|
@@ -15,16 +15,33 @@ Text editor operation to wrap the selected lines with a prefix and suffix
|
|
15
15
|
exports["wrap-lines"] = function(event,operation) {
|
16
16
|
var prefix = event.paramObject.prefix || "",
|
17
17
|
suffix = event.paramObject.suffix || "";
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
18
|
+
if($tw.utils.endsWith(operation.text.substring(0,operation.selStart), prefix + "\n") &&
|
19
|
+
$tw.utils.startsWith(operation.text.substring(operation.selEnd), "\n" + suffix)) {
|
20
|
+
// Selected text is already surrounded by prefix and suffix: Remove them
|
21
|
+
// Cut selected text plus prefix and suffix
|
22
|
+
operation.cutStart = operation.selStart - (prefix.length + 1);
|
23
|
+
operation.cutEnd = operation.selEnd + suffix.length + 1;
|
24
|
+
// Also cut the following newline (if there is any)
|
25
|
+
if (operation.text[operation.cutEnd] === "\n") {
|
26
|
+
operation.cutEnd++;
|
27
|
+
}
|
28
|
+
// Replace with selection
|
29
|
+
operation.replacement = operation.text.substring(operation.selStart,operation.selEnd);
|
30
|
+
// Select text that was in between prefix and suffix
|
31
|
+
operation.newSelStart = operation.cutStart;
|
32
|
+
operation.newSelEnd = operation.selEnd - (prefix.length + 1);
|
33
|
+
} else {
|
34
|
+
// Cut just past the preceding line break, or the start of the text
|
35
|
+
operation.cutStart = $tw.utils.findPrecedingLineBreak(operation.text,operation.selStart);
|
36
|
+
// Cut to just past the following line break, or to the end of the text
|
37
|
+
operation.cutEnd = $tw.utils.findFollowingLineBreak(operation.text,operation.selEnd);
|
38
|
+
// Add the prefix and suffix
|
39
|
+
operation.replacement = prefix + "\n" +
|
40
|
+
operation.text.substring(operation.cutStart,operation.cutEnd) + "\n" +
|
41
|
+
suffix + "\n";
|
42
|
+
operation.newSelStart = operation.cutStart + prefix.length + 1;
|
43
|
+
operation.newSelEnd = operation.newSelStart + (operation.cutEnd - operation.cutStart);
|
44
|
+
}
|
28
45
|
};
|
29
46
|
|
30
47
|
})();
|
@@ -16,7 +16,9 @@ exports.map = function(operationSubFunction,options) {
|
|
16
16
|
return function(results,source,widget) {
|
17
17
|
if(results.length > 0) {
|
18
18
|
var inputTitles = results.toArray(),
|
19
|
-
index = 0
|
19
|
+
index = 0,
|
20
|
+
suffixes = options.suffixes,
|
21
|
+
flatten = (suffixes[0] && suffixes[0][0] === "flat") ? true : false;
|
20
22
|
results.clear();
|
21
23
|
$tw.utils.each(inputTitles,function(title) {
|
22
24
|
var filtered = operationSubFunction(options.wiki.makeTiddlerIterator([title]),{
|
@@ -36,7 +38,13 @@ exports.map = function(operationSubFunction,options) {
|
|
36
38
|
}
|
37
39
|
}
|
38
40
|
});
|
39
|
-
|
41
|
+
if(filtered.length && flatten) {
|
42
|
+
$tw.utils.each(filtered,function(value) {
|
43
|
+
results.push(value);
|
44
|
+
})
|
45
|
+
} else {
|
46
|
+
results.push(filtered[0]||"");
|
47
|
+
}
|
40
48
|
++index;
|
41
49
|
});
|
42
50
|
}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
/*\
|
2
|
+
title: $:/core/modules/filters/insertafter.js
|
3
|
+
type: application/javascript
|
4
|
+
module-type: filteroperator
|
5
|
+
|
6
|
+
Insert an item after another item in a list
|
7
|
+
|
8
|
+
\*/
|
9
|
+
(function(){
|
10
|
+
|
11
|
+
/*jslint node: true, browser: true */
|
12
|
+
/*global $tw: false */
|
13
|
+
"use strict";
|
14
|
+
|
15
|
+
/*
|
16
|
+
Order a list
|
17
|
+
*/
|
18
|
+
exports.insertafter = function(source,operator,options) {
|
19
|
+
var results = [];
|
20
|
+
source(function(tiddler,title) {
|
21
|
+
results.push(title);
|
22
|
+
});
|
23
|
+
var target = operator.operands[1] || (options.widget && options.widget.getVariable(operator.suffix || "currentTiddler"));
|
24
|
+
if(target !== operator.operand) {
|
25
|
+
// Remove the entry from the list if it is present
|
26
|
+
var pos = results.indexOf(operator.operand);
|
27
|
+
if(pos !== -1) {
|
28
|
+
results.splice(pos,1);
|
29
|
+
}
|
30
|
+
// Insert the entry after the target marker
|
31
|
+
pos = results.indexOf(target);
|
32
|
+
if(pos !== -1) {
|
33
|
+
results.splice(pos+1,0,operator.operand);
|
34
|
+
} else {
|
35
|
+
var suffix = operator.operands.length > 1 ? operator.suffix : "";
|
36
|
+
if(suffix === "start") {
|
37
|
+
results.splice(0,0,operator.operand);
|
38
|
+
} else {
|
39
|
+
results.push(operator.operand);
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
return results;
|
44
|
+
};
|
45
|
+
|
46
|
+
})();
|
@@ -32,7 +32,12 @@ exports.insertbefore = function(source,operator,options) {
|
|
32
32
|
if(pos !== -1) {
|
33
33
|
results.splice(pos,0,operator.operand);
|
34
34
|
} else {
|
35
|
-
|
35
|
+
var suffix = operator.operands.length > 1 ? operator.suffix : "";
|
36
|
+
if(suffix == "start") {
|
37
|
+
results.splice(0,0,operator.operand);
|
38
|
+
} else {
|
39
|
+
results.push(operator.operand);
|
40
|
+
}
|
36
41
|
}
|
37
42
|
}
|
38
43
|
return results;
|
package/core/modules/filters.js
CHANGED
@@ -220,10 +220,18 @@ source: an iterator function for the source tiddlers, called source(iterator), w
|
|
220
220
|
widget: an optional widget node for retrieving the current tiddler etc.
|
221
221
|
*/
|
222
222
|
exports.compileFilter = function(filterString) {
|
223
|
+
if(!this.filterCache) {
|
224
|
+
this.filterCache = Object.create(null);
|
225
|
+
this.filterCacheCount = 0;
|
226
|
+
}
|
227
|
+
if(this.filterCache[filterString] !== undefined) {
|
228
|
+
return this.filterCache[filterString];
|
229
|
+
}
|
223
230
|
var filterParseTree;
|
224
231
|
try {
|
225
232
|
filterParseTree = this.parseFilter(filterString);
|
226
233
|
} catch(e) {
|
234
|
+
// We do not cache this result, so it adjusts along with localization changes
|
227
235
|
return function(source,widget) {
|
228
236
|
return [$tw.language.getString("Error/Filter") + ": " + e];
|
229
237
|
};
|
@@ -320,7 +328,7 @@ exports.compileFilter = function(filterString) {
|
|
320
328
|
})());
|
321
329
|
});
|
322
330
|
// Return a function that applies the operations to a source iterator of tiddler titles
|
323
|
-
|
331
|
+
var compiled = $tw.perf.measure("filter: " + filterString,function filterFunction(source,widget) {
|
324
332
|
if(!source) {
|
325
333
|
source = self.each;
|
326
334
|
} else if(typeof source === "object") { // Array or hashmap
|
@@ -335,6 +343,16 @@ exports.compileFilter = function(filterString) {
|
|
335
343
|
});
|
336
344
|
return results.toArray();
|
337
345
|
});
|
346
|
+
if(this.filterCacheCount >= 2000) {
|
347
|
+
// To prevent memory leak, we maintain an upper limit for cache size.
|
348
|
+
// Reset if exceeded. This should give us 95% of the benefit
|
349
|
+
// that no cache limit would give us.
|
350
|
+
this.filterCache = Object.create(null);
|
351
|
+
this.filterCacheCount = 0;
|
352
|
+
}
|
353
|
+
this.filterCache[filterString] = compiled;
|
354
|
+
this.filterCacheCount++;
|
355
|
+
return compiled;
|
338
356
|
};
|
339
357
|
|
340
358
|
})();
|
@@ -80,6 +80,7 @@ PutSaver.prototype.save = function(text,method,callback) {
|
|
80
80
|
if(this.etag) {
|
81
81
|
headers["If-Match"] = this.etag;
|
82
82
|
}
|
83
|
+
$tw.notifier.display("$:/language/Notifications/Save/Starting");
|
83
84
|
$tw.utils.httpRequest({
|
84
85
|
url: this.uri(),
|
85
86
|
type: "PUT",
|
@@ -87,17 +88,20 @@ PutSaver.prototype.save = function(text,method,callback) {
|
|
87
88
|
data: text,
|
88
89
|
callback: function(err,data,xhr) {
|
89
90
|
if(err) {
|
90
|
-
|
91
|
-
|
91
|
+
var status = xhr.status,
|
92
|
+
errorMsg = err;
|
92
93
|
if(status === 412) { // file changed on server
|
93
|
-
|
94
|
+
errorMsg = $tw.language.getString("Error/PutEditConflict");
|
94
95
|
} else if(status === 401) { // authentication required
|
95
|
-
|
96
|
+
errorMsg = $tw.language.getString("Error/PutUnauthorized");
|
96
97
|
} else if(status === 403) { // permission denied
|
97
|
-
|
98
|
-
} else {
|
99
|
-
callback(err); // fail
|
98
|
+
errorMsg = $tw.language.getString("Error/PutForbidden");
|
100
99
|
}
|
100
|
+
if (xhr.responseText) {
|
101
|
+
// treat any server response like a plain text error explanation
|
102
|
+
errorMsg = errorMsg + "\n\n" + xhr.responseText;
|
103
|
+
}
|
104
|
+
callback(errorMsg); // fail
|
101
105
|
} else {
|
102
106
|
self.etag = xhr.getResponseHeader("ETag");
|
103
107
|
if(self.etag == null) {
|
@@ -64,6 +64,7 @@ UploadSaver.prototype.save = function(text,method,callback) {
|
|
64
64
|
var tail = "\r\n--" + boundary + "--\r\n",
|
65
65
|
data = head.join("\r\n") + text + tail;
|
66
66
|
// Do the HTTP post
|
67
|
+
$tw.notifier.display("$:/language/Notifications/Save/Starting");
|
67
68
|
var http = new XMLHttpRequest();
|
68
69
|
http.open("POST",url,true,username,password);
|
69
70
|
http.setRequestHeader("Content-Type","multipart/form-data; charset=UTF-8; boundary=" + boundary);
|
@@ -81,7 +82,6 @@ UploadSaver.prototype.save = function(text,method,callback) {
|
|
81
82
|
} catch(ex) {
|
82
83
|
return callback($tw.language.getString("Error/Caption") + ":" + ex);
|
83
84
|
}
|
84
|
-
$tw.notifier.display("$:/language/Notifications/Save/Starting");
|
85
85
|
return true;
|
86
86
|
};
|
87
87
|
|
@@ -359,8 +359,9 @@ Server.prototype.listen = function(port,host,prefix) {
|
|
359
359
|
}
|
360
360
|
// Display the port number after we've started listening (the port number might have been specified as zero, in which case we will get an assigned port)
|
361
361
|
server.on("listening",function() {
|
362
|
-
var address = server.address()
|
363
|
-
|
362
|
+
var address = server.address(),
|
363
|
+
url = self.protocol + "://" + (address.family === "IPv6" ? "[" + address.address + "]" : address.address) + ":" + address.port + prefix;
|
364
|
+
$tw.utils.log("Serving on " + url,"brown/orange");
|
364
365
|
$tw.utils.log("(press ctrl-C to exit)","red");
|
365
366
|
});
|
366
367
|
// Listen
|
@@ -62,12 +62,14 @@ function loadIFrame(url,callback) {
|
|
62
62
|
Unload library iframe for given url
|
63
63
|
*/
|
64
64
|
function unloadIFrame(url){
|
65
|
-
|
65
|
+
var iframes = document.getElementsByTagName('iframe');
|
66
|
+
for(var t=iframes.length-1; t--; t>=0) {
|
67
|
+
var iframe = iframes[t];
|
66
68
|
if(iframe.getAttribute("library") === "true" &&
|
67
69
|
iframe.getAttribute("src") === url) {
|
68
70
|
iframe.parentNode.removeChild(iframe);
|
69
71
|
}
|
70
|
-
}
|
72
|
+
}
|
71
73
|
}
|
72
74
|
|
73
75
|
function saveIFrameInfoTiddler(iframeInfo) {
|