User:Tangotango/SWMTBot/Changelog

From Meta, a Wikimedia project coordination wiki
SWMTBot
Home Manual
General information about SWMTBot Download binaries and source code for SWMTBot Refer to the User's manual for commands and other help See what changed in SWMTBot between releases

1.18.0[edit]

  • Bug 135: Limit flow rate - Properly implemented. ConnectionError no longer occurs, as we are now using a hacked version of SmartIrc4net (workaround). SWMTBot is now flood-protected in code.
  • Bug 133: Main SWMTBot branch can now run Cubbie (set IsCubbie=yes in SWMTBot.ini)
    • Bug 132: Bad Edit Summary list (BES) now applies to uploaded filenames/contents
    • Bug 131: Watchlist now applies to uploads as well
  • Bug 142: Now does not display uploads by admins, bots, and whitelisted users
  • Bug 143: Meaningless messages are now discarded

1.17.2[edit]

  • Bug 135: Limit flow rate - implemented. Translated code from CVUBot; SWMTBot is now aware of the flood protection that freenode uses and should not get flooded off easily. (However, response times may have gone down somewhat)
  • Bug 137: al del does not work - fixed
  • Bug 130: Allow broadcasting to be turned off - implemented. If you specify None (case-sensitive) for the broadcastchannel in SWMTBot.ini, broadcasting will be turned off entirely.
  • Bug 138: Command bot is now synonymous with bots.

1.17.0[edit]

  • New command purge (takes one argument, the name of the project). Removes from the database all users and watchlisted items pertaining to the specified project. Use when you remove a project from the bot forever.
  • New command batchreload. Reloads all messages from all wikis. Extremely server intensive and thoroughly not recommended unless very strictly necessary.
  • If a local admin blocks a user, then the name of the wiki will be recorded in the blacklist reason
  • Unmatched log types now return more debug data via the Distributed Debugging feature
  • Fixed a bug whereby usercreate2 (when a user creates an account for somebody else) was showing up as normal usercreate
  • Handled OnConnectionError, which will hopefully reduce or totally eliminate the strange object disposal exceptions
  • Changed various error messages to be more apparent as to their cause

1.16.0[edit]

This release incorporates all the changes by Az1568.

  • Threshold values now configurable via SWMTBot.ini
  • Fixed userlist bug introduced by change in MediaWiki
  • Now catches RC Reader disconnects and reconnects automatically
  • Many other essential fixes I've forgotten about

1.15.1[edit]

  • Fixes a bug in all versions newer than 1.14.4 that caused move URLs to be linked to an often wrongly-encoded log page URL

1.15.0[edit]

  • Changed all time-handling functions to internally handle times as seconds rather than hours
    • This fixes a time precision bug that caused users blocked for less than one hour to be blacklisted indefinitely
  • Default blacklist time is now 96 hours; if you leave out the x= element for the "bl add" command, the user is now blacklisted for 96 hours, not indefinitely as before. The default behaviour remains the same for all other lists.

Please note: This release breaks compatibility with all older versions for the "broadcast" feature. It is recommended all bots that share a broadcast channel be upgraded simulatenously to avoid list synchronization problems.

1.14.5[edit]

  • Greylisted users can now be added to the blacklist
  • Botlisted users are no longer automatically blacklisted when blocked
  • Added "help" command--thanks to Az1568 :)

1.14.4[edit]

  • Long messages are now chunked so they can be transmitted in their entirety
  • Round brackets are now escaped properly in URLs
  • Some URLs that were being improperly canonicalized are now left localized
  • BES matches now override "X replaced Y with Z" messages

1.14.3[edit]

  • BNU/BNA/BES lists are now case-insensitive (I thought I'd made that fix ages ago; unfortunately it got lost somewhere)

1.14.2[edit]

  • Exceptions when reading messages now caught
  • Minor greylist update bug fixed

1.14.0[edit]

  • Botnick is now case-insensitive
  • Moves now show URL of pre-move destination
  • Now fails on message file version mismatch
  • Catches more unhandled exceptions
  • Moved more messages to Console.msgs

1.13.1[edit]

  • Supports greylists
  • Moved more messages to Console.msgs

1.12.1[edit]

  • Support for wikis missing a second parameter in MediaWiki:Autosumm-replace
  • Strips leading and trailing spaces from list commands

1.12.0[edit]

  • Added global "intel" command
  • Moved out most interface strings to Console.msgs for easier localization and customization
  • Made sure non-edit namespaces were also translated into English
  • Fixed a possible database sharing violation in the garbage collector
  • Changed block length blacklist constant to 2.5 from 1.5

1.11.3[edit]

  • Now actually parses block length, and blacklists blockees for 1.5 times their block thength

1.11.0[edit]

  • Global watchlist is now truly global; add/delete events to the global watchlist are now broadcast and received by the bots
  • Localized namespaces are now translated into their English equivalents; the watchlist commands accept both localized and English namespace names
  • New command "count" :P

1.10.1[edit]

  • Fixes bug with RC event parser introduced in 1.10.0

1.10.0[edit]

  • Changed RC event parser to use code almost identical to CVUBot's, this should help iron out any remaining bugs with the parser.
  • Added "bleeps" :P

1.09.4[edit]

  • Bot did not show all blacklisted/anon creates and edits, as it was designed to. This has now been fixed; all creates and edits by blacklisted and anon editors will show up in the feed, regardless of whether the edits were overly big/small, matched lists, etc.
  • There seems to be a bug in one of the assemblies SWMTBot uses, causing an "invalid IL" error on mono systems. Tried a workaround, but may not work. (This error only occurs when the "quit" command is used, and is not serious).

1.09.3[edit]

  • Restart/Emergency restart was not working on some Linux systems. As a workaround/feature, added two optional config keys to SWMTBot.ini, restartcmd and restartarg. User can now specify alternate programs to load when one of the restart commands is issued. For example, if you launch SWMTBot using the nice command, you can add:
      restartcmd=nice
      restartarg=--adjustment=10 mono /home/tangotango/SWMTBot/SWMTBot.exe

    to your SWMTBot.ini and SWMTBot will restart under nice. If restartcmd is not defined, SWMTBot will automatically launch itself. This requires ".exe" files to be run automatically (some mono configurations, all .NET Framework configurations). If you specify restartcmd, you must specify restartarg or SWMTBot will crash when a restart is ordered. Note: The restart/emergency restart commands are not very stable at the moment (especially on Linux). Use only when strictly necessary, and restart the bot using normal means as soon as possible after an IRC-ordered restart.
  • Workaround for a vulnerability in older versions where issuing an invalid Unicode character as a parameter to a command could crash the bot (on some systems). Bot now catches all such exceptions, and it is not possible to crash the bot in this way anymore.
  • Implemented new regular expression to parse RC events. This should reduce the incidence of unparsable events; however, this is still not completely resolved and debugging will continue.
  • Bot now detects if it is kicked off by Excess Flood, and restarts automatically. (This detection may only work on freenode and other compatible networks; restart may not be stable on all systems--see above).