Commit Graph

64 Commits

Author SHA1 Message Date
Terence Simpson 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
Terence Simpson 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
Terence Simpson 5758a266a0 pad.lv actually works now 2011-03-29 20:40:53 +01:00
Terence Simpson 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
Terence Simpson 928fc13794 Make sure Bantracker/Launchpad raises a BugNotFoundError 2011-03-17 20:56:42 +00:00
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 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
Terence Simpson 62ade6d270 s/Won't fix/Won't Fix/g 2010-06-19 06:46:23 +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 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
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 df10ce98f8 Make Bugtracker use the Launchpad API if launchpadlib is installed.
Support for the old (/+text) method will be dropped in the future.
2010-04-20 11:33:26 +01:00
Terence Simpson 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)
2010-04-08 17:51:29 +01:00
Terence Simpson af957954a1 Tweak regex for bugSnarfer in Bugtracker (LP: #148777) 2009-11-30 19:04:54 +00:00
Terence Simpson 55f88b5a60 * Fix a couple more typos/strange supybot errors.
* partial work on LP: #448619
2009-10-15 23:06:18 +01:00
Terence Simpson ed99993d24 More typos 2009-10-15 21:34:18 +01:00
Terence Simpson d77f7ee6b8 Fix a couple of typos 2009-10-15 21:21:50 +01:00
Terence Simpson 7791f6e416 Resync all running ubottu code to bzr branch, they should now be in sync again 2009-10-12 19:26:35 +01:00
Terence Simpson 46a4ea34d2 Bugtracker/plugin.py: Update Trac class to use the "Tab-delimited Text" source rather than screen-scraping 2009-04-18 07:54:05 +01:00
Terence Simpson 45f51e064c Bugtracker/plugin.py: Temporary fix for Trac 2009-04-18 01:39:10 +01:00
Terence Simpson f0e2dffbe2 Update code from working branch and fix a couple of bugs 2009-01-19 22:10:51 +00:00
Terence Simpson 168050b05c Big-Old-Update Edition
FreenodeAuth has been replaced by the IRCLogin plugin
Bantracker, Bugtracker, Encyclopedia and Lart have some fixes updates
2008-07-20 16:59:27 +01:00
Terence Simpson 9fbc513440 Make sure 'ubuntu ###' looks at launchpad for the bug, not bugzilla.ubuntu.com 2008-05-29 11:15:18 +01:00
Terence Simpson ade1297f6c Bugtracker: Small fix
Encyclopedia: Fix "Everyone is an editor" bug
2008-05-28 23:22:15 +01:00
Terence Simpson a9d2ca3f44 Made the IMAP code as generic as possible 2008-05-13 19:47:01 +01:00
Terence Simpson eb2dcaade2 Added @help values
Fixed Mess
2008-05-05 17:44:14 +01:00
Dennis Kaarsemaker bd6239e9ef Misc fixes 2008-01-19 18:57:32 +01:00
Dennis Kaarsemaker 2e08efdd35 Fix CVE snarfer for new layout of CVE website 2007-10-02 23:04:04 +02:00
Dennis Kaarsemaker d8526dde49 Use the SOAP interface at bugs.donarmstrong.com for debbugs 2007-06-10 16:25:48 +02:00
Dennis Kaarsemaker d218ddad74 Misc fixes
Add CVE snarfer
Malone -> Launchpad rename
2007-06-08 20:16:37 +02:00
Dennis Kaarsemaker 10022b2a42 More fixes\!\! 2007-04-01 13:23:45 +02:00
Dennis Kaarsemaker e85c099794 Fixes in the bugtracker plugin, first attempt at not disturbing a meeting
(broken, disabled)
2007-03-23 20:44:03 +01:00
Dennis Kaarsemaker a3481af25c Fixy fixy! 2007-02-10 22:47:18 +01:00
Dennis Kaarsemaker e375094603 More fixes everywhere 2007-02-04 23:10:10 +01:00
Dennis Kaarsemaker f3ffcabca9 Encyclopedia made neat. 2007-02-04 18:35:40 +01:00
Dennis Kaarsemaker 139d186c83 Bugtracker now is much more usable and contains documentation. Backwards
incompatible though!
2007-02-01 09:46:32 +01:00
Dennis Kaarsemaker 4ec4305038 Made bugtracker plugin more usable
Some copyright notices
2007-01-24 00:42:45 +01:00
Dennis Kaarsemaker 3ca25ef2d1 Made bantracker releaseable
some small fixes
Added a pony
2007-01-22 22:14:41 +01:00
Dennis Kaarsemaker 4961da067a Adapted malone plugin to new malone 2007-01-05 10:33:05 +01:00
Dennis Kaarsemaker c8195ae1e4 Fixie, fixie\! 2007-01-02 13:45:45 +01:00
Dennis Kaarsemaker c625bf3697 adkfasdyfb 2006-12-27 15:33:59 +01:00