Commit Graph

481 Commits

Author SHA1 Message Date
Krytarik Raido 4956995f9a PackageInfo: Various improvements (by Valentin Lorentz)
* Add depends command.
* Improve handling of find and info.
* Fix crash by double reloading.
* Fix shell code injection vulnerability.
2018-05-16 23:45:04 +02:00
Krytarik Raido 075b45ce9f PackageInfo: Add Python 3 support (by Valentin Lorentz) 2018-05-16 23:45:04 +02:00
Krytarik Raido 11b6996639 Bugtracker: Update trackers.
* Add Bugzilla JSON, SourceForge, GitHub.
* Make Mantis and Trac getable.
* Deprecate Bugzilla XML.
2018-05-16 23:45:04 +02:00
Krytarik Raido 1e4fc7f3d0 Bugtracker: General overhaul.
* Improve regex matching.
* Improve CVE and OOPS handling.
* Fix various minor things.
* Drop outdated and unused code.
2018-05-16 23:45:04 +02:00
Krytarik Raido 9ab4725d49 Bugtracker: Various improvements in output.
* Make sure output fits maximum length of IRC messages.
* Improve general formatting of output, including casing.
* Strip any leading or trailing spaces off bug report title.
* Improve handling of duplicates, assignee, and extended info.
2018-05-16 23:45:04 +02:00
Krytarik Raido 45ae48b53a Bugtracker: Add Python 3 support (by Mattia Rizzolo) 2018-05-16 23:45:04 +02:00
Elián Hanisch a1d7ef03d0 Merge from Simon's branch: fix typo "ludid" => "lucid" 2016-04-23 13:26:05 -03:00
Simon Quigley 8b46658bbc [Trivial] Fixed trivial typo in PackageInfo/README.txt 2016-04-22 20:05:58 -05:00
Terence Simpson 3af16d32ff Fix factoid search and show aliases again 2015-04-04 20:21:13 +01:00
Terence Simpson af6c250eed [PackageInfo]
* Work with packages that have a version of less than 0
2014-11-05 11:42:35 +00:00
Terence Simpson ee813570a2 [Banatracker]
* Don't send review messages for bans with a duration set.
2014-10-23 20:48:14 +01:00
Terence Simpson a3fb9093ad Bugtracker:
* Update CVE regex to match the new CVE format:
   http://www.cve.mitre.org/cve/identifiers/syntaxchange.html
2014-08-12 17:47:38 +01:00
Terence Simpson cc540f7c54 Make Encyclopedia enforce supybot.plugins.Encycopedia.enabled setting 2014-06-02 02:24:20 +01:00
tsimpson 9a29db902a Make Bantracker.doUnban should work if a ban ID is passed even when Bantracker is not enabled in that channel (any more). 2014-04-15 08:27:25 +01:00
tsimpson 7dc11621d8 Make @clearban report errors in batch 2014-04-15 07:14:22 +01:00
tsimpson c45caef11c Merge lp:~m4v/ubuntu-bots/fetch-quiets (LP: #799524) 2014-04-15 06:15:24 +01:00
Robert Wall 7105e74996 Add Bantracker search option to include or ignore marks. 2014-04-14 21:08:43 -07:00
tsimpson 2cef319400 Replace deprecated use of apt.VersionCompare with apt.apt_pkg.version_compare 2013-10-30 23:34:45 +00:00
tsimpson de68b62ce1 Actually commit the right commit this time 2013-08-09 12:52:22 +01:00
tsimpson 9825c45ba7 Don't queue certain messages, like alert and edit responses, to avoid false flood protection on them. 2013-08-09 12:16:38 +01:00
tsimpson 38dad7b89e Add Bantracker.clearban command to manually mark bans as removed 2013-04-07 22:10:48 +01:00
tsimpson f66008f901 Fix SQL injection issue in Encyclopedia/factoids.cgi 2012-12-22 12:28:15 +00:00
tsimpson 3dda319c00 PackageInfo/update_apt: Set Dir::Etc::SourceParts to the empty string to avoid reading files in /etc/apt/sources.d/ 2012-12-18 17:06:21 +00:00
tsimpson 6c4be15c09 If snarfing a bug number, only include the bug tracker description (name) when a tracker is explicitly specified 2012-12-18 04:17:05 +00:00
Elián Hanisch 432bd6880d fix typo 2012-11-09 20:06:07 -03:00
Elián Hanisch f9940e8988 add "seconds" unit 2012-11-03 19:00:31 -03:00
tsimpson a059ab2002 Merge lp:~m4v/ubuntu-bots/fetch-quiets (LP: #799524) 2012-10-02 15:16:46 +01:00
Elián Hanisch 9618d43707 Check that the server supports quiets. If it doesn't, don't fetch quiets. 2012-10-02 09:34:20 -03:00
tsimpson 80125ddde0 Fix Launchpad OPPS URL (again) 2012-09-28 09:56:08 +01:00
tsimpson 778ee4a23c Bots should not respond (incorrectly) to merge request URLs (LP: #868416) 2012-09-27 13:53:50 +01:00
tsimpson b038dca49c Bugtracker: Fix bugSnarfer regex to (finally) detect "tracker: #number" format
PackageInfo: Force apt-file to i386 architecture, as update_apt_file only grabs that anyway
2012-09-27 13:16:42 +01:00
tsimpson 0e9d2e292b Update OOPS URI
Fixes: LP #1051902
2012-09-17 14:19:17 +01:00
Martin Packman 0a76edf58b Use new oops.canonical.com site when giving oops links 2012-09-17 11:53:01 +01:00
Elián Hanisch 32e80e7359 add testcases 2012-09-15 20:00:41 -03:00
Elián Hanisch 364c2c993e fix, 728 messages doesn't have the same format than 367 ones:
:lindbohm.freenode.net 728 scratDev #ubuntu-bots-test q $r:something m4v!~znc@unaffiliated/m4v 1347139607
:lindbohm.freenode.net 367 scratDev #ubuntu-bots-test new!ban@* lindbohm.freenode.net 1345088056
2012-09-08 18:37:47 -03:00
Elián Hanisch 9b5efcd3c6 sync quiets 2012-09-08 18:24:18 -03:00
Elián Hanisch b74850a092 Remove the hack that converted "$r:name" into "name (realname)"
Seems to be safe enough to do.
2012-09-07 23:20:59 -03:00
Elián Hanisch 48355cf200 add some tests 2012-09-07 23:14:44 -03:00
Elián Hanisch fff68ca742 reset the op status if the bot cycles the channel 2012-09-07 23:08:11 -03:00
Elián Hanisch d396fe0222 don't "$r:name" => "name (realname)" 2012-09-07 21:45:14 -03:00
Elián Hanisch b69bbb439f ban automatic removal. 2012-09-07 13:52:32 -03:00
Elián Hanisch a1405ef034 revert previous commit and really fix the notification message when opping fails. 2012-09-06 21:05:27 -03:00
Elián Hanisch 48f382917b don't request op twice 2012-08-27 13:59:30 -03:00
Elián Hanisch 4c0dfd1b84 some refactoring 2012-08-25 21:24:20 -03:00
Elián Hanisch 772a04a329 Don't deop after removing bans If bot fails to get op, and is opped later. 2012-08-23 07:50:39 -03:00
Elián Hanisch 7774890027 Notification message for when bot fails to get op 2012-08-23 07:21:58 -03:00
Elián Hanisch 5002195005 ask chanserv for op when needed 2012-08-18 11:27:50 -03:00
Elián Hanisch 5df52f12f8 when using zero or a negative <duration>, don't autoremove ban. 2012-08-03 11:46:17 -03:00
Elián Hanisch 0e92619987 fix plural form in @duration 2012-07-29 23:53:17 -03:00
Elián Hanisch 8205738099 refactor bot replies. 2012-07-29 23:36:18 -03:00