tiddlywiki 5.2.2 → 5.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/ISSUE_TEMPLATE/bug_report.yml +67 -0
- package/.github/ISSUE_TEMPLATE/config.yml +8 -0
- package/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md +8 -0
- package/bin/build-site.sh +11 -2
- package/bin/test.sh +1 -0
- package/boot/boot.js +10 -7
- package/contributing.md +1 -1
- package/core/images/layout-button.tid +4 -0
- package/core/images/mastodon.tid +6 -0
- package/core/language/en-GB/Buttons.multids +4 -0
- package/core/language/en-GB/ControlPanel.multids +3 -3
- package/core/language/en-GB/EditTemplate.multids +1 -0
- package/core/language/en-GB/Fields.multids +2 -2
- package/core/language/en-GB/GettingStarted.tid +4 -3
- package/core/language/en-GB/Help/commands.tid +18 -0
- package/core/language/en-GB/Help/default.tid +4 -1
- package/core/language/en-GB/Help/render.tid +2 -2
- package/core/language/en-GB/Misc.multids +1 -0
- package/core/language/en-GB/SideBar.multids +1 -0
- package/core/modules/commands/commands.js +42 -0
- package/core/modules/commands/render.js +1 -1
- package/core/modules/commands/rendertiddler.js +1 -0
- package/core/modules/commands/rendertiddlers.js +1 -1
- package/core/modules/commands/save.js +56 -42
- package/core/modules/editor/engines/framed.js +15 -2
- package/core/modules/editor/factory.js +2 -2
- package/core/modules/editor/operations/text/prefix-lines.js +2 -2
- package/core/modules/editor/operations/text/wrap-lines.js +27 -10
- package/core/modules/filterrunprefixes/map.js +10 -2
- package/core/modules/filters/format/json.js +35 -0
- package/core/modules/filters/insertafter.js +46 -0
- package/core/modules/filters/insertbefore.js +6 -1
- package/core/modules/filters/is/variable.js +2 -2
- package/core/modules/filters/json-ops.js +186 -0
- package/core/modules/filters/variables.js +9 -3
- package/core/modules/filters.js +31 -4
- package/core/modules/keyboard.js +13 -1
- package/core/modules/parsers/csvparser.js +25 -17
- package/core/modules/parsers/wikiparser/rules/macrodef.js +1 -1
- package/core/modules/parsers/wikiparser/rules/parsermode.js +68 -0
- package/core/modules/parsers/wikiparser/rules/styleinline.js +3 -3
- package/core/modules/parsers/wikiparser/wikiparser.js +4 -2
- package/core/modules/savers/put.js +11 -7
- package/core/modules/savers/upload.js +1 -1
- package/core/modules/server/routes/put-tiddler.js +10 -0
- package/core/modules/server/server.js +3 -2
- package/core/modules/startup/browser-messaging.js +4 -2
- package/core/modules/startup/startup.js +5 -1
- package/core/modules/startup/story.js +3 -1
- package/core/modules/utils/csv.js +101 -23
- package/core/modules/utils/dom/dom.js +66 -0
- package/core/modules/utils/dom/dragndrop.js +24 -14
- package/core/modules/utils/dom/modal.js +6 -0
- package/core/modules/utils/dom/notifier.js +2 -1
- package/core/modules/utils/dom/popup.js +69 -6
- package/core/modules/utils/fakedom.js +2 -2
- package/core/modules/utils/linked-list.js +79 -75
- package/core/modules/utils/logger.js +3 -1
- package/core/modules/utils/parsetree.js +59 -12
- package/core/modules/utils/utils.js +18 -1
- package/core/modules/widgets/action-deletefield.js +2 -2
- package/core/modules/widgets/action-popup.js +10 -8
- package/core/modules/widgets/action-setfield.js +12 -14
- package/core/modules/widgets/button.js +13 -3
- package/core/modules/widgets/checkbox.js +132 -16
- package/core/modules/widgets/draggable.js +37 -14
- package/core/modules/widgets/element.js +9 -3
- package/core/modules/widgets/error.js +63 -0
- package/core/modules/widgets/eventcatcher.js +1 -27
- package/core/modules/widgets/genesis.js +108 -0
- package/core/modules/widgets/image.js +4 -0
- package/core/modules/widgets/importvariables.js +4 -1
- package/core/modules/widgets/keyboard.js +4 -0
- package/core/modules/widgets/let.js +4 -6
- package/core/modules/widgets/reveal.js +11 -10
- package/core/modules/widgets/scrollable.js +2 -0
- package/core/modules/widgets/select.js +9 -0
- package/core/modules/widgets/transclude.js +3 -5
- package/core/modules/widgets/widget.js +52 -19
- package/core/modules/wiki.js +1 -1
- package/core/palettes/Blanca.tid +2 -0
- package/core/palettes/Blue.tid +2 -0
- package/core/palettes/BrightMute.tid +2 -0
- package/core/palettes/ContrastDark.tid +2 -0
- package/core/palettes/ContrastLight.tid +2 -0
- package/core/palettes/CupertinoDark.tid +5 -3
- package/core/palettes/DarkPhotos.tid +2 -0
- package/core/palettes/DesertSand.tid +2 -0
- package/core/palettes/GruvBoxDark.tid +4 -2
- package/core/palettes/Nord.tid +4 -2
- package/core/palettes/Rocker.tid +2 -0
- package/core/palettes/SolarFlare.tid +2 -0
- package/core/palettes/SolarizedDark.tid +2 -0
- package/core/palettes/SolarizedLight.tid +2 -0
- package/core/palettes/SpartanDay.tid +2 -0
- package/core/palettes/SpartanNight.tid +2 -0
- package/core/palettes/Twilight.tid +2 -0
- package/core/palettes/Vanilla.tid +2 -0
- package/core/templates/external-js/save-all-external-js.tid +4 -2
- package/core/templates/external-js/save-offline-external-js.tid +4 -2
- package/core/templates/save-lazy-all.tid +2 -2
- package/core/templates/server/static.sidebar.wikitext.tid +1 -1
- package/core/templates/server/static.tiddler.html.tid +2 -2
- package/core/templates/single.tiddler.window.tid +1 -1
- package/core/ui/Actions/new-image.tid +2 -7
- package/core/ui/Actions/new-journal.tid +2 -1
- package/core/ui/Actions/new-tiddler.tid +1 -0
- package/core/ui/AdvancedSearch/Filter.tid +50 -10
- package/core/ui/AdvancedSearch/FilterButtons/clear.tid +1 -0
- package/core/ui/AdvancedSearch/FilterButtons/delete.tid +4 -3
- package/core/ui/AdvancedSearch/FilterButtons/dropdown.tid +5 -2
- package/core/ui/AdvancedSearch/FilterButtons/export.tid +1 -0
- package/core/ui/AdvancedSearch/Shadows.tid +54 -12
- package/core/ui/AdvancedSearch/Standard.tid +36 -19
- package/core/ui/AdvancedSearch/System.tid +54 -12
- package/core/ui/AdvancedSearch.tid +1 -0
- package/core/ui/AlertTemplate.tid +10 -1
- package/core/ui/Components/tag-link.tid +1 -0
- package/core/ui/ControlPanel/Advanced.tid +1 -0
- package/core/ui/ControlPanel/Appearance.tid +1 -0
- package/core/ui/ControlPanel/Basics/retain-story-ordering-button.tid +3 -0
- package/core/ui/ControlPanel/Basics.tid +6 -2
- package/core/ui/ControlPanel/Cascades.tid +1 -0
- package/core/ui/ControlPanel/EditorTypes.tid +1 -0
- package/core/ui/ControlPanel/Info.tid +1 -0
- package/core/ui/ControlPanel/KeyboardShortcuts.tid +18 -7
- package/core/ui/ControlPanel/Modals/AddPlugins.tid +26 -9
- package/core/ui/ControlPanel/Parsing.tid +3 -0
- package/core/ui/ControlPanel/Plugins/Add/Updates.tid +5 -1
- package/core/ui/ControlPanel/Plugins/AddPlugins.tid +4 -1
- package/core/ui/ControlPanel/Plugins.tid +1 -0
- package/core/ui/ControlPanel/Saving/TiddlySpot.tid +2 -1
- package/core/ui/ControlPanel/Saving.tid +1 -0
- package/core/ui/ControlPanel/Settings/DefaultMoreSidebarTab.tid +1 -0
- package/core/ui/ControlPanel/Settings/DefaultSidebarTab.tid +1 -0
- package/core/ui/ControlPanel/Settings/LinkToBehaviour.tid +1 -0
- package/core/ui/ControlPanel/Settings/ToolbarButtonStyle.tid +1 -0
- package/core/ui/ControlPanel/Toolbars/EditorItemTemplate.tid +8 -1
- package/core/ui/ControlPanel/Toolbars/ItemTemplate.tid +11 -1
- package/core/ui/ControlPanel/Toolbars.tid +1 -0
- package/core/ui/ControlPanel.tid +1 -0
- package/core/ui/DefaultSearchResultList.tid +1 -0
- package/core/ui/EditTemplate/Preview/output.tid +2 -2
- package/core/ui/EditTemplate/body/default.tid +9 -6
- package/core/ui/EditTemplate/body-editor.tid +2 -0
- package/core/ui/EditTemplate/controls.tid +1 -0
- package/core/ui/EditTemplate/fieldEditor-default.tid +1 -1
- package/core/ui/EditTemplate/fields.tid +27 -10
- package/core/ui/EditTemplate/shadow.tid +2 -0
- package/core/ui/EditTemplate/title.tid +10 -5
- package/core/ui/EditTemplate.tid +33 -4
- package/core/ui/EditorToolbar/editor-height.tid +1 -0
- package/core/ui/EditorToolbar/excise-dropdown.tid +5 -4
- package/core/ui/EditorToolbar/file-import.tid +4 -0
- package/core/ui/EditorToolbar/link-dropdown.tid +10 -5
- package/core/ui/EditorToolbar/more-dropdown.tid +5 -1
- package/core/ui/EditorToolbar/paint.tid +1 -0
- package/core/ui/EditorToolbar/preview.tid +1 -0
- package/core/ui/EditorToolbar/size-dropdown.tid +6 -1
- package/core/ui/ExportTiddlyWikiCore.tid +15 -5
- package/core/ui/ImportListing.tid +28 -10
- package/core/ui/ImportPreviews/Fields.tid +1 -0
- package/core/ui/KeyboardShortcuts/advanced-search.tid +2 -1
- package/core/ui/KeyboardShortcuts/change-sidebar-layout.tid +4 -2
- package/core/ui/KeyboardShortcuts/new-image.tid +1 -0
- package/core/ui/KeyboardShortcuts/new-journal.tid +1 -0
- package/core/ui/KeyboardShortcuts/new-tiddler.tid +1 -0
- package/core/ui/KeyboardShortcuts/save-wiki.tid +1 -0
- package/core/ui/KeyboardShortcuts/toggle-sidebar.tid +4 -3
- package/core/ui/LayoutSwitcher.tid +16 -4
- package/core/ui/ListItemTemplate.tid +1 -3
- package/core/ui/ListTaggedCascade.tid +1 -0
- package/core/ui/Manager/ItemMainFields.tid +1 -0
- package/core/ui/Manager/ItemSidebarColour.tid +4 -1
- package/core/ui/Manager/ItemSidebarIcon.tid +4 -4
- package/core/ui/Manager/ItemSidebarTools.tid +7 -2
- package/core/ui/Manager.tid +11 -6
- package/core/ui/MissingTemplate.tid +1 -0
- package/core/ui/MoreSideBar/Types.tid +1 -0
- package/core/ui/PageControls/controlpanel.tid +1 -1
- package/core/ui/PageControls/layout.tid +15 -0
- package/core/ui/PageStylesheet.tid +1 -0
- package/core/ui/PageTemplate/story.tid +1 -1
- package/core/ui/PageTemplate.tid +1 -4
- package/core/ui/PaletteManager.tid +11 -10
- package/core/ui/PluginInfo.tid +1 -0
- package/core/ui/PluginInfoDefaultContents.tid +1 -0
- package/core/ui/SearchResults.tid +8 -6
- package/core/ui/SideBar/More.tid +3 -2
- package/core/ui/SideBar/Open.tid +2 -2
- package/core/ui/SideBarSegments/search.tid +2 -0
- package/core/ui/SideBarSegments/tabs.tid +1 -1
- package/core/ui/SwitcherModal.tid +1 -0
- package/core/ui/TagManager.tid +75 -63
- package/core/ui/TiddlerFieldTemplate.tid +1 -0
- package/core/ui/TiddlerFields.tid +1 -0
- package/core/ui/TiddlerInfo/Advanced/PluginInfo.tid +1 -0
- package/core/ui/TiddlerInfo/Advanced/ShadowInfo.tid +1 -0
- package/core/ui/TiddlerInfo/Advanced.tid +1 -0
- package/core/ui/TiddlerInfo.tid +1 -0
- package/core/ui/TopRightBar/menu.tid +1 -0
- package/core/ui/UntaggedTemplate.tid +1 -0
- package/core/ui/ViewTemplate/body/import.tid +6 -1
- package/core/ui/ViewTemplate/body/plugin.tid +1 -0
- package/core/ui/ViewTemplate/body/rendered-plain-text.tid +7 -0
- package/core/ui/ViewTemplate/body.tid +2 -0
- package/core/ui/ViewTemplate/classic.tid +1 -0
- package/core/ui/ViewTemplate/subtitle/modified.tid +4 -0
- package/core/ui/ViewTemplate/subtitle/modifier.tid +4 -0
- package/core/ui/ViewTemplate/subtitle.tid +6 -2
- package/core/ui/ViewTemplate/tags.tid +1 -0
- package/core/ui/ViewTemplate/title.tid +2 -0
- package/core/ui/ViewTemplate/unfold.tid +7 -2
- package/core/ui/ViewTemplate.tid +1 -1
- package/core/ui/ViewToolbar/new-here.tid +1 -0
- package/core/wiki/allfields.tid +8 -2
- package/core/wiki/config/DefaultTiddlersRetainStory.tid +3 -0
- package/core/wiki/config/OfficialPluginLibrary.tid +1 -1
- package/core/wiki/config/PageControlButtons.multids +1 -0
- package/core/wiki/config/ViewTemplateBodyFilters.multids +2 -1
- package/core/wiki/currpalettepreview.tid +7 -2
- package/core/wiki/debugstylesheets.tid +1 -0
- package/core/wiki/download-wiki-button.tid +2 -1
- package/core/wiki/languageswitcher.tid +2 -0
- package/core/wiki/macros/colour-picker.tid +9 -2
- package/core/wiki/macros/copy-to-clipboard.tid +5 -2
- package/core/wiki/macros/diff.tid +4 -3
- package/core/wiki/macros/dumpvariables.tid +1 -0
- package/core/wiki/macros/image-picker.tid +5 -4
- package/core/wiki/macros/keyboard-driven-input.tid +22 -12
- package/core/wiki/macros/list.tid +14 -9
- package/core/wiki/macros/tabs.tid +55 -30
- package/core/wiki/macros/tag-picker.tid +14 -13
- package/core/wiki/macros/tag.tid +10 -5
- package/core/wiki/macros/thumbnails.tid +21 -9
- package/core/wiki/macros/timeline.tid +7 -9
- package/core/wiki/macros/toc.tid +31 -16
- package/core/wiki/macros/translink.tid +1 -0
- package/core/wiki/macros/tree.tid +8 -3
- package/core/wiki/minifocusswitcher.tid +1 -0
- package/core/wiki/minilanguageswitcher.tid +1 -0
- package/core/wiki/minithemeswitcher.tid +2 -1
- package/core/wiki/modules.tid +1 -0
- package/core/wiki/palettepreview.tid +1 -0
- package/core/wiki/paletteswitcher.tid +13 -2
- package/core/wiki/peek-stylesheets.tid +1 -5
- package/core/wiki/tags/PageControls.tid +1 -1
- package/core/wiki/tags/ViewTemplateBodyFilter.tid +1 -1
- package/core/wiki/tags/ViewTemplateSubtitle.tid +2 -0
- package/core/wiki/themeswitcher.tid +10 -1
- package/core/wiki/title.tid +2 -1
- package/core/wiki/viewswitcher.tid +1 -0
- package/editions/de-AT/tiddlers/howto/TiddlyWiki und TiddlyDesktop.tid +1 -1
- package/editions/de-AT/tiddlywiki.info +0 -1
- package/editions/de-AT-server/tiddlywiki.info +0 -1
- package/editions/de-DE/tiddlywiki.info +0 -1
- package/editions/dev/tiddlers/HelloThere.tid +2 -1
- package/editions/dev/tiddlers/How to run a local plugin library for testing.tid +42 -0
- package/editions/dev/tiddlers/_tw_shared/tiddlywiki.files +5 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Child widgets tutorial.tid +140 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Do nothing widget demo.tid +22 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Do nothing widget tutorial.tid +25 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Hello World demo.tid +23 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Hello World widget tutorial.tid +18 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Javascript Widget Tutorial.tid +37 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Undefined widget demo.tid +18 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Undefined widget tutorial.tid +11 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Widget attributes demo I.tid +48 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Widget attributes demo II.tid +48 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Widget attributes tutorial part I.tid +50 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Widget attributes tutorial part II.tid +33 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Widget refresh demo I.tid +44 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Widget refresh demo II.tid +40 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Widget refresh demo III.tid +50 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Widget refresh tutorial part I.tid +47 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Widget refresh tutorial part II.tid +37 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/Widget refresh tutorial part III.tid +26 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/domwidget.js +47 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/domwidget.js.meta +6 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/donothing.js +16 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/donothing.js.meta +6 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/hello-attribute-optimized.js +51 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/hello-attribute-optimized.js.meta +6 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/hello-attribute.js +47 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/hello-attribute.js.meta +6 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/hello.js +35 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/hello.js.meta +6 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/refreshcount.js +43 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/refreshcount.js.meta +6 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/tiddlerfield-norefresh.js +36 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/tiddlerfield-norefresh.js.meta +6 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/tiddlerfield.js +46 -0
- package/editions/dev/tiddlers/javascript-widget-tutorial/tiddlerfield.js.meta +6 -0
- package/editions/dev/tiddlers/system/github-fork-ribbon.tid +1 -1
- package/editions/dev/tiddlywiki.info +3 -2
- package/editions/es-ES/tiddlers/TiddlyDesktop.tid +2 -2
- package/editions/fr-FR/tiddlers/$__editions_tw5.com_doc-macros.tid +1 -1
- package/editions/fr-FR/tiddlers/Community Links Aggregator.tid +4 -4
- package/editions/fr-FR/tiddlers/Glossaire en-GB -_ fr-FR.tid +2 -1
- package/editions/fr-FR/tiddlers/community/editions/_Noteself_ by Danielo Rodr/303/255guez.tid" +34 -0
- package/editions/fr-FR/tiddlers/community/resources/TW5-firebase_ TiddlyWiki5 for Google Firebase by Peter Neumark.tid +28 -0
- package/editions/fr-FR/tiddlers/community/resources/TiddlyDrive Add-on for Google Drive by Joshua Stubbs.tid +24 -0
- package/editions/fr-FR/tiddlers/community/resources/TiddlyServer by Arlen Beiler.tid +35 -0
- package/editions/fr-FR/tiddlers/community/resources/Twexe_ Single File Tiddlywiki5 executable.tid +30 -0
- package/editions/fr-FR/tiddlers/community/resources/_Timimi_ Extension and executable by Riz.tid +33 -0
- package/editions/fr-FR/tiddlers/community/resources/_file-backups_ Extension for Firefox by pmario.tid +19 -0
- package/editions/fr-FR/tiddlers/community/resources/_savetiddlers_ Extension for Chrome and Firefox by buggyj.tid +17 -0
- package/editions/fr-FR/tiddlers/concepts/Pragma.tid +23 -0
- package/editions/fr-FR/tiddlers/{WikiText.tid → concepts/WikiText.tid} +6 -4
- package/editions/fr-FR/tiddlers/definitions/TiddlyDesktop.tid +19 -0
- package/editions/fr-FR/tiddlers/gettingstarted/GettingStarted - Internet Explorer.tid +11 -0
- package/editions/fr-FR/tiddlers/gettingstarted/GettingStarted - Safari.tid +12 -0
- package/editions/fr-FR/tiddlers/{A_Gentle_Guide_to_TiddlyWiki.tid → hellothere/A Gentle Guide to TiddlyWiki.tid } +6 -4
- package/editions/fr-FR/tiddlers/howtos/How to Customize TiddlyDesktop.tid +33 -0
- package/editions/fr-FR/tiddlers/howtos/Windows HTA Hack.tid +17 -0
- package/editions/fr-FR/tiddlers/nodejs/Installing TiddlyWiki on Node.js.tid +49 -0
- package/editions/fr-FR/tiddlers/nodejs/Serving TW5 from Android.tid +47 -0
- package/editions/fr-FR/tiddlers/nodejs/TiddlyWiki on Node.js.tid +18 -0
- package/editions/fr-FR/tiddlers/saving/Emergency Tiddler Export.tid +28 -0
- package/editions/fr-FR/tiddlers/saving/Example config-tiddlyweb-host for IIS.tid +9 -0
- package/editions/fr-FR/tiddlers/saving/Example package.json for IIS.tid +15 -0
- package/editions/fr-FR/tiddlers/saving/Example tiddlywiki.info for IIS.tid +18 -0
- package/editions/fr-FR/tiddlers/saving/Example web.config for IIS.tid +32 -0
- package/editions/fr-FR/tiddlers/saving/Installing TiddlyWiki on Microsoft Internet Information Server.tid +69 -0
- package/editions/fr-FR/tiddlers/saving/Saving on Android.tid +36 -0
- package/editions/fr-FR/tiddlers/saving/Saving on Beaker Browser.tid +35 -0
- package/editions/fr-FR/tiddlers/saving/Saving on Browser with File System Access API.tid +20 -0
- package/editions/fr-FR/tiddlers/saving/Saving on TidGi Desktop.tid +28 -0
- package/editions/fr-FR/tiddlers/saving/Saving on TiddlyDesktop.tid +20 -0
- package/editions/fr-FR/tiddlers/saving/Saving on TiddlyHost.tid +18 -0
- package/editions/fr-FR/tiddlers/{Saving on TiddlySpot.tid → saving/Saving on TiddlySpot.tid } +14 -3
- package/editions/fr-FR/tiddlers/saving/Saving on a PHP Server.tid +45 -0
- package/editions/fr-FR/tiddlers/saving/Saving on iPad_iPhone.tid +30 -0
- package/editions/fr-FR/tiddlers/saving/Saving to a Git service.tid +26 -0
- package/editions/fr-FR/tiddlers/saving/Saving via WebDAV.tid +88 -0
- package/editions/fr-FR/tiddlers/saving/Saving via a Minimal Ruby Server.tid +20 -0
- package/editions/fr-FR/tiddlers/saving/Saving with Polly.tid +30 -0
- package/editions/fr-FR/tiddlers/saving/Saving with TW Receiver.tid +16 -0
- package/editions/fr-FR/tiddlers/{Saving with TiddlyFox on Android.tid → saving/Saving with TiddlyFox on Android.tid } +5 -5
- package/editions/fr-FR/tiddlers/saving/Saving with TiddlyFox.tid +31 -0
- package/editions/fr-FR/tiddlers/saving/Saving with TiddlyIE.tid +25 -0
- package/editions/fr-FR/tiddlers/{Saving with the HTML5 fallback saver.tid → saving/Saving with the HTML5 fallback saver.tid } +11 -6
- package/editions/fr-FR/tiddlers/{Saving.tid → saving/Saving.tid} +8 -10
- package/editions/fr-FR/tiddlers/saving/TiddlyWiki Cloud.tid +17 -0
- package/editions/fr-FR/tiddlers/system/$__core_macros_list.tid +113 -0
- package/editions/fr-FR/tiddlers/system/$__core_macros_tag.tid +39 -0
- package/editions/fr-FR/tiddlers/system/$__core_ui_SideBar_Open.tid +40 -0
- package/editions/fr-FR/tiddlers/system/$__core_ui_TagPickerTagTemplate.tid +25 -0
- package/editions/fr-FR/tiddlers/{$__editions_fr-FR_util-macros.tid → system/$__editions_fr-FR_util-macros.tid} +4 -4
- package/editions/fr-FR/tiddlers/{$__editions_tw5.com_wikitext-macros.tid → system/$__editions_tw5.com_wikitext-macros.tid} +24 -3
- package/editions/fr-FR/tiddlers/system/tw5.com-card-template.tid +17 -0
- package/editions/fr-FR/tiddlers/tiddlydesktop/TiddlyDesktop_Releases.tid +9 -0
- package/editions/fr-FR/tiddlers/widgets/TranscludeWidget.tid +72 -0
- package/editions/fr-FR/tiddlers/{Block_Quotes_in_WikiText.tid → wikitext/Block Quotes in WikiText.tid } +3 -2
- package/editions/fr-FR/tiddlers/{Code Blocks in WikiText.tid → wikitext/Code Blocks in WikiText.tid } +3 -3
- package/editions/fr-FR/tiddlers/{Dashes in WikiText.tid → wikitext/Dashes in WikiText.tid } +3 -3
- package/editions/fr-FR/tiddlers/{Definitions_in_WikiText.tid → wikitext/Definitions in WikiText.tid } +2 -2
- package/editions/fr-FR/tiddlers/{Formatting in WikiText.tid → wikitext/Formatting in WikiText.tid } +5 -6
- package/editions/fr-FR/tiddlers/{Hard Linebreaks in WikiText.tid → wikitext/Hard Linebreaks in WikiText.tid } +6 -5
- package/editions/fr-FR/tiddlers/{Headings in WikiText.tid → wikitext/Headings in WikiText.tid } +4 -4
- package/editions/fr-FR/tiddlers/wikitext/Horizontal Rules in WikiText.tid +17 -0
- package/editions/fr-FR/tiddlers/{Lists_in_WikiText.tid → wikitext/Lists in WikiText.tid } +19 -19
- package/editions/fr-FR/tiddlers/wikitext/Macro Calls in WikiText.tid +27 -0
- package/editions/fr-FR/tiddlers/{Paragraphs in WikiText.tid → wikitext/Paragraphs in WikiText.tid } +8 -7
- package/editions/fr-FR/tiddlers/wikitext/Tables in WikiText.tid +69 -0
- package/editions/fr-FR/tiddlers/wikitext/Transclusion and Substitution.tid +61 -0
- package/editions/fr-FR/tiddlers/{Transclusion_in_WikiText.tid → wikitext/Transclusion in WikiText.tid } +14 -13
- package/editions/fr-FR/tiddlers/{Transclusion_with_Templates.tid → wikitext/Transclusion with Templates.tid } +2 -1
- package/editions/fr-FR/tiddlers/{Typed_Blocks_in_WikiText.tid → wikitext/Typed Blocks in WikiText.tid } +16 -11
- package/editions/fr-FR/tiddlers/{Variables_in_WikiText.tid → wikitext/Variables in WikiText.tid } +7 -8
- package/editions/fr-FR/tiddlers/wikitext/Widgets in WikiText.tid +30 -0
- package/editions/fr-FR/tiddlers/wikitext/parser/Block Mode WikiText (Examples).tid +52 -0
- package/editions/fr-FR/tiddlers/wikitext/parser/Block Mode WikiText.tid +37 -0
- package/editions/fr-FR/tiddlers/wikitext/parser/Inline Mode WikiText.tid +28 -0
- package/editions/fr-FR/tiddlers/wikitext/parser/Places where the parser ignores WikiText.tid +14 -0
- package/editions/fr-FR/tiddlers/wikitext/parser/WikiText Parser Modes.tid +17 -0
- package/editions/fr-FR/tiddlers/wikitext/parser/WikiText parser mode HTML examples.tid +73 -0
- package/editions/fr-FR/tiddlers/wikitext/parser/WikiText parser mode transitions.tid +59 -0
- package/editions/fr-FR/tiddlers/wikitext/parser/WikiText parser mode_ macro examples.tid +56 -0
- package/editions/fr-FR/tiddlers/wikitext/parser/WikiText parser mode_ transclusion examples.tid +56 -0
- package/editions/fr-FR/tiddlers/wikitext/parser/table-example.tid +8 -0
- package/editions/full/tiddlywiki.info +0 -1
- package/editions/introduction/tiddlywiki.info +0 -1
- package/editions/katexdemo/tiddlers/$__DefaultTiddlers.tid +8 -0
- package/editions/katexdemo/tiddlers/HelloThere.tid +4 -1
- package/editions/katexdemo/tiddlers/LaTeX.tid +8 -0
- package/editions/katexdemo/tiddlers/TiddlyWiki.tid +8 -0
- package/editions/katexdemo/tiddlers/TiddlyWiki5.tid +6 -0
- package/editions/pluginlibrary/tiddlers/GettingStarted.tid +45 -0
- package/editions/pluginlibrary/tiddlers/PrereleaseLocalPluginLibrary.tid +6 -0
- package/editions/pluginlibrary/tiddlers/meta/SiteSubtitle.tid +3 -0
- package/editions/pluginlibrary/tiddlers/meta/SiteTitle.tid +3 -0
- package/editions/pluginlibrary/tiddlers/system/$__themes_tiddlywiki_vanilla_options_sidebarlayout.tid +3 -0
- package/editions/pluginlibrary/tiddlywiki.info +7 -0
- package/editions/prerelease/tiddlers/Release 5.2.5.tid +50 -0
- package/editions/prerelease/tiddlers/system/PrereleaseLocalPluginLibrary.tid +1 -1
- package/editions/prerelease/tiddlers/system/PrereleaseOfficialPluginLibrary.tid +1 -1
- package/editions/prerelease/tiddlers/system/TiddlyWiki Pre-release.tid +9 -2
- package/editions/prerelease/tiddlywiki.info +0 -2
- package/editions/test/tiddlers/tests/data/csv-cases.tid +282 -0
- package/editions/test/tiddlers/tests/data/filters/Recursion.tid +15 -0
- package/editions/test/tiddlers/tests/data/filters/fake-variables.tid +27 -0
- package/editions/test/tiddlers/tests/data/genesis-widget/DollarSigns.tid +14 -0
- package/editions/test/tiddlers/tests/data/genesis-widget/MultipleAttributes.tid +14 -0
- package/editions/test/tiddlers/tests/data/genesis-widget/Simple.tid +14 -0
- package/editions/test/tiddlers/tests/data/macros/NestedMacros.tid +36 -0
- package/editions/test/tiddlers/tests/data/pragmas/Parsermode.tid +36 -0
- package/editions/test/tiddlers/tests/data/tabs-macro/expected-html-tabs-horizontal-all.tid +1 -29
- package/editions/test/tiddlers/tests/data/tabs-macro/expected-html-tabs-horizontal.tid +1 -39
- package/editions/test/tiddlers/tests/data/tabs-macro/expected-html-tabs-vertical.tid +1 -39
- package/editions/test/tiddlers/tests/data/transclude/Recursion.tid +13 -0
- package/editions/test/tiddlers/tests/modules/utils/test-csv.js +33 -0
- package/editions/test/tiddlers/tests/test-action-widgets.js +43 -0
- package/editions/test/tiddlers/tests/test-checkbox-widget.js +541 -0
- package/editions/test/tiddlers/tests/test-filters.js +49 -2
- package/editions/test/tiddlers/tests/test-json-filters.js +112 -0
- package/editions/test/tiddlers/tests/test-linked-list.js +42 -2
- package/editions/test/tiddlers/tests/test-popup.js +63 -0
- package/editions/test/tiddlers/tests/test-prefixes-filter.js +2 -0
- package/editions/test/tiddlers/tests/test-utils.js +7 -0
- package/editions/test/tiddlers/tests/test-widget.js +2 -1
- package/editions/test/tiddlers/tests/test-wikitext-tabs-macro.js +8 -7
- package/editions/test/tiddlers/tests/test-wikitext.js +24 -1
- package/editions/test/tiddlywiki.info +2 -1
- package/editions/translators/tiddlers/system/PageControlButtonsVisibility.multids +1 -0
- package/editions/translators/tiddlywiki.info +7 -2
- package/editions/tw.org/tiddlers/$__config_DefaultSidebarTab.tid +6 -0
- package/editions/tw.org/tiddlers/$__core_templates_static.content.tid +18 -0
- package/editions/tw.org/tiddlers/Code of Conduct.tid +33 -0
- package/editions/tw.org/tiddlers/Fundraising.tid +23 -0
- package/editions/tw.org/tiddlers/HelloThere.tid +3 -2
- package/editions/tw.org/tiddlers/Table of Contents.tid +2 -1
- package/editions/tw.org/tiddlers/_tw_shared/tiddlywiki.files +5 -0
- package/editions/tw5.com/tiddlers/$__StoryList.tid +3 -3
- package/editions/tw5.com/tiddlers/Brackets.tid +14 -0
- package/editions/tw5.com/tiddlers/Tables in WikiText CSS Utility Classes.tid +81 -0
- package/editions/tw5.com/tiddlers/{images → _tw_shared}/Motovun Jack.svg +0 -0
- package/editions/tw5.com/tiddlers/{images → _tw_shared}/Motovun Jack.svg.meta +1 -1
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/classic.tiddlywiki.com.ico +0 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/classic.tiddlywiki.com.ico.meta +3 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/links.tiddlywiki.org.ico +0 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/links.tiddlywiki.org.ico.meta +3 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/markplace.png +0 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/markplace.png.meta +3 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/talk.tiddlywiki.org.svg +6 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/talk.tiddlywiki.org.svg.meta +3 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.dev.ico +0 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.dev.ico.meta +3 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.ico +0 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.ico.meta +3 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.prerelease.ico +0 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.prerelease.ico.meta +3 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.upgrade.ico +0 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.com.upgrade.ico.meta +3 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.org.ico +0 -0
- package/editions/tw5.com/tiddlers/_tw_shared/favicons/tiddlywiki.org.ico.meta +3 -0
- package/editions/tw5.com/tiddlers/_tw_shared/sites/classic.tiddlywiki.com.tid +6 -0
- package/editions/tw5.com/tiddlers/_tw_shared/sites/links.tiddlywiki.org.tid +6 -0
- package/editions/tw5.com/tiddlers/_tw_shared/sites/marketplace.tid +6 -0
- package/editions/tw5.com/tiddlers/_tw_shared/sites/talk.tiddlywiki.org.tid +6 -0
- package/editions/tw5.com/tiddlers/_tw_shared/sites/tiddlywiki.com.dev.tid +6 -0
- package/editions/tw5.com/tiddlers/_tw_shared/sites/tiddlywiki.com.prerelease.tid +6 -0
- package/editions/tw5.com/tiddlers/_tw_shared/sites/tiddlywiki.com.tid +6 -0
- package/editions/tw5.com/tiddlers/_tw_shared/sites/tiddlywiki.com.upgrade.tid +6 -0
- package/editions/tw5.com/tiddlers/_tw_shared/sites/tiddlywiki.org.tid +6 -0
- package/editions/tw5.com/tiddlers/_tw_shared/sites.tid +32 -0
- package/editions/tw5.com/tiddlers/_tw_shared/styles.tid +48 -0
- package/editions/tw5.com/tiddlers/_tw_shared/tags-TiddlyWikiSites.tid +3 -0
- package/editions/tw5.com/tiddlers/about/Funding TiddlyWiki.tid +19 -0
- package/editions/tw5.com/tiddlers/about/Open Collective.tid +14 -0
- package/editions/tw5.com/tiddlers/commands/CommandsCommand.tid +8 -0
- package/editions/tw5.com/tiddlers/commands/RenderTiddlerCommand.tid +2 -0
- package/editions/tw5.com/tiddlers/commands/RenderTiddlersCommand.tid +2 -0
- package/editions/tw5.com/tiddlers/commands/SaveTiddlerCommand.tid +2 -0
- package/editions/tw5.com/tiddlers/commands/SaveTiddlersCommand.tid +2 -0
- package/editions/tw5.com/tiddlers/community/Community Links Aggregator.tid +1 -1
- package/editions/tw5.com/tiddlers/community/Contributing.tid +2 -1
- package/editions/tw5.com/tiddlers/community/editions/TiddlyMemo by oflg.tid +16 -0
- package/editions/tw5.com/tiddlers/community/plugins/GSD5.tid +2 -2
- package/editions/tw5.com/tiddlers/community/plugins/_JD Mobile Layout plugin_ by JD.tid +0 -1
- package/editions/tw5.com/tiddlers/community/resources/Projectify by Nicolas Petton.tid +6 -4
- package/editions/tw5.com/tiddlers/community/resources/_Dropboard_ by Reid Gould.tid +0 -1
- package/editions/tw5.com/tiddlers/community/resources/_Hacks_ by Thomas Elmiger.tid +0 -2
- package/editions/tw5.com/tiddlers/community/resources/_MathCell_ by Ste Wilson.tid +0 -1
- package/editions/tw5.com/tiddlers/community/resources/_TiddlyServer_ by Matt Lauber.tid +0 -1
- package/editions/tw5.com/tiddlers/community/resources/_X3DOM for TiddlyWiki 5_ by Jamal Wills.tid +0 -1
- package/editions/tw5.com/tiddlers/concepts/CoordinateSystems.tid +42 -0
- package/editions/tw5.com/tiddlers/concepts/Customizing EditTemplate Field Rendering.tid +23 -7
- package/editions/tw5.com/tiddlers/concepts/DataTiddlers.tid +4 -21
- package/editions/tw5.com/tiddlers/concepts/DictionaryTiddlers.tid +3 -2
- package/editions/tw5.com/tiddlers/concepts/JSONTiddlers.tid +4 -3
- package/editions/tw5.com/tiddlers/concepts/KeyboardShortcutTiddler.tid +9 -0
- package/editions/tw5.com/tiddlers/concepts/Macros.tid +6 -2
- package/editions/tw5.com/tiddlers/concepts/Order of Tagged Tiddlers.tid +3 -1
- package/editions/tw5.com/tiddlers/concepts/SystemTags.tid +1 -1
- package/editions/tw5.com/tiddlers/concepts/TiddlyWiki5.tid +4 -2
- package/editions/tw5.com/tiddlers/concepts/Title List.tid +4 -1
- package/editions/tw5.com/tiddlers/customising/Customising TiddlyWiki's user interface.tid +2 -2
- package/editions/tw5.com/tiddlers/definitions/Federatial.tid +13 -1
- package/editions/tw5.com/tiddlers/definitions/HTML Block Elements.tid +9 -0
- package/editions/tw5.com/tiddlers/definitions/JavaScript Object Notation.tid +2 -6
- package/editions/tw5.com/tiddlers/definitions/Node.js.tid +5 -3
- package/editions/tw5.com/tiddlers/definitions/TiddlyDesktop.tid +1 -1
- package/editions/tw5.com/tiddlers/definitions/TiddlyWeb.tid +1 -0
- package/editions/tw5.com/tiddlers/definitions/TiddlyWikiClassic.tid +3 -1
- package/editions/tw5.com/tiddlers/demonstrations/CustomStoryTiddlerTemplateDemo.tid/Styles.tid +0 -1
- package/editions/tw5.com/tiddlers/demonstrations/TableOfContentsMacro Selective Expandable Example custom icons.tid +16 -0
- package/editions/tw5.com/tiddlers/demonstrations/Tasks/TaskManagementExampleDraggable.tid +1 -1
- package/editions/tw5.com/tiddlers/features/DateFormat.tid +27 -3
- package/editions/tw5.com/tiddlers/features/JSON in TiddlyWiki.tid +69 -0
- package/editions/tw5.com/tiddlers/features/Modals.tid +3 -0
- package/editions/tw5.com/tiddlers/filters/Mathematics Operators.tid +23 -3
- package/editions/tw5.com/tiddlers/filters/examples/format Operator (Examples).tid +5 -2
- package/editions/tw5.com/tiddlers/filters/examples/insertafter Operator (Examples).tid +28 -0
- package/editions/tw5.com/tiddlers/filters/format.tid +7 -4
- package/editions/tw5.com/tiddlers/filters/insertafter Operator.tid +35 -0
- package/editions/tw5.com/tiddlers/filters/insertbefore Operator.tid +9 -3
- package/editions/tw5.com/tiddlers/filters/jsonextract.tid +66 -0
- package/editions/tw5.com/tiddlers/filters/jsonget.tid +93 -0
- package/editions/tw5.com/tiddlers/filters/jsonindexes.tid +65 -0
- package/editions/tw5.com/tiddlers/filters/jsontype.tid +74 -0
- package/editions/tw5.com/tiddlers/filters/syntax/Map Filter Run Prefix (Examples).tid +20 -2
- package/editions/tw5.com/tiddlers/filters/syntax/Map Filter Run Prefix.tid +3 -2
- package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted.tid +4 -2
- package/editions/tw5.com/tiddlers/hellothere/HelloThere.tid +23 -22
- package/editions/tw5.com/tiddlers/hellothere/HelloThumbnail.tid +1 -1
- package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Funding.tid +10 -0
- package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Grok TiddlyWiki.tid +2 -0
- package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Introduction Video.tid +2 -0
- package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Latest Version.tid +9 -1
- package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Marketplace.tid +10 -0
- package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - TiddlyWikiLinks.tid +3 -1
- package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail_-_Federatial.tid +11 -0
- package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting Default Story Ordering.tid +4 -0
- package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting Sync System Tiddlers From Server.tid +13 -0
- package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting SyncLogging.tid +13 -0
- package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting_ More Tabs Horizontal.tid +7 -0
- package/editions/tw5.com/tiddlers/howtos/Constructing JSON tiddlers.tid +16 -0
- package/editions/tw5.com/tiddlers/howtos/Creating a splash screen.tid +1 -1
- package/editions/tw5.com/tiddlers/howtos/How to apply custom styles by tag.tid +2 -2
- package/editions/tw5.com/tiddlers/howtos/How to create keyboard shortcuts.tid +2 -0
- package/editions/tw5.com/tiddlers/howtos/How to customize TiddlyDesktop.tid +1 -1
- package/editions/tw5.com/tiddlers/howtos/How to update TiddlyWiki to the latest version.tid +7 -0
- package/editions/tw5.com/tiddlers/howtos/Modifying JSON tiddlers.tid +18 -0
- package/editions/tw5.com/tiddlers/howtos/Reading data from JSON tiddlers.tid +34 -0
- package/editions/tw5.com/tiddlers/images/Federatial.png +0 -0
- package/editions/tw5.com/tiddlers/images/Federatial.png.meta +3 -0
- package/editions/tw5.com/tiddlers/images/Funding.png +0 -0
- package/editions/tw5.com/tiddlers/images/{TiddlyMap.png.meta → Funding.png.meta} +1 -1
- package/editions/tw5.com/tiddlers/images/Marketplace Banner.png +0 -0
- package/editions/tw5.com/tiddlers/images/Marketplace Banner.png.meta +3 -0
- package/editions/tw5.com/tiddlers/images/New Release Banner.png +0 -0
- package/editions/tw5.com/tiddlers/macros/JsonTiddlersMacro.tid +3 -3
- package/editions/tw5.com/tiddlers/macros/ListMacro.tid +3 -1
- package/editions/tw5.com/tiddlers/macros/TableOfContentsMacro.tid +36 -2
- package/editions/tw5.com/tiddlers/macros/TagMacro.tid +1 -1
- package/editions/tw5.com/tiddlers/macros/jsontiddler Macro.tid +2 -2
- package/editions/tw5.com/tiddlers/macros/list-links-draggable Macro.tid +2 -0
- package/editions/tw5.com/tiddlers/marketplace/TiddlyWiki Marketplace.tid +18 -0
- package/editions/tw5.com/tiddlers/mechanisms/InfoMechanism.tid +1 -0
- package/editions/tw5.com/tiddlers/mechanisms/PluginMechanism.tid +1 -1
- package/editions/tw5.com/tiddlers/mechanisms/PopupMechanism.tid +1 -0
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-close-window.tid +3 -1
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-modal.tid +4 -2
- package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-new-tiddler.tid +12 -3
- package/editions/tw5.com/tiddlers/nodejs/Environment Variables on Node.js.tid +5 -5
- package/editions/tw5.com/tiddlers/nodejs/Installing TiddlyWiki on Node.js.tid +7 -12
- package/editions/tw5.com/tiddlers/nodejs/Installing custom plugins on Node.js.tid +11 -19
- package/editions/tw5.com/tiddlers/nodejs/Installing official plugins on Node.js.tid +40 -0
- package/editions/tw5.com/tiddlers/nodejs/PluginsCS.tid +9 -0
- package/editions/tw5.com/tiddlers/nodejs/TiddlyWiki on Node.js.tid +7 -2
- package/editions/tw5.com/tiddlers/nodejs/Uninstalling a plugin with Node.js.tid +31 -0
- package/editions/tw5.com/tiddlers/nodejs/Using TiddlyWiki on Node.js.tid +4 -4
- package/editions/tw5.com/tiddlers/platforms/TiddlyWiki in the Sky for TiddlyWeb.tid +2 -1
- package/editions/tw5.com/tiddlers/plugins/Installing a plugin from the plugin library.tid +22 -35
- package/editions/tw5.com/tiddlers/plugins/Manually installing a plugin.tid +19 -4
- package/editions/tw5.com/tiddlers/plugins/OfficialPlugins.tid +3 -1
- package/editions/tw5.com/tiddlers/plugins/Plugin Ordering.tid +47 -0
- package/editions/tw5.com/tiddlers/plugins/PluginFolders.tid +27 -1
- package/editions/tw5.com/tiddlers/plugins/Plugins.tid +19 -7
- package/editions/tw5.com/tiddlers/plugins/Uninstalling a plugin.tid +15 -25
- package/editions/tw5.com/tiddlers/pragmas/Pragma_ _parsermode.tid +17 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.23.tid +32 -34
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.0.tid +36 -38
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.1.tid +16 -18
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.2.tid +26 -28
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.3.tid +152 -0
- package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.4.tid +140 -0
- package/editions/tw5.com/tiddlers/releasenotes/Releases.tid +2 -2
- package/editions/tw5.com/tiddlers/saving/Emergency Tiddler Export.tid +1 -1
- package/editions/tw5.com/tiddlers/saving/Saving on Android.tid +1 -1
- package/editions/tw5.com/tiddlers/saving/Saving on TidGi.tid +1 -1
- package/editions/tw5.com/tiddlers/saving/Saving on TiddlyDesktop.tid +3 -3
- package/editions/tw5.com/tiddlers/saving/Saving on TiddlyHost.tid +1 -1
- package/editions/tw5.com/tiddlers/saving/Saving on TiddlySpot.tid +0 -1
- package/editions/tw5.com/tiddlers/saving/Saving on iPad_iPhone.tid +1 -1
- package/editions/tw5.com/tiddlers/saving/Saving via WebDAV.tid +5 -3
- package/editions/tw5.com/tiddlers/saving/Saving with Polly.tid +1 -0
- package/editions/tw5.com/tiddlers/saving/Saving.tid +17 -12
- package/editions/tw5.com/tiddlers/saving/TiddlyBucket - Save to AWS or Google Storage.tid +15 -0
- package/editions/tw5.com/tiddlers/system/Deprecated.tid +4 -4
- package/editions/tw5.com/tiddlers/system/Deprecated_-_What_does_it_mean.tid +2 -6
- package/editions/tw5.com/tiddlers/system/doc-macros.tid +12 -2
- package/editions/tw5.com/tiddlers/system/doc-styles.tid +34 -4
- package/editions/tw5.com/tiddlers/system/download-empty-button.tid +1 -1
- package/editions/tw5.com/tiddlers/system/systemtag-template.tid +21 -0
- package/editions/tw5.com/tiddlers/system/tw5.com-card-template.tid +2 -13
- package/editions/tw5.com/tiddlers/system/tw5.com-styles.tid +172 -45
- package/editions/tw5.com/tiddlers/system/version-macros.tid +4 -5
- package/editions/tw5.com/tiddlers/system/wikitext-macros.tid +80 -17
- package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_ClassFilters_PageTemplate.tid +9 -0
- package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_ClassFilters_TiddlerTemplate.tid +9 -0
- package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_Filter.tid +2 -2
- package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_Macro_View_Body.tid +9 -0
- package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_ViewTemplate.tid +2 -2
- package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_ViewTemplateSubtitle.tid +9 -0
- package/editions/tw5.com/tiddlers/testimonials/Testimonials - Joe Armstrong.tid +8 -0
- package/editions/tw5.com/tiddlers/testimonials/Testimonials - Network World.tid +8 -0
- package/editions/tw5.com/tiddlers/testimonials/Testimonials - Product Hunt.tid +6 -0
- package/editions/tw5.com/tiddlers/tiddlydesktop/TiddlyDesktop_Releases.tid +1 -1
- package/editions/tw5.com/tiddlers/variables/modifier Variable.tid +2 -2
- package/editions/tw5.com/tiddlers/webserver/Using the external JavaScript template.tid +10 -10
- package/editions/tw5.com/tiddlers/webserver/WebServer API_ Get All Tiddlers.tid +3 -1
- package/editions/tw5.com/tiddlers/widgets/ActionPopupWidget.tid +4 -3
- package/editions/tw5.com/tiddlers/widgets/ButtonWidget.tid +2 -1
- package/editions/tw5.com/tiddlers/widgets/CheckboxWidget.tid +77 -3
- package/editions/tw5.com/tiddlers/widgets/DraggableWidget.tid +20 -3
- package/editions/tw5.com/tiddlers/widgets/ErrorWidget.tid +17 -0
- package/editions/tw5.com/tiddlers/widgets/EventCatcherWidget.tid +6 -3
- package/editions/tw5.com/tiddlers/widgets/GenesisWidget.tid +41 -0
- package/editions/tw5.com/tiddlers/widgets/ImageWidget.tid +5 -3
- package/editions/tw5.com/tiddlers/widgets/JSONTiddlerWidget.tid +5 -4
- package/editions/tw5.com/tiddlers/widgets/LetWidget.tid +4 -1
- package/editions/tw5.com/tiddlers/widgets/ListWidget.tid +2 -2
- package/editions/tw5.com/tiddlers/widgets/ScrollableWidget.tid +4 -4
- package/editions/tw5.com/tiddlers/widgets/SelectWidget.tid +1 -0
- package/editions/tw5.com/tiddlers/widgets/SetWidget.tid +3 -1
- package/editions/tw5.com/tiddlers/widgets/TranscludeWidget.tid +2 -5
- package/editions/tw5.com/tiddlers/wikitext/Code Blocks in WikiText.tid +4 -7
- package/editions/tw5.com/tiddlers/wikitext/Dashes in WikiText.tid +7 -3
- package/editions/tw5.com/tiddlers/wikitext/Formatting in WikiText.tid +7 -7
- package/editions/tw5.com/tiddlers/wikitext/Headings in WikiText.tid +3 -3
- package/editions/tw5.com/tiddlers/wikitext/Horizontal Rules in WikiText.tid +3 -5
- package/editions/tw5.com/tiddlers/wikitext/Macro Definitions in WikiText.tid +27 -4
- package/editions/tw5.com/tiddlers/wikitext/Styles and Classes in WikiText.tid +1 -1
- package/editions/tw5.com/tiddlers/wikitext/Table Classes Captions Headers and Footers.tid +20 -0
- package/editions/tw5.com/tiddlers/wikitext/Tables in WikiText.tid +13 -47
- package/editions/tw5.com/tiddlers/wikitext/Utility Classes.tid +20 -0
- package/editions/tw5.com/tiddlers/wikitext/Widgets in WikiText.tid +4 -4
- package/editions/tw5.com/tiddlers/wikitext/parser/WikiText Parser Modes.tid +2 -2
- package/editions/{katexdemo → twitter-archivist}/tiddlers/DefaultTiddlers.tid +1 -2
- package/editions/twitter-archivist/tiddlers/HelloThere.tid +9 -0
- package/editions/twitter-archivist/tiddlers/SiteSubtitle.tid +3 -0
- package/editions/twitter-archivist/tiddlers/SiteTitle.tid +3 -0
- package/editions/twitter-archivist/tiddlywiki.info +16 -0
- package/languages/ar-PS/ControlPanel.multids +1 -1
- package/languages/ca-ES/ControlPanel.multids +1 -1
- package/languages/cs-CZ/ControlPanel.multids +1 -1
- package/languages/da-DK/ControlPanel.multids +1 -1
- package/languages/de-DE/Buttons.multids +5 -1
- package/languages/de-DE/ControlPanel.multids +1 -1
- package/languages/de-DE/EditTemplate.multids +1 -0
- package/languages/de-DE/Help/commands.tid +14 -0
- package/languages/de-DE/Help/render.tid +2 -1
- package/languages/de-DE/Misc.multids +1 -0
- package/languages/de-DE/SideBar.multids +1 -0
- package/languages/el-GR/ControlPanel.multids +1 -1
- package/languages/es-ES/Buttons.multids +89 -87
- package/languages/es-ES/ControlPanel.multids +18 -1
- package/languages/es-ES/Docs/PaletteColours.multids +2 -2
- package/languages/es-ES/EditTemplate.multids +3 -0
- package/languages/es-ES/Fields.multids +4 -3
- package/languages/es-ES/GettingStarted.tid +4 -3
- package/languages/es-ES/Help/default.tid +4 -1
- package/languages/es-ES/Help/listen.tid +0 -1
- package/languages/es-ES/Help/render.tid +2 -2
- package/languages/es-ES/Import.multids +1 -1
- package/languages/es-ES/Misc.multids +2 -1
- package/languages/es-ES/SideBar.multids +1 -0
- package/languages/es-ES/Snippets/ListByTag.tid +1 -1
- package/languages/fa-IR/ControlPanel.multids +1 -1
- package/languages/fr-FR/Buttons.multids +2 -0
- package/languages/fr-FR/ControlPanel.multids +19 -1
- package/languages/fr-FR/EditTemplate.multids +1 -0
- package/languages/fr-FR/Fields.multids +4 -2
- package/languages/fr-FR/Help/default.tid +4 -1
- package/languages/fr-FR/Help/render.tid +2 -1
- package/languages/fr-FR/Misc.multids +4 -3
- package/languages/fr-FR/SideBar.multids +1 -0
- package/languages/hi-IN/ControlPanel.multids +1 -1
- package/languages/ia-IA/ControlPanel.multids +1 -1
- package/languages/it-IT/ControlPanel.multids +1 -1
- package/languages/ja-JP/Buttons.multids +147 -30
- package/languages/ja-JP/ControlPanel.multids +176 -38
- package/languages/ja-JP/CoreReadMe.tid +2 -2
- package/languages/ja-JP/Dates.multids +24 -24
- package/languages/ja-JP/Docs/ModuleTypes.multids +3 -3
- package/languages/ja-JP/Docs/PaletteColours.multids +18 -18
- package/languages/ja-JP/EditTemplate.multids +23 -7
- package/languages/ja-JP/Exporters.multids +1 -1
- package/languages/ja-JP/Fields.multids +28 -23
- package/languages/ja-JP/Filters.multids +12 -9
- package/languages/ja-JP/GettingStarted.tid +6 -6
- package/languages/ja-JP/Help/build.tid +2 -2
- package/languages/ja-JP/Help/editions.tid +6 -2
- package/languages/ja-JP/Help/help.tid +1 -1
- package/languages/ja-JP/Help/init.tid +2 -2
- package/languages/ja-JP/Help/load.tid +2 -2
- package/languages/ja-JP/Help/makelibrary.tid +3 -3
- package/languages/ja-JP/Help/output.tid +2 -2
- package/languages/ja-JP/Help/rendertiddler.tid +2 -2
- package/languages/ja-JP/Help/rendertiddlers.tid +2 -2
- package/languages/ja-JP/Help/savetiddler.tid +2 -2
- package/languages/ja-JP/Help/savetiddlers.tid +12 -2
- package/languages/ja-JP/Help/server.tid +6 -6
- package/languages/ja-JP/Help/setfield.tid +7 -7
- package/languages/ja-JP/Help/unpackplugin.tid +2 -2
- package/languages/ja-JP/Help/verbose.tid +6 -2
- package/languages/ja-JP/Help/version.tid +2 -2
- package/languages/ja-JP/Import.multids +27 -8
- package/languages/ja-JP/Misc.multids +98 -11
- package/languages/ja-JP/Modals/Download.tid +2 -2
- package/languages/ja-JP/Notifications.multids +2 -2
- package/languages/ja-JP/Search.multids +8 -4
- package/languages/ja-JP/SideBar.multids +6 -4
- package/languages/ja-JP/SiteSubtitle.tid +1 -1
- package/languages/ja-JP/SiteTitle.tid +1 -1
- package/languages/ja-JP/TiddlerInfo.multids +10 -10
- package/languages/ja-JP/Types/application%2Fjavascript.tid +1 -1
- package/languages/ja-JP/Types/image%2Fgif.tid +1 -1
- package/languages/ja-JP/Types/image%2Fjpeg.tid +1 -1
- package/languages/ja-JP/Types/image%2Fpng.tid +1 -1
- package/languages/ja-JP/Types/image%2Fsvg%2Bxml.tid +1 -1
- package/languages/ja-JP/Types/image%2Fx-icon.tid +1 -1
- package/languages/ja-JP/Types/text%2Fcss.tid +1 -1
- package/languages/ja-JP/Types/text%2Fvnd.tiddlywiki.tid +1 -1
- package/languages/ja-JP/plugin.info +1 -1
- package/languages/ko-KR/ControlPanel.multids +1 -1
- package/languages/nl-NL/ControlPanel.multids +1 -1
- package/languages/pl-PL/Buttons.multids +7 -3
- package/languages/pl-PL/ControlPanel.multids +29 -25
- package/languages/pl-PL/EditTemplate.multids +1 -0
- package/languages/pl-PL/Fields.multids +3 -3
- package/languages/pl-PL/GettingStarted.tid +4 -3
- package/languages/pl-PL/Help/commands.tid +18 -0
- package/languages/pl-PL/Help/default.tid +4 -1
- package/languages/pl-PL/Help/render.tid +2 -2
- package/languages/pl-PL/Import.multids +3 -3
- package/languages/pl-PL/Misc.multids +1 -0
- package/languages/pl-PL/SideBar.multids +1 -0
- package/languages/pl-PL/ThemeTweaks.multids +3 -3
- package/languages/pt-BR/ControlPanel.multids +1 -1
- package/languages/pt-PT/ControlPanel.multids +1 -1
- package/languages/ru-RU/ControlPanel.multids +1 -1
- package/languages/sk-SK/ControlPanel.multids +1 -1
- package/languages/sl-SI/ControlPanel.multids +1 -1
- package/languages/sv-SE/ControlPanel.multids +1 -1
- package/languages/zh-Hans/Buttons.multids +36 -32
- package/languages/zh-Hans/ControlPanel.multids +19 -19
- package/languages/zh-Hans/CoreReadMe.tid +1 -1
- package/languages/zh-Hans/Docs/ModuleTypes.multids +2 -2
- package/languages/zh-Hans/Docs/PaletteColours.multids +8 -8
- package/languages/zh-Hans/EditTemplate.multids +1 -0
- package/languages/zh-Hans/Fields.multids +7 -7
- package/languages/zh-Hans/Filters.multids +1 -1
- package/languages/zh-Hans/GettingStarted.tid +8 -6
- package/languages/zh-Hans/Help/commands.tid +18 -0
- package/languages/zh-Hans/Help/default.tid +4 -1
- package/languages/zh-Hans/Help/fetch.tid +6 -6
- package/languages/zh-Hans/Help/init.tid +1 -1
- package/languages/zh-Hans/Help/listen.tid +5 -5
- package/languages/zh-Hans/Help/makelibrary.tid +1 -1
- package/languages/zh-Hans/Help/render.tid +1 -0
- package/languages/zh-Hans/Help/savetiddlers.tid +1 -1
- package/languages/zh-Hans/Help/server.tid +6 -6
- package/languages/zh-Hans/Help/setfield.tid +3 -3
- package/languages/zh-Hans/Import.multids +1 -1
- package/languages/zh-Hans/Misc.multids +12 -11
- package/languages/zh-Hans/Search.multids +6 -6
- package/languages/zh-Hans/SideBar.multids +1 -0
- package/languages/zh-Hans/SiteSubtitle.tid +1 -1
- package/languages/zh-Hans/Snippets/ListByTag.tid +1 -1
- package/languages/zh-Hans/ThemeTweaks.multids +7 -7
- package/languages/zh-Hans/TiddlerInfo.multids +2 -2
- package/languages/zh-Hant/Buttons.multids +4 -0
- package/languages/zh-Hant/ControlPanel.multids +2 -2
- package/languages/zh-Hant/EditTemplate.multids +1 -0
- package/languages/zh-Hant/Fields.multids +2 -2
- package/languages/zh-Hant/GettingStarted.tid +4 -3
- package/languages/zh-Hant/Help/commands.tid +18 -0
- package/languages/zh-Hant/Help/default.tid +4 -1
- package/languages/zh-Hant/Help/render.tid +1 -0
- package/languages/zh-Hant/Misc.multids +1 -0
- package/languages/zh-Hant/SideBar.multids +1 -0
- package/licenses/cla-individual.md +14 -0
- package/package.json +1 -1
- package/plugins/tiddlywiki/browser-sniff/browser.js +5 -1
- package/plugins/tiddlywiki/browser-sniff/usage.tid +1 -0
- package/plugins/tiddlywiki/browser-storage/rawmarkup.js +18 -1
- package/plugins/tiddlywiki/browser-storage/readme.tid +0 -1
- package/plugins/tiddlywiki/browser-storage/settings.tid +5 -1
- package/plugins/tiddlywiki/browser-storage/startup.js +14 -9
- package/plugins/tiddlywiki/codemirror/engine.js +4 -0
- package/plugins/tiddlywiki/dynannotate/docs/readme.tid +72 -8
- package/plugins/tiddlywiki/dynannotate/modules/dynannotate.js +13 -2
- package/plugins/tiddlywiki/dynannotate/modules/legacy-selection-tracker.js +104 -0
- package/plugins/tiddlywiki/dynannotate/modules/selection-tracker.js +144 -89
- package/plugins/tiddlywiki/dynannotate/modules/startup.js +40 -0
- package/plugins/tiddlywiki/help/tabs/Support.tid +6 -2
- package/plugins/tiddlywiki/jasmine/command.js +33 -0
- package/plugins/tiddlywiki/jasmine/help.tid +24 -0
- package/plugins/tiddlywiki/jasmine/jasmine-plugin.js +24 -18
- package/plugins/tiddlywiki/jasmine/readme.tid +31 -1
- package/plugins/tiddlywiki/jasmine/run-wiki-based-tests.js +93 -0
- package/plugins/tiddlywiki/jasmine/startup.js +37 -0
- package/{editions/katexdemo/tiddlers → plugins/tiddlywiki/katex}/ImplementationNotes.tid +3 -3
- package/plugins/tiddlywiki/katex/developer.tid +58 -0
- package/plugins/tiddlywiki/katex/files/contrib/mhchem.min.js +1 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_AMS-Regular.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Bold.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Regular.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Bold.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-BoldItalic.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Italic.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Regular.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-BoldItalic.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-Italic.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Bold.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Italic.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Regular.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Script-Regular.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size1-Regular.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size2-Regular.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size3-Regular.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size4-Regular.woff +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Typewriter-Regular.woff +0 -0
- package/plugins/tiddlywiki/katex/files/katex.min.css +1 -1
- package/plugins/tiddlywiki/katex/files/katex.min.js +1 -1
- package/plugins/tiddlywiki/katex/files/katex.without-font-face.min.css +1 -1
- package/plugins/tiddlywiki/katex/files/tiddlywiki.files +2 -2
- package/plugins/tiddlywiki/katex/plugin.info +1 -1
- package/plugins/tiddlywiki/katex/readme.tid +1 -1
- package/plugins/tiddlywiki/katex/snippets/logo.tid +4 -0
- package/plugins/tiddlywiki/katex/snippets/math.tid +8 -0
- package/plugins/tiddlywiki/katex/styles.tid +7 -0
- package/plugins/tiddlywiki/katex/usage.tid +18 -2
- package/plugins/tiddlywiki/markdown/EditorToolbar/link-dropdown.tid +73 -0
- package/plugins/tiddlywiki/markdown/EditorToolbar/link.tid +11 -0
- package/plugins/tiddlywiki/markdown/EditorToolbar/linkify.tid +15 -0
- package/plugins/tiddlywiki/markdown/EditorToolbar/mono-block.tid +17 -0
- package/plugins/tiddlywiki/markdown/KeyboardShortcuts/new-markdown-tiddler.tid +8 -0
- package/plugins/tiddlywiki/markdown/config.multids +5 -0
- package/plugins/tiddlywiki/markdown/editor-operations/make-markdown-link.js +37 -0
- package/plugins/tiddlywiki/markdown/images/markdown-linkify.tid +6 -0
- package/plugins/tiddlywiki/menubar/items/search.tid +2 -0
- package/plugins/tiddlywiki/tiddlyweb/save-wiki-button.tid +1 -1
- package/plugins/tiddlywiki/translators/macros/translatableStringEditor.tid +6 -0
- package/plugins/tiddlywiki/translators/system/styles.tid +5 -0
- package/plugins/tiddlywiki/twitter-archivist/Twitter Archives.tid +5 -0
- package/plugins/tiddlywiki/twitter-archivist/archivist.js +319 -0
- package/plugins/tiddlywiki/twitter-archivist/configTiddlerInfoMode.tid +2 -0
- package/plugins/tiddlywiki/twitter-archivist/loadtwitterarchive.js +53 -0
- package/plugins/tiddlywiki/twitter-archivist/macros.tid +222 -0
- package/plugins/tiddlywiki/twitter-archivist/plugin.info +6 -0
- package/plugins/tiddlywiki/twitter-archivist/readme.tid +33 -0
- package/plugins/tiddlywiki/twitter-archivist/spec.tid +62 -0
- package/plugins/tiddlywiki/twitter-archivist/startup.js +38 -0
- package/plugins/tiddlywiki/twitter-archivist/styles.tid +47 -0
- package/plugins/tiddlywiki/twitter-archivist/template-archive.tid +3 -0
- package/plugins/tiddlywiki/twitter-archivist/template-hashtag.tid +3 -0
- package/plugins/tiddlywiki/twitter-archivist/template-tweet.tid +3 -0
- package/plugins/tiddlywiki/twitter-archivist/template-tweeter.tid +3 -0
- package/plugins/tiddlywiki/twitter-archivist/todo.tid +15 -0
- package/plugins/tiddlywiki/twitter-archivist/usage.tid +18 -0
- package/plugins/tiddlywiki/twitter-archivist/view-template-body-cascade.tid +8 -0
- package/plugins/tiddlywiki/upgrade/UpgradeWizard.tid +3 -3
- package/readme.md +5 -3
- package/themes/tiddlywiki/vanilla/base.tid +152 -13
- package/.github/ISSUE_TEMPLATE/bug_report.md +0 -43
- package/editions/fr-FR/tiddlers/$__core_ui_SideBar_Open.tid +0 -15
- package/editions/fr-FR/tiddlers/$__core_ui_TagTemplate.tid +0 -33
- package/editions/fr-FR/tiddlers/Horizontal Rules in WikiText.tid +0 -17
- package/editions/fr-FR/tiddlers/Installing TiddlyWiki on Node.js.tid +0 -23
- package/editions/fr-FR/tiddlers/Macro_Calls_in_WikiText.tid +0 -22
- package/editions/fr-FR/tiddlers/Pragma.tid +0 -17
- package/editions/fr-FR/tiddlers/Saving on Android.tid +0 -10
- package/editions/fr-FR/tiddlers/Saving on InternetExplorer.tid +0 -11
- package/editions/fr-FR/tiddlers/Saving on Safari.tid +0 -24
- package/editions/fr-FR/tiddlers/Saving on iPad_iPhone.tid +0 -23
- package/editions/fr-FR/tiddlers/Saving with TiddlyFox.tid +0 -24
- package/editions/fr-FR/tiddlers/Saving with TiddlyIE.tid +0 -19
- package/editions/fr-FR/tiddlers/Saving_on_a_PHP_Server.tid +0 -30
- package/editions/fr-FR/tiddlers/Tables_in_WikiText.tid +0 -102
- package/editions/fr-FR/tiddlers/TiddlyDesktop.tid +0 -23
- package/editions/fr-FR/tiddlers/TiddlyDesktop_Releases.tid +0 -9
- package/editions/fr-FR/tiddlers/TiddlyWiki on Node.js.tid +0 -18
- package/editions/fr-FR/tiddlers/TranscludeWidget.tid +0 -73
- package/editions/fr-FR/tiddlers/Widgets_in_WikiText.tid +0 -30
- package/editions/prerelease/tiddlers/Release 5.2.3.tid +0 -58
- package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Classic.tid +0 -6
- package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Developers.tid +0 -7
- package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Gentle Guide.tid +0 -11
- package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - HelpingTiddlyWiki.tid +0 -7
- package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - TWEUM2017.tid +0 -8
- package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - TiddlyMap.tid +0 -6
- package/editions/tw5.com/tiddlers/images/Dev Thumbnail.jpg +0 -0
- package/editions/tw5.com/tiddlers/images/Dev Thumbnail.jpg.meta +0 -3
- package/editions/tw5.com/tiddlers/images/TiddlyMap.png +0 -0
- package/plugins/tiddlywiki/katex/files/README.md +0 -119
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_AMS-Regular.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_AMS-Regular.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Bold.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Regular.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Bold.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Regular.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Bold.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Bold.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-BoldItalic.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Italic.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Italic.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Regular.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Regular.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-BoldItalic.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-Italic.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-Italic.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Bold.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Italic.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Regular.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Script-Regular.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Script-Regular.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size1-Regular.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size1-Regular.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size2-Regular.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size2-Regular.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size3-Regular.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size3-Regular.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size4-Regular.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size4-Regular.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Typewriter-Regular.ttf +0 -0
- package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
- package/plugins/tiddlywiki/katex/files/katex.css +0 -1079
- package/plugins/tiddlywiki/katex/files/katex.js +0 -18183
- package/plugins/tiddlywiki/katex/files/mhchem.min.js +0 -1
@@ -41,9 +41,6 @@ exports.parse = function() {
|
|
41
41
|
var node = {
|
42
42
|
type: "element",
|
43
43
|
tag: "span",
|
44
|
-
attributes: {
|
45
|
-
"class": {type: "string", value: "tc-inline-style"}
|
46
|
-
},
|
47
44
|
children: tree
|
48
45
|
};
|
49
46
|
if(classString) {
|
@@ -52,6 +49,9 @@ exports.parse = function() {
|
|
52
49
|
if(stylesString) {
|
53
50
|
$tw.utils.addAttributeToParseTreeNode(node,"style",stylesString);
|
54
51
|
}
|
52
|
+
if(!classString && !stylesString) {
|
53
|
+
$tw.utils.addClassToParseTreeNode(node,"tc-inline-style");
|
54
|
+
}
|
55
55
|
return [node];
|
56
56
|
};
|
57
57
|
|
@@ -47,6 +47,8 @@ var WikiParser = function(type,text,options) {
|
|
47
47
|
this.sourceLength = this.source.length;
|
48
48
|
// Flag for ignoring whitespace
|
49
49
|
this.configTrimWhiteSpace = false;
|
50
|
+
// Parser mode
|
51
|
+
this.parseAsInline = options.parseAsInline;
|
50
52
|
// Set current parse position
|
51
53
|
this.pos = 0;
|
52
54
|
// Start with empty output
|
@@ -83,7 +85,7 @@ var WikiParser = function(type,text,options) {
|
|
83
85
|
// Parse any pragmas
|
84
86
|
var topBranch = this.parsePragmas();
|
85
87
|
// Parse the text into inline runs or blocks
|
86
|
-
if(
|
88
|
+
if(this.parseAsInline) {
|
87
89
|
topBranch.push.apply(topBranch,this.parseInlineRun());
|
88
90
|
} else {
|
89
91
|
topBranch.push.apply(topBranch,this.parseBlocks());
|
@@ -116,7 +118,7 @@ WikiParser.prototype.loadRemoteTiddler = function(url) {
|
|
116
118
|
*/
|
117
119
|
WikiParser.prototype.setupRules = function(proto,configPrefix) {
|
118
120
|
var self = this;
|
119
|
-
if(!$tw.
|
121
|
+
if(!$tw.safeMode) {
|
120
122
|
$tw.utils.each(proto,function(object,name) {
|
121
123
|
if(self.wiki.getTiddlerText(configPrefix + name,"enable") !== "enable") {
|
122
124
|
delete proto[name];
|
@@ -80,6 +80,7 @@ PutSaver.prototype.save = function(text,method,callback) {
|
|
80
80
|
if(this.etag) {
|
81
81
|
headers["If-Match"] = this.etag;
|
82
82
|
}
|
83
|
+
$tw.notifier.display("$:/language/Notifications/Save/Starting");
|
83
84
|
$tw.utils.httpRequest({
|
84
85
|
url: this.uri(),
|
85
86
|
type: "PUT",
|
@@ -87,17 +88,20 @@ PutSaver.prototype.save = function(text,method,callback) {
|
|
87
88
|
data: text,
|
88
89
|
callback: function(err,data,xhr) {
|
89
90
|
if(err) {
|
90
|
-
|
91
|
-
|
91
|
+
var status = xhr.status,
|
92
|
+
errorMsg = err;
|
92
93
|
if(status === 412) { // file changed on server
|
93
|
-
|
94
|
+
errorMsg = $tw.language.getString("Error/PutEditConflict");
|
94
95
|
} else if(status === 401) { // authentication required
|
95
|
-
|
96
|
+
errorMsg = $tw.language.getString("Error/PutUnauthorized");
|
96
97
|
} else if(status === 403) { // permission denied
|
97
|
-
|
98
|
-
} else {
|
99
|
-
callback(err); // fail
|
98
|
+
errorMsg = $tw.language.getString("Error/PutForbidden");
|
100
99
|
}
|
100
|
+
if (xhr.responseText) {
|
101
|
+
// treat any server response like a plain text error explanation
|
102
|
+
errorMsg = errorMsg + "\n\n" + xhr.responseText;
|
103
|
+
}
|
104
|
+
callback(errorMsg); // fail
|
101
105
|
} else {
|
102
106
|
self.etag = xhr.getResponseHeader("ETag");
|
103
107
|
if(self.etag == null) {
|
@@ -64,6 +64,7 @@ UploadSaver.prototype.save = function(text,method,callback) {
|
|
64
64
|
var tail = "\r\n--" + boundary + "--\r\n",
|
65
65
|
data = head.join("\r\n") + text + tail;
|
66
66
|
// Do the HTTP post
|
67
|
+
$tw.notifier.display("$:/language/Notifications/Save/Starting");
|
67
68
|
var http = new XMLHttpRequest();
|
68
69
|
http.open("POST",url,true,username,password);
|
69
70
|
http.setRequestHeader("Content-Type","multipart/form-data; charset=UTF-8; boundary=" + boundary);
|
@@ -81,7 +82,6 @@ UploadSaver.prototype.save = function(text,method,callback) {
|
|
81
82
|
} catch(ex) {
|
82
83
|
return callback($tw.language.getString("Error/Caption") + ":" + ex);
|
83
84
|
}
|
84
|
-
$tw.notifier.display("$:/language/Notifications/Save/Starting");
|
85
85
|
return true;
|
86
86
|
};
|
87
87
|
|
@@ -30,6 +30,16 @@ exports.handler = function(request,response,state) {
|
|
30
30
|
if(fields.revision) {
|
31
31
|
delete fields.revision;
|
32
32
|
}
|
33
|
+
// If this is a skinny tiddler, it means the client never got the full
|
34
|
+
// version of the tiddler to edit. So we must preserve whatever text
|
35
|
+
// already exists on the server, or else we'll inadvertently delete it.
|
36
|
+
if(fields._is_skinny !== undefined) {
|
37
|
+
var tiddler = state.wiki.getTiddler(title);
|
38
|
+
if(tiddler) {
|
39
|
+
fields.text = tiddler.fields.text;
|
40
|
+
}
|
41
|
+
delete fields._is_skinny;
|
42
|
+
}
|
33
43
|
state.wiki.addTiddler(new $tw.Tiddler(fields,{title: title}));
|
34
44
|
var changeCount = state.wiki.getChangeCount(title).toString();
|
35
45
|
response.writeHead(204, "OK",{
|
@@ -359,8 +359,9 @@ Server.prototype.listen = function(port,host,prefix) {
|
|
359
359
|
}
|
360
360
|
// Display the port number after we've started listening (the port number might have been specified as zero, in which case we will get an assigned port)
|
361
361
|
server.on("listening",function() {
|
362
|
-
var address = server.address()
|
363
|
-
|
362
|
+
var address = server.address(),
|
363
|
+
url = self.protocol + "://" + (address.family === "IPv6" ? "[" + address.address + "]" : address.address) + ":" + address.port + prefix;
|
364
|
+
$tw.utils.log("Serving on " + url,"brown/orange");
|
364
365
|
$tw.utils.log("(press ctrl-C to exit)","red");
|
365
366
|
});
|
366
367
|
// Listen
|
@@ -62,12 +62,14 @@ function loadIFrame(url,callback) {
|
|
62
62
|
Unload library iframe for given url
|
63
63
|
*/
|
64
64
|
function unloadIFrame(url){
|
65
|
-
|
65
|
+
var iframes = document.getElementsByTagName('iframe');
|
66
|
+
for(var t=iframes.length-1; t--; t>=0) {
|
67
|
+
var iframe = iframes[t];
|
66
68
|
if(iframe.getAttribute("library") === "true" &&
|
67
69
|
iframe.getAttribute("src") === url) {
|
68
70
|
iframe.parentNode.removeChild(iframe);
|
69
71
|
}
|
70
|
-
}
|
72
|
+
}
|
71
73
|
}
|
72
74
|
|
73
75
|
function saveIFrameInfoTiddler(iframeInfo) {
|
@@ -121,7 +121,11 @@ exports.startup = function() {
|
|
121
121
|
});
|
122
122
|
// Set up the syncer object if we've got a syncadaptor
|
123
123
|
if($tw.syncadaptor) {
|
124
|
-
$tw.syncer = new $tw.Syncer({
|
124
|
+
$tw.syncer = new $tw.Syncer({
|
125
|
+
wiki: $tw.wiki,
|
126
|
+
syncadaptor: $tw.syncadaptor,
|
127
|
+
logging: $tw.wiki.getTiddlerText('$:/config/SyncLogging', "yes") === "yes"
|
128
|
+
});
|
125
129
|
}
|
126
130
|
// Setup the saver handler
|
127
131
|
$tw.saverHandler = new $tw.SaverHandler({
|
@@ -54,7 +54,9 @@ exports.startup = function() {
|
|
54
54
|
var hash = $tw.utils.getLocationHash();
|
55
55
|
if(hash !== $tw.locationHash) {
|
56
56
|
$tw.locationHash = hash;
|
57
|
-
|
57
|
+
if(hash !== "#") {
|
58
|
+
openStartupTiddlers({defaultToCurrentStory: true});
|
59
|
+
}
|
58
60
|
}
|
59
61
|
},false);
|
60
62
|
// Listen for the tm-browser-refresh message
|
@@ -12,35 +12,113 @@ A barebones CSV parser
|
|
12
12
|
/*global $tw: false */
|
13
13
|
"use strict";
|
14
14
|
|
15
|
+
var QUOTE = '"';
|
16
|
+
|
17
|
+
var getCellInfo = function(text, start, length, SEPARATOR) {
|
18
|
+
var isCellQuoted = text.charAt(start) === QUOTE;
|
19
|
+
var cellStart = isCellQuoted ? start + 1 : start;
|
20
|
+
|
21
|
+
if (text.charAt(i) === SEPARATOR) {
|
22
|
+
return [cellStart, cellStart, false];
|
23
|
+
}
|
24
|
+
|
25
|
+
for (var i = cellStart; i < length; i++) {
|
26
|
+
var cellCharacter = text.charAt(i);
|
27
|
+
var isEOL = cellCharacter === "\n" || cellCharacter === "\r";
|
28
|
+
|
29
|
+
if (isEOL && !isCellQuoted) {
|
30
|
+
return [cellStart, i, false];
|
31
|
+
|
32
|
+
} else if (cellCharacter === SEPARATOR && !isCellQuoted) {
|
33
|
+
return [cellStart, i, false];
|
34
|
+
|
35
|
+
} else if (cellCharacter === QUOTE && isCellQuoted) {
|
36
|
+
var nextCharacter = i + 1 < length ? text.charAt(i + 1) : '';
|
37
|
+
if (nextCharacter !== QUOTE) {
|
38
|
+
return [cellStart, i, true];
|
39
|
+
} else {
|
40
|
+
i++;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
return [cellStart, i, isCellQuoted];
|
46
|
+
}
|
47
|
+
|
48
|
+
exports.parseCsvString = function(text, options) {
|
49
|
+
if (!text) {
|
50
|
+
return [];
|
51
|
+
}
|
52
|
+
|
53
|
+
options = options || {};
|
54
|
+
var SEPARATOR = options.separator || ",",
|
55
|
+
length = text.length,
|
56
|
+
rows = [],
|
57
|
+
nextRow = [];
|
58
|
+
|
59
|
+
for (var i = 0; i < length; i++) {
|
60
|
+
var cellInfo = getCellInfo(text, i, length, SEPARATOR);
|
61
|
+
var cellText = text.substring(cellInfo[0], cellInfo[1]);
|
62
|
+
if (cellInfo[2]) {
|
63
|
+
cellText = cellText.replace(/""/g, '"');
|
64
|
+
cellInfo[1]++;
|
65
|
+
}
|
66
|
+
nextRow.push(cellText);
|
67
|
+
|
68
|
+
i = cellInfo[1];
|
69
|
+
|
70
|
+
var character = text.charAt(i);
|
71
|
+
var nextCharacter = i + 1 < length ? text.charAt(i + 1) : '';
|
72
|
+
|
73
|
+
if (character === "\r" || character === "\n") {
|
74
|
+
// Edge case for empty rows
|
75
|
+
if (nextRow.length === 1 && nextRow[0] === '') {
|
76
|
+
nextRow.length = 0;
|
77
|
+
}
|
78
|
+
rows.push(nextRow);
|
79
|
+
nextRow = [];
|
80
|
+
|
81
|
+
if (character === "\r") {
|
82
|
+
var nextCharacter = i + 1 < length ? text.charAt(i + 1) : '';
|
83
|
+
|
84
|
+
if (nextCharacter === "\n") {
|
85
|
+
i++;
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
|
91
|
+
// Special case if last cell in last row is an empty cell
|
92
|
+
if (text.charAt(length - 1) === SEPARATOR) {
|
93
|
+
nextRow.push("");
|
94
|
+
}
|
95
|
+
|
96
|
+
rows.push(nextRow);
|
97
|
+
|
98
|
+
return rows;
|
99
|
+
}
|
100
|
+
|
15
101
|
/*
|
16
102
|
Parse a CSV string with a header row and return an array of hashmaps.
|
17
103
|
*/
|
18
104
|
exports.parseCsvStringWithHeader = function(text,options) {
|
19
|
-
|
20
|
-
var
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
var columns = rows[row].split(separator),
|
33
|
-
columnResult = Object.create(null);
|
34
|
-
if(columns.length !== headings.length) {
|
35
|
-
return "Malformed CSV row '" + rows[row] + "'";
|
36
|
-
}
|
37
|
-
for(var column=0; column<columns.length; column++) {
|
38
|
-
var columnName = headings[column];
|
39
|
-
columnResult[columnName] = $tw.utils.trim(columns[column] || "");
|
105
|
+
var csv = $tw.utils.parseCsvString(text, options);
|
106
|
+
var headers = csv[0];
|
107
|
+
|
108
|
+
csv = csv.slice(1);
|
109
|
+
for (var i = 0; i < csv.length; i++) {
|
110
|
+
var row = csv[i];
|
111
|
+
var rowObject = Object.create(null);
|
112
|
+
|
113
|
+
for(var columnIndex=0; columnIndex<headers.length; columnIndex++) {
|
114
|
+
var columnName = headers[columnIndex];
|
115
|
+
if (columnName) {
|
116
|
+
rowObject[columnName] = $tw.utils.trim(row[columnIndex] || "");
|
117
|
+
}
|
40
118
|
}
|
41
|
-
|
119
|
+
csv[i] = rowObject;
|
42
120
|
}
|
43
|
-
return
|
121
|
+
return csv;
|
44
122
|
}
|
45
123
|
|
46
124
|
})();
|
@@ -12,6 +12,8 @@ Various static DOM-related utility functions.
|
|
12
12
|
/*global $tw: false */
|
13
13
|
"use strict";
|
14
14
|
|
15
|
+
var Popup = require("$:/core/modules/utils/dom/popup.js");
|
16
|
+
|
15
17
|
/*
|
16
18
|
Determines whether element 'a' contains element 'b'
|
17
19
|
Code thanks to John Resig, http://ejohn.org/blog/comparing-document-position/
|
@@ -281,5 +283,69 @@ exports.getLocationPath = function() {
|
|
281
283
|
return window.location.toString().split("#")[0];
|
282
284
|
};
|
283
285
|
|
286
|
+
/*
|
287
|
+
Collect DOM variables
|
288
|
+
*/
|
289
|
+
exports.collectDOMVariables = function(selectedNode,domNode,event) {
|
290
|
+
var variables = {},
|
291
|
+
selectedNodeRect,
|
292
|
+
domNodeRect;
|
293
|
+
if(selectedNode) {
|
294
|
+
$tw.utils.each(selectedNode.attributes,function(attribute) {
|
295
|
+
variables["dom-" + attribute.name] = attribute.value.toString();
|
296
|
+
});
|
297
|
+
|
298
|
+
if(selectedNode.offsetLeft) {
|
299
|
+
// Add variables with a (relative and absolute) popup coordinate string for the selected node
|
300
|
+
var nodeRect = {
|
301
|
+
left: selectedNode.offsetLeft,
|
302
|
+
top: selectedNode.offsetTop,
|
303
|
+
width: selectedNode.offsetWidth,
|
304
|
+
height: selectedNode.offsetHeight
|
305
|
+
};
|
306
|
+
variables["tv-popup-coords"] = Popup.buildCoordinates(Popup.coordinatePrefix.csOffsetParent,nodeRect);
|
307
|
+
|
308
|
+
var absRect = $tw.utils.extend({}, nodeRect);
|
309
|
+
for (var currentNode = selectedNode.offsetParent; currentNode; currentNode = currentNode.offsetParent) {
|
310
|
+
absRect.left += currentNode.offsetLeft;
|
311
|
+
absRect.top += currentNode.offsetTop;
|
312
|
+
}
|
313
|
+
variables["tv-popup-abs-coords"] = Popup.buildCoordinates(Popup.coordinatePrefix.csAbsolute,absRect);
|
314
|
+
|
315
|
+
// Add variables for offset of selected node
|
316
|
+
variables["tv-selectednode-posx"] = selectedNode.offsetLeft.toString();
|
317
|
+
variables["tv-selectednode-posy"] = selectedNode.offsetTop.toString();
|
318
|
+
variables["tv-selectednode-width"] = selectedNode.offsetWidth.toString();
|
319
|
+
variables["tv-selectednode-height"] = selectedNode.offsetHeight.toString();
|
320
|
+
}
|
321
|
+
}
|
322
|
+
|
323
|
+
if(domNode && domNode.offsetWidth) {
|
324
|
+
variables["tv-widgetnode-width"] = domNode.offsetWidth.toString();
|
325
|
+
variables["tv-widgetnode-height"] = domNode.offsetHeight.toString();
|
326
|
+
}
|
327
|
+
|
328
|
+
if(event && event.clientX && event.clientY) {
|
329
|
+
if(selectedNode) {
|
330
|
+
// Add variables for event X and Y position relative to selected node
|
331
|
+
selectedNodeRect = selectedNode.getBoundingClientRect();
|
332
|
+
variables["event-fromselected-posx"] = (event.clientX - selectedNodeRect.left).toString();
|
333
|
+
variables["event-fromselected-posy"] = (event.clientY - selectedNodeRect.top).toString();
|
334
|
+
}
|
335
|
+
|
336
|
+
if(domNode) {
|
337
|
+
// Add variables for event X and Y position relative to event catcher node
|
338
|
+
domNodeRect = domNode.getBoundingClientRect();
|
339
|
+
variables["event-fromcatcher-posx"] = (event.clientX - domNodeRect.left).toString();
|
340
|
+
variables["event-fromcatcher-posy"] = (event.clientY - domNodeRect.top).toString();
|
341
|
+
}
|
342
|
+
|
343
|
+
// Add variables for event X and Y position relative to the viewport
|
344
|
+
variables["event-fromviewport-posx"] = event.clientX.toString();
|
345
|
+
variables["event-fromviewport-posy"] = event.clientY.toString();
|
346
|
+
}
|
347
|
+
return variables;
|
348
|
+
};
|
349
|
+
|
284
350
|
|
285
351
|
})();
|
@@ -25,14 +25,13 @@ widget: widget to use as the context for the filter
|
|
25
25
|
exports.makeDraggable = function(options) {
|
26
26
|
var dragImageType = options.dragImageType || "dom",
|
27
27
|
dragImage,
|
28
|
-
domNode = options.domNode
|
29
|
-
dragHandle = options.selector && domNode.querySelector(options.selector) || domNode;
|
28
|
+
domNode = options.domNode;
|
30
29
|
// Make the dom node draggable (not necessary for anchor tags)
|
31
|
-
if((domNode.tagName || "").toLowerCase() !== "a") {
|
32
|
-
|
30
|
+
if(!options.selector && ((domNode.tagName || "").toLowerCase() !== "a")) {
|
31
|
+
domNode.setAttribute("draggable","true");
|
33
32
|
}
|
34
33
|
// Add event handlers
|
35
|
-
$tw.utils.addEventListeners(
|
34
|
+
$tw.utils.addEventListeners(domNode,[
|
36
35
|
{name: "dragstart", handlerFunction: function(event) {
|
37
36
|
if(event.dataTransfer === undefined) {
|
38
37
|
return false;
|
@@ -41,20 +40,26 @@ exports.makeDraggable = function(options) {
|
|
41
40
|
var dragTiddler = options.dragTiddlerFn && options.dragTiddlerFn(),
|
42
41
|
dragFilter = options.dragFilterFn && options.dragFilterFn(),
|
43
42
|
titles = dragTiddler ? [dragTiddler] : [],
|
44
|
-
|
43
|
+
startActions = options.startActions,
|
44
|
+
variables,
|
45
|
+
domNodeRect;
|
45
46
|
if(dragFilter) {
|
46
47
|
titles.push.apply(titles,options.widget.wiki.filterTiddlers(dragFilter,options.widget));
|
47
48
|
}
|
48
49
|
var titleString = $tw.utils.stringifyList(titles);
|
49
50
|
// Check that we've something to drag
|
50
|
-
if(titles.length > 0 && event.target ===
|
51
|
+
if(titles.length > 0 && (options.selector && $tw.utils.domMatchesSelector(event.target,options.selector) || event.target === domNode)) {
|
51
52
|
// Mark the drag in progress
|
52
53
|
$tw.dragInProgress = domNode;
|
53
54
|
// Set the dragging class on the element being dragged
|
54
|
-
$tw.utils.addClass(
|
55
|
+
$tw.utils.addClass(domNode,"tc-dragging");
|
55
56
|
// Invoke drag-start actions if given
|
56
57
|
if(startActions !== undefined) {
|
57
|
-
|
58
|
+
// Collect our variables
|
59
|
+
variables = $tw.utils.collectDOMVariables(domNode,null,event);
|
60
|
+
variables.modifier = $tw.keyboardManager.getEventModifierKeyDescriptor(event);
|
61
|
+
variables["actionTiddler"] = titleString;
|
62
|
+
options.widget.invokeActionString(startActions,options.widget,event,variables);
|
58
63
|
}
|
59
64
|
// Create the drag image elements
|
60
65
|
dragImage = options.widget.document.createElement("div");
|
@@ -101,20 +106,22 @@ exports.makeDraggable = function(options) {
|
|
101
106
|
dataTransfer.setData("text/vnd.tiddler",jsonData);
|
102
107
|
dataTransfer.setData("text/plain",titleString);
|
103
108
|
dataTransfer.setData("text/x-moz-url","data:text/vnd.tiddler," + encodeURIComponent(jsonData));
|
109
|
+
} else {
|
110
|
+
dataTransfer.setData("URL","data:text/vnd.tiddler," + encodeURIComponent(jsonData));
|
104
111
|
}
|
105
|
-
dataTransfer.setData("URL","data:text/vnd.tiddler," + encodeURIComponent(jsonData));
|
106
112
|
dataTransfer.setData("Text",titleString);
|
107
113
|
event.stopPropagation();
|
108
114
|
}
|
109
115
|
return false;
|
110
116
|
}},
|
111
117
|
{name: "dragend", handlerFunction: function(event) {
|
112
|
-
if(event.target === domNode) {
|
118
|
+
if((options.selector && $tw.utils.domMatchesSelector(event.target,options.selector)) || event.target === domNode) {
|
113
119
|
// Collect the tiddlers being dragged
|
114
120
|
var dragTiddler = options.dragTiddlerFn && options.dragTiddlerFn(),
|
115
121
|
dragFilter = options.dragFilterFn && options.dragFilterFn(),
|
116
122
|
titles = dragTiddler ? [dragTiddler] : [],
|
117
|
-
|
123
|
+
endActions = options.endActions,
|
124
|
+
variables;
|
118
125
|
if(dragFilter) {
|
119
126
|
titles.push.apply(titles,options.widget.wiki.filterTiddlers(dragFilter,options.widget));
|
120
127
|
}
|
@@ -122,10 +129,13 @@ exports.makeDraggable = function(options) {
|
|
122
129
|
$tw.dragInProgress = null;
|
123
130
|
// Invoke drag-end actions if given
|
124
131
|
if(endActions !== undefined) {
|
125
|
-
|
132
|
+
variables = $tw.utils.collectDOMVariables(domNode,null,event);
|
133
|
+
variables.modifier = $tw.keyboardManager.getEventModifierKeyDescriptor(event);
|
134
|
+
variables["actionTiddler"] = titleString;
|
135
|
+
options.widget.invokeActionString(endActions,options.widget,event,variables);
|
126
136
|
}
|
127
137
|
// Remove the dragging class on the element being dragged
|
128
|
-
$tw.utils.removeClass(
|
138
|
+
$tw.utils.removeClass(domNode,"tc-dragging");
|
129
139
|
// Delete the drag image element
|
130
140
|
if(dragImage) {
|
131
141
|
dragImage.parentNode.removeChild(dragImage);
|
@@ -26,6 +26,8 @@ Display a modal dialogue
|
|
26
26
|
options: see below
|
27
27
|
Options include:
|
28
28
|
downloadLink: Text of a big download link to include
|
29
|
+
event: widget event
|
30
|
+
variables: from event.paramObject
|
29
31
|
*/
|
30
32
|
Modal.prototype.display = function(title,options) {
|
31
33
|
options = options || {};
|
@@ -209,6 +211,10 @@ Modal.prototype.display = function(title,options) {
|
|
209
211
|
headerWidgetNode.addEventListener("tm-close-tiddler",closeHandler,false);
|
210
212
|
bodyWidgetNode.addEventListener("tm-close-tiddler",closeHandler,false);
|
211
213
|
footerWidgetNode.addEventListener("tm-close-tiddler",closeHandler,false);
|
214
|
+
// Whether to close the modal dialog when the mask (area outside the modal) is clicked
|
215
|
+
if(tiddler.fields && (tiddler.fields["mask-closable"] === "yes" || tiddler.fields["mask-closable"] === "true")) {
|
216
|
+
modalBackdrop.addEventListener("click",closeHandler,false);
|
217
|
+
}
|
212
218
|
// Set the initial styles for the message
|
213
219
|
$tw.utils.setStyle(modalBackdrop,[
|
214
220
|
{opacity: "0"}
|
@@ -36,8 +36,9 @@ Notifier.prototype.display = function(title,options) {
|
|
36
36
|
if(!tiddler) {
|
37
37
|
return;
|
38
38
|
}
|
39
|
-
// Add classes
|
39
|
+
// Add classes and roles
|
40
40
|
$tw.utils.addClass(notification,"tc-notification");
|
41
|
+
notification.setAttribute("role","alert");
|
41
42
|
// Create the variables
|
42
43
|
var variables = $tw.utils.extend({currentTiddler: title},options.variables);
|
43
44
|
// Render the body of the notification
|
@@ -22,6 +22,19 @@ var Popup = function(options) {
|
|
22
22
|
this.popups = []; // Array of {title:,wiki:,domNode:} objects
|
23
23
|
};
|
24
24
|
|
25
|
+
/*
|
26
|
+
Global regular expression for parsing the location of a popup.
|
27
|
+
This is also used by the Reveal widget.
|
28
|
+
*/
|
29
|
+
exports.popupLocationRegExp = /^(@?)\((-?[0-9\.E]+),(-?[0-9\.E]+),(-?[0-9\.E]+),(-?[0-9\.E]+)\)$/
|
30
|
+
|
31
|
+
/*
|
32
|
+
Objekt containing the available prefixes for coordinates build with the `buildCoordinates` function:
|
33
|
+
- csOffsetParent: Uses a coordinate system based on the offset parent (no prefix).
|
34
|
+
- csAbsolute: Use an absolute coordinate system (prefix "@").
|
35
|
+
*/
|
36
|
+
exports.coordinatePrefix = { csOffsetParent: "", csAbsolute: "@" }
|
37
|
+
|
25
38
|
/*
|
26
39
|
Trigger a popup open or closed. Parameters are in a hashmap:
|
27
40
|
title: title of the tiddler where the popup details are stored
|
@@ -136,8 +149,17 @@ Popup.prototype.show = function(options) {
|
|
136
149
|
height: options.domNode.offsetHeight
|
137
150
|
};
|
138
151
|
}
|
139
|
-
|
140
|
-
|
152
|
+
if(options.absolute && options.domNode) {
|
153
|
+
// Walk the offsetParent chain and add the position of the offsetParents to make
|
154
|
+
// the position absolute to the root node of the page.
|
155
|
+
var currentNode = options.domNode.offsetParent;
|
156
|
+
while(currentNode) {
|
157
|
+
rect.left += currentNode.offsetLeft;
|
158
|
+
rect.top += currentNode.offsetTop;
|
159
|
+
currentNode = currentNode.offsetParent;
|
160
|
+
}
|
161
|
+
}
|
162
|
+
var popupRect = exports.buildCoordinates(options.absolute?exports.coordinatePrefix.csAbsolute:exports.coordinatePrefix.csOffsetParent,rect);
|
141
163
|
if(options.noStateReference) {
|
142
164
|
options.wiki.setText(options.title,"text",undefined,popupRect);
|
143
165
|
} else {
|
@@ -172,13 +194,54 @@ Popup.prototype.cancel = function(level) {
|
|
172
194
|
};
|
173
195
|
|
174
196
|
/*
|
175
|
-
Returns true if the specified title and text identifies an active popup
|
197
|
+
Returns true if the specified title and text identifies an active popup.
|
198
|
+
This function is safe to call, even if the popup class was not initialized.
|
176
199
|
*/
|
177
|
-
|
178
|
-
|
179
|
-
return popupLocationRegExp.test(text);
|
200
|
+
exports.readPopupState = function(text) {
|
201
|
+
return exports.popupLocationRegExp.test(text);
|
180
202
|
};
|
181
203
|
|
204
|
+
/*
|
205
|
+
Parses a coordinate string in the format `(x,y,w,h)` or `@(x,y,z,h)` and returns
|
206
|
+
an object containing the position, width and height. The absolute-Mark is boolean
|
207
|
+
value that indicates the coordinate system of the coordinates. If they start with
|
208
|
+
an `@`, `absolute` is set to true and the coordinates are relative to the root
|
209
|
+
element. If the initial `@` is missing, they are relative to the offset parent
|
210
|
+
element and `absoute` is false.
|
211
|
+
This function is safe to call, even if the popup class was not initialized.
|
212
|
+
*/
|
213
|
+
exports.parseCoordinates = function(coordinates) {
|
214
|
+
var match = exports.popupLocationRegExp.exec(coordinates);
|
215
|
+
if(match) {
|
216
|
+
return {
|
217
|
+
absolute: (match[1] === "@"),
|
218
|
+
left: parseFloat(match[2]),
|
219
|
+
top: parseFloat(match[3]),
|
220
|
+
width: parseFloat(match[4]),
|
221
|
+
height: parseFloat(match[5])
|
222
|
+
};
|
223
|
+
} else {
|
224
|
+
return false;
|
225
|
+
}
|
226
|
+
}
|
227
|
+
|
228
|
+
/*
|
229
|
+
Builds a coordinate string from a coordinate system identifier and an object
|
230
|
+
containing the left, top, width and height values.
|
231
|
+
Use constants defined in coordinatePrefix to specify a coordinate system.
|
232
|
+
If one of the parameters is invalid for building a coordinate string `(0,0,0,0)`
|
233
|
+
will be returned.
|
234
|
+
This function is safe to call, even if the popup class was not initialized.
|
235
|
+
*/
|
236
|
+
exports.buildCoordinates = function(prefix,position) {
|
237
|
+
var coord = prefix + "(" + position.left + "," + position.top + "," + position.width + "," + position.height + ")";
|
238
|
+
if (exports.popupLocationRegExp.test(coord)) {
|
239
|
+
return coord;
|
240
|
+
} else {
|
241
|
+
return "(0,0,0,0)";
|
242
|
+
}
|
243
|
+
}
|
244
|
+
|
182
245
|
exports.Popup = Popup;
|
183
246
|
|
184
247
|
})();
|
@@ -42,7 +42,7 @@ var TW_TextNode = function(text) {
|
|
42
42
|
this.textContent = text + "";
|
43
43
|
};
|
44
44
|
|
45
|
-
|
45
|
+
Object.setPrototypeOf(TW_TextNode,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
|
-
|
70
|
+
Object.setPrototypeOf(TW_Element,TW_Node.prototype);
|
71
71
|
|
72
72
|
Object.defineProperty(TW_Element.prototype, "style", {
|
73
73
|
get: function() {
|