Commit Graph

508 Commits

Author SHA1 Message Date
tsimpson 6c4be15c09 If snarfing a bug number, only include the bug tracker description (name) when a tracker is explicitly specified 2012-12-18 04:17:05 +00:00
Elián Hanisch 432bd6880d fix typo 2012-11-09 20:06:07 -03:00
Elián Hanisch f9940e8988 add "seconds" unit 2012-11-03 19:00:31 -03:00
tsimpson a059ab2002 Merge lp:~m4v/ubuntu-bots/fetch-quiets (LP: #799524) 2012-10-02 15:16:46 +01:00
Elián Hanisch 9618d43707 Check that the server supports quiets. If it doesn't, don't fetch quiets. 2012-10-02 09:34:20 -03:00
tsimpson 80125ddde0 Fix Launchpad OPPS URL (again) 2012-09-28 09:56:08 +01:00
tsimpson 778ee4a23c Bots should not respond (incorrectly) to merge request URLs (LP: #868416) 2012-09-27 13:53:50 +01:00
tsimpson b038dca49c Bugtracker: Fix bugSnarfer regex to (finally) detect "tracker: #number" format
PackageInfo: Force apt-file to i386 architecture, as update_apt_file only grabs that anyway
2012-09-27 13:16:42 +01:00
tsimpson 0e9d2e292b Update OOPS URI
Fixes: LP #1051902
2012-09-17 14:19:17 +01:00
Martin Packman 0a76edf58b Use new oops.canonical.com site when giving oops links 2012-09-17 11:53:01 +01:00
Elián Hanisch 32e80e7359 add testcases 2012-09-15 20:00:41 -03:00
Elián Hanisch 364c2c993e fix, 728 messages doesn't have the same format than 367 ones:
:lindbohm.freenode.net 728 scratDev #ubuntu-bots-test q $r:something m4v!~znc@unaffiliated/m4v 1347139607
:lindbohm.freenode.net 367 scratDev #ubuntu-bots-test new!ban@* lindbohm.freenode.net 1345088056
2012-09-08 18:37:47 -03:00
Elián Hanisch 9b5efcd3c6 sync quiets 2012-09-08 18:24:18 -03:00
Elián Hanisch b74850a092 Remove the hack that converted "$r:name" into "name (realname)"
Seems to be safe enough to do.
2012-09-07 23:20:59 -03:00
Elián Hanisch 48355cf200 add some tests 2012-09-07 23:14:44 -03:00
Elián Hanisch fff68ca742 reset the op status if the bot cycles the channel 2012-09-07 23:08:11 -03:00
Elián Hanisch d396fe0222 don't "$r:name" => "name (realname)" 2012-09-07 21:45:14 -03:00
Elián Hanisch b69bbb439f ban automatic removal. 2012-09-07 13:52:32 -03:00
Elián Hanisch a1405ef034 revert previous commit and really fix the notification message when opping fails. 2012-09-06 21:05:27 -03:00
Elián Hanisch 48f382917b don't request op twice 2012-08-27 13:59:30 -03:00
Elián Hanisch 4c0dfd1b84 some refactoring 2012-08-25 21:24:20 -03:00
Elián Hanisch 772a04a329 Don't deop after removing bans If bot fails to get op, and is opped later. 2012-08-23 07:50:39 -03:00
Elián Hanisch 7774890027 Notification message for when bot fails to get op 2012-08-23 07:21:58 -03:00
Elián Hanisch 5002195005 ask chanserv for op when needed 2012-08-18 11:27:50 -03:00
Elián Hanisch 5df52f12f8 when using zero or a negative <duration>, don't autoremove ban. 2012-08-03 11:46:17 -03:00
Elián Hanisch 0e92619987 fix plural form in @duration 2012-07-29 23:53:17 -03:00
Elián Hanisch 8205738099 refactor bot replies. 2012-07-29 23:36:18 -03:00
Elián Hanisch d241665208 don't ignore extra words prefixed to the duration in @comment or @duration 2012-07-27 23:12:35 -03:00
Elián Hanisch 846667faf2 refactoring replies a bit. 2012-07-27 21:44:29 -03:00
Elián Hanisch dfd9bdf633 fix bug when using @comment with a comma but bad duration syntax. 2012-07-27 21:08:25 -03:00
Elián Hanisch 02e5f2aa10 Remove @baninfo. Ban information is fetched with @duration now. 2012-07-27 19:21:21 -03:00
Elián Hanisch 2e3506c9bd rename the command 'banremove' to 'duration' 2012-07-27 16:09:05 -03:00
Elián Hanisch 44cd80515d list the ids of bans set to expire if no id is given to @baninfo 2012-07-27 16:03:15 -03:00
Elián Hanisch e979e864db use a interval of 10 min between ban removal checks instead of one minute. This way bans with close expire dates are more likely to be removed with a single MODE command. 2012-07-27 13:45:37 -03:00
Elián Hanisch 2f1a087faf set ban duration with @comment command, also allow multiple ban ids
example:
 @comment 1,2 this is a comment, 1 week
2012-07-27 00:50:25 -03:00
Elián Hanisch 3c7eff0f70 allow setting multiple bans with one command. 2012-07-18 21:34:49 -03:00
Elián Hanisch 909d56d704 merge multiple mode messages into one (4 modes max) 2012-07-15 22:28:38 -03:00
Elián Hanisch 6640435520 make @baninfo display time in human readable format, instead of number of seconds. 2012-07-15 21:15:06 -03:00
Elián Hanisch 401e5ae5d4 fix @baninfo, inform if the ban is inactive 2012-07-15 21:06:23 -03:00
Elián Hanisch c283e6b924 add a simple @baninfo command for check when a ban expires. 2012-07-13 13:45:37 -03:00
Elián Hanisch bf93f42503 add some colors in the notification message. 2012-07-05 20:40:57 -03:00
Elián Hanisch c90821186e fix extbans 2012-07-05 19:36:13 -03:00
Elián Hanisch b8225fd507 fix previous commit, Ban objects are never going to be of other type than ban and quiet. 2012-07-05 19:24:49 -03:00
Elián Hanisch 800a228d92 banremove should only work with bans or quiets. 2012-07-05 19:12:38 -03:00
Elián Hanisch 4d5ea85544 fix autoremoving quiets 2012-07-05 19:08:44 -03:00
Elián Hanisch 157651f5c1 minor tweaks for bans.cgi 2012-07-05 18:20:47 -03:00
Elián Hanisch e3dd878cf3 save ban autoremoval information in a csv files, so it isn't lost during plugin reloads. 2012-07-05 02:31:53 -03:00
Elián Hanisch e3f6aacdf5 added configuration options:
* supybot.plugins.Bantracker.autoremove
* supybot.plugins.Bantracker.autoremove.notify
* supybot.plugins.Bantracker.autoremove.notify.channels
2012-07-04 22:12:55 -03:00
Elián Hanisch 87f61b1654 send notifications when ban are about to expire (notification channel hardcoded to #test) 2012-07-04 21:35:07 -03:00
Elián Hanisch 1e92a7002a debug line I forgot to delete. 2012-07-04 21:21:46 -03:00