Release 1.5.7

This minor (but critical!) release fixes a longstanding bug in the WordPress version of NarraFirma that nobody noticed until today, when a user discovered and posted the issue. On the NarraFirma WordPress options page, if you entered a WordPress user id or role in the “read access” field of a project, and then deleted that id or role, NarraFirma granted anonymous read access to the project. This bug is now fixed.

We never thought to test this use case. More importantly, it never occurred to us that the HTML form on the NF settings page would return a blank string (instead of a null or other non-data result) when the user deleted the contents of a field. Because the user id of an anonymous WordPress user is not “anonymous” (or, again, null) but a blank string, the two fields matched up. Now NF specifically checks for an empty read-access permission string. We apologize for this mistake and hope that it has not affected any other WP-NF installations to date.

Note that this problem has never existed in the Node.js version of NF, in which an anonymous user is called “anonymous” and an empty permission string cannot be stored.

As always, if you find any bugs, please report them on the GitHub issues page.

Release 1.5.6

This minor (but critical!) release fixes a nasty bug I discovered while improving the help system. A few releases back, when I added an option to set the width of text input fields, I accidentally disconnected the story-name field from its on-change method. This could cause the survey to refuse to save a story (because it thought the story had no name). I am surprised, and sorry, that I made this mistake, and I’m also very surprised that I didn’t catch it in my testing. It’s fixed now, but the whole thing does make me think that automated regression testing ought to move up in the NF priority list for next year.

There are a few other, smaller bug fixes in this release, plus improvements to the help system, which was what led me to find the nasty bug in the first place. All of this was prompted by some excellent feedback from a NarraFirma user, who suggested clarifications in the help system and found one of the smaller bugs. Thank you, user :)

As always, if you find any bugs, please report them on the GitHub issues page.

Release 1.5.5

This minor (but critical!) release fixes a bug I recently introduced into NarraFirma’s WordPress PHP code. When you installed NarraFirma and clicked on the “NarraFirma” line on your WordPress dashboard, you might have seen a blank screen, and you might have seen the error “Call to undefined function.” This bug is now fixed. I extend my apologies to anyone who got stuck on it and my thanks to the NF user who reported it.

As always, if you find any bugs, please report them on the GitHub issues page.