Commit Graph

23 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 5cc19abfcc PackageInfo: apt-file returns exit code 1 on nothing found now. 2021-06-16 21:04:04 +02: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 34be030c26 Various: Switch from 'imp' module to 'importlib'
* Bugtracker
* Encyclopedia
* PackageInfo
2020-12-10 04:50:04 +01:00
Krytarik Raido 5753ecf12d PackageInfo: Avoid newlines getting in output. 2020-12-03 01:23:04 +01: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 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 9bf38fa948 PackageInfo: Fix 'find' output limitation. 2019-05-25 09:34:04 +02:00
Krytarik Raido 3e194ca516 PackageInfo: Round package size in output.
<https://salsa.debian.org/webmaster-team/packages/blob/master/lib/Packages/DoShow.pm#L230>
2018-08-28 01:34:04 +02:00
Krytarik Raido af7578e888 PackageInfo: Update for apt-file 3 2018-05-16 23: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
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 f757b715bd Add flood protection to PackageInfo (LP: #561908)
update copyright stuff.
2010-04-13 02:12:54 +01:00
Terence Simpson 568cc9588e Update description 2010-01-30 07:37:28 +00:00
Terence Simpson 562b0faf0f Update author/version/url info 2009-11-26 16:39:34 +00:00
Terence Simpson 885ad30ded Added PackageInfo plugin.
Moved package info/lookup to PackageInfo plugin
2008-10-22 18:31:40 +01:00