Commit Graph

  • 62936a986c bantracker: forgot about extbans. Elián Hanisch 2011-05-31 19:55:38 -0300
  • d0d7fe616a bantracker: 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
  • e69ac691c6 Bantracker: trim messages so they are more to the point. Elián Hanisch 2011-05-31 03:39:28 -0300
  • f71a3c9929 Bantracker: ignore reviews for bans with a #ubuntu-read-topic forward. Elián Hanisch 2011-05-31 03:15:58 -0300
  • 638ccf7b47 Bantracker: strip '%' from quiets in the string that's send to channels/nicks. Elián Hanisch 2011-05-31 01:45:05 -0300
  • 223c3f9229 Bantracker: add separate configs so comment request, and review requests, can be configured independently. Elián Hanisch 2011-05-29 19:22:34 -0300
  • 46d07b8095 bantracker: 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
  • 6fe55f7eb1 merge i-am-only-a-bot-reply branch Elián Hanisch 2011-05-09 18:45:21 -0300
  • a6f91c2dad Pass prefixNick=True. Andrea Corbellini 2011-05-09 14:20:39 +0200
  • ad21468aec When 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
  • 2a4663d09d release 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
  • 6b3e58d19d Revert 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
  • 23b38f5352 Strengthen 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
  • 5758a266a0 pad.lv actually works now Terence Simpson 2011-03-29 20:40:53 +0100
  • 2ee7815190 Add 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
  • 0d5c8e00cf fix typo: "delated" -> "deleted" Elián Hanisch 2011-03-24 19:55:50 -0300
  • 06813cf920 Also don't resolve aliases in raw mode Terence Simpson 2011-03-21 09:54:31 +0000
  • ea6e9a4fe4 Include deleted factoids in 'raw' mode Terence Simpson 2011-03-21 09:16:53 +0000
  • 928fc13794 Make sure Bantracker/Launchpad raises a BugNotFoundError Terence Simpson 2011-03-17 20:56:42 +0000
  • 8bd3a656d5 Parse pad.lv bug URLs for Launchpad (lp: #736378) Terence Simpson 2011-03-17 01:16:58 +0000
  • 6511b98454 In all that, I made 1 typo, and only a missing comma at that. Terence Simpson 2011-03-12 17:43:35 +0000
  • 0ded75a6ae Update 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
  • dd3c9627e7 Don'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
  • 68294158c7 Merge some other changes from ubottu (Re: sourceforge broken) Terence Simpson 2011-02-14 20:57:02 +0000
  • 179ef4b71d Don't blow-up on private bugs from the Launchpad API Terence Simpson 2011-02-14 20:54:19 +0000
  • 8e1ff7fe95 Don't override "!google", only "!google ..." Terence Simpson 2011-02-12 15:47:54 +0000
  • edf17bfbb5 Add 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
  • b6adc54a42 Added the '+' modifier to display raw factoids Terence Simpson 2011-01-26 18:44:31 +0000
  • a72b623bc9 Bugtracker: 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
  • 046b3a5b43 fix 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
  • 6a07f0bdff allow unauthorised edits if they made in #ubuntu-ops. Elián Hanisch 2010-12-12 13:33:52 -0300
  • fb70eb9e5d Bug-Fix: "local variable 'distro' referenced before assignment" error in PackageInfo (LP: #623639) Terence Simpson 2010-11-19 14:11:23 +0000
  • 5ed4e67b07 forgot to remove these debug lines. Elián Hanisch 2010-10-24 03:25:40 -0300
  • 21c041631f workaround, remove duplicate reviews before sending any. Elián Hanisch 2010-10-24 03:13:43 -0300
  • 58a38c8aff fix, parts without a message raised an exception. Elián Hanisch 2010-10-16 12:15:56 -0300
  • b583933e5e allow multiple factoids in kick/remove reason Elián Hanisch 2010-10-16 11:55:02 -0300
  • a6583efc83 If 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
  • be8346a7bf PackageInfo: !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
  • 5024069d33 now really don't warn in -ops Elián Hanisch 2010-06-30 13:38:14 -0300
  • 9c990ac7e6 fix condition, don't warn ops for every factoid. Elián Hanisch 2010-06-30 13:32:17 -0300
  • c1a9f140f2 merge filtespam branch, this should filter obvious spam. Elián Hanisch 2010-06-30 13:19:16 -0300
  • cbffa3a1c6 ignore factoid requests when user prefix urls in them. Elián Hanisch 2010-06-30 13:06:58 -0300
  • 62ade6d270 s/Won't fix/Won't Fix/g Terence Simpson 2010-06-19 06:46:23 +0100
  • 7a1dc5c616 Reply when a factoid is requested in /msg Terence Simpson 2010-06-09 15:07:52 +0100
  • c458d9aa4a Merge lp:~arvindsraj/ubuntu-bots/typo-corrected Fix "depricated" -> "deprecated" Terence Simpson 2010-06-02 18:17:26 +0100
  • 8d1c3151b8 Typo in bugtracker corrected Arvind S Raj 2010-06-02 19:39:45 +0530
  • 55ca23f755 Make configure() do something for all plugins, also fix a couple of things from r197-203 Terence Simpson 2010-05-29 14:36:43 +0100
  • 3676ea1efd Added a README.txt containing some basic information on setting up a clone Terence Simpson 2010-05-29 12:53:29 +0100
  • ec4399ea8b really fix this time Terence Simpson 2010-05-29 00:58:49 +0100
  • 5082202a3e fix++ Terence Simpson 2010-05-29 00:55:07 +0100
  • f3de8f84a6 Make 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
  • 15d0b1cbda s/replaychannel/relaychannel/ Thanks FireCrotch (PS: r200 :) Terence Simpson 2010-05-28 23:35:53 +0100
  • c0ba4ab1ab fix typo Elián Hanisch 2010-05-24 17:27:28 -0300
  • 7e874dc706 Merge++ Terence Simpson 2010-05-24 14:50:16 +0100
  • ad7a493262 Update 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
  • 22b45065a3 Terence's commits Elián Hanisch 2010-05-22 20:48:33 -0300
  • 99530e7211 simple 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
  • 56cd566609 disable threadding: threadded plugin + sqlite = locking issues Elián Hanisch 2010-05-22 20:39:25 -0300
  • b6465cc8bb Don't fetch bans/nicks for channels where Bantracker is disabled Terence Simpson 2010-05-22 09:11:37 +0100
  • 9f6e09e84b Fix0r - parenthesis mismatch Terence Simpson 2010-05-22 06:41:35 +0100
  • c002447554 Remove duplicate code in class Launchpad Terence Simpson 2010-05-19 14:58:22 +0100
  • 5fa8e3992b typos ftw Terence Simpson 2010-05-19 14:56:46 +0100
  • 842d9857d3 Add option to show optional "extended" bug information Terence Simpson 2010-05-19 14:55:10 +0100
  • 0320609071 use /usr/bin/env for #! lines Terence Simpson 2010-05-19 14:11:16 +0100
  • 95618780f4 syncing 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
  • a162404aec Bantracker: 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
  • 42a64c4c18 Bantracker: Don't enqueue ban reviews already in queue. Testcase updated. Elián Hanisch 2010-05-14 00:09:50 -0300
  • 2097ece8c5 Remove 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
  • 1872290f7f Ensure 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
  • 95317d684c Make '/msg <bot> login' work as expected Terence Simpson 2010-04-28 11:07:36 +0100
  • e5801cf105 merge with devel Elián Hanisch 2010-04-26 17:37:37 -0300
  • bb6c417989 fix error handling on cursor.execute Elián Hanisch 2010-04-20 10:27:46 -0300
  • 9d99263232 Fix some IndexErrors Terence Simpson 2010-04-20 12:27:35 +0100
  • df10ce98f8 Make 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
  • f7ed5b4b2c Fix typo in PackageInfo (LP: #563846): * Incorporate patch from Michael Lustfield <michael@profarius.com> Terence Simpson 2010-04-15 19:43:41 +0100
  • 7fe0ec2c10 Replace hard coded prefix-chars and command names with config values and auto-generated lists Terence Simpson 2010-04-15 07:29:20 +0100
  • 15db4c8201 Actually reply to !info and !find when in /msg Terence Simpson 2010-04-15 03:08:17 +0100
  • 2a0e6a1f1a fix check_auth Terence Simpson 2010-04-13 05:11:15 +0100
  • 9ecf076312 new testcase: testReviewIgnore Elián Hanisch 2010-04-12 23:06:25 -0300
  • 7538da2329 fix request ignores, It was matching against full hostmask instead of nick. New testcase: testCommentIgnore Elián Hanisch 2010-04-12 23:02:07 -0300
  • 5c6c32608e And fix it again :) Terence Simpson 2010-04-13 02:38:24 +0100
  • f757b715bd Add flood protection to PackageInfo (LP: #561908) update copyright stuff. Terence Simpson 2010-04-13 02:12:54 +0100
  • 62201d9a12 setup 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
  • 93f5ef5b9e fix testcases for forced parts Elián Hanisch 2010-04-12 21:33:15 -0300
  • 02f95832db Don't recognise /remove as a kick and fix hostmaskPatternEqual for 'new' ban-forward syntax Terence Simpson 2010-04-13 01:24:45 +0100
  • c942c3e80d don't use deque objects, since maxlen keyword is only in python 2.6 Elián Hanisch 2010-04-09 12:10:08 -0300
  • 0d9101daab change 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
  • 8612e2291f implement requesting a ban review after a configured time and add some basic testcases Elián Hanisch 2010-04-06 21:36:50 -0300
  • f1b72a7f57 forgot to remove this Elián Hanisch 2010-04-04 01:39:50 -0300
  • 484d45e705 use check_auth in banreview, and made a workaround so testcases still pass Elián Hanisch 2010-04-04 01:31:15 -0300
  • b6887f5ede config help review Elián Hanisch 2010-04-03 23:53:05 -0300
  • ca60ba5aa2 refactor Elián Hanisch 2010-04-03 23:48:54 -0300