http://www.tiddlywiki.com/beta/
There's a full list of changes at
http://trac.tiddlywiki.org/wiki/History. The highlights are:
* Automated core upgrades
* Sensible saving in Safari and Opera, via the newly signed
TiddlySaver java applet
* Easier customisation of toolbars through the new ToolbarCommands
shadow tiddler
* Usability improvements for ImportTiddlers
* New date format symbol TZD for ISO timezone support
* Support for multiple tag selection by holding down the control key
* Enhanced GradientMacro
...and several bug fixes
As ever, this release is very much a group effort, with valuable
contributions from MartinBudden, SaqImtiaz, BidiX, EricShulman, FND,
XavierVerges, JayFresh and many others. I appreciate everyone's help
very much, and I must apologise that I've been personally negligent in
letting this release lag so long after 2.3.0 back in December 2007.
Please reply to this message with any questions or comments. I'd very
much appreciate comments or improvements on the text for the user
interface of the new core upgrade process.
Cheers
Jeremy.
--
Jeremy Ruston
mailto:jer...@osmosoft.com
http://www.tiddlywiki.com
Good job, everyone!
I think this is an important step forward.
Before I get into overall testing, I have some concerns about the
upgrade mechanism (also posted on Trac[1]):
* using alert() to confirm the upgrade might be a bit crude - a
proper UI notification might be better here
* there is a link to CoreUpgrades on the community wiki - however,
that page does not exist yet (as discussed before, there are also some
issues with establishing that kind of "official" link between TiddlyWiki
itself and the community resource at this point)
* there is no check to prevent upgrading while viewing over HTTP
* it seems that an upgrade is performed regardless of whether a new
core version is available or not - a conditional message displaying the
current status would be highly desirable
About the last issue, checking for a new version before upgrading, this
could be achieved in a number of ways (as discussed in the original
thread[2]):
* Cook generates a simple version info file, which is checked when
opening the upgrade wizard
* instead of having Cook generate the version info file, the SVN
repository's version.js might be used.
* instead of using a version info file, the latest empty.html's
version info is checked
For obvious reasons, the first option is the most desirable one.
-- F.
[1] http://trac.tiddlywiki.org/ticket/554#comment:3
[2] http://groups.google.com/group/TiddlyWikiDev/t/c12866467a03f929/
I did look at some other options, but the thing here is that the modal
behaviour is desirable, and alert() is easier/shorter than trying to
emulate a modal dialogue with the DOM.
> * there is a link to CoreUpgrades on the community wiki - however,
> that page does not exist yet (as discussed before, there are also some
> issues with establishing that kind of "official" link between TiddlyWiki
> itself and the community resource at this point)
Yeah, I put it there so that people would comment on it :)
I like the idea of linking into the wiki, but yes we'll need some
content there before the beta finishes.
> * there is no check to prevent upgrading while viewing over HTTP
Ooops, thanks for that, could you very kindly raise a ticket?
> * it seems that an upgrade is performed regardless of whether a new
> core version is available or not - a conditional message displaying the
> current status would be highly desirable
> About the last issue, checking for a new version before upgrading, this
> could be achieved in a number of ways (as discussed in the original
> thread[2]):
> * Cook generates a simple version info file, which is checked when
> opening the upgrade wizard
> * instead of having Cook generate the version info file, the SVN
> repository's version.js might be used.
> * instead of using a version info file, the latest empty.html's
> version info is checked
> For obvious reasons, the first option is the most desirable one.
In the interests of keeping things simple, I favour the final option
because it doesn't require changes to the publication process. Could
you kindly ticket it?
Many thanks,
Jeremy
>
>
> -- F.
>
>
> [1] http://trac.tiddlywiki.org/ticket/554#comment:3
> [2] http://groups.google.com/group/TiddlyWikiDev/t/c12866467a03f929/
>
>
>
> >
>
--
I figured it was something like that - fair enough, that should do then.
> I like the idea of linking into the wiki, but yes we'll need some
> content there before the beta finishes.
>> * there is no check to prevent upgrading while viewing over HTTP
>
> Ooops, thanks for that, could you very kindly raise a ticket?
Done:
http://trac.tiddlywiki.org/ticket/584
> In the interests of keeping things simple, I favour the final option
> because it doesn't require changes to the publication process.
The problem with this approach is that it takes a rather long time to
load the entire empty.html.
Generally that's not a huge problem - but it kinda prevents an
(optional) macro to periodically check for updates...
> Could you kindly ticket it?
Done:
http://trac.tiddlywiki.org/ticket/585
-- F.
HOWEVER... there are several places in the TW240b1 core implementation
of the switchTheme() function that are still referencing
config.refreshers.
If they're core bugs, you shouldn't have to adjust your plugins though?!
Anyway, could you raise a ticket, maybe even submit a patch?
-- F.
Hmmm although thinking about it, I wonder if this translation
functionality mightn't be simpler if it was separate from the upgrade
process. We could, for instance, add a 'language' tab the backstage
area that let you select a translation lingo tiddler from
tiddlywiki.org to replace any currently loaded lingo tiddler. The
issue of ensuring that the lingo tiddlers were updated during an
upgrade could then be handled as a special case of the mechanism we'll
need for updating plugins during an upgrade.
Cheers
Jeremy
--
It's an interesting suggestion, and I've raised a ticket:
http://trac.tiddlywiki.org/ticket/589
However, I doubt that's gonna make it into the 2.4 release. (Beta
testing is mostly to root out bugs; new features should not be added at
this stage.)
-- F.
I agree with Jeremy - this should not be tied to the upgrade mechanism.
Also, where would we get the translations from - and how
reliable/complete are those we already have?
Without having thought about this too much, I tend to favor the plugin
route (as in language-pack tiddler), as I see no real benefit in a
built-in mechanism!?
Nevertheless, I've ticketed it:
http://trac.tiddlywiki.org/ticket/590
(Just to prevent misunderstandings, I think it's important to have a
convenient way to get a localized UI, so I'm not trying to shoot this down.)
Anyway, we should discuss this in a separate thread, as I suspect it's
not something that'll make it's way into the 2.4 release (seeing as
we're already in beta).
-- F.
In the code, duh!
Seriously though, that's a good catch. This kind of thing should be
documented on the community wiki - I'll see to that later on.
The ALT attribute is identical to the respective image's title (if
specified).
The SaveChanges macro now takes two optional parameters:
<<saveChanges [label] [tooltip]>>
-- F.
And so my horrible memory strikes again - I had added it already, about
a month ago:
http://www.tiddlywiki.org/wiki/SaveChanges_%28macro%29
-- F.
> let you select a translation lingo tiddler from
> tiddlywiki.org to replace any currently loaded lingo tiddler.
a little off-topic regarding the beta, hence subject change:
In writing some tests for the generateRSS function
I noticed the language element is hard-coded to "en-us".
Some thoughts:
1. if it's hard-coded, it should really be "en-US"
2. maybe this should be taken from "config.locale" value
which is asserted when loading a lingo, e.g.:
http://svn.tiddlywiki.org/Trunk/association/locales/core/zh-Hant/
locale.zh-Hant.js
3. TiddlyWiki.com could offer appropriate lingos based on the
browser language preferences:
http://www.w3.org/International/questions/qa-lang-priorities
Accessing the language from Javascript seems to be available
in most browsers using one of:
navigator.language
window.navigator.language,
navigator.browserLanguage
navigator.userLanguage
Good catch - seems like a bit of an oversight*.
We'll take care of that, probably releasing a second beta very soon.
-- F.
* actually, Jeremy intentionally put that in there to see whether
anyone's paying attention - looks like you're the only one...
Oooops, my mistake. There's supposed to be a little plugin called
BetaUpgradeTestPlugin that overwrites the upgrade source from
"http://www.tiddlywiki.com/empty.html" to point at the fake beta
upgrade at "http://www.tiddlywiki.com/beta/upgrade.html". However, the
plugin is only included in beta/index.html, and not beta/empty.html.
I'll upload a revised beta shortly, but in the meantime you can test
the upgrade mechanism either by importing that BetaUpgradeTestPlugin
from http://www.tiddlywiki.com/beta/index.html, or by testing with
index.html instead of empty.html.
Cheers
Jeremy
>
> Also, Eric, I know you probably have stuff in the new core that many
> of us have used Core Tweaks or perhaps plugins for; would it be a pain
> to post a list of what we can delete now?
>
> Thanks,
>
>
> R.
>
> >
>
--
http://www.tiddlywiki.com/upgrade/
since the only people doing upgrades are people with the beta. This
means we test the actual upgrade mechanism, rather than a proxy.
(Of course for 2.5, or whatever the next release is, we *will* need to
have a beta upgrade path, eg
http://www.tiddlywiki.com/beta/upgrade/
)
Note also I'm using a more descriptive pathname for the upgrade as well.
Martin