Hi Hans!
A very warm welcome to you! I hope BoltWire can be of some use to you,
or at least stimulate some ideas that would be a help to you, in your
work with PmWiki. I suspect you'll find some features here you will
really like. I know many of the requests I read on the maillist there,
we've been doing a long time. Maybe you can take some of these ideas
back to PmWiki.
Anyway, as for your specific question: you just stumbled onto a bug,
caused by some recent work I've been doing on BoltWire's data
handling. I'll fix for the next release. But here's what you can do to
repair it yourself in the meantime:
Change the form in the action.data page (in boltwire/barn/system) to this:
[form]
[t]
[(list '{data},{?fieldnames}' fmt="[if insource {p}:{+p} '\n'][r][c
top]{+p}: [c][box {+p} cols=50 rows=5
value={p}:{+p}][box][else][r][c]{+p}: [c][text {+p} '<(source
{p}:{+p} escape=false)>' size=60][if]")]
[r][c][c][submit DATA]
[t]
[session savedata '{data},{?fieldnames}']
[form]
Somehow the savedata line got deleted along the way, so it's not
saving properly. You can change it via the wiki, but then you have a
local copy of the action in your field, and you won't be able to take
advantage of any future upgrades to the data action.
Second, in commands.php, look for the BOLTXsavedata function (they are
organized alphabetically) and add this trim line:
foreach ($x as $xx) {
$xx = trim($xx);
Originally the {data} var did not have spaces, but on a page with a
lot of variables I noticed it breaking my skins so two releases ago a
added spaces. This fix should take care of that.
For what it's worth, here is one generalization I'd make of the
differences between PmWiki and BoltWire. BoltWire is small, fast, and
flexible--but it's also undergone, and continues to undergo a VERY
rapid pace of development. And we are just about to make a big jump to
3.xx. All this means there are lot's of changes and unfortunately
sometimes, bugs. PmWiki is a good bit more conservative, but it is
also rock solid. Anyway, welcome...
Cheers,
Dan
P.S. As for passwords, you should be able to change them with the data
action as long as you are logged in as an admin. If you look on page
site.auth.data you will notice you can specify who can see what data
fields can be retrieved by who. The data action can be used to save
them--though it not with encryption. There is a password changer
plugin that (I think) uses a crypt plugin which can give the needed
functionality, though the password changer is a bit old, and may not
to be updated. I have a newer one on my site I can share if it doesn't
work. Also, I just spotted a potential security vulnerability here,
but also an easy fix. I'll plug that for the next release also. Thanks
for your questions...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---