[TW5] Releasing 5.1.10

521 views
Skip to first unread message

Jeremy Ruston

unread,
Dec 24, 2015, 1:47:24 PM12/24/15
to TiddlyWiki
I’m keen to get 5.1.10 released early next week. Over the last few days I’ve been catching up on pull requests and tidying up, as discussed in this GitHub ticket:

https://github.com/Jermolene/TiddlyWiki5/issues/2143

I’ve just posted a new prerelease of 5.1.10:

http://tiddlywiki.com/prerelease

This is a great opportunity to give the new release a once over before the release. If you get a chance, please try:

* Experimentally upgrading your regular wikis to the prerelease (it’s still not advised to switch over to the new version until the official release)
* Check over the community links and shout here (or via a pull request) if you notice any useful resources that I’ve missed

The idea is to release 5.1.10 as quickly as possible; at this stage, if there’s anything controversial, I’d be inclined to just pull and postpone any such features until 5.1.11.

5.1.10 has been in development for a long time, and it’s a pretty significant upgrade. I’m particularly pleased to welcome many first time contributors to TiddlyWiki in the 27 or so people listed.

Best wishes

Jeremy.

c pa

unread,
Dec 29, 2015, 3:49:32 PM12/29/15
to TiddlyWiki, Tiddl...@googlegroups.com
Jeremy,

This is awesome. I am now going to rip out a bunch of the crazy hacks I have been using. This also allows me to add a bunch of functionality I couldn't previously make work. Thanks again.

ih...@newsfromgod.com

unread,
Dec 30, 2015, 1:25:18 PM12/30/15
to tiddl...@googlegroups.com

> * Experimentally upgrading your regular wikis to the prerelease (it’s
> still not advised to switch over to the new version until the
> official release)
> * Check over the community links and shout here (or via a pull
> request) if you notice any useful resources that I’ve missed
>
> The idea is to release 5.1.10 as quickly as possible; at this stage,
> if there’s anything controversial, I’d be inclined to just pull and
> postpone any such features until 5.1.11.
>
> 5.1.10 has been in development for a long time, and it’s a pretty
> significant upgrade. I’m particularly pleased to welcome many first
> time contributors to TiddlyWiki in the 27 or so people listed.
>
> Best wishes
>
> Jeremy.
>


Hi Jeremy,

  Thanks for this release! It is great!

  I think I found two bugs, one of them is a major one:
  1) Decryption/Encryption not working. To reproduce:
     -Open an empty wiki
     -Add a tiddler
     -Set password
     -Save wiki
     -Reload wiki and you will see the error

      You can also predict this will not work because if you load the empty wiki in Chrome
      with the developer console open, you will see the following Javascript error in the console:

      Uncaught SyntaxError: Unexpected identifier
      in firefox you get a more descriptive error in the console:
      SyntaxError: missing ; before statement

      It it pointing to the <script> tag that loads the stanford encryption library:
      <script data-tiddler-library="yes" data-tiddler-title="$:/library/sjcl.js" data-tiddler-type=....>

      So it is unable to load the Stanford encryption lib.

   2) I found what seems to be a bug with external lazy loaded tiddlers
      - I loaded 5.1.10 prerelease with Twexe
      - Created a Lazy Tiddler with _canonical_uri pointing to an external text file
      - Set the type to text/vnd.tiddlywiki
      - Saved the tiddler and reloaded the page
     
The XMLHTTP request is done, and the server returns the file with its content and a 200 OK response as I can see in the Network Tab of the developer console of Chrome:

   * But the tiddler text is never displayed and stays in the 'Loading external text from ext/t1.tid' message.

Thank you for the great work, to you and to all the contributors.

thanks

Eric Shulman

unread,
Dec 30, 2015, 2:10:09 PM12/30/15
to TiddlyWiki, Tiddl...@googlegroups.com
On Thursday, December 24, 2015 at 10:47:24 AM UTC-8, Jeremy Ruston wrote:
I’m keen to get 5.1.10 released early next week. Over the last few days I’ve been catching up on pull requests and tidying up, as discussed in this GitHub ticket:

with regard to this item:

* Extended the ActionSetFieldWidget to enable it to be used to delete a field or indexed property

Just to be clear.... with this change, if I write any of these
   <$action-setfield $tiddler="..." fieldname=""/>
   <$action-setfield $tiddler="..." $field="..." $value=""/>
   <$action-setfield $tiddler="..." $index="..." $value=""/>
it will not remove the field (or index) from the tiddler, but just set it to an empty string value.  However, if I completely omit the $value param, e.g.
   <$action-setfield $tiddler="..." $field="..."/>
   <$action-setfield $tiddler="..." $index="..."/>
it will completely remove the indicated field or index.

While this seems reasonable and convenient, some of this functionality (deleting a field) is already provided by
   <$action-deletefield $tiddler="..." $field="..."/>
What is needed to complete the picture is to extend $action-deletefield to support deleting an index:
   <$action-deletefield $tiddler="..." $index="..."/>

I've already made a modified version of the core widget definition for use in my InsideTiddlyWiki (ITW) project.  You can see the changed code here:

I'm not set up to generate a proper pull request for the change, but I invite you to consider making these changes (all marked with /* ELS */) in addition to the extension to $action-setfield that you've already done.  It's almost certainly too late for inclusion in 5.1.10, but at least it can be added for 5.1.11

-e

ih...@newsfromgod.com

unread,
Dec 30, 2015, 2:32:40 PM12/30/15
to tiddl...@googlegroups.com
>
> Hi Jeremy,
>
>   Thanks for this release! It is great!
>
>   I think I found two bugs, one of them is a major one:
>   1) Decryption/Encryption not working. To reproduce:
>      -Open an empty wiki
>      -Add a tiddler
>      -Set password
>      -Save wiki
>      -Reload wiki and you will see the error
>
>       You can also predict this will not work because if you load the
> empty wiki in Chrome
>       with the developer console open, you will see the following
> Javascript error in the console:
>
>       Uncaught SyntaxError: Unexpected identifier
>       in firefox you get a more descriptive error in the console:
>       SyntaxError: missing ; before statement
>
>       It it pointing to the <script> tag that loads the stanford
> encryption library:
>       <script data-tiddler-library="yes"
> data-tiddler-title="$:/library/sjcl.js" data-tiddler-type=....>
>
>       So it is unable to load the Stanford encryption lib.


Please ignore the problem with encryption, by mistake I was using an
old pre-release file that
had been corrupted.

I am still having the problem with the lazy loading though.

thanks


>
>    2) I found what seems to be a bug with external lazy loaded tiddlers
>       - I loaded 5.1.10 prerelease with Twexe
>       - Created a Lazy Tiddler with _canonical_uri pointing to an
> external text file
>       - Set the type to text/vnd.tiddlywiki
>       - Saved the tiddler and reloaded the page
>      
> The XMLHTTP request is done, and the server returns the file with its
> content and a 200 OK response as I can see in the Network Tab of the
> developer console of Chrome:
>
>    * But the tiddler text is never displayed and stays in the 'Loading
> external text from ext/t1.tid' message.
>
> Thank you for the great work, to you and to all the contributors.
>
> thanks
>
> --
> You received this message because you are subscribed to the Google
> Groups "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to tiddlywiki+...@googlegroups.com.
> To post to this group, send email to tiddl...@googlegroups.com.
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/20151230132506.Horde.O_qXKntRn87_rWl97bNc5EK%40www.newsfromgod.com.
> For more options, visit https://groups.google.com/d/optout.



Hegart Dmishiv

unread,
Dec 30, 2015, 5:37:59 PM12/30/15
to TiddlyWiki, Tiddl...@googlegroups.com
Hi @Jeremy, this will be the first time I've ever upgraded my TiddlyWiki. As you know, I haven't been using it for long, only a few months now. I tried to do a sample upgrade to the 5.1.10-prerelease, but I didn't know where to even begin. I did a search for "upgrade" in the prerelease version, and only found this: UpgradeMechanism. Where do I find this upgrade.html file, mentioned in step 1 of that tiddler? Am I even looking in the right place? Sorry for the noobish questions.

You've told me before that my dev instance, hosted on GitHub, will be upgraded automatically, so I'm looking forward to that happening when you roll out the latest version. It's my live (offline) TW instance that will need to be manually upgraded, so I thought I might have a go with a backup copy of my live, using the prerelease, to get the hang of upgrading ahead of the release.

Jed Carty

unread,
Dec 30, 2015, 6:12:59 PM12/30/15
to TiddlyWiki, Tiddl...@googlegroups.com
To upgrade go here and drag and drop your html file on the page. It also has a link to download the upgrader for offline use. To upgrade to the current release you use the url http://tiddlywiki.com/upgrade
It is a much simpler process than I thought it would be at first.

Hegart Dmishiv

unread,
Dec 30, 2015, 6:31:34 PM12/30/15
to tiddl...@googlegroups.com, Tiddl...@googlegroups.com
Ah, thanks for that Jed. My bad, I should have looked in the "all matches" results of my search. There was an "Upgrading" tiddler there that I didn't spot at first, giving the information you gave me here. Thanks for the reply though.

I have applied the upgrade of the prerelease to a backup of my live TW, and it went through just fine. My Control Panel now shows that file as running 5.1.10-prerelease, so that was very easy.

Smandoli

unread,
Dec 30, 2015, 11:30:46 PM12/30/15
to TiddlyWiki, Tiddl...@googlegroups.com
I converted my trial wiki from 5.1.9 to 5.1.10.  Everything looks great (DISCLAIMER: I have little idea what I am looking at).  However, I was surprised the Tight Theme doesn't seem to have made it through.

Questions:
  1. Why did the Tight Theme not show up on my upgraded wiki?
  2. Fine then, so can the Tight Theme go into the canonical plugin library? 
  3. Very well then, is there no (convenient) way to redirect the plugin manager, to change its source?  (Then one could change it to the 5.1.10 pre-release.)

Hegart Dmishiv

unread,
Dec 31, 2015, 7:10:04 PM12/31/15
to TiddlyWiki, Tiddl...@googlegroups.com
Great to see that 5.1.10 will include "a simple setting for disabling automatic linking of CamelCase words". Thanks for this, it is one issue which has really annoyed me about TW since I started using it. If I recall correctly, it was something I immediately stumbled over on the tiddlywiki.com website when I first started using TW, too. That "ViewTemplate" camelcase word on the TemplateTiddlers documentation tiddler was practically the first problem I came across while using TW for the first time. And I see it's still there, for now. Bring on 5.1.10, dude! :-)

CL

unread,
Jan 2, 2016, 2:36:51 AM1/2/16
to tiddl...@googlegroups.com, Tiddl...@googlegroups.com
One slight adjustment should be made for ViewTemplate subtitle date format for 5.1.10 which is,

$:/language/Tiddler/DateFormat
(DDth MMM YYYY at hh12:mmam)

The current date format does not display minute when I modify tiddler at hh:00(min).
I believe this format should be DDth MMM YYYY at hh12:0mmam

Jeremy Ruston

unread,
Jan 4, 2016, 3:10:07 PM1/4/16
to tiddl...@googlegroups.com
Hi CL

I think there is one slight adjustment should be made for subtitle date template for 5.1.10 which is,

Thanks, that’s very helpful. Corrected here:


Best wishes

Jeremy.


$:/language/Tiddler/DateFormat
(DDth MMM YYYY at hh12:mmam)

The current date format does not display minute when I modify tiddler at hh:00(min).
I believe this format should be DDth MMM YYYY at hh12:0mmam

--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
Reply all
Reply to author
Forward
0 new messages