Elián Hanisch
b31a266933
keep ban list sorted by time
2010-04-02 14:01:57 -03:00
Elián Hanisch
44b07e6c10
use case insensible dicts here
2010-04-02 14:01:07 -03:00
Elián Hanisch
fffc4b58ed
run reviewBans every 10min
2010-04-02 13:59:34 -03:00
Elián Hanisch
e0c327cc0c
match operators by cloak/host instead of nick
2010-04-01 17:52:22 -03:00
Elián Hanisch
62ee6cf346
skip mutes
2010-04-01 12:48:19 -03:00
Elián Hanisch
bfd6a055c1
complete string message
2010-04-01 12:47:56 -03:00
Elián Hanisch
a7447c0bef
if not dabatase is set, db_run would return None and raise exception. fixed
2010-04-01 12:39:46 -03:00
Elián Hanisch
1807883da2
Use floats in reviewAfterTime, this is less confusing.
...
And make reviewTime option readonly
2010-03-31 00:03:13 -03:00
Elián Hanisch
3dd2f09769
reviewAfterTime is now stored in seconds, but when setting the value the unit
...
is days.
This saves the user for calculating how many seconds a day is, while allowing
me to set times of some seconds for automatic testing.
2010-03-30 17:13:00 -03:00
Elián Hanisch
e60e72a620
fix:
...
- self.name => self.name()
- syntax error
2010-03-30 16:22:10 -03:00
Elián Hanisch
6b3a33ce4c
instead of sending reviews immediately, enqueue them and send then the
...
next time the op says something, that way not only we make sure op is online,
but active as well.
2010-03-30 14:56:35 -03:00
Elián Hanisch
5dfe161bac
tweak reviewTime initialisation and comments++
2010-03-30 14:02:53 -03:00
Elián Hanisch
7c042b4a79
use a config option for store when we last checked for ban review.
...
That way we can skip bans already reviewed.
2010-03-30 13:32:28 -03:00
Elián Hanisch
82a5cd7d08
repeating function for check if bans need a review
2010-03-30 08:47:16 -03:00
Terence Simpson
298fe02fd9
Merge lp:~symphony/ubuntu-bots/bugfixes for bug #521516
2010-03-28 06:15:26 +01:00
Terence Simpson
39faf3143d
* Use deque in Bantracker for logs
...
* Get "realIrc" object in __init__ of IRCLogin, rather than constantly generating a new object
2010-03-28 04:34:17 +01:00
Elián Hanisch
43485fdc0f
new config option: commentRequest.type
...
For decide which events should trigger a comment request.
2010-03-17 07:14:07 -03:00
Elián Hanisch
5176697e2e
little refactoring and tweaks
...
conf.supybot.plugins.Bantracker => Bantracker (this is sorter)
2010-03-16 21:46:18 -03:00
Elián Hanisch
e087d47fc1
fix: nick matching wasn't really case insensible
2010-03-15 23:28:09 -03:00
Elián Hanisch
287038b1e3
cleaned a bit some config option names:
...
dontRequestComment => commentRequest.ignore
forwardRequest => commentRequest.forward
forwardChannels => commentRequest.forward.channels
2010-03-15 23:26:19 -03:00
Elián Hanisch
144291b933
In the case of quiets done by Chanserv, it would be nice to still remind
...
the op to comment on it, like sending a notice to #ubuntu-ops.
So two new options for this:
forwardRequest: list of nicks for which the request will be redirected
forwardChannels: list of channels where the redirected request will be send
2010-03-15 20:51:32 -03:00
Elián Hanisch
bf737d510f
tweak priv message so it displays the full command needed
2010-03-15 14:32:09 -03:00
Elián Hanisch
c88cc2bbd9
new config option "dontRequestComment"
...
for prevent sending messages to specific ops, like floodbots.
2010-03-15 13:12:51 -03:00
Elián Hanisch
fc99c36faf
this looks like a typo: "real_%s" => "%s_real"
2010-03-14 11:16:39 -03:00
Elián Hanisch
8da46db266
catch assert if mask isn't a hostmask, like in realname bans
2010-03-14 10:11:35 -03:00
Elián Hanisch
09d8f38835
Implement private msg for ops requesting to comment his/her bans (LP: #521516 )
2010-03-14 10:07:59 -03:00
Elián Hanisch
c9fb43ab33
fix syntax error
2010-03-14 10:06:36 -03:00
Terence Simpson
fcea1f944f
Use hashlib rather than deprecated md5 module
2010-02-04 18:58:05 +00:00
Terence Simpson
75c51ddbc1
More -seven work, mostly on Bantracker, which probably needs a rewrite :(
2010-01-30 15:19:53 +00:00
Terence Simpson
4158d4ba45
Fix previous patch
2009-12-11 18:00:57 +00:00
Terence Simpson
6ffc89d007
BugFix: Bantracker does not parse multiple modes properly (LP: #495555 )
...
Allow Bantracker to search bans by ID
2009-12-11 17:53:15 +00:00
Terence Simpson
31c41dac21
Bantracker: add some convenience functions to Ban class
...
IRCLogin: Make the Launchpad team configurable
2009-11-04 03:50:49 +00:00
Terence Simpson
55f88b5a60
* Fix a couple more typos/strange supybot errors.
...
* partial work on LP: #448619
2009-10-15 23:06:18 +01:00
Terence Simpson
ed99993d24
More typos
2009-10-15 21:34:18 +01:00
Terence Simpson
7791f6e416
Resync all running ubottu code to bzr branch, they should now be in sync again
2009-10-12 19:26:35 +01:00
Terence Simpson
f0e2dffbe2
Update code from working branch and fix a couple of bugs
2009-01-19 22:10:51 +00:00
Terence Simpson
d216d25096
typo + authentication without IRCLogin
2008-11-02 01:29:06 +00:00
Terence Simpson
687e689b09
Small fixes and documentation updates
2008-10-28 08:09:48 +00:00
Terence Simpson
fc610a5794
Fix auth checking in Bantracker (again)
2008-08-08 04:58:47 +01:00
Terence Simpson
fc89bc3bdf
Yet another update
2008-08-07 21:09:11 +01:00
Terence Simpson
8290296373
Fix broken capability checking and extend with some hierarchy checking
2008-08-07 14:31:26 +01:00
Terence Simpson
f173b65390
The "Massive Update" edition:
...
Mess:
* Fixed file lookup to not depend on order in config file
Encyclopedia:
* Lots of small fixes and a few additions
Bantracker:
* Web-interface now has a special oper: keyword, logs can now be hidden too
* Added new commands: 'updatebt': Syncs with the channel ban list,
'coment': Reads or adds a comment for a ban,
'togglemsg': Toggles /msg's from the bot,
'banlink': Sends a direct link to the a log with a highlight
* Updated several commands and made hostname lookup more intelligent
2008-08-04 11:11:15 +01:00
Terence Simpson
8f254c3ad5
Use UTC for all times visable to the user
2008-08-04 04:51:32 +01:00
Terence Simpson
e3afd82c22
Add @bansearch and @banlog commands to Bantracker
2008-07-22 02:40:39 +01:00
Terence Simpson
168050b05c
Big-Old-Update Edition
...
FreenodeAuth has been replaced by the IRCLogin plugin
Bantracker, Bugtracker, Encyclopedia and Lart have some fixes updates
2008-07-20 16:59:27 +01:00
Terence Simpson
8401c7f03f
@mark also accesps hostmasks now and will try to get the hostmask of the nick given, if it can't find the hostmask it wil fall back to the nick given and let you know.
2008-05-11 05:37:14 +01:00
Terence Simpson
21ab658806
Encyclopedia:
...
Fix channel specific factoid lookup for channes with Upper-case names (LP: #203595 )
Bugtracker:
Add @mark to add a Bantracker entry without having to kick or ban (LP: #159568 )
2008-05-11 02:36:57 +01:00
Terence Simpson
398938dbcd
Bantracker timezone defaults to UTC
...
Encyclopedia:
calling @sync reloads the plugin after successfully downloading the new database
allert command and relay channel and configurable per-channel
(LoCo channels can set the relay to #ubuntu-irc if they want)
Adding an alias without first creating a dummy factoid should be fixed
2008-05-10 16:13:26 +01:00
Terence Simpson
a2a27edfd4
Fix a couple typos
2008-05-05 19:10:49 +01:00
Terence Simpson
eb2dcaade2
Added @help values
...
Fixed Mess
2008-05-05 17:44:14 +01:00