Commit Graph

29 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 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 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 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 b6887f5ede config help review 2010-04-03 23:53:05 -03:00
Elián Hanisch 8e05e8748a refactoring, and fix: config option request.review must be global, since
the review timestamp isn't channel specific
2010-04-03 21:55:59 -03:00
Elián Hanisch deef5dbf37 merge with main 2010-04-03 20:06:29 -03:00
Elián Hanisch b463ee3b26 fix: running @updatebt would trigger a request msg for each new ban.
added option for enable request msg, defaults to False

bot owners should run @config plugins.Bantracker.commentRequest True
2010-04-03 19:46:32 -03:00
Elián Hanisch b0b823fef1 config rename:
Bantracker.commetRequest => Bantracker.request
Bantracker.reviewAfterTime => Bantracker.request.review
2010-04-02 23:43:26 -03:00
Elián Hanisch fd55f019e1 remove our ReadOnly option, which was an ugly hack, and use PersistentCache instead 2010-04-02 18:32:19 -03:00
Elián Hanisch b82f1ae2bc not use super or raise error, causes some problems 2010-04-02 13:51:49 -03:00
Elián Hanisch 1807883da2 Use floats in reviewAfterTime, this is less confusing.
And make reviewTime option readonly
2010-03-31 00:03:13 -03:00
Elián Hanisch 3dd2f09769 reviewAfterTime is now stored in seconds, but when setting the value the unit
is days.

This saves the user for calculating how many seconds a day is, while allowing
me to set times of some seconds for automatic testing.
2010-03-30 17:13:00 -03:00
Elián Hanisch 7c042b4a79 use a config option for store when we last checked for ban review.
That way we can skip bans already reviewed.
2010-03-30 13:32:28 -03:00
Elián Hanisch 43485fdc0f new config option: commentRequest.type
For decide which events should trigger a comment request.
2010-03-17 07:14:07 -03:00
Elián Hanisch 5176697e2e little refactoring and tweaks
conf.supybot.plugins.Bantracker => Bantracker (this is sorter)
2010-03-16 21:46:18 -03:00
Elián Hanisch 287038b1e3 cleaned a bit some config option names:
dontRequestComment => commentRequest.ignore
forwardRequest     => commentRequest.forward
forwardChannels    => commentRequest.forward.channels
2010-03-15 23:26:19 -03:00
Elián Hanisch 144291b933 In the case of quiets done by Chanserv, it would be nice to still remind
the op to comment on it, like sending a notice to #ubuntu-ops.
So two new options for this:

forwardRequest: list of nicks for which the request will be redirected
forwardChannels: list of channels where the redirected request will be send
2010-03-15 20:51:32 -03:00
Elián Hanisch c88cc2bbd9 new config option "dontRequestComment"
for prevent sending messages to specific ops, like floodbots.
2010-03-15 13:12:51 -03: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 e0d9db683f Fix typo in Bantracker/config.py 2008-05-05 16:28:59 +01:00
Terence Simpson 393b3521f5 Tweaks and modifications.
Bantracker:
  Make the bantracker URL configurable from the bot
  Make sure all the html links are relative
Encyclopedia:
  Handle the possibility of apt-file not being installed
  Handle the possibility of the apt-file cache not being created
  Add sync command to sync with a remote database
  Make sure all the html links are relative
Mess:
  Take out the hard-coded paths, use the config variables to find the plugin dir
2008-05-05 12:34:57 +01:00
Dennis Kaarsemaker 3b2158fd11 Fix up the Bantracker plugin 2007-09-17 20:46:51 +02: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 c625bf3697 adkfasdyfb 2006-12-27 15:33:59 +01:00
Dennis Kaarsemaker 74af0c989f Yes, more features! 2006-10-19 16:39:11 +02:00
Dennis Kaarsemaker aea38c93ff Initial checkin 2006-06-26 19:57:20 +02:00