Limnoria/ChangeLog

285 lines
10 KiB
Plaintext

2003-11-18 Jeremy Fincher <jemfinch@users.sf.net>
* Renamed numerous plugins: OwnerCommands became Owner,
AdminCommands became Admin, ChannelCommands became Channel,
MiscCommands became Misc, UserCommands became User, URLSnarfer
became URL, Notes became Note, FunCommands became Fun, IMDB became
Movies, and Aliases became Alias.
* Added QuoteGrabs module which allows people to grab interesting
quotes from other people and store them in the bot for later retrieval
(also optionally have the bot randomly snarf quotes).
* Removed TwistedCommands plugin to the sandbox; the one command
it provided (dict) is now better provided in the Dict plugin.
* Removed the Moobot plugin (the commands were moved to the Fun
plugin or dropped entirely).
* Added Ebay plugin for snarfing eBay URLs as well as getting info on
certain auctions.
* Added Dunno plugin as an optional replacement for the boring 'no
such command' response.
* Added MoobotFactoids plugin for moobot-style factoids (which are
meant to mimic blootbot-style factoids). People used to
traditional IRC bot factoids plugins will probably find this
plugin more to their taste than Factoids.
* Removed all example strings from plugins. To be replaced with an
automated process later.
* Changed commands so that plugins no longer have to make sure
that their commands are unique within the bot. Ambiguous commands
will reply with an error message and instruct the user to
disambiguate the command by prefixing with the appropriate plugin
name.. Many commands that formerly contained the plugin name (or a
portion thereof) have had it removed, and many plugins have had
their names changed so prefixing a command with the plugin name is
less bulky. Rather than list each individual example, you can
read the plugin documentation posted at ***TODO***
* Made aliases persistent across reloads/bot restarts. You should
probably change your botscripts not to add the aliases onStart,
but (assuming those aliases don't change) it should still work
fine.
* Converted several plugins to the new Configurable plugin type
Plugins modified include Bugzilla, ChannelDB, Dict, Ebay,
Enforcer, Gameknot, Google, Python, Relay, and URL (formerly
URLSnarfer).
* Changed ChannelDB database to use integer user ids instead of text
usernames.
* Added monitoring of occurrences of certain words on a per-user
basis, adding two new commands to ChannelDB (addword and
wordstats).
* Moved karma out of ChannelDB and into its own Karma plugin.
* Removed "dictserver" command in favor of using the Configurable
framework with the Dict plugin instead.
* Added a "change" command to change factoid values in the Factoids
plugin.
* Moved uptime-related commands to from FunDB to the Status plugin.
* Added substitutions for 'me' and 'my' in insult/praise/lart.
* Changed FundB to allow accessing excuses, larts, and praises by
id.
* Removed the "googlesite" function.
* Switched freshmeat searches from using regexps to using XML parsing
to obtain the needed info.
* Changed Http.geekquote to use multiline geekquotes (and removed
the option to do so, since it's now the default).
* Added a --id switch to geekquote to pick a specific geekquote.
* Renamed the Network.internic command to whois, since we can now fix
ambiguity by prefixing the plugin name.
* Changed most commands in News to require the 'news' capability.
* Actually implemented the 'change' and 'old' commands for News.
* Added ASPN Python Cookbook URL snarfer.
* Changed Relay.names output to show (and sort by) status in the
channel.
* Removed 'relaycolor' command in favor of Configurable framework.
* Added total memory usage to 'cpustats' output for several *nix
platforms.
* Removed the total percentage of CPU time from 'cpustats'. Not
only was it inaccurate, but we needed the room for memory stats.
* Changed Topic.shuffle to ensure that the topic is actually
shuffled.
* Changed all commands which take an index (various Topic and
Factoids commands) to index from 0 instead of 1.
* Fixed several bugs in Unix.spell whereby the bot could be
frozen.
* Added Bugzilla module for accessing various data in Bugzilla
pages.
* Added the ability for users to specify that their passwords
should be hashed on disk.
* Changed the name of the "bug" command in the AdminCommands
plugin to "reportbug" instead.
* Added QUIT stat-keeping to ChannelDB.
* Removed the OwnerCommands.say command; it wasn't useful enough,
and is so easily written that anyone can have it back if they want
it.
* Changed OwnerCommands.load (and reload) to be case-insensitive,
so "load funcommands" works just as well as "load FunCommands".
* Changed the keyword parameter "needed" to privmsgs.getArgs to be
"required" instead. It just sounds better, works with "optional"
better, and we won't get an oppurtunity later to change it.
* Updated IrcObjectProxy.reply to allow a "notice" boolean keyword
to determine whether or not to reply via a notice.
* Added privmsgs.urlSnarfer, a wrapper around snarfer methods that
handles both the threading and the limiting of replies so loops
between two snarfing bots can't happen.
* Added structures.PersistentDictionary for dictionaries that
should be saved to a file in repr()ed form.
* Added structures.TwoWayDictionary for dictionaries that should
map keys to values and vice versa.
* Added a curry function to fix.py for doing currying (if you
don't know what it is, don't worry about it :))
* Added utils.depluralize to do the opposite of utils.pluralize.
* Added utils.safeEval for safe evaluation of Python data
structures (lists, dictionaries, tuples, numbers, strings, etc.,
but no operations on them).
* Added utils.saltHash for handling the hashing of passwords with
a salt.
* Added plugins.standardSubstitute to do standard substitutions
for things like $who, $nick, $channel, etc.
* Added plugins.Configurable, a plugin mixin that allows easy
specification and persistence of configurable data on a global and
per-channel basis.
* Fixed plugins.ChannelDBHandler (and added plugins.DBHandler) to
be threadsafe, so threaded plugins could still use a database, and
non-threaded database-using plugins could still receive the
results of a threaded command.
* Removed ircutils.privmsgPayload and ircutils.shrinkList, both of
which existed prior to the addition of more, and aren't needed
anymore.
2003-10-12 Jeremy Fincher <jemfinch@users.sf.net>
* Version 0.73.1!
* Fixed a bug in Math.{calc,rpn} where certain functions
("degrees" in particular) that didn't like complex arguments would
fail on numbers on which they shouldn't.
* Added an optional "key" argument to ChannelCommands.cycle.
* Fixed bolding in supybot-wizard.py.
* Fixed handling of the secure flag by ircdb.IrcUser.setAuth;
previously it didn't prevent someone with an unmatched hostmask
from identifying.
* Fixed imports in the DCC plugin.
* Fixed a bug where the bot would not reply to nick-addressed
messages on a channel if his nick wasn't entirely lowercased.
* Fixed the Relay plugin to relay topic changes; an oversight not
caught earlier because supybot has for a long time managed our
topics.
* Fixed a bug in the Services plugin where the bot would ghost
himself if his nick didn't match in case the nick given.
* Added the ability for PrivmsgCommandAndRegexp to have regexps
that are called *after* callbacks.addressed has been called on the
message -- see ChannelDB.{increase,decrease}Karma for an example.
* Fixed bug in supybot-wizard.py where plugins without configure
functions would raise an uncaught exception.
* Fixed debincoming to work since the removal of baseplugin; it
was missing an import.
* Fixed MiscCommands.doPrivmsg to send an IrcObjectProxyRegexp to
the replyWhenNotCommand function.
* Fixed debversion to display the correct output when no matching
packages were found.
* Fixed ChannelDB to import conf; karma didn't work otherwise.
* Fixed a bug in the Enforcer plugin that would cause the bot to
ban everyone from the channel whenever ChanServ deopped someone.
* Changed the "whois" command in the Network plugin to "internic"
instead.
2003-10-05 Jeremy Fincher <jemfinch@users.sf.net>
* Version 0.73.0!
* Added the News plugin, news handling for channels.
* Changed the initial character of anti capabilities to '-'
instead of '!'. '!' can be the initial character in a channel
name, and so any command using getChannel and accepting a
capability as its first argument (several in ChannelCommands) will
have difficulties (the channel then *must* be specified since
getChannel will consider !capability to be a channel name). Note
that this means you'll need to either remove and re-create or edit
your config files to change ! to - in capabilities.
* Removed the "cvsup" command; it's been useless since we had a
global install, and can only serve to confuse.
* Added a "private" command to MiscCommands to allow users to
specify that a response should be made in private.
* Added a "secure" flag to user database records that *requires*
that one of the user's hostmasks match if the user is to be
recognized. This flag may be set with the "setsecure" command.
* Added a convert command to the Math plugin. More conversions
are necessary, if anyone's interested in doing it. The available
units are available via the "units" command.
* Fixed the pydoc command to allow access to standard Python
modules that are shared libraries rather than pure Python code.
* Added a "Python" plugin and moved FunCommands.{pydoc,zen} to
it.
* Fixed the supybot- scripts to use optparse so they now
accept many command line options (but most importantly, the --help
option :))
* Added a debincoming command to the Debian plugin; it searches
the available packages at http://incoming.debian.org/
* Moved the "bug" command from MiscCommands to AdminCommands in
order to prevent possible abuse.
* Changed ChannelDB.seen to default to using nicks; a --user
option can be passed to use the old behavior. Note that this
means you'll have to update your ChannelDB database; use this
SQL statement to do so:
CREATE TABLE nick_seen (
name TEXT UNIQUE ON CONFLICT REPLACE,
last_seen TIMESTAMP,
last_msg TEXT
);