tiddlywiki 5.3.1 → 5.3.2
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/workflows/ci.yml +9 -2
- package/bin/build-site.sh +25 -5
- package/bin/ci-test.sh +16 -0
- package/boot/boot.js +12 -0
- package/core/language/en-GB/Exporters.multids +1 -1
- package/core/language/en-GB/Help/commands.tid +1 -1
- package/core/language/en-GB/Help/savewikifolder.tid +2 -2
- package/core/language/en-GB/Help/server.tid +1 -1
- package/core/language/en-GB/Types/image_svg_xml.tid +1 -1
- package/core/language/en-GB/Types/image_x-icon.tid +1 -1
- package/core/modules/commands/savetiddlers.js +1 -1
- package/core/modules/editor/engines/framed.js +1 -1
- package/core/modules/editor/engines/simple.js +1 -1
- package/core/modules/filters/all.js +5 -5
- package/core/modules/filters/encodings.js +6 -2
- package/core/modules/filters/json-ops.js +95 -1
- package/core/modules/filters/listops.js +1 -0
- package/core/modules/parsers/textparser.js +5 -4
- package/core/modules/parsers/wikiparser/rules/conditional.js +120 -0
- package/core/modules/parsers/wikiparser/wikiparser.js +31 -8
- package/core/modules/savers/github.js +1 -1
- package/core/modules/startup/windows.js +2 -1
- package/core/modules/syncer.js +160 -122
- package/core/modules/utils/dom/dom.js +3 -3
- package/core/modules/utils/dom/http.js +1 -1
- package/core/modules/utils/fakedom.js +5 -1
- package/core/modules/utils/utils.js +27 -4
- package/core/modules/widgets/browse.js +10 -0
- package/core/modules/widgets/button.js +15 -3
- package/core/modules/widgets/checkbox.js +11 -0
- package/core/modules/widgets/draggable.js +16 -5
- package/core/modules/widgets/droppable.js +14 -2
- package/core/modules/widgets/image.js +19 -14
- package/core/modules/widgets/link.js +12 -2
- package/core/modules/widgets/list.js +176 -19
- package/core/modules/widgets/radio.js +4 -0
- package/core/modules/widgets/range.js +4 -0
- package/core/modules/widgets/scrollable.js +66 -1
- package/core/modules/widgets/select.js +34 -26
- package/core/modules/widgets/transclude.js +19 -6
- package/core/modules/widgets/widget.js +35 -19
- package/core/modules/wiki.js +2 -2
- package/core/templates/html-json-skinny-tiddler.tid +0 -1
- package/core/templates/html-json-tiddler.tid +1 -1
- package/core/templates/store.area.template.html.tid +4 -4
- package/core/ui/ControlPanel/Basics.tid +2 -2
- package/core/ui/EditTemplate/body/default.tid +12 -8
- package/core/ui/EditTemplate/fields.tid +2 -2
- package/core/ui/EditTemplate/type.tid +1 -1
- package/core/ui/EditorToolbar/preview.tid +6 -0
- package/core/ui/PageTemplate.tid +1 -1
- package/core/ui/ViewTemplate/subtitle.tid +2 -5
- package/core/wiki/config/OfficialPluginLibrary.tid +1 -1
- package/core/wiki/macros/colour-picker.tid +6 -6
- package/core/wiki/macros/image-picker.tid +5 -5
- package/core/wiki/macros/list.tid +95 -78
- package/core/wiki/macros/tabs.tid +9 -1
- package/core/wiki/macros/tag-picker.tid +2 -2
- package/core/wiki/macros/tag.tid +2 -1
- package/core/wiki/macros/toc.tid +2 -2
- package/editions/de-AT/tiddlers/HelloThere.tid +2 -2
- package/editions/de-AT/tiddlers/community/Fur_Entwickler.tid +1 -1
- package/editions/de-AT-server/tiddlers/system/favicon.png +0 -0
- package/editions/{es-ES-server/tiddlers/system/favicon.ico.meta → de-AT-server/tiddlers/system/favicon.png.meta} +1 -1
- package/editions/dev/tiddlers/images/favicon.png +0 -0
- package/editions/{de-AT-server/tiddlers/system/favicon.ico.meta → dev/tiddlers/images/favicon.png.meta} +1 -1
- package/editions/dev/tiddlers/new/HookMechanism.tid +28 -3
- package/editions/empty/tiddlywiki.info +5 -2
- package/editions/es-ES/tiddlers/Forums.tid +4 -5
- package/editions/es-ES/tiddlers/HelloThere.tid +2 -2
- package/editions/es-ES/tiddlers/Typography.tid +1 -1
- package/editions/es-ES/tiddlers/images/favicon.png +0 -0
- package/editions/{dev/tiddlers/images/favicon.ico.meta → es-ES/tiddlers/images/favicon.png.meta} +1 -1
- package/editions/es-ES/tiddlers/images/green_favicon.png +0 -0
- package/editions/es-ES/tiddlers/images/{green_favicon.ico.meta → green_favicon.png.meta} +1 -1
- package/editions/es-ES-server/tiddlers/system/favicon.png +0 -0
- package/editions/{es-ES/tiddlers/images/favicon.ico.meta → es-ES-server/tiddlers/system/favicon.png.meta} +1 -1
- package/editions/fr-FR/tiddlers/images/favicon.png +0 -0
- package/editions/fr-FR/tiddlers/images/favicon.png.meta +2 -0
- package/editions/fr-FR/tiddlers/images/green_favicon.png +0 -0
- package/editions/fr-FR/tiddlers/images/{green_favicon.ico.meta → green_favicon.png.meta} +1 -1
- package/editions/fr-FR-server/tiddlers/system/favicon.png +0 -0
- package/editions/fr-FR-server/tiddlers/system/favicon.png.meta +2 -0
- package/editions/highlightdemo/tiddlywiki.info +1 -1
- package/editions/ja-JP/tiddlers/images/favicon.png +0 -0
- package/editions/ja-JP/tiddlers/images/favicon.png.meta +2 -0
- package/editions/ja-JP/tiddlers/images/green_favicon.png +0 -0
- package/editions/ja-JP/tiddlers/images/{green_favicon.ico.meta → green_favicon.png.meta} +1 -1
- package/editions/katexdemo/tiddlywiki.info +1 -1
- package/editions/ko-KR/tiddlers/images/favicon.png +0 -0
- package/editions/ko-KR/tiddlers/images/favicon.png.meta +2 -0
- package/editions/ko-KR/tiddlers/images/green_favicon.png +0 -0
- package/editions/ko-KR/tiddlers/images/{green_favicon.ico.meta → green_favicon.png.meta} +1 -1
- package/editions/ko-KR-server/tiddlers/system/favicon.png +0 -0
- package/editions/ko-KR-server/tiddlers/system/favicon.png.meta +2 -0
- package/editions/pluginlibrary/tiddlywiki.info +2 -2
- package/editions/prerelease/tiddlers/{Release 5.3.2.tid → Release 5.3.3.tid } +23 -25
- package/editions/prerelease/tiddlers/system/PrereleaseLocalPluginLibrary.tid +1 -1
- package/editions/prerelease/tiddlers/system/PrereleaseOfficialPluginLibrary.tid +1 -1
- package/editions/prerelease/tiddlers/system/favicon.png +0 -0
- package/editions/prerelease/tiddlers/system/favicon.png.meta +2 -0
- package/editions/prerelease/tiddlers/system/temp-my-scroll-position.tid +3 -0
- package/editions/resumebuilder/tiddlywiki.info +1 -1
- package/editions/server/tiddlywiki.info +1 -1
- package/editions/server-external-js/tiddlywiki.info +1 -1
- package/editions/test/playwright.spec.js +25 -0
- package/editions/test/tiddlers/tests/data/conditionals/Basic.tid +26 -0
- package/editions/test/tiddlers/tests/data/conditionals/BlockMode.tid +37 -0
- package/editions/test/tiddlers/tests/data/conditionals/Else.tid +26 -0
- package/editions/test/tiddlers/tests/data/conditionals/Elseif.tid +32 -0
- package/editions/test/tiddlers/tests/data/conditionals/MissingEndIf.tid +26 -0
- package/editions/test/tiddlers/tests/data/conditionals/MultipleResults.tid +12 -0
- package/editions/test/tiddlers/tests/data/conditionals/Nested.tid +38 -0
- package/editions/test/tiddlers/tests/data/conditionals/NestedElseif.tid +60 -0
- package/editions/test/tiddlers/tests/data/list-widget/WithExplicitTemplates.tid +29 -0
- package/editions/test/tiddlers/tests/data/list-widget/WithExplicitTemplatesInBlockMode.tid +32 -0
- package/editions/test/tiddlers/tests/data/list-widget/WithExplicitTemplatesOverriddenByAttributes.tid +33 -0
- package/editions/test/tiddlers/tests/data/list-widget/WithJoinTemplate.tid +30 -0
- package/editions/test/tiddlers/tests/data/list-widget/WithJoinTemplateInBlockMode.tid +32 -0
- package/editions/test/tiddlers/tests/data/list-widget/WithLimit.tid +25 -0
- package/editions/test/tiddlers/tests/data/list-widget/WithMissingTemplate.tid +26 -0
- package/editions/test/tiddlers/tests/data/transclude/CustomWidget-CodeblockOverride-TextParser.tid +20 -0
- package/editions/test/tiddlers/tests/data/transclude/Variable-Refreshing.tid +27 -0
- package/editions/test/tiddlers/tests/data/transclude/Variable-Static.tid +15 -0
- package/editions/test/tiddlers/tests/data/widgets/DataAttributes/ButtonWidget-DataAttributes.tid +27 -0
- package/editions/test/tiddlers/tests/data/widgets/DataAttributes/CheckboxWidget-DataAttributes.tid +22 -0
- package/editions/test/tiddlers/tests/data/widgets/DataAttributes/DraggableWidget-DataAttributes.tid +27 -0
- package/editions/test/tiddlers/tests/data/widgets/DataAttributes/DroppableWidget-DataAttributes.tid +27 -0
- package/editions/test/tiddlers/tests/data/widgets/DataAttributes/LinkWidget-DataAttributes.tid +27 -0
- package/editions/test/tiddlers/tests/data/widgets/DataAttributes/OrderedStyleAttributes.tid +15 -0
- package/editions/test/tiddlers/tests/data/widgets/DataAttributes/SelectWidget-DataAttributes.tid +27 -0
- package/editions/test/tiddlers/tests/data/widgets/ElementWidgetEventAttributes.tid +15 -0
- package/editions/test/tiddlers/tests/data/widgets/ElementWidgetStyleAttributes.tid +15 -0
- package/editions/test/tiddlers/tests/test-filters.js +1 -0
- package/editions/test/tiddlers/tests/test-json-filters.js +40 -0
- package/editions/test/tiddlers/tests/test-utils.js +23 -0
- package/editions/test/tiddlers/tests/test-widget.js +62 -0
- package/editions/tw.org/tiddlers/$__favicon.ico.png +0 -0
- package/editions/tw.org/tiddlywiki.info +1 -1
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/classic.tiddlywiki.com.png +0 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/{classic.tiddlywiki.com.ico.meta → classic.tiddlywiki.com.png.meta} +1 -1
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/links.tiddlywiki.org.png +0 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/{links.tiddlywiki.org.ico.meta → links.tiddlywiki.org.png.meta} +1 -1
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.dev.png +0 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/{tiddlywiki.com.dev.ico.meta → tiddlywiki.com.dev.png.meta} +1 -1
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.png +0 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/{tiddlywiki.com.ico.meta → tiddlywiki.com.png.meta} +1 -1
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.prerelease.png +0 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/{tiddlywiki.com.prerelease.ico.meta → tiddlywiki.com.prerelease.png.meta} +1 -1
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.upgrade.png +0 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/{tiddlywiki.com.upgrade.ico.meta → tiddlywiki.com.upgrade.png.meta} +1 -1
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.org.png +0 -0
- package/editions/tw5.com/tiddlers/about/Archive.tid +82 -0
- package/editions/tw5.com/tiddlers/community/Chinese Community.tid +20 -0
- package/editions/tw5.com/tiddlers/community/editions/Tidme by oflg.tid +16 -0
- package/editions/tw5.com/tiddlers/community/plugins/FSRS4TW by oflg.tid +10 -0
- package/editions/tw5.com/tiddlers/community/resources/_Timimi_ Extension and executable by Riz.tid +3 -1
- package/editions/tw5.com/tiddlers/concepts/Macros.tid +7 -3
- package/editions/tw5.com/tiddlers/concepts/Title List.tid +5 -1
- package/editions/tw5.com/tiddlers/filters/decodebase64 Operator.tid +6 -1
- package/editions/tw5.com/tiddlers/filters/encodebase64 Operator.tid +6 -1
- package/editions/tw5.com/tiddlers/filters/examples/jsonset.tid +59 -0
- package/editions/tw5.com/tiddlers/filters/examples/jsonstringify Operator (Examples).tid +7 -5
- package/editions/tw5.com/tiddlers/filters/examples/stringify_Operator_(Examples).tid +5 -3
- package/editions/tw5.com/tiddlers/filters/jsonextract.tid +8 -0
- package/editions/tw5.com/tiddlers/filters/jsonget.tid +8 -0
- package/editions/tw5.com/tiddlers/filters/jsonset.tid +64 -0
- package/editions/tw5.com/tiddlers/filters/jsonstringify Operator.tid +14 -15
- package/editions/tw5.com/tiddlers/filters/jsontype.tid +8 -0
- package/editions/tw5.com/tiddlers/filters/stringify_Operator.tid +12 -15
- package/editions/tw5.com/tiddlers/filters/syntax/Filter Expression.tid +1 -1
- package/editions/tw5.com/tiddlers/hellothere/HelloThere.tid +6 -1
- package/editions/tw5.com/tiddlers/howtos/Constructing JSON tiddlers.tid +3 -3
- package/editions/tw5.com/tiddlers/images/Favicon template.svg +296 -0
- package/editions/tw5.com/tiddlers/images/Favicon template.svg.meta +3 -0
- package/editions/tw5.com/tiddlers/images/New Release Banner.png +0 -0
- package/editions/tw5.com/tiddlers/images/favicon.png +0 -0
- package/editions/tw5.com/tiddlers/images/favicon.png.meta +2 -0
- package/editions/tw5.com/tiddlers/images/green_favicon.png +0 -0
- package/editions/tw5.com/tiddlers/images/green_favicon.png.meta +2 -0
- package/editions/tw5.com/tiddlers/macros/CoreMacros.tid +1 -1
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-open-window.tid +12 -5
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-permalink.tid +1 -1
- package/editions/tw5.com/tiddlers/pragmas/Pragma_ _whitespace.tid +7 -3
- package/editions/tw5.com/tiddlers/procedures/Procedure Definitions.tid +3 -1
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.0.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.1.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.10.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.11.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.12.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.13.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.14.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.15.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.16.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.17.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.18.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.19.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.2.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.20.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.21.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.22.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.23.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.3.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.4.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.5.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.6.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.7.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.8.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.9.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.0.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.1.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.2.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.3.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.4.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.5.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.6.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.7.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.3.0.tid +1 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.3.1.tid +8 -1
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.3.2.tid +184 -0
- package/editions/tw5.com/tiddlers/releasenotes/Releases.tid +3 -1
- package/editions/tw5.com/tiddlers/system/tw5.com-styles.tid +5 -0
- package/editions/tw5.com/tiddlers/widgets/BrowseWidget.tid +3 -1
- package/editions/tw5.com/tiddlers/widgets/ButtonWidget.tid +3 -1
- package/editions/tw5.com/tiddlers/widgets/CheckboxWidget.tid +3 -1
- package/editions/tw5.com/tiddlers/widgets/Custom Widgets.tid +3 -1
- package/editions/tw5.com/tiddlers/widgets/DraggableWidget.tid +3 -2
- package/editions/tw5.com/tiddlers/widgets/DroppableWidget.tid +3 -1
- package/editions/tw5.com/tiddlers/widgets/GenesisWidget.tid +1 -1
- package/editions/tw5.com/tiddlers/widgets/ImageWidget.tid +2 -1
- package/editions/tw5.com/tiddlers/widgets/LinkWidget.tid +3 -1
- package/editions/tw5.com/tiddlers/widgets/ListWidget.tid +25 -2
- package/editions/tw5.com/tiddlers/widgets/RadioWidget.tid +3 -1
- package/editions/tw5.com/tiddlers/widgets/RangeWidget.tid +3 -1
- package/editions/tw5.com/tiddlers/widgets/ScrollableWidget.tid +27 -2
- package/editions/tw5.com/tiddlers/widgets/SelectWidget.tid +4 -1
- package/editions/tw5.com/tiddlers/widgets/SetWidget.tid +17 -1
- package/editions/tw5.com/tiddlers/widgets/TranscludeWidget.tid +2 -2
- package/editions/tw5.com/tiddlers/wikitext/Conditional Shortcut Syntax.tid +62 -0
- package/editions/tw5.com/tiddlers/wikitext/Transclusion and Substitution.tid +3 -3
- package/editions/tw5.com/tiddlywiki.info +9 -3
- package/editions/tw5.com-server/tiddlers/system/tiddlywiki.com.server.png +0 -0
- package/editions/tw5.com-server/tiddlers/system/tiddlywiki.com.server.png.meta +2 -0
- package/editions/zh-Hans/tiddlers/images/favicon.png +0 -0
- package/editions/zh-Hans/tiddlers/images/favicon.png.meta +2 -0
- package/editions/zh-Hans/tiddlers/images/green_favicon.png +0 -0
- package/editions/zh-Hans/tiddlers/images/green_favicon.png.meta +2 -0
- package/editions/zh-Hant/tiddlers/images/favicon.png +0 -0
- package/editions/zh-Hant/tiddlers/images/favicon.png.meta +2 -0
- package/editions/zh-Hant/tiddlers/images/green_favicon.png +0 -0
- package/editions/zh-Hant/tiddlers/images/green_favicon.png.meta +2 -0
- package/languages/de-DE/Exporters.multids +1 -1
- package/languages/de-DE/Help/commands.tid +2 -2
- package/languages/de-DE/Help/server.tid +1 -1
- package/languages/de-DE/Types/image_x-icon.tid +1 -1
- package/languages/es-ES/Buttons.multids +2 -0
- package/languages/es-ES/Fields.multids +4 -0
- package/languages/es-ES/Help/listen.tid +1 -1
- package/languages/es-ES/Help/savewikifolder.tid +16 -1
- package/languages/es-ES/Help/server.tid +1 -1
- package/languages/es-ES/Misc.multids +3 -0
- package/languages/es-ES/SiteTitle.tid +1 -1
- package/languages/pl-PL/Exporters.multids +1 -1
- package/languages/pl-PL/Help/commands.tid +1 -1
- package/languages/pl-PL/Help/savewikifolder.tid +3 -1
- package/languages/pl-PL/Help/server.tid +1 -1
- package/languages/zh-Hans/Exporters.multids +1 -1
- package/languages/zh-Hans/Help/commands.tid +1 -1
- package/languages/zh-Hans/Help/server.tid +1 -1
- package/languages/zh-Hans/Types/image_svg_xml.tid +1 -1
- package/languages/zh-Hans/Types/image_x-icon.tid +1 -1
- package/languages/zh-Hant/Exporters.multids +1 -1
- package/languages/zh-Hant/Help/commands.tid +1 -1
- package/languages/zh-Hant/Help/server.tid +1 -1
- package/languages/zh-Hant/Types/image_svg_xml.tid +1 -1
- package/languages/zh-Hant/Types/image_x-icon.tid +1 -1
- package/licenses/cla-individual.md +10 -0
- package/package.json +4 -1
- package/playwright.config.js +46 -0
- package/plugins/tiddlywiki/codemirror/styles.tid +5 -0
- package/plugins/tiddlywiki/comments/styles.tid +8 -8
- package/plugins/tiddlywiki/dynannotate/docs/readme.tid +1 -0
- package/plugins/tiddlywiki/dynannotate/modules/dynannotate.js +28 -27
- package/plugins/tiddlywiki/evernote/modules/enex-deserializer.js +82 -23
- package/plugins/tiddlywiki/evernote/readme.tid +1 -0
- package/plugins/tiddlywiki/evernote/samples/sample-enex-with-image.xml.enex +2 -2
- package/plugins/tiddlywiki/jasmine/run-wiki-based-tests.js +1 -1
- package/plugins/tiddlywiki/qrcode/barcodereader.js +90 -0
- package/plugins/tiddlywiki/qrcode/docs/barcodereader.tid +44 -0
- package/plugins/tiddlywiki/qrcode/{doc/usage.tid → docs/makeqr.tid} +4 -4
- package/plugins/tiddlywiki/qrcode/docs.tid +3 -0
- package/plugins/tiddlywiki/qrcode/{MakeContactQR.tid → examples/make/MakeContactQR.tid} +1 -1
- package/plugins/tiddlywiki/qrcode/{MakeGenericQR.tid → examples/make/MakeGenericQR.tid} +1 -1
- package/plugins/tiddlywiki/qrcode/{MakeWifiQR.tid → examples/make/MakeWifiQR.tid} +1 -1
- package/plugins/tiddlywiki/qrcode/examples/make/make.tid +5 -0
- package/plugins/tiddlywiki/qrcode/examples/read/BarCodeReader.tid +17 -0
- package/plugins/tiddlywiki/qrcode/examples/read/read.tid +5 -0
- package/plugins/tiddlywiki/qrcode/examples.tid +3 -0
- package/plugins/tiddlywiki/qrcode/files/html5-qrcode/LICENSE +201 -0
- package/plugins/tiddlywiki/qrcode/files/html5-qrcode/README.md +398 -0
- package/plugins/tiddlywiki/qrcode/files/html5-qrcode/html5-qrcode.min.js +1 -0
- package/plugins/tiddlywiki/qrcode/files/tiddlywiki.files +20 -4
- package/plugins/tiddlywiki/qrcode/makeqr.js +1 -1
- package/plugins/tiddlywiki/qrcode/plugin.info +1 -1
- package/plugins/tiddlywiki/qrcode/readme.tid +15 -0
- package/plugins/tiddlywiki/tiddlyweb/html-json-skinny-tiddler.tid +0 -1
- package/plugins/tiddlywiki/tiddlyweb/html-json-tiddler.tid +1 -2
- package/plugins/tiddlywiki/upgrade/UpgradeWizard.tid +2 -2
- package/plugins/tiddlywiki/upgrade/favicon.png +0 -0
- package/plugins/tiddlywiki/upgrade/favicon.png.meta +2 -0
- package/readme.md +1 -1
- package/themes/tiddlywiki/vanilla/base.tid +37 -7
- package/themes/tiddlywiki/vanilla/settings.multids +1 -1
- package/editions/de-AT-server/tiddlers/system/favicon.ico +0 -0
- package/editions/dev/tiddlers/images/favicon.ico +0 -0
- package/editions/es-ES/tiddlers/images/favicon.ico +0 -0
- package/editions/es-ES/tiddlers/images/green_favicon.ico +0 -0
- package/editions/es-ES-server/tiddlers/system/favicon.ico +0 -0
- package/editions/fr-FR/tiddlers/images/favicon.ico +0 -0
- package/editions/fr-FR/tiddlers/images/favicon.ico.meta +0 -2
- package/editions/fr-FR/tiddlers/images/green_favicon.ico +0 -0
- package/editions/fr-FR-server/tiddlers/system/favicon.ico +0 -0
- package/editions/fr-FR-server/tiddlers/system/favicon.ico.meta +0 -2
- package/editions/ja-JP/tiddlers/images/favicon.ico +0 -0
- package/editions/ja-JP/tiddlers/images/favicon.ico.meta +0 -2
- package/editions/ja-JP/tiddlers/images/green_favicon.ico +0 -0
- package/editions/ko-KR/tiddlers/images/favicon.ico +0 -0
- package/editions/ko-KR/tiddlers/images/favicon.ico.meta +0 -2
- package/editions/ko-KR/tiddlers/images/green_favicon.ico +0 -0
- package/editions/ko-KR-server/tiddlers/system/favicon.ico +0 -0
- package/editions/ko-KR-server/tiddlers/system/favicon.ico.meta +0 -2
- package/editions/prerelease/tiddlers/system/favicon.ico +0 -0
- package/editions/prerelease/tiddlers/system/favicon.ico.meta +0 -2
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/classic.tiddlywiki.com.ico +0 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/links.tiddlywiki.org.ico +0 -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.ico +0 -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.upgrade.ico +0 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.org.ico +0 -0
- package/editions/tw5.com/tiddlers/community/editions/TiddlyMemo by oflg.tid +0 -16
- package/editions/tw5.com/tiddlers/community/tutorials/Install and run TiddlyWiki on a CentOS 6 VPS using Nginx.tid +0 -16
- package/editions/tw5.com/tiddlers/images/favicon.ico +0 -0
- package/editions/tw5.com/tiddlers/images/favicon.ico.meta +0 -2
- package/editions/tw5.com/tiddlers/images/green_favicon.ico +0 -0
- package/editions/tw5.com/tiddlers/images/green_favicon.ico.meta +0 -2
- package/editions/tw5.com-server/tiddlers/system/favicon.ico +0 -0
- package/editions/tw5.com-server/tiddlers/system/favicon.ico.meta +0 -2
- package/editions/zh-Hans/tiddlers/images/favicon.ico +0 -0
- package/editions/zh-Hans/tiddlers/images/favicon.ico.meta +0 -2
- package/editions/zh-Hans/tiddlers/images/green_favicon.ico +0 -0
- package/editions/zh-Hans/tiddlers/images/green_favicon.ico.meta +0 -2
- package/editions/zh-Hant/tiddlers/images/favicon.ico +0 -0
- package/editions/zh-Hant/tiddlers/images/favicon.ico.meta +0 -2
- package/editions/zh-Hant/tiddlers/images/green_favicon.ico +0 -0
- package/editions/zh-Hant/tiddlers/images/green_favicon.ico.meta +0 -2
- package/plugins/tiddlywiki/qrcode/doc/examples.tid +0 -3
- package/plugins/tiddlywiki/qrcode/doc/readme.tid +0 -13
- package/plugins/tiddlywiki/upgrade/favicon.ico +0 -0
- package/plugins/tiddlywiki/upgrade/favicon.ico.meta +0 -2
- /package/editions/tw5.com/tiddlers/_tw_shared/favicons/{tiddlywiki.org.ico.meta → tiddlywiki.org.png.meta} +0 -0
- /package/plugins/tiddlywiki/qrcode/files/{LICENSE → qrcode/LICENSE} +0 -0
- /package/plugins/tiddlywiki/qrcode/files/{README.md → qrcode/README.md} +0 -0
- /package/plugins/tiddlywiki/qrcode/files/{qrcode.js → qrcode/qrcode.js} +0 -0
@@ -1,22 +1,31 @@
|
|
1
|
-
caption: 5.3.
|
2
|
-
created:
|
3
|
-
modified:
|
1
|
+
caption: 5.3.3
|
2
|
+
created: 20231213080754563
|
3
|
+
modified: 20231213080754563
|
4
4
|
tags: ReleaseNotes
|
5
|
-
title: Release 5.3.
|
5
|
+
title: Release 5.3.3
|
6
6
|
type: text/vnd.tiddlywiki
|
7
|
+
description: Under development
|
7
8
|
|
8
|
-
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.3.
|
9
|
+
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.3.2...master]]//
|
9
10
|
|
10
|
-
! Translation
|
11
|
+
! Translation improvements
|
11
12
|
|
12
13
|
Improvements to the following translations:
|
13
14
|
|
14
15
|
*
|
15
16
|
|
17
|
+
! Plugin Improvements
|
18
|
+
|
19
|
+
*
|
20
|
+
|
16
21
|
! Widget Improvements
|
17
22
|
|
18
23
|
*
|
19
24
|
|
25
|
+
! Usability Improvements
|
26
|
+
|
27
|
+
*
|
28
|
+
|
20
29
|
! Hackability Improvements
|
21
30
|
|
22
31
|
*
|
@@ -29,32 +38,21 @@ Improvements to the following translations:
|
|
29
38
|
|
30
39
|
*
|
31
40
|
|
41
|
+
! Performance Improvements
|
42
|
+
|
43
|
+
*
|
44
|
+
|
32
45
|
! Developer Improvements
|
33
46
|
|
34
47
|
*
|
35
48
|
|
49
|
+
! Infrastructure Improvements
|
50
|
+
|
51
|
+
*
|
52
|
+
|
36
53
|
! Acknowledgements
|
37
54
|
|
38
55
|
[[@Jermolene|https://github.com/Jermolene]] would like to thank the contributors to this release who have generously given their time to help improve TiddlyWiki:
|
39
56
|
|
40
57
|
<<.contributors """
|
41
|
-
AnthonyMuscio
|
42
|
-
btheado
|
43
|
-
catter-fly
|
44
|
-
cmo-pomerium
|
45
|
-
CrossEye
|
46
|
-
flibbles
|
47
|
-
hffqyd
|
48
|
-
lilscribby
|
49
|
-
linonetwo
|
50
|
-
Marxsal
|
51
|
-
mateuszwilczek
|
52
|
-
pille1842
|
53
|
-
pmario
|
54
|
-
rmunn
|
55
|
-
saqimtiaz
|
56
|
-
stevesunypoly
|
57
|
-
TiddlyTweeter
|
58
|
-
twMat
|
59
|
-
yaisog
|
60
58
|
""">>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
title: $:/config/LocalPluginLibrary
|
2
2
|
tags: $:/tags/PluginLibrary
|
3
|
-
url: http://127.0.0.1:8080/prerelease/library/v5.3.
|
3
|
+
url: http://127.0.0.1:8080/prerelease/library/v5.3.2/index.html
|
4
4
|
caption: {{$:/language/OfficialPluginLibrary}} (Prerelease Local)
|
5
5
|
|
6
6
|
A locally installed version of the official ~TiddlyWiki plugin library at tiddlywiki.com for testing and debugging. //Requires a local web server to share the library//
|
@@ -1,6 +1,6 @@
|
|
1
1
|
title: $:/config/OfficialPluginLibrary
|
2
2
|
tags: $:/tags/PluginLibrary
|
3
|
-
url: https://tiddlywiki.com/prerelease/library/v5.3.
|
3
|
+
url: https://tiddlywiki.com/prerelease/library/v5.3.2/index.html
|
4
4
|
caption: {{$:/language/OfficialPluginLibrary}} (Prerelease)
|
5
5
|
|
6
6
|
The prerelease version of the official ~TiddlyWiki plugin library at tiddlywiki.com. Plugins, themes and language packs are maintained by the core team.
|
Binary file
|
@@ -15,7 +15,7 @@
|
|
15
15
|
"static": [
|
16
16
|
"--render","$:/core/templates/static.template.html","static.html","text/plain",
|
17
17
|
"--render","$:/core/templates/alltiddlers.template.html","alltiddlers.html","text/plain",
|
18
|
-
"--render","[!is[system]]","[encodeuricomponent[]addprefix[static/]addsuffix[.html]]","text/plain",
|
18
|
+
"--render","[!is[system]]","[encodeuricomponent[]addprefix[static/]addsuffix[.html]]","text/plain","$:/core/templates/static.tiddler.html",
|
19
19
|
"--render","$:/core/templates/static.template.css","static/static.css","text/plain"]
|
20
20
|
}
|
21
21
|
}
|
@@ -17,7 +17,7 @@
|
|
17
17
|
"static": [
|
18
18
|
"--render","$:/core/templates/static.template.html","static.html","text/plain",
|
19
19
|
"--render","$:/core/templates/alltiddlers.template.html","alltiddlers.html","text/plain",
|
20
|
-
"--render","[!is[system]]","[encodeuricomponent[]addprefix[static/]addsuffix[.html]]","text/plain",
|
20
|
+
"--render","[!is[system]]","[encodeuricomponent[]addprefix[static/]addsuffix[.html]]","text/plain","$:/core/templates/static.tiddler.html",
|
21
21
|
"--render","$:/core/templates/static.template.css","static/static.css","text/plain"],
|
22
22
|
"tiddlywikicore": [
|
23
23
|
"--render","$:/core/templates/tiddlywiki5.js","[[tiddlywikicore-]addsuffix<version>addsuffix[.js]]","text/plain"]
|
@@ -0,0 +1,25 @@
|
|
1
|
+
const { test, expect } = require('@playwright/test');
|
2
|
+
const {resolve} = require('path');
|
3
|
+
|
4
|
+
const indexPath = resolve(__dirname, 'output', 'test.html');
|
5
|
+
const crossPlatformIndexPath = indexPath.replace(/^\/+/, '');
|
6
|
+
|
7
|
+
|
8
|
+
test('get started link', async ({ page }) => {
|
9
|
+
// The tests can take a while to run
|
10
|
+
const timeout = 1000 * 30;
|
11
|
+
test.setTimeout(timeout);
|
12
|
+
|
13
|
+
// Load the generated test TW html
|
14
|
+
await page.goto(`file:///${crossPlatformIndexPath}`);
|
15
|
+
|
16
|
+
// Sanity check
|
17
|
+
await expect(page.locator('.tc-site-title'), "Expected correct page title to verify the test page was loaded").toHaveText('TiddlyWiki5');
|
18
|
+
|
19
|
+
// Wait for jasmine results bar to appear
|
20
|
+
await expect(page.locator('.jasmine-overall-result'), "Expected jasmine test results bar to be present").toBeVisible({timeout});
|
21
|
+
|
22
|
+
// Assert the tests have passed
|
23
|
+
await expect(page.locator('.jasmine-overall-result.jasmine-failed'), "Expected jasmine tests to not have failed").not.toBeVisible();
|
24
|
+
await expect(page.locator('.jasmine-overall-result.jasmine-passed'), "Expected jasmine tests to have passed").toBeVisible();
|
25
|
+
});
|
@@ -0,0 +1,26 @@
|
|
1
|
+
title: Conditionals/Basic
|
2
|
+
description: Basic conditional shortcut syntax
|
3
|
+
type: text/vnd.tiddlywiki-multiple
|
4
|
+
tags: [[$:/tags/wiki-test-spec]]
|
5
|
+
|
6
|
+
title: Text
|
7
|
+
|
8
|
+
This is a <% if [<something>match[one]] %>Elephant<% endif %>, I think.
|
9
|
+
+
|
10
|
+
title: Output
|
11
|
+
|
12
|
+
<$let something="one">
|
13
|
+
{{Text}}
|
14
|
+
</$let>
|
15
|
+
|
16
|
+
<$let something="two">
|
17
|
+
{{Text}}
|
18
|
+
</$let>
|
19
|
+
+
|
20
|
+
title: ExpectedResult
|
21
|
+
|
22
|
+
<p>
|
23
|
+
This is a Elephant, I think.
|
24
|
+
</p><p>
|
25
|
+
This is a , I think.
|
26
|
+
</p>
|
@@ -0,0 +1,37 @@
|
|
1
|
+
title: Conditionals/BlockMode
|
2
|
+
description: Basic conditional shortcut syntax in block mode
|
3
|
+
type: text/vnd.tiddlywiki-multiple
|
4
|
+
tags: [[$:/tags/wiki-test-spec]]
|
5
|
+
|
6
|
+
title: Output
|
7
|
+
|
8
|
+
\procedure test(animal)
|
9
|
+
<% if [<animal>match[Elephant]] %>
|
10
|
+
|
11
|
+
! It is an elephant
|
12
|
+
|
13
|
+
<% else %>
|
14
|
+
|
15
|
+
<% if [<animal>match[Giraffe]] %>
|
16
|
+
|
17
|
+
! It is a giraffe
|
18
|
+
|
19
|
+
<% else %>
|
20
|
+
|
21
|
+
! It is completely unknown
|
22
|
+
|
23
|
+
<% endif %>
|
24
|
+
|
25
|
+
<% endif %>
|
26
|
+
|
27
|
+
\end
|
28
|
+
|
29
|
+
<<test "Giraffe">>
|
30
|
+
|
31
|
+
<<test "Elephant">>
|
32
|
+
|
33
|
+
<<test "Antelope">>
|
34
|
+
+
|
35
|
+
title: ExpectedResult
|
36
|
+
|
37
|
+
<h1 class="">It is a giraffe</h1><h1 class="">It is an elephant</h1><h1 class="">It is completely unknown</h1>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
title: Conditionals/Else
|
2
|
+
description: Else conditional shortcut syntax
|
3
|
+
type: text/vnd.tiddlywiki-multiple
|
4
|
+
tags: [[$:/tags/wiki-test-spec]]
|
5
|
+
|
6
|
+
title: Text
|
7
|
+
|
8
|
+
This is a <% if [<something>match[one]] %>Elephant<% else %>Crocodile<% endif %>, I think.
|
9
|
+
+
|
10
|
+
title: Output
|
11
|
+
|
12
|
+
<$let something="one">
|
13
|
+
{{Text}}
|
14
|
+
</$let>
|
15
|
+
|
16
|
+
<$let something="two">
|
17
|
+
{{Text}}
|
18
|
+
</$let>
|
19
|
+
+
|
20
|
+
title: ExpectedResult
|
21
|
+
|
22
|
+
<p>
|
23
|
+
This is a Elephant, I think.
|
24
|
+
</p><p>
|
25
|
+
This is a Crocodile, I think.
|
26
|
+
</p>
|
@@ -0,0 +1,32 @@
|
|
1
|
+
title: Conditionals/Elseif
|
2
|
+
description: Elseif conditional shortcut syntax
|
3
|
+
type: text/vnd.tiddlywiki-multiple
|
4
|
+
tags: [[$:/tags/wiki-test-spec]]
|
5
|
+
|
6
|
+
title: Text
|
7
|
+
|
8
|
+
This is a <% if [<something>match[one]] %>Elephant<% elseif [<something>match[two]] %>Antelope<% else %>Crocodile<% endif %>, I think.
|
9
|
+
+
|
10
|
+
title: Output
|
11
|
+
|
12
|
+
<$let something="one">
|
13
|
+
{{Text}}
|
14
|
+
</$let>
|
15
|
+
|
16
|
+
<$let something="two">
|
17
|
+
{{Text}}
|
18
|
+
</$let>
|
19
|
+
|
20
|
+
<$let something="three">
|
21
|
+
{{Text}}
|
22
|
+
</$let>
|
23
|
+
+
|
24
|
+
title: ExpectedResult
|
25
|
+
|
26
|
+
<p>
|
27
|
+
This is a Elephant, I think.
|
28
|
+
</p><p>
|
29
|
+
This is a Antelope, I think.
|
30
|
+
</p><p>
|
31
|
+
This is a Crocodile, I think.
|
32
|
+
</p>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
title: Conditionals/MissingEndif
|
2
|
+
description: Conditional shortcut syntax with missing endif
|
3
|
+
type: text/vnd.tiddlywiki-multiple
|
4
|
+
tags: [[$:/tags/wiki-test-spec]]
|
5
|
+
|
6
|
+
title: Text
|
7
|
+
|
8
|
+
This is a <% if [<something>match[one]] %>Elephant
|
9
|
+
+
|
10
|
+
title: Output
|
11
|
+
|
12
|
+
<$let something="one">
|
13
|
+
{{Text}}
|
14
|
+
</$let>
|
15
|
+
|
16
|
+
<$let something="two">
|
17
|
+
{{Text}}
|
18
|
+
</$let>
|
19
|
+
+
|
20
|
+
title: ExpectedResult
|
21
|
+
|
22
|
+
<p>
|
23
|
+
This is a Elephant
|
24
|
+
</p><p>
|
25
|
+
This is a
|
26
|
+
</p>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
title: Conditionals/MultipleResults
|
2
|
+
description: Check that multiple results from the filter are ignored
|
3
|
+
type: text/vnd.tiddlywiki-multiple
|
4
|
+
tags: [[$:/tags/wiki-test-spec]]
|
5
|
+
|
6
|
+
title: Output
|
7
|
+
|
8
|
+
This is a <% if 1 2 3 4 5 6 %>Elephant<% endif %>, I think.
|
9
|
+
+
|
10
|
+
title: ExpectedResult
|
11
|
+
|
12
|
+
<p>This is a Elephant, I think.</p>
|
@@ -0,0 +1,38 @@
|
|
1
|
+
title: Conditionals/Nested
|
2
|
+
description: Nested conditional shortcut syntax
|
3
|
+
type: text/vnd.tiddlywiki-multiple
|
4
|
+
tags: [[$:/tags/wiki-test-spec]]
|
5
|
+
|
6
|
+
title: Output
|
7
|
+
|
8
|
+
\procedure test(animal)
|
9
|
+
<% if [<animal>match[Elephant]] %>
|
10
|
+
It is an elephant
|
11
|
+
<% else %>
|
12
|
+
<% if [<animal>match[Giraffe]] %>
|
13
|
+
It is a giraffe
|
14
|
+
<% else %>
|
15
|
+
It is completely unknown
|
16
|
+
<% endif %>
|
17
|
+
<% endif %>
|
18
|
+
\end
|
19
|
+
|
20
|
+
<<test "Giraffe">>
|
21
|
+
|
22
|
+
<<test "Elephant">>
|
23
|
+
|
24
|
+
<<test "Antelope">>
|
25
|
+
|
26
|
+
+
|
27
|
+
title: ExpectedResult
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
It is a giraffe
|
32
|
+
|
33
|
+
|
34
|
+
It is an elephant
|
35
|
+
|
36
|
+
|
37
|
+
It is completely unknown
|
38
|
+
|
@@ -0,0 +1,60 @@
|
|
1
|
+
title: Conditionals/NestedElseif
|
2
|
+
description: Nested elseif conditional shortcut syntax
|
3
|
+
type: text/vnd.tiddlywiki-multiple
|
4
|
+
tags: [[$:/tags/wiki-test-spec]]
|
5
|
+
|
6
|
+
title: Text
|
7
|
+
|
8
|
+
\whitespace trim
|
9
|
+
This is a 
|
10
|
+
<% if [<something>match[one]] %>
|
11
|
+
<% if [<another>match[one]] %>
|
12
|
+
Indian
|
13
|
+
<% elseif [<another>match[two]] %>
|
14
|
+
African
|
15
|
+
<% else %>
|
16
|
+
Unknown
|
17
|
+
<% endif %>
|
18
|
+
 Elephant
|
19
|
+
<% elseif [<something>match[two]] %>
|
20
|
+
Antelope
|
21
|
+
<% else %>
|
22
|
+
Crocodile
|
23
|
+
<% endif %>
|
24
|
+
, I think.
|
25
|
+
+
|
26
|
+
title: Output
|
27
|
+
|
28
|
+
<$let something="one" another="one">
|
29
|
+
{{Text}}
|
30
|
+
</$let>
|
31
|
+
|
32
|
+
<$let something="one" another="two">
|
33
|
+
{{Text}}
|
34
|
+
</$let>
|
35
|
+
|
36
|
+
<$let something="one" another="three">
|
37
|
+
{{Text}}
|
38
|
+
</$let>
|
39
|
+
|
40
|
+
<$let something="two">
|
41
|
+
{{Text}}
|
42
|
+
</$let>
|
43
|
+
|
44
|
+
<$let something="three">
|
45
|
+
{{Text}}
|
46
|
+
</$let>
|
47
|
+
+
|
48
|
+
title: ExpectedResult
|
49
|
+
|
50
|
+
<p>
|
51
|
+
This is a Indian Elephant, I think.
|
52
|
+
</p><p>
|
53
|
+
This is a African Elephant, I think.
|
54
|
+
</p><p>
|
55
|
+
This is a Unknown Elephant, I think.
|
56
|
+
</p><p>
|
57
|
+
This is a Antelope, I think.
|
58
|
+
</p><p>
|
59
|
+
This is a Crocodile, I think.
|
60
|
+
</p>
|
@@ -0,0 +1,29 @@
|
|
1
|
+
title: ListWidget/WithExplicitTemplates
|
2
|
+
description: List widget with explicit templates
|
3
|
+
type: text/vnd.tiddlywiki-multiple
|
4
|
+
tags: [[$:/tags/wiki-test-spec]]
|
5
|
+
|
6
|
+
+
|
7
|
+
title: Output
|
8
|
+
|
9
|
+
\whitespace trim
|
10
|
+
|
11
|
+
\procedure test(filter)
|
12
|
+
<$list filter=<<filter>>>
|
13
|
+
<$list-template>
|
14
|
+
<$text text=<<currentTiddler>>/>
|
15
|
+
</$list-template>
|
16
|
+
<$list-empty>
|
17
|
+
None!
|
18
|
+
</$list-empty>
|
19
|
+
</$list>
|
20
|
+
\end
|
21
|
+
|
22
|
+
<<test "1 2 3">>
|
23
|
+
|
24
|
+
<<test "">>
|
25
|
+
|
26
|
+
+
|
27
|
+
title: ExpectedResult
|
28
|
+
|
29
|
+
<p>123</p><p>None!</p>
|
@@ -0,0 +1,32 @@
|
|
1
|
+
title: ListWidget/WithExplicitTemplatesInBlockMode
|
2
|
+
description: List widget with explicit templates in block mode
|
3
|
+
type: text/vnd.tiddlywiki-multiple
|
4
|
+
tags: [[$:/tags/wiki-test-spec]]
|
5
|
+
|
6
|
+
+
|
7
|
+
title: Output
|
8
|
+
|
9
|
+
\whitespace trim
|
10
|
+
|
11
|
+
\procedure test(filter)
|
12
|
+
<$list filter=<<filter>>>
|
13
|
+
|
14
|
+
<$list-template>
|
15
|
+
<$text text=<<currentTiddler>>/>
|
16
|
+
</$list-template>
|
17
|
+
|
18
|
+
<$list-empty>
|
19
|
+
None!
|
20
|
+
</$list-empty>
|
21
|
+
|
22
|
+
</$list>
|
23
|
+
\end
|
24
|
+
|
25
|
+
<<test "1 2 3">>
|
26
|
+
|
27
|
+
<<test "">>
|
28
|
+
|
29
|
+
+
|
30
|
+
title: ExpectedResult
|
31
|
+
|
32
|
+
123None!
|
@@ -0,0 +1,33 @@
|
|
1
|
+
title: ListWidget/WithExplicitTemplatesOverriddenByAttributes
|
2
|
+
description: List widget with explicit templates
|
3
|
+
type: text/vnd.tiddlywiki-multiple
|
4
|
+
tags: [[$:/tags/wiki-test-spec]]
|
5
|
+
|
6
|
+
+
|
7
|
+
title: Output
|
8
|
+
|
9
|
+
\whitespace trim
|
10
|
+
|
11
|
+
\procedure test(filter)
|
12
|
+
<$list filter=<<filter>> emptyMessage="Zero" template="Template">
|
13
|
+
<$list-template>
|
14
|
+
<$text text=<<currentTiddler>>/>
|
15
|
+
</$list-template>
|
16
|
+
<$list-empty>
|
17
|
+
None!
|
18
|
+
</$list-empty>
|
19
|
+
</$list>
|
20
|
+
\end
|
21
|
+
|
22
|
+
<<test "1 2 3">>
|
23
|
+
|
24
|
+
<<test "">>
|
25
|
+
|
26
|
+
+
|
27
|
+
title: Template
|
28
|
+
|
29
|
+
<$text text=<<currentTiddler>>/><$text text=<<currentTiddler>>/>
|
30
|
+
+
|
31
|
+
title: ExpectedResult
|
32
|
+
|
33
|
+
<p>112233</p><p>Zero</p>
|
@@ -0,0 +1,30 @@
|
|
1
|
+
title: ListWidget/WithJoinTemplate
|
2
|
+
description: List widget with join template and $list-empty
|
3
|
+
type: text/vnd.tiddlywiki-multiple
|
4
|
+
tags: [[$:/tags/wiki-test-spec]]
|
5
|
+
|
6
|
+
+
|
7
|
+
title: Output
|
8
|
+
|
9
|
+
\whitespace trim
|
10
|
+
|
11
|
+
\procedure test(filter)
|
12
|
+
<$list filter=<<filter>>>
|
13
|
+
Item:<<currentTiddler>>
|
14
|
+
|
15
|
+
<$list-empty>
|
16
|
+
None!
|
17
|
+
</$list-empty>
|
18
|
+
|
19
|
+
<$list-join>,</$list-join>
|
20
|
+
</$list>
|
21
|
+
\end
|
22
|
+
|
23
|
+
<<test "1 2 3">>
|
24
|
+
|
25
|
+
<<test "">>
|
26
|
+
|
27
|
+
+
|
28
|
+
title: ExpectedResult
|
29
|
+
|
30
|
+
<p>Item:1,Item:2,Item:3</p><p>None!</p>
|
@@ -0,0 +1,32 @@
|
|
1
|
+
title: ListWidget/WithJoinTemplateInBlockMode
|
2
|
+
description: List widget with join template and $list-empty in block mode
|
3
|
+
type: text/vnd.tiddlywiki-multiple
|
4
|
+
tags: [[$:/tags/wiki-test-spec]]
|
5
|
+
|
6
|
+
+
|
7
|
+
title: Output
|
8
|
+
|
9
|
+
\whitespace trim
|
10
|
+
|
11
|
+
\procedure test(filter)
|
12
|
+
<$list filter=<<filter>>>
|
13
|
+
|
14
|
+
Item:<<currentTiddler>>
|
15
|
+
|
16
|
+
<$list-empty>
|
17
|
+
None!
|
18
|
+
</$list-empty>
|
19
|
+
|
20
|
+
<$list-join><br></$list-join>
|
21
|
+
</$list>
|
22
|
+
\end
|
23
|
+
|
24
|
+
<<test "1 2 3">>
|
25
|
+
|
26
|
+
<<test "">>
|
27
|
+
|
28
|
+
+
|
29
|
+
title: ExpectedResult
|
30
|
+
comment: I wish there was a good way to get rid of these extraneous paragraph elements
|
31
|
+
|
32
|
+
<p>Item:1</p><p></p><p></p><br><p>Item:2</p><p></p><p></p><br><p>Item:3</p><p></p><p></p>None!
|
@@ -0,0 +1,25 @@
|
|
1
|
+
title: ListWidget/WithLimit
|
2
|
+
description: List widget with limit
|
3
|
+
type: text/vnd.tiddlywiki-multiple
|
4
|
+
tags: [[$:/tags/wiki-test-spec]]
|
5
|
+
|
6
|
+
+
|
7
|
+
title: Output
|
8
|
+
|
9
|
+
Zero: <$list filter="1 2 3 4" limit="0" template="Template"/>
|
10
|
+
|
11
|
+
One: <$list filter="1 2 3 4" limit="1" template="Template"/>
|
12
|
+
|
13
|
+
Two: <$list filter="1 2 3 4" limit="2" template="Template"/>
|
14
|
+
|
15
|
+
Minus Two: <$list filter="1 2 3 4" limit="-2" template="Template"/>
|
16
|
+
|
17
|
+
+
|
18
|
+
title: Template
|
19
|
+
|
20
|
+
<$text text=<<currentTiddler>>/>
|
21
|
+
+
|
22
|
+
title: ExpectedResult
|
23
|
+
|
24
|
+
<p>Zero: </p><p>One: 1</p><p>Two: 12</p><p>Minus Two: 34
|
25
|
+
</p>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
title: ListWidget/WithMissingTemplate
|
2
|
+
description: List widget with explicit templates
|
3
|
+
type: text/vnd.tiddlywiki-multiple
|
4
|
+
tags: [[$:/tags/wiki-test-spec]]
|
5
|
+
|
6
|
+
+
|
7
|
+
title: Output
|
8
|
+
|
9
|
+
\whitespace trim
|
10
|
+
|
11
|
+
\procedure test(filter)
|
12
|
+
<$list filter=<<filter>>>
|
13
|
+
<$list-empty>
|
14
|
+
None!
|
15
|
+
</$list-empty>
|
16
|
+
</$list>
|
17
|
+
\end
|
18
|
+
|
19
|
+
<<test "1 2 3">>
|
20
|
+
|
21
|
+
<<test "">>
|
22
|
+
|
23
|
+
+
|
24
|
+
title: ExpectedResult
|
25
|
+
|
26
|
+
<p><span><a class="tc-tiddlylink tc-tiddlylink-missing" href="#1">1</a></span><span><a class="tc-tiddlylink tc-tiddlylink-missing" href="#2">2</a></span><span><a class="tc-tiddlylink tc-tiddlylink-missing" href="#3">3</a></span></p><p>None!</p>
|
package/editions/test/tiddlers/tests/data/transclude/CustomWidget-CodeblockOverride-TextParser.tid
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
title: Transclude/CustomWidget/CodeblockOverride-TextParser
|
2
|
+
description: Test that overriding codeblock widget does not impact text parser
|
3
|
+
type: text/vnd.tiddlywiki-multiple
|
4
|
+
tags: [[$:/tags/wiki-test-spec]]
|
5
|
+
|
6
|
+
title: Output
|
7
|
+
|
8
|
+
\whitespace trim
|
9
|
+
\widget $codeblock(code)
|
10
|
+
<$transclude $variable="copy-to-clipboard" src=<<code>>/>
|
11
|
+
<$genesis $type="$codeblock" $remappable="no" code=<<code>>/>
|
12
|
+
\end
|
13
|
+
|
14
|
+
\procedure myvariable() hello
|
15
|
+
|
16
|
+
<$transclude $variable="myvariable" $type="text/plain" $output="text/plain"/>
|
17
|
+
+
|
18
|
+
title: ExpectedResult
|
19
|
+
|
20
|
+
<p>hello</p>
|