62936a986cbantracker: forgot about extbans.
Elián Hanisch
2011-05-31 19:55:38 -0300
d0d7fe616abantracker: HACK assume bans with exact mask are marks, so they won't get a review.
Elián Hanisch
2011-05-31 19:43:45 -0300
e69ac691c6Bantracker: trim messages so they are more to the point.
Elián Hanisch
2011-05-31 03:39:28 -0300
f71a3c9929Bantracker: ignore reviews for bans with a #ubuntu-read-topic forward.
Elián Hanisch
2011-05-31 03:15:58 -0300
638ccf7b47Bantracker: strip '%' from quiets in the string that's send to channels/nicks.
Elián Hanisch
2011-05-31 01:45:05 -0300
223c3f9229Bantracker: add separate configs so comment request, and review requests, can be configured independently.
Elián Hanisch
2011-05-29 19:22:34 -0300
46d07b8095bantracker: add options --verbose --view and --flush to banreview command. intended for manually fix the review queue when the bot messes up.
Elián Hanisch
2011-05-29 19:21:27 -0300
fd36bffcc0(large commit, see bazaar log) [Bantracker] * Less spaces in README.txt * Remove mention of table 'users' in README.txt * Add more detail on how to create the bans database in README.txt * Add note about supybot-wizard creating the initial database in README.txt * Don't hard-code default values in config.py:configure() * Tweak config.py * Clean up bans.cgi a bit
Terence Simpson
2011-05-28 07:33:21 +0100
a6f91c2dadPass prefixNick=True.
Andrea Corbellini
2011-05-09 14:20:39 +0200
ad21468aecWhen a user tries to speak with the bot, reply to him, so the message doesn't get lost.
Andrea Corbellini
2011-05-08 18:27:51 +0200
101aef49b3$%"%* I, apparently, suck
Terence Simpson
2011-04-19 18:16:00 +0100
507a7f0e0e[PackageInfo] Make sure to strip '>' off before splitting the nick from redirect, or redirect will fail
Terence Simpson
2011-04-19 18:13:00 +0100
2a4663d09drelease can be None in __getRelease
Terence Simpson
2011-04-19 18:08:10 +0100
e1b7f6304d[PackageInfo] Handle the pipe character correctly and limit redirect (>) to 1 nick only (lp: #764217)
Terence Simpson
2011-04-19 18:05:48 +0100
6b3e58d19dRevert to r238
Terence Simpson
2011-04-19 17:50:46 +0100
3e389ccfd8[PackageInfo] Handle the pipe character correctly and limit redirect (>) to 1 nick only
Terence Simpson
2011-04-19 17:38:22 +0100
23b38f5352Strengthen flood protection Remove duplicate bugs numbers before processing them IBugtracker is now comparable by URLs, rather than by instance ID. This allows better flood protection Check for repeats in is_ok() before calling the tracker plugin, we don't want to flood the tracker
Terence Simpson
2011-04-04 08:03:22 +0100
5758a266a0pad.lv actually works now
Terence Simpson
2011-03-29 20:40:53 +0100
2ee7815190Add support for pad.lv Filter out unlikely bug numbers for the "ubuntu" tracker Try to be a bit smarter about which launchpad.net URLs are bug URL
Terence Simpson
2011-03-29 20:12:08 +0100
6511b98454In all that, I made 1 typo, and only a missing comma at that.
Terence Simpson
2011-03-12 17:43:35 +0000
0ded75a6aeUpdate Launchpad statuses and move to class instances Disable sf.net in the right place _sort() in get_bug_new() moved to a class method instance method _sort() moved to class method _old_sort() improve _sort (prefiously under get_bug_new) error handling Added tag "#Depricated" by depricated class Launchpad methods class Launchpad uses the "production" service alias Log an exception in Launchpad.__init__ when accessing the API fails Removed some commented-out code Added 'ubottu' to the list of trackers (as an alias for LP)
Terence Simpson
2011-03-12 17:35:09 +0000
dd3c9627e7Don't wrap Bugtracker.turlSnarfer in supybot.commands.urlSnarfer, messing with threads is unpleasant
Terence Simpson
2011-03-08 00:07:02 +0000
d1c7effab2* Enable repeat protection for CVEs and limit message length (LP: #719981) * Enable repeat protection for LP OOPS * Make CVE and LP OOPS snarfing channel configurable * bugSnarfer disabled all when False * add cveSnarfer to disable CVEs specifically when bugSnarfer is True * add oopsSnarfer to disable LP OOPS specifically when bugSnarfer is True
Terence Simpson
2011-02-16 14:45:27 +0000
68294158c7Merge some other changes from ubottu (Re: sourceforge broken)
Terence Simpson
2011-02-14 20:57:02 +0000
179ef4b71dDon't blow-up on private bugs from the Launchpad API
Terence Simpson
2011-02-14 20:54:19 +0000
edf17bfbb5Add a static-factoid for !google, also make sure supybot.plugins.Encyclopedia.ignores can override the other static-factoids. ++inline-doc
Terence Simpson
2011-02-01 07:33:52 +0000
b6adc54a42Added the '+' modifier to display raw factoids
Terence Simpson
2011-01-26 18:44:31 +0000
a72b623bc9Bugtracker: Don't use EDGE_SERVICE_ROOT from launchpadlib, instead import LPNET_SERVICE_ROOT and use that
Terence Simpson
2011-01-13 01:17:43 +0000
046b3a5b43fix previous commit: actually only allow edits in #ubuntu-ops if the user has 'restricted-editor' capability.
Elián Hanisch
2010-12-12 14:11:10 -0300
6a07f0bdffallow unauthorised edits if they made in #ubuntu-ops.
Elián Hanisch
2010-12-12 13:33:52 -0300
fb70eb9e5dBug-Fix: "local variable 'distro' referenced before assignment" error in PackageInfo (LP: #623639)
Terence Simpson
2010-11-19 14:11:23 +0000
5ed4e67b07forgot to remove these debug lines.
Elián Hanisch
2010-10-24 03:25:40 -0300
a6583efc83If a user is removed with a reason that includes a factoid, show the factoid in private. (LP: #210769)
Elián Hanisch
2010-10-16 01:20:53 -0300
be8346a7bfPackageInfo: !find now returns up to 10 matches and provides a link to packages.ubuntu.com for larger matches
Terence Simpson
2010-09-04 16:19:46 +0100
f3de8f84a6Make a custom anything() function that follows the same form as every other function in supybot.questions, because apparently no one thought this was a good idea...
Terence Simpson
2010-05-28 23:51:28 +0100
ad7a493262Update copyright/license/author/contributors information Make sure all files have encoding set to utf-8 unless they already have an encoding Added COPYING with contense of GPL-2 Added plugin name prefix to all log output. This should take the form of self.log.severity("Plugin: message"), when not logging from plugin.py use: "Plugin/file_without_dot_py: message" Bantracker: Made the confgure() function do something, it also creates an initial database if it doesn't exist Encyclopedia: Made the configure() function do something, it also creates an initial database if it doesn't exist PackageInfo: Improve the configure() function, it also now creates some initial .list files and prompts to run update_apt and update_apt_file This goes some way to getting an "ubottu" package together, all we need to do is patch supybot-wizard to download the plugins from bzr and put them somewhere supybot will see them, then the wizard will do all the initial setup
Terence Simpson
2010-05-24 14:38:06 +0100
99530e7211simple testcase for Encyclopedia getting this to work tired me and I don't feel like adding more tests.
Elián Hanisch
2010-05-22 20:41:05 -0300
842d9857d3Add option to show optional "extended" bug information
Terence Simpson
2010-05-19 14:55:10 +0100
0320609071use /usr/bin/env for #! lines
Terence Simpson
2010-05-19 14:11:16 +0100
95618780f4syncing for the first time fails because it tries to backup a file that doesn't exist yet. Since there's nothing to backup, ignore this error and continue.
Elián Hanisch
2010-05-17 10:46:35 -0300
a162404aecBantracker: try to re-connect to the db if for some reason it didn't connect or got closed.
Elián Hanisch
2010-05-14 13:17:40 -0300
42a64c4c18Bantracker: Don't enqueue ban reviews already in queue. Testcase updated.
Elián Hanisch
2010-05-14 00:09:50 -0300
2097ece8c5Remove all of the user updating code from IRCLogin, it's just broken and wrong Remove IRCLogin/lp.py
Terence Simpson
2010-04-30 13:50:43 +0100
1872290f7fEnsure IDENTIFY-MSG is enabled if for some reason it gets disabled
Terence Simpson
2010-04-28 13:09:12 +0100
2ce80148f2* Make sure the login command isn't processed twice * Call doPrivmsg with a ReplyIrcProxy object
Terence Simpson
2010-04-28 12:45:59 +0100
95317d684cMake '/msg <bot> login' work as expected
Terence Simpson
2010-04-28 11:07:36 +0100
e5801cf105merge with devel
Elián Hanisch
2010-04-26 17:37:37 -0300
bb6c417989fix error handling on cursor.execute
Elián Hanisch
2010-04-20 10:27:46 -0300
9d99263232Fix some IndexErrors
Terence Simpson
2010-04-20 12:27:35 +0100
df10ce98f8Make Bugtracker use the Launchpad API if launchpadlib is installed. Support for the old (/+text) method will be dropped in the future.
Terence Simpson
2010-04-20 11:33:26 +0100
95c715b339"!info [packagename]" doesn't work in PM w/o being logged in" (LP: #314302) again
Terence Simpson
2010-04-19 03:22:38 +0100
f7ed5b4b2cFix typo in PackageInfo (LP: #563846): * Incorporate patch from Michael Lustfield <michael@profarius.com>
Terence Simpson
2010-04-15 19:43:41 +0100
7fe0ec2c10Replace hard coded prefix-chars and command names with config values and auto-generated lists
Terence Simpson
2010-04-15 07:29:20 +0100
15db4c8201Actually reply to !info and !find when in /msg
Terence Simpson
2010-04-15 03:08:17 +0100
7538da2329fix request ignores, It was matching against full hostmask instead of nick. New testcase: testCommentIgnore
Elián Hanisch
2010-04-12 23:02:07 -0300
5c6c32608eAnd fix it again :)
Terence Simpson
2010-04-13 02:38:24 +0100
62201d9a12setup the db before loading the plugin during testing this fixes a spurious ERROR when the testcase is run for the first time
Elián Hanisch
2010-04-12 21:41:14 -0300
93f5ef5b9efix testcases for forced parts
Elián Hanisch
2010-04-12 21:33:15 -0300
02f95832dbDon't recognise /remove as a kick and fix hostmaskPatternEqual for 'new' ban-forward syntax
Terence Simpson
2010-04-13 01:24:45 +0100
c942c3e80ddon't use deque objects, since maxlen keyword is only in python 2.6
Elián Hanisch
2010-04-09 12:10:08 -0300
0d9101daabchange bugSnarfer() regexp to allow for trailing ':' in tracker names, this allows the bot to snarf bugs in a changelog format. Eg: (tracker: #nnnnn)
Terence Simpson
2010-04-08 17:51:29 +0100
8612e2291fimplement requesting a ban review after a configured time and add some basic testcases
Elián Hanisch
2010-04-06 21:36:50 -0300
f1b72a7f57forgot to remove this
Elián Hanisch
2010-04-04 01:39:50 -0300
484d45e705use check_auth in banreview, and made a workaround so testcases still pass
Elián Hanisch
2010-04-04 01:31:15 -0300
b6887f5edeconfig help review
Elián Hanisch
2010-04-03 23:53:05 -0300