LizardBot/CL

From LizardWiki, FastLizard4's wiki and website
Jump to: navigation, search



Ambox rewrite orange.svg

Note: Some experience in the PHP programming language - which this bot is written in - is recommended for using this bot. The documentation on this site assumes that you are familiar with at least the basics of PHP (such as declaring variables, how to quote strings, etc.). That said, this is only a recommendation - if you don't know PHP at all, you are welcome to try out LizardBot, and do ask for help on our IRC channel or elsewhere if you need it.

Please report bugs to BugZilla

Key:
Critical - Critical security upgrades that may expose vulnerabilities in the bot's code. Failure to update may allow bot to be exploited
High Importance - Relatively important security or usability upgrades, update strongly recommended
Medium Importance - Moderately important security upgrades, update recommended
Low Importance - Minor security or usability upgrades, update at leisure
New Features - Addition of new features, update to take advantage of them
Trivial Updates - Addition/Modification of code in such a way that does not affect the operation of the bot. Usually doesn't cause in increment of the version number, just in SVN revision number.

Notes on updating the bot

When updating the bot, you only need to get the latest version of the source code, unless an update is marked with a *. If an update is marked with a *, you must also get the latest version of the configuration file. Remember to transfer your custom settings over to the new configuration file!

Planned for future versions

Skip to changes in the newest version

  • (N) Option for a bot logfile
  • (N) Option for the bot to log messages sent to a channel
  • (N) [[Wikilink]] expansion

6.0.0.4b (BETA) (r29)

  • (M) Reverted change made in 6.0.0.3b (r28); new error condition doesn't work

6.0.0.3b (BETA) (r28)

  • (M) Adds another error condition to the editcount function Reverted in 6.0.0.4b (r29)

6.0.0.2b (BETA) (r27)

  • (C) Fixes problem where bot could be forced to crash with the editcount function.

6.0.0.1b (BETA) (r26)

  • (N) Ability to check editcounts on Wikimedia wikis

6.0.0.0b (BETA) (r24)

  • (N) Windows support (see here for details
  • (N) Support for PCREs in access control
  • (T) @help is now an alias for @info

5.5.1.0b (BETA)

(r22)

  • (T) corrected the spelling of a few variable names to reflect the Merriam-Webster Dictionary.

(r21)

  • (N) You can now specify a configuration file to use at the command line.

5.5.0.1b (BETA) (r18)

  • (M) Fix formatting bugs where HTML tags and HTML entities were sent with the Google Calc returned data.

5.5.0.0b (BETA) (r16)

  • (N) LizardBot can now perform calculations using Google Calculator

5.4.0.6b (BETA)

(r10)

  • (T) Modified code slightly so syntax highlighting in various editors isn't affected by the heredoc syntax.

(r5)

  • (M) Added some sleeps to try and fix problems with sending registration and identification before the socket/connection/network was ready for it.

5.4.0.5b (BETA) (r4)

  • (H) Fix new bug (affecting only 5.4.0.4b, apparently) with an extraneous dollar sign in the AI extension

5.4.0.4b (BETA) (no revision number - v5.4.0.4b and previous not maintained in SVN)

  • (L) Fix a problem with unnecessary spaces in the bot's /me's, again

5.4.0.3b (BETA)

  • (M) Fix unclosed preg in AI.

5.4.0.2b (BETA)

  • (M) Fix bug with the WoT rating reporter which never updated the target user
  • (H) Fixed bug where : in any commands would not properly parse. Mainly affects @eval and @exec. Replace : with $$ in all commands.
  • (M) Fix bug where disabling bolds would cause coloration errors with the WoT command.

5.4.0.1b (BETA)

  • (L) Print the link to the WoT rating with the results.
  • (M) Fix no colors bug with WoT ratings.

5.4.0.0b (BETA)

  • (N) Bot now uses reputation ratings from WoT - see the @wot command in the docs for details.

5.3.2.3b (BETA)

  • (N) When starting the bot, stdout is colorized so you can easily tell prompts from informational messages. Colorization also applied to the kill messages sent to the terminal for easy identification.

5.3.2.2b (BETA)

  • (H) Fixes @deop bug where the bot wouldn't deop itself (used the wrong nick).
  • (N) Adds the @update command to check for updates and checks for updates on startup.

5.3.2.1b (BETA)

  • (H) Fixes wrong target nick bug with the @exec and @eval commands

5.3.2.0b (BETA)

  • (N) Allows custom setting for the command trigger in the config file.
  • (M) Trim response when PMing the @say and @do commands.

5.3.1.6b (BETA)

  • (N) Add signal handlers for SIGTERM (15) and SIGINT (^C) - kill the bot, but indicate in the quit message that the bot was killed by signal.
  • (N) Add the @exec command to run commands on the shell.*
  • (N) Add the @eval command to directly run PHP commands.*

5.3.1.5b (BETA)

  • (M) Fix the Pandorabot AI so no response from the API causes the bot to return the default resonse (pandorabot::$default_responce, and yes, I know its mispelled) - note that this fix may still be flakey. Report problems with this fix to BugZilla.

5.3.1.4b (BETA)

  • (N) Addition of PCntl (Process Control) functions so bot rehashes its config file on SIGHUP
  • (C) Fixed password exposure vulnerability
  • (N) Ability to specify a port for connection
  • (L) Ability to set default Pandorabot AI response (should none be returned by the API) from the config file*

5.3.1.3b (BETA)

  • (C) Added flood protection to Pandorabot AI
  • (M) Added access control for Pandorabot AI*
  • (L) Used the "long" PHP start tag (<?php) instead of ths "short" tag (<?) to ensure compatability

5.3.1.2b (BETA) and Earlier

No changelog was maintained before version 5.3.1.3b.