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,6 +1,6 @@
|
|
1
1
|
caption: scrollable
|
2
2
|
created: 20140324223413403
|
3
|
-
modified:
|
3
|
+
modified: 20230731100903977
|
4
4
|
tags: Widgets
|
5
5
|
title: ScrollableWidget
|
6
6
|
type: text/vnd.tiddlywiki
|
@@ -16,12 +16,15 @@ The content of the `<$scrollable>` widget is displayed within a pair of wrapper
|
|
16
16
|
|!Attribute |!Description |
|
17
17
|
|class |The CSS class(es) to be applied to the outer DIV |
|
18
18
|
|fallthrough |See below |
|
19
|
+
|bind |<<.from-version "5.3.2">> Optional title of tiddler to which the scroll position should be bound |
|
20
|
+
|
21
|
+
Binding the scroll position to a tiddler automatically copies the scroll coordinates into the `scroll-left` and `scroll-top` fields after scrolling occurs. Conversely, setting those field values will automatically cause the scrollable to scroll if it can.
|
19
22
|
|
20
23
|
<$macrocall $name=".note" _="""If a scrollable widget can't handle the `tm-scroll` message because the inner DIV fits within the outer DIV, then by default the message falls through to the parent widget. Setting the ''fallthrough'' attribute to `no` prevents this behaviour."""/>
|
21
24
|
|
22
25
|
! Examples
|
23
26
|
|
24
|
-
|
27
|
+
These examples require the following CSS definitions from [[$:/_tw5.com-styles]]:
|
25
28
|
|
26
29
|
```
|
27
30
|
.tc-scrollable-demo {
|
@@ -33,6 +36,8 @@ This example requires the following CSS definitions from [[$:/_tw5.com-styles]]:
|
|
33
36
|
}
|
34
37
|
```
|
35
38
|
|
39
|
+
!! Simple Usage
|
40
|
+
|
36
41
|
This wiki text shows how to display a list within the scrollable widget:
|
37
42
|
|
38
43
|
<<wikitext-example-without-html "<$scrollable class='tc-scrollable-demo'>
|
@@ -46,3 +51,23 @@ This wiki text shows how to display a list within the scrollable widget:
|
|
46
51
|
</$scrollable>
|
47
52
|
">>
|
48
53
|
|
54
|
+
!! Binding scroll position to a tiddler
|
55
|
+
|
56
|
+
[[Current scroll position|$:/my-scroll-position]]: {{$:/my-scroll-position!!scroll-left}}, {{$:/my-scroll-position!!scroll-top}}
|
57
|
+
|
58
|
+
<$button>
|
59
|
+
<$action-setfield $tiddler="$:/my-scroll-position" scroll-left="100" scroll-top="100"/>
|
60
|
+
Set current scroll position to 100,100
|
61
|
+
</$button>
|
62
|
+
|
63
|
+
<<wikitext-example-without-html "<$scrollable class='tc-scrollable-demo' bind='$:/my-scroll-position'>
|
64
|
+
<$list filter='[tag[Reference]]'>
|
65
|
+
|
66
|
+
<$view field='title'/>: <$list filter='[all[current]links[]sort[title]]' storyview='pop'>
|
67
|
+
<$link><$view field='title'/></$link>
|
68
|
+
</$list>
|
69
|
+
|
70
|
+
</$list>
|
71
|
+
</$scrollable>
|
72
|
+
">>
|
73
|
+
|
@@ -1,6 +1,6 @@
|
|
1
1
|
caption: select
|
2
2
|
created: 20131024141900000
|
3
|
-
modified:
|
3
|
+
modified: 20231113093304323
|
4
4
|
tags: TriggeringWidgets Widgets
|
5
5
|
title: SelectWidget
|
6
6
|
type: text/vnd.tiddlywiki
|
@@ -42,6 +42,9 @@ The content of the `<$select>` widget should be one or more HTML `<option>` or `
|
|
42
42
|
|actions |A string containing ActionWidgets to be triggered when the key combination is detected |
|
43
43
|
|focus |<<.from-version "5.2.4">> Optional. Set to "yes" to automatically focus the HTML select element after creation |
|
44
44
|
|tabindex |<<.from-version "5.3.1">> Optional. Sets the `tabindex` attribute of the HTML select element to the given value |
|
45
|
+
|data-* |<<.from-version "5.3.2">> Optional [[data attributes|https://developer.mozilla.org/en-US/docs/Learn/HTML/Howto/Use_data_attributes]] to be assigned to the HTML element |
|
46
|
+
|style.* |<<.from-version "5.3.2">> Optional [[CSS properties|https://developer.mozilla.org/en-US/docs/Web/CSS/Reference]] to be assigned to the HTML element |
|
47
|
+
|
45
48
|
! Examples
|
46
49
|
|
47
50
|
!! Simple Lists
|
@@ -1,6 +1,6 @@
|
|
1
1
|
caption: set
|
2
2
|
created: 20131115182700000
|
3
|
-
modified:
|
3
|
+
modified: 20230720174707977
|
4
4
|
tags: Widgets
|
5
5
|
title: SetWidget
|
6
6
|
type: text/vnd.tiddlywiki
|
@@ -120,3 +120,19 @@ src='<$set name="myTiddler" value="HelloThere">
|
|
120
120
|
</$set>'/>
|
121
121
|
|
122
122
|
<<<
|
123
|
+
|
124
|
+
!! Using the Set Widget to Create Global Variables
|
125
|
+
|
126
|
+
There are times when it makes sense to use the features of the [[SetWidget]] rather than procedures or functions to create global variables. This can be accomplished by placing the set variable widget in a tiddler that is tagged [[$:/tags/Global|SystemTag: $:/tags/Global]]. If multiple variables are required, the set variable widget can be nested as shown here:
|
127
|
+
|
128
|
+
<<<
|
129
|
+
<div class="doc-example">
|
130
|
+
|
131
|
+
```
|
132
|
+
<$set name="myGlobalVariable" value="I am global">
|
133
|
+
<$set name="myOtherGlobalVariable" value="I am also a global variable.">
|
134
|
+
</$set>
|
135
|
+
</$set>
|
136
|
+
```
|
137
|
+
</div>
|
138
|
+
<<<
|
@@ -18,11 +18,11 @@ Transclusion is the underlying mechanism for many higher level wikitext features
|
|
18
18
|
Here is a complete example showing the important features of the <<.wlink TranscludeWidget>> widget:
|
19
19
|
|
20
20
|
```
|
21
|
-
\procedure
|
21
|
+
\procedure myproc(name,age)
|
22
22
|
My name is <<name>> and my age is <<age>>.
|
23
23
|
\end
|
24
24
|
|
25
|
-
<$transclude $variable="
|
25
|
+
<$transclude $variable="myproc" name="James" age="19"/>
|
26
26
|
```
|
27
27
|
|
28
28
|
* `\procedure` defines a variable as a procedure with two parameters, ''name'' and ''age''
|
@@ -0,0 +1,62 @@
|
|
1
|
+
created: 20230901122740573
|
2
|
+
modified: 20230901123102263
|
3
|
+
tags: WikiText
|
4
|
+
title: Conditional Shortcut Syntax
|
5
|
+
type: text/vnd.tiddlywiki
|
6
|
+
|
7
|
+
<<.from-version "5.3.2">> The conditional shortcut syntax provides a convenient way to express if-then-else logic within WikiText. It evaluates a [[filter expression|Filter Expression]] and considers the condition to be true if there is at least one result (regardless of the value of that result).
|
8
|
+
|
9
|
+
Within an "if" or "elseif" clause, the variable `condition` contains the value of the first result of evaluating the filter condition.
|
10
|
+
|
11
|
+
A simple example:
|
12
|
+
|
13
|
+
<$macrocall $name='wikitext-example-without-html'
|
14
|
+
src='<% if [{$:/info/url/protocol}match[file:]] %>
|
15
|
+
Loaded from a file URI
|
16
|
+
<% else %>
|
17
|
+
Not loaded from a file URI
|
18
|
+
<% endif %>
|
19
|
+
'/>
|
20
|
+
|
21
|
+
One or more `<% elseif %>` clauses may be included before the `<% else %>` clause:
|
22
|
+
|
23
|
+
<$macrocall $name='wikitext-example-without-html'
|
24
|
+
src='<% if [{$:/info/url/protocol}match[file:]] %>
|
25
|
+
Loaded from a file URI
|
26
|
+
<% elseif [{$:/info/url/protocol}match[https:]] %>
|
27
|
+
Loaded from an HTTPS URI
|
28
|
+
<% elseif [{$:/info/url/protocol}match[http:]] %>
|
29
|
+
Loaded from an HTTP URI
|
30
|
+
<% else %>
|
31
|
+
Loaded from an unknown protocol
|
32
|
+
<% endif %>
|
33
|
+
'/>
|
34
|
+
|
35
|
+
The conditional shortcut syntax can be nested:
|
36
|
+
|
37
|
+
<$macrocall $name='wikitext-example-without-html'
|
38
|
+
src='\procedure test(animal)
|
39
|
+
<% if [<animal>match[Elephant]] %>
|
40
|
+
It is an elephant
|
41
|
+
<% else %>
|
42
|
+
<% if [<animal>match[Giraffe]] %>
|
43
|
+
It is a giraffe
|
44
|
+
<% else %>
|
45
|
+
It is completely unknown
|
46
|
+
<% endif %>
|
47
|
+
<% endif %>
|
48
|
+
\end
|
49
|
+
|
50
|
+
<<test "Giraffe">>
|
51
|
+
|
52
|
+
<<test "Elephant">>
|
53
|
+
|
54
|
+
<<test "Antelope">>
|
55
|
+
'/>
|
56
|
+
|
57
|
+
Notes:
|
58
|
+
|
59
|
+
* Clauses are parsed in inline mode by default. Force block mode parsing by following the opening `<% if %>`, `<% elseif %>` or `<% else %>` with two line breaks
|
60
|
+
* Widgets and HTML elements must be within a single conditional clause; it is not possible to start an element in one conditional clause and end it in another
|
61
|
+
* The conditional shortcut syntax cannot contain pragmas such as procedure definitions
|
62
|
+
|
@@ -1,5 +1,5 @@
|
|
1
1
|
created: 20141018090608643
|
2
|
-
modified:
|
2
|
+
modified: 20231030124224424
|
3
3
|
tags: WikiText
|
4
4
|
title: Transclusion and Substitution
|
5
5
|
type: text/vnd.tiddlywiki
|
@@ -55,6 +55,6 @@ As described in [[Introduction to filter notation]], you can also transclude a v
|
|
55
55
|
|
56
56
|
! Textual Substitution
|
57
57
|
|
58
|
-
Textual substitution occurs when the value of a macro/variable is used. It is described in [[
|
58
|
+
Textual substitution occurs when the value of a macro/variable is used. It is described in [[Substituted Attribute Values]] and [[substitute Operator]]
|
59
59
|
|
60
|
-
The key difference between substitution and transclusion is that substitution occurs before WikiText parsing. This means that you can use substitution to build WikiText constructions. Transclusions are processed independently, and cannot be combined with adjacent text to define WikiText constructions.
|
60
|
+
The key difference between substitution and transclusion is that substitution occurs before WikiText parsing. This means that you can use substitution to build ~WikiText constructions. Transclusions are processed independently, and cannot be combined with adjacent text to define ~WikiText constructions.
|
@@ -6,7 +6,8 @@
|
|
6
6
|
"tiddlywiki/railroad",
|
7
7
|
"tiddlywiki/evernote",
|
8
8
|
"tiddlywiki/internals",
|
9
|
-
"tiddlywiki/menubar"
|
9
|
+
"tiddlywiki/menubar",
|
10
|
+
"tiddlywiki/qrcode"
|
10
11
|
],
|
11
12
|
"themes": [
|
12
13
|
"tiddlywiki/vanilla",
|
@@ -49,11 +50,16 @@
|
|
49
50
|
"static": [
|
50
51
|
"--render","$:/core/templates/static.template.html","static.html","text/plain",
|
51
52
|
"--render","$:/core/templates/alltiddlers.template.html","alltiddlers.html","text/plain",
|
52
|
-
"--render","[!is[system]]","[encodeuricomponent[]addprefix[static/]addsuffix[.html]]","text/plain","$:/core/templates/static.tiddler.html",
|
53
|
+
"--render","[!is[system]]","[encodeuricomponent[]addprefix[static/]addsuffix[.html]]","text/plain","$:/core/templates/static.tiddler.html",
|
53
54
|
"--render","$:/core/templates/static.template.css","static/static.css","text/plain"],
|
54
55
|
"external-js": [
|
55
56
|
"--render","$:/core/save/offline-external-js","[[external-]addsuffix<version>addsuffix[.html]]","text/plain",
|
56
|
-
"--render","$:/core/templates/tiddlywiki5.js","[[tiddlywikicore-]addsuffix<version>addsuffix[.js]]","text/plain"]
|
57
|
+
"--render","$:/core/templates/tiddlywiki5.js","[[tiddlywikicore-]addsuffix<version>addsuffix[.js]]","text/plain"],
|
58
|
+
"archive":[
|
59
|
+
"--render","$:/core/save/all","[[archive/TiddlyWiki-]addsuffix<version>addsuffix[.html]]","text/plain",
|
60
|
+
"--render","$:/editions/tw5.com/download-empty","[[archive/Empty-TiddlyWiki-]addsuffix<version>addsuffix[.html]]","text/plain",
|
61
|
+
"--render","[[TiddlyWiki Archive]]","archive/index.html","text/plain","$:/core/templates/static.tiddler.html",
|
62
|
+
"--render","$:/core/templates/static.template.css","archive/static.css","text/plain"]
|
57
63
|
},
|
58
64
|
"config": {
|
59
65
|
"retain-original-tiddler-path": true
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,7 +1,7 @@
|
|
1
1
|
title: $:/language/Help/commands
|
2
2
|
description: Ausführen von Befehlen aus einem Tiddler
|
3
3
|
|
4
|
-
Sequentielle Abarbeitung von Befehlen aus einem Tiddler.
|
4
|
+
Sequentielle Abarbeitung von Befehlen aus einem Tiddler.
|
5
5
|
|
6
6
|
```
|
7
7
|
--commands <filter>
|
@@ -9,6 +9,6 @@ Sequentielle Abarbeitung von Befehlen aus einem Tiddler.
|
|
9
9
|
|
10
10
|
Beispiele
|
11
11
|
|
12
|
-
`--commands "[enlist{$:/build-commands-as-text}]"`
|
12
|
+
`--commands "[enlist:raw{$:/build-commands-as-text}]"`
|
13
13
|
|
14
14
|
`--commands "[{$:/build-commands-as-json}jsonindexes[]] :map[{$:/build-commands-as-json}jsonget<currentTiddler>]"`
|
@@ -1,5 +1,5 @@
|
|
1
1
|
title: $:/language/Help/server
|
2
|
-
description:
|
2
|
+
description: (Dieser Befehl ist abgekündigt! - Neu ist: "listen") -- Stellt einen HTTP server für TiddlyWiki zur Verfügung.
|
3
3
|
|
4
4
|
TiddlyWiki bringt einen einfachen Web-Server mit.
|
5
5
|
|
@@ -67,6 +67,8 @@ More/Caption: Más
|
|
67
67
|
More/Hint: Otras acciones
|
68
68
|
NewHere/Caption: Nuevo aquí
|
69
69
|
NewHere/Hint: Crea un nuevo tiddler etiquetado con el título de este tiddler
|
70
|
+
NetworkActivity/Caption: actividad de red
|
71
|
+
NetworkActivity/Hint: Cancelar la actividad de red
|
70
72
|
NewJournal/Caption: Nueva entrada
|
71
73
|
NewJournal/Hint: Crea una nueva entrada de diario
|
72
74
|
NewJournalHere/Caption: Entrada nueva aquí
|
@@ -1,11 +1,13 @@
|
|
1
1
|
title: $:/language/Docs/Fields/
|
2
2
|
|
3
3
|
_canonical_uri: Dirección (URI) completa -absoluta o relativa- de un tiddler externo de imagen
|
4
|
+
author: Nombre del autor de un plugin
|
4
5
|
bag: Nombre de la bolsa de la que procede un tiddler
|
5
6
|
caption: Texto que se muestra en una pestaña o botón, con independencia del título del tiddler que lo define
|
6
7
|
code-body: La plantilla de vista mostrará el tiddler como código si se establece en ''yes''
|
7
8
|
color: Valor CSS del color de fondo asociado a un tiddler
|
8
9
|
component: Nombre del componente responsable de un [[tiddler de alerta|AlertMechanism]]
|
10
|
+
core-version: Para un plugin, indica con qué versión de TiddlyWiki es compatible
|
9
11
|
current-tiddler: Usado para incluir el tiddler superior en una [[historia|HistoryMechanism]]
|
10
12
|
created: Fecha de creación del tiddler
|
11
13
|
creator: Nombre del autor del tiddler
|
@@ -22,7 +24,9 @@ list-before: Título del tiddler antes del que el presente será añadido a una
|
|
22
24
|
list-after: Título del tiddler tras el que el presente será añadido a una lista de tiddlers.
|
23
25
|
modified: Fecha y hora de última modificación
|
24
26
|
modifier: Nombre del tiddler asociado con quien modificó por última vez el presente tiddler
|
27
|
+
module-type: Para los tiddlers javascript, especifica de qué tipo de módulo se trata
|
25
28
|
name: Nombre asociado con un complemento o extensión
|
29
|
+
parent-plugin: Para un plugin, especifica de qué plugin es un subplugin
|
26
30
|
plugin-priority: Valor numérico que indica la prioridad de un complemento o extensión
|
27
31
|
plugin-type: Tipo de complemento o extensión
|
28
32
|
revision: Revisión del tiddler existente en el servidor
|
@@ -18,7 +18,7 @@ Todos los parámetros son opcionales con valores predeterminados seguros y se pu
|
|
18
18
|
* ''anon-username'' - el nombre de usuario para firmar ediciones de usuarios anónimos
|
19
19
|
* ''username'' - nombre de usuario opcional para autenticación básica
|
20
20
|
* ''password'' - contraseña opcional para autenticación básica
|
21
|
-
* ''authenticated-user-header'' - nombre opcional del encabezado que se utilizará para la autenticación de confianza
|
21
|
+
* ''authenticated-user-header'' - nombre opcional del encabezado de solicitud que se utilizará para la autenticación de confianza.
|
22
22
|
* ''readers'' - lista separada por comas de los usuarios autorizados a leer de este wiki
|
23
23
|
* ''writers'' - lista separada por comas de los usuarios autorizados a escribir en este wiki
|
24
24
|
* ''csrf-disable'' - establecer a "yes" para deshabilitar las comprobaciones CSRF (el valor predeterminado es "no")
|
@@ -4,7 +4,7 @@ description: Guarda un wiki en una nueva carpeta de wiki
|
|
4
4
|
<<.from-version "5.1.20">> Guarda el wiki actual como una carpeta de wiki, incluidos tiddlers, complementos y configuración:
|
5
5
|
|
6
6
|
```
|
7
|
-
--savewikifolder <wikifolderpath> [<filter>]
|
7
|
+
--savewikifolder <wikifolderpath> [<filter>] [ [<name>=<value>] ]*
|
8
8
|
```
|
9
9
|
|
10
10
|
* La carpeta wiki de destino debe estar vacía o no existir
|
@@ -12,8 +12,23 @@ description: Guarda un wiki en una nueva carpeta de wiki
|
|
12
12
|
* Los complementos de la biblioteca oficial de complementos se reemplazan con referencias a esos complementos en el archivo `tiddlywiki.info`
|
13
13
|
* Los complementos personalizados se descomprimen en su propia carpeta
|
14
14
|
|
15
|
+
Se admiten las siguientes opciones:
|
16
|
+
|
17
|
+
* ''filter'': una expresión de filtro que define los tiddlers que se incluirán en la salida.
|
18
|
+
* ''explodePlugins'': por defecto "yes".
|
19
|
+
** ''yes'' desplegará los plugins en archivos tiddler separados y los guardará en el directorio de plugins dentro de la carpeta wiki
|
20
|
+
** ''no'' no realizará el despliegue del plugin en sus archivos tiddler constituyentes si no que guardará el plugin como un único tiddler JSON en la carpeta tiddlers.
|
21
|
+
|
22
|
+
Ten en cuenta que ambas opciones ''explodePlugins'' producirán carpetas wiki que construirán exactamente el mismo wiki original. La diferencia radica en cómo se representan los plugins en la carpeta wiki.
|
23
|
+
|
15
24
|
Un uso común es convertir un archivo HTML de TiddlyWiki en una carpeta wiki:
|
16
25
|
|
17
26
|
```
|
18
27
|
tiddlywiki --load ./mywiki.html --savewikifolder ./mywikifolder
|
19
28
|
```
|
29
|
+
|
30
|
+
Guarda el plugin en el directorio tiddlers de la carpeta wiki de destino:
|
31
|
+
|
32
|
+
```
|
33
|
+
tiddlywiki --load ./mywiki.html --savewikifolder ./mywikifolder explodePlugins=no
|
34
|
+
```
|
@@ -1,5 +1,5 @@
|
|
1
1
|
title: $:/language/Help/server
|
2
|
-
description: Proporciona interfaz de servidor HTTP a TiddlyWiki
|
2
|
+
description: (en desuso: utiliza el comando 'listen') Proporciona interfaz de servidor HTTP a TiddlyWiki
|
3
3
|
|
4
4
|
Comando obsoleto para servir una wiki a través de HTTP.
|
5
5
|
|
@@ -25,6 +25,8 @@ Encryption/RepeatPassword: Repite la contraseña
|
|
25
25
|
Encryption/PasswordNoMatch: Las contraseñas no coinciden
|
26
26
|
Encryption/SetPassword: Establecer contraseña
|
27
27
|
Error/Caption: Error
|
28
|
+
Error/DeserializeOperator/MissingOperand: Error de filtro: Falta el operando 'deserialize
|
29
|
+
Error/DeserializeOperator/UnknownDeserializer: Error de filtro: Deserializador desconocido proporcionado como operando para el operador 'deserialize'.
|
28
30
|
Error/Filter: Error de filtro
|
29
31
|
Error/FilterSyntax: Error de sintaxis en la expresión de filtro
|
30
32
|
Error/FilterRunPrefix: Error en Filtro: Prefijo desconocido para la ejecución del filtro
|
@@ -40,6 +42,7 @@ Error/RetrievingSkinny: Error al recuperar la lista resumida de tiddlers
|
|
40
42
|
Error/SavingToTWEdit: Error al guardar en TWEdit
|
41
43
|
Error/WhileSaving: Error al guardar
|
42
44
|
Error/XMLHttpRequest: Código de error XMLHttpRequest
|
45
|
+
Error/ZoominTextNode: Error de vista de historia: Parece que has intentado interactuar con un tiddler que se muestra en un contenedor personalizado. La causa más probable es el uso de `$:/tags/StoryTiddlerTemplateFilter` con una plantilla que contiene texto o espacios en blanco al principio. Utiliza el pragma `\whitespace trim` y asegúrate de que todo el contenido del tiddler está envuelto en un único elemento HTML. El texto que causó este problema:
|
43
46
|
InternalJavaScriptError/Hint: Hay un problema. Se recomienda que reinicies TiddlyWiki
|
44
47
|
InternalJavaScriptError/Title: Error interno de JavaScript
|
45
48
|
LayoutSwitcher/Description: Abre el selector de diseño
|
@@ -19,6 +19,8 @@ Wspierane argumenty:
|
|
19
19
|
** `yes` rozdzieli wtyczki na osobne pliki tiddlerów i zapisze je do podfolderu z wtyczkami
|
20
20
|
** `no` każda wtyczka będzie zapisana jako jeden zbiorczy plik w formacie JSON w folderze z tiddlerami
|
21
21
|
|
22
|
+
Obie wartości dla `explodePlugins` stworzą taką samą wiki. Różnica będzie jedynie w sposobie rozlokowania wtyczek.
|
23
|
+
|
22
24
|
Typowe zastosowanie to konwersja pliku TiddlyWiki w formie pliku HTML do formatu folderu:
|
23
25
|
|
24
26
|
```
|
@@ -29,4 +31,4 @@ Zapisanie wtyczek jako zwykłych tiddlerów:
|
|
29
31
|
|
30
32
|
```
|
31
33
|
tiddlywiki --load ./mojawiki.html --savewikifolder ./folderwiki explodePlugins=no
|
32
|
-
```
|
34
|
+
```
|
@@ -1,5 +1,5 @@
|
|
1
1
|
title: $:/language/Help/server
|
2
|
-
description: Tworzy serwer HTTP wystawiający TiddlyWiki (zalecamy użycie komendy "--listen" zamiast tej)
|
2
|
+
description: (nieaktualne: patrz komenda 'listen') Tworzy serwer HTTP wystawiający TiddlyWiki (zalecamy użycie komendy "--listen" zamiast tej)
|
3
3
|
|
4
4
|
Dawna komenda do stawiania serwera wystawiającego wiki.
|
5
5
|
|
@@ -547,3 +547,13 @@ Eric Haberstroh, @pille1842, 2023/07/23
|
|
547
547
|
@catter-fly, 2023/07/27
|
548
548
|
|
549
549
|
@cmo-pomerium, 2023/08/03
|
550
|
+
|
551
|
+
BuckarooBanzay, @BuckarooBanzay, 2023/09/01
|
552
|
+
|
553
|
+
Timur, @T1mL3arn, 2023/10/04
|
554
|
+
|
555
|
+
Wang Ke, @Gk0Wk, 2023/10/17
|
556
|
+
|
557
|
+
@frittro, 2023/10/27
|
558
|
+
|
559
|
+
@etardiff, 2023/12/10
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "tiddlywiki",
|
3
3
|
"preferGlobal": "true",
|
4
|
-
"version": "5.3.
|
4
|
+
"version": "5.3.2",
|
5
5
|
"author": "Jeremy Ruston <jeremy@jermolene.com>",
|
6
6
|
"description": "a non-linear personal web notebook",
|
7
7
|
"contributors": [
|
@@ -32,6 +32,9 @@
|
|
32
32
|
"node": ">=0.8.2"
|
33
33
|
},
|
34
34
|
"scripts": {
|
35
|
+
"dev": "node ./tiddlywiki.js ./editions/tw5.com-server --listen",
|
36
|
+
"test": "node ./tiddlywiki.js ./editions/test --verbose --version --build index",
|
37
|
+
"lint:fix": "eslint . --fix",
|
35
38
|
"lint": "eslint ."
|
36
39
|
}
|
37
40
|
}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
const { defineConfig, devices } = require('@playwright/test');
|
2
|
+
|
3
|
+
/**
|
4
|
+
* @see https://playwright.dev/docs/test-configuration
|
5
|
+
*/
|
6
|
+
module.exports = defineConfig({
|
7
|
+
testDir: './editions/test/',
|
8
|
+
|
9
|
+
// Allow parallel tests
|
10
|
+
fullyParallel: true,
|
11
|
+
|
12
|
+
// Prevent accidentally committed "test.only" from wrecking havoc
|
13
|
+
forbidOnly: !!process.env.CI,
|
14
|
+
|
15
|
+
// Do not retry tests on failure
|
16
|
+
retries: 0,
|
17
|
+
|
18
|
+
// How many parallel workers
|
19
|
+
workers: process.env.CI ? 1 : undefined,
|
20
|
+
|
21
|
+
// Reporter to use. See https://playwright.dev/docs/test-reporters
|
22
|
+
reporter: 'html',
|
23
|
+
|
24
|
+
// Settings shared with all the tests
|
25
|
+
use: {
|
26
|
+
// Take a screenshot when the test fails
|
27
|
+
screenshot: {
|
28
|
+
mode: 'only-on-failure',
|
29
|
+
fullPage: true
|
30
|
+
}
|
31
|
+
},
|
32
|
+
|
33
|
+
/* Configure projects for major browsers */
|
34
|
+
projects: [
|
35
|
+
{
|
36
|
+
name: 'chromium',
|
37
|
+
use: { ...devices['Desktop Chrome'] },
|
38
|
+
},
|
39
|
+
|
40
|
+
{
|
41
|
+
name: 'firefox',
|
42
|
+
use: { ...devices['Desktop Firefox'] },
|
43
|
+
}
|
44
|
+
],
|
45
|
+
});
|
46
|
+
|
@@ -56,6 +56,11 @@ name: tiddlywiki
|
|
56
56
|
rendering-intent: auto;
|
57
57
|
}
|
58
58
|
|
59
|
+
.tc-tiddler-frame .tc-tiddler-editor .tc-edit-texteditor,
|
60
|
+
.tc-tiddler-frame .tc-tiddler-editor .tc-tiddler-preview-preview {
|
61
|
+
overflow: auto;
|
62
|
+
}
|
63
|
+
|
59
64
|
.cm-s-tiddlywiki.CodeMirror, .cm-s-tiddlywiki .CodeMirror-gutters { background-color: <<colour tiddler-editor-background>>; color: <<colour foreground>>; }
|
60
65
|
.cm-s-tiddlywiki .CodeMirror-gutters {background: <<colour tiddler-editor-background>>; border-right: 1px solid <<colour tiddler-editor-border>>;}
|
61
66
|
.cm-s-tiddlywiki .CodeMirror-linenumber {color: <<colour foreground>>;}
|