tiddlywiki 5.2.3 → 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.
Files changed (396) hide show
  1. package/bin/build-site.sh +11 -2
  2. package/bin/test.sh +1 -0
  3. package/boot/boot.js +9 -6
  4. package/core/images/layout-button.tid +4 -0
  5. package/core/images/mastodon.tid +6 -0
  6. package/core/language/en-GB/Buttons.multids +4 -0
  7. package/core/language/en-GB/ControlPanel.multids +3 -3
  8. package/core/language/en-GB/Fields.multids +2 -2
  9. package/core/language/en-GB/GettingStarted.tid +4 -3
  10. package/core/language/en-GB/Help/commands.tid +18 -0
  11. package/core/language/en-GB/Misc.multids +1 -0
  12. package/core/modules/commands/commands.js +42 -0
  13. package/core/modules/editor/engines/framed.js +12 -1
  14. package/core/modules/editor/factory.js +2 -2
  15. package/core/modules/filters/format/json.js +35 -0
  16. package/core/modules/filters/is/variable.js +2 -2
  17. package/core/modules/filters/json-ops.js +186 -0
  18. package/core/modules/filters/variables.js +9 -3
  19. package/core/modules/filters.js +15 -6
  20. package/core/modules/keyboard.js +13 -1
  21. package/core/modules/parsers/csvparser.js +25 -17
  22. package/core/modules/parsers/wikiparser/rules/macrodef.js +1 -1
  23. package/core/modules/parsers/wikiparser/rules/parsermode.js +68 -0
  24. package/core/modules/parsers/wikiparser/rules/styleinline.js +3 -3
  25. package/core/modules/parsers/wikiparser/wikiparser.js +4 -2
  26. package/core/modules/server/routes/put-tiddler.js +10 -0
  27. package/core/modules/startup/startup.js +5 -1
  28. package/core/modules/utils/csv.js +101 -23
  29. package/core/modules/utils/dom/dom.js +17 -2
  30. package/core/modules/utils/dom/modal.js +6 -0
  31. package/core/modules/utils/dom/popup.js +69 -6
  32. package/core/modules/utils/fakedom.js +2 -2
  33. package/core/modules/utils/linked-list.js +79 -75
  34. package/core/modules/utils/logger.js +3 -1
  35. package/core/modules/utils/parsetree.js +20 -10
  36. package/core/modules/utils/utils.js +3 -0
  37. package/core/modules/widgets/action-deletefield.js +2 -2
  38. package/core/modules/widgets/action-popup.js +10 -8
  39. package/core/modules/widgets/button.js +7 -2
  40. package/core/modules/widgets/checkbox.js +12 -5
  41. package/core/modules/widgets/error.js +63 -0
  42. package/core/modules/widgets/genesis.js +108 -0
  43. package/core/modules/widgets/importvariables.js +4 -1
  44. package/core/modules/widgets/keyboard.js +4 -0
  45. package/core/modules/widgets/let.js +3 -5
  46. package/core/modules/widgets/reveal.js +11 -10
  47. package/core/modules/widgets/select.js +9 -0
  48. package/core/modules/widgets/transclude.js +3 -5
  49. package/core/modules/widgets/widget.js +44 -18
  50. package/core/palettes/Blanca.tid +2 -0
  51. package/core/palettes/Blue.tid +2 -0
  52. package/core/palettes/BrightMute.tid +2 -0
  53. package/core/palettes/ContrastDark.tid +2 -0
  54. package/core/palettes/ContrastLight.tid +2 -0
  55. package/core/palettes/CupertinoDark.tid +2 -0
  56. package/core/palettes/DarkPhotos.tid +2 -0
  57. package/core/palettes/DesertSand.tid +2 -0
  58. package/core/palettes/GruvBoxDark.tid +2 -0
  59. package/core/palettes/Nord.tid +2 -0
  60. package/core/palettes/Rocker.tid +2 -0
  61. package/core/palettes/SolarFlare.tid +2 -0
  62. package/core/palettes/SolarizedDark.tid +2 -0
  63. package/core/palettes/SolarizedLight.tid +2 -0
  64. package/core/palettes/SpartanDay.tid +2 -0
  65. package/core/palettes/SpartanNight.tid +2 -0
  66. package/core/palettes/Twilight.tid +2 -0
  67. package/core/palettes/Vanilla.tid +2 -0
  68. package/core/templates/external-js/save-all-external-js.tid +4 -2
  69. package/core/templates/external-js/save-offline-external-js.tid +4 -2
  70. package/core/templates/single.tiddler.window.tid +1 -1
  71. package/core/ui/Actions/new-image.tid +1 -7
  72. package/core/ui/AdvancedSearch/FilterButtons/delete.tid +3 -3
  73. package/core/ui/AdvancedSearch/FilterButtons/dropdown.tid +2 -2
  74. package/core/ui/ControlPanel/Basics/retain-story-ordering-button.tid +3 -0
  75. package/core/ui/ControlPanel/Basics.tid +3 -2
  76. package/core/ui/EditTemplate/Preview/output.tid +1 -1
  77. package/core/ui/EditTemplate/body/default.tid +1 -1
  78. package/core/ui/EditTemplate/fields.tid +12 -2
  79. package/core/ui/EditTemplate.tid +7 -2
  80. package/core/ui/ImportListing.tid +5 -5
  81. package/core/ui/KeyboardShortcuts/advanced-search.tid +1 -1
  82. package/core/ui/PageControls/layout.tid +15 -0
  83. package/core/ui/PageTemplate.tid +1 -4
  84. package/core/ui/SideBar/More.tid +2 -2
  85. package/core/ui/SwitcherModal.tid +1 -0
  86. package/core/ui/TagManager.tid +75 -63
  87. package/core/ui/ViewTemplate/unfold.tid +6 -2
  88. package/core/ui/ViewTemplate.tid +1 -1
  89. package/core/wiki/config/DefaultTiddlersRetainStory.tid +3 -0
  90. package/core/wiki/config/OfficialPluginLibrary.tid +1 -1
  91. package/core/wiki/config/PageControlButtons.multids +1 -0
  92. package/core/wiki/macros/list.tid +7 -7
  93. package/core/wiki/macros/timeline.tid +6 -9
  94. package/core/wiki/macros/toc.tid +12 -8
  95. package/core/wiki/tags/PageControls.tid +1 -1
  96. package/editions/de-AT/tiddlywiki.info +0 -1
  97. package/editions/de-AT-server/tiddlywiki.info +0 -1
  98. package/editions/de-DE/tiddlywiki.info +0 -1
  99. package/editions/dev/tiddlers/HelloThere.tid +2 -1
  100. package/editions/dev/tiddlers/How to run a local plugin library for testing.tid +42 -0
  101. package/editions/dev/tiddlers/javascript-widget-tutorial/Child widgets tutorial.tid +140 -0
  102. package/editions/dev/tiddlers/javascript-widget-tutorial/Do nothing widget demo.tid +22 -0
  103. package/editions/dev/tiddlers/javascript-widget-tutorial/Do nothing widget tutorial.tid +25 -0
  104. package/editions/dev/tiddlers/javascript-widget-tutorial/Hello World demo.tid +23 -0
  105. package/editions/dev/tiddlers/javascript-widget-tutorial/Hello World widget tutorial.tid +18 -0
  106. package/editions/dev/tiddlers/javascript-widget-tutorial/Javascript Widget Tutorial.tid +37 -0
  107. package/editions/dev/tiddlers/javascript-widget-tutorial/Undefined widget demo.tid +18 -0
  108. package/editions/dev/tiddlers/javascript-widget-tutorial/Undefined widget tutorial.tid +11 -0
  109. package/editions/dev/tiddlers/javascript-widget-tutorial/Widget attributes demo I.tid +48 -0
  110. package/editions/dev/tiddlers/javascript-widget-tutorial/Widget attributes demo II.tid +48 -0
  111. package/editions/dev/tiddlers/javascript-widget-tutorial/Widget attributes tutorial part I.tid +50 -0
  112. package/editions/dev/tiddlers/javascript-widget-tutorial/Widget attributes tutorial part II.tid +33 -0
  113. package/editions/dev/tiddlers/javascript-widget-tutorial/Widget refresh demo I.tid +44 -0
  114. package/editions/dev/tiddlers/javascript-widget-tutorial/Widget refresh demo II.tid +40 -0
  115. package/editions/dev/tiddlers/javascript-widget-tutorial/Widget refresh demo III.tid +50 -0
  116. package/editions/dev/tiddlers/javascript-widget-tutorial/Widget refresh tutorial part I.tid +47 -0
  117. package/editions/dev/tiddlers/javascript-widget-tutorial/Widget refresh tutorial part II.tid +37 -0
  118. package/editions/dev/tiddlers/javascript-widget-tutorial/Widget refresh tutorial part III.tid +26 -0
  119. package/editions/dev/tiddlers/javascript-widget-tutorial/domwidget.js +47 -0
  120. package/editions/dev/tiddlers/javascript-widget-tutorial/domwidget.js.meta +6 -0
  121. package/editions/dev/tiddlers/javascript-widget-tutorial/donothing.js +16 -0
  122. package/editions/dev/tiddlers/javascript-widget-tutorial/donothing.js.meta +6 -0
  123. package/editions/dev/tiddlers/javascript-widget-tutorial/hello-attribute-optimized.js +51 -0
  124. package/editions/dev/tiddlers/javascript-widget-tutorial/hello-attribute-optimized.js.meta +6 -0
  125. package/editions/dev/tiddlers/javascript-widget-tutorial/hello-attribute.js +47 -0
  126. package/editions/dev/tiddlers/javascript-widget-tutorial/hello-attribute.js.meta +6 -0
  127. package/editions/dev/tiddlers/javascript-widget-tutorial/hello.js +35 -0
  128. package/editions/dev/tiddlers/javascript-widget-tutorial/hello.js.meta +6 -0
  129. package/editions/dev/tiddlers/javascript-widget-tutorial/refreshcount.js +43 -0
  130. package/editions/dev/tiddlers/javascript-widget-tutorial/refreshcount.js.meta +6 -0
  131. package/editions/dev/tiddlers/javascript-widget-tutorial/tiddlerfield-norefresh.js +36 -0
  132. package/editions/dev/tiddlers/javascript-widget-tutorial/tiddlerfield-norefresh.js.meta +6 -0
  133. package/editions/dev/tiddlers/javascript-widget-tutorial/tiddlerfield.js +46 -0
  134. package/editions/dev/tiddlers/javascript-widget-tutorial/tiddlerfield.js.meta +6 -0
  135. package/editions/dev/tiddlywiki.info +2 -1
  136. package/editions/fr-FR/tiddlers/$__editions_tw5.com_doc-macros.tid +1 -1
  137. package/editions/fr-FR/tiddlers/system/$__core_macros_list.tid +113 -0
  138. package/editions/fr-FR/tiddlers/system/$__core_macros_tag.tid +39 -0
  139. package/editions/fr-FR/tiddlers/system/$__core_ui_TagPickerTagTemplate.tid +25 -0
  140. package/editions/full/tiddlywiki.info +0 -1
  141. package/editions/introduction/tiddlywiki.info +0 -1
  142. package/editions/pluginlibrary/tiddlers/GettingStarted.tid +45 -0
  143. package/editions/pluginlibrary/tiddlers/PrereleaseLocalPluginLibrary.tid +6 -0
  144. package/editions/pluginlibrary/tiddlers/meta/SiteSubtitle.tid +3 -0
  145. package/editions/pluginlibrary/tiddlers/meta/SiteTitle.tid +3 -0
  146. package/editions/pluginlibrary/tiddlers/system/$__themes_tiddlywiki_vanilla_options_sidebarlayout.tid +3 -0
  147. package/editions/pluginlibrary/tiddlywiki.info +7 -0
  148. package/editions/prerelease/tiddlers/{Release 5.2.4.tid → Release 5.2.5.tid } +8 -17
  149. package/editions/prerelease/tiddlers/system/PrereleaseOfficialPluginLibrary.tid +1 -1
  150. package/editions/prerelease/tiddlers/system/TiddlyWiki Pre-release.tid +5 -1
  151. package/editions/test/tiddlers/tests/data/csv-cases.tid +282 -0
  152. package/editions/test/tiddlers/tests/data/filters/Recursion.tid +15 -0
  153. package/editions/test/tiddlers/tests/data/filters/fake-variables.tid +27 -0
  154. package/editions/test/tiddlers/tests/data/genesis-widget/DollarSigns.tid +14 -0
  155. package/editions/test/tiddlers/tests/data/genesis-widget/MultipleAttributes.tid +14 -0
  156. package/editions/test/tiddlers/tests/data/genesis-widget/Simple.tid +14 -0
  157. package/editions/test/tiddlers/tests/data/macros/NestedMacros.tid +36 -0
  158. package/editions/test/tiddlers/tests/data/pragmas/Parsermode.tid +36 -0
  159. package/editions/test/tiddlers/tests/data/transclude/Recursion.tid +13 -0
  160. package/editions/test/tiddlers/tests/modules/utils/test-csv.js +33 -0
  161. package/editions/test/tiddlers/tests/test-checkbox-widget.js +35 -1
  162. package/editions/test/tiddlers/tests/test-json-filters.js +112 -0
  163. package/editions/test/tiddlers/tests/test-linked-list.js +42 -2
  164. package/editions/test/tiddlers/tests/test-popup.js +63 -0
  165. package/editions/test/tiddlers/tests/test-utils.js +1 -0
  166. package/editions/test/tiddlers/tests/test-wikitext.js +16 -0
  167. package/editions/test/tiddlywiki.info +2 -1
  168. package/editions/translators/tiddlers/system/PageControlButtonsVisibility.multids +1 -0
  169. package/editions/translators/tiddlywiki.info +0 -1
  170. package/editions/tw.org/tiddlers/Code of Conduct.tid +4 -1
  171. package/editions/tw.org/tiddlers/Fundraising.tid +2 -2
  172. package/editions/tw5.com/tiddlers/Tables in WikiText CSS Utility Classes.tid +81 -0
  173. package/editions/tw5.com/tiddlers/_tw_shared/favicons/markplace.png +0 -0
  174. package/editions/tw5.com/tiddlers/_tw_shared/favicons/markplace.png.meta +3 -0
  175. package/editions/tw5.com/tiddlers/_tw_shared/sites/marketplace.tid +6 -0
  176. package/editions/tw5.com/tiddlers/_tw_shared/tags-TiddlyWikiSites.tid +1 -1
  177. package/editions/tw5.com/tiddlers/about/Funding TiddlyWiki.tid +19 -0
  178. package/editions/tw5.com/tiddlers/about/Open Collective.tid +14 -0
  179. package/editions/tw5.com/tiddlers/commands/CommandsCommand.tid +8 -0
  180. package/editions/tw5.com/tiddlers/commands/RenderTiddlerCommand.tid +2 -0
  181. package/editions/tw5.com/tiddlers/commands/RenderTiddlersCommand.tid +2 -0
  182. package/editions/tw5.com/tiddlers/commands/SaveTiddlerCommand.tid +2 -0
  183. package/editions/tw5.com/tiddlers/commands/SaveTiddlersCommand.tid +2 -0
  184. package/editions/tw5.com/tiddlers/community/plugins/GSD5.tid +2 -2
  185. package/editions/tw5.com/tiddlers/community/plugins/_JD Mobile Layout plugin_ by JD.tid +0 -1
  186. package/editions/tw5.com/tiddlers/community/resources/_Dropboard_ by Reid Gould.tid +0 -1
  187. package/editions/tw5.com/tiddlers/community/resources/_Hacks_ by Thomas Elmiger.tid +0 -2
  188. package/editions/tw5.com/tiddlers/community/resources/_MathCell_ by Ste Wilson.tid +0 -1
  189. package/editions/tw5.com/tiddlers/community/resources/_TiddlyServer_ by Matt Lauber.tid +0 -1
  190. package/editions/tw5.com/tiddlers/community/resources/_X3DOM for TiddlyWiki 5_ by Jamal Wills.tid +0 -1
  191. package/editions/tw5.com/tiddlers/concepts/CoordinateSystems.tid +42 -0
  192. package/editions/tw5.com/tiddlers/concepts/KeyboardShortcutTiddler.tid +2 -0
  193. package/editions/tw5.com/tiddlers/definitions/Federatial.tid +13 -1
  194. package/editions/tw5.com/tiddlers/definitions/HTML Block Elements.tid +9 -0
  195. package/editions/tw5.com/tiddlers/definitions/TiddlyWikiClassic.tid +3 -1
  196. package/editions/tw5.com/tiddlers/demonstrations/TableOfContentsMacro Selective Expandable Example custom icons.tid +16 -0
  197. package/editions/tw5.com/tiddlers/demonstrations/Tasks/TaskManagementExampleDraggable.tid +1 -1
  198. package/editions/tw5.com/tiddlers/features/DateFormat.tid +27 -3
  199. package/editions/tw5.com/tiddlers/features/JSON in TiddlyWiki.tid +1 -1
  200. package/editions/tw5.com/tiddlers/features/Modals.tid +3 -0
  201. package/editions/tw5.com/tiddlers/filters/examples/format Operator (Examples).tid +5 -2
  202. package/editions/tw5.com/tiddlers/filters/format.tid +5 -4
  203. package/editions/tw5.com/tiddlers/filters/jsonextract.tid +66 -0
  204. package/editions/tw5.com/tiddlers/filters/jsonget.tid +93 -0
  205. package/editions/tw5.com/tiddlers/filters/jsonindexes.tid +65 -0
  206. package/editions/tw5.com/tiddlers/filters/jsontype.tid +74 -0
  207. package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted.tid +3 -7
  208. package/editions/tw5.com/tiddlers/hellothere/HelloThere.tid +23 -22
  209. package/editions/tw5.com/tiddlers/hellothere/HelloThumbnail.tid +1 -1
  210. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Funding.tid +10 -0
  211. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Grok TiddlyWiki.tid +2 -0
  212. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Introduction Video.tid +2 -0
  213. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Latest Version.tid +9 -1
  214. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Marketplace.tid +10 -0
  215. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - TiddlyWikiLinks.tid +3 -1
  216. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail_-_Federatial.tid +11 -0
  217. package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting Default Story Ordering.tid +4 -0
  218. package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting Sync System Tiddlers From Server.tid +13 -0
  219. package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting SyncLogging.tid +13 -0
  220. package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting_ More Tabs Horizontal.tid +7 -0
  221. package/editions/tw5.com/tiddlers/howtos/How to create keyboard shortcuts.tid +2 -0
  222. package/editions/tw5.com/tiddlers/howtos/Reading data from JSON tiddlers.tid +10 -1
  223. package/editions/tw5.com/tiddlers/images/Federatial.png +0 -0
  224. package/editions/tw5.com/tiddlers/images/Federatial.png.meta +3 -0
  225. package/editions/tw5.com/tiddlers/images/Funding.png +0 -0
  226. package/editions/tw5.com/tiddlers/images/{TiddlyMap.png.meta → Funding.png.meta} +1 -1
  227. package/editions/tw5.com/tiddlers/images/Marketplace Banner.png +0 -0
  228. package/editions/tw5.com/tiddlers/images/Marketplace Banner.png.meta +3 -0
  229. package/editions/tw5.com/tiddlers/images/New Release Banner.png +0 -0
  230. package/editions/tw5.com/tiddlers/macros/ListMacro.tid +3 -1
  231. package/editions/tw5.com/tiddlers/macros/TableOfContentsMacro.tid +36 -2
  232. package/editions/tw5.com/tiddlers/marketplace/TiddlyWiki Marketplace.tid +18 -0
  233. package/editions/tw5.com/tiddlers/mechanisms/PopupMechanism.tid +1 -0
  234. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-modal.tid +4 -2
  235. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-new-tiddler.tid +1 -1
  236. package/editions/tw5.com/tiddlers/nodejs/Installing TiddlyWiki on Node.js.tid +2 -2
  237. package/editions/tw5.com/tiddlers/pragmas/Pragma_ _parsermode.tid +17 -0
  238. package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.4.tid +140 -0
  239. package/editions/tw5.com/tiddlers/releasenotes/Releases.tid +1 -1
  240. package/editions/tw5.com/tiddlers/saving/Emergency Tiddler Export.tid +1 -1
  241. package/editions/tw5.com/tiddlers/saving/Saving on TiddlyHost.tid +1 -1
  242. package/editions/tw5.com/tiddlers/saving/Saving on TiddlySpot.tid +0 -1
  243. package/editions/tw5.com/tiddlers/saving/Saving with Polly.tid +1 -0
  244. package/editions/tw5.com/tiddlers/saving/Saving.tid +12 -5
  245. package/editions/tw5.com/tiddlers/saving/TiddlyBucket - Save to AWS or Google Storage.tid +15 -0
  246. package/editions/tw5.com/tiddlers/system/doc-macros.tid +1 -1
  247. package/editions/tw5.com/tiddlers/system/tw5.com-card-template.tid +1 -16
  248. package/editions/tw5.com/tiddlers/system/tw5.com-styles.tid +168 -40
  249. package/editions/tw5.com/tiddlers/system/version-macros.tid +3 -4
  250. package/editions/tw5.com/tiddlers/system/wikitext-macros.tid +43 -15
  251. package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_ClassFilters_PageTemplate.tid +9 -0
  252. package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_ClassFilters_TiddlerTemplate.tid +9 -0
  253. package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_Filter.tid +2 -2
  254. package/editions/tw5.com/tiddlers/testimonials/Testimonials - Joe Armstrong.tid +8 -0
  255. package/editions/tw5.com/tiddlers/testimonials/Testimonials - Network World.tid +8 -0
  256. package/editions/tw5.com/tiddlers/testimonials/Testimonials - Product Hunt.tid +6 -0
  257. package/editions/tw5.com/tiddlers/webserver/Using the external JavaScript template.tid +10 -10
  258. package/editions/tw5.com/tiddlers/webserver/WebServer API_ Get All Tiddlers.tid +3 -1
  259. package/editions/tw5.com/tiddlers/widgets/ActionPopupWidget.tid +4 -3
  260. package/editions/tw5.com/tiddlers/widgets/ButtonWidget.tid +2 -1
  261. package/editions/tw5.com/tiddlers/widgets/DraggableWidget.tid +2 -1
  262. package/editions/tw5.com/tiddlers/widgets/ErrorWidget.tid +17 -0
  263. package/editions/tw5.com/tiddlers/widgets/EventCatcherWidget.tid +4 -3
  264. package/editions/tw5.com/tiddlers/widgets/GenesisWidget.tid +41 -0
  265. package/editions/tw5.com/tiddlers/widgets/LetWidget.tid +4 -1
  266. package/editions/tw5.com/tiddlers/widgets/ScrollableWidget.tid +1 -1
  267. package/editions/tw5.com/tiddlers/widgets/SelectWidget.tid +1 -0
  268. package/editions/tw5.com/tiddlers/wikitext/Macro Definitions in WikiText.tid +27 -4
  269. package/editions/tw5.com/tiddlers/wikitext/Styles and Classes in WikiText.tid +1 -1
  270. package/editions/tw5.com/tiddlers/wikitext/Table Classes Captions Headers and Footers.tid +20 -0
  271. package/editions/tw5.com/tiddlers/wikitext/Tables in WikiText.tid +3 -13
  272. package/editions/tw5.com/tiddlers/wikitext/Utility Classes.tid +20 -0
  273. package/editions/tw5.com/tiddlers/wikitext/parser/WikiText Parser Modes.tid +1 -1
  274. package/editions/twitter-archivist/tiddlers/DefaultTiddlers.tid +4 -0
  275. package/editions/twitter-archivist/tiddlers/HelloThere.tid +9 -0
  276. package/editions/twitter-archivist/tiddlers/SiteSubtitle.tid +3 -0
  277. package/editions/twitter-archivist/tiddlers/SiteTitle.tid +3 -0
  278. package/editions/twitter-archivist/tiddlywiki.info +16 -0
  279. package/languages/ar-PS/ControlPanel.multids +1 -1
  280. package/languages/ca-ES/ControlPanel.multids +1 -1
  281. package/languages/cs-CZ/ControlPanel.multids +1 -1
  282. package/languages/da-DK/ControlPanel.multids +1 -1
  283. package/languages/de-DE/Buttons.multids +5 -1
  284. package/languages/de-DE/ControlPanel.multids +1 -1
  285. package/languages/de-DE/Help/commands.tid +14 -0
  286. package/languages/de-DE/Misc.multids +1 -0
  287. package/languages/el-GR/ControlPanel.multids +1 -1
  288. package/languages/es-ES/Buttons.multids +89 -87
  289. package/languages/es-ES/ControlPanel.multids +18 -1
  290. package/languages/es-ES/Docs/PaletteColours.multids +2 -2
  291. package/languages/es-ES/EditTemplate.multids +3 -0
  292. package/languages/es-ES/Fields.multids +4 -3
  293. package/languages/es-ES/GettingStarted.tid +4 -3
  294. package/languages/es-ES/Help/default.tid +4 -1
  295. package/languages/es-ES/Help/listen.tid +0 -1
  296. package/languages/es-ES/Help/render.tid +2 -2
  297. package/languages/es-ES/Import.multids +1 -1
  298. package/languages/es-ES/Misc.multids +2 -1
  299. package/languages/es-ES/SideBar.multids +1 -0
  300. package/languages/es-ES/Snippets/ListByTag.tid +1 -1
  301. package/languages/fa-IR/ControlPanel.multids +1 -1
  302. package/languages/fr-FR/Buttons.multids +2 -0
  303. package/languages/fr-FR/ControlPanel.multids +4 -4
  304. package/languages/fr-FR/Misc.multids +3 -2
  305. package/languages/hi-IN/ControlPanel.multids +1 -1
  306. package/languages/ia-IA/ControlPanel.multids +1 -1
  307. package/languages/it-IT/ControlPanel.multids +1 -1
  308. package/languages/ja-JP/ControlPanel.multids +9 -9
  309. package/languages/ko-KR/ControlPanel.multids +1 -1
  310. package/languages/nl-NL/ControlPanel.multids +1 -1
  311. package/languages/pl-PL/Buttons.multids +7 -3
  312. package/languages/pl-PL/ControlPanel.multids +26 -24
  313. package/languages/pl-PL/GettingStarted.tid +4 -3
  314. package/languages/pl-PL/Help/commands.tid +18 -0
  315. package/languages/pl-PL/Help/render.tid +2 -2
  316. package/languages/pl-PL/Misc.multids +1 -0
  317. package/languages/pl-PL/ThemeTweaks.multids +3 -3
  318. package/languages/pt-BR/ControlPanel.multids +1 -1
  319. package/languages/pt-PT/ControlPanel.multids +1 -1
  320. package/languages/ru-RU/ControlPanel.multids +1 -1
  321. package/languages/sk-SK/ControlPanel.multids +1 -1
  322. package/languages/sl-SI/ControlPanel.multids +1 -1
  323. package/languages/sv-SE/ControlPanel.multids +1 -1
  324. package/languages/zh-Hans/Buttons.multids +36 -32
  325. package/languages/zh-Hans/ControlPanel.multids +19 -19
  326. package/languages/zh-Hans/CoreReadMe.tid +1 -1
  327. package/languages/zh-Hans/Docs/ModuleTypes.multids +2 -2
  328. package/languages/zh-Hans/Docs/PaletteColours.multids +8 -8
  329. package/languages/zh-Hans/Fields.multids +7 -7
  330. package/languages/zh-Hans/Filters.multids +1 -1
  331. package/languages/zh-Hans/GettingStarted.tid +8 -6
  332. package/languages/zh-Hans/Help/commands.tid +18 -0
  333. package/languages/zh-Hans/Help/fetch.tid +6 -6
  334. package/languages/zh-Hans/Help/init.tid +1 -1
  335. package/languages/zh-Hans/Help/listen.tid +5 -5
  336. package/languages/zh-Hans/Help/makelibrary.tid +1 -1
  337. package/languages/zh-Hans/Help/savetiddlers.tid +1 -1
  338. package/languages/zh-Hans/Help/server.tid +6 -6
  339. package/languages/zh-Hans/Help/setfield.tid +3 -3
  340. package/languages/zh-Hans/Import.multids +1 -1
  341. package/languages/zh-Hans/Misc.multids +12 -11
  342. package/languages/zh-Hans/Search.multids +6 -6
  343. package/languages/zh-Hans/SiteSubtitle.tid +1 -1
  344. package/languages/zh-Hans/Snippets/ListByTag.tid +1 -1
  345. package/languages/zh-Hans/ThemeTweaks.multids +7 -7
  346. package/languages/zh-Hans/TiddlerInfo.multids +2 -2
  347. package/languages/zh-Hant/Buttons.multids +4 -0
  348. package/languages/zh-Hant/ControlPanel.multids +2 -2
  349. package/languages/zh-Hant/Fields.multids +2 -2
  350. package/languages/zh-Hant/GettingStarted.tid +4 -3
  351. package/languages/zh-Hant/Help/commands.tid +18 -0
  352. package/languages/zh-Hant/Misc.multids +1 -0
  353. package/licenses/cla-individual.md +4 -0
  354. package/package.json +1 -1
  355. package/plugins/tiddlywiki/codemirror/engine.js +4 -0
  356. package/plugins/tiddlywiki/dynannotate/docs/readme.tid +2 -2
  357. package/plugins/tiddlywiki/dynannotate/modules/dynannotate.js +4 -2
  358. package/plugins/tiddlywiki/help/tabs/Support.tid +6 -2
  359. package/plugins/tiddlywiki/jasmine/command.js +33 -0
  360. package/plugins/tiddlywiki/jasmine/help.tid +24 -0
  361. package/plugins/tiddlywiki/jasmine/jasmine-plugin.js +24 -18
  362. package/plugins/tiddlywiki/jasmine/readme.tid +31 -1
  363. package/plugins/tiddlywiki/jasmine/run-wiki-based-tests.js +93 -0
  364. package/plugins/tiddlywiki/jasmine/startup.js +37 -0
  365. package/plugins/tiddlywiki/translators/macros/translatableStringEditor.tid +6 -0
  366. package/plugins/tiddlywiki/translators/system/styles.tid +5 -0
  367. package/plugins/tiddlywiki/twitter-archivist/Twitter Archives.tid +5 -0
  368. package/plugins/tiddlywiki/twitter-archivist/archivist.js +319 -0
  369. package/plugins/tiddlywiki/twitter-archivist/configTiddlerInfoMode.tid +2 -0
  370. package/plugins/tiddlywiki/twitter-archivist/loadtwitterarchive.js +53 -0
  371. package/plugins/tiddlywiki/twitter-archivist/macros.tid +222 -0
  372. package/plugins/tiddlywiki/twitter-archivist/plugin.info +6 -0
  373. package/plugins/tiddlywiki/twitter-archivist/readme.tid +33 -0
  374. package/plugins/tiddlywiki/twitter-archivist/spec.tid +62 -0
  375. package/plugins/tiddlywiki/twitter-archivist/startup.js +38 -0
  376. package/plugins/tiddlywiki/twitter-archivist/styles.tid +47 -0
  377. package/plugins/tiddlywiki/twitter-archivist/template-archive.tid +3 -0
  378. package/plugins/tiddlywiki/twitter-archivist/template-hashtag.tid +3 -0
  379. package/plugins/tiddlywiki/twitter-archivist/template-tweet.tid +3 -0
  380. package/plugins/tiddlywiki/twitter-archivist/template-tweeter.tid +3 -0
  381. package/plugins/tiddlywiki/twitter-archivist/todo.tid +15 -0
  382. package/plugins/tiddlywiki/twitter-archivist/usage.tid +18 -0
  383. package/plugins/tiddlywiki/twitter-archivist/view-template-body-cascade.tid +8 -0
  384. package/plugins/tiddlywiki/upgrade/UpgradeWizard.tid +3 -3
  385. package/readme.md +1 -1
  386. package/themes/tiddlywiki/vanilla/base.tid +131 -10
  387. package/editions/fr-FR/tiddlers/$__core_ui_TagTemplate.tid +0 -33
  388. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Classic.tid +0 -6
  389. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Developers.tid +0 -7
  390. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Gentle Guide.tid +0 -11
  391. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - HelpingTiddlyWiki.tid +0 -7
  392. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - TWEUM2017.tid +0 -8
  393. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - TiddlyMap.tid +0 -6
  394. package/editions/tw5.com/tiddlers/images/Dev Thumbnail.jpg +0 -0
  395. package/editions/tw5.com/tiddlers/images/Dev Thumbnail.jpg.meta +0 -3
  396. package/editions/tw5.com/tiddlers/images/TiddlyMap.png +0 -0
@@ -122,78 +122,206 @@ type: text/vnd.tiddlywiki
122
122
  margin-left: 10px;
123
123
  }
124
124
 
125
- .tc-card {
126
- margin: 15px;
127
- padding: 10px 20px;
128
- border-radius: 10px;
129
- border-top: 5px solid #45D3D3;
130
- box-shadow: 0 8px 17px -8px #A3A5AE;
131
- background-color: #FFF;
125
+ .tc-saving-introduction {
126
+ display: flex;
127
+ justify-content: center;
128
+ text-align: center;
129
+ align-items: center;
130
+ padding: 4em;
131
+ font-style: italic;
132
+ }
133
+
134
+ .tc-cards {
135
+ display: flex;
136
+ flex-wrap: wrap;
137
+ justify-content: space-evenly;
138
+ width: 100%;
139
+ padding: 0.5em;
140
+ background: <<colour background>>;
141
+ border-color: rgba(34,36,38,.15);
142
+ box-shadow: 0 2px 25px 0 rgb(34 36 38 / 5%) inset;
143
+ }
144
+
145
+ .tc-tiddlylink.tc-card {
146
+ font-weight: normal;
147
+ max-width: 100%;
148
+ position: relative;
149
+ display: flex;
150
+ flex-direction: column;
151
+ background: <<colour background>>;
152
+ color: <<colour foreground>>;
132
153
  width: 200px;
133
- transition: box-shadow 0.3s ease-in-out;
134
- font-size: 13px;
135
- line-height: 18px;
154
+ min-height: 0;
155
+ padding: 0 0 0.5em 0;
156
+ margin: 0.5em;
157
+ border: none;
158
+ border-radius: 8px;
159
+ box-shadow: 0 1px 3px 0 #d4d4d5, 0 0 0 1px #d4d4d5;
160
+ transition: box-shadow 0.3s ease,transform .3s ease;
136
161
  }
137
162
 
138
- .tc-card:hover {
139
- box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
163
+ @media (max-width: 500px) {
164
+
165
+ .tc-cards {
166
+ padding: 0;
167
+ }
168
+
169
+ .tc-tiddlylink.tc-card {
170
+ margin: 0.25em;
171
+ width: 45%;
172
+ }
173
+
140
174
  }
141
- .tc-card:hover .tc-card-title {
142
- color: #1462ff;
175
+
176
+ .tc-tiddlylink.tc-card.tc-card-quote {
177
+ width: 320px;
178
+ box-shadow: none;
179
+ background-color: #effdff;
143
180
  }
144
181
 
145
- .tc-card-title {
182
+ .tc-card-accent {
183
+ border-top-left-radius: 8px;
184
+ border-top-right-radius: 8px;
185
+ }
186
+
187
+ .tc-tiddlylink.tc-card:hover {
188
+ color: <<colour foreground>>;
189
+ background: <<colour notification-background>>;
190
+ text-decoration: none;
191
+ cursor: pointer;
192
+ box-shadow: 0 1px 5px 0 #bcbdbd, 0 0 0 1px #d4d4d5;
193
+ transform: translateY(-3px);
194
+ }
195
+
196
+ .tc-card-ribbon-wrapper {
197
+ line-height: 0;
198
+ width: 75px;
199
+ height: 75px;
200
+ position: absolute;
201
+ right: 0;
202
+ overflow: hidden;
203
+ top: 0;
204
+ z-index: 849;
205
+ pointer-events: none;
206
+ }
207
+
208
+ .tc-card-ribbon {
209
+ transition: top 0.3s ease-in-out;
210
+ top: 15px;
211
+ right: -77px;
212
+ position: absolute;
213
+ transform: rotate(45deg);
214
+ background-color: red;
215
+ box-shadow: 0px 0px 2px 0px rgb(0 0 0 / 50%);
216
+ }
217
+
218
+ .tc-tiddlylink.tc-card:hover .tc-card-ribbon {
219
+ top: -77px;
220
+ }
221
+
222
+ .tc-card-ribbon-inner {
223
+ font-size: 10px;
224
+ line-height: 13px;
225
+ font-weight: 700;
226
+ color: white;
227
+ text-decoration: none;
228
+ text-shadow: 0 -1px rgb(0 0 0 / 50%);
229
+ width: 200px;
230
+ display: inline-block;
231
+ padding: 2px 0;
146
232
  text-align: center;
233
+ }
234
+
235
+ .tc-card-image {
236
+ line-height: 0;
237
+ overflow: hidden;
238
+ }
239
+
240
+ .tc-card-image img {
241
+ border-top-left-radius: 8px;
242
+ border-top-right-radius: 8px;
243
+ width: 100%;
244
+ transition: transform 0.3s ease-in-out;
245
+ }
246
+
247
+ .tc-tiddlylink.tc-card:hover .tc-card-image img {
248
+ transform: scale(1.05);
249
+ }
250
+
251
+ .tc-card-title {
147
252
  font-size: 1.2em;
253
+ line-height: 1.2;
148
254
  font-weight: 600;
149
- transition: color 0.2s ease-in-out;
150
- padding: 10px 0;
255
+ transition: color 0.3s ease-in-out;
256
+ padding: 0 10px;
257
+ margin: 0.5em 0;
151
258
  }
152
259
 
260
+ .tc-card-subtitle,
153
261
  .tc-card-author {
154
- text-align: center;
262
+ font-size: 0.8em;
263
+ line-height: 1.2;
264
+ color: <<colour muted-foreground>>;
265
+ padding: 0 10px;
266
+ margin: 0.5em 0;
155
267
  font-style: italic;
156
268
  }
157
269
 
158
- .tc-card p {
159
- height: 67px;
160
- overflow: hidden;
270
+ .tc-card-body {
271
+ font-size: 0.9em;
272
+ line-height: 1.2;
273
+ padding: 0 10px;
161
274
  margin: 0;
162
- padding: 13px 0;
163
275
  }
164
276
 
165
- .tc-card a {
166
- color: #222;
277
+ .tc-card-body-wrapper {
278
+ position: relative;
167
279
  }
168
280
 
169
- .tc-card a:hover {
170
- text-decoration:none;
281
+ .tc-tiddlylink.tc-card.tc-card-quote .tc-card-body:before {
282
+ font-family: Georgia, serif;
283
+ color: <<colour blockquote-bar>>;
284
+ content: open-quote;
285
+ font-size: 5em;
286
+ line-height: 1;
287
+ float: left;
171
288
  }
172
289
 
173
- .tc-card a:active, .tc-card a:focus, .tc-btn-download:active, .tc-btn-download:focus{
174
- outline: none;
290
+ .tc-tiddlylink.tc-card.tc-card-quote .tc-card-body:after {
291
+ font-family: Georgia, serif;
292
+ color: <<colour blockquote-bar>>;
293
+ content: close-quote;
294
+ font-size: 5em;
295
+ line-height: 1;
296
+ float: right;
175
297
  }
176
298
 
177
- div.content {
178
- padding: 1px 16px;
179
- display: flex;
180
- flex-wrap: wrap;
299
+ .tc-tiddlylink.tc-card .tc-card-body-clear {
300
+ clear: both;
301
+ }
302
+
303
+ .tc-card-body > p {
304
+ margin: 0.25em 0;
305
+ }
306
+
307
+ .tc-card a:active, .tc-card a:focus, .tc-btn-download:active, .tc-btn-download:focus{
308
+ outline: none;
181
309
  }
182
310
 
183
311
  .tc-btn-download {
184
312
  padding: 10px 30px;
185
313
  border-radius: 5px;
186
- background: #1462ff;
187
- border: none;
188
- box-shadow: 0 2px 2px 0 #4a74c9;
314
+ background: <<colour "download-background">>;
315
+ border: none;
316
+ box-shadow: 1px 2px 2px 0 <<colour muted-foreground>>;
189
317
  overflow: hidden;
190
318
  cursor: pointer;
191
- font-size: 1.2em;
192
- line-height: 1.4em;
193
- color: #fff;
194
- fill: #fff;
319
+ font-size: 1.2em;
320
+ line-height: 1.4em;
321
+ color: #fff;
322
+ fill: #fff;
195
323
  }
196
324
 
197
325
  .tc-btn-download:active {
198
- background: #1475ff;
326
+ box-shadow: none;
199
327
  }
@@ -1,5 +1,6 @@
1
+ code-body: yes
1
2
  created: 20161008085627406
2
- modified: 20220704174221300
3
+ modified: 20221007122259593
3
4
  tags: $:/tags/Macro
4
5
  title: $:/editions/tw5.com/version-macros
5
6
  type: text/vnd.tiddlywiki
@@ -9,7 +10,5 @@ type: text/vnd.tiddlywiki
9
10
  \end
10
11
 
11
12
  \define .deprecated-since(version, superseded:"TODO-Link")
12
- <$link to="Deprecated - What does it mean" class="doc-deprecated-version tc-btn-invisible">{{$:/core/images/warning}} Deprecated since: <$text text=<<__version__>>/></$link>. Use <$link to=<<__superseded__>>><$text text=<<__superseded__>>/></$link> instead
13
+ <$link to="Deprecated - What does it mean" class="doc-deprecated-version tc-btn-invisible">{{$:/core/images/warning}} Deprecated since: <$text text=<<__version__>>/></$link> (see <$link to=<<__superseded__>>><$text text=<<__superseded__>>/></$link>)
13
14
  \end
14
-
15
- <pre><$view field="text"/></pre>
@@ -46,21 +46,17 @@ open the ''example edition'' in a new window
46
46
 
47
47
  <$macrocall $name="copy-to-clipboard-above-right" src=<<__src__>>/>
48
48
 
49
- ```
50
- $src$
51
- ```
49
+ <$codeblock code=<<__src__>>/>
52
50
 
53
51
  That renders as:
54
52
 
55
- $$$text/vnd.tiddlywiki
56
- $src$
57
- $$$
53
+ <$macrocall $name="__src__"/>
58
54
 
59
55
  ... and the underlying HTML is:
60
56
 
61
- $$$text/vnd.tiddlywiki>text/html
62
- $src$
63
- $$$
57
+ <$wikify name="html" text=<<__src__>> output="html">
58
+ <$codeblock code=<<html>>/>
59
+ </$wikify>
64
60
  </div>
65
61
  \end
66
62
 
@@ -69,15 +65,12 @@ $$$
69
65
 
70
66
  <$macrocall $name="copy-to-clipboard-above-right" src=<<__src__>>/>
71
67
 
72
- ```
73
- $src$
74
- ```
68
+ <$codeblock code=<<__src__>>/>
75
69
 
76
70
  That renders as:
77
71
 
78
- $$$text/vnd.tiddlywiki
79
- $src$
80
- $$$
72
+ <$macrocall $name="__src__"/>
73
+
81
74
  </div>
82
75
  \end
83
76
 
@@ -101,3 +94,38 @@ $$$
101
94
 
102
95
  <<tw-code $tiddler$>>
103
96
  \end
97
+
98
+ \define flex-card(class,bordercolor:"",imageField:"image",captionField:"caption",subtitle:"",descriptionField:"description",linkField:"link")
99
+ \whitespace trim
100
+ <$link class={{{ [<__class__>addprefix[tc-card ]] }}} to={{{ [<currentTiddler>get<__linkField__>else<currentTiddler>] }}}>
101
+ <div class="tc-card-accent" style.borderTop={{{ [<__bordercolor__>!is[blank]addprefix[5px solid ]] }}}>
102
+ <$list filter="[<currentTiddler>has[ribbon-text]]" variable="ignore">
103
+ <div class="tc-card-ribbon-wrapper">
104
+ <div class="tc-card-ribbon" style.backgroundColor={{{ [<currentTiddler>get[ribbon-color]else[red]] }}}>
105
+ <div class="tc-card-ribbon-inner">
106
+ <$text text={{!!ribbon-text}}/>
107
+ </div>
108
+ </div>
109
+ </div>
110
+ </$list>
111
+ <$list filter="[<currentTiddler>has<__imageField__>]" variable="ignore">
112
+ <div class="tc-card-image">
113
+ <$image source={{{ [<currentTiddler>get<__imageField__>] }}}/>
114
+ </div>
115
+ </$list>
116
+ <div class="tc-card-title"><$transclude field=<<__captionField__>>><$view field="title"/></$transclude></div>
117
+ <$list filter="[<__subtitle__>!is[blank]]" variable="ignore">
118
+ <div class="tc-card-subtitle">
119
+ <$text text=<<__subtitle__>>/>
120
+ </div>
121
+ </$list>
122
+ <div class="tc-card-body-wrapper">
123
+ <div class="tc-card-body">
124
+ <$transclude field=<<__descriptionField__>> mode="block"/>
125
+ </div>
126
+ <div class="tc-card-body-clear">
127
+ </div>
128
+ </div>
129
+ </div>
130
+ </$link>
131
+ \end
@@ -0,0 +1,9 @@
1
+ caption: $:/tags/ClassFilters/PageTemplate
2
+ created: 20221020035315795
3
+ description: marks filters evaluated to dynamically add classes to the page template.
4
+ modified: 20221020035945262
5
+ tags: SystemTags
6
+ title: SystemTag: $:/tags/ClassFilters/PageTemplate
7
+ type: text/vnd.tiddlywiki
8
+
9
+ The [[system tag|SystemTags]] `$:/tags/ClassFilters/PageTemplate` marks filters marks filters evaluated to dynamically add their output as CSS classes to the page template.
@@ -0,0 +1,9 @@
1
+ caption: $:/tags/ClassFilters/TiddlerTemplate
2
+ created: 20221020035738692
3
+ description: marks filters evaluated to dynamically add classes to the page template.
4
+ modified: 20221020035933363
5
+ tags: SystemTags
6
+ title: SystemTag: $:/tags/ClassFilters/TiddlerTemplate
7
+ type: text/vnd.tiddlywiki
8
+
9
+ The [[system tag|SystemTags]] `$:/tags/ClassFilters/TiddlerTemplate` marks filters evaluated to dynamically add their output as CSS classes to the tiddler template.
@@ -1,9 +1,9 @@
1
1
  caption: $:/tags/Filter
2
2
  created: 20180926170345251
3
- description: marks filters in advanced seach sample filter dropdown
3
+ description: marks filters in advanced search sample filter dropdown
4
4
  modified: 20180926171456495
5
5
  tags: SystemTags
6
6
  title: SystemTag: $:/tags/Filter
7
7
  type: text/vnd.tiddlywiki
8
8
 
9
- The [[system tag|SystemTags]] `$:/tags/Filter` marks filters in advanced seach sample filter dropdown
9
+ The [[system tag|SystemTags]] `$:/tags/Filter` marks filters in advanced search sample filter dropdown
@@ -0,0 +1,8 @@
1
+ title: Testimonials - Joe Armstrong
2
+ tags: Testimonial
3
+ caption: Joe Armstrong, Co-inventor of Erlang
4
+ extlink: https://joearms.github.io/
5
+
6
+ The ~TiddlyWiki is the best software I've ever found for organising my ideas.
7
+
8
+ It's well worth spending an hour or so playing with it to see how it can help you. This will be time well-spent and will change how you think and how you organise your ideas.
@@ -0,0 +1,8 @@
1
+ title: Testimonials - Network World
2
+ tags: Testimonial
3
+ caption: Mark Gibbs, Network World
4
+ extlink: http://www.networkworld.com/article/3028098/open-source-tools/tiddlywiki-a-free-open-source-wiki-revisited.html
5
+
6
+ ~TiddlyWiki gets a Gearhead rating of 6 out of 5 (it's that good).
7
+
8
+ Finding code that works flawlessly after just two or three years is magical enough but after seven years?!
@@ -0,0 +1,6 @@
1
+ title: Testimonials - Product Hunt
2
+ tags: Testimonial
3
+ caption: Product Hunt
4
+ extlink: https://www.producthunt.com/posts/tiddlywiki-2?utm_source=badge-top-post-badge&utm_medium=badge&utm_souce=badge-tiddlywiki-2
5
+
6
+ <div style="text-align:center;">{{Product Hunt Link}}</div>
@@ -1,22 +1,22 @@
1
1
  created: 20180905075846391
2
- modified: 20210611055708739
2
+ modified: 20221207112242775
3
3
  tags: [[WebServer Guides]]
4
4
  title: Using the external JavaScript template
5
5
  type: text/vnd.tiddlywiki
6
6
 
7
- You can use a special template to externalise TiddlyWiki's core code into a separate file. This configuration allows the browser to cache the core for improved efficiency.
7
+ You can use a special template to externalise ~TiddlyWiki's core code into a separate file. This configuration allows the browser to cache the core for improved efficiency.
8
8
 
9
9
  ! Background
10
10
 
11
- TiddlyWiki in the single file configuration ordinarily packs everything into a single file: your data, and the ~JavaScript, CSS and HTML comprising TiddlyWiki itself. This lack of dependencies is usually very convenient: it means that it is impossible for the parts of a TiddlyWiki to become separated, and enormously improves the chances of it still functioning in the future.
11
+ ~TiddlyWiki in the single file configuration ordinarily packs everything into a single file: your data, and the ~JavaScript, CSS and HTML comprising ~TiddlyWiki itself. This lack of dependencies is usually very convenient: it means that it is impossible for the parts of a ~TiddlyWiki to become separated, and enormously improves the chances of it still functioning in the future.
12
12
 
13
13
  However, there is some inefficiency in this arrangement because the core code is repeatedly loaded and saved every time the content of the wiki is saved. This inefficiency is partially ameliorated when working in the client server configuration because once the wiki is loaded by the browser the synchronisation process only transmits individual tiddlers back and forth to the server.
14
14
 
15
- The remaining inefficiency when working in the client server configuration is that the single page wiki that is initially loaded will contain a copy of the entire core code of TiddlyWiki, making it impossible for the browser to cache it.
15
+ The remaining inefficiency when working in the client server configuration is that the single page wiki that is initially loaded will contain a copy of the entire core code of ~TiddlyWiki, making it impossible for the browser to cache it.
16
16
 
17
- ! Using the external JavaScript template with the client-server configuration
17
+ ! Using the external ~JavaScript template with the client-server configuration
18
18
 
19
- The mechanism is activated by setting the [[root-tiddler|WebServer Parameter: root-tiddler]] parameter to `$:/core/save/all-external-js`. This template externalises TiddlyWiki's core JavaScript into a separate file. For example, the following command will start your server with caching enabled. It will transfer the wiki with two GET requests, and the core can be cached by the browser.
19
+ The mechanism is activated by setting the [[root-tiddler|WebServer Parameter: root-tiddler]] parameter to `$:/core/save/all-external-js`. This template externalises ~TiddlyWiki's core ~JavaScript into a separate file. For example, the following command will start your server with caching enabled. It will transfer the wiki with two GET requests, and the core can be cached by the browser.
20
20
 
21
21
  ```
22
22
  tiddlywiki YOUR_WIKI_FOLDER --listen 'root-tiddler=$:/core/save/all-external-js' use-browser-cache=yes
@@ -38,11 +38,11 @@ tiddlywiki ./myNewWiki --build listen
38
38
  The above commands perform the following:
39
39
 
40
40
  * Create a new wiki with external JavaScript customization included.
41
- * Start the server with external JavaScript enabled. The server listens on port 8080. Visit http://localhost:8080 in your browser.
41
+ * Start the server with external ~JavaScript enabled. The server listens on port 8080. Visit http://localhost:8080 in your browser.
42
42
 
43
43
  To customize your `--build listen` command, see [[tiddlywiki.info Files]] and [[ListenCommand]].
44
44
 
45
- ! Using the external JavaScript template with the single file configuration
45
+ ! Using the external ~JavaScript template with the single file configuration
46
46
 
47
47
  You can use the "external-js" template with your single file wiki, but this requires that you have ~TiddlyWiki's core ~JavaScript saved alongside your HTML file. You may prefer this configuration, for example, if you have several wikis on a ~WebDav server. (See: [[Saving via WebDAV]])
48
48
 
@@ -64,7 +64,7 @@ The files `index.html` and `tiddlywikicore-5.x.x.js` will be saved in your wiki
64
64
 
65
65
  !! Obtaining the ~TiddlyWiki core in the browser
66
66
 
67
- To download a copy of the TiddlyWiki core JavaScript file from any existing TiddlyWiki, visit the system tiddler $:/core/ui/ExportTiddlyWikiCore and click the download button. (You can search for ''~ExportTiddlyWikiCore'' in the ''Shadows'' tab of $:/AdvancedSearch).
67
+ {{$:/core/ui/ExportTiddlyWikiCore}}
68
68
 
69
69
  !! Obtaining the ~TiddlyWiki core with Node.js
70
70
 
@@ -87,7 +87,7 @@ tiddlywiki YOUR_WIKI_FOLDER --build tiddlywikicore
87
87
 
88
88
  <<.warning "This procedure is experimental, please take care to backup your data">>
89
89
 
90
- Before you proceed, backup your wiki first! Follow the steps below to upgrade a single-file wiki with the external JavaScript template:
90
+ Before you proceed, backup your wiki first! Follow the steps below to upgrade a single-file wiki with the external ~JavaScript template:
91
91
 
92
92
  # Proceed with the [[Upgrade Process for Standalone TiddlyWikis|Upgrading]]. Your wiki will be converted to a full standalone HTML.
93
93
 
@@ -1,5 +1,5 @@
1
1
  created: 20181002131215403
2
- modified: 2020031109590546
2
+ modified: 20220909094340097
3
3
  tags: [[WebServer API]]
4
4
  title: WebServer API: Get All Tiddlers
5
5
  type: text/vnd.tiddlywiki
@@ -17,6 +17,8 @@ Parameters:
17
17
 
18
18
  In order to avoid denial of service attacks with malformed filters in the default configuration the only filter that is accepted is the default filter "[all[tiddlers]!is[system]sort[title]]"; attempts to use any other filter will result in an HTTP 403 error.
19
19
 
20
+ <<.note "System tiddlers will not be returned by this API unless the [[Hidden Setting: Sync System Tiddlers From Server]] is explicitly switched on by setting $:/config/SyncSystemTiddlersFromServer to `yes`">>
21
+
20
22
  To enable a particular filter, create a tiddler with the title "$:/config/Server/ExternalFilters/" concatenated with the filter text, and the text field set to "yes". For example, the TiddlyWeb plugin includes the following shadow tiddler to enable the filter that it requires:
21
23
 
22
24
  ```
@@ -1,6 +1,6 @@
1
1
  caption: action-popup
2
2
  created: 20200303114556528
3
- modified: 20210501203451387
3
+ modified: 20220815205132124
4
4
  tags: Widgets ActionWidgets
5
5
  title: ActionPopupWidget
6
6
  type: text/vnd.tiddlywiki
@@ -15,10 +15,11 @@ The ''action-popup'' widget is invisible. Any content within it is ignored.
15
15
 
16
16
  |!Attribute |!Description |
17
17
  |$state |The title of the state tiddler for the popup |
18
- |$coords |Optional coordinates for the handle to which popup is positioned (in the format `(x,y,w,h)`) |
18
+ |$coords |Optional coordinates for the handle to which popup is positioned (see [[Coordinate Systems]] for the supported formats) |
19
19
  |$floating |<<.from-version "5.2.0">> Optional. Defaults to `no`. Set to `yes` to create a popup that must be closed explicitly. |
20
20
 
21
- <<.from-version "5.1.23">> If the ''$coords'' attribute is missing or empty then all popups are cancelled.
21
+ <<.from-version "5.1.23">> If the ''$coords'' attribute is missing or empty then all popups are cancelled.<br/>
22
+ <<.from-version "5.2.4">> The ''$coords'' attribute supports absolute and relative coordinates. See [[Coordinate Systems]] for more information.
22
23
 
23
24
  <<.tip "Delete the state tiddler for a floating popup to close it.">>
24
25
 
@@ -1,6 +1,6 @@
1
1
  caption: button
2
2
  created: 20131024141900000
3
- modified: 20211009121239795
3
+ modified: 20220810192251345
4
4
  tags: Widgets TriggeringWidgets
5
5
  title: ButtonWidget
6
6
  type: text/vnd.tiddlywiki
@@ -37,6 +37,7 @@ The content of the `<$button>` widget is displayed within the button.
37
37
  |default |Default value if <<.attr set>> tiddler is missing for testing against <<.attr setTo>> to determine <<.attr selectedClass>> |
38
38
  |popup |Title of a state tiddler for a popup that is toggled when the button is clicked. See PopupMechanism for details |
39
39
  |popupTitle |Title of a state tiddler for a popup that is toggled when the button is clicked. In difference to the <<.attr popup>> attribute, ''no'' TextReference is used. See PopupMechanism for details |
40
+ |popupAbsCoords |<<.from-version "5.2.4">> If set to ''yes'' writes absolute coordinates to the tiddler referenced by the <<.attr popup>>. If set to ''no'' (the default) uses relative coordinates. See [[Coordinate Systems]] for details |
40
41
  |aria-label |Optional [[Accessibility]] label |
41
42
  |tooltip |Optional tooltip |
42
43
  |class |An optional CSS class name to be assigned to the HTML element|
@@ -41,7 +41,8 @@ The LinkWidget incorporates the functionality of the DraggableWidget via the ''d
41
41
  |!Variables |!Description |
42
42
  |`modifier` |The [[modifier Variable]] contains the Modifier Key held while dragging |
43
43
  |`dom-*` |All DOM attributes of the node being dragged are made available as variables, with the prefix `dom-` |
44
- |`tv-popup-coords` |A co-ordinate string that can be used with the ActionPopupWidget to trigger a popup at the DOM node that's being dragged where the event originated |
44
+ |`tv-popup-coords` |A relative co-ordinate string that can be used with the ActionPopupWidget to trigger a popup at the DOM node matching the selector where the event originated (see [[Coordinate Systems]] for more information) |
45
+ |`tv-popup-abs-coords` |<<.from-version "5.2.4">> An absolute co-ordinate string that can be used with the ActionPopupWidget to trigger a popup at the DOM node matching the selector where the event originated (see [[Coordinate Systems]] for more information) |
45
46
  |`tv-selectednode-posx` |`x` offset position of the dragged DOM node |
46
47
  |`tv-selectednode-posy` |`y` offset position of the dragged DOM node |
47
48
  |`tv-selectednode-width` |`offsetWidth` of the dragged DOM node |
@@ -0,0 +1,17 @@
1
+ caption: error
2
+ created: 20220909111836951
3
+ modified: 20220909111836951
4
+ tags: Widgets
5
+ title: ErrorWidget
6
+ type: text/vnd.tiddlywiki
7
+
8
+ <<.from-version "5.2.4">> The <<.wlink ErrorWidget>> widget is used by the core to display error messages such as the recursion errors reported by the <<.wlink TranscludeWidget>> widget.
9
+
10
+ The <<.wlink ErrorWidget>> does not provide any useful functionality to end users. It is only required by the core for technical reasons.
11
+
12
+ ! Content and Attributes
13
+
14
+ The content of the <<.wlink ErrorWidget>> widget is ignored.
15
+
16
+ |!Attribute |!Description |
17
+ |$message |The error message |
@@ -1,5 +1,5 @@
1
1
  created: 20201123113532200
2
- modified: 20220507184043398
2
+ modified: 20221012194222875
3
3
  tags: Widgets TriggeringWidgets
4
4
  title: EventCatcherWidget
5
5
  type: text/vnd.tiddlywiki
@@ -10,7 +10,7 @@ type: text/vnd.tiddlywiki
10
10
 
11
11
  //This is an advanced widget intended for use by those familiar with HTML, CSS and JavaScript handling of DOM events.//
12
12
 
13
- The event catcher widget traps DOM-initiated Javascript events dispatched within its child content, and allows invoking a series of ActionWidgets in response to those events.
13
+ The event catcher widget traps DOM-initiated Javascript events dispatched within its child content, and allows invoking a series of ActionWidgets in response to those events.
14
14
 
15
15
  In order for the events to be trapped:
16
16
 
@@ -47,7 +47,8 @@ The following variables are made available to the actions:
47
47
  |`event-mousebutton` |The mouse button (if any) used to trigger the event (can be "left", "right" or "middle"). Note that not all event types support the mousebutton property |
48
48
  |`event-type` |The type property of the JavaScript event |
49
49
  |`event-detail-*` |Any properties in the detail attribute of the event are made available with the prefix `event-detail-` |
50
- |`tv-popup-coords` |A co-ordinate string that can be used with the ActionPopupWidget to trigger a popup at the DOM node matching the selector where the event originated |
50
+ |`tv-popup-coords` |A relative co-ordinate string that can be used with the ActionPopupWidget to trigger a popup at the DOM node matching the selector where the event originated (see [[Coordinate Systems]] for more information) |
51
+ |`tv-popup-abs-coords` |<<.from-version "5.2.4">> An absolute co-ordinate string that can be used with the ActionPopupWidget to trigger a popup at the DOM node matching the selector where the event originated (see [[Coordinate Systems]] for more information) |
51
52
  |`tv-widgetnode-width` |<<.from-version "5.2.3">> `offsetWidth` of the DOM node created by the eventcatcher widget |
52
53
  |`tv-widgetnode-height` |<<.from-version "5.2.3">> `offsetHeight` of the DOM node created by the eventcatcher widget |
53
54
  |`tv-selectednode-posx` |`x` offset position of the selected DOM node |
@@ -0,0 +1,41 @@
1
+ caption: genesis
2
+ created: 20221101100729587
3
+ modified: 20221101100729587
4
+ tags: Widgets
5
+ title: GenesisWidget
6
+ type: text/vnd.tiddlywiki
7
+
8
+ ! Introduction
9
+
10
+ <<.from-version "5.2.4">> The <<.wlink GenesisWidget>> widget allows the dynamic construction of another widget, where the name and attributes of the new widget can be dynamically determined, without needing to be known in advance.
11
+
12
+ ! Content and Attributes
13
+
14
+ The content of the <<.wlink GenesisWidget>> widget is used as the content of the dynamically created widget.
15
+
16
+ |!Attribute |!Description |
17
+ |$type |The type of widget or element to create (an initial `$` indicates a widget, otherwise an HTML element will be created) |
18
+ |$names |An optional filter evaluating to the names of a list of attributes to be applied to the widget |
19
+ |$values |An optional filter evaluating to the values corresponding to the list of names specified in `$names` |
20
+ |//{other attributes starting with $}// |Other attributes starting with a single dollar sign are reserved for future use |
21
+ |//{attributes starting with $$}// |Attributes starting with two dollar signs are appplied as attributes to the output widget, but with the attribute name changed to use a single dollar sign |
22
+ |//{attributes not starting with $}// |Any other attributes that do not start with a dollar are applied as attributes to the output widget |
23
+
24
+ Note that attributes explicitly specified take precedence over attributes with the same name specified in the `$names` filter.
25
+
26
+ ! Examples
27
+
28
+ <$macrocall $name='wikitext-example-without-html'
29
+ src='<$genesis $type="div" class="tc-thing" label="Squeak">Mouse</$genesis>'/>
30
+
31
+ <$macrocall $name='wikitext-example-without-html'
32
+ src="""\define my-banner(mode:"inline",caption)
33
+ <$genesis $type={{{ [<__mode__>match[inline]then[span]else[div]] }}} class="tc-mybanner">
34
+ <<__caption__>>
35
+ </$genesis>
36
+ \end
37
+
38
+ <<my-banner caption:"I'm in a SPAN">>
39
+
40
+ <<my-banner mode:"block" caption:"I'm in a DIV">>
41
+ """/>
@@ -1,5 +1,6 @@
1
1
  title: LetWidget
2
2
  created: 20211028115900000
3
+ modified: 20221001094658854
3
4
  tags: Widgets
4
5
  caption: let
5
6
 
@@ -12,10 +13,12 @@ caption: let
12
13
  The content of the <<.wid let>> widget is the scope for the value assigned to the variable.
13
14
 
14
15
  |!Attribute |!Description |
15
- |//{attributes not starting with $}// |Each attribute name specifies a variable name. The attribute value is assigned to the variable |
16
+ |//{attributes}// |Each attribute name specifies a variable name. The attribute value is assigned to the variable |
16
17
 
17
18
  Attributes are evaluated in the order they are written. Attributes with the same name are allowed. Each time a duplicate attribute is encountered, it will replace the existing value set by the earlier duplicate.
18
19
 
20
+ <<.note """<<.from-version "5.2.4">> There is no longer any restriction on using variable names that start with the $ character.""">>
21
+
19
22
  ! Examples
20
23
 
21
24
  Consider a case where you need to set multiple variables, where some depend on the evaluation of others.