tiddlywiki 5.3.3 → 5.3.5
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/bin/build-site.sh +34 -1
- package/boot/boot.js +61 -26
- package/boot/tiddlywiki.files +32 -0
- package/contributing.md +1 -1
- package/core/copyright.tid +1 -1
- package/core/images/input-button.tid +5 -0
- package/core/images/standard-layout.tid +7 -0
- package/core/language/en-GB/Buttons.multids +3 -0
- package/core/language/en-GB/ControlPanel.multids +6 -0
- package/core/language/en-GB/Docs/ModuleTypes.multids +1 -1
- package/core/language/en-GB/Docs/PaletteColours.multids +7 -0
- package/core/language/en-GB/Fields.multids +2 -0
- package/core/language/en-GB/Misc.multids +2 -2
- package/core/modules/commands/listen.js +1 -1
- package/core/modules/commands/makelibrary.js +1 -26
- package/core/modules/commands/save.js +3 -1
- package/core/modules/commands/savewikifolder.js +4 -1
- package/core/modules/filters/backtranscludes.js +26 -0
- package/core/modules/filters/crypto.js +2 -5
- package/core/modules/filters/strings.js +6 -3
- package/core/modules/filters/transcludes.js +26 -0
- package/core/modules/filters/x-listops.js +1 -1
- package/core/modules/indexers/back-indexer.js +122 -0
- package/core/modules/macros/csvtiddlers.js +9 -5
- package/core/modules/parsers/parseutils.js +1 -1
- package/core/modules/parsers/wikiparser/rules/codeblock.js +6 -3
- package/core/modules/parsers/wikiparser/rules/codeinline.js +5 -2
- package/core/modules/parsers/wikiparser/rules/extlink.js +2 -1
- package/core/modules/parsers/wikiparser/rules/filteredtranscludeblock.js +15 -5
- package/core/modules/parsers/wikiparser/rules/filteredtranscludeinline.js +15 -5
- package/core/modules/parsers/wikiparser/rules/fnprocdef.js +3 -3
- package/core/modules/parsers/wikiparser/rules/hardlinebreaks.js +2 -1
- package/core/modules/parsers/wikiparser/rules/heading.js +4 -2
- package/core/modules/parsers/wikiparser/rules/html.js +25 -0
- package/core/modules/parsers/wikiparser/rules/image.js +2 -2
- package/core/modules/parsers/wikiparser/rules/import.js +2 -1
- package/core/modules/parsers/wikiparser/rules/list.js +29 -4
- package/core/modules/parsers/wikiparser/rules/macrodef.js +3 -3
- package/core/modules/parsers/wikiparser/rules/prettyextlink.js +7 -2
- package/core/modules/parsers/wikiparser/rules/prettylink.js +12 -5
- package/core/modules/parsers/wikiparser/rules/quoteblock.js +16 -30
- package/core/modules/parsers/wikiparser/rules/syslink.js +6 -3
- package/core/modules/parsers/wikiparser/rules/table.js +2 -1
- package/core/modules/parsers/wikiparser/rules/typedblock.js +4 -1
- package/core/modules/parsers/wikiparser/rules/wikilink.js +4 -1
- package/core/modules/parsers/wikiparser/wikiparser.js +39 -5
- package/core/modules/saver-handler.js +7 -3
- package/core/modules/server/authenticators/header.js +3 -1
- package/core/modules/server/server.js +5 -0
- package/core/modules/startup/plugins.js +1 -1
- package/core/modules/startup/render.js +8 -2
- package/core/modules/startup/rootwidget.js +10 -2
- package/core/modules/startup/story.js +14 -4
- package/core/modules/startup/windows.js +1 -1
- package/core/modules/utils/dom/dom.js +3 -1
- package/core/modules/utils/dom/http.js +19 -7
- package/core/modules/utils/errors.js +23 -0
- package/core/modules/utils/fakedom.js +2 -2
- package/core/modules/utils/filesystem.js +13 -10
- package/core/modules/utils/repository.js +52 -0
- package/core/modules/utils/utils.js +11 -2
- package/core/modules/widgets/action-deletefield.js +7 -2
- package/core/modules/widgets/action-log.js +6 -1
- package/core/modules/widgets/button.js +1 -1
- package/core/modules/widgets/data.js +184 -0
- package/core/modules/widgets/draggable.js +2 -2
- package/core/modules/widgets/edit.js +1 -1
- package/core/modules/widgets/importvariables.js +1 -1
- package/core/modules/widgets/link.js +1 -1
- package/core/modules/widgets/parameters.js +12 -0
- package/core/modules/widgets/testcase.js +165 -0
- package/core/modules/widgets/transclude.js +24 -1
- package/core/modules/widgets/widget.js +23 -10
- package/core/modules/wiki.js +78 -2
- package/core/palettes/GruvBoxDark.tid +4 -0
- package/core/palettes/Nord.tid +4 -0
- package/core/palettes/SolarizedDark.tid +5 -1
- package/core/palettes/SolarizedLight.tid +5 -1
- package/core/palettes/Vanilla.tid +7 -0
- package/core/plugin.info +2 -1
- package/core/templates/external-js/save-all-external-js.tid +1 -1
- package/core/templates/external-js/save-offline-external-js.tid +1 -1
- package/core/templates/save-all.tid +1 -1
- package/core/templates/save-empty.tid +1 -1
- package/core/templates/save-lazy-all.tid +1 -1
- package/core/templates/save-lazy-images.tid +1 -1
- package/core/ui/AdvancedSearch/Filter.tid +1 -4
- package/core/ui/AdvancedSearch/Standard.tid +5 -4
- package/core/ui/Components/plugin-info.tid +11 -1
- package/core/ui/ControlPanel/Modals/AddPlugins.tid +13 -2
- package/core/ui/ControlPanel/Saving/DownloadSaver.tid +11 -2
- package/core/ui/ControlPanel/Saving/General.tid +11 -3
- package/core/ui/ControlPanel/Settings/CamelCase.tid +10 -1
- package/core/ui/ControlPanel/Settings/DefaultMoreSidebarTab.tid +11 -6
- package/core/ui/ControlPanel/Settings/DefaultSidebarTab.tid +11 -5
- package/core/ui/ControlPanel/Settings/EditorToolbar.tid +9 -2
- package/core/ui/ControlPanel/Settings/InfoPanelMode.tid +11 -3
- package/core/ui/ControlPanel/Settings/LinkToBehaviour.tid +15 -11
- package/core/ui/ControlPanel/Settings/MissingLinks.tid +6 -2
- package/core/ui/ControlPanel/Settings/NavigationAddressBar.tid +13 -4
- package/core/ui/ControlPanel/Settings/NavigationHistory.tid +11 -3
- package/core/ui/ControlPanel/Settings/NavigationPermalinkviewMode.tid +17 -2
- package/core/ui/ControlPanel/Settings/PerformanceInstrumentation.tid +9 -1
- package/core/ui/ControlPanel/Settings/TitleLinks.tid +11 -3
- package/core/ui/ControlPanel/Settings/ToolbarButtonStyle.tid +9 -6
- package/core/ui/ControlPanel/Settings/ToolbarButtons.tid +17 -2
- package/core/ui/ControlPanel/TestCases.tid +10 -0
- package/core/ui/ControlPanel/TestCasesAll.tid +24 -0
- package/core/ui/ControlPanel/TestCasesFailed.tid +15 -0
- package/core/ui/ControlPanel/TiddlyWiki.tid +2 -2
- package/core/ui/EditTemplate/body/default.tid +7 -2
- package/core/ui/EditTemplate/controls.tid +12 -6
- package/core/ui/EditTemplate/tags.tid +52 -28
- package/core/ui/EditorToolbar/preview.tid +2 -2
- package/core/ui/KeyboardShortcuts/refresh.tid +5 -0
- package/core/ui/PageControls/more-page-actions.tid +37 -44
- package/core/ui/PageControls.tid +10 -13
- package/core/ui/{PageTemplate.tid → StandardLayout.tid} +1 -1
- package/core/ui/TestCaseTemplate.tid +19 -0
- package/core/ui/TestCases/DefaultTemplate.tid +91 -0
- package/core/ui/TestCases/DefaultTemplateSourceTabs.tid +27 -0
- package/core/ui/TestCases/RawJSONTemplate.tid +4 -0
- package/core/ui/TestCases/actions/Export.tid +4 -0
- package/core/ui/TestCases/actions/Import.tid +11 -0
- package/core/ui/ViewTemplate/title.tid +33 -26
- package/core/ui/ViewToolbar/more-tiddler-actions.tid +35 -43
- package/core/wiki/config/OfficialPluginLibrary.tid +1 -1
- package/core/wiki/config/ShortcutInfo.multids +1 -0
- package/core/wiki/config/ViewTemplateBodyFilters.multids +1 -0
- package/core/wiki/config/shortcuts/shortcuts-mac.multids +1 -0
- package/core/wiki/config/shortcuts/shortcuts-not-mac.multids +1 -0
- package/core/wiki/macros/CSS.tid +43 -51
- package/core/wiki/macros/copy-to-clipboard.tid +17 -11
- package/core/wiki/macros/diff.tid +28 -28
- package/core/wiki/macros/tag-picker.tid +170 -159
- package/core/wiki/macros/tag.tid +3 -1
- package/core/wiki/macros/testcase.tid +10 -0
- package/core/wiki/tags/TestCaseActions.tid +2 -0
- package/core/wiki/tags/ViewTemplateBodyFilter.tid +1 -1
- package/editions/dev/tiddlers/HelloThere.tid +1 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Javascript Widget Tutorial.tid +22 -16
- package/editions/dev/tiddlers/new/Using ES2016 for Writing Plugins.tid +18 -8
- package/editions/dev/tiddlers/new/Using TiddlyWiki as a library.tid +5 -0
- package/editions/dev/tiddlers/system/$__themes_tiddlywiki_vanilla_options_sidebarlayout.tid +6 -0
- package/editions/full/tiddlywiki.info +1 -0
- package/editions/geospatialdemo/tiddlers/DefaultTiddlers.tid +4 -0
- package/editions/geospatialdemo/tiddlers/Features.tid +14 -0
- package/editions/geospatialdemo/tiddlers/Flickr Demo.tid +27 -0
- package/editions/geospatialdemo/tiddlers/Geospatial Plugin Logo.png +0 -0
- package/editions/geospatialdemo/tiddlers/Geospatial Plugin Logo.png.meta +2 -0
- package/editions/geospatialdemo/tiddlers/HelloThere.tid +37 -0
- package/editions/geospatialdemo/tiddlers/Markers.tid +53 -0
- package/editions/geospatialdemo/tiddlers/SiteSubtitle.tid +3 -0
- package/editions/geospatialdemo/tiddlers/SiteTitle.tid +3 -0
- package/editions/geospatialdemo/tiddlers/cascades/ViewTemplateBodyFilters.tid +6 -0
- package/editions/geospatialdemo/tiddlers/cities/LimehouseTownHall.tid +9 -0
- package/editions/geospatialdemo/tiddlers/cities/Motovun.tid +9 -0
- package/editions/geospatialdemo/tiddlers/cities/NewYork.tid +8 -0
- package/editions/geospatialdemo/tiddlers/cities/Oxford.tid +8 -0
- package/editions/geospatialdemo/tiddlers/cities/Toronto.tid +8 -0
- package/editions/geospatialdemo/tiddlers/cities/Winchester.tid +8 -0
- package/editions/geospatialdemo/tiddlers/config/flickr-param.multids +5 -0
- package/editions/geospatialdemo/tiddlers/default-import-spec.tid +4 -0
- package/editions/geospatialdemo/tiddlers/favicon.png +0 -0
- package/editions/geospatialdemo/tiddlers/favicon.png.meta +2 -0
- package/editions/geospatialdemo/tiddlers/features/canada-census-subdivision-millesime.geojson +1 -0
- package/editions/geospatialdemo/tiddlers/features/canada-census-subdivision-millesime.geojson.meta +5 -0
- package/editions/geospatialdemo/tiddlers/features/denver-bikerental.tid +109 -0
- package/editions/geospatialdemo/tiddlers/features/denver-campus.tid +63 -0
- package/editions/geospatialdemo/tiddlers/features/denver-freebus.tid +56 -0
- package/editions/geospatialdemo/tiddlers/features/denver-lightrail.tid +30 -0
- package/editions/geospatialdemo/tiddlers/features/harvard-glb-volc-geojson.json +1 -0
- package/editions/geospatialdemo/tiddlers/features/harvard-glb-volc-geojson.json.meta +5 -0
- package/editions/geospatialdemo/tiddlers/features/us-states.geojson +54 -0
- package/editions/geospatialdemo/tiddlers/features/us-states.geojson.meta +5 -0
- package/editions/geospatialdemo/tiddlers/real-estate-demo/real-estate-demo.tid +99 -0
- package/editions/geospatialdemo/tiddlers/real-estate-demo/schema.json +22 -0
- package/editions/geospatialdemo/tiddlers/real-estate-demo/schema.json.meta +3 -0
- package/editions/geospatialdemo/tiddlers/real-estate-demo/xlsx-utils-import-specs/PropertiesRow.tid +5 -0
- package/editions/geospatialdemo/tiddlers/real-estate-demo/xlsx-utils-import-specs/PropertiesRowFieldAddress.tid +7 -0
- package/editions/geospatialdemo/tiddlers/real-estate-demo/xlsx-utils-import-specs/PropertiesRowFieldBroker.tid +7 -0
- package/editions/geospatialdemo/tiddlers/real-estate-demo/xlsx-utils-import-specs/PropertiesRowFieldCity.tid +7 -0
- package/editions/geospatialdemo/tiddlers/real-estate-demo/xlsx-utils-import-specs/PropertiesRowFieldLat.tid +8 -0
- package/editions/geospatialdemo/tiddlers/real-estate-demo/xlsx-utils-import-specs/PropertiesRowFieldLong.tid +8 -0
- package/editions/geospatialdemo/tiddlers/real-estate-demo/xlsx-utils-import-specs/PropertiesRowFieldPrice.tid +8 -0
- package/editions/geospatialdemo/tiddlers/real-estate-demo/xlsx-utils-import-specs/PropertiesRowFieldSalesAgent.tid +7 -0
- package/editions/geospatialdemo/tiddlers/real-estate-demo/xlsx-utils-import-specs/PropertiesRowFieldState.tid +7 -0
- package/editions/geospatialdemo/tiddlers/real-estate-demo/xlsx-utils-import-specs/PropertiesRowFieldTags.tid +7 -0
- package/editions/geospatialdemo/tiddlers/real-estate-demo/xlsx-utils-import-specs/PropertiesRowFieldTitle.tid +8 -0
- package/editions/geospatialdemo/tiddlers/real-estate-demo/xlsx-utils-import-specs/PropertiesRowFieldZipCode.tid +7 -0
- package/editions/geospatialdemo/tiddlers/real-estate-demo/xlsx-utils-import-specs/PropertiesSheet.tid +7 -0
- package/editions/geospatialdemo/tiddlers/real-estate-demo/xlsx-utils-import-specs/workbook.tid +7 -0
- package/editions/geospatialdemo/tiddlers/sidebarlayout.tid +2 -0
- package/editions/geospatialdemo/tiddlers/ui/geofeature.tid +39 -0
- package/editions/geospatialdemo/tiddlers/ui/geomarker.tid +128 -0
- package/editions/geospatialdemo/tiddlywiki.info +23 -0
- package/editions/introduction/tiddlers/slides/CecilyMap.tid +12 -12
- package/editions/introduction/tiddlers/slides/blank.json +1 -1
- package/editions/multiwikiserver/tiddlers/$__StoryList.tid +2 -0
- package/editions/prerelease/tiddlers/{Release 5.3.4.tid → Release 5.3.6.tid } +10 -15
- package/editions/prerelease/tiddlers/system/PrereleaseLocalPluginLibrary.tid +1 -1
- package/editions/prerelease/tiddlers/system/PrereleaseOfficialPluginLibrary.tid +1 -1
- package/editions/prerelease/tiddlers/system/configPerformanceInstrumentation.tid +2 -0
- package/editions/prerelease/tiddlywiki.info +4 -1
- package/editions/test/tiddlers/HelloThere.tid +4 -0
- package/editions/test/tiddlers/tests/data/data-widget/ImportCompound.tid +27 -0
- package/editions/test/tiddlers/tests/data/data-widget/ImportFilter.tid +28 -0
- package/editions/test/tiddlers/tests/data/data-widget/ImportTiddler.tid +23 -0
- package/editions/test/tiddlers/tests/data/data-widget/Simple.tid +18 -0
- package/editions/test/tiddlers/tests/data/functions/FunctionFilterrunVariables.tid +24 -0
- package/editions/test/tiddlers/tests/data/functions/FunctionFilterrunVariables2.tid +20 -0
- package/editions/test/tiddlers/tests/data/functions/FunctionFilterrunVariables3.tid +21 -0
- package/editions/test/tiddlers/tests/data/importvariables/WithSetWidgets2.tid +1 -0
- package/editions/test/tiddlers/tests/data/importvariables/WithSetWidgetsAndMacros.tid +1 -0
- package/editions/test/tiddlers/tests/data/macros/EndInBody.tid +16 -0
- package/editions/test/tiddlers/tests/data/macros/IndentedEnd.tid +16 -0
- package/editions/test/tiddlers/tests/data/macros/MismatchedNamedEnd.tid +16 -0
- package/editions/test/tiddlers/tests/data/macros/WhitespaceOnlyWithEnd.tid +18 -0
- package/editions/test/tiddlers/tests/data/macros/WhitespaceOnlyWithEnd2.tid +15 -0
- package/editions/test/tiddlers/tests/data/macros/unusedtitle/basic-params-draft-exists.tid +27 -0
- package/editions/test/tiddlers/tests/data/macros/unusedtitle/basic-params-empty-tiddler-exists.tid +23 -0
- package/editions/test/tiddlers/tests/data/macros/unusedtitle/basic-params-empty.tid +20 -0
- package/editions/test/tiddlers/tests/data/macros/unusedtitle/basic-params-tiddlers-exist.tid +28 -0
- package/editions/test/tiddlers/tests/data/macros/unusedtitle/basic-params.tid +20 -0
- package/editions/test/tiddlers/tests/data/macros/unusedtitle/template-empty-params-tiddler-exist.tid +50 -0
- package/editions/test/tiddlers/tests/data/macros/unusedtitle/template-empty-params.tid +24 -0
- package/editions/test/tiddlers/tests/data/macros/unusedtitle/template.tid +28 -0
- package/editions/test/tiddlers/tests/data/pragmas/WhitespaceAfterPragma.tid +4 -1
- package/editions/test/tiddlers/tests/data/procedures/EndInBody.tid +16 -0
- package/editions/test/tiddlers/tests/data/procedures/IndentedEnd.tid +16 -0
- package/editions/test/tiddlers/tests/data/procedures/MismatchedNamedEnd.tid +16 -0
- package/editions/test/tiddlers/tests/data/procedures/WhitespaceOnlyWithEnd.tid +18 -0
- package/editions/test/tiddlers/tests/data/procedures/WhitespaceOnlyWithEnd2.tid +15 -0
- package/editions/test/tiddlers/tests/data/transclude/Procedures-Whitespace2.tid +25 -0
- package/editions/test/tiddlers/tests/data/transclude/Procedures-Whitespace3.tid +30 -0
- package/editions/test/tiddlers/tests/data/transclude/Recursion.tid +2 -1
- package/editions/test/tiddlers/tests/from-tw5.com/tiddlywiki.files +5 -0
- package/editions/test/tiddlers/tests/test-action-deletefield.js +176 -0
- package/editions/test/tiddlers/tests/test-backlinks.js +57 -44
- package/editions/test/tiddlers/tests/test-backtranscludes.js +241 -0
- package/editions/test/tiddlers/tests/test-fakedom.js +27 -0
- package/editions/test/tiddlers/tests/test-plugins.js +55 -0
- package/editions/test/tiddlers/tests/test-widget-getVariableInfo.js +95 -0
- package/editions/test/tiddlers/tests/test-widget.js +61 -0
- package/editions/test/tiddlers/tests/test-wikitext-parser.js +48 -49
- package/editions/test/tiddlywiki.info +2 -1
- package/editions/tour/tiddlers/Solar System/Asteroid (253) Mathilde Image.png +0 -0
- package/editions/tour/tiddlers/Solar System/Asteroid (253) Mathilde Image.png.meta +3 -0
- package/editions/tour/tiddlers/Solar System/Asteroid.tid +17 -0
- package/editions/tour/tiddlers/Solar System/Comet Image.png +0 -0
- package/editions/tour/tiddlers/Solar System/Comet Image.png.meta +3 -0
- package/editions/tour/tiddlers/Solar System/Comet.tid +15 -0
- package/editions/tour/tiddlers/Solar System/Earth Image.png +0 -0
- package/editions/tour/tiddlers/Solar System/Earth Image.png.meta +3 -0
- package/editions/tour/tiddlers/Solar System/Earth's Moon Image.png +0 -0
- package/editions/tour/tiddlers/Solar System/Earth's Moon Image.png.meta +3 -0
- package/editions/tour/tiddlers/Solar System/Earth's Moon.tid +10 -0
- package/editions/tour/tiddlers/Solar System/Earth.tid +21 -0
- package/editions/tour/tiddlers/Solar System/Jupiter Image.png +0 -0
- package/editions/tour/tiddlers/Solar System/Jupiter Image.png.meta +3 -0
- package/editions/tour/tiddlers/Solar System/Jupiter.tid +15 -0
- package/editions/tour/tiddlers/Solar System/Kuiper belt.tid +12 -0
- package/editions/tour/tiddlers/Solar System/Mars Image.png +0 -0
- package/editions/tour/tiddlers/Solar System/Mars Image.png.meta +5 -0
- package/editions/tour/tiddlers/Solar System/Mars.tid +11 -0
- package/editions/tour/tiddlers/Solar System/Mercury Image.png +0 -0
- package/editions/tour/tiddlers/Solar System/Mercury Image.png.meta +3 -0
- package/editions/tour/tiddlers/Solar System/Mercury.tid +21 -0
- package/editions/tour/tiddlers/Solar System/Milky Way Image.png +0 -0
- package/editions/tour/tiddlers/Solar System/Milky Way Image.png.meta +5 -0
- package/editions/tour/tiddlers/Solar System/Milky Way.tid +14 -0
- package/editions/tour/tiddlers/Solar System/Moon.tid +9 -0
- package/editions/tour/tiddlers/Solar System/Neptune Image.png +0 -0
- package/editions/tour/tiddlers/Solar System/Neptune Image.png.meta +3 -0
- package/editions/tour/tiddlers/Solar System/Neptune.tid +19 -0
- package/editions/tour/tiddlers/Solar System/Planet Image.png +0 -0
- package/editions/tour/tiddlers/Solar System/Planet Image.png.meta +3 -0
- package/editions/tour/tiddlers/Solar System/Planet.tid +17 -0
- package/editions/tour/tiddlers/Solar System/Pluto Image.png +0 -0
- package/editions/tour/tiddlers/Solar System/Pluto Image.png.meta +3 -0
- package/editions/tour/tiddlers/Solar System/Pluto.tid +12 -0
- package/editions/tour/tiddlers/Solar System/Saturn Image.png +0 -0
- package/editions/tour/tiddlers/Solar System/Saturn Image.png.meta +3 -0
- package/editions/tour/tiddlers/Solar System/Saturn.tid +17 -0
- package/editions/tour/tiddlers/Solar System/Solar System Image.png +0 -0
- package/editions/tour/tiddlers/Solar System/Solar System Image.png.meta +3 -0
- package/editions/tour/tiddlers/Solar System/Solar System.tid +18 -0
- package/editions/tour/tiddlers/Solar System/Sun Image.png +0 -0
- package/editions/tour/tiddlers/Solar System/Sun Image.png.meta +5 -0
- package/editions/tour/tiddlers/Solar System/Sun.tid +17 -0
- package/editions/tour/tiddlers/Solar System/Uranus Image.png +0 -0
- package/editions/tour/tiddlers/Solar System/Uranus Image.png.meta +3 -0
- package/editions/tour/tiddlers/Solar System/Uranus.tid +19 -0
- package/editions/tour/tiddlers/Solar System/Venus Image.png +0 -0
- package/editions/tour/tiddlers/Solar System/Venus Image.png.meta +3 -0
- package/editions/tour/tiddlers/Solar System/Venus.tid +17 -0
- package/editions/tour/tiddlers/System/$__themes_tiddlywiki_vanilla_options_sidebarlayout.tid +4 -0
- package/editions/tour/tiddlers/System/DefaultTiddlers.tid +4 -0
- package/editions/tour/tiddlers/System/HelloThere.tid +5 -0
- package/editions/tour/tiddlers/System/SiteSubtitle.tid +2 -0
- package/editions/tour/tiddlers/System/SiteTitle.tid +2 -0
- package/editions/tour/tiddlers/System/configAutoStartTour.tid +2 -0
- package/editions/tour/tiddlers/System/styles.tid +9 -0
- package/editions/tour/tiddlywiki.info +16 -0
- package/editions/translators/tiddlywiki.info +1 -0
- package/editions/tw5.com/tiddlers/Operators without parameters.tid +18 -0
- package/editions/tw5.com/tiddlers/Selection Constructors: Conditional.tid +9 -0
- package/editions/tw5.com/tiddlers/String Operators.tid +8 -0
- package/editions/tw5.com/tiddlers/Tag Operators.tid +8 -0
- package/editions/tw5.com/tiddlers/TiddlyWiki Docs PR Maker.tid +12 -0
- package/editions/tw5.com/tiddlers/about/Archive.tid +3 -3
- package/editions/tw5.com/tiddlers/about/Developers.tid +1 -0
- package/editions/tw5.com/tiddlers/about/History of TiddlyWiki.tid +5 -5
- package/editions/tw5.com/tiddlers/community/Community Editions.tid +2 -2
- package/editions/tw5.com/tiddlers/community/Contributor License Agreement.tid +2 -2
- package/editions/tw5.com/tiddlers/community/Improving TiddlyWiki Documentation.tid +21 -1
- package/editions/tw5.com/tiddlers/community/plugins/Disqus comments plugin by bimlas.tid +1 -1
- package/editions/tw5.com/tiddlers/community/plugins/Kin filter operator by bimlas.tid +1 -1
- package/editions/tw5.com/tiddlers/community/plugins/Locator plugin by bimlas.tid +1 -1
- package/editions/tw5.com/tiddlers/community/themes/Notebook theme by Nicolas Petton.tid +2 -2
- package/editions/tw5.com/tiddlers/concepts/Bags and Recipes.tid +42 -0
- package/editions/tw5.com/tiddlers/concepts/ColourPalettes.tid +2 -2
- package/editions/tw5.com/tiddlers/concepts/CompoundTiddlers.tid +31 -0
- package/editions/tw5.com/tiddlers/concepts/Dominant Append.tid +3 -1
- package/editions/tw5.com/tiddlers/concepts/Filters.tid +3 -3
- package/editions/tw5.com/tiddlers/concepts/Hard and Soft Links.tid +4 -2
- package/editions/tw5.com/tiddlers/concepts/Hard and Soft Transclusions.tid +16 -0
- package/editions/tw5.com/tiddlers/concepts/Selection Constructors.tid +5 -1
- package/editions/tw5.com/tiddlers/concepts/ShadowTiddlers.tid +4 -2
- package/editions/tw5.com/tiddlers/concepts/Temporary Tiddlers.tid +8 -0
- package/editions/tw5.com/tiddlers/concepts/TestCaseTiddlers.tid +26 -0
- package/editions/tw5.com/tiddlers/concepts/TextReference.tid +2 -2
- package/editions/tw5.com/tiddlers/concepts/TiddlerFields.tid +4 -3
- package/editions/tw5.com/tiddlers/concepts/Transclusion.tid +10 -3
- package/editions/tw5.com/tiddlers/currentTab Variable.tid +12 -0
- package/editions/tw5.com/tiddlers/customising/Alternative page layouts.tid +34 -3
- package/editions/tw5.com/tiddlers/customising/Creating new toolbar buttons.tid +2 -2
- package/editions/tw5.com/tiddlers/definitions/Legacy.tid +9 -0
- package/editions/tw5.com/tiddlers/definitions/TiddlyFox.tid +4 -2
- package/editions/tw5.com/tiddlers/definitions/TiddlyWeb.tid +2 -3
- package/editions/tw5.com/tiddlers/definitions/TiddlyWebAdaptor.tid +9 -0
- package/editions/tw5.com/tiddlers/definitions/UnaMesa.tid +10 -0
- package/editions/tw5.com/tiddlers/features/AutoSave.tid +1 -1
- package/editions/tw5.com/tiddlers/fields/ListField.tid +3 -3
- package/editions/tw5.com/tiddlers/fields/_canonical_uriField.tid +5 -0
- package/editions/tw5.com/tiddlers/filters/Conditional Operators.tid +6 -4
- package/editions/tw5.com/tiddlers/filters/Filter Operators.tid +13 -6
- package/editions/tw5.com/tiddlers/filters/Mathematics Operators.tid +2 -2
- package/editions/tw5.com/tiddlers/filters/add.tid +2 -2
- package/editions/tw5.com/tiddlers/filters/all.tid +8 -4
- package/editions/tw5.com/tiddlers/filters/append.tid +3 -3
- package/editions/tw5.com/tiddlers/filters/backtranscludes.tid +14 -0
- package/editions/tw5.com/tiddlers/filters/charcode.tid +2 -2
- package/editions/tw5.com/tiddlers/filters/compare Operator.tid +2 -2
- package/editions/tw5.com/tiddlers/filters/cycle Operator.tid +1 -1
- package/editions/tw5.com/tiddlers/filters/divide Operator.tid +1 -1
- package/editions/tw5.com/tiddlers/filters/enlist Operator.tid +2 -2
- package/editions/tw5.com/tiddlers/filters/enlist-input Operator.tid +1 -1
- package/editions/tw5.com/tiddlers/filters/examples/Brownies.tid +1 -1
- package/editions/tw5.com/tiddlers/filters/examples/Chick Peas.tid +1 -1
- package/editions/tw5.com/tiddlers/filters/examples/Milk.tid +1 -1
- package/editions/tw5.com/tiddlers/filters/examples/Rice Pudding.tid +1 -1
- package/editions/tw5.com/tiddlers/filters/examples/backtransclude.tid +7 -0
- package/editions/tw5.com/tiddlers/filters/examples/prepend.tid +2 -2
- package/editions/tw5.com/tiddlers/filters/examples/sha256 Operator (Examples).tid +9 -0
- package/editions/tw5.com/tiddlers/filters/examples/subfilter Operator (Examples).tid +1 -1
- package/editions/tw5.com/tiddlers/filters/examples/transclude.tid +5 -0
- package/editions/tw5.com/tiddlers/filters/field.tid +11 -11
- package/editions/tw5.com/tiddlers/filters/format.tid +6 -6
- package/editions/tw5.com/tiddlers/filters/jsonextract.tid +2 -2
- package/editions/tw5.com/tiddlers/filters/jsonget.tid +2 -2
- package/editions/tw5.com/tiddlers/filters/jsonindexes.tid +2 -2
- package/editions/tw5.com/tiddlers/filters/jsontype.tid +2 -2
- package/editions/tw5.com/tiddlers/filters/log Operator.tid +1 -1
- package/editions/tw5.com/tiddlers/filters/match Operator.tid +5 -6
- package/editions/tw5.com/tiddlers/filters/max Operator.tid +2 -2
- package/editions/tw5.com/tiddlers/filters/min Operator.tid +1 -1
- package/editions/tw5.com/tiddlers/filters/minlength.tid +3 -3
- package/editions/tw5.com/tiddlers/filters/moduleproperty Operator.tid +1 -1
- package/editions/tw5.com/tiddlers/filters/modules.tid +1 -1
- package/editions/tw5.com/tiddlers/filters/multiply Operator.tid +1 -1
- package/editions/tw5.com/tiddlers/filters/power Operator.tid +1 -1
- package/editions/tw5.com/tiddlers/filters/prefix.tid +9 -10
- package/editions/tw5.com/tiddlers/filters/prepend.tid +2 -2
- package/editions/tw5.com/tiddlers/filters/range.tid +11 -11
- package/editions/tw5.com/tiddlers/filters/reduce.tid +2 -2
- package/editions/tw5.com/tiddlers/filters/remainder Operator.tid +1 -1
- package/editions/tw5.com/tiddlers/filters/remove.tid +3 -3
- package/editions/tw5.com/tiddlers/filters/removeprefix.tid +8 -9
- package/editions/tw5.com/tiddlers/filters/removesuffix.tid +8 -9
- package/editions/tw5.com/tiddlers/filters/search.tid +3 -3
- package/editions/tw5.com/tiddlers/filters/sortby.tid +1 -1
- package/editions/tw5.com/tiddlers/filters/splitregexp Operator.tid +20 -2
- package/editions/tw5.com/tiddlers/filters/subfilter Operator.tid +3 -3
- package/editions/tw5.com/tiddlers/filters/subtract Operator.tid +1 -1
- package/editions/tw5.com/tiddlers/filters/suffix.tid +9 -10
- package/editions/tw5.com/tiddlers/filters/syntax/All Filter Run Prefix.tid +18 -0
- package/editions/tw5.com/tiddlers/filters/syntax/And Filter Run Prefix.tid +18 -0
- package/editions/tw5.com/tiddlers/filters/syntax/Cascade Filter Run Prefix (Examples).tid +2 -2
- package/editions/tw5.com/tiddlers/filters/syntax/Cascade Filter Run Prefix.tid +14 -9
- package/editions/tw5.com/tiddlers/filters/syntax/Else Filter Run Prefix.tid +18 -0
- package/editions/tw5.com/tiddlers/filters/syntax/Except Filter Run Prefix.tid +18 -0
- package/editions/tw5.com/tiddlers/filters/syntax/Filter Expression.tid +11 -63
- package/editions/tw5.com/tiddlers/filters/syntax/Filter Filter Run Prefix (Examples).tid +2 -2
- package/editions/tw5.com/tiddlers/filters/syntax/Filter Filter Run Prefix.tid +19 -14
- package/editions/tw5.com/tiddlers/filters/syntax/Filter Parameter.tid +13 -7
- package/editions/tw5.com/tiddlers/filters/syntax/Filter Run Prefix (Examples).tid +2 -2
- package/editions/tw5.com/tiddlers/filters/syntax/Filter Run Prefix.tid +18 -0
- package/editions/tw5.com/tiddlers/filters/syntax/Filter Run.tid +5 -4
- package/editions/tw5.com/tiddlers/filters/syntax/Filter Step.tid +22 -10
- package/editions/tw5.com/tiddlers/filters/syntax/Filter Syntax.tid +12 -6
- package/editions/tw5.com/tiddlers/filters/syntax/Filter Whitespace.tid +5 -3
- package/editions/tw5.com/tiddlers/filters/syntax/Interchangeable Filter Run Prefixes.tid +44 -0
- package/editions/tw5.com/tiddlers/filters/syntax/Intersection Filter Run Prefix (Examples).tid +2 -2
- package/editions/tw5.com/tiddlers/filters/syntax/Intersection Filter Run Prefix.tid +13 -8
- package/editions/tw5.com/tiddlers/filters/syntax/Map Filter Run Prefix (Examples).tid +2 -2
- package/editions/tw5.com/tiddlers/filters/syntax/Map Filter Run Prefix.tid +21 -16
- package/editions/tw5.com/tiddlers/filters/syntax/Named Filter Run Prefix.tid +32 -6
- package/editions/tw5.com/tiddlers/filters/syntax/Or Filter Run Prefix.tid +18 -0
- package/editions/tw5.com/tiddlers/filters/syntax/Reduce Filter Run Prefix (Examples).tid +2 -2
- package/editions/tw5.com/tiddlers/filters/syntax/Reduce Filter Run Prefix.tid +23 -14
- package/editions/tw5.com/tiddlers/filters/syntax/Shortcut Filter Run Prefixes.tid +29 -0
- package/editions/tw5.com/tiddlers/filters/syntax/Sort Filter Run Prefix (Examples).tid +2 -2
- package/editions/tw5.com/tiddlers/filters/syntax/Sort Filter Run Prefix.tid +16 -9
- package/editions/tw5.com/tiddlers/filters/syntax/then Filter Run Prefix.tid +3 -36
- package/editions/tw5.com/tiddlers/filters/toggle Operator.tid +2 -2
- package/editions/tw5.com/tiddlers/filters/transcludes.tid +14 -0
- package/editions/tw5.com/tiddlers/filters/unique.tid +4 -0
- package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Firefox.tid +4 -3
- package/editions/tw5.com/tiddlers/hellothere/HelloThere.tid +1 -1
- package/editions/tw5.com/tiddlers/howtos/Concatenating text and variables using macro substitution.tid +6 -0
- package/editions/tw5.com/tiddlers/howtos/Custom_data-styles.tid +4 -2
- package/editions/tw5.com/tiddlers/howtos/How to embed PDF and other documents.tid +2 -2
- package/editions/tw5.com/tiddlers/howtos/Setting a page background image.tid +2 -2
- package/editions/tw5.com/tiddlers/howtos/Tagging.tid +3 -3
- package/editions/tw5.com/tiddlers/howtos/Using Excise.tid +2 -2
- package/editions/tw5.com/tiddlers/images/New Release Banner.png +0 -0
- package/editions/tw5.com/tiddlers/images/Open Collective Logo.tid +4 -2
- package/editions/tw5.com/tiddlers/macros/StylesheetMacros.tid +3 -1
- package/editions/tw5.com/tiddlers/macros/TabsMacro.tid +2 -2
- package/editions/tw5.com/tiddlers/macros/TagMacro.tid +30 -2
- package/editions/tw5.com/tiddlers/macros/examples/tag.tid +8 -4
- package/editions/tw5.com/tiddlers/macros/import/tags-of-current-tiddler.tid +2 -1
- package/editions/tw5.com/tiddlers/macros/import/tv-get-export-image-link.tid +3 -2
- package/editions/tw5.com/tiddlers/macros/import/tv-wikilink-tooltip.tid +2 -1
- package/editions/tw5.com/tiddlers/macros/list-thumbnails Macro.tid +5 -5
- package/editions/tw5.com/tiddlers/macros/syntax/Macro Call Syntax.tid +5 -1
- package/editions/tw5.com/tiddlers/macros/syntax/Macro Definition Syntax.tid +5 -1
- package/editions/tw5.com/tiddlers/macros/syntax/Procedure Call Syntax.tid +33 -0
- package/editions/tw5.com/tiddlers/macros/syntax/Procedure Definition Syntax.tid +93 -0
- package/editions/tw5.com/tiddlers/macros/syntax/Procedure Syntax.tid +11 -0
- package/editions/tw5.com/tiddlers/macros/tag-picker_Macro.tid +14 -5
- package/editions/tw5.com/tiddlers/macros/thumbnail Macro.tid +19 -4
- package/editions/tw5.com/tiddlers/mechanisms/PluginMechanism.tid +5 -1
- package/editions/tw5.com/tiddlers/mechanisms/RefreshThrottling.tid +1 -1
- package/editions/tw5.com/tiddlers/mechanisms/WikificationMechanism.tid +3 -3
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-copy-to-clipboard.tid +3 -1
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-edit-bitmap-operation.tid +2 -2
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-edit-text-operation.tid +2 -2
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-http-request Example Basic Authentication.tid +34 -0
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-http-request Example Random Dog.tid +1 -1
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-http-request Example Zotero.tid +1 -1
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-http-request Examples.tid +117 -0
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-http-request.tid +8 -1
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-permalink.tid +3 -1
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-permaview.tid +3 -1
- package/editions/tw5.com/tiddlers/nodejs/Naming of System Tiddlers.tid +4 -4
- package/editions/tw5.com/tiddlers/nodejs/TiddlyWiki5 Versioning.tid +1 -1
- package/editions/tw5.com/tiddlers/plugins/Plugin Stability.tid +14 -0
- package/editions/tw5.com/tiddlers/pragmas/Pragma_ _parsermode.tid +1 -1
- package/editions/tw5.com/tiddlers/procedures/Procedures.tid +6 -3
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.3.2.tid +1 -1
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.3.3.tid +1 -1
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.3.4.tid +170 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.3.5.tid +49 -0
- package/editions/tw5.com/tiddlers/saving/Saving with FireFox.tid +17 -0
- package/editions/tw5.com/tiddlers/saving/Saving with Polly.tid +0 -1
- package/editions/tw5.com/tiddlers/saving/Saving with TiddlyFox on Android.tid +4 -2
- package/editions/tw5.com/tiddlers/saving/Saving with TiddlyFox.tid +2 -19
- package/editions/tw5.com/tiddlers/saving/TiddlyBucket - Save to AWS or Google Storage.tid +0 -1
- package/editions/tw5.com/tiddlers/styleguide/Documentation Macros.tid +188 -163
- package/editions/tw5.com/tiddlers/system/$__SplashScreen.tid +3 -1
- package/editions/tw5.com/tiddlers/system/ContributionBanner.tid +7 -3
- package/editions/tw5.com/tiddlers/system/Deprecated.tid +5 -1
- package/editions/tw5.com/tiddlers/system/Deprecated_-_What_does_it_mean.tid +0 -3
- package/editions/tw5.com/tiddlers/system/Sources.tid +36 -15
- package/editions/tw5.com/tiddlers/system/TableOfContents.tid +2 -2
- package/editions/tw5.com/tiddlers/system/doc-macros.tid +181 -170
- package/editions/tw5.com/tiddlers/system/doc-styles.tid +46 -23
- package/editions/tw5.com/tiddlers/system/download-empty.tid +4 -4
- package/editions/tw5.com/tiddlers/system/filter-run-template.tid +50 -0
- package/editions/tw5.com/tiddlers/system/operator-macros.tid +46 -32
- package/editions/tw5.com/tiddlers/system/operator-template.tid +52 -71
- package/editions/tw5.com/tiddlers/system/variable-macros.tid +15 -10
- package/editions/tw5.com/tiddlers/system/version-macros.tid +29 -5
- package/editions/tw5.com/tiddlers/system/wikitext-macros.tid +54 -62
- package/editions/tw5.com/tiddlers/tag-picker Macro (Examples).tid +69 -0
- package/editions/tw5.com/tiddlers/tag-pill Macro (Examples).tid +14 -0
- package/editions/tw5.com/tiddlers/testcases/DataWidget/FilterMissingTiddler.tid +17 -0
- package/editions/tw5.com/tiddlers/testcases/DataWidget/ImportCompound.tid +33 -0
- package/editions/tw5.com/tiddlers/testcases/DataWidget/ImportedFilter.tid +49 -0
- package/editions/tw5.com/tiddlers/testcases/DataWidget/ImportedTiddler.tid +29 -0
- package/editions/tw5.com/tiddlers/testcases/DataWidget/Refreshing.tid +30 -0
- package/editions/tw5.com/tiddlers/testcases/DataWidget/SimpleTiddler.tid +22 -0
- package/editions/tw5.com/tiddlers/testcases/TestCaseWidget/FailingTest.tid +15 -0
- package/editions/tw5.com/tiddlers/testcases/TestCaseWidget/NoExpectedResults.tid +12 -0
- package/editions/tw5.com/tiddlers/testcases/TestCaseWidget/TwoPlusTwo.tid +18 -0
- package/editions/tw5.com/tiddlers/testcases/TestCaseWidget/currentTiddler.tid +16 -0
- package/editions/tw5.com/tiddlers/testcases/TranscludeWidget/SimpleTransclusion.tid +23 -0
- package/editions/tw5.com/tiddlers/variables/Variables.tid +4 -3
- package/editions/tw5.com/tiddlers/variables/examples/tv-get-export-image-link.tid +7 -1
- package/editions/tw5.com/tiddlers/variables/tv-filter-export-link Variable.tid +2 -2
- package/editions/tw5.com/tiddlers/variables/tv-get-export-image-link.tid +4 -4
- package/editions/tw5.com/tiddlers/variables/tv-get-export-link.tid +4 -4
- package/editions/tw5.com/tiddlers/variables/tv-wikilink-template.tid +2 -2
- package/editions/tw5.com/tiddlers/webserver/Using the external JavaScript template.tid +2 -2
- package/editions/tw5.com/tiddlers/webserver/Using the integrated static file server.tid +17 -2
- package/editions/tw5.com/tiddlers/webserver/WebServer Parameter_ use-browse-cache.tid +25 -0
- package/editions/tw5.com/tiddlers/webserver/WebServer.tid +1 -1
- package/editions/tw5.com/tiddlers/widgets/ActionDeleteFieldWidget.tid +51 -20
- package/editions/tw5.com/tiddlers/widgets/ActionDeleteTiddlerWidget.tid +16 -14
- package/editions/tw5.com/tiddlers/widgets/ActionListopsWidget.tid +5 -3
- package/editions/tw5.com/tiddlers/widgets/DataWidget.tid +42 -0
- package/editions/tw5.com/tiddlers/widgets/EditTextWidget.tid +18 -1
- package/editions/tw5.com/tiddlers/widgets/EditWidget.tid +14 -1
- package/editions/tw5.com/tiddlers/widgets/EncryptWidget.tid +5 -5
- package/editions/tw5.com/tiddlers/widgets/ImageWidget.tid +32 -0
- package/editions/tw5.com/tiddlers/widgets/RevealWidget.tid +2 -2
- package/editions/tw5.com/tiddlers/widgets/ScrollableWidget.tid +10 -0
- package/editions/tw5.com/tiddlers/widgets/TestCaseWidget.tid +107 -0
- package/editions/tw5.com/tiddlers/widgets/TranscludeWidget.tid +34 -34
- package/editions/tw5.com/tiddlers/widgets/Widgets.tid +4 -4
- package/editions/tw5.com/tiddlers/wikitext/Block Quotes in WikiText.tid +32 -1
- package/editions/tw5.com/tiddlers/wikitext/Hard Linebreaks in WikiText.tid +7 -3
- package/editions/tw5.com/tiddlers/wikitext/Lists in WikiText.tid +1 -1
- package/editions/tw5.com/tiddlers/wikitext/Transclusion and Substitution.tid +2 -2
- package/editions/tw5.com/tiddlers/wikitext/Transclusion in WikiText.tid +27 -6
- package/editions/tw5.com/tiddlers/wikitext/parser/Block Mode WikiText.tid +2 -2
- package/editions/tw5.com/tiddlers/workingwithtw/Sharing your tiddlers with others.tid +2 -2
- package/editions/tw5.com/tiddlywiki.info +5 -2
- package/languages/de-DE/Buttons.multids +4 -1
- package/languages/de-DE/ControlPanel.multids +7 -1
- package/languages/de-DE/Dates.multids +1 -1
- package/languages/de-DE/Docs/ModuleTypes.multids +2 -2
- package/languages/de-DE/Docs/PaletteColours.multids +4 -1
- package/languages/de-DE/EditTemplate.multids +1 -1
- package/languages/de-DE/Exporters.multids +1 -1
- package/languages/de-DE/Fields.multids +3 -1
- package/languages/de-DE/Help/build.tid +1 -1
- package/languages/de-DE/Help/clearpassword.tid +2 -2
- package/languages/de-DE/Help/commands.tid +2 -2
- package/languages/de-DE/Help/editions.tid +1 -1
- package/languages/de-DE/Help/fetch.tid +6 -6
- package/languages/de-DE/Help/import.tid +5 -5
- package/languages/de-DE/Help/init.tid +1 -1
- package/languages/de-DE/Help/listen.tid +8 -8
- package/languages/de-DE/Help/load.tid +3 -3
- package/languages/de-DE/Help/makelibrary.tid +2 -2
- package/languages/de-DE/Help/output.tid +2 -2
- package/languages/de-DE/Help/password.tid +1 -1
- package/languages/de-DE/Help/render.tid +6 -6
- package/languages/de-DE/Help/save.tid +3 -4
- package/languages/de-DE/Help/server.tid +5 -0
- package/languages/de-DE/Help/setfield.tid +1 -1
- package/languages/de-DE/Import.multids +1 -1
- package/languages/de-DE/Misc.multids +6 -6
- package/languages/de-DE/Modals/Download.tid +0 -1
- package/languages/de-DE/NewJournal.multids +1 -1
- package/languages/de-DE/Notifications.multids +1 -1
- package/languages/de-DE/Search.multids +1 -1
- package/languages/de-DE/SideBar.multids +1 -1
- package/languages/de-DE/SiteSubtitle.tid +1 -1
- package/languages/de-DE/ThemeTweaks.multids +1 -1
- package/languages/de-DE/TiddlerInfo.multids +1 -1
- package/languages/fr-FR/Buttons.multids +1 -0
- package/languages/fr-FR/ControlPanel.multids +6 -0
- package/languages/fr-FR/Docs/ModuleTypes.multids +1 -1
- package/languages/fr-FR/Docs/PaletteColours.multids +3 -0
- package/languages/fr-FR/Fields.multids +3 -1
- package/languages/fr-FR/Help/commands.tid +1 -1
- package/languages/fr-FR/Help/savewikifolder.tid +15 -0
- package/languages/fr-FR/Help/server.tid +1 -1
- package/languages/fr-FR/Types/application_javascript.tid +3 -3
- package/languages/fr-FR/Types/application_json.tid +2 -2
- package/languages/fr-FR/Types/application_x_tiddler_dictionary.tid +2 -2
- package/languages/fr-FR/Types/image_gif.tid +2 -2
- package/languages/fr-FR/Types/image_jpeg.tid +1 -1
- package/languages/fr-FR/Types/image_png.tid +1 -1
- package/languages/fr-FR/Types/image_svg_xml.tid +1 -1
- package/languages/fr-FR/Types/image_x-icon.tid +1 -1
- package/languages/fr-FR/Types/text_css.tid +2 -2
- package/languages/fr-FR/Types/text_html.tid +2 -2
- package/languages/fr-FR/Types/text_plain.tid +2 -2
- package/languages/fr-FR/Types/text_vnd.tiddlywiki.tid +2 -2
- package/languages/fr-FR/Types/text_x-tiddlywiki.tid +1 -1
- package/languages/mk-MK/Buttons.multids +195 -0
- package/languages/mk-MK/ControlPanel.multids +231 -0
- package/languages/mk-MK/CoreReadMe.tid +8 -0
- package/languages/mk-MK/Dates.multids +87 -0
- package/languages/mk-MK/Docs/ModuleTypes.multids +30 -0
- package/languages/mk-MK/Docs/PaletteColours.multids +109 -0
- package/languages/mk-MK/EditTemplate.multids +38 -0
- package/languages/mk-MK/Exporters.multids +6 -0
- package/languages/mk-MK/Fields.multids +43 -0
- package/languages/mk-MK/Filters.multids +16 -0
- package/languages/mk-MK/GettingStarted.tid +18 -0
- package/languages/mk-MK/Help/build.tid +11 -0
- package/languages/mk-MK/Help/clearpassword.tid +8 -0
- package/languages/mk-MK/Help/commands.tid +18 -0
- package/languages/mk-MK/Help/default.tid +26 -0
- package/languages/mk-MK/Help/deletetiddlers.tid +8 -0
- package/languages/mk-MK/Help/editions.tid +8 -0
- package/languages/mk-MK/Help/fetch.tid +38 -0
- package/languages/mk-MK/Help/help.tid +10 -0
- package/languages/mk-MK/Help/import.tid +24 -0
- package/languages/mk-MK/Help/init.tid +23 -0
- package/languages/mk-MK/Help/listen.tid +35 -0
- package/languages/mk-MK/Help/load.tid +19 -0
- package/languages/mk-MK/Help/makelibrary.tid +14 -0
- package/languages/mk-MK/Help/notfound.tid +4 -0
- package/languages/mk-MK/Help/output.tid +11 -0
- package/languages/mk-MK/Help/password.tid +10 -0
- package/languages/mk-MK/Help/render.tid +35 -0
- package/languages/mk-MK/Help/rendertiddler.tid +24 -0
- package/languages/mk-MK/Help/rendertiddlers.tid +20 -0
- package/languages/mk-MK/Help/save.tid +25 -0
- package/languages/mk-MK/Help/savetiddler.tid +14 -0
- package/languages/mk-MK/Help/savetiddlers.tid +16 -0
- package/languages/mk-MK/Help/savewikifolder.tid +34 -0
- package/languages/mk-MK/Help/server.tid +43 -0
- package/languages/mk-MK/Help/setfield.tid +17 -0
- package/languages/mk-MK/Help/unpackplugin.tid +8 -0
- package/languages/mk-MK/Help/verbose.tid +8 -0
- package/languages/mk-MK/Help/version.tid +8 -0
- package/languages/mk-MK/Import.multids +34 -0
- package/languages/mk-MK/Misc.multids +99 -0
- package/languages/mk-MK/Modals/Download.tid +13 -0
- package/languages/mk-MK/NewJournal.multids +5 -0
- package/languages/mk-MK/Notifications.multids +6 -0
- package/languages/mk-MK/Search.multids +20 -0
- package/languages/mk-MK/SideBar.multids +18 -0
- package/languages/mk-MK/SiteSubtitle.tid +3 -0
- package/languages/mk-MK/SiteTitle.tid +3 -0
- package/languages/mk-MK/Snippets/ListByTag.tid +5 -0
- package/languages/mk-MK/Snippets/MacroDefinition.tid +7 -0
- package/languages/mk-MK/Snippets/Table4x3.tid +8 -0
- package/languages/mk-MK/Snippets/TableOfContents.tid +9 -0
- package/languages/mk-MK/ThemeTweaks.multids +42 -0
- package/languages/mk-MK/TiddlerInfo.multids +21 -0
- package/languages/mk-MK/Types/application%2Fjavascript.tid +4 -0
- package/languages/mk-MK/Types/application%2Fjson.tid +4 -0
- package/languages/mk-MK/Types/application%2Fx-tiddler-dictionary.tid +4 -0
- package/languages/mk-MK/Types/image%2Fgif.tid +4 -0
- package/languages/mk-MK/Types/image%2Fjpeg.tid +4 -0
- package/languages/mk-MK/Types/image%2Fpng.tid +4 -0
- package/languages/mk-MK/Types/image%2Fsvg%2Bxml.tid +4 -0
- package/languages/mk-MK/Types/image%2Fx-icon.tid +4 -0
- package/languages/mk-MK/Types/text%2Fcss.tid +4 -0
- package/languages/mk-MK/Types/text%2Fhtml.tid +4 -0
- package/languages/mk-MK/Types/text%2Fplain.tid +4 -0
- package/languages/mk-MK/Types/text%2Fvnd.tiddlywiki.tid +4 -0
- package/languages/mk-MK/Types/text%2Fx-tiddlywiki.tid +4 -0
- package/languages/mk-MK/icon.tid +8 -0
- package/languages/mk-MK/plugin.info +8 -0
- package/languages/pl-PL/Dates.multids +41 -41
- package/languages/zh-Hans/Buttons.multids +3 -0
- package/languages/zh-Hans/ControlPanel.multids +6 -0
- package/languages/zh-Hans/Docs/ModuleTypes.multids +1 -1
- package/languages/zh-Hans/Docs/PaletteColours.multids +7 -0
- package/languages/zh-Hans/Fields.multids +2 -0
- package/languages/zh-Hans/Misc.multids +3 -3
- package/languages/zh-Hant/Buttons.multids +3 -0
- package/languages/zh-Hant/ControlPanel.multids +6 -0
- package/languages/zh-Hant/Docs/ModuleTypes.multids +1 -1
- package/languages/zh-Hant/Docs/PaletteColours.multids +7 -0
- package/languages/zh-Hant/Fields.multids +2 -0
- package/languages/zh-Hant/Misc.multids +2 -2
- package/license +1 -1
- package/licenses/cla-individual.md +22 -0
- package/package.json +1 -1
- package/plugins/tiddlywiki/async/plugin.info +2 -1
- package/plugins/tiddlywiki/aws/plugin.info +2 -1
- package/plugins/tiddlywiki/aws/templates/lambda/sjcl.tid +2 -2
- package/plugins/tiddlywiki/bibtex/plugin.info +2 -1
- package/plugins/tiddlywiki/blog/plugin.info +2 -1
- package/plugins/tiddlywiki/browser-sniff/plugin.info +2 -1
- package/plugins/tiddlywiki/browser-storage/plugin.info +2 -1
- package/plugins/tiddlywiki/cecily/plugin.info +2 -1
- package/plugins/tiddlywiki/classictools/modules/recipe.js +9 -0
- package/plugins/tiddlywiki/classictools/plugin.info +2 -1
- package/plugins/tiddlywiki/classictools/templates/tiddlywiki2.externaljs.template.html.tid +4 -4
- package/plugins/tiddlywiki/classictools/templates/tiddlywiki2.template.html.tid +21 -21
- package/plugins/tiddlywiki/codemirror/plugin.info +2 -1
- package/plugins/tiddlywiki/codemirror-autocomplete/plugin.info +2 -1
- package/plugins/tiddlywiki/codemirror-closebrackets/plugin.info +2 -1
- package/plugins/tiddlywiki/codemirror-closetag/plugin.info +2 -1
- package/plugins/tiddlywiki/codemirror-fullscreen-editing/plugin.info +2 -1
- package/plugins/tiddlywiki/codemirror-keymap-emacs/plugin.info +2 -1
- package/plugins/tiddlywiki/codemirror-keymap-sublime-text/plugin.info +2 -1
- package/plugins/tiddlywiki/codemirror-keymap-vim/plugin.info +2 -1
- package/plugins/tiddlywiki/codemirror-mode-css/plugin.info +2 -1
- package/plugins/tiddlywiki/codemirror-mode-htmlembedded/plugin.info +2 -1
- package/plugins/tiddlywiki/codemirror-mode-htmlmixed/plugin.info +2 -1
- package/plugins/tiddlywiki/codemirror-mode-javascript/plugin.info +2 -1
- package/plugins/tiddlywiki/codemirror-mode-markdown/plugin.info +2 -1
- package/plugins/tiddlywiki/codemirror-mode-x-tiddlywiki/plugin.info +2 -1
- package/plugins/tiddlywiki/codemirror-mode-xml/plugin.info +2 -1
- package/plugins/tiddlywiki/codemirror-search-replace/plugin.info +2 -1
- package/plugins/tiddlywiki/codemirror-trailingspace/plugin.info +2 -1
- package/plugins/tiddlywiki/comments/plugin.info +2 -1
- package/plugins/tiddlywiki/confetti/confetti-manager.js +56 -0
- package/plugins/tiddlywiki/confetti/confetti-widget.js +67 -0
- package/plugins/tiddlywiki/confetti/examples/staggered.tid +10 -0
- package/plugins/tiddlywiki/confetti/examples/typing-trigger.tid +10 -0
- package/plugins/tiddlywiki/confetti/files/LICENSE +15 -0
- package/plugins/tiddlywiki/confetti/files/confetti.js +626 -0
- package/plugins/tiddlywiki/confetti/files/tiddlywiki.files +20 -0
- package/plugins/tiddlywiki/confetti/plugin.info +7 -0
- package/plugins/tiddlywiki/confetti/readme.tid +65 -0
- package/plugins/tiddlywiki/confetti/startup.js +63 -0
- package/plugins/tiddlywiki/consent-banner/plugin.info +2 -1
- package/plugins/tiddlywiki/d3/plugin.info +2 -1
- package/plugins/tiddlywiki/dynannotate/docs/readme.tid +10 -0
- package/plugins/tiddlywiki/dynannotate/examples/spotlight.tid +71 -0
- package/plugins/tiddlywiki/dynannotate/modules/element-spotlight.js +136 -0
- package/plugins/tiddlywiki/dynannotate/modules/startup.js +24 -1
- package/plugins/tiddlywiki/dynannotate/plugin.info +2 -1
- package/plugins/tiddlywiki/dynannotate/styles.tid +17 -0
- package/plugins/tiddlywiki/dynaview/plugin.info +2 -1
- package/plugins/tiddlywiki/evernote/plugin.info +2 -1
- package/plugins/tiddlywiki/external-attachments/plugin.info +2 -1
- package/plugins/tiddlywiki/filesystem/plugin.info +2 -1
- package/plugins/tiddlywiki/freelinks/plugin.info +2 -1
- package/plugins/tiddlywiki/geospatial/baselayers/TagsGeoBaseLayer.tid +2 -0
- package/plugins/tiddlywiki/geospatial/baselayers/esri-world-imagery.tid +7 -0
- package/plugins/tiddlywiki/geospatial/baselayers/openstreetmap.tid +7 -0
- package/plugins/tiddlywiki/geospatial/baselayers/opentopomap.tid +7 -0
- package/plugins/tiddlywiki/geospatial/docs/flickr.tid +141 -0
- package/plugins/tiddlywiki/geospatial/docs/geobaselayer.tid +20 -0
- package/plugins/tiddlywiki/geospatial/docs/geodifference.tid +20 -0
- package/plugins/tiddlywiki/geospatial/docs/geodistance.tid +14 -0
- package/plugins/tiddlywiki/geospatial/docs/geointersect.tid +20 -0
- package/plugins/tiddlywiki/geospatial/docs/geolayer.tid +24 -0
- package/plugins/tiddlywiki/geospatial/docs/geolocation.tid +92 -0
- package/plugins/tiddlywiki/geospatial/docs/geolookup.tid +16 -0
- package/plugins/tiddlywiki/geospatial/docs/geomap.tid +122 -0
- package/plugins/tiddlywiki/geospatial/docs/geonearestpoint.tid +19 -0
- package/plugins/tiddlywiki/geospatial/docs/geopoint.tid +22 -0
- package/plugins/tiddlywiki/geospatial/docs/geounion.tid +20 -0
- package/plugins/tiddlywiki/geospatial/docs/olc-decode.tid +14 -0
- package/plugins/tiddlywiki/geospatial/docs/olc-encode.tid +14 -0
- package/plugins/tiddlywiki/geospatial/docs.tid +3 -0
- package/plugins/tiddlywiki/geospatial/files/leaflet.js/LICENSE +26 -0
- package/plugins/tiddlywiki/geospatial/files/leaflet.js/images/layers-2x.png +0 -0
- package/plugins/tiddlywiki/geospatial/files/leaflet.js/images/layers.png +0 -0
- package/plugins/tiddlywiki/geospatial/files/leaflet.js/images/marker-icon-2x.png +0 -0
- package/plugins/tiddlywiki/geospatial/files/leaflet.js/images/marker-icon.png +0 -0
- package/plugins/tiddlywiki/geospatial/files/leaflet.js/images/marker-shadow.png +0 -0
- package/plugins/tiddlywiki/geospatial/files/leaflet.js/leaflet-src.js +14512 -0
- package/plugins/tiddlywiki/geospatial/files/leaflet.js/leaflet-src.js.map +1 -0
- package/plugins/tiddlywiki/geospatial/files/leaflet.js/leaflet.css +661 -0
- package/plugins/tiddlywiki/geospatial/files/leaflet.js/leaflet.js +6 -0
- package/plugins/tiddlywiki/geospatial/files/leaflet.js/leaflet.js.map +1 -0
- package/plugins/tiddlywiki/geospatial/files/leaflet.js/tiddlywiki.files +34 -0
- package/plugins/tiddlywiki/geospatial/files/leaflet.markercluster/MIT-LICENCE.txt +20 -0
- package/plugins/tiddlywiki/geospatial/files/leaflet.markercluster/MarkerCluster.Default.css +60 -0
- package/plugins/tiddlywiki/geospatial/files/leaflet.markercluster/MarkerCluster.css +14 -0
- package/plugins/tiddlywiki/geospatial/files/leaflet.markercluster/leaflet.markercluster-src.js +2718 -0
- package/plugins/tiddlywiki/geospatial/files/leaflet.markercluster/leaflet.markercluster-src.js.map +1 -0
- package/plugins/tiddlywiki/geospatial/files/leaflet.markercluster/leaflet.markercluster.js +2 -0
- package/plugins/tiddlywiki/geospatial/files/leaflet.markercluster/leaflet.markercluster.js.map +1 -0
- package/plugins/tiddlywiki/geospatial/files/leaflet.markercluster/tiddlywiki.files +41 -0
- package/plugins/tiddlywiki/geospatial/files/open-location-code/LICENSE +202 -0
- package/plugins/tiddlywiki/geospatial/files/open-location-code/openlocationcode.js +695 -0
- package/plugins/tiddlywiki/geospatial/files/open-location-code/openlocationcode.min.js +1 -0
- package/plugins/tiddlywiki/geospatial/files/open-location-code/tiddlywiki.files +21 -0
- package/plugins/tiddlywiki/geospatial/files/turf.js/LICENSE +20 -0
- package/plugins/tiddlywiki/geospatial/files/turf.js/tiddlywiki.files +21 -0
- package/plugins/tiddlywiki/geospatial/files/turf.js/turf.6.5.0.js +88 -0
- package/plugins/tiddlywiki/geospatial/geotools.js +41 -0
- package/plugins/tiddlywiki/geospatial/helpers/Flickr.tid +99 -0
- package/plugins/tiddlywiki/geospatial/helpers/FlickrDefaultPhotoTemplate.tid +11 -0
- package/plugins/tiddlywiki/geospatial/icon.tid +6 -0
- package/plugins/tiddlywiki/geospatial/images/markers/pin.svg +9 -0
- package/plugins/tiddlywiki/geospatial/images/markers/pin.svg.meta +2 -0
- package/plugins/tiddlywiki/geospatial/license.tid +10 -0
- package/plugins/tiddlywiki/geospatial/operators/helper.js +24 -0
- package/plugins/tiddlywiki/geospatial/operators/lookup.js +45 -0
- package/plugins/tiddlywiki/geospatial/operators/measurement.js +54 -0
- package/plugins/tiddlywiki/geospatial/operators/olc.js +55 -0
- package/plugins/tiddlywiki/geospatial/operators/transformation.js +88 -0
- package/plugins/tiddlywiki/geospatial/plugin.info +7 -0
- package/plugins/tiddlywiki/geospatial/readme.tid +13 -0
- package/plugins/tiddlywiki/geospatial/settings.tid +24 -0
- package/plugins/tiddlywiki/geospatial/startup.js +78 -0
- package/plugins/tiddlywiki/geospatial/styles.tid +10 -0
- package/plugins/tiddlywiki/geospatial/tests/operators/geodifference-interactive.tid +63 -0
- package/plugins/tiddlywiki/geospatial/tests/operators/geodifference.tid +54 -0
- package/plugins/tiddlywiki/geospatial/tests/operators/geodistance.tid +30 -0
- package/plugins/tiddlywiki/geospatial/tests/operators/geointersect-interactive.tid +63 -0
- package/plugins/tiddlywiki/geospatial/tests/operators/geointersect.tid +54 -0
- package/plugins/tiddlywiki/geospatial/tests/operators/geolookup.tid +64 -0
- package/plugins/tiddlywiki/geospatial/tests/operators/geonearestpoint.tid +28 -0
- package/plugins/tiddlywiki/geospatial/tests/operators/geonearestpoint2.tid +45 -0
- package/plugins/tiddlywiki/geospatial/tests/operators/geopoint.tid +21 -0
- package/plugins/tiddlywiki/geospatial/tests/operators/geounion-interactive.tid +63 -0
- package/plugins/tiddlywiki/geospatial/tests/operators/geounion.tid +54 -0
- package/plugins/tiddlywiki/geospatial/tests/operators/olc-decode.tid +20 -0
- package/plugins/tiddlywiki/geospatial/tests/operators/olc-encode.tid +20 -0
- package/plugins/tiddlywiki/geospatial/tests/widgets/geomap-draggable-marker.tid +40 -0
- package/plugins/tiddlywiki/geospatial/tests/widgets/geomap-refresh.tid +62 -0
- package/plugins/tiddlywiki/geospatial/tests/widgets/geomap.tid +54 -0
- package/plugins/tiddlywiki/geospatial/widgets/geobaselayer.js +17 -0
- package/plugins/tiddlywiki/geospatial/widgets/geolayer.js +17 -0
- package/plugins/tiddlywiki/geospatial/widgets/geomap.js +301 -0
- package/plugins/tiddlywiki/github-fork-ribbon/plugin.info +2 -1
- package/plugins/tiddlywiki/github-fork-ribbon/readme.tid +2 -4
- package/plugins/tiddlywiki/github-fork-ribbon/styles.tid +10 -11
- package/plugins/tiddlywiki/github-fork-ribbon/template.tid +26 -0
- package/plugins/tiddlywiki/github-fork-ribbon/usage.tid +79 -24
- package/plugins/tiddlywiki/googleanalytics/plugin.info +2 -1
- package/plugins/tiddlywiki/hammerjs/plugin.info +2 -1
- package/plugins/tiddlywiki/help/plugin.info +2 -1
- package/plugins/tiddlywiki/highlight/files/tiddlywiki.files +0 -1
- package/plugins/tiddlywiki/highlight/plugin.info +2 -1
- package/plugins/tiddlywiki/highlight-legacy/plugin.info +2 -1
- package/plugins/tiddlywiki/innerwiki/anchor.js +17 -0
- package/plugins/tiddlywiki/innerwiki/innerwiki.js +6 -66
- package/plugins/tiddlywiki/innerwiki/plugin.info +2 -1
- package/plugins/tiddlywiki/internals/plugin.info +2 -1
- package/plugins/tiddlywiki/jasmine/plugin.info +2 -1
- package/plugins/tiddlywiki/jasmine/run-wiki-based-tests.js +21 -18
- package/plugins/tiddlywiki/jszip/plugin.info +2 -1
- package/plugins/tiddlywiki/katex/plugin.info +2 -1
- package/plugins/tiddlywiki/markdown/plugin.info +2 -1
- package/plugins/tiddlywiki/markdown-legacy/plugin.info +2 -1
- package/plugins/tiddlywiki/menubar/items/pagecontrols.tid +9 -10
- package/plugins/tiddlywiki/menubar/plugin.info +2 -1
- package/plugins/tiddlywiki/mobiledragdrop/plugin.info +2 -1
- package/plugins/tiddlywiki/nodewebkitsaver/plugin.info +2 -1
- package/plugins/tiddlywiki/pluginlibrary/plugin.info +2 -1
- package/plugins/tiddlywiki/powered-by-tiddlywiki/plugin.info +2 -1
- package/plugins/tiddlywiki/qrcode/plugin.info +2 -1
- package/plugins/tiddlywiki/railroad/plugin.info +2 -1
- package/plugins/tiddlywiki/savetrail/plugin.info +2 -1
- package/plugins/tiddlywiki/sax/plugin.info +2 -1
- package/plugins/tiddlywiki/share/plugin.info +2 -1
- package/plugins/tiddlywiki/stacked-view/plugin.info +2 -1
- package/plugins/tiddlywiki/tahoelafs/plugin.info +2 -1
- package/plugins/tiddlywiki/text-slicer/plugin.info +2 -1
- package/plugins/tiddlywiki/tiddlyweb/configOfficialPluginLibrary.tid +1 -1
- package/plugins/tiddlywiki/tiddlyweb/plugin.info +2 -1
- package/plugins/tiddlywiki/tour/config-AutoStartTour.tid +2 -0
- package/plugins/tiddlywiki/tour/config-CurrentTour.tid +2 -0
- package/plugins/tiddlywiki/tour/config-DefaultColourMappings.multids +31 -0
- package/plugins/tiddlywiki/tour/config-ShowTour.tid +2 -0
- package/plugins/tiddlywiki/tour/docs.tid +25 -0
- package/plugins/tiddlywiki/tour/images/tour-button-icon.tid +9 -0
- package/plugins/tiddlywiki/tour/plugin.info +8 -0
- package/plugins/tiddlywiki/tour/readme.tid +3 -0
- package/plugins/tiddlywiki/tour/settings.tid +154 -0
- package/plugins/tiddlywiki/tour/simplified-tiddler-with-tags.tid +106 -0
- package/plugins/tiddlywiki/tour/simplified-tiddler.tid +22 -0
- package/plugins/tiddlywiki/tour/start-tour-button.tid +18 -0
- package/plugins/tiddlywiki/tour/startup-actions.tid +7 -0
- package/plugins/tiddlywiki/tour/styles.tid +262 -0
- package/plugins/tiddlywiki/tour/tour-panel.tid +104 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/config/ProductName.tid +2 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/data/tiddlers-GasGiant.tid +4 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/data/tiddlers-Jupiter.tid +5 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/data/tiddlers-Mars.tid +5 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/data/tiddlers-Planet.tid +4 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/data/tiddlers-Rocky.tid +4 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/data/tiddlers-Saturn.tid +5 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/images/tiddlywiki-tour-logo.svg +28 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/images/tiddlywiki-tour-logo.svg.meta +2 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/introduction-to-tiddlywiki.tid +8 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/settings.tid +4 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/steps/close-control-panel.tid +9 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/steps/closing-tiddlers.tid +25 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/steps/create-tiddler.tid +11 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/steps/end-of-fullscreen.tid +10 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/steps/finished.tid +13 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/steps/links.tid +23 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/steps/open-control-panel.tid +9 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/steps/recent.tid +9 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/steps/search.tid +9 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/steps/tags.tid +26 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/steps/tiddlers.tid +16 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/steps/welcome.tid +10 -0
- package/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/tagsTourIntroductionToTiddlyWiki.tid +2 -0
- package/plugins/tiddlywiki/tour/variables.tid +104 -0
- package/plugins/tiddlywiki/translators/plugin.info +2 -1
- package/plugins/tiddlywiki/tw2parser/plugin.info +2 -1
- package/plugins/tiddlywiki/tw5.com-docs/plugin.info +2 -1
- package/plugins/tiddlywiki/tw5.com-docs/readme.tid +7 -0
- package/plugins/tiddlywiki/twitter/plugin.info +2 -1
- package/plugins/tiddlywiki/twitter-archivist/plugin.info +2 -1
- package/plugins/tiddlywiki/upgrade/plugin.info +2 -1
- package/plugins/tiddlywiki/xlsx-utils/plugin.info +2 -1
- package/plugins/tiddlywiki/xmldom/plugin.info +2 -1
- package/readme.md +6 -6
- package/themes/tiddlywiki/vanilla/base.tid +212 -9
- package/themes/tiddlywiki/vanilla/reset.tid +61 -85
- package/boot/sjcl.js.meta +0 -3
- package/core/modules/indexers/backlinks-index.js +0 -86
- package/editions/es-ES/tiddlers/$__StoryList.tid +0 -6
- package/editions/tw.org/tiddlers/$__StoryList.tid +0 -3
- package/editions/tw5.com/tiddlers/$__StoryList.tid +0 -5
- package/plugins/tiddlywiki/innerwiki/data.js +0 -58
- /package/editions/fr-FR/tiddlers/community/editions/{_Noteself_ by Danielo Rodr/303/255guez.tid" → _Noteself_ by Danielo Rodriguez.tid} +0 -0
- /package/editions/test/tiddlers/tests/data/macros/{NestedMacros-indented.tid → nested-macros/NestedMacros-indented.tid} +0 -0
- /package/editions/test/tiddlers/tests/data/macros/{NestedMacros-indented2.tid → nested-macros/NestedMacros-indented2.tid} +0 -0
- /package/editions/test/tiddlers/tests/data/macros/{NestedMacros.tid → nested-macros/NestedMacros.tid} +0 -0
- /package/editions/test/tiddlers/tests/data/macros/{TrailingNewlines.tid → trailing-newlines/TrailingNewlines.tid} +0 -0
- /package/editions/tw5.com/tiddlers/{Tables in WikiText CSS Utility Classes.tid → wikitext/Tables in WikiText CSS Utility Classes.tid} +0 -0
@@ -3,30 +3,7 @@ title: $:/core/modules/parsers/wikiparser/rules/quoteblock.js
|
|
3
3
|
type: application/javascript
|
4
4
|
module-type: wikirule
|
5
5
|
|
6
|
-
Wiki text rule for quote blocks.
|
7
|
-
|
8
|
-
```
|
9
|
-
<<<.optionalClass(es) optional cited from
|
10
|
-
a quote
|
11
|
-
<<<
|
12
|
-
|
13
|
-
<<<.optionalClass(es)
|
14
|
-
a quote
|
15
|
-
<<< optional cited from
|
16
|
-
```
|
17
|
-
|
18
|
-
Quotes can be quoted by putting more <s
|
19
|
-
|
20
|
-
```
|
21
|
-
<<<
|
22
|
-
Quote Level 1
|
23
|
-
|
24
|
-
<<<<
|
25
|
-
QuoteLevel 2
|
26
|
-
<<<<
|
27
|
-
|
28
|
-
<<<
|
29
|
-
```
|
6
|
+
Wiki text rule for quote blocks.
|
30
7
|
|
31
8
|
\*/
|
32
9
|
(function(){
|
@@ -47,33 +24,42 @@ exports.init = function(parser) {
|
|
47
24
|
exports.parse = function() {
|
48
25
|
var classes = ["tc-quote"];
|
49
26
|
// Get all the details of the match
|
50
|
-
var reEndString = "
|
27
|
+
var reEndString = "^\\s*" + this.match[1] + "(?!<)";
|
51
28
|
// Move past the <s
|
52
29
|
this.parser.pos = this.matchRegExp.lastIndex;
|
53
|
-
|
54
30
|
// Parse any classes, whitespace and then the optional cite itself
|
31
|
+
var classStart = this.parser.pos;
|
55
32
|
classes.push.apply(classes, this.parser.parseClasses());
|
33
|
+
var classEnd = this.parser.pos;
|
56
34
|
this.parser.skipWhitespace({treatNewlinesAsNonWhitespace: true});
|
35
|
+
var citeStart = this.parser.pos;
|
57
36
|
var cite = this.parser.parseInlineRun(/(\r?\n)/mg);
|
37
|
+
var citeEnd = this.parser.pos;
|
58
38
|
// before handling the cite, parse the body of the quote
|
59
|
-
var tree= this.parser.parseBlocks(reEndString);
|
39
|
+
var tree = this.parser.parseBlocks(reEndString);
|
60
40
|
// If we got a cite, put it before the text
|
61
41
|
if(cite.length > 0) {
|
62
42
|
tree.unshift({
|
63
43
|
type: "element",
|
64
44
|
tag: "cite",
|
65
|
-
children: cite
|
45
|
+
children: cite,
|
46
|
+
start: citeStart,
|
47
|
+
end: citeEnd
|
66
48
|
});
|
67
49
|
}
|
68
50
|
// Parse any optional cite
|
69
51
|
this.parser.skipWhitespace({treatNewlinesAsNonWhitespace: true});
|
52
|
+
citeStart = this.parser.pos;
|
70
53
|
cite = this.parser.parseInlineRun(/(\r?\n)/mg);
|
54
|
+
citeEnd = this.parser.pos;
|
71
55
|
// If we got a cite, push it
|
72
56
|
if(cite.length > 0) {
|
73
57
|
tree.push({
|
74
58
|
type: "element",
|
75
59
|
tag: "cite",
|
76
|
-
children: cite
|
60
|
+
children: cite,
|
61
|
+
start: citeStart,
|
62
|
+
end: citeEnd
|
77
63
|
});
|
78
64
|
}
|
79
65
|
// Return the blockquote element
|
@@ -81,7 +67,7 @@ exports.parse = function() {
|
|
81
67
|
type: "element",
|
82
68
|
tag: "blockquote",
|
83
69
|
attributes: {
|
84
|
-
class: { type: "string", value: classes.join(" ") },
|
70
|
+
class: { type: "string", value: classes.join(" "), start: classStart, end: classEnd },
|
85
71
|
},
|
86
72
|
children: tree
|
87
73
|
}];
|
@@ -29,10 +29,11 @@ exports.init = function(parser) {
|
|
29
29
|
exports.parse = function() {
|
30
30
|
var match = this.match[0];
|
31
31
|
// Move past the match
|
32
|
+
var start = this.parser.pos;
|
32
33
|
this.parser.pos = this.matchRegExp.lastIndex;
|
33
34
|
// Create the link unless it is suppressed
|
34
35
|
if(match.substr(0,1) === "~") {
|
35
|
-
return [{type: "text", text: match.substr(1)}];
|
36
|
+
return [{type: "text", text: match.substr(1), start: start+1, end: this.parser.pos}];
|
36
37
|
} else {
|
37
38
|
return [{
|
38
39
|
type: "link",
|
@@ -41,10 +42,12 @@ exports.parse = function() {
|
|
41
42
|
},
|
42
43
|
children: [{
|
43
44
|
type: "text",
|
44
|
-
text: match
|
45
|
+
text: match,
|
46
|
+
start: start,
|
47
|
+
end: this.parser.pos
|
45
48
|
}]
|
46
49
|
}];
|
47
50
|
}
|
48
51
|
};
|
49
52
|
|
50
|
-
})();
|
53
|
+
})();
|
@@ -150,7 +150,7 @@ exports.parse = function() {
|
|
150
150
|
} else {
|
151
151
|
// Otherwise, create a new row if this one is of a different type
|
152
152
|
if(rowType !== currRowType) {
|
153
|
-
rowContainer = {type: "element", tag: rowContainerTypes[rowType], children: []};
|
153
|
+
rowContainer = {type: "element", tag: rowContainerTypes[rowType], children: [], start: this.parser.pos, end: this.parser.pos};
|
154
154
|
table.children.push(rowContainer);
|
155
155
|
currRowType = rowType;
|
156
156
|
}
|
@@ -178,6 +178,7 @@ exports.parse = function() {
|
|
178
178
|
// Increment the row count
|
179
179
|
rowCount++;
|
180
180
|
}
|
181
|
+
rowContainer.end = this.parser.pos;
|
181
182
|
}
|
182
183
|
rowMatch = rowRegExp.exec(this.parser.source);
|
183
184
|
}
|
@@ -46,6 +46,7 @@ exports.parse = function() {
|
|
46
46
|
renderType = this.match[2];
|
47
47
|
// Move past the match
|
48
48
|
this.parser.pos = this.matchRegExp.lastIndex;
|
49
|
+
var start = this.parser.pos;
|
49
50
|
// Look for the end of the block
|
50
51
|
reEnd.lastIndex = this.parser.pos;
|
51
52
|
var match = reEnd.exec(this.parser.source),
|
@@ -74,7 +75,9 @@ exports.parse = function() {
|
|
74
75
|
tag: "pre",
|
75
76
|
children: [{
|
76
77
|
type: "text",
|
77
|
-
text: text
|
78
|
+
text: text,
|
79
|
+
start: start,
|
80
|
+
end: this.parser.pos
|
78
81
|
}]
|
79
82
|
}];
|
80
83
|
}
|
@@ -36,6 +36,7 @@ exports.parse = function() {
|
|
36
36
|
// Get the details of the match
|
37
37
|
var linkText = this.match[0];
|
38
38
|
// Move past the macro call
|
39
|
+
var start = this.parser.pos;
|
39
40
|
this.parser.pos = this.matchRegExp.lastIndex;
|
40
41
|
// If the link starts with the unwikilink character then just output it as plain text
|
41
42
|
if(linkText.substr(0,1) === $tw.config.textPrimitives.unWikiLink) {
|
@@ -57,7 +58,9 @@ exports.parse = function() {
|
|
57
58
|
},
|
58
59
|
children: [{
|
59
60
|
type: "text",
|
60
|
-
text: linkText
|
61
|
+
text: linkText,
|
62
|
+
start: start,
|
63
|
+
end: this.parser.pos
|
61
64
|
}]
|
62
65
|
}];
|
63
66
|
};
|
@@ -91,6 +91,11 @@ var WikiParser = function(type,text,options) {
|
|
91
91
|
} else {
|
92
92
|
topBranch.push.apply(topBranch,this.parseBlocks());
|
93
93
|
}
|
94
|
+
// Build rules' name map
|
95
|
+
this.usingRuleMap = {};
|
96
|
+
$tw.utils.each(this.pragmaRules, function (ruleInfo) { self.usingRuleMap[ruleInfo.rule.name] = Object.getPrototypeOf(ruleInfo.rule); });
|
97
|
+
$tw.utils.each(this.blockRules, function (ruleInfo) { self.usingRuleMap[ruleInfo.rule.name] = Object.getPrototypeOf(ruleInfo.rule); });
|
98
|
+
$tw.utils.each(this.inlineRules, function (ruleInfo) { self.usingRuleMap[ruleInfo.rule.name] = Object.getPrototypeOf(ruleInfo.rule); });
|
94
99
|
// Return the parse tree
|
95
100
|
};
|
96
101
|
|
@@ -209,8 +214,13 @@ WikiParser.prototype.parsePragmas = function() {
|
|
209
214
|
break;
|
210
215
|
}
|
211
216
|
// Process the pragma rule
|
217
|
+
var start = this.pos;
|
212
218
|
var subTree = nextMatch.rule.parse();
|
213
219
|
if(subTree.length > 0) {
|
220
|
+
// Set the start and end positions of the pragma rule if
|
221
|
+
if (subTree[0].start === undefined) subTree[0].start = start;
|
222
|
+
if (subTree[subTree.length - 1].end === undefined) subTree[subTree.length - 1].end = this.pos;
|
223
|
+
$tw.utils.each(subTree, function (node) { node.rule = nextMatch.rule.name; });
|
214
224
|
// Quick hack; we only cope with a single parse tree node being returned, which is true at the moment
|
215
225
|
currentTreeBranch.push.apply(currentTreeBranch,subTree);
|
216
226
|
subTree[0].children = [];
|
@@ -235,7 +245,15 @@ WikiParser.prototype.parseBlock = function(terminatorRegExpString) {
|
|
235
245
|
// Look for a block rule that applies at the current position
|
236
246
|
var nextMatch = this.findNextMatch(this.blockRules,this.pos);
|
237
247
|
if(nextMatch && nextMatch.matchIndex === this.pos) {
|
238
|
-
|
248
|
+
var start = this.pos;
|
249
|
+
var subTree = nextMatch.rule.parse();
|
250
|
+
// Set the start and end positions of the first and last blocks if they're not already set
|
251
|
+
if (subTree.length > 0) {
|
252
|
+
if (subTree[0].start === undefined) subTree[0].start = start;
|
253
|
+
if (subTree[subTree.length - 1].end === undefined) subTree[subTree.length - 1].end = this.pos;
|
254
|
+
}
|
255
|
+
$tw.utils.each(subTree, function (node) { node.rule = nextMatch.rule.name; });
|
256
|
+
return subTree;
|
239
257
|
}
|
240
258
|
// Treat it as a paragraph if we didn't find a block rule
|
241
259
|
var start = this.pos;
|
@@ -332,7 +350,16 @@ WikiParser.prototype.parseInlineRunUnterminated = function(options) {
|
|
332
350
|
this.pos = nextMatch.matchIndex;
|
333
351
|
}
|
334
352
|
// Process the run rule
|
335
|
-
|
353
|
+
var start = this.pos;
|
354
|
+
var subTree = nextMatch.rule.parse();
|
355
|
+
// Set the start and end positions of the first and last child if they're not already set
|
356
|
+
if (subTree.length > 0) {
|
357
|
+
// Set the start and end positions of the first and last child if they're not already set
|
358
|
+
if (subTree[0].start === undefined) subTree[0].start = start;
|
359
|
+
if (subTree[subTree.length - 1].end === undefined) subTree[subTree.length - 1].end = this.pos;
|
360
|
+
}
|
361
|
+
$tw.utils.each(subTree, function (node) { node.rule = nextMatch.rule.name; });
|
362
|
+
tree.push.apply(tree,subTree);
|
336
363
|
// Look for the next run rule
|
337
364
|
nextMatch = this.findNextMatch(this.inlineRules,this.pos);
|
338
365
|
}
|
@@ -383,7 +410,15 @@ WikiParser.prototype.parseInlineRunTerminatedExtended = function(terminatorRegEx
|
|
383
410
|
this.pos = inlineRuleMatch.matchIndex;
|
384
411
|
}
|
385
412
|
// Process the inline rule
|
386
|
-
|
413
|
+
var start = this.pos;
|
414
|
+
var subTree = inlineRuleMatch.rule.parse();
|
415
|
+
// Set the start and end positions of the first and last child if they're not already set
|
416
|
+
if (subTree.length > 0) {
|
417
|
+
if (subTree[0].start === undefined) subTree[0].start = start;
|
418
|
+
if (subTree[subTree.length - 1].end === undefined) subTree[subTree.length - 1].end = this.pos;
|
419
|
+
}
|
420
|
+
$tw.utils.each(subTree, function (node) { node.rule = inlineRuleMatch.rule.name; });
|
421
|
+
tree.push.apply(tree,subTree);
|
387
422
|
// Look for the next inline rule
|
388
423
|
inlineRuleMatch = this.findNextMatch(this.inlineRules,this.pos);
|
389
424
|
// Look for the next terminator match
|
@@ -409,7 +444,7 @@ WikiParser.prototype.pushTextWidget = function(array,text,start,end) {
|
|
409
444
|
text = $tw.utils.trim(text);
|
410
445
|
}
|
411
446
|
if(text) {
|
412
|
-
array.push({type: "text", text: text, start: start, end: end});
|
447
|
+
array.push({type: "text", text: text, start: start, end: end});
|
413
448
|
}
|
414
449
|
};
|
415
450
|
|
@@ -462,4 +497,3 @@ WikiParser.prototype.amendRules = function(type,names) {
|
|
462
497
|
exports["text/vnd.tiddlywiki"] = WikiParser;
|
463
498
|
|
464
499
|
})();
|
465
|
-
|
@@ -95,6 +95,7 @@ function SaverHandler(options) {
|
|
95
95
|
if($tw.browser) {
|
96
96
|
$tw.rootWidget.addEventListener("tm-save-wiki",function(event) {
|
97
97
|
self.saveWiki({
|
98
|
+
wiki: event.widget.wiki,
|
98
99
|
template: event.param,
|
99
100
|
downloadType: "text/plain",
|
100
101
|
variables: event.paramObject
|
@@ -102,6 +103,7 @@ function SaverHandler(options) {
|
|
102
103
|
});
|
103
104
|
$tw.rootWidget.addEventListener("tm-download-file",function(event) {
|
104
105
|
self.saveWiki({
|
106
|
+
wiki: event.widget.wiki,
|
105
107
|
method: "download",
|
106
108
|
template: event.param,
|
107
109
|
downloadType: "text/plain",
|
@@ -147,20 +149,22 @@ Save the wiki contents. Options are:
|
|
147
149
|
method: "save", "autosave" or "download"
|
148
150
|
template: the tiddler containing the template to save
|
149
151
|
downloadType: the content type for the saved file
|
152
|
+
wiki: optional wiki, overriding the default wiki specified in the constructor
|
150
153
|
*/
|
151
154
|
SaverHandler.prototype.saveWiki = function(options) {
|
152
155
|
options = options || {};
|
153
156
|
var self = this,
|
157
|
+
wiki = options.wiki || this.wiki,
|
154
158
|
method = options.method || "save";
|
155
159
|
// Ignore autosave if disabled
|
156
|
-
if(method === "autosave" && ($tw.config.disableAutoSave ||
|
160
|
+
if(method === "autosave" && ($tw.config.disableAutoSave || wiki.getTiddlerText(this.titleAutoSave,"yes") !== "yes")) {
|
157
161
|
return false;
|
158
162
|
}
|
159
163
|
var variables = options.variables || {},
|
160
164
|
template = (options.template ||
|
161
|
-
|
165
|
+
wiki.getTiddlerText("$:/config/SaveWikiButton/Template","$:/core/save/all")).trim(),
|
162
166
|
downloadType = options.downloadType || "text/plain",
|
163
|
-
text =
|
167
|
+
text = wiki.renderTiddler(downloadType,template,options),
|
164
168
|
callback = function(err) {
|
165
169
|
if(err) {
|
166
170
|
alert($tw.language.getString("Error/WhileSaving") + ":\n\n" + err);
|
@@ -37,7 +37,9 @@ HeaderAuthenticator.prototype.authenticateRequest = function(request,response,st
|
|
37
37
|
return false;
|
38
38
|
} else {
|
39
39
|
// authenticatedUsername will be undefined for anonymous users
|
40
|
-
|
40
|
+
if(username) {
|
41
|
+
state.authenticatedUsername = $tw.utils.decodeURIComponentSafe(username);
|
42
|
+
}
|
41
43
|
return true;
|
42
44
|
}
|
43
45
|
};
|
@@ -140,6 +140,11 @@ function sendResponse(request,response,statusCode,headers,data,encoding) {
|
|
140
140
|
return;
|
141
141
|
}
|
142
142
|
}
|
143
|
+
} else {
|
144
|
+
// RFC 7231, 6.1. Overview of Status Codes:
|
145
|
+
// Browser clients may cache 200, 203, 204, 206, 300, 301,
|
146
|
+
// 404, 405, 410, 414, and 501 unless given explicit cache controls
|
147
|
+
headers["Cache-Control"] = headers["Cache-Control"] || "no-store";
|
143
148
|
}
|
144
149
|
/*
|
145
150
|
If the gzip=yes is set, check if the user agent permits compression. If so,
|
@@ -61,7 +61,7 @@ exports.startup = function() {
|
|
61
61
|
// Collect the shadow tiddlers of any modified plugins
|
62
62
|
$tw.utils.each(changes.modifiedPlugins,function(pluginTitle) {
|
63
63
|
var pluginInfo = $tw.wiki.getPluginInfo(pluginTitle);
|
64
|
-
if(pluginInfo) {
|
64
|
+
if(pluginInfo && pluginInfo.tiddlers) {
|
65
65
|
$tw.utils.each(Object.keys(pluginInfo.tiddlers),function(title) {
|
66
66
|
changedShadowTiddlers[title] = false;
|
67
67
|
});
|
@@ -29,7 +29,11 @@ var THROTTLE_REFRESH_TIMEOUT = 400;
|
|
29
29
|
|
30
30
|
exports.startup = function() {
|
31
31
|
// Set up the title
|
32
|
-
$tw.titleWidgetNode = $tw.wiki.makeTranscludeWidget(PAGE_TITLE_TITLE,{
|
32
|
+
$tw.titleWidgetNode = $tw.wiki.makeTranscludeWidget(PAGE_TITLE_TITLE, {
|
33
|
+
document: $tw.fakeDocument,
|
34
|
+
parseAsInline: true,
|
35
|
+
importPageMacros: true,
|
36
|
+
});
|
33
37
|
$tw.titleContainer = $tw.fakeDocument.createElement("div");
|
34
38
|
$tw.titleWidgetNode.render($tw.titleContainer,null);
|
35
39
|
document.title = $tw.titleContainer.textContent;
|
@@ -81,6 +85,8 @@ exports.startup = function() {
|
|
81
85
|
deferredChanges = Object.create(null);
|
82
86
|
$tw.hooks.invokeHook("th-page-refreshed");
|
83
87
|
}
|
88
|
+
var throttledRefresh = $tw.perf.report("throttledRefresh",refresh);
|
89
|
+
|
84
90
|
// Add the change event handler
|
85
91
|
$tw.wiki.addEventListener("change",$tw.perf.report("mainRefresh",function(changes) {
|
86
92
|
// Check if only tiddlers that are throttled have changed
|
@@ -101,7 +107,7 @@ exports.startup = function() {
|
|
101
107
|
if(isNaN(timeout)) {
|
102
108
|
timeout = THROTTLE_REFRESH_TIMEOUT;
|
103
109
|
}
|
104
|
-
timerId = setTimeout(
|
110
|
+
timerId = setTimeout(throttledRefresh,timeout);
|
105
111
|
$tw.utils.extend(deferredChanges,changes);
|
106
112
|
} else {
|
107
113
|
$tw.utils.extend(deferredChanges,changes);
|
@@ -39,6 +39,7 @@ exports.startup = function() {
|
|
39
39
|
method: params.method,
|
40
40
|
body: params.body,
|
41
41
|
binary: params.binary,
|
42
|
+
useDefaultHeaders: params.useDefaultHeaders,
|
42
43
|
oncompletion: params.oncompletion,
|
43
44
|
onprogress: params.onprogress,
|
44
45
|
bindStatus: params["bind-status"],
|
@@ -47,7 +48,11 @@ exports.startup = function() {
|
|
47
48
|
headers: getPropertiesWithPrefix(params,"header-"),
|
48
49
|
passwordHeaders: getPropertiesWithPrefix(params,"password-header-"),
|
49
50
|
queryStrings: getPropertiesWithPrefix(params,"query-"),
|
50
|
-
passwordQueryStrings: getPropertiesWithPrefix(params,"password-query-")
|
51
|
+
passwordQueryStrings: getPropertiesWithPrefix(params,"password-query-"),
|
52
|
+
basicAuthUsername: params["basic-auth-username"],
|
53
|
+
basicAuthUsernameFromStore: params["basic-auth-username-from-store"],
|
54
|
+
basicAuthPassword: params["basic-auth-password"],
|
55
|
+
basicAuthPasswordFromStore: params["basic-auth-password-from-store"]
|
51
56
|
});
|
52
57
|
});
|
53
58
|
$tw.rootWidget.addEventListener("tm-http-cancel-all-requests",function(event) {
|
@@ -68,7 +73,10 @@ exports.startup = function() {
|
|
68
73
|
});
|
69
74
|
// Install the copy-to-clipboard mechanism
|
70
75
|
$tw.rootWidget.addEventListener("tm-copy-to-clipboard",function(event) {
|
71
|
-
$tw.utils.copyToClipboard(event.param
|
76
|
+
$tw.utils.copyToClipboard(event.param,{
|
77
|
+
successNotification: event.paramObject && event.paramObject.successNotification,
|
78
|
+
failureNotification: event.paramObject && event.paramObject.failureNotification
|
79
|
+
});
|
72
80
|
});
|
73
81
|
// Install the tm-focus-selector message
|
74
82
|
$tw.rootWidget.addEventListener("tm-focus-selector",function(event) {
|
@@ -93,7 +93,9 @@ exports.startup = function() {
|
|
93
93
|
updateAddressBar: $tw.wiki.getTiddlerText(CONFIG_PERMALINKVIEW_UPDATE_ADDRESS_BAR,"yes").trim() === "yes" ? "permalink" : "none",
|
94
94
|
updateHistory: $tw.wiki.getTiddlerText(CONFIG_UPDATE_HISTORY,"no").trim(),
|
95
95
|
targetTiddler: event.param || event.tiddlerTitle,
|
96
|
-
copyToClipboard: $tw.wiki.getTiddlerText(CONFIG_PERMALINKVIEW_COPY_TO_CLIPBOARD,"yes").trim() === "yes" ? "permalink" : "none"
|
96
|
+
copyToClipboard: $tw.wiki.getTiddlerText(CONFIG_PERMALINKVIEW_COPY_TO_CLIPBOARD,"yes").trim() === "yes" ? "permalink" : "none",
|
97
|
+
successNotification: event.paramObject && event.paramObject.successNotification,
|
98
|
+
failureNotification: event.paramObject && event.paramObject.failureNotification
|
97
99
|
});
|
98
100
|
});
|
99
101
|
// Listen for the tm-permaview message
|
@@ -102,7 +104,9 @@ exports.startup = function() {
|
|
102
104
|
updateAddressBar: $tw.wiki.getTiddlerText(CONFIG_PERMALINKVIEW_UPDATE_ADDRESS_BAR,"yes").trim() === "yes" ? "permaview" : "none",
|
103
105
|
updateHistory: $tw.wiki.getTiddlerText(CONFIG_UPDATE_HISTORY,"no").trim(),
|
104
106
|
targetTiddler: event.param || event.tiddlerTitle,
|
105
|
-
copyToClipboard: $tw.wiki.getTiddlerText(CONFIG_PERMALINKVIEW_COPY_TO_CLIPBOARD,"yes").trim() === "yes" ? "permaview" : "none"
|
107
|
+
copyToClipboard: $tw.wiki.getTiddlerText(CONFIG_PERMALINKVIEW_COPY_TO_CLIPBOARD,"yes").trim() === "yes" ? "permaview" : "none",
|
108
|
+
successNotification: event.paramObject && event.paramObject.successNotification,
|
109
|
+
failureNotification: event.paramObject && event.paramObject.failureNotification
|
106
110
|
});
|
107
111
|
});
|
108
112
|
}
|
@@ -177,6 +181,8 @@ options.updateAddressBar: "permalink", "permaview" or "no" (defaults to "permavi
|
|
177
181
|
options.updateHistory: "yes" or "no" (defaults to "no")
|
178
182
|
options.copyToClipboard: "permalink", "permaview" or "no" (defaults to "no")
|
179
183
|
options.targetTiddler: optional title of target tiddler for permalink
|
184
|
+
options.successNotification: optional title of tiddler to use as the notification in case of success
|
185
|
+
options.failureNotification: optional title of tiddler to use as the notification in case of failure
|
180
186
|
*/
|
181
187
|
function updateLocationHash(options) {
|
182
188
|
// Get the story and the history stack
|
@@ -205,14 +211,18 @@ function updateLocationHash(options) {
|
|
205
211
|
break;
|
206
212
|
}
|
207
213
|
// Copy URL to the clipboard
|
214
|
+
var url = "";
|
208
215
|
switch(options.copyToClipboard) {
|
209
216
|
case "permalink":
|
210
|
-
$tw.utils.
|
217
|
+
url = $tw.utils.getLocationPath() + "#" + encodeURIComponent(targetTiddler);
|
211
218
|
break;
|
212
219
|
case "permaview":
|
213
|
-
$tw.utils.
|
220
|
+
url = $tw.utils.getLocationPath() + "#" + encodeURIComponent(targetTiddler) + ":" + encodeURIComponent($tw.utils.stringifyList(storyList));
|
214
221
|
break;
|
215
222
|
}
|
223
|
+
if(url) {
|
224
|
+
$tw.utils.copyToClipboard(url,{successNotification: options.successNotification, failureNotification: options.failureNotification});
|
225
|
+
}
|
216
226
|
// Only change the location hash if we must, thus avoiding unnecessary onhashchange events
|
217
227
|
if($tw.utils.getLocationHash() !== $tw.locationHash) {
|
218
228
|
if(options.updateHistory === "yes") {
|
@@ -56,7 +56,7 @@ exports.startup = function() {
|
|
56
56
|
return;
|
57
57
|
}
|
58
58
|
// Initialise the document
|
59
|
-
srcDocument.write("
|
59
|
+
srcDocument.write("<!DOCTYPE html><head></head><body class='tc-body tc-single-tiddler-window'></body></html>");
|
60
60
|
srcDocument.close();
|
61
61
|
srcDocument.title = windowTitle;
|
62
62
|
srcWindow.addEventListener("beforeunload",function(event) {
|
@@ -292,7 +292,9 @@ exports.copyToClipboard = function(text,options) {
|
|
292
292
|
} catch (err) {
|
293
293
|
}
|
294
294
|
if(!options.doNotNotify) {
|
295
|
-
|
295
|
+
var successNotification = options.successNotification || "$:/language/Notifications/CopiedToClipboard/Succeeded",
|
296
|
+
failureNotification = options.failureNotification || "$:/language/Notifications/CopiedToClipboard/Failed"
|
297
|
+
$tw.notifier.display(succeeded ? successNotification : failureNotification);
|
296
298
|
}
|
297
299
|
document.body.removeChild(textArea);
|
298
300
|
};
|
@@ -69,7 +69,7 @@ HttpClient.prototype.cancelAllHttpRequests = function() {
|
|
69
69
|
for(var t=this.requests.length - 1; t--; t>=0) {
|
70
70
|
var requestInfo = this.requests[t];
|
71
71
|
requestInfo.request.cancel();
|
72
|
-
}
|
72
|
+
}
|
73
73
|
}
|
74
74
|
this.requests = [];
|
75
75
|
this.updateRequestTracker();
|
@@ -100,6 +100,10 @@ headers: hashmap of header name to header value to be sent with the request
|
|
100
100
|
passwordHeaders: hashmap of header name to password store name to be sent with the request
|
101
101
|
queryStrings: hashmap of query string parameter name to parameter value to be sent with the request
|
102
102
|
passwordQueryStrings: hashmap of query string parameter name to password store name to be sent with the request
|
103
|
+
basicAuthUsername: plain username for basic authentication
|
104
|
+
basicAuthUsernameFromStore: name of password store entry containing username
|
105
|
+
basicAuthPassword: plain password for basic authentication
|
106
|
+
basicAuthPasswordFromStore: name of password store entry containing password
|
103
107
|
*/
|
104
108
|
function HttpClientRequest(options) {
|
105
109
|
var self = this;
|
@@ -112,6 +116,7 @@ function HttpClientRequest(options) {
|
|
112
116
|
this.method = options.method || "GET";
|
113
117
|
this.body = options.body || "";
|
114
118
|
this.binary = options.binary || "";
|
119
|
+
this.useDefaultHeaders = options.useDefaultHeaders !== "false" ? true : false,
|
115
120
|
this.variables = options.variables;
|
116
121
|
var url = options.url;
|
117
122
|
$tw.utils.each(options.queryStrings,function(value,name) {
|
@@ -128,6 +133,11 @@ function HttpClientRequest(options) {
|
|
128
133
|
$tw.utils.each(options.passwordHeaders,function(value,name) {
|
129
134
|
self.requestHeaders[name] = $tw.utils.getPassword(value) || "";
|
130
135
|
});
|
136
|
+
this.basicAuthUsername = options.basicAuthUsername || (options.basicAuthUsernameFromStore && $tw.utils.getPassword(options.basicAuthUsernameFromStore)) || "";
|
137
|
+
this.basicAuthPassword = options.basicAuthPassword || (options.basicAuthPasswordFromStore && $tw.utils.getPassword(options.basicAuthPasswordFromStore)) || "";
|
138
|
+
if(this.basicAuthUsername && this.basicAuthPassword) {
|
139
|
+
this.requestHeaders.Authorization = "Basic " + $tw.utils.base64Encode(this.basicAuthUsername + ":" + this.basicAuthPassword);
|
140
|
+
}
|
131
141
|
}
|
132
142
|
|
133
143
|
HttpClientRequest.prototype.send = function(callback) {
|
@@ -156,6 +166,7 @@ HttpClientRequest.prototype.send = function(callback) {
|
|
156
166
|
this.xhr = $tw.utils.httpRequest({
|
157
167
|
url: this.url,
|
158
168
|
type: this.method,
|
169
|
+
useDefaultHeaders: this.useDefaultHeaders,
|
159
170
|
headers: this.requestHeaders,
|
160
171
|
data: this.body,
|
161
172
|
returnProp: this.binary === "" ? "responseText" : "response",
|
@@ -231,7 +242,8 @@ Make an HTTP request. Options are:
|
|
231
242
|
exports.httpRequest = function(options) {
|
232
243
|
var type = options.type || "GET",
|
233
244
|
url = options.url,
|
234
|
-
|
245
|
+
useDefaultHeaders = options.useDefaultHeaders !== false ? true : false,
|
246
|
+
headers = options.headers || (useDefaultHeaders ? {accept: "application/json"} : {}),
|
235
247
|
hasHeader = function(targetHeader) {
|
236
248
|
targetHeader = targetHeader.toLowerCase();
|
237
249
|
var result = false;
|
@@ -257,7 +269,7 @@ exports.httpRequest = function(options) {
|
|
257
269
|
if(hasHeader("Content-Type") && ["application/x-www-form-urlencoded","multipart/form-data","text/plain"].indexOf(getHeader["Content-Type"]) === -1) {
|
258
270
|
return false;
|
259
271
|
}
|
260
|
-
return true;
|
272
|
+
return true;
|
261
273
|
},
|
262
274
|
returnProp = options.returnProp || "responseText",
|
263
275
|
request = new XMLHttpRequest(),
|
@@ -283,13 +295,13 @@ exports.httpRequest = function(options) {
|
|
283
295
|
// Set up the state change handler
|
284
296
|
request.onreadystatechange = function() {
|
285
297
|
if(this.readyState === 4) {
|
286
|
-
if(this.status
|
298
|
+
if(this.status >= 200 && this.status < 300) {
|
287
299
|
// Success!
|
288
300
|
options.callback(null,this[returnProp],this);
|
289
301
|
return;
|
290
302
|
}
|
291
303
|
// Something went wrong
|
292
|
-
options.callback($tw.language.getString("Error/XMLHttpRequest") + ": " + this.status,
|
304
|
+
options.callback($tw.language.getString("Error/XMLHttpRequest") + ": " + this.status,this[returnProp],this);
|
293
305
|
}
|
294
306
|
};
|
295
307
|
// Handle progress
|
@@ -307,10 +319,10 @@ exports.httpRequest = function(options) {
|
|
307
319
|
request.setRequestHeader(headerTitle,header);
|
308
320
|
});
|
309
321
|
}
|
310
|
-
if(data && !hasHeader("Content-Type")) {
|
322
|
+
if(data && !hasHeader("Content-Type") && useDefaultHeaders) {
|
311
323
|
request.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8");
|
312
324
|
}
|
313
|
-
if(!hasHeader("X-Requested-With") && !isSimpleRequest(type,headers)) {
|
325
|
+
if(!hasHeader("X-Requested-With") && !isSimpleRequest(type,headers) && useDefaultHeaders) {
|
314
326
|
request.setRequestHeader("X-Requested-With","TiddlyWiki");
|
315
327
|
}
|
316
328
|
// Send data
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/*\
|
2
|
+
title: $:/core/modules/utils/errors.js
|
3
|
+
type: application/javascript
|
4
|
+
module-type: utils
|
5
|
+
|
6
|
+
Custom errors for TiddlyWiki.
|
7
|
+
|
8
|
+
\*/
|
9
|
+
(function(){
|
10
|
+
|
11
|
+
function TranscludeRecursionError() {
|
12
|
+
Error.apply(this,arguments);
|
13
|
+
this.signatures = Object.create(null);
|
14
|
+
};
|
15
|
+
|
16
|
+
/* Maximum permitted depth of the widget tree for recursion detection */
|
17
|
+
TranscludeRecursionError.MAX_WIDGET_TREE_DEPTH = 1000;
|
18
|
+
|
19
|
+
TranscludeRecursionError.prototype = Object.create(Error);
|
20
|
+
|
21
|
+
exports.TranscludeRecursionError = TranscludeRecursionError;
|
22
|
+
|
23
|
+
})();
|
@@ -42,7 +42,7 @@ var TW_TextNode = function(text) {
|
|
42
42
|
this.textContent = text + "";
|
43
43
|
};
|
44
44
|
|
45
|
-
Object.setPrototypeOf(TW_TextNode,TW_Node.prototype);
|
45
|
+
Object.setPrototypeOf(TW_TextNode.prototype,TW_Node.prototype);
|
46
46
|
|
47
47
|
Object.defineProperty(TW_TextNode.prototype, "nodeType", {
|
48
48
|
get: function() {
|
@@ -67,7 +67,7 @@ var TW_Element = function(tag,namespace) {
|
|
67
67
|
this.namespaceURI = namespace || "http://www.w3.org/1999/xhtml";
|
68
68
|
};
|
69
69
|
|
70
|
-
Object.setPrototypeOf(TW_Element,TW_Node.prototype);
|
70
|
+
Object.setPrototypeOf(TW_Element.prototype,TW_Node.prototype);
|
71
71
|
|
72
72
|
Object.defineProperty(TW_Element.prototype, "style", {
|
73
73
|
get: function() {
|
@@ -316,11 +316,13 @@ Options include:
|
|
316
316
|
pathFilters: optional array of filters to be used to generate the base path
|
317
317
|
wiki: optional wiki for evaluating the pathFilters
|
318
318
|
fileInfo: an existing fileInfo object to check against
|
319
|
+
fileInfo.overwrite: if true, turns off filename clash numbers (defaults to false)
|
319
320
|
*/
|
320
321
|
exports.generateTiddlerFilepath = function(title,options) {
|
321
322
|
var directory = options.directory || "",
|
322
323
|
extension = options.extension || "",
|
323
324
|
originalpath = (options.fileInfo && options.fileInfo.originalpath) ? options.fileInfo.originalpath : "",
|
325
|
+
overwrite = options.fileInfo && options.fileInfo.overwrite || false,
|
324
326
|
filepath;
|
325
327
|
// Check if any of the pathFilters applies
|
326
328
|
if(options.pathFilters && options.wiki) {
|
@@ -381,19 +383,20 @@ exports.generateTiddlerFilepath = function(title,options) {
|
|
381
383
|
filepath += char.charCodeAt(0).toString();
|
382
384
|
});
|
383
385
|
}
|
384
|
-
// Add a uniquifier if the file already exists
|
385
|
-
var fullPath
|
386
|
+
// Add a uniquifier if the file already exists (default)
|
387
|
+
var fullPath = path.resolve(directory, filepath + extension);
|
388
|
+
if (!overwrite) {
|
389
|
+
var oldPath = (options.fileInfo) ? options.fileInfo.filepath : undefined,
|
386
390
|
count = 0;
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
}
|
392
|
-
|
393
|
-
} while(fs.existsSync(fullPath));
|
391
|
+
do {
|
392
|
+
fullPath = path.resolve(directory,filepath + (count ? "_" + count : "") + extension);
|
393
|
+
if(oldPath && oldPath == fullPath) break;
|
394
|
+
count++;
|
395
|
+
} while(fs.existsSync(fullPath));
|
396
|
+
}
|
394
397
|
// If the last write failed with an error, or if path does not start with:
|
395
398
|
// the resolved options.directory, the resolved wikiPath directory, the wikiTiddlersPath directory,
|
396
|
-
// or the 'originalpath' directory, then $tw.utils.encodeURIComponentExtended() and resolve to
|
399
|
+
// or the 'originalpath' directory, then $tw.utils.encodeURIComponentExtended() and resolve to options.directory.
|
397
400
|
var writePath = $tw.hooks.invokeHook("th-make-tiddler-path",fullPath,fullPath),
|
398
401
|
encode = (options.fileInfo || {writeError: false}).writeError == true;
|
399
402
|
if(!encode) {
|