🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #79789

Re: Cleanfeed Webpages

#79789
From: Matija Nalis
Date: Sun, 30 Nov 2008 22:12
35 lines
2730 bytes
On Sat, 29 Nov 2008 21:55:03 +0000 (UTC), Steve <steve@mixmin.net> wrote:
> Hi, thanks for highlighting that one.  The logic for that check seems a
> bit odd to me.  It will use the active file if a location is specified,
> regardless of whether INN::newsgroup is defined or not.  If

It seems in accordance with UN*X ideology - always allowing the superuser to
shoot himself in the foot if he wants to :-)

> INN::newsgroup is the preferred method of checking for moderated groups,
> then it should use that method (if possible) even if an active file is
> specified.

In regular case, I think it is preferred, as you don't need to reload the
filter to get changed moderated status. 

However, although I didn't see it used that way, there *might* be a reason
that newsadmin wants to specify active_file diferent than '' to cleanfeed
even when using INN, for example to force different filter behaviour for
some groups (make them look like they're moderated or unmoderated,
regardless of their real [pseudo]moderation status)

So, as current code gives the newsadmin the widest range of possibilities to
choose from, and the fact there is no good reason the change current
behaviour that somebody might be depending on, I think the code should be
kept as it is.

> Either way I need to update the description of the active_file option.
> Should I also change the order of the logic to use INN::newsgroup
> whenever possible?

I'd probably just update to docs to say that active_file = '' is preffered
unless you have very good reason to do otherwise, and leave the code as-is.

-- 
Opinions above are GNU-copylefted.
Technical Details
Message-ID: <slrngj63v7.fdu.mnalis-news@eagle102.home.lan>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!tudelft.nl!txtfeed1.tudelft.nl!newsfeed.CARNet.hr!not-for-mail
References: <slrngj003s.fes.steve@news.mixmin.net> <slrngj37l5.ge6.mnalis-news@eagle102.home.lan> <slrngj3ehn.fes.steve@news.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrngj63v7.fdu.mnalis-news@eagle102.home.lan>
Subject: Re: Cleanfeed Webpages
Date: Sun, 30 Nov 2008 23:12:55 +0100
From: Matija Nalis <mnalis-news@voyager.hr>
References: <slrngj003s.fes.steve@news.mixmin.net> <slrngj37l5.ge6.mnalis-news@eagle102.home.lan> <slrngj3ehn.fes.steve@news.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!tudelft.nl!txtfeed1.tudelft.nl!newsfeed.CARNet.hr!not-for-mail
Newsgroups: news.software.nntp
Organization: CARNet, Croatia
Lines: 35
NNTP-Posting-Host: 193.198.179.237
X-Trace: news2.carnet.hr 1228083174 24494 193.198.179.237 (30 Nov 2008
X-Complaints-To: abuse@CARNet.hr
NNTP-Posting-Date: Sun, 30 Nov 2008 22:12:54 +0000 (UTC)
Cancel-Lock: sha1:x1pRANGWHqhdAq/d42417PXOpw4=
User-Agent: slrn/0.9.8.1pl1 (Debian)