Terence Simpson
8bd3a656d5
Parse pad.lv bug URLs for Launchpad (lp: #736378 )
2011-03-17 01:16:58 +00:00
Terence Simpson
6511b98454
In all that, I made 1 typo, and only a missing comma at that.
2011-03-12 17:43:35 +00:00
Terence Simpson
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
Terence Simpson
dd3c9627e7
Don't wrap Bugtracker.turlSnarfer in supybot.commands.urlSnarfer, messing with threads is unpleasant
2011-03-08 00:07:02 +00:00
Terence Simpson
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
Terence Simpson
68294158c7
Merge some other changes from ubottu (Re: sourceforge broken)
2011-02-14 20:57:02 +00:00
Terence Simpson
179ef4b71d
Don't blow-up on private bugs from the Launchpad API
2011-02-14 20:54:19 +00:00
Terence Simpson
8e1ff7fe95
Don't override "!google", only "!google ..."
2011-02-12 15:47:54 +00:00
Terence Simpson
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
Terence Simpson
b6adc54a42
Added the '+' modifier to display raw factoids
2011-01-26 18:44:31 +00:00
Terence Simpson
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
Elián Hanisch
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
Elián Hanisch
6a07f0bdff
allow unauthorised edits if they made in #ubuntu-ops.
2010-12-12 13:33:52 -03:00
Terence Simpson
fb70eb9e5d
Bug-Fix: "local variable 'distro' referenced before assignment" error in PackageInfo (LP: #623639 )
2010-11-19 14:11:23 +00:00
Elián Hanisch
5ed4e67b07
forgot to remove these debug lines.
2010-10-24 03:25:40 -03:00
Elián Hanisch
21c041631f
workaround, remove duplicate reviews before sending any.
2010-10-24 03:13:43 -03:00
Elián Hanisch
58a38c8aff
fix, parts without a message raised an exception.
2010-10-16 12:15:56 -03:00
Elián Hanisch
b583933e5e
allow multiple factoids in kick/remove reason
2010-10-16 11:55:02 -03:00
Elián Hanisch
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
Terence Simpson
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
Elián Hanisch
5024069d33
now really don't warn in -ops
2010-06-30 13:38:14 -03:00
Elián Hanisch
9c990ac7e6
fix condition, don't warn ops for every factoid.
2010-06-30 13:32:17 -03:00
Elián Hanisch
c1a9f140f2
merge filtespam branch, this should filter obvious spam.
2010-06-30 13:19:16 -03:00
Elián Hanisch
cbffa3a1c6
ignore factoid requests when user prefix urls in them.
2010-06-30 13:06:58 -03:00
Terence Simpson
62ade6d270
s/Won't fix/Won't Fix/g
2010-06-19 06:46:23 +01:00
Terence Simpson
7a1dc5c616
Reply when a factoid is requested in /msg
2010-06-09 15:07:52 +01:00
Terence Simpson
c458d9aa4a
Merge lp:~arvindsraj/ubuntu-bots/typo-corrected
...
Fix "depricated" -> "deprecated"
2010-06-02 18:17:26 +01:00
Arvind S Raj
8d1c3151b8
Typo in bugtracker corrected
2010-06-02 19:39:45 +05:30
Terence Simpson
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
Terence Simpson
3676ea1efd
Added a README.txt containing some basic information on setting up a clone
2010-05-29 12:53:29 +01:00
Terence Simpson
ec4399ea8b
really fix this time
2010-05-29 00:58:49 +01:00
Terence Simpson
5082202a3e
fix++
2010-05-29 00:55:07 +01:00
Terence Simpson
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...
2010-05-28 23:51:28 +01:00
Terence Simpson
15d0b1cbda
s/replaychannel/relaychannel/ Thanks FireCrotch
...
(PS: r200 :)
2010-05-28 23:35:53 +01:00
Elián Hanisch
c0ba4ab1ab
fix typo
2010-05-24 17:27:28 -03:00
Terence Simpson
7e874dc706
Merge++
2010-05-24 14:50:16 +01:00
Terence Simpson
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
2010-05-24 14:38:06 +01:00
Elián Hanisch
22b45065a3
Terence's commits
2010-05-22 20:48:33 -03:00
Elián Hanisch
99530e7211
simple testcase for Encyclopedia
...
getting this to work tired me and I don't feel like adding more tests.
2010-05-22 20:41:05 -03:00
Elián Hanisch
56cd566609
disable threadding:
...
threadded plugin + sqlite = locking issues
2010-05-22 20:39:25 -03:00
Terence Simpson
b6465cc8bb
Don't fetch bans/nicks for channels where Bantracker is disabled
2010-05-22 09:11:37 +01:00
Terence Simpson
9f6e09e84b
Fix0r - parenthesis mismatch
2010-05-22 06:41:35 +01:00
Terence Simpson
c002447554
Remove duplicate code in class Launchpad
2010-05-19 14:58:22 +01:00
Terence Simpson
5fa8e3992b
typos ftw
2010-05-19 14:56:46 +01:00
Terence Simpson
842d9857d3
Add option to show optional "extended" bug information
2010-05-19 14:55:10 +01:00
Terence Simpson
0320609071
use /usr/bin/env for #! lines
2010-05-19 14:11:16 +01:00
Elián Hanisch
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.
2010-05-17 10:46:35 -03:00
Elián Hanisch
a162404aec
Bantracker: try to re-connect to the db if for some reason it didn't connect
...
or got closed.
2010-05-14 13:17:40 -03:00
Elián Hanisch
42a64c4c18
Bantracker: Don't enqueue ban reviews already in queue. Testcase updated.
2010-05-14 00:09:50 -03:00
Terence Simpson
2097ece8c5
Remove all of the user updating code from IRCLogin, it's just broken and wrong
...
Remove IRCLogin/lp.py
2010-04-30 13:50:43 +01:00