A few days ago I released 0.57 to CPAN and as a Debian package. This includes, amongst other things, initial support for moderated notes, as one tool against spammers, along with an associated admin interface (wiki.cgi?action=admin).
They are both still being developed so will become easier to use in future. One thing to note is that currently nodes need to be set for moderation individually; in future, the option to require all notes to be moderated will be available.
Another minor issue with this release is that an extra navigation section was added defaulting to on, inappropriately. This has been fixed in SVN but until you have updated your stylesheets you may wish to add the following to your config files:
enable_common_categories = 0 enable_common_locales = 0
Again, this new feature is still in development.
Full changelog follows:
0.57 12 September 2006 New interfaces: * Admin interface. * Show nodes missing metadata. * Moderate edits (based on Wiki::Toolkit moderation). NOTE: these functions should be considered unstable, and may change over future releases.
Lots more Atom and RSS feeds, including for searching. Four new config file options: moderation_requires_password, enable_node_image, enable_common_categories, enable_common_locales Search::InvertedIndex support is deprecated as of this release. Please upgrade to Plucene if you are still using it. Tidy up some template bits
Cheers,
Dominic.
Hm, ok, so after performing an upgrade I've come across the following problems:
* In the install script, it says to copy over the wiki.cgi despite the file existing (and being read by the install script) - this is just confusing * ?action=admin doesn't work (instead it goes to the front page) * ?action=rc gives a Zero Sized Reply error and brings up this error in my error log: wiki.cgi: No recent_changes_link supplied at OpenGuides/Feed.pm line 260 * There appears to be no link to the admin page? * The licence notice has a space after the licence type link, rather than after the </a>. (See the Lancaster guide to see what I mean) * Can't we have the common locales and categories in the navbar, rather than at the bottom left of nodes? * What does enable_node_image do?
Some of these are problems with just the Lancaster guide. Does anyone know how to sort them out?
Clair
On Sat, 16 Sep 2006, Clair wrote:
- ?action=admin doesn't work (instead it goes to the front page)
Can you check that you only have one copy of Openguides.pm installed, and that the version of wiki.cgi is the one from the latest distribution?
- ?action=rc gives a Zero Sized Reply error and brings up this error in
my error log: wiki.cgi: No recent_changes_link supplied at OpenGuides/Feed.pm line 260
Seems to be working for me http://lancaster.openguides.org/wiki.cgi?action=rc
- There appears to be no link to the admin page?
Nope, we probably won't add one until it's finished
- Can't we have the common locales and categories in the navbar, rather
than at the bottom left of nodes?
That depends on your css settings. We're hoping to have some nicer examples of the css to include soon, they're just not quite finished yet. Another thing that does look good is to put them just next to the nav bar.
(The problem with the current config system is you can't say "Turn this new option on for new guides, but leave it off for old ones")
- What does enable_node_image do?
Allows people to give an image link for a node, which then gets rendered in a certain location (specific to your css). It works, but you need to tweak your css / use one of the new samples that aren't quite finished. You can see it on a test guide: http://ogtest.torchboxapps.com/wiki/wiki.cgi?The_Plough%2C_Finstock
Nick
Nick Burch wrote:
On Sat, 16 Sep 2006, Clair wrote:
- ?action=admin doesn't work (instead it goes to the front page)
Can you check that you only have one copy of Openguides.pm installed, and that the version of wiki.cgi is the one from the latest distribution?
I've just double checked this, it's the latest version. Also, while trying to submit changes I get this error message:
Can't locate object method "node_required_moderation" via package "Wiki::Toolkit" at lib/OpenGuides.pm line 1001.
- ?action=rc gives a Zero Sized Reply error and brings up this error in
my error log: wiki.cgi: No recent_changes_link supplied at OpenGuides/Feed.pm line 260
Seems to be working for me
Ah, that's odd, works for me too now :p
- There appears to be no link to the admin page?
Nope, we probably won't add one until it's finished
Makes sense :)
- Can't we have the common locales and categories in the navbar, rather
than at the bottom left of nodes?
That depends on your css settings. We're hoping to have some nicer examples of the css to include soon, they're just not quite finished yet. Another thing that does look good is to put them just next to the nav bar.
(The problem with the current config system is you can't say "Turn this new option on for new guides, but leave it off for old ones")
Ah, I couldn't find a way of doing it with CSS. Cheers :)
- What does enable_node_image do?
Allows people to give an image link for a node, which then gets rendered in a certain location (specific to your css). It works, but you need to tweak your css / use one of the new samples that aren't quite finished. You can see it on a test guide: http://ogtest.torchboxapps.com/wiki/wiki.cgi?The_Plough%2C_Finstock
Ah, right. Makes sense. Cheers :)
Clair
On Fri, 29 Sep 2006, Clair wrote:
Nick Burch wrote:
On Sat, 16 Sep 2006, Clair wrote:
- ?action=admin doesn't work (instead it goes to the front page)
Can you check that you only have one copy of Openguides.pm installed, and that the version of wiki.cgi is the one from the latest distribution?
I've just double checked this, it's the latest version. Also, while trying to submit changes I get this error message:
Can't locate object method "node_required_moderation" via package "Wiki::Toolkit" at lib/OpenGuides.pm line 1001.
I'd re-install the latest wiki::toolkit and OpenGuides packages. It looks to me like you've got a nasty mix of old and new code in there :(
Nick
On Mon, 2 Oct 2006, Clair wrote:
I'd re-install the latest wiki::toolkit and OpenGuides packages. It looks to me like you've got a nasty mix of old and new code in there :(
Ah yes, forgot to update wiki::toolkit. Editing seems to be working now, however, admin still returns a zero sized reply?
Can you check you wiki.cgi, and see if at line 85 you have:
} elsif ( $action eq 'admin' ) { $guide->display_admin_interface( moderation_completed => $q->param("moderation"), ); }
And then check your OpenGuides.pm to make sure that on line 1438 you have sub display_admin_interface {
Nick
Nick Burch wrote:
On Mon, 2 Oct 2006, Clair wrote:
I'd re-install the latest wiki::toolkit and OpenGuides packages. It looks to me like you've got a nasty mix of old and new code in there :(
Ah yes, forgot to update wiki::toolkit. Editing seems to be working now, however, admin still returns a zero sized reply?
Can you check you wiki.cgi, and see if at line 85 you have:
} elsif ( $action eq 'admin' ) { $guide->display_admin_interface( moderation_completed => $q->param("moderation"), ); }
And then check your OpenGuides.pm to make sure that on line 1438 you have sub display_admin_interface {
Hi Nick, indeed they both do.. double checked it was the latest version and everything.
I seem to have both a wiki.cgi and index.cgi though, and they both appear to be the same.
Clair
On Wed, 4 Oct 2006, Clair wrote:
indeed they both do.. double checked it was the latest version and everything.
This is most odd. You have the right versions, they're in the right place, contain the right code etc...
There's not any helpful errors in your apache error log, are there?
Otherwise we're going to have to add warn statements to your version until we can spot where it dies, fix it, then write unit tests for whatever what different on your version :/
Nick
Nick Burch wrote:
On Wed, 4 Oct 2006, Clair wrote:
indeed they both do.. double checked it was the latest version and everything.
This is most odd. You have the right versions, they're in the right place, contain the right code etc...
There's not any helpful errors in your apache error log, are there?
Otherwise we're going to have to add warn statements to your version until we can spot where it dies, fix it, then write unit tests for whatever what different on your version :/
Nope, no error message, just the zero sized error on the page itself. I guess it isn't much of a problem, since everything else seems to be working now. Hopefully things will improve the next upgrade
Clair
openguides-dev@lists.openguides.org