Opened at 2006-07-31T12:44:00Z
Last modified at 2007-07-11T13:25:48Z
#191 new defect
[patch] Automatic ignoring, rejecting or accepting queries
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | BitlBee | Version: | 1.0.3 |
Keywords: | query authorization | Cc: | |
IRC client+version: | Client-independent | Operating System: | Linux |
OS version/distro: |
Description
Here I wrote a patch which adds 4 new configuration options: query_auto_ignore
, query_auto_reject
, query_auto_accept
and query_auto_display
. The first three allows user to set a regexp (it's not a regexp really, just a set of strings separated by a pipe character) which, if is matched by the authorisation request, The last option defines if info should be written when query is ignored, rejected or accepted.
For example, one can set query_auto_ignore
to http://|https://|ftp://
to ignore requests containing URLS and query_auto_accept
to |
(single pipe character) to accept all other requests.
I only attach patch for 1.0.3, any patches for any further versions will be available here: http://mina86.com/files
Attachments (2)
Change History (4)
Changed at 2006-07-31T12:44:54Z by
Attachment: | bitlbee-1.0.3-query-auto.diff added |
---|
comment:1 Changed at 2006-08-01T16:52:53Z by
Hmm, looks interesting. The list of settings is getting a little bit filled up like this, but it could be nice to include it. I have to think of a way to keep the list a bit more clean...
You're still getting a lot of spam? It pretty much stopped here, after disabling the web-aware flag.
comment:2 Changed at 2006-08-01T21:46:24Z by
I enabled it again. ;) I don't think disabling webaware solves the problem and personally prefere having it turned on so that i can put the status icon on the web. Anyways, the patch allows also things other then ignoring. Personally, I am ignoring all reqeusts containing URLs and accept all other.
Changed at 2006-08-04T16:08:44Z by
Attachment: | bitlbee-1.0.3-query-auto.2.diff added |
---|
double free bug fixed when auto accepting or rejecting
Allows automatic ignoring, rejecting or accepting requests