Commit Graph

37 Commits

Author SHA1 Message Date
Krytarik Raido e9306925c0 Various improvements.
* Encyclopedia, PackageInfo:
  + Make repeat delay a setting.
  + Update default configuration.
* Bugtracker: Fix inconsistencies in network specificity.
2021-12-02 22:13:04 +01:00
Krytarik Raido df480587c9 PackageInfo: Various improvements.
* Fix encoding issue.
* Specify plugin in command proxy.
2021-11-20 21:17:04 +01:00
Krytarik Raido 987b3c91fa PackageInfo: Add 'releases' command to list all valid releases.
* Instead no longer include those in error message on invalid releases.
* But add setting to send list of valid releases in private on error.
* Minor fixes to Encyclopedia along the way.
* Update default configuration.
2021-06-13 00:23:04 +02:00
Krytarik Raido fa6be1af5a PackageInfo: Fix regression from previous commit. 2020-11-10 05:17:04 +01:00
Krytarik Raido 95c8c5e9f7 Various: Mirror changes to checkIgnored() function.
* Bugtracker
* Encyclopedia
* PackageInfo
2020-10-26 01:23:04 +01:00
Krytarik Raido ed35f240fd Various: Fix output redirection.
* Encyclopedia
* PackageInfo
2020-10-24 05:04:04 +02:00
Krytarik Raido 9cb39012f8 PackageInfo: Fix error when called in private. 2020-10-24 02:23:04 +02:00
Krytarik Raido 32f2c9ac3f Various: Follow upstream bot development.
Specifically, use msg.channel and make network-aware where easily possible.

* Bugtracker
* Encyclopedia
* PackageInfo
2020-10-23 06:23:04 +02:00
Krytarik Raido 18b4fe831a Various: Avoid error when msg.prefix is from services.
* Bugtracker
* Encyclopedia
* PackageInfo
2020-10-19 20:56:04 +02:00
Krytarik Raido aec19ef265 Various: Work around msg.args in inFilter() potentially being empty...
...in Limnoria running on Python 3

* Bugtracker
* Encyclopedia
* PackageInfo
2019-05-31 06:50:04 +02:00
Krytarik Raido b27c23725b PackageInfo: Add option to look up source packages too.
* Improve error handling.
* Improve output formatting.
2019-05-30 14:04:04 +02:00
Krytarik Raido d72081d106 Various: Work around msg.prefix in inFilter() potentially being empty...
...in Limnoria running on Python 3, particularly on startup.

* Bugtracker
* Encyclopedia
* PackageInfo
2018-05-22 00:45:04 +02:00
Krytarik Raido 398247f0dd PackageInfo: General overhaul.
* Add full support for Debian releases.
* Unify and simplify piping and redirection.
* Various general and minor improvements.
* Switch architecture for infos to amd64.
* Update default configuration.
* Improve APT update scripts.
2018-05-16 23:45:04 +02:00
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
tsimpson a321713489 try a fix for lp bug #980202 2012-04-12 20:45:02 +01:00
Terence Simpson 101aef49b3 $%"%* I, apparently, suck 2011-04-19 18:16:00 +01:00
Terence Simpson 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
Terence Simpson 2a4663d09d release can be None in __getRelease 2011-04-19 18:08:10 +01:00
Terence Simpson e1b7f6304d [PackageInfo] Handle the pipe character correctly and limit redirect (>) to 1 nick only
(lp: #764217)
2011-04-19 18:05:48 +01:00
Terence Simpson 6b3e58d19d Revert to r238 2011-04-19 17:50:46 +01:00
Terence Simpson 3e389ccfd8 [PackageInfo] Handle the pipe character correctly and limit redirect (>) to 1 nick only 2011-04-19 17:38:22 +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
Terence Simpson 95c715b339 "!info [packagename]" doesn't work in PM w/o being logged in" (LP: #314302) again 2010-04-19 03:22:38 +01:00
Terence Simpson f7ed5b4b2c Fix typo in PackageInfo (LP: #563846):
* Incorporate patch from Michael Lustfield <michael@profarius.com>
2010-04-15 19:43:41 +01:00
Terence Simpson 7fe0ec2c10 Replace hard coded prefix-chars and command names with config values and auto-generated lists 2010-04-15 07:29:20 +01:00
Terence Simpson 15db4c8201 Actually reply to !info and !find when in /msg 2010-04-15 03:08:17 +01:00
Terence Simpson 5c6c32608e And fix it again :) 2010-04-13 02:38:24 +01:00
Terence Simpson f757b715bd Add flood protection to PackageInfo (LP: #561908)
update copyright stuff.
2010-04-13 02:12:54 +01:00
Terence Simpson c375c9757e !info should work regardless of the number of spaces in the command... 2010-02-04 18:56:07 +00:00
Terence Simpson ac6fd47a8b Make sure to only call commands manually when supybot.defaultIgnore is True 2009-12-03 23:23:09 +00: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 523cb40ba1 Another code dump 2009-01-19 22:26:32 +00: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 201baa636f And now for something completely different... more fixes 2008-11-02 00:47:25 +00:00
Terence Simpson 712338fa08 The "Good lord supybot needs burning with a large flame-thrower" edition 2008-11-01 19:03:54 +00:00
Terence Simpson 885ad30ded Added PackageInfo plugin.
Moved package info/lookup to PackageInfo plugin
2008-10-22 18:31:40 +01:00