diff --git a/bin/build-site.sh b/bin/build-site.sh index f8270cec6..cd5267389 100755 --- a/bin/build-site.sh +++ b/bin/build-site.sh @@ -5,7 +5,7 @@ # Default to the current version number for building the plugin library if [ -z "$TW5_BUILD_VERSION" ]; then - TW5_BUILD_VERSION=v5.2.5 + TW5_BUILD_VERSION=v5.2.6 fi echo "Using TW5_BUILD_VERSION as [$TW5_BUILD_VERSION]" diff --git a/core/modules/widgets/element.js b/core/modules/widgets/element.js index c3d6c96d9..716886e5b 100755 --- a/core/modules/widgets/element.js +++ b/core/modules/widgets/element.js @@ -34,6 +34,10 @@ ElementWidget.prototype.render = function(parent,nextSibling) { if($tw.config.htmlUnsafeElements.indexOf(this.tag) !== -1) { this.tag = "safe-" + this.tag; } + // Restrict tag name to digits, letts and dashes + this.tag = this.tag.replace(/[^0-9a-zA-Z\-]/mg,""); + // Default to a span + this.tag = this.tag || "span"; // Adjust headings by the current base level var headingLevel = ["h1","h2","h3","h4","h5","h6"].indexOf(this.tag); if(headingLevel !== -1) { diff --git a/core/wiki/config/OfficialPluginLibrary.tid b/core/wiki/config/OfficialPluginLibrary.tid index bcf051d3f..cddb5e1fc 100644 --- a/core/wiki/config/OfficialPluginLibrary.tid +++ b/core/wiki/config/OfficialPluginLibrary.tid @@ -1,6 +1,6 @@ title: $:/config/OfficialPluginLibrary tags: $:/tags/PluginLibrary -url: https://tiddlywiki.com/library/v5.2.5/index.html +url: https://tiddlywiki.com/library/v5.2.6/index.html caption: {{$:/language/OfficialPluginLibrary}} {{$:/language/OfficialPluginLibrary/Hint}} diff --git a/editions/es-ES/tiddlers/GettingStarted_-_Chrome.tid b/editions/es-ES/tiddlers/GettingStarted_-_Chrome.tid index 7b7bef150..c23d2fbbc 100644 --- a/editions/es-ES/tiddlers/GettingStarted_-_Chrome.tid +++ b/editions/es-ES/tiddlers/GettingStarted_-_Chrome.tid @@ -7,4 +7,4 @@ type: text/vnd.tiddlywiki En Google Chrome, TiddlyWiki sólo puede guardar cambios usando el módulo alternativo de guardado compatible con HTML5 -{{Saving with the HTML5 fallback saver}} +{{Saving with the HTML5 saver}} diff --git a/editions/es-ES/tiddlers/Saving_with_the_HTML5_fallback_saver.tid b/editions/es-ES/tiddlers/Saving_with_the_HTML5_fallback_saver.tid index ac599a14c..b1a703972 100644 --- a/editions/es-ES/tiddlers/Saving_with_the_HTML5_fallback_saver.tid +++ b/editions/es-ES/tiddlers/Saving_with_the_HTML5_fallback_saver.tid @@ -6,30 +6,4 @@ tags: Saving title: Saving with the HTML5 fallback saver type: text/vnd.tiddlywiki -Este método para guardar cambios es un poco rudimentario porque requiere intervención manual para cada acción de guardado. Tiene, sin embargo, la ventaja de que funciona en casi todos los navegadores de escritorio y en muchos navegadores móviles. - -# Descarga un TiddlyWiki en blanco pulsando este botón - -#> {{$:/editions/es-ES/snippets/download-empty-button}} - -#>Si el botón no funciona, guarda este enlace: https://tiddlywiki.com/languages/es-ES/empty.html - -#> Seguramente el navegador te pida que confirmes la descarga - -#Localiza el archivo que acabas de descargar - -#*Puedes cambiarle el nombre, siempre que mantengas la extensión `.html` o `.htm` - -#Abre el archivo en el navegador - -# Crea un nuevo tiddler usando el botón ''Nuevo tiddler'' {{$:/core/images/new-button}} de la barra lateral. Escribe algo en él y haz clic en el botón ''OK'' {{$:/core/images/done-button}} - -# Guarda los cambios con el botón ''Guardar cambios'' {{$:/core/images/save-button}} de la barra lateral - -# El navegador descargará una copia del wiki que incluye tus cambios. - -# Localiza el archivo nuevo y ábrelo en el navegador - -# Comprueba que los cambios se han guardado correctamente - -''Consejo'': la mayoría de navegadores permiten la opción de especificar la localización de cada descarga, en lugar de descargar a la carpeta por defecto. Esta opción te permite "planchar" tu archivo con la nueva versión. +[[Saving with the HTML5 saver]] \ No newline at end of file diff --git a/editions/es-ES/tiddlers/Saving_with_the_HTML5_saver.tid b/editions/es-ES/tiddlers/Saving_with_the_HTML5_saver.tid new file mode 100644 index 000000000..a68a50828 --- /dev/null +++ b/editions/es-ES/tiddlers/Saving_with_the_HTML5_saver.tid @@ -0,0 +1,35 @@ +caption: Guardar con módulo HTML5 +created: 20131129092604900 +es-title: Guardar con el módulo alternativo de guardado +modified: 20160603131518256 +tags: Saving +title: Saving with the HTML5 saver +type: text/vnd.tiddlywiki + +Este método para guardar cambios es un poco rudimentario porque requiere intervención manual para cada acción de guardado. Tiene, sin embargo, la ventaja de que funciona en casi todos los navegadores de escritorio y en muchos navegadores móviles. + +# Descarga un TiddlyWiki en blanco pulsando este botón + +#> {{$:/editions/es-ES/snippets/download-empty-button}} + +#>Si el botón no funciona, guarda este enlace: https://tiddlywiki.com/languages/es-ES/empty.html + +#> Seguramente el navegador te pida que confirmes la descarga + +#Localiza el archivo que acabas de descargar + +#*Puedes cambiarle el nombre, siempre que mantengas la extensión `.html` o `.htm` + +#Abre el archivo en el navegador + +# Crea un nuevo tiddler usando el botón ''Nuevo tiddler'' {{$:/core/images/new-button}} de la barra lateral. Escribe algo en él y haz clic en el botón ''OK'' {{$:/core/images/done-button}} + +# Guarda los cambios con el botón ''Guardar cambios'' {{$:/core/images/save-button}} de la barra lateral + +# El navegador descargará una copia del wiki que incluye tus cambios. + +# Localiza el archivo nuevo y ábrelo en el navegador + +# Comprueba que los cambios se han guardado correctamente + +''Consejo'': la mayoría de navegadores permiten la opción de especificar la localización de cada descarga, en lugar de descargar a la carpeta por defecto. Esta opción te permite "planchar" tu archivo con la nueva versión. diff --git a/editions/fr-FR/tiddlers/GettingStarted - Chrome.tid b/editions/fr-FR/tiddlers/GettingStarted - Chrome.tid index aa7ae96a2..e8e752bf0 100644 --- a/editions/fr-FR/tiddlers/GettingStarted - Chrome.tid +++ b/editions/fr-FR/tiddlers/GettingStarted - Chrome.tid @@ -7,4 +7,4 @@ type: text/vnd.tiddlywiki Sous Google Chrome, <> ne parvient à sauvegarder les modifications qu'à l'aide de la solution de repli standard : le module de sauvegarde compatible HTML5. -{{Saving with the HTML5 fallback saver}} +{{Saving with the HTML5 saver}} diff --git a/editions/fr-FR/tiddlers/Saving with the HTML5 saver.tid b/editions/fr-FR/tiddlers/Saving with the HTML5 saver.tid new file mode 100644 index 000000000..34fe138ff --- /dev/null +++ b/editions/fr-FR/tiddlers/Saving with the HTML5 saver.tid @@ -0,0 +1,23 @@ +created: 20131129092604900 +fr-title: Sauvegarder avec l'enregistreur HTML 5 par défaut +modified: 20160526130128327 +tags: Saving +title: Saving with the HTML5 saver +type: text/vnd.tiddlywiki + +Cette manière d'enregistrer les modifications est assez pénible, car elle requiert une intervention manuelle à chaque enregistrement. Elle a l'avantage de fonctionner avec pratiquement tous les navigateurs tournant sur les ordinateurs de bureaux, et de nombreux navigateurs tournant sur appareils mobiles. + +# [[Téléchargez|Download]] un TiddlyWiki en cliquant sur ce bouton<> +#> {{$:/editions/fr-FR/snippets/download-empty-button}} +#> Si le bouton ne fonctionne pas, enregistrez ce lien<> https://tiddlywiki.com/languages/fr-FR/empty.html +#> Votre navigateur vous demandera peut-être d'accepter explicitement l'enregistrement avant qu'il démarre +# Localisez le fichier que vous venez de télécharger +#* Vous pouvez le renommer, mais assurez-vous de conserver l'extension `.html` ou `.htm` +# Ouvrez le fichier dans votre navigateur +# Essayez de créer un nouveau tiddler à l'aide du bouton ''nouveau tiddler'' {{$:/core/images/new-button}} de la barre latérale. Ajouter du contenu dans le tiddler, et cliquez sur le bouton ''terminé'' {{$:/core/images/done-button}} +# Enregistrez vos modifications en cliquant sur le bouton ''enregistrer les modifications'' {{$:/core/images/save-button}} de la barre latérale +# Votre navigateur téléchargera alors un nouvel exemplaire du wiki, avec vos modifications à l'intérieur +# Localisez ce nouveau fichier et ouvrez-le dans votre navigateur +# Vérifiez que vos modifications ont correctement été enregistrées + +''Truc'': la plupart des navigateurs peuvent être configurés pour proposer un chemin d'enregistrement à chaque téléchargement. Cela vous permet de sélectionner la version précédente du fichier et ainsi de la remplacer. diff --git a/editions/fr-FR/tiddlers/saving/Saving with the HTML5 fallback saver.tid b/editions/fr-FR/tiddlers/saving/Saving with the HTML5 fallback saver.tid index 24c9c7f4c..0e01be1f9 100644 --- a/editions/fr-FR/tiddlers/saving/Saving with the HTML5 fallback saver.tid +++ b/editions/fr-FR/tiddlers/saving/Saving with the HTML5 fallback saver.tid @@ -1,28 +1,7 @@ -caption: Enregistreur HTML5 -color: #7986cb created: 20131129092604900 -delivery: Saver -description: Technique un peu gênante mais universelle qui marche sur tous les navigateurs ou presque fr-title: Enregistreur HTML5 par défaut -method: save modified: 20220402105820520 -tags: Saving Chrome Firefox [[Internet Explorer]] Opera Safari Edge title: Saving with the HTML5 fallback saver type: text/vnd.tiddlywiki -Cette manière d'enregistrer les modifications est assez pénible, car elle requiert une intervention manuelle à chaque enregistrement. Elle a l'avantage de fonctionner avec pratiquement tous les navigateurs tournant sur les ordinateurs de bureaux, et de nombreux navigateurs tournant sur appareils mobiles. - -# [[Téléchargez|Download]] un TiddlyWiki en cliquant sur ce bouton<> -#> {{$:/editions/fr-FR/snippets/download-empty-button}} -#> Si le bouton ne fonctionne pas, enregistrez ce lien<> https://tiddlywiki.com/languages/fr-FR/empty.html -#> Votre navigateur vous demandera peut-être d'accepter explicitement l'enregistrement avant qu'il démarre -# Localisez le fichier que vous venez de télécharger -#* Vous pouvez le renommer, mais assurez-vous de conserver l'extension `.html` ou `.htm` -# Ouvrez le fichier dans votre navigateur -# Essayez de créer un nouveau tiddler à l'aide du bouton <<.icon $:/core/images/new-button>> ''nouveau tiddler'' de la barre latérale. Ajouter du contenu dans le tiddler, et cliquez sur le bouton <<.icon $:/core/images/done-button>> ''terminé'' -# Enregistrez vos modifications en cliquant sur le bouton <<.icon $:/core/images/save-button>> ''enregistrer les modifications'' de la barre latérale -# Votre navigateur téléchargera alors un nouvel exemplaire du wiki, avec vos modifications à l'intérieur -# Localisez ce nouveau fichier et ouvrez-le dans votre navigateur -# Vérifiez que vos modifications ont correctement été enregistrées - -''Astuce''<<:>> la plupart des navigateurs peuvent être configurés pour proposer un chemin d'enregistrement à chaque téléchargement. Cela vous permet de sélectionner la version précédente du fichier et ainsi de la remplacer. +[[Saving with the HTML5 saver]] \ No newline at end of file diff --git a/editions/prerelease/tiddlers/Release 5.2.5.tid b/editions/prerelease/tiddlers/Release 5.2.5.tid deleted file mode 100644 index f4daa5ca5..000000000 --- a/editions/prerelease/tiddlers/Release 5.2.5.tid +++ /dev/null @@ -1,50 +0,0 @@ -caption: 5.2.5 -created: 20221127133944178 -modified: 20221127133944178 -tags: ReleaseNotes -title: Release 5.2.5 -type: text/vnd.tiddlywiki - -//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.2.4...master]]// - -! Translation Improvements - -Improvements to the following translations: - -* - -! Usability Improvements - -* - -! Widget Improvements - -* - -! Filter improvements - -* - -! Hackability Improvements - -* - -! Bug Fixes - -* - -! Node.js Improvements - -* - -! Performance Improvements - -* - -! Acknowledgements - -[[@Jermolene|https://github.com/Jermolene]] would like to thank the contributors to this release who have generously given their time to help improve TiddlyWiki: - -<<.contributors """ -XXXXX -""">> diff --git a/editions/prerelease/tiddlers/Release 5.2.6.tid b/editions/prerelease/tiddlers/Release 5.2.6.tid new file mode 100644 index 000000000..c7331e608 --- /dev/null +++ b/editions/prerelease/tiddlers/Release 5.2.6.tid @@ -0,0 +1,107 @@ +caption: 5.2.6 +created: 20221219172444961 +modified: 20221219172444961 +tags: ReleaseNotes +title: Release 5.2.6 +type: text/vnd.tiddlywiki + +//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.2.5...master]]// +! Major Improvements + +New [ext[Twitter Archivist|./editions/twitter-archivist]] plugin to import the tweets and associated media from a Twitter Archive as individual tiddlers. + +<<.link-badge-added "https://github.com/Jermolene/TiddlyWiki5/pull/6961">> new GenesisWidget that allows the dynamic construction of another widget, where the name and attributes of the new widget can be dynamically determined, without needing to be known in advance + +<<.link-badge-added "https://github.com/Jermolene/TiddlyWiki5/pull/6936">> (and <<.link-badge-here "https://github.com/Jermolene/TiddlyWiki5/pull/7105">>) new operators for reading and formatting JSON data: [[jsonget Operator]], [[jsonindexes Operator]], [[jsontype Operator]], [[jsonextract Operator]] and [[format Operator]] + +! Translation Improvements + +Improvements to the following translations: + +* Chinese +* French +* German +* Polish +* Spanish +* Japanese + +Improvements to the translation features of TiddlyWiki itself: + +* <<.link-badge-improved "https://github.com/Jermolene/TiddlyWiki5/pull/6882">> the [[Translators Edition|Translate TiddlyWiki into your language]] to add an option to display the original English text underneath the text area +* <<.link-badge-updated "https://github.com/Jermolene/TiddlyWiki5/pull/6933">> "delete" button text in $:/AdvancedSearch so that it is translatable + +! Usability Improvements + +* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/commit/d62a16ee464fb9984b766b48504829a1a3eb143b">> problem with long presses on tiddler links triggering a preview on iOS/iPadOS +* <<.link-badge-improved "https://github.com/Jermolene/TiddlyWiki5/pull/6910">> consistency of button and input elements across browsers +* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/commit/d825f1c875f5e46158c9c41c8c66471138c162d1">> edit preview to use the [[View Template Body Cascade]] +* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/commit/36896c3db8c9678c0385a561996248a6f00a45ff">> opening a tiddler in a new window to use the [[View Template Body Cascade]] +* <<.link-badge-improved "https://github.com/Jermolene/TiddlyWiki5/pull/6970">> detection of infinite recursion errors in widgets and filters +* <<.link-badge-extended "https://github.com/Jermolene/TiddlyWiki5/pull/6877">> default styles for [[styled runs|Styles and Classes in WikiText]] +* <<.link-badge-improved "https://github.com/Jermolene/TiddlyWiki5/pull/6881">> upgrade wizard to make the version number more prominent +* <<.link-badge-improved "https://github.com/Jermolene/TiddlyWiki5/pull/7042">> parsing of tiddlers containing CSV data for greater compatibility +* <<.link-badge-added "https://github.com/Jermolene/TiddlyWiki5/pull/7076">> new page control button to summon the layout switcher +* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/issues/7084">> folded tiddlers to ensure that the unfold button is always visible +* <<.link-badge-improved "https://github.com/Jermolene/TiddlyWiki5/pull/7072">> handling of [[Modals]] to optionally allow them to be dismissed by clicking on the background + +! Widget Improvements + +* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/commit/127f660c91020dcbb43897d954066b31af729e74">> EditTextWidget to remove the default text "Type the text for the tiddler 'foo'" +* <<.link-badge-added "https://github.com/Jermolene/TiddlyWiki5/pull/7081">> ''focus'' attribute to SelectWidget +* <<.link-badge-removed "https://github.com/Jermolene/TiddlyWiki5/commit/1df4c29d73073788ba3859668112e8bb46171a6c">> restriction of the LetWidget being unable to create variables whose names begin with a dollar sign + +! Filter improvements + +* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/issues/6303">> issue with availability of variables within filter runs +* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/pull/7065">> issue with removing multiple items from a linked list during filter processing + +! Hackability Improvements + +* <<.link-badge-added "https://github.com/Jermolene/TiddlyWiki5/pull/7004">> support for nested [[macro definitions|Macro Definitions in WikiText]] +* <<.link-badge-added "https://github.com/Jermolene/TiddlyWiki5/pull/6976">> support for [[SystemTag: $:/tags/ClassFilters/TiddlerTemplate]] and [[SystemTag: $:/tags/ClassFilters/PageTemplate]] to assign dynamic CSS classes to both tiddler frames and the page template +* <<.link-badge-improved "https://github.com/Jermolene/TiddlyWiki5/commit/c5d3d4c26e8fe27f272dda004aec27d6b66c4f60">> safe mode to disable wiki store indexers +* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/commit/166a1565843878083fb1eba47c73b8e67b78400d">> safe mode to prevent globally disabling parser rules +* <<.link-badge-extended "https://github.com/Jermolene/TiddlyWiki5/pull/6735">> keyboard shortcut handling to allow to global shortcuts to override all other shortcuts +* <<.link-badge-extended "https://github.com/Jermolene/TiddlyWiki5/commit/965bd090a905f5756e79124b698c894f7f72ad5b">> [[list-links Macro]] to allow the rendered field to be overriden +* <<.link-badge-improved "https://github.com/Jermolene/TiddlyWiki5/pull/6913">> [[Table-of-Contents Macros]] to allow the default icons to be overridden +* <<.link-badge-added "https://github.com/Jermolene/TiddlyWiki5/pull/6939">> ''data-tags-*'' and ''data-tiddler-title'' attributes to the edit preview area +* <<.link-badge-extended "https://github.com/Jermolene/TiddlyWiki5/pull/5947">> [[timeline Macro]] to override the link template +* <<.link-badge-added "https://github.com/Jermolene/TiddlyWiki5/pull/7043">> support for Unix epoch timestamps in [[date format strings|DateFormat]] +* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/pull/7064">> the "big green download button" to use the defined palette colour +* <<.link-badge-added "https://github.com/Jermolene/TiddlyWiki5/pull/7063">> new hidden setting [[to use horizontal tabs for the "more" sidebar tab|Hidden Setting: More Tabs Horizontal]] +* <<.link-badge-extended "https://github.com/Jermolene/TiddlyWiki5/commit/bef11fe6a25fb849dee40c4aa4337d6a30daf0b4">> the [[external JavaScript templates|Using the external JavaScript template]] to allow the URL of the external script file to be configured + +! Bug Fixes + +* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/pull/7099">> truncated search results on small screens +* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/pull/7010">> table contents overflow on small screens +* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/commit/fb34df84ed41882c1c2a6ff54f0e908b43ef95a3">> "new image" keyboard shortcut not to assign journal tags +* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/pull/6987">> SelectWidget class to update if it uses a filter +* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/issues/7017">> issue with wikification within the advanced search filter dropdown +* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/pull/7057">> the table in $:/Import to avoid creating hidden empty rows +* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/issues/7008">> advanced search keyboard shortcut not navigating correctly +* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/issues/7083">> erroneous display of drafts within the advanced search filter dropdown +* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/pull/7092">> backwards compatibility of new field editor cascade introduced in v5.2.3 + +! Node.js Improvements + +* <<.link-badge-added "https://github.com/Jermolene/TiddlyWiki5/pull/7073">> new CommandsCommand to enable command tokens to be dynamically generated from a filter +* <<.link-badge-improved "https://github.com/Jermolene/TiddlyWiki5/pull/6947">> console logging to avoid spaces and `` message +* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/pull/7014">> problem with lazy loading deleting tiddler bodies under certain circumstances +* <<.link-badge-fixed "https://github.com/Jermolene/TiddlyWiki5/commit/344110e2890caf711ab8f3c4f4deaa7d86771231">> handling of ".mp4" file extension so that it defaults to video not audio +* <<.link-badge-added "https://github.com/Jermolene/TiddlyWiki5/pull/6588">> test server to the plugin library edition +* <<.link-badge-added "https://github.com/Jermolene/TiddlyWiki5/pull/7049">> [[Hidden Setting: Sync Logging]] to control logging of sync-related messages +* <<.link-badge-updated "https://github.com/Jermolene/TiddlyWiki5/pull/6944">> Jasmine plugin to require the explicit use of the `--test` command in order to cause the tests to be run + +! Performance Improvements + +* <<.link-badge-improved "https://github.com/Jermolene/TiddlyWiki5/commit/53d229592df76c6dd607e40be5bea4d5e063c48e">> performance of `wiki.getTiddler()` +* <<.link-badge-improved "https://github.com/Jermolene/TiddlyWiki5/commit/81ac9874846b3ead275f67010fcfdb49f3d2f43c">> performance of variable prototype chain handling +* <<.link-badge-improved "https://github.com/Jermolene/TiddlyWiki5/pull/6056">> performance of list handling during filter processing + +! Acknowledgements + +[[@Jermolene|https://github.com/Jermolene]] would like to thank the contributors to this release who have generously given their time to help improve TiddlyWiki: + +<<.contributors """ +""">> diff --git a/editions/prerelease/tiddlers/system/PrereleaseOfficialPluginLibrary.tid b/editions/prerelease/tiddlers/system/PrereleaseOfficialPluginLibrary.tid index a119d4095..b9ffb0fce 100644 --- a/editions/prerelease/tiddlers/system/PrereleaseOfficialPluginLibrary.tid +++ b/editions/prerelease/tiddlers/system/PrereleaseOfficialPluginLibrary.tid @@ -1,6 +1,6 @@ title: $:/config/OfficialPluginLibrary tags: $:/tags/PluginLibrary -url: https://tiddlywiki.com/prerelease/library/v5.2.5/index.html +url: https://tiddlywiki.com/prerelease/library/v5.2.6/index.html caption: {{$:/language/OfficialPluginLibrary}} (Prerelease) The prerelease version of the official ~TiddlyWiki plugin library at tiddlywiki.com. Plugins, themes and language packs are maintained by the core team. diff --git a/editions/tw5.com/tiddlers/community/resources/RegExp in Tiddlywiki by Mohammad.tid b/editions/tw5.com/tiddlers/community/resources/RegExp in Tiddlywiki by Mohammad.tid index 0ade3cbe5..df4df2559 100644 --- a/editions/tw5.com/tiddlers/community/resources/RegExp in Tiddlywiki by Mohammad.tid +++ b/editions/tw5.com/tiddlers/community/resources/RegExp in Tiddlywiki by Mohammad.tid @@ -5,7 +5,7 @@ title: RegExp in Tiddlywiki by Mohammad type: text/vnd.tiddlywiki url: http://tw-regexp.tiddlyspot.com/ -~RegExp in Tiddlywiki contains practical use cases of reular expression in Tiddlywiki. +~RegExp in Tiddlywiki contains practical use cases of regular expression in Tiddlywiki. {{!!url}} diff --git a/editions/tw5.com/tiddlers/community/resources/_file-backups_ Extension Firefox by pmario.tid b/editions/tw5.com/tiddlers/community/resources/_file-backups_ Extension Firefox by pmario.tid index e023a34d9..aa111108e 100644 --- a/editions/tw5.com/tiddlers/community/resources/_file-backups_ Extension Firefox by pmario.tid +++ b/editions/tw5.com/tiddlers/community/resources/_file-backups_ Extension Firefox by pmario.tid @@ -11,7 +11,7 @@ title: "file-backups" Extension for Firefox by pmario type: text/vnd.tiddlywiki url: https://github.com/pmario/file-backups -An extension for Mozilla Firefox that smoothes out some of the friction from ~TiddlyWiki's built-in [[HTML5 fallback saver|Saving with the HTML5 fallback saver]], making it almost as easy to use as ~TiddlyFox. The workflow is intended to work out of the box, without configuration. +An extension for Mozilla Firefox that smoothes out some of the friction from ~TiddlyWiki's built-in [[HTML5 saver|Saving with the HTML5 saver]], making it almost as easy to use as ~TiddlyFox. The workflow is intended to work out of the box, without configuration. https://github.com/pmario/file-backups which contains links to the documentation and introduction video(s). diff --git a/editions/tw5.com/tiddlers/community/resources/_savetiddlers_ Extension for Chrome and Firefox by buggyj.tid b/editions/tw5.com/tiddlers/community/resources/_savetiddlers_ Extension for Chrome and Firefox by buggyj.tid index 1eaa83302..f000b92c9 100644 --- a/editions/tw5.com/tiddlers/community/resources/_savetiddlers_ Extension for Chrome and Firefox by buggyj.tid +++ b/editions/tw5.com/tiddlers/community/resources/_savetiddlers_ Extension for Chrome and Firefox by buggyj.tid @@ -11,6 +11,6 @@ title: "savetiddlers" Extension for Chrome and Firefox by buggyj type: text/vnd.tiddlywiki url: https://github.com/buggyj/savetiddlers -An extension for Google Chrome and Mozilla Firefox that smoothes out some of the friction from TiddlyWiki's built-in [[HTML5 fallback saver|Saving with the HTML5 fallback saver]], making it almost as easy to use as TiddlyFox once it is set up correctly. +An extension for Google Chrome and Mozilla Firefox that smoothes out some of the friction from TiddlyWiki's built-in [[HTML5 saver|Saving with the HTML5 saver]], making it almost as easy to use as TiddlyFox once it is set up correctly. https://github.com/buggyj/savetiddlers diff --git a/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Chrome.tid b/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Chrome.tid index 3d38fe8e8..34da6089f 100644 --- a/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Chrome.tid +++ b/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Chrome.tid @@ -5,6 +5,6 @@ tags: GettingStarted title: GettingStarted - Chrome type: text/vnd.tiddlywiki -TiddlyWiki on Google Chrome can only save changes using the HTML5-compatible fallback saver module. +TiddlyWiki on Google Chrome can only save changes using the HTML5-compatible saver module. -{{Saving with the HTML5 fallback saver}} +{{Saving with the HTML5 saver}} diff --git a/editions/tw5.com/tiddlers/hellothere/HelloThere.tid b/editions/tw5.com/tiddlers/hellothere/HelloThere.tid index 044c9cfb5..bcb85c071 100644 --- a/editions/tw5.com/tiddlers/hellothere/HelloThere.tid +++ b/editions/tw5.com/tiddlers/hellothere/HelloThere.tid @@ -1,6 +1,6 @@ created: 20130822170200000 list: [[A Gentle Guide to TiddlyWiki]] [[Discover TiddlyWiki]] [[Some of the things you can do with TiddlyWiki]] [[Ten reasons to switch to TiddlyWiki]] Examples [[What happened to the original TiddlyWiki?]] -modified: 20221213163110439 +modified: 20221219184500440 tags: TableOfContents title: HelloThere type: text/vnd.tiddlywiki diff --git a/editions/tw5.com/tiddlers/images/New Release Banner.png b/editions/tw5.com/tiddlers/images/New Release Banner.png index 5bc4a005d..6cacb3e3d 100644 Binary files a/editions/tw5.com/tiddlers/images/New Release Banner.png and b/editions/tw5.com/tiddlers/images/New Release Banner.png differ diff --git a/editions/tw5.com/tiddlers/releasenotes/Release 5.2.4.tid b/editions/tw5.com/tiddlers/releasenotes/Release 5.2.4.tid index 822ef8651..46a2ea4df 100644 --- a/editions/tw5.com/tiddlers/releasenotes/Release 5.2.4.tid +++ b/editions/tw5.com/tiddlers/releasenotes/Release 5.2.4.tid @@ -14,6 +14,10 @@ type: text/vnd.tiddlywiki url:"https://raw.githubusercontent.com/Jermolene/TiddlyWiki5/0dc30086e933cf2272cddb076a9fcbedad252735/editions/tw5.com/tiddlers/images/New%20Release%20Banner.png" >> +! Important Update + +After the release of v5.2.5, we found some backwards compatibility issues with the stylesheet changes in [[#7039|https://github.com/Jermolene/TiddlyWiki5/pull/7039]] and [[#6910|https://github.com/Jermolene/TiddlyWiki5/pull/6910]]. We have therefore decided to make a rapid bug fix [[Release 5.2.5]] to resolve these issues, and all users should upgrade to the new version. + ! Major Improvements New [ext[Twitter Archivist|./editions/twitter-archivist]] plugin to import the tweets and associated media from a Twitter Archive as individual tiddlers. diff --git a/editions/tw5.com/tiddlers/releasenotes/Release 5.2.5.tid b/editions/tw5.com/tiddlers/releasenotes/Release 5.2.5.tid new file mode 100644 index 000000000..4ada9efa4 --- /dev/null +++ b/editions/tw5.com/tiddlers/releasenotes/Release 5.2.5.tid @@ -0,0 +1,25 @@ +caption: 5.2.5 +created: 20221219184500440 +modified: 20221219184500440 +released: 20221219184500440 +tags: ReleaseNotes +title: Release 5.2.5 +type: text/vnd.tiddlywiki + +//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.2.4...v5.2.5]]// + +<<.banner-credits + credit:"""Congratulations to [[dmikh|https://talk.tiddlywiki.org/u/dmikh]] for their winning design for the banner for this release (here is the [[competition thread|https://talk.tiddlywiki.org/t/new-release-banner-competition-for-v5-2-4/4982]] and the [[voting thread|https://talk.tiddlywiki.org/t/vote-for-the-v5-2-4-new-release-banner/5140/2]]). +""" + url:"https://raw.githubusercontent.com/Jermolene/TiddlyWiki5/25b8f26073504dace56a5537f29c8bff0ead2acd/editions/tw5.com/tiddlers/images/New%20Release%20Banner.png" +>> + +This is a bug fix release intended to resolve backwards compatibility issues discovered in v5.2.4. See [[this GitHub ticket|https://github.com/Jermolene/TiddlyWiki5/issues/7126]] for the background. + +The issues are entirely cosmetic stylesheet changes, and do not affect the functionality of TiddlyWiki. However, we encourage all users to upgrade to this new version for consistency. + +Since v5.2.5 replaces v5.2.4 that was only released for a week, here is the [[release note for v5.2.4|Release 5.2.4]]. + +! Release Note for v5.2.4 + +{{Release 5.2.4}} diff --git a/editions/tw5.com/tiddlers/saving/Saving with the HTML5 fallback saver.tid b/editions/tw5.com/tiddlers/saving/Saving with the HTML5 fallback saver.tid index d1d9a67a8..069740162 100644 --- a/editions/tw5.com/tiddlers/saving/Saving with the HTML5 fallback saver.tid +++ b/editions/tw5.com/tiddlers/saving/Saving with the HTML5 fallback saver.tid @@ -1,27 +1,7 @@ -caption: Download Saver -color: #7986CB created: 20131129092604900 -delivery: Saver -description: Slightly awkward but universal technique that works on almost every browser -method: save modified: 20200507202835577 -tags: Chrome Firefox [[Internet Explorer]] Opera Safari Saving Edge -title: Saving with the HTML5 fallback saver +tags: +title: Saving with the HTML5 saver type: text/vnd.tiddlywiki -This method of saving changes is clunky because it requires manual intervention for each save. It has the advantage of working on almost all desktop browsers, and many mobile browsers. - -# [[Download]] an empty TiddlyWiki by clicking this button: -#> {{$:/editions/tw5.com/snippets/download-empty-button}} -#> If the button doesn't work save this link: https://tiddlywiki.com/empty.html -#> Your browser may ask you to accept the download before it begins -# Locate the file you just downloaded -#* You may rename it, but be sure to keep the `.html` or `.htm` extension -# Open the file in your browser -# Try creating a new tiddler using the ''new tiddler'' <<.icon $:/core/images/new-button>> button in the sidebar. Type some content for the tiddler, and click the <<.icon $:/core/images/done-button>> ''ok'' button -# Save your changes by clicking the <<.icon $:/core/images/save-button>> ''save changes'' button in the sidebar -# Your browser will download a new copy of the wiki incorporating your changes -# Locate the newly downloaded file and open it in your browser -# Verify that your changes have been saved correctly - -''Tip'': most browsers have an option to prompt each time for the download location. This allows you to select the existing version of the file and replace it. +See [[Saving with the HTML5 saver]] \ No newline at end of file diff --git a/editions/tw5.com/tiddlers/saving/Saving with the HTML5 saver.tid b/editions/tw5.com/tiddlers/saving/Saving with the HTML5 saver.tid new file mode 100644 index 000000000..5b38d3635 --- /dev/null +++ b/editions/tw5.com/tiddlers/saving/Saving with the HTML5 saver.tid @@ -0,0 +1,27 @@ +caption: Download Saver +color: #7986CB +created: 20221210215207986 +delivery: Saver +description: Universal technique that works on almost every browser +method: save +modified: 20221210215716269 +tags: Chrome Firefox [[Internet Explorer]] Opera Safari Saving Edge Windows Mac Linux Android iOS +title: Saving with the HTML5 saver +type: text/vnd.tiddlywiki + +This is the default method of saving if no other method is installed. It uses your browser's built-in "download a file" handler, and has the advantage of working on almost all desktop browsers, and many mobile browsers. + +# [[Download]] an empty TiddlyWiki by clicking this button: +#> {{$:/editions/tw5.com/snippets/download-empty-button}} +#> If the button doesn't work save this link: https://tiddlywiki.com/empty.html +#> Your browser may ask you to accept the download before it begins +# Locate the file you just downloaded +#* You may rename it, but be sure to keep the `.html` or `.htm` extension +# Open the file in your browser +# Try creating a new tiddler using the ''new tiddler'' <<.icon $:/core/images/new-button>> button in the sidebar. Type some content for the tiddler, and click the <<.icon $:/core/images/done-button>> ''ok'' button +# Save your changes by clicking the <<.icon $:/core/images/save-button>> ''save changes'' button in the sidebar +# Your browser will download a new copy of the wiki incorporating your changes +# Locate the newly downloaded file and open it in your browser +# Verify that your changes have been saved correctly + +''Tip'': most browsers have an option to prompt each time for the download location. This allows you to select the existing version of the file and replace it. diff --git a/licenses/cla-individual.md b/licenses/cla-individual.md index b1af82fcc..74bd4bed1 100644 --- a/licenses/cla-individual.md +++ b/licenses/cla-individual.md @@ -501,3 +501,5 @@ Nathaniel Knight, @nathanielknight, 2022/07/26 HuanCheng Bai, @bestony, 2022/09/17 Carlo Colombo, @carlo-colombo, 2022/11/30 + +Wincent Balin, @wincentbalin, 2022/12/18 diff --git a/package.json b/package.json index 24023f900..1d0d46415 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "tiddlywiki", "preferGlobal": "true", - "version": "5.2.5-prerelease", + "version": "5.2.6-prerelease", "author": "Jeremy Ruston ", "description": "a non-linear personal web notebook", "contributors": [ diff --git a/readme.md b/readme.md index 548018899..fb82c6b4e 100644 --- a/readme.md +++ b/readme.md @@ -1,7 +1,7 @@

Welcome to TiddlyWiki, a non-linear personal web notebook that anyone can use and keep forever, independently of any corporation.

TiddlyWiki is a complete interactive wiki in JavaScript. It can be used as a single HTML file in the browser or as a powerful Node.js application. It is highly customisable: the entire user interface is itself implemented in hackable WikiText.

Learn more and see it in action at https://tiddlywiki.com/

Developer documentation is in progress at https://tiddlywiki.com/dev/

Join the Community

Official Forums

The new official forum for talking about TiddlyWiki: requests for help, announcements of new releases and plugins, debating new features, or just sharing experiences. You can participate via the associated website, or subscribe via email.

https://talk.tiddlywiki.org/

Note that talk.tiddlywiki.org is a community run service that we host and maintain ourselves. The modest running costs are covered by community contributions.

For the convenience of existing users, we also continue to operate the original TiddlyWiki group (hosted on Google Groups since 2005):

https://groups.google.com/group/TiddlyWiki

Developer Forums

There are several resources for developers to learn more about TiddlyWiki and to discuss and contribute to its development.

Other Forums

Documentation

There is also a discussion group specifically for discussing TiddlyWiki documentation improvement initiatives: https://groups.google.com/group/tiddlywikidocs

-

Installing TiddlyWiki on Node.js

  1. Install Node.js
    • Linux:
      Debian/Ubuntu:
      apt install nodejs
      May need to be followed up by:
      apt install npm
      Arch Linux
      yay -S tiddlywiki
      (installs node and tiddlywiki)
    • Mac
      brew install node
    • Android
    • Other
  2. Open a command line terminal and type:
    npm install -g tiddlywiki
    If it fails with an error you may need to re-run the command as an administrator:
    sudo npm install -g tiddlywiki (Mac/Linux)
  3. Ensure TiddlyWiki is installed by typing:
    tiddlywiki --version
    • In response, you should see TiddlyWiki report its current version (eg "5.2.4". You may also see other debugging information reported.)
  4. Try it out:
    1. tiddlywiki mynewwiki --init server to create a folder for a new wiki that includes server-related components
    2. tiddlywiki mynewwiki --listen to start TiddlyWiki
    3. Visit http://127.0.0.1:8080/ in your browser
    4. Try editing and creating tiddlers
  5. Optionally, make an offline copy:
    • click the save changes button in the sidebar, OR
    • tiddlywiki mynewwiki --build index

The -g flag causes TiddlyWiki to be installed globally. Without it, TiddlyWiki will only be available in the directory where you installed it.

If you are using Debian or Debian-based Linux and you are receiving a node: command not found error though node.js package is installed, you may need to create a symbolic link between nodejs and node. Consult your distro's manual and whereis to correctly create a link. See github issue 1434.

Example Debian v8.0: sudo ln -s /usr/bin/nodejs /usr/bin/node


+

Installing TiddlyWiki on Node.js

  1. Install Node.js
    • Linux:
      Debian/Ubuntu:
      apt install nodejs
      May need to be followed up by:
      apt install npm
      Arch Linux
      yay -S tiddlywiki
      (installs node and tiddlywiki)
    • Mac
      brew install node
    • Android
    • Other
  2. Open a command line terminal and type:
    npm install -g tiddlywiki
    If it fails with an error you may need to re-run the command as an administrator:
    sudo npm install -g tiddlywiki (Mac/Linux)
  3. Ensure TiddlyWiki is installed by typing:
    tiddlywiki --version
    • In response, you should see TiddlyWiki report its current version (eg "5.2.5". You may also see other debugging information reported.)
  4. Try it out:
    1. tiddlywiki mynewwiki --init server to create a folder for a new wiki that includes server-related components
    2. tiddlywiki mynewwiki --listen to start TiddlyWiki
    3. Visit http://127.0.0.1:8080/ in your browser
    4. Try editing and creating tiddlers
  5. Optionally, make an offline copy:
    • click the save changes button in the sidebar, OR
    • tiddlywiki mynewwiki --build index

The -g flag causes TiddlyWiki to be installed globally. Without it, TiddlyWiki will only be available in the directory where you installed it.

If you are using Debian or Debian-based Linux and you are receiving a node: command not found error though node.js package is installed, you may need to create a symbolic link between nodejs and node. Consult your distro's manual and whereis to correctly create a link. See github issue 1434.

Example Debian v8.0: sudo ln -s /usr/bin/nodejs /usr/bin/node


You can also install prior versions like this:
npm install -g tiddlywiki@5.1.13

Using TiddlyWiki on Node.js

TiddlyWiki5 includes a set of commands for use on the command line to perform an extensive set of operations based on TiddlyWikiFolders, TiddlerFiles.

For example, the following command loads the tiddlers from a TiddlyWiki HTML file and then saves one of them in static HTML:

tiddlywiki --verbose --load mywiki.html --rendertiddler ReadMe ./readme.html

Running tiddlywiki from the command line boots the TiddlyWiki kernel, loads the core plugins and establishes an empty wiki store. It then sequentially processes the command line arguments from left to right. The arguments are separated with spaces.

New in: 5.1.20 First, there can be zero or more plugin references identified by the prefix + for plugin names or ++ for a path to a plugin folder. These plugins are loaded in addition to any specified in the TiddlyWikiFolder.

The next argument is the optional path to the TiddlyWikiFolder to be loaded. If not present, then the current directory is used.

The commands and their individual arguments follow, each command being identified by the prefix --.

tiddlywiki [+<pluginname> | ++<pluginpath>] [<wikipath>] [--<command> [<arg>[,<arg>]]]

For example:

tiddlywiki --version
 tiddlywiki +plugins/tiddlywiki/filesystem +plugins/tiddlywiki/tiddlyweb mywiki --listen
diff --git a/themes/tiddlywiki/vanilla/base.tid b/themes/tiddlywiki/vanilla/base.tid
index 7dccf1894..bcb6954ec 100644
--- a/themes/tiddlywiki/vanilla/base.tid
+++ b/themes/tiddlywiki/vanilla/base.tid
@@ -88,9 +88,7 @@ html button {
 	color: <>;
 	fill: <>;
 	background: <>;
-	border: 1px solid <>;
-	border-radius: 3px;
-	padding: 2px 5px;
+	border-color: <>;
 }
 
 button:disabled svg {
@@ -226,27 +224,13 @@ dl dt {
 	margin-top: 6px;
 }
 
-/*
-** Definition for text input elements so they look consistent for all browsers
-*/
-
-textarea, input, select {
-	border: 2px solid <>;
-	background-color: <>;
-}
-
-/* Input elements accessibility -- overwrite the reset */
-:focus-visible {
-	outline: 2px solid <>;
-	outline-offset: -2px;    /* same as in reset.css [type='search'] but for more elements */
-}
-
 textarea,
 input[type=text],
 input[type=search],
 input[type=""],
 input:not([type]) {
 	color: <>;
+	background: <>;
 }
 
 input[type="checkbox"] {
@@ -330,7 +314,7 @@ table {
 }
 
 table th, table td {
-	padding: 4px 6px 4px 6px;
+	padding: 0 7px 0 7px;
 	border-top: 1px solid <>;
 	border-left: 1px solid <>;
 }