504 Commits

Author SHA1 Message Date
223c3f9229 Bantracker: add separate configs so comment request, and review requests,
can be configured independently.
2011-05-29 19:22:34 -03:00
46d07b8095 bantracker: add options --verbose --view and --flush to banreview command.
intended for manually fix the review queue when the bot messes up.
2011-05-29 19:21:27 -03:00
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

[Bugtracker]
 * Comment-out obsolete "bug reporting" variables in config.py
 * Update README.txt and remove "bug reporting" stuff, also remove extraneous license info
 * Comment-out obsolete "bug reporting" code
 * Don't import imaplib

[Encyclopedia]
 * Don't hard-code default values in config.py:configure()
 * Check for 'owner' capability before checking if the hostmask is ignored in plugin.py:checkIgnored()
 * Clean up README.txt

[PackageInfo]
 * Don't hard-code default values in config.py:configure()
 * Update default distributions in config.py:configure()
 * Update defaultRelease in config.py 
 * Update README.txt

* Add a few docstrings to commoncgi.py
* Update COPYING
* Update README.txt
2011-05-28 07:33:21 +01:00
6fe55f7eb1 merge i-am-only-a-bot-reply branch 2011-05-09 18:45:21 -03:00
a6f91c2dad Pass prefixNick=True. 2011-05-09 14:20:39 +02:00
ad21468aec When a user tries to speak with the bot, reply to him, so the message doesn't get lost. 2011-05-08 18:27:51 +02:00
101aef49b3 $%"%* I, apparently, suck 2011-04-19 18:16:00 +01:00
507a7f0e0e [PackageInfo] Make sure to strip '>' off before splitting the nick from redirect, or redirect will fail 2011-04-19 18:13:00 +01:00
2a4663d09d release can be None in __getRelease 2011-04-19 18:08:10 +01:00
e1b7f6304d [PackageInfo] Handle the pipe character correctly and limit redirect (>) to 1 nick only
(lp: #764217)
2011-04-19 18:05:48 +01:00
6b3e58d19d Revert to r238 2011-04-19 17:50:46 +01:00
3e389ccfd8 [PackageInfo] Handle the pipe character correctly and limit redirect (>) to 1 nick only 2011-04-19 17:38:22 +01:00
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
2011-04-04 08:03:22 +01:00
5758a266a0 pad.lv actually works now 2011-03-29 20:40:53 +01:00
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
2011-03-29 20:12:08 +01:00
0d5c8e00cf fix typo: "delated" -> "deleted" 2011-03-24 19:55:50 -03:00
06813cf920 Also don't resolve aliases in raw mode 2011-03-21 09:54:31 +00:00
ea6e9a4fe4 Include deleted factoids in 'raw' mode 2011-03-21 09:16:53 +00:00
928fc13794 Make sure Bantracker/Launchpad raises a BugNotFoundError 2011-03-17 20:56:42 +00:00
8bd3a656d5 Parse pad.lv bug URLs for Launchpad (lp: #736378) 2011-03-17 01:16:58 +00:00
6511b98454 In all that, I made 1 typo, and only a missing comma at that. 2011-03-12 17:43:35 +00:00
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)
2011-03-12 17:35:09 +00:00
dd3c9627e7 Don't wrap Bugtracker.turlSnarfer in supybot.commands.urlSnarfer, messing with threads is unpleasant 2011-03-08 00:07:02 +00:00
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
2011-02-16 14:45:27 +00:00
68294158c7 Merge some other changes from ubottu (Re: sourceforge broken) 2011-02-14 20:57:02 +00:00
179ef4b71d Don't blow-up on private bugs from the Launchpad API 2011-02-14 20:54:19 +00:00
8e1ff7fe95 Don't override "!google", only "!google ..." 2011-02-12 15:47:54 +00:00
edf17bfbb5 Add a static-factoid for !google, also make sure supybot.plugins.Encyclopedia.ignores can override the other static-factoids.
++inline-doc
2011-02-01 07:33:52 +00:00
b6adc54a42 Added the '+' modifier to display raw factoids 2011-01-26 18:44:31 +00:00
a72b623bc9 Bugtracker: Don't use EDGE_SERVICE_ROOT from launchpadlib, instead import LPNET_SERVICE_ROOT and use that 2011-01-13 01:17:43 +00:00
046b3a5b43 fix previous commit: actually only allow edits in #ubuntu-ops if the user
has 'restricted-editor' capability.
2010-12-12 14:11:10 -03:00
6a07f0bdff allow unauthorised edits if they made in #ubuntu-ops. 2010-12-12 13:33:52 -03:00
fb70eb9e5d Bug-Fix: "local variable 'distro' referenced before assignment" error in PackageInfo (LP: #623639) 2010-11-19 14:11:23 +00:00
5ed4e67b07 forgot to remove these debug lines. 2010-10-24 03:25:40 -03:00
21c041631f workaround, remove duplicate reviews before sending any. 2010-10-24 03:13:43 -03:00
58a38c8aff fix, parts without a message raised an exception. 2010-10-16 12:15:56 -03:00
b583933e5e allow multiple factoids in kick/remove reason 2010-10-16 11:55:02 -03:00
a6583efc83 If a user is removed with a reason that includes a factoid, show the
factoid in private. (LP: #210769)
2010-10-16 01:20:53 -03:00
be8346a7bf PackageInfo: !find now returns up to 10 matches and provides a link to packages.ubuntu.com for larger matches 2010-09-04 16:19:46 +01:00
5024069d33 now really don't warn in -ops 2010-06-30 13:38:14 -03:00
9c990ac7e6 fix condition, don't warn ops for every factoid. 2010-06-30 13:32:17 -03:00
c1a9f140f2 merge filtespam branch, this should filter obvious spam. 2010-06-30 13:19:16 -03:00
cbffa3a1c6 ignore factoid requests when user prefix urls in them. 2010-06-30 13:06:58 -03:00
62ade6d270 s/Won't fix/Won't Fix/g 2010-06-19 06:46:23 +01:00
7a1dc5c616 Reply when a factoid is requested in /msg 2010-06-09 15:07:52 +01:00
c458d9aa4a Merge lp:~arvindsraj/ubuntu-bots/typo-corrected
Fix "depricated" -> "deprecated"
2010-06-02 18:17:26 +01:00
8d1c3151b8 Typo in bugtracker corrected 2010-06-02 19:39:45 +05:30
55ca23f755 Make configure() do something for all plugins, also fix a couple of things from r197-203 2010-05-29 14:36:43 +01:00
3676ea1efd Added a README.txt containing some basic information on setting up a clone 2010-05-29 12:53:29 +01:00
ec4399ea8b really fix this time 2010-05-29 00:58:49 +01:00