tiddlywiki 5.1.23 → 5.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1303) hide show
  1. package/.eslintignore +5 -12
  2. package/.eslintrc.yml +17 -1
  3. package/.github/ISSUE_TEMPLATE/bug_report.md +5 -0
  4. package/.github/workflows/ci.yml +3 -0
  5. package/bin/build-site.sh +2 -2
  6. package/bin/build-tw-org.sh +97 -0
  7. package/bin/optimise-svgs.js +43 -41
  8. package/boot/boot.js +155 -47
  9. package/boot/bootprefix.js +1 -0
  10. package/contributing.md +1 -1
  11. package/core/copyright.tid +1 -1
  12. package/core/images/minus-button.tid +4 -0
  13. package/core/images/plugin-generic-language.tid +1 -1
  14. package/core/images/plugin-generic-plugin.tid +1 -1
  15. package/core/images/plugin-generic-theme.tid +1 -1
  16. package/core/images/plus-button.tid +4 -0
  17. package/core/language/en-GB/ControlPanel.multids +19 -2
  18. package/core/language/en-GB/Docs/ModuleTypes.multids +1 -0
  19. package/core/language/en-GB/EditTemplate.multids +2 -0
  20. package/core/language/en-GB/Fields.multids +4 -3
  21. package/core/language/en-GB/Help/listen.tid +3 -2
  22. package/core/language/en-GB/Help/render.tid +5 -4
  23. package/core/language/en-GB/Help/save.tid +1 -1
  24. package/core/language/en-GB/Import.multids +6 -0
  25. package/core/language/en-GB/Misc.multids +4 -3
  26. package/core/modules/commander.js +1 -1
  27. package/core/modules/commands/fetch.js +1 -1
  28. package/core/modules/commands/init.js +1 -1
  29. package/core/modules/commands/render.js +55 -54
  30. package/core/modules/commands/rendertiddlers.js +1 -1
  31. package/core/modules/commands/savelibrarytiddlers.js +1 -1
  32. package/core/modules/commands/savewikifolder.js +18 -4
  33. package/core/modules/config.js +1 -1
  34. package/core/modules/deserializers.js +102 -89
  35. package/core/modules/editor/engines/framed.js +20 -4
  36. package/core/modules/editor/engines/simple.js +6 -2
  37. package/core/modules/editor/factory.js +85 -12
  38. package/core/modules/editor/operations/text/focus-editor.js +17 -0
  39. package/core/modules/editor/operations/text/insert-text.js +23 -0
  40. package/core/modules/editor/operations/text/wrap-lines.js +5 -3
  41. package/core/modules/filterrunprefixes/cascade.js +53 -0
  42. package/core/modules/filterrunprefixes/filter.js +22 -4
  43. package/core/modules/filterrunprefixes/map.js +46 -0
  44. package/core/modules/filterrunprefixes/reduce.js +19 -19
  45. package/core/modules/filterrunprefixes/sort.js +62 -0
  46. package/core/modules/filters/all.js +3 -3
  47. package/core/modules/filters/backlinks.js +3 -3
  48. package/core/modules/filters/contains.js +1 -1
  49. package/core/modules/filters/crypto.js +27 -0
  50. package/core/modules/filters/deserializers.js +27 -0
  51. package/core/modules/filters/editiondescription.js +1 -1
  52. package/core/modules/filters/encodings.js +3 -13
  53. package/core/modules/filters/field.js +1 -1
  54. package/core/modules/filters/fields.js +1 -1
  55. package/core/modules/filters/filter.js +12 -1
  56. package/core/modules/filters/format/date.js +2 -2
  57. package/core/modules/filters/format/relativedate.js +2 -2
  58. package/core/modules/filters/format/titlelist.js +25 -0
  59. package/core/modules/filters/has.js +1 -1
  60. package/core/modules/filters/insertbefore.js +1 -1
  61. package/core/modules/filters/is/draft.js +3 -3
  62. package/core/modules/filters/links.js +3 -3
  63. package/core/modules/filters/listops.js +14 -1
  64. package/core/modules/filters/lookup.js +29 -6
  65. package/core/modules/filters/math.js +102 -7
  66. package/core/modules/filters/moduleproperty.js +30 -0
  67. package/core/modules/filters/modules.js +16 -4
  68. package/core/modules/filters/prefix.js +30 -12
  69. package/core/modules/filters/range.js +7 -3
  70. package/core/modules/filters/reduce.js +2 -0
  71. package/core/modules/filters/regexp.js +1 -1
  72. package/core/modules/filters/removeprefix.js +16 -6
  73. package/core/modules/filters/removesuffix.js +20 -6
  74. package/core/modules/filters/search.js +1 -0
  75. package/core/modules/filters/sortsub.js +7 -4
  76. package/core/modules/filters/strings.js +26 -14
  77. package/core/modules/filters/suffix.js +32 -10
  78. package/core/modules/filters/tag.js +1 -1
  79. package/core/modules/filters/untagged.js +7 -14
  80. package/core/modules/filters/x-listops.js +5 -5
  81. package/core/modules/filters.js +32 -14
  82. package/core/modules/indexers/field-indexer.js +1 -1
  83. package/core/modules/indexers/tag-indexer.js +2 -2
  84. package/core/modules/info/platform.js +1 -1
  85. package/core/modules/keyboard.js +15 -7
  86. package/core/modules/macros/{uniquetitle.js → unusedtitle.js} +8 -7
  87. package/core/modules/parsers/htmlparser.js +4 -2
  88. package/core/modules/parsers/imageparser.js +1 -0
  89. package/core/modules/parsers/parseutils.js +41 -11
  90. package/core/modules/parsers/wikiparser/rules/commentblock.js +8 -2
  91. package/core/modules/parsers/wikiparser/rules/commentinline.js +1 -1
  92. package/core/modules/parsers/wikiparser/rules/html.js +7 -10
  93. package/core/modules/parsers/wikiparser/rules/import.js +1 -1
  94. package/core/modules/parsers/wikiparser/rules/macrocallblock.js +24 -28
  95. package/core/modules/parsers/wikiparser/rules/macrocallinline.js +17 -27
  96. package/core/modules/parsers/wikiparser/rules/table.js +1 -1
  97. package/core/modules/parsers/wikiparser/wikiparser.js +48 -25
  98. package/core/modules/pluginswitcher.js +1 -1
  99. package/core/modules/saver-handler.js +2 -1
  100. package/core/modules/savers/andtidwiki.js +1 -1
  101. package/core/modules/savers/download.js +1 -1
  102. package/core/modules/savers/gitea.js +3 -3
  103. package/core/modules/savers/github.js +3 -3
  104. package/core/modules/savers/gitlab.js +3 -3
  105. package/core/modules/savers/put.js +6 -3
  106. package/core/modules/savers/tiddlyfox.js +1 -1
  107. package/core/modules/savers/twedit.js +1 -1
  108. package/core/modules/savers/upload.js +15 -3
  109. package/core/modules/server/routes/delete-tiddler.js +1 -1
  110. package/core/modules/server/routes/get-favicon.js +1 -2
  111. package/core/modules/server/routes/get-file.js +21 -17
  112. package/core/modules/server/routes/get-index.js +1 -23
  113. package/core/modules/server/routes/get-login-basic.js +3 -2
  114. package/core/modules/server/routes/get-status.js +1 -2
  115. package/core/modules/server/routes/get-tiddler-html.js +3 -3
  116. package/core/modules/server/routes/get-tiddler.js +2 -3
  117. package/core/modules/server/routes/get-tiddlers-json.js +1 -2
  118. package/core/modules/server/routes/put-tiddler.js +3 -3
  119. package/core/modules/server/server.js +113 -17
  120. package/core/modules/startup/browser-messaging.js +2 -2
  121. package/core/modules/startup/favicon.js +1 -1
  122. package/core/modules/startup/load-modules.js +3 -0
  123. package/core/modules/startup/render.js +8 -3
  124. package/core/modules/startup/rootwidget.js +19 -4
  125. package/core/modules/startup/startup.js +2 -3
  126. package/core/modules/startup/story.js +5 -5
  127. package/core/modules/startup/windows.js +22 -9
  128. package/core/modules/storyviews/classic.js +5 -5
  129. package/core/modules/storyviews/pop.js +3 -3
  130. package/core/modules/storyviews/zoomin.js +3 -3
  131. package/core/modules/syncer.js +2 -6
  132. package/core/modules/tiddler.js +3 -3
  133. package/core/modules/upgraders/plugins.js +1 -1
  134. package/core/modules/upgraders/system.js +5 -6
  135. package/core/modules/utils/crypto.js +2 -2
  136. package/core/modules/utils/csv.js +1 -1
  137. package/core/modules/utils/dom/dom.js +6 -2
  138. package/core/modules/utils/dom/dragndrop.js +33 -10
  139. package/core/modules/utils/dom/http.js +18 -1
  140. package/core/modules/utils/dom/modal.js +3 -2
  141. package/core/modules/utils/dom/popup.js +1 -1
  142. package/core/modules/utils/dom/scroller.js +12 -8
  143. package/core/modules/utils/edition-info.js +1 -5
  144. package/core/modules/{startup/css-escape-polyfill.js → utils/escapecss.js} +17 -27
  145. package/core/modules/utils/fakedom.js +1 -1
  146. package/core/modules/utils/filesystem.js +89 -52
  147. package/core/modules/utils/linked-list.js +143 -57
  148. package/core/modules/utils/logger.js +2 -2
  149. package/core/modules/utils/performance.js +1 -1
  150. package/core/modules/utils/pluginmaker.js +2 -4
  151. package/core/modules/utils/transliterate.js +8 -1
  152. package/core/modules/utils/utils.js +80 -8
  153. package/core/modules/widgets/action-confirm.js +4 -3
  154. package/core/modules/widgets/action-createtiddler.js +12 -5
  155. package/core/modules/widgets/action-deletefield.js +1 -1
  156. package/core/modules/widgets/action-listops.js +6 -11
  157. package/core/modules/widgets/action-log.js +3 -3
  158. package/core/modules/widgets/action-navigate.js +12 -1
  159. package/core/modules/widgets/action-popup.js +3 -1
  160. package/core/modules/widgets/action-sendmessage.js +17 -7
  161. package/core/modules/widgets/action-setmultiplefields.js +86 -0
  162. package/core/modules/widgets/button.js +5 -2
  163. package/core/modules/widgets/codeblock.js +7 -1
  164. package/core/modules/widgets/draggable.js +17 -8
  165. package/core/modules/widgets/droppable.js +2 -2
  166. package/core/modules/widgets/dropzone.js +122 -25
  167. package/core/modules/widgets/edit-bitmap.js +6 -6
  168. package/core/modules/widgets/edit-shortcut.js +3 -3
  169. package/core/modules/widgets/element.js +1 -1
  170. package/core/modules/widgets/entity.js +1 -1
  171. package/core/modules/widgets/eventcatcher.js +52 -23
  172. package/core/modules/widgets/fieldmangler.js +16 -30
  173. package/core/modules/widgets/image.js +15 -5
  174. package/core/modules/widgets/importvariables.js +2 -2
  175. package/core/modules/widgets/jsontiddler.js +91 -0
  176. package/core/modules/widgets/keyboard.js +39 -20
  177. package/core/modules/widgets/let.js +96 -0
  178. package/core/modules/widgets/link.js +9 -2
  179. package/core/modules/widgets/linkcatcher.js +4 -4
  180. package/core/modules/widgets/list.js +65 -26
  181. package/core/modules/widgets/log.js +1 -1
  182. package/core/modules/widgets/macrocall.js +1 -1
  183. package/core/modules/widgets/messagecatcher.js +110 -0
  184. package/core/modules/widgets/navigator.js +41 -41
  185. package/core/modules/widgets/radio.js +14 -5
  186. package/core/modules/widgets/raw.js +1 -1
  187. package/core/modules/widgets/reveal.js +4 -4
  188. package/core/modules/widgets/scrollable.js +32 -30
  189. package/core/modules/widgets/select.js +1 -1
  190. package/core/modules/widgets/setmultiplevariables.js +81 -0
  191. package/core/modules/widgets/setvariable.js +2 -2
  192. package/core/modules/widgets/text.js +1 -1
  193. package/core/modules/widgets/tiddler.js +1 -1
  194. package/core/modules/widgets/transclude.js +9 -2
  195. package/core/modules/widgets/vars.js +3 -5
  196. package/core/modules/widgets/view.js +10 -3
  197. package/core/modules/widgets/widget.js +89 -35
  198. package/core/modules/widgets/wikify.js +1 -1
  199. package/core/modules/wiki-bulkops.js +20 -15
  200. package/core/modules/wiki.js +213 -89
  201. package/core/palettes/Blanca.tid +1 -0
  202. package/core/palettes/Blue.tid +1 -0
  203. package/core/palettes/BrightMute.tid +1 -0
  204. package/core/palettes/ContrastDark.tid +1 -0
  205. package/core/palettes/ContrastLight.tid +1 -0
  206. package/core/palettes/CupertinoDark.tid +1 -0
  207. package/core/palettes/DarkPhotos.tid +1 -0
  208. package/core/palettes/DesertSand.tid +1 -0
  209. package/core/palettes/GruvBoxDark.tid +1 -0
  210. package/core/palettes/Nord.tid +1 -0
  211. package/core/palettes/Rocker.tid +1 -0
  212. package/core/palettes/SolarFlare.tid +1 -0
  213. package/core/palettes/SolarizedDark.tid +1 -0
  214. package/core/palettes/SolarizedLight.tid +1 -0
  215. package/core/palettes/SpartanDay.tid +1 -0
  216. package/core/palettes/SpartanNight.tid +1 -0
  217. package/core/palettes/Twilight.tid +1 -0
  218. package/core/palettes/Vanilla.tid +1 -0
  219. package/core/templates/external-js/save-all-external-js.tid +1 -0
  220. package/core/templates/external-js/save-offline-external-js.tid +8 -0
  221. package/core/templates/external-js/tiddlywiki.js.tiddlers.tid +4 -0
  222. package/core/templates/external-js/tiddlywiki5-external-js.html.tid +3 -2
  223. package/core/templates/html-div-tiddler.tid +1 -1
  224. package/core/templates/html-json-skinny-tiddler.tid +4 -0
  225. package/core/templates/html-json-tiddler.tid +3 -0
  226. package/core/templates/save-lazy-images.tid +1 -1
  227. package/core/templates/store.area.template.html.tid +35 -12
  228. package/core/templates/tiddlywiki5.html.tid +1 -1
  229. package/core/ui/Components/plugin-info.tid +57 -55
  230. package/core/ui/Components/tag-link.tid +1 -1
  231. package/core/ui/ControlPanel/Cascades/EditTemplateBody.tid +9 -0
  232. package/core/ui/ControlPanel/Cascades/FieldEditor.tid +9 -0
  233. package/core/ui/ControlPanel/Cascades/StoryTiddler.tid +9 -0
  234. package/core/ui/ControlPanel/Cascades/TiddlerColour.tid +9 -0
  235. package/core/ui/ControlPanel/Cascades/TiddlerIcon.tid +9 -0
  236. package/core/ui/ControlPanel/Cascades/ViewTemplateBody.tid +9 -0
  237. package/core/ui/ControlPanel/Cascades/ViewTemplateTitle.tid +9 -0
  238. package/core/ui/ControlPanel/Cascades.tid +9 -0
  239. package/core/ui/ControlPanel/Plugins/Installed/Languages.tid +1 -0
  240. package/core/ui/ControlPanel/Plugins/Installed/Plugins.tid +1 -0
  241. package/core/ui/ControlPanel/Plugins/Installed/Themes.tid +1 -0
  242. package/core/ui/ControlPanel/Plugins.tid +1 -1
  243. package/core/ui/ControlPanel/Saving/GitHub.tid +1 -1
  244. package/core/ui/ControlPanel/Saving/TiddlySpot.tid +0 -2
  245. package/core/ui/EditTemplate/Preview/diffs-current.tid +1 -1
  246. package/core/ui/EditTemplate/Preview/diffs-shadow.tid +1 -1
  247. package/core/ui/EditTemplate/body/canonical-uri.tid +13 -0
  248. package/core/ui/EditTemplate/body/default.tid +38 -0
  249. package/core/ui/EditTemplate/body-editor.tid +10 -1
  250. package/core/ui/EditTemplate/body-toolbar-button.tid +8 -6
  251. package/core/ui/EditTemplate/body.tid +1 -47
  252. package/core/ui/EditTemplate/fieldEditor-default.tid +3 -0
  253. package/core/ui/EditTemplate/fields.tid +7 -5
  254. package/core/ui/EditTemplate/tags.tid +3 -3
  255. package/core/ui/EditTemplate/title.tid +1 -1
  256. package/core/ui/EditTemplate/type.tid +2 -2
  257. package/core/ui/EditTemplate.tid +2 -2
  258. package/core/ui/EditorToolbar/file-import.tid +41 -0
  259. package/core/ui/EditorToolbar/link-dropdown.tid +1 -1
  260. package/core/ui/EditorToolbar/preview.tid +4 -4
  261. package/core/ui/EditorToolbar/stamp-dropdown-item-template.tid +53 -0
  262. package/core/ui/EditorToolbar/stamp-dropdown.tid +1 -43
  263. package/core/ui/EditorToolbar/stamp.tid +1 -0
  264. package/core/ui/ExportTiddlyWikiCore.tid +22 -0
  265. package/core/ui/ImportListing.tid +20 -1
  266. package/core/ui/ListTaggedCascade.tid +14 -0
  267. package/core/ui/MoreSideBar/plugins/Languages.tid +1 -1
  268. package/core/ui/MoreSideBar/plugins/Plugins.tid +1 -1
  269. package/core/ui/MoreSideBar/plugins/Theme.tid +1 -1
  270. package/core/ui/PageControls/advanced-search.tid +1 -0
  271. package/core/ui/PageControls/closeall.tid +4 -1
  272. package/core/ui/PageControls/controlpanel.tid +1 -0
  273. package/core/ui/PageControls/encryption.tid +6 -2
  274. package/core/ui/PageControls/export-tiddlywikicore.tid +22 -0
  275. package/core/ui/PageControls/fold-all.tid +4 -1
  276. package/core/ui/PageControls/full-screen.tid +4 -1
  277. package/core/ui/PageControls/home.tid +4 -1
  278. package/core/ui/PageControls/import.tid +4 -1
  279. package/core/ui/PageControls/language.tid +0 -1
  280. package/core/ui/PageControls/manager.tid +4 -1
  281. package/core/ui/PageControls/more-page-actions.tid +4 -1
  282. package/core/ui/PageControls/new-image.tid +3 -1
  283. package/core/ui/PageControls/new-journal.tid +4 -1
  284. package/core/ui/PageControls/newtiddler.tid +3 -1
  285. package/core/ui/PageControls/palette.tid +0 -1
  286. package/core/ui/PageControls/print.tid +4 -1
  287. package/core/ui/PageControls/refresh.tid +4 -1
  288. package/core/ui/PageControls/savewiki.tid +4 -1
  289. package/core/ui/PageControls/storyview.tid +0 -1
  290. package/core/ui/PageControls/tag-button.tid +4 -1
  291. package/core/ui/PageControls/theme.tid +0 -1
  292. package/core/ui/PageControls/timestamp.tid +6 -2
  293. package/core/ui/PageControls/unfold-all.tid +4 -1
  294. package/core/ui/PageTemplate/story.tid +1 -1
  295. package/core/ui/PaletteManager.tid +1 -1
  296. package/core/ui/PluginListItemTemplate.tid +13 -3
  297. package/core/ui/SideBar/Open.tid +2 -2
  298. package/core/ui/StoryTiddlerTemplate.tid +3 -0
  299. package/core/ui/TagPickerTagTemplate.tid +3 -3
  300. package/core/ui/TagTemplate.tid +2 -2
  301. package/core/ui/TiddlerIcon.tid +8 -0
  302. package/core/ui/ViewTemplate/body/blank.tid +3 -0
  303. package/core/ui/ViewTemplate/body/code.tid +3 -0
  304. package/core/ui/ViewTemplate/body/default.tid +7 -0
  305. package/core/ui/ViewTemplate/{import.tid → body/import.tid} +9 -3
  306. package/core/ui/ViewTemplate/body/plugin.tid +10 -0
  307. package/core/ui/ViewTemplate/body.tid +1 -9
  308. package/core/ui/ViewTemplate/title/default.tid +6 -0
  309. package/core/ui/ViewTemplate/title/system.tid +6 -0
  310. package/core/ui/ViewTemplate/title.tid +6 -22
  311. package/core/ui/ViewTemplate.tid +6 -1
  312. package/core/ui/ViewToolbar/clone.tid +0 -1
  313. package/core/ui/ViewToolbar/close-others.tid +0 -1
  314. package/core/ui/ViewToolbar/edit.tid +0 -1
  315. package/core/ui/ViewToolbar/fold-others.tid +0 -1
  316. package/core/ui/ViewToolbar/fold.tid +0 -2
  317. package/core/ui/ViewToolbar/info.tid +1 -0
  318. package/core/ui/ViewToolbar/more-tiddler-actions.tid +0 -1
  319. package/core/ui/ViewToolbar/new-here.tid +1 -0
  320. package/core/ui/ViewToolbar/new-journal-here.tid +1 -0
  321. package/core/ui/ViewToolbar/open-window.tid +0 -1
  322. package/core/ui/ViewToolbar/permalink.tid +0 -1
  323. package/core/ui/ViewToolbar/permaview.tid +0 -1
  324. package/core/wiki/allfields.tid +1 -1
  325. package/core/wiki/config/EditTabIndex.tid +1 -2
  326. package/core/wiki/config/EditTemplateBodyFilters.multids +5 -0
  327. package/core/wiki/config/EditorEnableImportFilter.tid +4 -0
  328. package/core/wiki/config/EditorImportContentTypesFilter.tid +4 -0
  329. package/core/wiki/config/FieldEditorFilters.multids +4 -0
  330. package/core/wiki/config/OfficialPluginLibrary.tid +1 -1
  331. package/core/wiki/config/StoryTiddlerTemplateFilters.multids +5 -0
  332. package/core/wiki/config/TiddlerColourFilters.multids +5 -0
  333. package/core/wiki/config/TiddlerIconFilters.multids +5 -0
  334. package/core/wiki/config/ViewTemplateBodyFilters.multids +9 -0
  335. package/core/wiki/config/ViewTemplateTitleFilters.multids +5 -0
  336. package/core/wiki/config/shortcuts/shortcuts-mac.multids +0 -2
  337. package/core/wiki/config/shortcuts/shortcuts.multids +2 -2
  338. package/core/wiki/debugstylesheets.tid +9 -0
  339. package/core/wiki/macros/export.tid +6 -6
  340. package/core/wiki/macros/list.tid +2 -2
  341. package/core/wiki/macros/tag.tid +4 -2
  342. package/core/wiki/peek-stylesheets.tid +3 -0
  343. package/core/wiki/tags/ControlPanelPlugins.tid +1 -1
  344. package/core/wiki/tags/EditTemplateBodyFilter.tid +2 -0
  345. package/core/wiki/tags/StoryTiddlerTemplateFilter.tid +2 -0
  346. package/core/wiki/tags/TiddlerColourFilter.tid +3 -0
  347. package/core/wiki/tags/TiddlerIconFilter.tid +3 -0
  348. package/core/wiki/tags/ViewTemplateBodyFilter.tid +3 -0
  349. package/core/wiki/tags/ViewTemplateTitleFilter.tid +3 -0
  350. package/core/wiki/title.tid +4 -1
  351. package/core/wiki/viewswitcher.tid +2 -2
  352. package/editions/dev/tiddlers/HelloThere.tid +3 -1
  353. package/editions/dev/tiddlers/from Heigele and Jurke/Data-Storage.tid +1 -9
  354. package/editions/dev/tiddlers/from Heigele and Jurke/Syncadaptor.tid +2 -2
  355. package/editions/dev/tiddlers/from tw5.com/moduletypes/SyncAdaptorModules.tid +1 -1
  356. package/editions/dev/tiddlers/from tw5.com/moduletypes/WikiRuleModules.tid +6 -5
  357. package/editions/dev/tiddlers/new/Data Storage in Single File TiddlyWiki.tid +100 -0
  358. package/editions/dev/tiddlers/new/Data Storage.tid +10 -0
  359. package/editions/dev/tiddlers/new/Hook_ th-before-importing.tid +68 -0
  360. package/editions/dev/tiddlers/new/Hook_ th-closing-tiddler.tid +20 -0
  361. package/editions/dev/tiddlers/new/Hook__th-importing-tiddler.tid +3 -1
  362. package/editions/dev/tiddlers/new/ParserSubclassingMechanism.tid +42 -0
  363. package/editions/dev/tiddlers/new/TiddlyWiki Drag and Drop Interop.tid +15 -0
  364. package/editions/dev/tiddlers/new/dragndropinterop.html +35 -0
  365. package/editions/dev/tiddlers/new/dragndropinterop.html.meta +3 -0
  366. package/editions/dev/tiddlers/new/save-dragndropinterop.tid +3 -0
  367. package/editions/dynaviewdemo/tiddlers/SideBar-Open.tid +1 -1
  368. package/editions/dynaviewdemo/tiddlers/ViewTemplate.tid +4 -7
  369. package/editions/es-ES/tiddlers/Page_and_tiddler_layout_customisation.tid +1 -1
  370. package/editions/fr-FR/output/images/Blurry%20Lawn.jpg +0 -0
  371. package/editions/fr-FR/output/images/Newnham%20Horizon.jpg +0 -0
  372. package/editions/fr-FR/output/index.html +5051 -0
  373. package/editions/fr-FR/output/text/Alice%20in%20Wonderland.tid +3709 -0
  374. package/editions/fr-FR/tiddlers/$ _config_ViewTemplateTitleFilters_fr-default.tid +7 -0
  375. package/editions/fr-FR/tiddlers/$ _core_ui_ViewTemplate_title_fr-default.tid +8 -0
  376. package/editions/fr-FR/tiddlers/$__deprecated.tid +9 -0
  377. package/editions/fr-FR/tiddlers/$__editions_fr-FR_util-macros.tid +1 -0
  378. package/editions/fr-FR/tiddlers/$__editions_tw5.com_doc-macros.tid +69 -5
  379. package/editions/fr-FR/tiddlers/$__editions_tw5.com_version-macros.tid +15 -0
  380. package/editions/fr-FR/tiddlers/$__editions_tw5.com_wikitext-macros.tid +2 -2
  381. package/editions/fr-FR/tiddlers/Block_Quotes_in_WikiText.tid +15 -8
  382. package/editions/fr-FR/tiddlers/CamelCase.tid +6 -3
  383. package/editions/fr-FR/tiddlers/Code Blocks in WikiText.tid +27 -16
  384. package/editions/fr-FR/tiddlers/Community Links Aggregator.tid +11 -0
  385. package/editions/fr-FR/tiddlers/Community.tid +6 -4
  386. package/editions/fr-FR/tiddlers/Creating and editing tiddlers.tid +11 -11
  387. package/editions/fr-FR/tiddlers/Deprecated - What does it mean.tid +17 -0
  388. package/editions/fr-FR/tiddlers/Developers.tid +10 -5
  389. package/editions/fr-FR/tiddlers/Federatial.tid +11 -0
  390. package/editions/fr-FR/tiddlers/Formatting in WikiText.tid +12 -12
  391. package/editions/fr-FR/tiddlers/Forums.tid +27 -13
  392. package/editions/fr-FR/tiddlers/GettingStarted.tid +16 -14
  393. package/editions/fr-FR/tiddlers/Glossaire en-GB -_ fr-FR.tid +3 -1
  394. package/editions/fr-FR/tiddlers/HTML in WikiText.tid +77 -28
  395. package/editions/fr-FR/tiddlers/Headings in WikiText.tid +2 -2
  396. package/editions/fr-FR/tiddlers/HelloThere.tid +15 -12
  397. package/editions/fr-FR/tiddlers/HelloThumbnail - Latest Version.tid +1 -1
  398. package/editions/fr-FR/tiddlers/How to export tiddlers.tid +31 -0
  399. package/editions/fr-FR/tiddlers/ImageWidget.tid +33 -0
  400. package/editions/fr-FR/tiddlers/Images in WikiText.tid +69 -0
  401. package/editions/fr-FR/tiddlers/Importing Tiddlers.tid +26 -0
  402. package/editions/fr-FR/tiddlers/JeremyRuston.tid +9 -9
  403. package/editions/fr-FR/tiddlers/Linking in WikiText.tid +108 -19
  404. package/editions/fr-FR/tiddlers/ListField.tid +6 -6
  405. package/editions/fr-FR/tiddlers/Macros in WikiText.tid +5 -5
  406. package/editions/fr-FR/tiddlers/Macros.tid +17 -8
  407. package/editions/fr-FR/tiddlers/Page and tiddler layout customisation.tid +1 -1
  408. package/editions/fr-FR/tiddlers/PermaLinks.tid +19 -19
  409. package/editions/fr-FR/tiddlers/Philosophy of Tiddlers.tid +2 -2
  410. package/editions/fr-FR/tiddlers/Saving.tid +63 -4
  411. package/editions/fr-FR/tiddlers/Share Plugin.tid +15 -0
  412. package/editions/fr-FR/tiddlers/{Sharing_a_TiddlyWiki_on_Dropbox.tid → Sharing a TiddlyWiki on Dropbox.tid } +12 -4
  413. package/editions/fr-FR/tiddlers/Sharing your tiddlers with others.tid +18 -0
  414. package/editions/fr-FR/tiddlers/Structuring TiddlyWiki.tid +6 -6
  415. package/editions/fr-FR/tiddlers/Styles and Classes in WikiText.tid +11 -10
  416. package/editions/fr-FR/tiddlers/Tagging.tid +24 -18
  417. package/editions/fr-FR/tiddlers/TaskManagementExample.tid +3 -1
  418. package/editions/fr-FR/tiddlers/TiddlerLinks.tid +5 -5
  419. package/editions/fr-FR/tiddlers/TiddlyFox Apocalypse.tid +46 -0
  420. package/editions/fr-FR/tiddlers/TiddlyFox.tid +6 -3
  421. package/editions/fr-FR/tiddlers/TiddlyWiki.tid +6 -4
  422. package/editions/fr-FR/tiddlers/_TiddlyWiki for Scholars_ by Alberto Molina.tid +2 -2
  423. package/editions/innerwikidemo/tiddlywiki.info +2 -1
  424. package/editions/introduction/tiddlers/slides/TiddlyWiki.tid +1 -1
  425. package/editions/introduction/tiddlywiki.info +8 -1
  426. package/editions/prerelease/tiddlers/{Release 5.1.24.tid → Release 5.2.3.tid } +44 -12
  427. package/editions/prerelease/tiddlers/system/PrereleaseLocalPluginLibrary.tid +1 -1
  428. package/editions/prerelease/tiddlers/system/PrereleaseOfficialPluginLibrary.tid +1 -1
  429. package/editions/prerelease/tiddlers/system/download-empty.tid +10 -0
  430. package/editions/server-external-js/tiddlywiki.info +7 -4
  431. package/editions/test/tiddlers/tests/data/deserializers/case 1.tid +4 -0
  432. package/editions/test/tiddlers/tests/data/deserializers/case 2.tid +12 -0
  433. package/editions/test/tiddlers/tests/data/deserializers/case 3.tid +18 -0
  434. package/editions/test/tiddlers/tests/data/deserializers/case 4.tid +19 -0
  435. package/editions/test/tiddlers/tests/data/deserializers/case 5.tid +20 -0
  436. package/editions/test/tiddlers/tests/data/tabs-macro/expected-html-tabs-horizontal-all.tid +33 -0
  437. package/editions/test/tiddlers/tests/data/tabs-macro/expected-html-tabs-horizontal.tid +43 -0
  438. package/editions/test/tiddlers/tests/data/tabs-macro/expected-html-tabs-vertical.tid +43 -0
  439. package/editions/test/tiddlers/tests/test-action-widgets.js +55 -0
  440. package/editions/test/tiddlers/tests/test-deserializers.js +39 -0
  441. package/editions/test/tiddlers/tests/test-filters.js +1018 -753
  442. package/editions/test/tiddlers/tests/test-html-parser.js +33 -12
  443. package/editions/test/tiddlers/tests/test-linked-list.js +182 -66
  444. package/editions/test/tiddlers/tests/test-parsetextreference.js +132 -0
  445. package/editions/test/tiddlers/tests/test-prefixes-filter.js +319 -5
  446. package/editions/test/tiddlers/tests/test-tags.js +19 -0
  447. package/editions/test/tiddlers/tests/test-utils.js +10 -0
  448. package/editions/test/tiddlers/tests/test-widget.js +189 -0
  449. package/editions/test/tiddlers/tests/test-wikitext-parser.js +140 -20
  450. package/editions/test/tiddlers/tests/test-wikitext-tabs-macro.js +86 -0
  451. package/editions/tw.org/tiddlers/$__DefaultTiddlers.tid +6 -0
  452. package/editions/tw.org/tiddlers/$__SiteSubtitle.tid +6 -0
  453. package/editions/tw.org/tiddlers/$__SiteTitle.tid +6 -0
  454. package/editions/tw.org/tiddlers/$__StoryList.tid +3 -0
  455. package/editions/tw.org/tiddlers/$__favicon.ico.png +0 -0
  456. package/editions/tw.org/tiddlers/$__favicon.ico.png.meta +4 -0
  457. package/editions/tw.org/tiddlers/$__palette.tid +6 -0
  458. package/editions/tw.org/tiddlers/$__palettes_BlueFlavour +165 -0
  459. package/editions/tw.org/tiddlers/$__palettes_BlueFlavour.meta +8 -0
  460. package/editions/tw.org/tiddlers/$__palettes_FlowingSun +165 -0
  461. package/editions/tw.org/tiddlers/$__palettes_FlowingSun.meta +8 -0
  462. package/editions/tw.org/tiddlers/$__themes_tiddlywiki_vanilla_metrics_bodyfontsize.tid +6 -0
  463. package/editions/tw.org/tiddlers/$__themes_tiddlywiki_vanilla_metrics_bodylineheight.tid +6 -0
  464. package/editions/tw.org/tiddlers/$__themes_tiddlywiki_vanilla_metrics_sidebarwidth.tid +6 -0
  465. package/editions/tw.org/tiddlers/$__themes_tiddlywiki_vanilla_options_sidebarlayout.tid +6 -0
  466. package/editions/tw.org/tiddlers/HelloThere.tid +14 -0
  467. package/editions/tw.org/tiddlers/Table of Contents.tid +11 -0
  468. package/editions/tw.org/tiddlers/TiddlyWiki.tid +8 -0
  469. package/editions/tw.org/tiddlywiki.info +30 -0
  470. package/editions/tw5.com/tiddlers/$__StoryList.tid +5 -0
  471. package/editions/tw5.com/tiddlers/about/History of TiddlyWiki.tid +1 -1
  472. package/editions/tw5.com/tiddlers/{License.tid → about/License.tid} +0 -0
  473. package/editions/tw5.com/tiddlers/commands/NamedCommandParameters.tid +2 -2
  474. package/editions/tw5.com/tiddlers/community/Community Editions.tid +24 -0
  475. package/editions/tw5.com/tiddlers/community/Community Links Aggregator.tid +10 -0
  476. package/editions/tw5.com/tiddlers/community/Community Palettes.tid +24 -0
  477. package/editions/tw5.com/tiddlers/community/Community Plugins.tid +24 -0
  478. package/editions/tw5.com/tiddlers/community/Community Themes.tid +24 -0
  479. package/editions/tw5.com/tiddlers/community/Community.tid +5 -3
  480. package/editions/tw5.com/tiddlers/community/Contributing.tid +49 -13
  481. package/editions/tw5.com/tiddlers/community/Contributor License Agreement.tid +3 -3
  482. package/editions/tw5.com/tiddlers/community/Forums.tid +16 -13
  483. package/editions/tw5.com/tiddlers/community/Other Resources.tid +24 -0
  484. package/editions/tw5.com/tiddlers/community/Signing the Contributor License Agreement.tid +2 -2
  485. package/editions/tw5.com/tiddlers/community/TW Icons by morosanuae.tid +9 -0
  486. package/editions/tw5.com/tiddlers/community/TiddlyWiki Hangouts.tid +2 -2
  487. package/editions/tw5.com/tiddlers/community/editions/Drift by Tony K.tid +17 -0
  488. package/editions/tw5.com/tiddlers/community/editions/Stroll by David Gifford.tid +18 -0
  489. package/editions/tw5.com/tiddlers/community/editions/TiddlyResearch by Kebi.tid +25 -0
  490. package/editions/tw5.com/tiddlers/community/{resources → editions}/_Cardo-A Task and Project Management Wiki_ by David_Szego.tid +2 -2
  491. package/editions/tw5.com/tiddlers/community/{resources → editions}/_Noteself_ by Danielo Rodriguez.tid +2 -2
  492. package/editions/tw5.com/tiddlers/community/examples/PETTIL.tid +1 -1
  493. package/editions/tw5.com/tiddlers/community/examples/Reveal.js by Devin Weaver.tid +2 -2
  494. package/editions/tw5.com/tiddlers/community/{resources → examples}/_Lucky Sushi_ online shop by sini-Kit.tid +3 -3
  495. package/editions/tw5.com/tiddlers/community/palettes/Dracula for tiddlywiki.tid +22 -0
  496. package/editions/tw5.com/tiddlers/community/palettes/palletes by JD.tid +20 -0
  497. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Ace Editor Plugin by Joerg Plewe.tid +2 -2
  498. package/editions/tw5.com/tiddlers/community/{resources → plugins}/BJHacks.tid +2 -2
  499. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Disqus comments plugin by bimlas.tid +2 -2
  500. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Encrypt single tiddler plugin.tid +2 -2
  501. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Eucalys Tiddly World.tid +4 -3
  502. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Favorites by Mohammad.tid +1 -1
  503. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Full Text Search Plugin by Rob Hoelz.tid +2 -2
  504. package/editions/tw5.com/tiddlers/community/{resources → plugins}/GSD5.tid +3 -3
  505. package/editions/tw5.com/tiddlers/community/{resources → plugins}/IndexedDB Plugin by Andreas Abeck.tid +2 -2
  506. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Json Mangler plugin by Joshua Fontany.tid +3 -2
  507. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Kin filter operator by bimlas.tid +2 -2
  508. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Kookma Plugin Library by Mohammad.tid +1 -1
  509. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Leaflet_maps_plugin_by_Sylvain_Comte.tid +2 -2
  510. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Locator plugin by bimlas.tid +2 -2
  511. package/editions/tw5.com/tiddlers/community/{resources → plugins}/MathJax Plugin by Martin Kantor.tid +2 -2
  512. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Plugins by TheDiveO.tid +2 -2
  513. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Refnotes by Mohammad.tid +4 -4
  514. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Searchwikis by Mohammad.tid +2 -2
  515. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Shiraz by Mohammad.tid +2 -2
  516. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Slider by Mohammad.tid +1 -1
  517. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Tiddler Commander by Mohammad.tid +1 -1
  518. package/editions/tw5.com/tiddlers/community/plugins/TiddlyClip by buggyjay.tid +14 -0
  519. package/editions/tw5.com/tiddlers/community/{resources → plugins}/TiddlyMap by Felix Kuppers.tid +2 -2
  520. package/editions/tw5.com/tiddlers/community/{resources → plugins}/TiddlyWiki for Scholars.tid +2 -2
  521. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Tiddlyshow by Mohammad.tid +1 -1
  522. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Timelines by Mohammad.tid +1 -1
  523. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Tinka by Andreas Hahn.tid +2 -2
  524. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Todolist by Mohammad.tid +1 -1
  525. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Trashbin by Mohammad.tid +1 -1
  526. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Utility by Mohammad.tid +1 -1
  527. package/editions/tw5.com/tiddlers/community/{resources → plugins}/_JD Mobile Layout plugin_ by JD.tid +2 -2
  528. package/editions/tw5.com/tiddlers/community/{resources → plugins}/_Mal's Sandbox_ by Mal.tid +2 -2
  529. package/editions/tw5.com/tiddlers/community/{resources → plugins}/_SK_Plugins_ by Stephen Kimmel.tid +2 -2
  530. package/editions/tw5.com/tiddlers/community/{resources → plugins}/_Slides and Stories_ by Jan.tid +2 -2
  531. package/editions/tw5.com/tiddlers/community/{resources → plugins}/_TW5-TeXZilla_ plugin by Joe Renes.tid +2 -2
  532. package/editions/tw5.com/tiddlers/community/{resources → plugins}/_Tekan_ Kanban that stays with you_ by Riz.tid +2 -2
  533. package/editions/tw5.com/tiddlers/community/{resources → plugins}/datepicker based on Pikaday.tid +2 -2
  534. package/editions/tw5.com/tiddlers/community/{resources → plugins}/rboue's plugins for TiddlyWiki.tid +2 -2
  535. package/editions/tw5.com/tiddlers/community/{resources → plugins}/vis.js Timeline.tid +2 -2
  536. package/editions/tw5.com/tiddlers/community/resources/BrainTest.tid +2 -2
  537. package/editions/tw5.com/tiddlers/community/resources/Code styles and auto format settings for IDEs.tid +2 -2
  538. package/editions/tw5.com/tiddlers/community/resources/CouchDB Adaptor.tid +2 -2
  539. package/editions/tw5.com/tiddlers/community/resources/Filter Examples by Tobias Beer.tid +2 -2
  540. package/editions/tw5.com/tiddlers/community/resources/Font Awesome 5 Free SVGs for TiddlyWiki by morosanuae.tid +2 -2
  541. package/editions/tw5.com/tiddlers/community/resources/Gospel_Bubbles_by_Rev_David_Gifford.tid +2 -2
  542. package/editions/tw5.com/tiddlers/community/resources/Grok TiddlyWiki by Soren Bjornstad.tid +16 -0
  543. package/editions/tw5.com/tiddlers/community/resources/Heeg.ru.tid +2 -2
  544. package/editions/tw5.com/tiddlers/community/resources/Projectify by Nicolas Petton.tid +20 -0
  545. package/editions/tw5.com/tiddlers/community/resources/RegExp in Tiddlywiki by Mohammad.tid +2 -2
  546. package/editions/tw5.com/tiddlers/community/resources/SeeAlso by Matias Goldman.tid +2 -2
  547. package/editions/tw5.com/tiddlers/community/resources/Semantic Colors by Mohammad.tid +2 -2
  548. package/editions/tw5.com/tiddlers/community/resources/TB5 a pocket full of tips by Tobias Beer.tid +2 -2
  549. package/editions/tw5.com/tiddlers/community/resources/TW-Scripts by Mohammad.tid +2 -2
  550. package/editions/tw5.com/tiddlers/community/resources/TW5 Magick.tid +2 -2
  551. package/editions/tw5.com/tiddlers/community/resources/TW5-SingleExecutable_by_Jed_Carty.tid +2 -2
  552. package/editions/tw5.com/tiddlers/community/resources/TW5-firebase_ TiddlyWiki5 for Google Firebase by Peter Neumark.tid +27 -0
  553. package/editions/tw5.com/tiddlers/community/resources/TWCommunitySearch.tid +2 -2
  554. package/editions/tw5.com/tiddlers/community/resources/TWaddle by Matias Goldman.tid +1 -1
  555. package/editions/tw5.com/tiddlers/community/resources/TiddlyChrome by Arlen Beiler.tid +2 -2
  556. package/editions/tw5.com/tiddlers/community/resources/TiddlyDrive Add-on for Google Drive by Joshua Stubbs.tid +4 -4
  557. package/editions/tw5.com/tiddlers/community/resources/TiddlyServer by Arlen Beiler.tid +2 -2
  558. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki Notes.tid +2 -2
  559. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki Posts.tid +2 -2
  560. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki Video Tutorials by Francis Meetze.tid +2 -2
  561. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki extensions for Sublime Text 3 by roma0104.tid +2 -2
  562. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki extensions for ViM.tid +2 -2
  563. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki guide FR.tid +2 -2
  564. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki wu.tid +2 -2
  565. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki5 Playground.tid +2 -2
  566. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki5 Squared by Iannis Zannos.tid +2 -2
  567. package/editions/tw5.com/tiddlers/community/resources/Twexe_ Single File Tiddlywiki5 executable.tid +2 -2
  568. package/editions/tw5.com/tiddlers/community/resources/Widdly by Opennota.tid +2 -2
  569. package/editions/tw5.com/tiddlers/community/resources/Wikilabs by PMario.tid +3 -3
  570. package/editions/tw5.com/tiddlers/community/resources/Wills QnD gTD.tid +2 -2
  571. package/editions/tw5.com/tiddlers/community/resources/_ATWiki_ by Lamusia Project.tid +2 -2
  572. package/editions/tw5.com/tiddlers/community/resources/_Dropboard_ by Reid Gould.tid +2 -2
  573. package/editions/tw5.com/tiddlers/community/resources/_Dynamic Tables_ by Jed Carty.tid +2 -2
  574. package/editions/tw5.com/tiddlers/community/resources/_Hacks_ by Thomas Elmiger.tid +3 -2
  575. package/editions/tw5.com/tiddlers/community/resources/_In My Socks_ by Jed Carty.tid +2 -2
  576. package/editions/tw5.com/tiddlers/community/resources/_MathCell_ by Ste Wilson.tid +3 -2
  577. package/editions/tw5.com/tiddlers/community/resources/_TWeb.at_ by Mario Pietsch.tid +2 -2
  578. package/editions/tw5.com/tiddlers/community/resources/_TiddlyServer_ by Matt Lauber.tid +6 -3
  579. package/editions/tw5.com/tiddlers/community/resources/_TiddlyWiki Knowledge Network_ by Dmitry Sokolov.tid +2 -2
  580. package/editions/tw5.com/tiddlers/community/resources/_TiddlyWiki Toolmap_ by David Gifford.tid +2 -2
  581. package/editions/tw5.com/tiddlers/community/resources/_TiddlyWiki5 Bourbon_ from mkt_memory.tid +2 -2
  582. package/editions/tw5.com/tiddlers/community/resources/_TiddlyWiki5 Forum on Reddit_ by Riz.tid +2 -2
  583. package/editions/tw5.com/tiddlers/community/resources/_Timimi_ Extension and executable by Riz.tid +2 -2
  584. package/editions/tw5.com/tiddlers/community/resources/_X3DOM for TiddlyWiki 5_ by Jamal Wills.tid +2 -2
  585. package/editions/tw5.com/tiddlers/community/resources/_file-backups_ Extension Firefox by pmario.tid +2 -2
  586. package/editions/tw5.com/tiddlers/community/resources/_muritest_ by Simon Huber.tid +2 -2
  587. package/editions/tw5.com/tiddlers/community/resources/_savetiddlers_ Extension for Chrome and Firefox by buggyj.tid +2 -2
  588. package/editions/tw5.com/tiddlers/community/resources/twproxy by Steve Gattuso.tid +2 -2
  589. package/editions/tw5.com/tiddlers/community/themes/Mono theme by JD.tid +11 -0
  590. package/editions/tw5.com/tiddlers/community/themes/Notebook theme by Nicolas Petton.tid +19 -0
  591. package/editions/tw5.com/tiddlers/community/themes/Whitespace a negative-spacious webapp-nostalgic theme by JD.tid +11 -0
  592. package/editions/tw5.com/tiddlers/community/{resources → themes}/_Ghostwriter theme by Rory Gibson_ by Riz.tid +2 -2
  593. package/editions/tw5.com/tiddlers/community/{resources → themes}/_Moments-A little color won't hurt_ by Riz.tid +2 -2
  594. package/editions/tw5.com/tiddlers/community/{resources → tutorials}/GitHub Saver Tutorial by Mohammad.tid +2 -2
  595. package/editions/tw5.com/tiddlers/concepts/Cascades.tid +48 -0
  596. package/editions/tw5.com/tiddlers/concepts/Concepts.tid +5 -3
  597. package/editions/tw5.com/tiddlers/concepts/Customizing EditTemplate Field Rendering.tid +31 -0
  598. package/editions/tw5.com/tiddlers/concepts/Edit Template Body Cascade.tid +16 -0
  599. package/editions/tw5.com/tiddlers/concepts/Field Editor Cascade.tid +17 -0
  600. package/editions/tw5.com/tiddlers/concepts/Filters.tid +15 -10
  601. package/editions/tw5.com/tiddlers/concepts/Macros.tid +1 -3
  602. package/editions/tw5.com/tiddlers/concepts/Messages.tid +2 -2
  603. package/editions/tw5.com/tiddlers/concepts/ModuleType.tid +2 -2
  604. package/editions/tw5.com/tiddlers/concepts/Order of Tagged Tiddlers.tid +1 -1
  605. package/editions/tw5.com/tiddlers/concepts/PermaLinks.tid +2 -2
  606. package/editions/tw5.com/tiddlers/concepts/Pragma.tid +2 -2
  607. package/editions/tw5.com/tiddlers/concepts/Railroad Diagrams.tid +2 -1
  608. package/editions/tw5.com/tiddlers/concepts/ShadowTiddlers.tid +14 -3
  609. package/editions/tw5.com/tiddlers/concepts/Story Tiddler Template Cascade.tid +16 -0
  610. package/editions/tw5.com/tiddlers/concepts/Story Tiddler Template.tid +13 -0
  611. package/editions/tw5.com/tiddlers/concepts/SystemTags.tid +9 -9
  612. package/editions/tw5.com/tiddlers/concepts/TagTiddlers.tid +1 -1
  613. package/editions/tw5.com/tiddlers/concepts/Tiddler Colour Cascade.tid +16 -0
  614. package/editions/tw5.com/tiddlers/concepts/Tiddler Icon Cascade.tid +16 -0
  615. package/editions/tw5.com/tiddlers/concepts/TiddlerFields.tid +2 -1
  616. package/editions/tw5.com/tiddlers/concepts/View Template Body Cascade.tid +19 -0
  617. package/editions/tw5.com/tiddlers/concepts/View Template Title Cascade.tid +16 -0
  618. package/editions/tw5.com/tiddlers/customising/Alternative page layouts.tid +1 -1
  619. package/editions/tw5.com/tiddlers/customising/Creating new toolbar buttons.tid +35 -0
  620. package/editions/tw5.com/tiddlers/customising/Customise TiddlyWiki.tid +3 -3
  621. package/editions/tw5.com/tiddlers/customising/Customising TiddlyWiki's user interface.tid +75 -0
  622. package/editions/tw5.com/tiddlers/definitions/BT.tid +3 -2
  623. package/editions/tw5.com/tiddlers/definitions/MathML.tid +2 -2
  624. package/editions/tw5.com/tiddlers/definitions/Osmosoft.tid +3 -2
  625. package/editions/tw5.com/tiddlers/definitions/node-webkit.tid +2 -1
  626. package/editions/tw5.com/tiddlers/demonstrations/Alice in Wonderland.tid +1 -1
  627. package/editions/tw5.com/tiddlers/demonstrations/Apple.tid +7 -2
  628. package/editions/tw5.com/tiddlers/demonstrations/Caruso - Ave Maria.tid +1 -0
  629. package/editions/tw5.com/tiddlers/demonstrations/CustomStoryTiddlerTemplateDemo.tid/Demo Tiddler List with Custom Story Tiddler Template.tid +10 -0
  630. package/editions/tw5.com/tiddlers/demonstrations/CustomStoryTiddlerTemplateDemo.tid/Styles.tid +32 -0
  631. package/editions/tw5.com/tiddlers/demonstrations/CustomStoryTiddlerTemplateDemo.tid/Template.tid +26 -0
  632. package/editions/tw5.com/tiddlers/demonstrations/CustomStoryTiddlerTemplateDemo.tid/TiddlerTemplateFilter.tid +6 -0
  633. package/editions/tw5.com/tiddlers/demonstrations/CustomTiddlerColourCascadeDemo/CustomTiddlerColourCascadeDemo.tid +9 -0
  634. package/editions/tw5.com/tiddlers/demonstrations/CustomTiddlerIconCascadeDemo/CustomTiddlerIconCascadeDemo.tid +9 -0
  635. package/editions/tw5.com/tiddlers/demonstrations/ImageGallery Example.tid +5 -16
  636. package/editions/tw5.com/tiddlers/demonstrations/KeyboardDrivenInput/Demonstration_ keyboard-driven-input Macro.tid +121 -0
  637. package/editions/tw5.com/tiddlers/demonstrations/KeyboardDrivenInput/kdi-demo-configtid.tid +7 -0
  638. package/editions/tw5.com/tiddlers/demonstrations/SampleNotification.tid +2 -1
  639. package/editions/tw5.com/tiddlers/demonstrations/SampleTiddlerFirst.tid +3 -1
  640. package/editions/tw5.com/tiddlers/demonstrations/SampleTiddlerSecond.tid +3 -1
  641. package/editions/tw5.com/tiddlers/demonstrations/SampleTiddlerThird.tid +3 -1
  642. package/editions/tw5.com/tiddlers/demonstrations/SampleWizard.tid +2 -1
  643. package/editions/tw5.com/tiddlers/demonstrations/SampleWizard2.tid +2 -1
  644. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/Contents.tid +3 -2
  645. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/First.tid +3 -3
  646. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/FirstOne.tid +2 -2
  647. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/FirstThree.tid +2 -2
  648. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/FirstTwo.tid +2 -2
  649. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/Fourth.tid +2 -2
  650. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/Second.tid +2 -2
  651. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/SecondOne.tid +2 -2
  652. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/SecondThree.tid +3 -3
  653. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/SecondThreeOne.tid +2 -2
  654. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/SecondThreeThree.tid +2 -2
  655. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/SecondThreeTwo.tid +2 -2
  656. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/SecondTwo.tid +2 -2
  657. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/Third.tid +3 -3
  658. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/ThirdOne.tid +2 -2
  659. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/ThirdThree.tid +2 -2
  660. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/ThirdTwo.tid +2 -2
  661. package/editions/tw5.com/tiddlers/demonstrations/Tagged with TagMacro.tid +2 -1
  662. package/editions/tw5.com/tiddlers/demonstrations/Tasks/Compose ballad.tid +3 -3
  663. package/editions/tw5.com/tiddlers/demonstrations/Tasks/Get the Ring.tid +3 -3
  664. package/editions/tw5.com/tiddlers/demonstrations/Tasks/Go to Mordor.tid +3 -3
  665. package/editions/tw5.com/tiddlers/demonstrations/Tasks/Kill the Dragon.tid +4 -4
  666. package/editions/tw5.com/tiddlers/demonstrations/Tasks/Make the beds.tid +3 -3
  667. package/editions/tw5.com/tiddlers/demonstrations/Tasks/done.tid +3 -1
  668. package/editions/tw5.com/tiddlers/demonstrations/Tasks/task.tid +3 -2
  669. package/editions/tw5.com/tiddlers/demonstrations/Weekdays/Days of the Week.tid +5 -4
  670. package/editions/tw5.com/tiddlers/demonstrations/Weekdays/Friday.tid +2 -1
  671. package/editions/tw5.com/tiddlers/demonstrations/Weekdays/Monday.tid +2 -1
  672. package/editions/tw5.com/tiddlers/demonstrations/Weekdays/Saturday.tid +3 -2
  673. package/editions/tw5.com/tiddlers/demonstrations/Weekdays/Sunday.tid +2 -1
  674. package/editions/tw5.com/tiddlers/demonstrations/Weekdays/Thursday.tid +2 -1
  675. package/editions/tw5.com/tiddlers/demonstrations/Weekdays/Tuesday.tid +2 -1
  676. package/editions/tw5.com/tiddlers/demonstrations/Weekdays/Wednesday.tid +2 -1
  677. package/editions/tw5.com/tiddlers/demonstrations/sampletag1.tid +3 -0
  678. package/editions/tw5.com/tiddlers/demonstrations/sampletag2.tid +3 -0
  679. package/editions/tw5.com/tiddlers/features/DateFormat.tid +11 -2
  680. package/editions/tw5.com/tiddlers/features/Importing Tiddlers.tid +1 -1
  681. package/editions/tw5.com/tiddlers/features/LazyLoading.tid +2 -3
  682. package/editions/tw5.com/tiddlers/features/Modals.tid +2 -1
  683. package/editions/tw5.com/tiddlers/features/Performance Instrumentation.tid +1 -1
  684. package/editions/tw5.com/tiddlers/features/Scalability.tid +4 -2
  685. package/editions/tw5.com/tiddlers/fileformats/TiddlerFiles.tid +15 -4
  686. package/editions/tw5.com/tiddlers/filters/Filter Operators.tid +11 -7
  687. package/editions/tw5.com/tiddlers/filters/Mathematics Operators.tid +2 -1
  688. package/editions/tw5.com/tiddlers/filters/acos Operator.tid +15 -0
  689. package/editions/tw5.com/tiddlers/filters/all.tid +2 -2
  690. package/editions/tw5.com/tiddlers/filters/asin Operator.tid +15 -0
  691. package/editions/tw5.com/tiddlers/filters/atan Operator.tid +13 -0
  692. package/editions/tw5.com/tiddlers/filters/atan2 Operator.tid +15 -0
  693. package/editions/tw5.com/tiddlers/filters/average.tid +13 -0
  694. package/editions/tw5.com/tiddlers/filters/butlast.tid +3 -1
  695. package/editions/tw5.com/tiddlers/filters/charcode.tid +17 -0
  696. package/editions/tw5.com/tiddlers/filters/cos Operator.tid +13 -0
  697. package/editions/tw5.com/tiddlers/filters/deserializers Operator.tid +14 -0
  698. package/editions/tw5.com/tiddlers/filters/duplicateslugs Operator.tid +3 -3
  699. package/editions/tw5.com/tiddlers/filters/enlist Operator.tid +2 -3
  700. package/editions/tw5.com/tiddlers/filters/enlist-input Operator.tid +1 -1
  701. package/editions/tw5.com/tiddlers/filters/examples/acos Operator (Examples).tid +7 -0
  702. package/editions/tw5.com/tiddlers/filters/examples/asin Operator (Examples).tid +7 -0
  703. package/editions/tw5.com/tiddlers/filters/examples/atan Operator (Examples).tid +7 -0
  704. package/editions/tw5.com/tiddlers/filters/examples/atan2 Operator (Examples).tid +7 -0
  705. package/editions/tw5.com/tiddlers/filters/examples/average Operator (Examples).tid +10 -0
  706. package/editions/tw5.com/tiddlers/filters/examples/butlast.tid +4 -3
  707. package/editions/tw5.com/tiddlers/filters/examples/charcode.tid +7 -0
  708. package/editions/tw5.com/tiddlers/filters/examples/cos Operator (Examples).tid +7 -0
  709. package/editions/tw5.com/tiddlers/filters/examples/cycle Operator (Examples).tid +1 -1
  710. package/editions/tw5.com/tiddlers/filters/examples/deserializers Operator (Examples).tid +7 -0
  711. package/editions/tw5.com/tiddlers/filters/examples/format Operator (Examples).tid +16 -1
  712. package/editions/tw5.com/tiddlers/filters/examples/insertbefore Operator (Examples).tid +28 -0
  713. package/editions/tw5.com/tiddlers/filters/examples/log Operator (Examples).tid +1 -1
  714. package/editions/tw5.com/tiddlers/filters/examples/lookup Operator (Examples).tid +7 -1
  715. package/editions/tw5.com/tiddlers/filters/examples/match Operator (Examples).tid +1 -1
  716. package/editions/tw5.com/tiddlers/filters/examples/median Operator (Examples).tid +10 -0
  717. package/editions/tw5.com/tiddlers/filters/examples/moduleproperty Operator (Examples).tid +11 -0
  718. package/editions/tw5.com/tiddlers/filters/examples/modules.tid +4 -1
  719. package/editions/tw5.com/tiddlers/filters/examples/prefix.tid +4 -3
  720. package/editions/tw5.com/tiddlers/filters/examples/removeprefix.tid +2 -1
  721. package/editions/tw5.com/tiddlers/filters/examples/removesuffix.tid +2 -3
  722. package/editions/tw5.com/tiddlers/filters/examples/rest.tid +4 -3
  723. package/editions/tw5.com/tiddlers/filters/examples/search-replace Operator (Examples).tid +13 -1
  724. package/editions/tw5.com/tiddlers/filters/examples/search.tid +6 -1
  725. package/editions/tw5.com/tiddlers/filters/examples/sin Operator (Examples).tid +7 -0
  726. package/editions/tw5.com/tiddlers/filters/examples/sortan.tid +5 -1
  727. package/editions/tw5.com/tiddlers/filters/examples/standard-deviation Operator (Examples).tid +10 -0
  728. package/editions/tw5.com/tiddlers/filters/examples/subfilter Operator (Examples).tid +25 -3
  729. package/editions/tw5.com/tiddlers/filters/examples/suffix.tid +3 -2
  730. package/editions/tw5.com/tiddlers/filters/examples/tan Operator (Examples).tid +7 -0
  731. package/editions/tw5.com/tiddlers/filters/examples/unique Operator (Examples).tid +8 -0
  732. package/editions/tw5.com/tiddlers/filters/examples/variance Operator (Examples).tid +10 -0
  733. package/editions/tw5.com/tiddlers/filters/examples/zth Operator (Examples).tid +10 -0
  734. package/editions/tw5.com/tiddlers/filters/filter.tid +3 -1
  735. package/editions/tw5.com/tiddlers/filters/format.tid +2 -1
  736. package/editions/tw5.com/tiddlers/filters/insertbefore Operator.tid +21 -5
  737. package/editions/tw5.com/tiddlers/filters/list.tid +2 -2
  738. package/editions/tw5.com/tiddlers/filters/lookup Operator.tid +28 -10
  739. package/editions/tw5.com/tiddlers/filters/median.tid +13 -0
  740. package/editions/tw5.com/tiddlers/filters/moduleproperty Operator.tid +12 -0
  741. package/editions/tw5.com/tiddlers/filters/modules.tid +8 -6
  742. package/editions/tw5.com/tiddlers/filters/nth.tid +9 -7
  743. package/editions/tw5.com/tiddlers/filters/prefix.tid +17 -2
  744. package/editions/tw5.com/tiddlers/filters/range.tid +22 -20
  745. package/editions/tw5.com/tiddlers/filters/reduce.tid +2 -1
  746. package/editions/tw5.com/tiddlers/filters/removeprefix.tid +18 -3
  747. package/editions/tw5.com/tiddlers/filters/removesuffix.tid +18 -3
  748. package/editions/tw5.com/tiddlers/filters/search-replace Operator.tid +2 -2
  749. package/editions/tw5.com/tiddlers/filters/search.tid +10 -9
  750. package/editions/tw5.com/tiddlers/filters/sha256 Operator.tid +18 -0
  751. package/editions/tw5.com/tiddlers/filters/sin Operator.tid +13 -0
  752. package/editions/tw5.com/tiddlers/filters/sortsub Operator.tid +12 -9
  753. package/editions/tw5.com/tiddlers/filters/standard-deviation Operator.tid +15 -0
  754. package/editions/tw5.com/tiddlers/filters/storyviews.tid +1 -1
  755. package/editions/tw5.com/tiddlers/filters/subfilter Operator.tid +5 -3
  756. package/editions/tw5.com/tiddlers/filters/suffix.tid +17 -2
  757. package/editions/tw5.com/tiddlers/filters/syntax/Cascade Filter Run Prefix (Examples).tid +46 -0
  758. package/editions/tw5.com/tiddlers/filters/syntax/Cascade Filter Run Prefix.tid +20 -0
  759. package/editions/tw5.com/tiddlers/filters/syntax/Filter Expression.tid +12 -3
  760. package/editions/tw5.com/tiddlers/filters/syntax/Filter Filter Run Prefix (Examples).tid +30 -0
  761. package/editions/tw5.com/tiddlers/filters/syntax/Filter Filter Run Prefix.tid +27 -0
  762. package/editions/tw5.com/tiddlers/filters/syntax/Filter Parameter.tid +3 -2
  763. package/editions/tw5.com/tiddlers/filters/syntax/Filter Run Prefix (Examples).tid +9 -34
  764. package/editions/tw5.com/tiddlers/filters/syntax/Intersection Filter Run Prefix (Examples).tid +36 -0
  765. package/editions/tw5.com/tiddlers/filters/syntax/Intersection Filter Run Prefix.tid +15 -0
  766. package/editions/tw5.com/tiddlers/filters/syntax/Map Filter Run Prefix (Examples).tid +41 -0
  767. package/editions/tw5.com/tiddlers/filters/syntax/Map Filter Run Prefix.tid +27 -0
  768. package/editions/tw5.com/tiddlers/filters/syntax/Named Filter Run Prefix.tid +3 -3
  769. package/editions/tw5.com/tiddlers/filters/syntax/Reduce Filter Run Prefix (Examples).tid +27 -0
  770. package/editions/tw5.com/tiddlers/filters/syntax/Reduce Filter Run Prefix.tid +38 -0
  771. package/editions/tw5.com/tiddlers/filters/syntax/Sort Filter Run Prefix (Examples).tid +33 -0
  772. package/editions/tw5.com/tiddlers/filters/syntax/Sort Filter Run Prefix.tid +32 -0
  773. package/editions/tw5.com/tiddlers/filters/tan Operator.tid +13 -0
  774. package/editions/tw5.com/tiddlers/filters/unique.tid +10 -0
  775. package/editions/tw5.com/tiddlers/filters/variance Operator.tid +15 -0
  776. package/editions/tw5.com/tiddlers/filters/zth Operator.tid +18 -0
  777. package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Android.tid +2 -1
  778. package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Chrome.tid +2 -1
  779. package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Firefox.tid +2 -1
  780. package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Internet Explorer.tid +2 -1
  781. package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Node.js.tid +2 -1
  782. package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Online.tid +2 -2
  783. package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Safari.tid +2 -1
  784. package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - iOS.tid +2 -1
  785. package/editions/tw5.com/tiddlers/hellothere/A Gentle Guide to TiddlyWiki.tid +5 -2
  786. package/editions/tw5.com/tiddlers/{AllTiddlers.tid → hellothere/AllTiddlers.tid} +0 -0
  787. package/editions/tw5.com/tiddlers/hellothere/HelloThere.tid +3 -3
  788. package/editions/tw5.com/tiddlers/hellothere/HelloThumbnail.tid +1 -1
  789. package/editions/tw5.com/tiddlers/hellothere/Some of the things you can do with TiddlyWiki.tid +2 -2
  790. package/editions/tw5.com/tiddlers/hellothere/badges/ProductHunt-Badge.svg.tid +1 -0
  791. package/editions/tw5.com/tiddlers/hellothere/badges/ProductHunt-Link.tid +1 -0
  792. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Grok TiddlyWiki.tid +6 -0
  793. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - TiddlyWikiLinks.tid +6 -0
  794. package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting HtmlParserDisableSandbox.tid +13 -0
  795. package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting NewImageType.tid +3 -1
  796. package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting ShowEditPreviewPerTiddler.tid +10 -0
  797. package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting_ Disable Drag and Drop.tid +2 -2
  798. package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting_ Enable File Import in Editor_1.tid +12 -0
  799. package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting_ Typin Refresh Delay.tid +2 -2
  800. package/editions/tw5.com/tiddlers/hiddensettings/Hidden Settings_ Import Content Types for Editor.tid +11 -0
  801. package/editions/tw5.com/tiddlers/howtos/Concatenating text and variables using macro substitution.tid +4 -14
  802. package/editions/tw5.com/tiddlers/howtos/Creating SubStories.tid +21 -33
  803. package/editions/tw5.com/tiddlers/howtos/Debugging Stylesheets.tid +11 -0
  804. package/editions/tw5.com/tiddlers/howtos/Formatting List Results as Tables with CSS - Specified Columns Methods.tid +4 -0
  805. package/editions/tw5.com/tiddlers/howtos/How to create a custom story tiddler template.tid +40 -0
  806. package/editions/tw5.com/tiddlers/howtos/How to create a custom tiddler colour rule.tid +36 -0
  807. package/editions/tw5.com/tiddlers/howtos/How to create a custom tiddler icon rule.tid +36 -0
  808. package/editions/tw5.com/tiddlers/howtos/How to create dynamic editor toolbar buttons.tid +126 -0
  809. package/editions/tw5.com/tiddlers/howtos/Simple ways to write protect tiddlers.tid +4 -5
  810. package/editions/tw5.com/tiddlers/howtos/Text preview.tid +6 -2
  811. package/editions/tw5.com/tiddlers/howtos/Using Stylesheets.tid +10 -4
  812. package/editions/tw5.com/tiddlers/images/Grok TiddlyWiki.png +0 -0
  813. package/editions/tw5.com/tiddlers/images/Grok TiddlyWiki.png.meta +3 -0
  814. package/editions/tw5.com/tiddlers/images/Icon Gallery.tid +14 -0
  815. package/editions/tw5.com/tiddlers/images/New Release Banner.png +0 -0
  816. package/editions/tw5.com/tiddlers/images/TiddlyWikiLinks.png +0 -0
  817. package/editions/tw5.com/tiddlers/images/TiddlyWikiLinks.png.meta +3 -0
  818. package/editions/tw5.com/tiddlers/languages/Japanese (Japan) Edition.tid +11 -0
  819. package/editions/tw5.com/tiddlers/languages/LanguageGallery.tid +2 -2
  820. package/editions/tw5.com/tiddlers/macros/NowMacro.tid +3 -1
  821. package/editions/tw5.com/tiddlers/macros/TabsMacro.tid +3 -3
  822. package/editions/tw5.com/tiddlers/macros/UnusedTitleMacro.tid +28 -4
  823. package/editions/tw5.com/tiddlers/macros/examples/colour-picker Macro (Example 1).tid +2 -2
  824. package/editions/tw5.com/tiddlers/macros/examples/image-picker Macro (Example 1).tid +2 -2
  825. package/editions/tw5.com/tiddlers/macros/examples/image-picker Macro (Example 2).tid +2 -2
  826. package/editions/tw5.com/tiddlers/macros/examples/qualify.tid +0 -2
  827. package/editions/tw5.com/tiddlers/macros/examples/unusedtitle Macro (Examples 1).tid +51 -0
  828. package/editions/tw5.com/tiddlers/macros/examples/unusedtitle.tid +11 -2
  829. package/editions/tw5.com/tiddlers/macros/keyboard-driven-input_Macro.tid +3 -0
  830. package/editions/tw5.com/tiddlers/macros/list-links-draggable Macro.tid +1 -1
  831. package/editions/tw5.com/tiddlers/mechanisms/RefreshThrottling.tid +3 -2
  832. package/editions/tw5.com/tiddlers/mechanisms/StateMechanism.tid +2 -2
  833. package/editions/tw5.com/tiddlers/messages/SampleModal.tid +2 -1
  834. package/editions/tw5.com/tiddlers/messages/SampleWindowTemplate.tid +10 -0
  835. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-close-all-windows.tid +20 -0
  836. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-close-window.tid +39 -0
  837. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-download-file.tid +6 -1
  838. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-edit-text-operation.tid +27 -1
  839. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-navigate.tid +7 -1
  840. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-open-window.tid +28 -6
  841. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-relink-tiddler.tid +26 -0
  842. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-rename-tiddler.tid +4 -2
  843. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-scroll.tid +3 -0
  844. package/editions/tw5.com/tiddlers/nodejs/Customising Tiddler File Naming.tid +19 -15
  845. package/editions/tw5.com/tiddlers/nodejs/Environment Variables on Node.js.tid +4 -2
  846. package/editions/tw5.com/tiddlers/nodejs/Installing TiddlyWiki on Node.js.tid +10 -3
  847. package/editions/tw5.com/tiddlers/nodejs/tiddlywiki.files_Files.tid +6 -5
  848. package/editions/tw5.com/tiddlers/nodejs/tiddlywiki.info_Files.tid +2 -2
  849. package/editions/tw5.com/tiddlers/platforms/TiddlyFox Apocalypse.tid +2 -2
  850. package/editions/tw5.com/tiddlers/platforms/TiddlyWiki in the Sky for TiddlyWeb.tid +3 -8
  851. package/editions/tw5.com/tiddlers/plugins/Highlight Plugin.tid +3 -1
  852. package/editions/tw5.com/tiddlers/plugins/Plugin Types.tid +2 -2
  853. package/editions/tw5.com/tiddlers/plugins/Share Plugin.tid +12 -0
  854. package/editions/tw5.com/tiddlers/reference/Reference.tid +1 -0
  855. package/editions/tw5.com/tiddlers/releasenotes/BetaReleases.tid +2 -2
  856. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.21.tid +6 -0
  857. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.22.tid +6 -0
  858. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.23.tid +5 -3
  859. package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.0.tid +303 -0
  860. package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.1.tid +124 -0
  861. package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.2.tid +162 -0
  862. package/editions/tw5.com/tiddlers/releasenotes/ReleaseTemplate.tid +3 -0
  863. package/editions/tw5.com/tiddlers/releasenotes/Releases.tid +4 -2
  864. package/editions/tw5.com/tiddlers/releasenotes/alpha/AlphaReleases.tid +2 -2
  865. package/editions/tw5.com/tiddlers/saving/Example config-tiddlyweb-host for IIS.txt.meta +1 -1
  866. package/editions/tw5.com/tiddlers/saving/Example package.json for IIS.txt.meta +1 -1
  867. package/editions/tw5.com/tiddlers/saving/Example tiddlywiki.info for IIS.txt.meta +1 -1
  868. package/editions/tw5.com/tiddlers/saving/Example web.config for IIS.txt.meta +1 -1
  869. package/editions/tw5.com/tiddlers/saving/Saving on Browser with the File System Access API.tid +21 -0
  870. package/editions/tw5.com/tiddlers/saving/Saving on TidGi.tid +26 -0
  871. package/editions/tw5.com/tiddlers/saving/Saving on TiddlyHost.tid +17 -0
  872. package/editions/tw5.com/tiddlers/saving/Saving on TiddlySpot.tid +19 -29
  873. package/editions/tw5.com/tiddlers/saving/Saving to a Git service.tid +2 -2
  874. package/editions/tw5.com/tiddlers/saving/Saving via WebDAV.tid +65 -10
  875. package/editions/tw5.com/tiddlers/saving/Saving with Polly.tid +29 -0
  876. package/editions/tw5.com/tiddlers/saving/TiddlyWiki in the Sky for Dropbox.tid +1 -1
  877. package/editions/tw5.com/tiddlers/styleguide/Documentation Macros.tid +6 -2
  878. package/editions/tw5.com/tiddlers/styleguide/Tiddler Structure.tid +3 -1
  879. package/editions/tw5.com/tiddlers/{TableOfContents.tid → system/TableOfContents.tid} +0 -0
  880. package/editions/tw5.com/tiddlers/system/doc-macros.tid +42 -1
  881. package/editions/tw5.com/tiddlers/system/doc-styles.tid +34 -5
  882. package/editions/tw5.com/tiddlers/system/download-empty.tid +1 -0
  883. package/editions/tw5.com/tiddlers/system/operator-macros.tid +16 -7
  884. package/editions/tw5.com/tiddlers/system/operator-template.tid +14 -11
  885. package/editions/tw5.com/tiddlers/system/style-guide-macros.tid +5 -1
  886. package/editions/tw5.com/tiddlers/system/variable-macros.tid +4 -2
  887. package/editions/tw5.com/tiddlers/system/wikitext-macros.tid +21 -3
  888. package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_ControlPanel_Plugins.tid +9 -0
  889. package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_EditorTools.tid +9 -0
  890. package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_Image.tid +2 -2
  891. package/editions/tw5.com/tiddlers/variables/examples/Sample Headings 1-2-3.tid +2 -1
  892. package/editions/tw5.com/tiddlers/variables/examples/Sample Headings 3-4-5.tid +2 -1
  893. package/editions/tw5.com/tiddlers/variables/examples/Sample Headings 4-5-6.tid +2 -1
  894. package/editions/tw5.com/tiddlers/webserver/Using HTTPS.tid +17 -2
  895. package/editions/tw5.com/tiddlers/webserver/Using the external JavaScript template.tid +86 -9
  896. package/editions/tw5.com/tiddlers/webserver/WebServer API_ Delete Tiddler.tid +5 -1
  897. package/editions/tw5.com/tiddlers/webserver/WebServer API_ Get All Tiddlers.tid +1 -1
  898. package/editions/tw5.com/tiddlers/webserver/WebServer API_ Put Tiddler.tid +5 -1
  899. package/editions/tw5.com/tiddlers/webserver/WebServer Authorization.tid +15 -3
  900. package/editions/tw5.com/tiddlers/webserver/WebServer Parameter_ admin.tid +8 -0
  901. package/editions/tw5.com/tiddlers/webserver/WebServer Parameter_ required-plugins.tid +8 -0
  902. package/editions/tw5.com/tiddlers/webserver/WebServer Parameter_ tls-passphrase.tid +10 -0
  903. package/editions/tw5.com/tiddlers/widgets/$__docs_anyField.tid +8 -0
  904. package/editions/tw5.com/tiddlers/widgets/$__editions_tw5.com_widget-examples_qualify-transcluded.tid +14 -0
  905. package/editions/tw5.com/tiddlers/widgets/ActionCreateTiddlerWidget Example 1.tid +2 -2
  906. package/editions/tw5.com/tiddlers/widgets/ActionCreateTiddlerWidget Example 2.tid +2 -2
  907. package/editions/tw5.com/tiddlers/widgets/ActionCreateTiddlerWidget Example 3.tid +3 -3
  908. package/editions/tw5.com/tiddlers/widgets/ActionCreateTiddlerWidget Example 4.tid +4 -4
  909. package/editions/tw5.com/tiddlers/widgets/ActionCreateTiddlerWidget Template.tid +2 -2
  910. package/editions/tw5.com/tiddlers/widgets/ActionCreateTiddlerWidget.tid +10 -6
  911. package/editions/tw5.com/tiddlers/widgets/ActionCreateTiddlerWidget_Example.tid +7 -5
  912. package/editions/tw5.com/tiddlers/widgets/ActionListopsWidget.tid +52 -2
  913. package/editions/tw5.com/tiddlers/widgets/ActionPopupWidget.tid +4 -1
  914. package/editions/tw5.com/tiddlers/widgets/ActionSendMessageWidget.tid +3 -1
  915. package/editions/tw5.com/tiddlers/widgets/ActionSetMultipleFieldsWidget.tid +31 -0
  916. package/editions/tw5.com/tiddlers/widgets/ActionWidget Execution Modes.tid +49 -0
  917. package/editions/tw5.com/tiddlers/widgets/ActionWidgets.tid +10 -7
  918. package/editions/tw5.com/tiddlers/widgets/ButtonWidget.tid +2 -2
  919. package/editions/tw5.com/tiddlers/widgets/CheckboxWidget.tid +2 -2
  920. package/editions/tw5.com/tiddlers/widgets/DraggableWidget.tid +9 -4
  921. package/editions/tw5.com/tiddlers/widgets/DroppableWidget.tid +2 -2
  922. package/editions/tw5.com/tiddlers/widgets/DropzoneWidget.tid +11 -6
  923. package/editions/tw5.com/tiddlers/widgets/EditTextWidget.tid +10 -20
  924. package/editions/tw5.com/tiddlers/widgets/EditWidget.tid +2 -2
  925. package/editions/tw5.com/tiddlers/widgets/EventCatcherWidget.tid +36 -27
  926. package/editions/tw5.com/tiddlers/widgets/FieldManglerWidget.tid +3 -3
  927. package/editions/tw5.com/tiddlers/widgets/ImageWidget.tid +9 -1
  928. package/editions/tw5.com/tiddlers/widgets/JSONTiddlerWidget.tid +22 -0
  929. package/editions/tw5.com/tiddlers/widgets/Keyboard Codes.tid +27 -0
  930. package/editions/tw5.com/tiddlers/widgets/KeyboardWidget.tid +17 -3
  931. package/editions/tw5.com/tiddlers/widgets/LetWidget.tid +57 -0
  932. package/editions/tw5.com/tiddlers/widgets/LinkCatcherWidget.tid +3 -2
  933. package/editions/tw5.com/tiddlers/widgets/ListWidget.tid +34 -1
  934. package/editions/tw5.com/tiddlers/widgets/ListopsData.tid +1 -0
  935. package/editions/tw5.com/tiddlers/widgets/MacroCallWidget.tid +3 -1
  936. package/editions/tw5.com/tiddlers/widgets/MessageCatcherWidget.tid +46 -0
  937. package/editions/tw5.com/tiddlers/widgets/MessageHandlerWidgets.tid +13 -0
  938. package/editions/tw5.com/tiddlers/widgets/NavigatorWidget.tid +5 -2
  939. package/editions/tw5.com/tiddlers/widgets/QualifyWidget.tid +39 -0
  940. package/editions/tw5.com/tiddlers/widgets/RadioWidget Example.tid +14 -11
  941. package/editions/tw5.com/tiddlers/widgets/RadioWidget.tid +9 -9
  942. package/editions/tw5.com/tiddlers/widgets/RangeWidget Example.tid +4 -5
  943. package/editions/tw5.com/tiddlers/widgets/RangeWidget.tid +5 -5
  944. package/editions/tw5.com/tiddlers/widgets/SelectWidget.tid +27 -3
  945. package/editions/tw5.com/tiddlers/widgets/SetMultipleVariablesWidget.tid +33 -0
  946. package/editions/tw5.com/tiddlers/widgets/SetWidget.tid +62 -35
  947. package/editions/tw5.com/tiddlers/widgets/The Extended Listops Filters.tid +2 -1
  948. package/editions/tw5.com/tiddlers/widgets/TranscludeWidget.tid +7 -6
  949. package/editions/tw5.com/tiddlers/widgets/TriggeringWidgets.tid +13 -0
  950. package/editions/tw5.com/tiddlers/widgets/VarsWidget.tid +7 -5
  951. package/editions/tw5.com/tiddlers/widgets/ViewWidget.tid +27 -8
  952. package/editions/tw5.com/tiddlers/widgets/WikifyWidget.tid +2 -2
  953. package/editions/tw5.com/tiddlers/wikitext/HTML in WikiText.tid +48 -5
  954. package/editions/tw5.com/tiddlers/wikitext/Images in WikiText.tid +5 -3
  955. package/editions/tw5.com/tiddlers/wikitext/Linking in WikiText.tid +44 -1
  956. package/editions/tw5.com/tiddlers/wikitext/Macro Calls in WikiText.tid +3 -3
  957. package/editions/tw5.com/tiddlers/wikitext/Transclusion and Substitution.tid +3 -2
  958. package/editions/tw5.com/tiddlers/wikitext/Transclusion in WikiText.tid +2 -1
  959. package/editions/tw5.com/tiddlers/wikitext/Widgets in WikiText.tid +3 -3
  960. package/editions/tw5.com/tiddlers/wikitext/parser/Block Mode WikiText (Examples).tid +51 -0
  961. package/editions/tw5.com/tiddlers/wikitext/parser/Block Mode WikiText.tid +35 -0
  962. package/editions/tw5.com/tiddlers/wikitext/parser/Inline Mode WikiText.tid +26 -0
  963. package/editions/tw5.com/tiddlers/wikitext/parser/Places where the parser ignores WikiText.tid +14 -0
  964. package/editions/tw5.com/tiddlers/wikitext/parser/WikiText Parser Modes.tid +16 -0
  965. package/editions/tw5.com/tiddlers/wikitext/parser/WikiText parser mode transitions.tid +59 -0
  966. package/editions/tw5.com/tiddlers/wikitext/parser/WikiText parser mode_ HTML examples.tid +72 -0
  967. package/editions/tw5.com/tiddlers/wikitext/parser/WikiText parser mode_ macro examples.tid +55 -0
  968. package/editions/tw5.com/tiddlers/wikitext/parser/WikiText parser mode_ transclusion examples.tid +56 -0
  969. package/editions/tw5.com/tiddlers/wikitext/parser/table-example.tid +8 -0
  970. package/editions/tw5.com/tiddlers/workingwithtw/Sharing your tiddlers with others.tid +2 -1
  971. package/editions/tw5.com/tiddlywiki.info +2 -2
  972. package/editions/xlsx-utils/tiddlers/samples/Presidents and Justices.xlsx and b/package/editions/xlsx-utils/tiddlers/samples/Presidents → Justices.xlsx +0 -0
  973. package/languages/ar-PS/Misc.multids +1 -2
  974. package/languages/ca-ES/ControlPanel.multids +4 -1
  975. package/languages/ca-ES/EditTemplate.multids +4 -0
  976. package/languages/ca-ES/Help/notfound.tid +1 -1
  977. package/languages/ca-ES/Import.multids +11 -0
  978. package/languages/ca-ES/Misc.multids +20 -2
  979. package/languages/cs-CZ/Misc.multids +0 -1
  980. package/languages/da-DK/Misc.multids +0 -1
  981. package/languages/de-DE/ControlPanel.multids +22 -1
  982. package/languages/de-DE/Docs/ModuleTypes.multids +1 -0
  983. package/languages/de-DE/EditTemplate.multids +2 -0
  984. package/languages/de-DE/Fields.multids +6 -5
  985. package/languages/de-DE/Help/listen.tid +3 -2
  986. package/languages/de-DE/Help/render.tid +2 -1
  987. package/languages/de-DE/Import.multids +6 -0
  988. package/languages/de-DE/Misc.multids +10 -2
  989. package/languages/de-DE/SideBar.multids +1 -0
  990. package/languages/de-DE/ThemeTweaks.multids +2 -2
  991. package/languages/de-DE/TiddlerInfo.multids +1 -1
  992. package/languages/el-GR/Misc.multids +1 -2
  993. package/languages/es-ES/Buttons.multids +29 -6
  994. package/languages/es-ES/ControlPanel.multids +97 -37
  995. package/languages/es-ES/Dates.multids +11 -1
  996. package/languages/es-ES/Docs/ModuleTypes.multids +8 -0
  997. package/languages/es-ES/Docs/PaletteColours.multids +109 -0
  998. package/languages/es-ES/EditTemplate.multids +18 -11
  999. package/languages/es-ES/Exporters.multids +2 -2
  1000. package/languages/es-ES/Fields.multids +7 -4
  1001. package/languages/es-ES/Filters.multids +9 -7
  1002. package/languages/es-ES/GettingStarted.tid +1 -0
  1003. package/languages/es-ES/Help/deletetiddlers.tid +8 -0
  1004. package/languages/es-ES/Help/fetch.tid +38 -0
  1005. package/languages/es-ES/Help/import.tid +24 -0
  1006. package/languages/es-ES/Help/init.tid +1 -7
  1007. package/languages/es-ES/Help/listen.tid +35 -0
  1008. package/languages/es-ES/Help/load.tid +5 -2
  1009. package/languages/es-ES/Help/makelibrary.tid +1 -3
  1010. package/languages/es-ES/Help/password.tid +2 -1
  1011. package/languages/es-ES/Help/render.tid +35 -0
  1012. package/languages/es-ES/Help/rendertiddler.tid +14 -3
  1013. package/languages/es-ES/Help/rendertiddlers.tid +6 -6
  1014. package/languages/es-ES/Help/save.tid +25 -0
  1015. package/languages/es-ES/Help/savetiddler.tid +3 -2
  1016. package/languages/es-ES/Help/savetiddlers.tid +6 -3
  1017. package/languages/es-ES/Help/savewikifolder.tid +19 -0
  1018. package/languages/es-ES/Help/server.tid +12 -8
  1019. package/languages/es-ES/Import.multids +23 -4
  1020. package/languages/es-ES/Misc.multids +68 -22
  1021. package/languages/es-ES/NewJournalTags.tid +3 -0
  1022. package/languages/es-ES/Notifications.multids +3 -1
  1023. package/languages/es-ES/Search.multids +1 -0
  1024. package/languages/es-ES/SideBar.multids +1 -0
  1025. package/languages/es-ES/ThemeTweaks.multids +42 -0
  1026. package/languages/es-ES/TiddlerInfo.multids +2 -2
  1027. package/languages/es-ES/Types/{application%2Fjavascript.tid → application_javascript.tid} +1 -0
  1028. package/languages/es-ES/Types/{application%2Fjson.tid → application_json.tid} +1 -0
  1029. package/languages/es-ES/Types/{application%2Fx-tiddler-dictionary.tid → application_x_tiddler_dictionary.tid} +1 -0
  1030. package/languages/es-ES/Types/{image%2Fgif.tid → image_gif.tid} +1 -0
  1031. package/languages/es-ES/Types/{image%2Fjpeg.tid → image_jpeg.tid} +1 -0
  1032. package/languages/es-ES/Types/{image%2Fpng.tid → image_png.tid} +1 -0
  1033. package/languages/es-ES/Types/{image%2Fsvg%2Bxml.tid → image_svg_xml.tid} +1 -0
  1034. package/languages/es-ES/Types/{image%2Fx-icon.tid → image_x-icon.tid} +1 -0
  1035. package/languages/es-ES/Types/{text%2Fcss.tid → text_css.tid} +1 -0
  1036. package/languages/es-ES/Types/{text%2Fhtml.tid → text_html.tid} +1 -0
  1037. package/languages/es-ES/Types/{text%2Fplain.tid → text_plain.tid} +1 -0
  1038. package/languages/es-ES/Types/{text%2Fvnd.tiddlywiki.tid → text_vnd.tiddlywiki.tid} +1 -0
  1039. package/languages/es-ES/Types/{text%2Fx-tiddlywiki.tid → text_x-tiddlywiki.tid} +1 -0
  1040. package/languages/es-ES/plugin.info +3 -3
  1041. package/languages/fa-IR/Misc.multids +1 -2
  1042. package/languages/fr-FR/ControlPanel.multids +5 -1
  1043. package/languages/fr-FR/Docs/ModuleTypes.multids +2 -1
  1044. package/languages/fr-FR/EditTemplate.multids +4 -0
  1045. package/languages/fr-FR/Filters.multids +3 -2
  1046. package/languages/fr-FR/Help/listen.tid +2 -0
  1047. package/languages/fr-FR/Help/render.tid +5 -4
  1048. package/languages/fr-FR/Import.multids +17 -11
  1049. package/languages/fr-FR/Misc.multids +11 -2
  1050. package/languages/fr-FR/TiddlerInfo.multids +2 -2
  1051. package/languages/he-IL/Misc.multids +0 -1
  1052. package/languages/hi-IN/Misc.multids +0 -1
  1053. package/languages/ia-IA/Misc.multids +0 -1
  1054. package/languages/it-IT/Misc.multids +0 -1
  1055. package/languages/ja-JP/Misc.multids +0 -1
  1056. package/languages/ko-KR/Misc.multids +0 -1
  1057. package/languages/nl-NL/Misc.multids +1 -2
  1058. package/languages/pa-IN/Misc.multids +0 -1
  1059. package/languages/pl-PL/Buttons.multids +189 -0
  1060. package/languages/pl-PL/ControlPanel.multids +229 -0
  1061. package/languages/pl-PL/Dates.multids +88 -0
  1062. package/languages/pl-PL/Docs/ModuleTypes.multids +30 -0
  1063. package/languages/pl-PL/Docs/PaletteColours.multids +109 -0
  1064. package/languages/pl-PL/EditTemplate.multids +38 -0
  1065. package/languages/pl-PL/Exporters.multids +7 -0
  1066. package/languages/pl-PL/Fields.multids +39 -0
  1067. package/languages/pl-PL/Filters.multids +16 -0
  1068. package/languages/pl-PL/GettingStarted.tid +17 -0
  1069. package/languages/pl-PL/Help/build.tid +12 -0
  1070. package/languages/pl-PL/Help/clearpassword.tid +8 -0
  1071. package/languages/pl-PL/Help/default.tid +22 -0
  1072. package/languages/pl-PL/Help/deletetiddlers.tid +8 -0
  1073. package/languages/pl-PL/Help/editions.tid +8 -0
  1074. package/languages/pl-PL/Help/fetch.tid +40 -0
  1075. package/languages/pl-PL/Help/help.tid +10 -0
  1076. package/languages/pl-PL/Help/import.tid +24 -0
  1077. package/languages/pl-PL/Help/init.tid +23 -0
  1078. package/languages/pl-PL/Help/listen.tid +35 -0
  1079. package/languages/pl-PL/Help/load.tid +19 -0
  1080. package/languages/pl-PL/Help/makelibrary.tid +14 -0
  1081. package/languages/pl-PL/Help/notfound.tid +3 -0
  1082. package/languages/pl-PL/Help/output.tid +11 -0
  1083. package/languages/pl-PL/Help/password.tid +10 -0
  1084. package/languages/pl-PL/Help/render.tid +35 -0
  1085. package/languages/pl-PL/Help/rendertiddler.tid +24 -0
  1086. package/languages/pl-PL/Help/rendertiddlers.tid +20 -0
  1087. package/languages/pl-PL/Help/save.tid +25 -0
  1088. package/languages/pl-PL/Help/savetiddler.tid +14 -0
  1089. package/languages/pl-PL/Help/savetiddlers.tid +16 -0
  1090. package/languages/pl-PL/Help/savewikifolder.tid +19 -0
  1091. package/languages/pl-PL/Help/server.tid +42 -0
  1092. package/languages/pl-PL/Help/setfield.tid +17 -0
  1093. package/languages/pl-PL/Help/unpackplugin.tid +8 -0
  1094. package/languages/pl-PL/Help/verbose.tid +8 -0
  1095. package/languages/pl-PL/Help/version.tid +8 -0
  1096. package/languages/pl-PL/Import.multids +35 -0
  1097. package/languages/pl-PL/Misc.multids +95 -0
  1098. package/languages/pl-PL/Modals/Download.tid +12 -0
  1099. package/languages/pl-PL/Modals/SaveInstructions.tid +21 -0
  1100. package/languages/pl-PL/NewJournal.multids +4 -0
  1101. package/languages/pl-PL/NewJournalTags.tid +3 -0
  1102. package/languages/pl-PL/Notifications.multids +6 -0
  1103. package/languages/pl-PL/Search.multids +21 -0
  1104. package/languages/pl-PL/SideBar.multids +18 -0
  1105. package/languages/pl-PL/SiteSubtitle.tid +3 -0
  1106. package/languages/pl-PL/SiteTitle.tid +3 -0
  1107. package/languages/pl-PL/Snippets/ListByTag.tid +5 -0
  1108. package/languages/pl-PL/Snippets/MacroDefinition.tid +7 -0
  1109. package/languages/pl-PL/Snippets/Table 4x3.tid +8 -0
  1110. package/languages/pl-PL/Snippets/TableOfContents.tid +9 -0
  1111. package/languages/pl-PL/ThemeTweaks.multids +42 -0
  1112. package/languages/pl-PL/TiddlerInfo.multids +22 -0
  1113. package/languages/pl-PL/Types/application_javascript.tid +5 -0
  1114. package/languages/pl-PL/Types/application_json.tid +5 -0
  1115. package/languages/pl-PL/Types/application_x_tiddler_dictionary.tid +5 -0
  1116. package/languages/pl-PL/Types/image_gif.tid +5 -0
  1117. package/languages/pl-PL/Types/image_jpeg.tid +5 -0
  1118. package/languages/pl-PL/Types/image_png.tid +5 -0
  1119. package/languages/pl-PL/Types/image_svg_xml.tid +5 -0
  1120. package/languages/pl-PL/Types/image_x-icon.tid +5 -0
  1121. package/languages/pl-PL/Types/text_css.tid +5 -0
  1122. package/languages/pl-PL/Types/text_html.tid +5 -0
  1123. package/languages/pl-PL/Types/text_plain.tid +5 -0
  1124. package/languages/pl-PL/Types/text_vnd.tiddlywiki.tid +5 -0
  1125. package/languages/pl-PL/Types/text_x-tiddlywiki.tid +5 -0
  1126. package/languages/pl-PL/icon.tid +7 -0
  1127. package/languages/pl-PL/plugin.info +8 -0
  1128. package/languages/pl-PL/readme.md +1 -0
  1129. package/languages/pt-BR/Misc.multids +0 -1
  1130. package/languages/pt-PT/Misc.multids +1 -2
  1131. package/languages/ru-RU/Misc.multids +0 -1
  1132. package/languages/sk-SK/Misc.multids +0 -1
  1133. package/languages/sl-SI/Misc.multids +1 -2
  1134. package/languages/sv-SE/Misc.multids +0 -1
  1135. package/languages/zh-Hans/Buttons.multids +1 -1
  1136. package/languages/zh-Hans/ControlPanel.multids +19 -4
  1137. package/languages/zh-Hans/Docs/ModuleTypes.multids +2 -1
  1138. package/languages/zh-Hans/EditTemplate.multids +2 -0
  1139. package/languages/zh-Hans/Fields.multids +4 -2
  1140. package/languages/zh-Hans/Help/listen.tid +4 -2
  1141. package/languages/zh-Hans/Help/render.tid +2 -2
  1142. package/languages/zh-Hans/Help/save.tid +1 -1
  1143. package/languages/zh-Hans/Import.multids +6 -0
  1144. package/languages/zh-Hans/Misc.multids +4 -3
  1145. package/languages/zh-Hant/Buttons.multids +1 -1
  1146. package/languages/zh-Hant/ControlPanel.multids +19 -2
  1147. package/languages/zh-Hant/Docs/ModuleTypes.multids +2 -1
  1148. package/languages/zh-Hant/EditTemplate.multids +2 -0
  1149. package/languages/zh-Hant/Fields.multids +4 -2
  1150. package/languages/zh-Hant/Help/listen.tid +5 -3
  1151. package/languages/zh-Hant/Help/render.tid +2 -2
  1152. package/languages/zh-Hant/Help/save.tid +1 -1
  1153. package/languages/zh-Hant/Import.multids +6 -0
  1154. package/languages/zh-Hant/Misc.multids +4 -3
  1155. package/license +1 -1
  1156. package/licenses/cla-individual.md +67 -1
  1157. package/package.json +5 -3
  1158. package/plugins/tiddlywiki/bibtex/deserializer.js +3 -2
  1159. package/plugins/tiddlywiki/codemirror/engine.js +86 -3
  1160. package/plugins/tiddlywiki/dynannotate/examples/viewtemplate.tid +3 -4
  1161. package/plugins/tiddlywiki/filesystem/filesystemadaptor.js +25 -21
  1162. package/plugins/tiddlywiki/freelinks/settings.tid +2 -0
  1163. package/plugins/tiddlywiki/freelinks/text.js +8 -3
  1164. package/plugins/tiddlywiki/highlight/files/default.min.css +9 -0
  1165. package/plugins/tiddlywiki/highlight/files/highlight.min.js +1401 -0
  1166. package/plugins/tiddlywiki/highlight/files/tiddlywiki.files +2 -2
  1167. package/plugins/tiddlywiki/highlight/highlightblock.js +27 -21
  1168. package/plugins/tiddlywiki/highlight/plugin.info +1 -1
  1169. package/plugins/tiddlywiki/highlight/readme.tid +18 -47
  1170. package/plugins/tiddlywiki/highlight/styles.tid +10 -5
  1171. package/plugins/tiddlywiki/highlight/usage.tid +48 -1
  1172. package/plugins/tiddlywiki/highlight-legacy/TypeMappings.multids +8 -0
  1173. package/plugins/tiddlywiki/{highlight → highlight-legacy}/files/default.css +0 -0
  1174. package/plugins/tiddlywiki/{highlight → highlight-legacy}/files/highlight.pack.js +0 -0
  1175. package/plugins/tiddlywiki/highlight-legacy/files/tiddlywiki.files +22 -0
  1176. package/plugins/tiddlywiki/highlight-legacy/highlightblock.js +44 -0
  1177. package/plugins/tiddlywiki/highlight-legacy/license.tid +27 -0
  1178. package/plugins/tiddlywiki/highlight-legacy/plugin.info +7 -0
  1179. package/plugins/tiddlywiki/highlight-legacy/readme.tid +65 -0
  1180. package/plugins/tiddlywiki/highlight-legacy/styles.tid +82 -0
  1181. package/plugins/tiddlywiki/highlight-legacy/usage.tid +28 -0
  1182. package/plugins/tiddlywiki/innerwiki/template.tid +0 -4
  1183. package/plugins/tiddlywiki/internals/editpreviews/raw.tid +1 -0
  1184. package/plugins/tiddlywiki/katex/config.tid +17 -0
  1185. package/plugins/tiddlywiki/katex/files/README.md +79 -100
  1186. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_AMS-Regular.ttf +0 -0
  1187. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_AMS-Regular.woff +0 -0
  1188. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_AMS-Regular.woff2 +0 -0
  1189. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Bold.ttf +0 -0
  1190. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
  1191. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
  1192. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Regular.ttf +0 -0
  1193. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
  1194. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
  1195. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Bold.ttf +0 -0
  1196. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Bold.woff +0 -0
  1197. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
  1198. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Regular.ttf +0 -0
  1199. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Regular.woff +0 -0
  1200. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
  1201. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Bold.ttf +0 -0
  1202. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Bold.woff +0 -0
  1203. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Bold.woff2 +0 -0
  1204. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-BoldItalic.ttf +0 -0
  1205. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-BoldItalic.woff +0 -0
  1206. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
  1207. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Italic.ttf +0 -0
  1208. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Italic.woff +0 -0
  1209. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Italic.woff2 +0 -0
  1210. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Regular.ttf +0 -0
  1211. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Regular.woff +0 -0
  1212. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Regular.woff2 +0 -0
  1213. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-BoldItalic.ttf +0 -0
  1214. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-BoldItalic.woff +0 -0
  1215. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
  1216. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-Italic.ttf +0 -0
  1217. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-Italic.woff +0 -0
  1218. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-Italic.woff2 +0 -0
  1219. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Bold.ttf +0 -0
  1220. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Bold.woff +0 -0
  1221. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
  1222. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Italic.ttf +0 -0
  1223. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Italic.woff +0 -0
  1224. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
  1225. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Regular.ttf +0 -0
  1226. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Regular.woff +0 -0
  1227. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
  1228. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Script-Regular.ttf +0 -0
  1229. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Script-Regular.woff +0 -0
  1230. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Script-Regular.woff2 +0 -0
  1231. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size1-Regular.ttf +0 -0
  1232. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size1-Regular.woff +0 -0
  1233. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size1-Regular.woff2 +0 -0
  1234. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size2-Regular.ttf +0 -0
  1235. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size2-Regular.woff +0 -0
  1236. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size2-Regular.woff2 +0 -0
  1237. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size3-Regular.ttf +0 -0
  1238. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size3-Regular.woff +0 -0
  1239. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size3-Regular.woff2 +0 -0
  1240. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size4-Regular.ttf +0 -0
  1241. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size4-Regular.woff +0 -0
  1242. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size4-Regular.woff2 +0 -0
  1243. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Typewriter-Regular.ttf +0 -0
  1244. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Typewriter-Regular.woff +0 -0
  1245. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
  1246. package/plugins/tiddlywiki/katex/files/katex.css +1079 -0
  1247. package/plugins/tiddlywiki/katex/files/katex.js +4917 -3543
  1248. package/plugins/tiddlywiki/katex/files/katex.min.css +1 -1
  1249. package/plugins/tiddlywiki/katex/files/katex.min.js +1 -1
  1250. package/plugins/tiddlywiki/katex/files/katex.without-font-face.min.css +1 -1
  1251. package/plugins/tiddlywiki/katex/files/mhchem.min.js +1 -1683
  1252. package/plugins/tiddlywiki/katex/files/tiddlywiki.files +3 -1
  1253. package/plugins/tiddlywiki/katex/plugin.info +2 -2
  1254. package/plugins/tiddlywiki/katex/readme.tid +1 -1
  1255. package/plugins/tiddlywiki/katex/styles.tid +7 -1
  1256. package/plugins/tiddlywiki/katex/ui/config/macro.tid +137 -0
  1257. package/plugins/tiddlywiki/katex/wrapper.js +19 -13
  1258. package/plugins/tiddlywiki/markdown/config_renderWikiTextPragma.tid +1 -1
  1259. package/plugins/tiddlywiki/markdown/files/remarkable-katex-license.txt +21 -0
  1260. package/plugins/tiddlywiki/markdown/files/remarkable-katex.js +137 -0
  1261. package/plugins/tiddlywiki/markdown/files/remarkable-katex.min.js +20 -0
  1262. package/plugins/tiddlywiki/markdown/files/remarkable-license.txt +22 -0
  1263. package/plugins/tiddlywiki/markdown/files/tiddlywiki.files +24 -0
  1264. package/plugins/tiddlywiki/markdown/plugin.info +2 -2
  1265. package/plugins/tiddlywiki/markdown/readme.tid +1 -1
  1266. package/plugins/tiddlywiki/markdown/wrapper.js +50 -16
  1267. package/plugins/tiddlywiki/menubar/menu.tid +1 -1
  1268. package/plugins/tiddlywiki/menubar/readme.tid +1 -0
  1269. package/plugins/tiddlywiki/qrcode/ViewToolbarButton/Button.tid +1 -2
  1270. package/plugins/tiddlywiki/savetrail/savetrail.js +4 -4
  1271. package/plugins/tiddlywiki/share/rawmarkup.js +1 -1
  1272. package/plugins/tiddlywiki/text-slicer/ui/slice-toolbar-button.tid +1 -1
  1273. package/plugins/tiddlywiki/tiddlyweb/html-div-tiddler.tid +1 -1
  1274. package/plugins/tiddlywiki/tiddlyweb/html-json-skinny-tiddler.tid +4 -0
  1275. package/plugins/tiddlywiki/tiddlyweb/html-json-tiddler.tid +4 -0
  1276. package/plugins/tiddlywiki/tiddlyweb/syncer-actions-refresh.tid +1 -1
  1277. package/plugins/tiddlywiki/tiddlyweb/tiddlywebadaptor.js +26 -13
  1278. package/plugins/tiddlywiki/xlsx-utils/deserializer.js +2 -1
  1279. package/readme.md +3 -3
  1280. package/themes/tiddlywiki/snowwhite/base.tid +2 -1
  1281. package/themes/tiddlywiki/starlight/styles.tid +6 -6
  1282. package/themes/tiddlywiki/tight/base.tid +5 -5
  1283. package/themes/tiddlywiki/vanilla/ThemeTweaks.tid +7 -3
  1284. package/themes/tiddlywiki/vanilla/base.tid +202 -87
  1285. package/themes/tiddlywiki/vanilla/reset.tid +1 -1
  1286. package/themes/tiddlywiki/vanilla/settings.multids +1 -1
  1287. package/themes/tiddlywiki/vanilla/sticky.tid +1 -0
  1288. package/core/ui/ViewTemplate/plugin.tid +0 -15
  1289. package/editions/fr-FR/tiddlers/$__core_ui_ViewTemplate_title.tid +0 -46
  1290. package/editions/fr-FR/tiddlers/Images_in_WikiText.tid +0 -48
  1291. package/editions/fr-FR/tiddlers/ImportTiddlers.tid +0 -14
  1292. package/editions/fr-FR/tiddlers/Sharing_your_tiddlers_with_others.tid +0 -16
  1293. package/editions/tw5.com/tiddlers/community/Resources.tid +0 -25
  1294. package/editions/tw5.com/tiddlers/community/examples/Obadiah.tid +0 -10
  1295. package/editions/tw5.com/tiddlers/community/resources/Hosting TiddlyWiki5 on GoogleDrive.tid +0 -13
  1296. package/editions/tw5.com/tiddlers/community/resources/How Does Twederation Work by Jed Carty.tid +0 -14
  1297. package/editions/tw5.com/tiddlers/community/resources/Plugins by Uwe Stuehler.tid +0 -13
  1298. package/editions/tw5.com/tiddlers/community/resources/TiddlyClip by buggyjay.tid +0 -14
  1299. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki Jingle by Mans Martensson.tid +0 -18
  1300. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki5 Coding.tid +0 -18
  1301. package/editions/tw5.com/tiddlers/customising/Page and tiddler layout customisation.tid +0 -63
  1302. package/editions/tw5.com/tiddlers/demonstrations/SampleAlert.tid +0 -9
  1303. package/plugins/tiddlywiki/highlight/howto.tid +0 -10
@@ -17,7 +17,9 @@ if($tw.node) {
17
17
  fs = require("fs"),
18
18
  url = require("url"),
19
19
  path = require("path"),
20
- querystring = require("querystring");
20
+ querystring = require("querystring"),
21
+ crypto = require("crypto"),
22
+ zlib = require("zlib");
21
23
  }
22
24
 
23
25
  /*
@@ -32,7 +34,6 @@ function Server(options) {
32
34
  this.authenticators = options.authenticators || [];
33
35
  this.wiki = options.wiki;
34
36
  this.boot = options.boot || $tw.boot;
35
- this.servername = $tw.utils.transliterateToSafeASCII(this.wiki.getTiddlerText("$:/SiteTitle") || "TiddlyWiki5");
36
37
  // Initialise the variables
37
38
  this.variables = $tw.utils.extend({},this.defaultVariables);
38
39
  if(options.variables) {
@@ -40,22 +41,35 @@ function Server(options) {
40
41
  if(options.variables[variable]) {
41
42
  this.variables[variable] = options.variables[variable];
42
43
  }
43
- }
44
+ }
44
45
  }
45
- $tw.utils.extend({},this.defaultVariables,options.variables);
46
+ // Setup the default required plugins
47
+ this.requiredPlugins = this.get("required-plugins").split(',');
46
48
  // Initialise CSRF
47
49
  this.csrfDisable = this.get("csrf-disable") === "yes";
48
50
  // Initialize Gzip compression
49
51
  this.enableGzip = this.get("gzip") === "yes";
52
+ // Initialize browser-caching
53
+ this.enableBrowserCache = this.get("use-browser-cache") === "yes";
50
54
  // Initialise authorization
51
- var authorizedUserName = (this.get("username") && this.get("password")) ? this.get("username") : "(anon)";
55
+ var authorizedUserName;
56
+ if(this.get("username") && this.get("password")) {
57
+ authorizedUserName = this.get("username");
58
+ } else if(this.get("credentials")) {
59
+ authorizedUserName = "(authenticated)";
60
+ } else {
61
+ authorizedUserName = "(anon)";
62
+ }
52
63
  this.authorizationPrincipals = {
53
64
  readers: (this.get("readers") || authorizedUserName).split(",").map($tw.utils.trim),
54
65
  writers: (this.get("writers") || authorizedUserName).split(",").map($tw.utils.trim)
55
66
  }
67
+ if(this.get("admin") || authorizedUserName !== "(anon)") {
68
+ this.authorizationPrincipals["admin"] = (this.get("admin") || authorizedUserName).split(',').map($tw.utils.trim)
69
+ }
56
70
  // Load and initialise authenticators
57
71
  $tw.modules.forEachModuleOfType("authenticator", function(title,authenticatorDefinition) {
58
- // console.log("Loading server route " + title);
72
+ // console.log("Loading authenticator " + title);
59
73
  self.addAuthenticator(authenticatorDefinition.AuthenticatorClass);
60
74
  });
61
75
  // Load route handlers
@@ -67,20 +81,92 @@ function Server(options) {
67
81
  this.listenOptions = null;
68
82
  this.protocol = "http";
69
83
  var tlsKeyFilepath = this.get("tls-key"),
70
- tlsCertFilepath = this.get("tls-cert");
84
+ tlsCertFilepath = this.get("tls-cert"),
85
+ tlsPassphrase = this.get("tls-passphrase");
71
86
  if(tlsCertFilepath && tlsKeyFilepath) {
72
87
  this.listenOptions = {
73
88
  key: fs.readFileSync(path.resolve(this.boot.wikiPath,tlsKeyFilepath),"utf8"),
74
- cert: fs.readFileSync(path.resolve(this.boot.wikiPath,tlsCertFilepath),"utf8")
89
+ cert: fs.readFileSync(path.resolve(this.boot.wikiPath,tlsCertFilepath),"utf8"),
90
+ passphrase: tlsPassphrase || ''
75
91
  };
76
92
  this.protocol = "https";
77
93
  }
78
94
  this.transport = require(this.protocol);
95
+ // Name the server and init the boot state
96
+ this.servername = $tw.utils.transliterateToSafeASCII(this.get("server-name") || this.wiki.getTiddlerText("$:/SiteTitle") || "TiddlyWiki5");
97
+ this.boot.origin = this.get("origin")? this.get("origin"): this.protocol+"://"+this.get("host")+":"+this.get("port");
98
+ this.boot.pathPrefix = this.get("path-prefix") || "";
99
+ }
100
+
101
+ /*
102
+ Send a response to the client. This method checks if the response must be sent
103
+ or if the client alrady has the data cached. If that's the case only a 304
104
+ response will be transmitted and the browser will use the cached data.
105
+ Only requests with status code 200 are considdered for caching.
106
+ request: request instance passed to the handler
107
+ response: response instance passed to the handler
108
+ statusCode: stauts code to send to the browser
109
+ headers: response headers (they will be augmented with an `Etag` header)
110
+ data: the data to send (passed to the end method of the response instance)
111
+ encoding: the encoding of the data to send (passed to the end method of the response instance)
112
+ */
113
+ function sendResponse(request,response,statusCode,headers,data,encoding) {
114
+ if(this.enableBrowserCache && (statusCode == 200)) {
115
+ var hash = crypto.createHash('md5');
116
+ // Put everything into the hash that could change and invalidate the data that
117
+ // the browser already stored. The headers the data and the encoding.
118
+ hash.update(data);
119
+ hash.update(JSON.stringify(headers));
120
+ if(encoding) {
121
+ hash.update(encoding);
122
+ }
123
+ var contentDigest = hash.digest("hex");
124
+ // RFC 7232 section 2.3 mandates for the etag to be enclosed in quotes
125
+ headers["Etag"] = '"' + contentDigest + '"';
126
+ headers["Cache-Control"] = "max-age=0, must-revalidate";
127
+ // Check if any of the hashes contained within the if-none-match header
128
+ // matches the current hash.
129
+ // If one matches, do not send the data but tell the browser to use the
130
+ // cached data.
131
+ // We do not implement "*" as it makes no sense here.
132
+ var ifNoneMatch = request.headers["if-none-match"];
133
+ if(ifNoneMatch) {
134
+ var matchParts = ifNoneMatch.split(",").map(function(etag) {
135
+ return etag.replace(/^[ "]+|[ "]+$/g, "");
136
+ });
137
+ if(matchParts.indexOf(contentDigest) != -1) {
138
+ response.writeHead(304,headers);
139
+ response.end();
140
+ return;
141
+ }
142
+ }
143
+ }
144
+ /*
145
+ If the gzip=yes is set, check if the user agent permits compression. If so,
146
+ compress our response if the raw data is bigger than 2k. Compressing less
147
+ data is inefficient. Note that we use the synchronous functions from zlib
148
+ to stay in the imperative style. The current `Server` doesn't depend on
149
+ this, and we may just as well use the async versions.
150
+ */
151
+ if(this.enableGzip && (data.length > 2048)) {
152
+ var acceptEncoding = request.headers["accept-encoding"] || "";
153
+ if(/\bdeflate\b/.test(acceptEncoding)) {
154
+ headers["Content-Encoding"] = "deflate";
155
+ data = zlib.deflateSync(data);
156
+ } else if(/\bgzip\b/.test(acceptEncoding)) {
157
+ headers["Content-Encoding"] = "gzip";
158
+ data = zlib.gzipSync(data);
159
+ }
160
+ }
161
+
162
+ response.writeHead(statusCode,headers);
163
+ response.end(data,encoding);
79
164
  }
80
165
 
81
166
  Server.prototype.defaultVariables = {
82
167
  port: "8080",
83
168
  host: "127.0.0.1",
169
+ "required-plugins": "$:/plugins/tiddlywiki/filesystem,$:/plugins/tiddlywiki/tiddlyweb",
84
170
  "root-tiddler": "$:/core/save/all",
85
171
  "root-render-type": "text/plain",
86
172
  "root-serve-type": "text/html",
@@ -89,7 +175,8 @@ Server.prototype.defaultVariables = {
89
175
  "system-tiddler-render-type": "text/plain",
90
176
  "system-tiddler-render-template": "$:/core/templates/wikified-tiddler",
91
177
  "debug-level": "none",
92
- "gzip": "no"
178
+ "gzip": "no",
179
+ "use-browser-cache": "no"
93
180
  };
94
181
 
95
182
  Server.prototype.get = function(name) {
@@ -167,25 +254,26 @@ Server.prototype.requestHandler = function(request,response,options) {
167
254
  state.urlInfo = url.parse(request.url);
168
255
  state.queryParameters = querystring.parse(state.urlInfo.query);
169
256
  state.pathPrefix = options.pathPrefix || this.get("path-prefix") || "";
257
+ state.sendResponse = sendResponse.bind(self,request,response);
170
258
  // Get the principals authorized to access this resource
171
- var authorizationType = this.methodMappings[request.method] || "readers";
259
+ state.authorizationType = options.authorizationType || this.methodMappings[request.method] || "readers";
172
260
  // Check for the CSRF header if this is a write
173
- if(!this.csrfDisable && authorizationType === "writers" && request.headers["x-requested-with"] !== "TiddlyWiki") {
261
+ if(!this.csrfDisable && state.authorizationType === "writers" && request.headers["x-requested-with"] !== "TiddlyWiki") {
174
262
  response.writeHead(403,"'X-Requested-With' header required to login to '" + this.servername + "'");
175
263
  response.end();
176
- return;
264
+ return;
177
265
  }
178
266
  // Check whether anonymous access is granted
179
- state.allowAnon = this.isAuthorized(authorizationType,null);
267
+ state.allowAnon = this.isAuthorized(state.authorizationType,null);
180
268
  // Authenticate with the first active authenticator
181
269
  if(this.authenticators.length > 0) {
182
270
  if(!this.authenticators[0].authenticateRequest(request,response,state)) {
183
271
  // Bail if we failed (the authenticator will have sent the response)
184
272
  return;
185
- }
273
+ }
186
274
  }
187
275
  // Authorize with the authenticated username
188
- if(!this.isAuthorized(authorizationType,state.authenticatedUsername)) {
276
+ if(!this.isAuthorized(state.authorizationType,state.authenticatedUsername)) {
189
277
  response.writeHead(401,"'" + state.authenticatedUsername + "' is not authorized to access '" + this.servername + "'");
190
278
  response.end();
191
279
  return;
@@ -251,8 +339,16 @@ Server.prototype.listen = function(port,host,prefix) {
251
339
  port = process.env[port] || 8080;
252
340
  }
253
341
  // Warn if required plugins are missing
254
- if(!this.wiki.getTiddler("$:/plugins/tiddlywiki/tiddlyweb") || !this.wiki.getTiddler("$:/plugins/tiddlywiki/filesystem")) {
255
- $tw.utils.warning("Warning: Plugins required for client-server operation (\"tiddlywiki/filesystem\" and \"tiddlywiki/tiddlyweb\") are missing from tiddlywiki.info file");
342
+ var missing = [];
343
+ for (var index=0; index<this.requiredPlugins.length; index++) {
344
+ if (!this.wiki.getTiddler(this.requiredPlugins[index])) {
345
+ missing.push(this.requiredPlugins[index]);
346
+ }
347
+ }
348
+ if(missing.length > 0) {
349
+ var error = "Warning: Plugin(s) required for client-server operation are missing.\n"+
350
+ "\""+ missing.join("\", \"")+"\"";
351
+ $tw.utils.warning(error);
256
352
  }
257
353
  // Create the server
258
354
  var server;
@@ -152,7 +152,7 @@ exports.startup = function() {
152
152
  if(event.data.status.charAt(0) === "2") {
153
153
  if(event.data.cookies) {
154
154
  if(event.data.cookies.type === "save-info") {
155
- var tiddlers = JSON.parse(event.data.body);
155
+ var tiddlers = $tw.utils.parseJSONSafe(event.data.body);
156
156
  $tw.utils.each(tiddlers,function(tiddler) {
157
157
  $tw.wiki.addTiddler(new $tw.Tiddler($tw.wiki.getCreationFields(),tiddler,{
158
158
  title: event.data.cookies.infoTitlePrefix + event.data.cookies.url + "/" + tiddler.title,
@@ -170,7 +170,7 @@ exports.startup = function() {
170
170
  },$tw.wiki.getModificationFields()));
171
171
  });
172
172
  } else if(event.data.cookies.type === "save-tiddler") {
173
- var tiddler = JSON.parse(event.data.body);
173
+ var tiddler = $tw.utils.parseJSONSafe(event.data.body);
174
174
  $tw.wiki.addTiddler(new $tw.Tiddler(tiddler));
175
175
  }
176
176
  }
@@ -17,7 +17,7 @@ exports.name = "favicon";
17
17
  exports.platforms = ["browser"];
18
18
  exports.after = ["startup"];
19
19
  exports.synchronous = true;
20
-
20
+
21
21
  // Favicon tiddler
22
22
  var FAVICON_TITLE = "$:/favicon.ico";
23
23
 
@@ -22,6 +22,9 @@ exports.startup = function() {
22
22
  if($tw.node) {
23
23
  $tw.modules.applyMethods("utils-node",$tw.utils);
24
24
  }
25
+ if($tw.browser) {
26
+ $tw.modules.applyMethods("utils-browser",$tw.utils);
27
+ }
25
28
  $tw.modules.applyMethods("global",$tw);
26
29
  $tw.modules.applyMethods("config",$tw.config);
27
30
  $tw.Tiddler.fieldModules = $tw.modules.getModulesByTypeAsHashmap("tiddlerfield");
@@ -42,12 +42,17 @@ exports.startup = function() {
42
42
  $tw.styleWidgetNode = $tw.wiki.makeTranscludeWidget(PAGE_STYLESHEET_TITLE,{document: $tw.fakeDocument});
43
43
  $tw.styleContainer = $tw.fakeDocument.createElement("style");
44
44
  $tw.styleWidgetNode.render($tw.styleContainer,null);
45
+ $tw.styleWidgetNode.assignedStyles = $tw.styleContainer.textContent;
45
46
  $tw.styleElement = document.createElement("style");
46
- $tw.styleElement.innerHTML = $tw.styleContainer.textContent;
47
+ $tw.styleElement.innerHTML = $tw.styleWidgetNode.assignedStyles;
47
48
  document.head.insertBefore($tw.styleElement,document.head.firstChild);
48
49
  $tw.wiki.addEventListener("change",$tw.perf.report("styleRefresh",function(changes) {
49
50
  if($tw.styleWidgetNode.refresh(changes,$tw.styleContainer,null)) {
50
- $tw.styleElement.innerHTML = $tw.styleContainer.textContent;
51
+ var newStyles = $tw.styleContainer.textContent;
52
+ if(newStyles !== $tw.styleWidgetNode.assignedStyles) {
53
+ $tw.styleWidgetNode.assignedStyles = newStyles;
54
+ $tw.styleElement.innerHTML = $tw.styleWidgetNode.assignedStyles;
55
+ }
51
56
  }
52
57
  }));
53
58
  // Display the $:/core/ui/PageTemplate tiddler to kick off the display
@@ -82,7 +87,7 @@ exports.startup = function() {
82
87
  var onlyThrottledTiddlersHaveChanged = true;
83
88
  for(var title in changes) {
84
89
  var tiddler = $tw.wiki.getTiddler(title);
85
- if(!tiddler || !(tiddler.hasField("draft.of") || tiddler.hasField("throttle.refresh"))) {
90
+ if(!$tw.wiki.isVolatileTiddler(title) && (!tiddler || !(tiddler.hasField("draft.of") || tiddler.hasField("throttle.refresh")))) {
86
91
  onlyThrottledTiddlersHaveChanged = false;
87
92
  }
88
93
  }
@@ -27,7 +27,7 @@ exports.startup = function() {
27
27
  });
28
28
  $tw.rootWidget.addEventListener("tm-show-switcher",function(event) {
29
29
  $tw.modal.display("$:/core/ui/SwitcherModal",{variables: event.paramObject, event: event});
30
- });
30
+ });
31
31
  // Install the notification mechanism
32
32
  $tw.notifier = new $tw.utils.Notifier($tw.wiki);
33
33
  $tw.rootWidget.addEventListener("tm-notify",function(event) {
@@ -40,9 +40,10 @@ exports.startup = function() {
40
40
  // Install the tm-focus-selector message
41
41
  $tw.rootWidget.addEventListener("tm-focus-selector",function(event) {
42
42
  var selector = event.param || "",
43
- element;
43
+ element,
44
+ doc = event.event && event.event.target ? event.event.target.ownerDocument : document;
44
45
  try {
45
- element = document.querySelector(selector);
46
+ element = doc.querySelector(selector);
46
47
  } catch(e) {
47
48
  console.log("Error in selector: ",selector)
48
49
  }
@@ -50,6 +51,20 @@ exports.startup = function() {
50
51
  element.focus(event.paramObject);
51
52
  }
52
53
  });
54
+ // Install the tm-rename-tiddler and tm-relink-tiddler messages
55
+ var makeRenameHandler = function(method) {
56
+ return function(event) {
57
+ var options = {},
58
+ paramObject = event.paramObject || {},
59
+ from = paramObject.from || event.tiddlerTitle,
60
+ to = paramObject.to;
61
+ options.dontRenameInTags = (paramObject.renameInTags === "false" || paramObject.renameInTags === "no") ? true : false;
62
+ options.dontRenameInLists = (paramObject.renameInLists === "false" || paramObject.renameInLists === "no") ? true : false;
63
+ $tw.wiki[method](from,to,options);
64
+ };
65
+ };
66
+ $tw.rootWidget.addEventListener("tm-rename-tiddler",makeRenameHandler("renameTiddler"));
67
+ $tw.rootWidget.addEventListener("tm-relink-tiddler",makeRenameHandler("relinkTiddler"));
53
68
  // Install the scroller
54
69
  $tw.pageScroller = new $tw.utils.PageScroller();
55
70
  $tw.rootWidget.addEventListener("tm-scroll",function(event) {
@@ -68,7 +83,7 @@ exports.startup = function() {
68
83
  fullScreenDocument[fullscreen._exitFullscreen]();
69
84
  } else {
70
85
  fullScreenDocument.documentElement[fullscreen._requestFullscreen](Element.ALLOW_KEYBOARD_INPUT);
71
- }
86
+ }
72
87
  }
73
88
  });
74
89
  }
@@ -23,7 +23,6 @@ var PERFORMANCE_INSTRUMENTATION_CONFIG_TITLE = "$:/config/Performance/Instrument
23
23
  var widget = require("$:/core/modules/widgets/widget.js");
24
24
 
25
25
  exports.startup = function() {
26
- var modules,n,m,f;
27
26
  // Minimal browser detection
28
27
  if($tw.browser) {
29
28
  $tw.browser.isIE = (/msie|trident/i.test(navigator.userAgent));
@@ -66,10 +65,10 @@ exports.startup = function() {
66
65
  // Execute any startup actions
67
66
  $tw.rootWidget.invokeActionsByTag("$:/tags/StartupAction");
68
67
  if($tw.browser) {
69
- $tw.rootWidget.invokeActionsByTag("$:/tags/StartupAction/Browser");
68
+ $tw.rootWidget.invokeActionsByTag("$:/tags/StartupAction/Browser");
70
69
  }
71
70
  if($tw.node) {
72
- $tw.rootWidget.invokeActionsByTag("$:/tags/StartupAction/Node");
71
+ $tw.rootWidget.invokeActionsByTag("$:/tags/StartupAction/Node");
73
72
  }
74
73
  // Kick off the language manager and switcher
75
74
  $tw.language = new $tw.Language();
@@ -101,7 +101,7 @@ exports.startup = function() {
101
101
  updateHistory: $tw.wiki.getTiddlerText(CONFIG_UPDATE_HISTORY,"no").trim(),
102
102
  targetTiddler: event.param || event.tiddlerTitle,
103
103
  copyToClipboard: $tw.wiki.getTiddlerText(CONFIG_PERMALINKVIEW_COPY_TO_CLIPBOARD,"yes").trim() === "yes" ? "permaview" : "none"
104
- });
104
+ });
105
105
  });
106
106
  }
107
107
  };
@@ -120,10 +120,10 @@ function openStartupTiddlers(options) {
120
120
  var hash = $tw.locationHash.substr(1),
121
121
  split = hash.indexOf(":");
122
122
  if(split === -1) {
123
- target = decodeURIComponent(hash.trim());
123
+ target = $tw.utils.decodeURIComponentSafe(hash.trim());
124
124
  } else {
125
- target = decodeURIComponent(hash.substr(0,split).trim());
126
- storyFilter = decodeURIComponent(hash.substr(split + 1).trim());
125
+ target = $tw.utils.decodeURIComponentSafe(hash.substr(0,split).trim());
126
+ storyFilter = $tw.utils.decodeURIComponentSafe(hash.substr(split + 1).trim());
127
127
  }
128
128
  }
129
129
  // If the story wasn't specified use the current tiddlers or a blank story
@@ -165,7 +165,7 @@ function openStartupTiddlers(options) {
165
165
  story.addToHistory(target);
166
166
  } else if(storyList.length > 0) {
167
167
  story.addToHistory(storyList[0]);
168
- }
168
+ }
169
169
  }
170
170
  }
171
171
 
@@ -20,6 +20,8 @@ exports.synchronous = true;
20
20
 
21
21
  // Global to keep track of open windows (hashmap by title)
22
22
  $tw.windows = {};
23
+ // Default template to use for new windows
24
+ var DEFAULT_WINDOW_TEMPLATE = "$:/core/templates/single.tiddler.window";
23
25
 
24
26
  exports.startup = function() {
25
27
  // Handle open window message
@@ -29,22 +31,25 @@ exports.startup = function() {
29
31
  title = event.param || event.tiddlerTitle,
30
32
  paramObject = event.paramObject || {},
31
33
  windowTitle = paramObject.windowTitle || title,
32
- template = paramObject.template || "$:/core/templates/single.tiddler.window",
34
+ windowID = paramObject.windowID || title,
35
+ template = paramObject.template || DEFAULT_WINDOW_TEMPLATE,
33
36
  width = paramObject.width || "700",
34
37
  height = paramObject.height || "600",
35
- variables = $tw.utils.extend({},paramObject,{currentTiddler: title});
38
+ top = paramObject.top,
39
+ left = paramObject.left,
40
+ variables = $tw.utils.extend({},paramObject,{currentTiddler: title, "tv-window-id": windowID});
36
41
  // Open the window
37
42
  var srcWindow,
38
43
  srcDocument;
39
44
  // In case that popup blockers deny opening a new window
40
45
  try {
41
- srcWindow = window.open("","external-" + title,"scrollbars,width=" + width + ",height=" + height),
46
+ srcWindow = window.open("","external-" + windowID,"scrollbars,width=" + width + ",height=" + height + (top ? ",top=" + top : "" ) + (left ? ",left=" + left : "" )),
42
47
  srcDocument = srcWindow.document;
43
48
  }
44
49
  catch(e) {
45
50
  return;
46
51
  }
47
- $tw.windows[title] = srcWindow;
52
+ $tw.windows[windowID] = srcWindow;
48
53
  // Check for reopening the same window
49
54
  if(srcWindow.haveInitialisedWindow) {
50
55
  return;
@@ -54,7 +59,7 @@ exports.startup = function() {
54
59
  srcDocument.close();
55
60
  srcDocument.title = windowTitle;
56
61
  srcWindow.addEventListener("beforeunload",function(event) {
57
- delete $tw.windows[title];
62
+ delete $tw.windows[windowID];
58
63
  $tw.wiki.removeEventListener("change",refreshHandler);
59
64
  },false);
60
65
  // Set up the styles
@@ -88,13 +93,21 @@ exports.startup = function() {
88
93
  srcWindow.document.documentElement.addEventListener("click",$tw.popup,true);
89
94
  srcWindow.haveInitialisedWindow = true;
90
95
  });
91
- // Close open windows when unloading main window
92
- $tw.addUnloadTask(function() {
96
+ $tw.rootWidget.addEventListener("tm-close-window",function(event) {
97
+ var windowID = event.param,
98
+ win = $tw.windows[windowID];
99
+ if(win) {
100
+ win.close();
101
+ }
102
+ });
103
+ var closeAllWindows = function() {
93
104
  $tw.utils.each($tw.windows,function(win) {
94
105
  win.close();
95
106
  });
96
- });
97
-
107
+ }
108
+ $tw.rootWidget.addEventListener("tm-close-all-windows",closeAllWindows);
109
+ // Close open windows when unloading main window
110
+ $tw.addUnloadTask(closeAllWindows);
98
111
  };
99
112
 
100
113
  })();
@@ -27,12 +27,12 @@ ClassicStoryView.prototype.navigateTo = function(historyInfo) {
27
27
  var listItemWidget = this.listWidget.children[listElementIndex],
28
28
  targetElement = listItemWidget.findFirstDomNode();
29
29
  // Abandon if the list entry isn't a DOM element (it might be a text node)
30
- if(!(targetElement instanceof Element)) {
30
+ if(!targetElement || targetElement.nodeType === Node.TEXT_NODE) {
31
31
  return;
32
32
  }
33
33
  if(duration) {
34
34
  // Scroll the node into view
35
- this.listWidget.dispatchEvent({type: "tm-scroll", target: targetElement});
35
+ this.listWidget.dispatchEvent({type: "tm-scroll", target: targetElement});
36
36
  } else {
37
37
  targetElement.scrollIntoView();
38
38
  }
@@ -43,7 +43,7 @@ ClassicStoryView.prototype.insert = function(widget) {
43
43
  if(duration) {
44
44
  var targetElement = widget.findFirstDomNode();
45
45
  // Abandon if the list entry isn't a DOM element (it might be a text node)
46
- if(!(targetElement instanceof Element)) {
46
+ if(!targetElement || targetElement.nodeType === Node.TEXT_NODE) {
47
47
  return;
48
48
  }
49
49
  // Get the current height of the tiddler
@@ -83,7 +83,7 @@ ClassicStoryView.prototype.remove = function(widget) {
83
83
  widget.removeChildDomNodes();
84
84
  };
85
85
  // Abandon if the list entry isn't a DOM element (it might be a text node)
86
- if(!(targetElement instanceof Element)) {
86
+ if(!targetElement || targetElement.nodeType === Node.TEXT_NODE) {
87
87
  removeElement();
88
88
  return;
89
89
  }
@@ -118,4 +118,4 @@ ClassicStoryView.prototype.remove = function(widget) {
118
118
 
119
119
  exports.classic = ClassicStoryView;
120
120
 
121
- })();
121
+ })();
@@ -24,7 +24,7 @@ PopStoryView.prototype.navigateTo = function(historyInfo) {
24
24
  var listItemWidget = this.listWidget.children[listElementIndex],
25
25
  targetElement = listItemWidget.findFirstDomNode();
26
26
  // Abandon if the list entry isn't a DOM element (it might be a text node)
27
- if(!(targetElement instanceof Element)) {
27
+ if(!targetElement || targetElement.nodeType === Node.TEXT_NODE) {
28
28
  return;
29
29
  }
30
30
  // Scroll the node into view
@@ -35,7 +35,7 @@ PopStoryView.prototype.insert = function(widget) {
35
35
  var targetElement = widget.findFirstDomNode(),
36
36
  duration = $tw.utils.getAnimationDuration();
37
37
  // Abandon if the list entry isn't a DOM element (it might be a text node)
38
- if(!(targetElement instanceof Element)) {
38
+ if(!targetElement || targetElement.nodeType === Node.TEXT_NODE) {
39
39
  return;
40
40
  }
41
41
  // Reset once the transition is over
@@ -77,7 +77,7 @@ PopStoryView.prototype.remove = function(widget) {
77
77
  }
78
78
  };
79
79
  // Abandon if the list entry isn't a DOM element (it might be a text node)
80
- if(!(targetElement instanceof Element)) {
80
+ if(!targetElement || targetElement.nodeType === Node.TEXT_NODE) {
81
81
  removeElement();
82
82
  return;
83
83
  }
@@ -48,7 +48,7 @@ ZoominListView.prototype.navigateTo = function(historyInfo) {
48
48
  var listItemWidget = this.listWidget.children[listElementIndex],
49
49
  targetElement = listItemWidget.findFirstDomNode();
50
50
  // Abandon if the list entry isn't a DOM element (it might be a text node)
51
- if(!(targetElement instanceof Element)) {
51
+ if(!targetElement || targetElement.nodeType === Node.TEXT_NODE) {
52
52
  return;
53
53
  }
54
54
  // Make the new tiddler be position absolute and visible so that we can measure it
@@ -130,7 +130,7 @@ function findTitleDomNode(widget,targetClass) {
130
130
  ZoominListView.prototype.insert = function(widget) {
131
131
  var targetElement = widget.findFirstDomNode();
132
132
  // Abandon if the list entry isn't a DOM element (it might be a text node)
133
- if(!(targetElement instanceof Element)) {
133
+ if(!targetElement || targetElement.nodeType === Node.TEXT_NODE) {
134
134
  return;
135
135
  }
136
136
  // Make the newly inserted node position absolute and hidden
@@ -147,7 +147,7 @@ ZoominListView.prototype.remove = function(widget) {
147
147
  widget.removeChildDomNodes();
148
148
  };
149
149
  // Abandon if the list entry isn't a DOM element (it might be a text node)
150
- if(!(targetElement instanceof Element)) {
150
+ if(!targetElement || targetElement.nodeType === Node.TEXT_NODE) {
151
151
  removeElement();
152
152
  return;
153
153
  }
@@ -269,7 +269,7 @@ Syncer.prototype.getStatus = function(callback) {
269
269
  // Get login status
270
270
  this.syncadaptor.getStatus(function(err,isLoggedIn,username,isReadOnly,isAnonymous) {
271
271
  if(err) {
272
- self.logger.alert(err);
272
+ self.displayError("Get Status Error",err);
273
273
  } else {
274
274
  // Set the various status tiddlers
275
275
  self.wiki.addTiddler({title: self.titleIsReadOnly,text: isReadOnly ? "yes" : "no"});
@@ -472,7 +472,7 @@ Syncer.prototype.handleLogoutEvent = function() {
472
472
  if(this.syncadaptor.logout) {
473
473
  this.syncadaptor.logout(function(err) {
474
474
  if(err) {
475
- self.logger.alert(err);
475
+ self.displayError("Logout Error",err);
476
476
  } else {
477
477
  self.getStatus();
478
478
  }
@@ -633,10 +633,6 @@ DeleteTiddlerTask.prototype.run = function(callback) {
633
633
  }
634
634
  // Remove the info stored about this tiddler
635
635
  delete self.syncer.tiddlerInfo[self.title];
636
- if($tw.boot.files){
637
- // Remove the tiddler from $tw.boot.files
638
- delete $tw.boot.files[self.title];
639
- }
640
636
  // Invoke the callback
641
637
  callback(null);
642
638
  },{
@@ -24,13 +24,13 @@ exports.isDraft = function() {
24
24
  return this.hasField("draft.of");
25
25
  };
26
26
 
27
- exports.getFieldString = function(field) {
27
+ exports.getFieldString = function(field,defaultValue) {
28
28
  var value = this.fields[field];
29
29
  // Check for a missing field
30
30
  if(value === undefined || value === null) {
31
- return "";
31
+ return defaultValue || "";
32
32
  }
33
- // Parse the field with the associated module (if any)
33
+ // Stringify the field with the associated tiddler field module (if any)
34
34
  var fieldModule = $tw.Tiddler.fieldModules[field];
35
35
  if(fieldModule && fieldModule.stringify) {
36
36
  return fieldModule.stringify.call(this,value);
@@ -41,7 +41,7 @@ exports.upgrade = function(wiki,titles,tiddlers) {
41
41
  // Check if we're dealing with a plugin
42
42
  if(incomingTiddler && incomingTiddler["plugin-type"]) {
43
43
  // Check whether the plugin contains JS modules
44
- var requiresReload = wiki.doesPluginInfoRequireReload(JSON.parse(incomingTiddler.text)) ? (wiki.getTiddlerText("$:/language/ControlPanel/Plugins/PluginWillRequireReload") + " ") : "";
44
+ var requiresReload = wiki.doesPluginInfoRequireReload($tw.utils.parseJSONSafe(incomingTiddler.text)) ? (wiki.getTiddlerText("$:/language/ControlPanel/Plugins/PluginWillRequireReload") + " ") : "";
45
45
  messages[title] = requiresReload;
46
46
  if(incomingTiddler.version) {
47
47
  // Upgrade the incoming plugin if it is in the upgrade library
@@ -12,8 +12,8 @@ Upgrader module that suppresses certain system tiddlers that shouldn't be import
12
12
  /*global $tw: false */
13
13
  "use strict";
14
14
 
15
- var DONT_IMPORT_LIST = ["$:/StoryList","$:/HistoryList"],
16
- DONT_IMPORT_PREFIX_LIST = ["$:/temp/","$:/state/","$:/Import"],
15
+ var DONT_IMPORT_LIST = ["$:/Import"],
16
+ UNSELECT_PREFIX_LIST = ["$:/temp/","$:/state/","$:/StoryList","$:/HistoryList"],
17
17
  WARN_IMPORT_PREFIX_LIST = ["$:/core/modules/"];
18
18
 
19
19
  exports.upgrade = function(wiki,titles,tiddlers) {
@@ -26,11 +26,10 @@ exports.upgrade = function(wiki,titles,tiddlers) {
26
26
  tiddlers[title] = Object.create(null);
27
27
  messages[title] = $tw.language.getString("Import/Upgrader/System/Suppressed");
28
28
  } else {
29
- for(var t=0; t<DONT_IMPORT_PREFIX_LIST.length; t++) {
30
- var prefix = DONT_IMPORT_PREFIX_LIST[t];
29
+ for(var t=0; t<UNSELECT_PREFIX_LIST.length; t++) {
30
+ var prefix = UNSELECT_PREFIX_LIST[t];
31
31
  if(title.substr(0,prefix.length) === prefix) {
32
- tiddlers[title] = Object.create(null);
33
- messages[title] = $tw.language.getString("Import/Upgrader/State/Suppressed");
32
+ messages[title] = $tw.language.getString("Import/Upgrader/Tiddler/Unselected");
34
33
  }
35
34
  }
36
35
  for(var t=0; t<WARN_IMPORT_PREFIX_LIST.length; t++) {
@@ -21,7 +21,7 @@ exports.extractEncryptedStoreArea = function(text) {
21
21
  if(encryptedStoreAreaStart !== -1) {
22
22
  var encryptedStoreAreaEnd = text.indexOf("</pre>",encryptedStoreAreaStart);
23
23
  if(encryptedStoreAreaEnd !== -1) {
24
- return $tw.utils.htmlDecode(text.substring(encryptedStoreAreaStart + encryptedStoreAreaStartMarker.length,encryptedStoreAreaEnd-1));
24
+ return $tw.utils.htmlDecode(text.substring(encryptedStoreAreaStart + encryptedStoreAreaStartMarker.length,encryptedStoreAreaEnd));
25
25
  }
26
26
  }
27
27
  return null;
@@ -33,7 +33,7 @@ Attempt to extract the tiddlers from an encrypted store area using the current p
33
33
  exports.decryptStoreArea = function(encryptedStoreArea,password) {
34
34
  var decryptedText = $tw.crypto.decrypt(encryptedStoreArea,password);
35
35
  if(decryptedText) {
36
- var json = JSON.parse(decryptedText),
36
+ var json = $tw.utils.parseJSONSafe(decryptedText),
37
37
  tiddlers = [];
38
38
  for(var title in json) {
39
39
  if(title !== "$:/isEncrypted") {