Skip to content

Latest commit

 

History

History
232 lines (201 loc) · 10.7 KB

History.md

File metadata and controls

232 lines (201 loc) · 10.7 KB

4.0.3 / 2023-07-06

Changed

Fixed

  • Project: Support newusers/byemail to be the same as newuser2 (T327126)
  • Project: Set missing caurl attribute for newuser2 events (T327127)

4.0.2 / 2021-06-20

Changed

  • Config: The default value for ircserver is now irc.libera.chat.

Fixed

  • Program: Fix login to use the value of botrealname instead of reusing partmsg as the IRC realname of the bot. This bug was introduced in version 3.0.

4.0.1 / 2021-01-25

Changed

  • Config: Remove the forceHttps option. If a wiki is available both on HTTP and HTTPS and advertises HTTP urls as canonical in its RCFeed, then CVNBot will always show those as-is in the feed channel.

Fixed

  • Project: Fix bogus "modifyprotectRegex is missing" warning that was sent when the key was not actually missing.

4.0.0 / 2020-06-08

Removed

  • Remove support for Mono 5.4 and 5.16. CVNBot 4 supports Mono 6.8 or later. (Mono 5.18+ might work, but is not officially supported).

Changed

  • build: Upgrade from .NET Framework 4.5 to 4.7.2. (issue #13)
  • build: Add support for Mono 6, MSBuild 16, and Visual Studio 2019.

Fixed

  • Project: Remove duplicate log message from GetInterfaceMessages().

3.1.0 / 2020-05-09

Changed

  • ListManager: Increase default blacklist expiry from 31 days to 90 days. (pull #56)

Fixed

  • Program: Fix ReactorException: Duplicate 'watchword' bug that could happen for upload events due to BES matching both r.title and r.comment. (issue #59)

3.0.0 / 2019-07-31

_CVNBot 3.0 was originally tagged as CVNBot 1.22.

Removed

  • Remove support for Mono 3 and 4. CVNBot 3 requires Mono 5 to run.

Added

  • RCReader: Add support for block/reblock log events. Previously, only "Block" and "Unblock" were reported. Now, "Block modification" events are reported as well.

Changed

  • Program: Remove the 200ms artificial delay from the "load" bot command, which loads the list of admins and bots from the wiki.
  • Program: Remove our custom logic for message buffering. This existed as flood protection in case the monitored wiki(s) had a higher rate of events than the feed IRC channel allows. This custom logic is no longer needed because the SmartIrc4net library already contains flood protection and message buffering. (issue #31)
  • Program: Update urls from Special:Blockip to Special:Block. (issue #36)
  • RCReader: Remove "emergency restarter" feature for irc.wikimedia.org ops.

Fixed

  • Project: Remove unused regexes for "Undo" detection that could cause the "reload" command to crash on certain wikis.
  • ListManager: Catch invalid BES regex patterns and log them. (issue #28)
  • Program: Fix "Key duplication when adding: watchword" problem in ReactToRCEvent. Previously, if an edit or new page event triggered both BES and BNA, this bug caused the change to be ignored by the bot. (issue #9)
  • RCReader: Fix parsing of newusers/create2 log events. Previously, events for users creating another account were ignored due to the log format being out of sync with the wiki software. (issue #30)

Maintenance

  • build: Enable continuous integration via Travis CI.
  • build: Automatically copy CVNBot.exe.config to simplify installation.
  • build: Automatically copy CVNBot-sample.ini to simplify installation.
  • build: Upgrade log4net from 1.2.10 to 2.0.8.
  • build: Upgrade Meebey.SmartIrc4net from 0.4 to 1.1.
  • build: Upgrade .NET Framework from 3.5 to 4.5. The Sqlite library in .NET 4.5 no longer supports reading integer fields with GetString. This was common in CVNBot code and has now been mitigated.
  • Logger: Change default log destination to Syslog, not text files.
  • Logger: Add Nickname to log messages.
  • ListManager: Re-use the same Sqlite connection between threads.
  • RCReader: Remove log warnings about unknown log events.

1.21.0 / 2015-09-07

  • RCReader: Don't strip "/w/index.php" from urls.
  • ListManager: Support IPv6 to detect anonymous users.
  • Program: Add "caurl" message attribute. (CentralAuth link)
  • Config: New "forceHttps" option to use HTTPS as protocol in the RCFeed.
  • Project: Enforce HTTPS for rooturl.
  • All: Resolved compiler warnings for unused variables.

1.20.0 / 2012-07-13

  • Trim whitespace around parameter when dealing with ListManager. Fixes #1.
  • New feed filters added: feedFilterUsersAnon, feedFilterUsersReg feedFilterUsersBot, feedFilterEventMinorEdit, feedFilterEventEdit, feedFilterEventNewpage, feedFilterEventMove, feedFilterEventDelete, feedFilterEventNewuser, feedFilterEventUpload and feedFilterEventProtect. These can be set in SWMTBot.ini to 1, 2, 3 or 4. Check the bug ticket and code comments for more info. Fixes #2.
  • New option to prevent dbconnection in ListManager.ClassifyEditor can now be done by adding setting disableClassifyEditor in SWMTBot.ini. Fixes #3.
  • New command "config" for getting the customizable .ini settings optional parameter 'all' to broadcast it (like "count" does by default) causing all other bots in the same channel to also show their configs. Fixes #4.
  • "the end of time" is now controlled by Console.msgs to allow translation.
  • newuser/newuser2 event gets a 'talkurl' attribute.
  • Delete event gets a 'url' attribute.
  • Actions now have a clean-attribute without prefixes ('c' + attrname) besides the regular one, for more flexibility in the layout of the messages So [[${editor}]] renders "[[xx:User:Foo]]") and ${ceditor} renders "Foo".
  • Add 'talkurl' attribute for block and unblock event. Fixes #5.
  • Implement log type 'protect', 'unprotect' and 'modifyprotect'. Fixes #6.
  • Added SWMTBot.exe.config to the repository. For some reason it was on the botserver but never made it here. This file is required to get the output of log4net (in the terminal or a log file).
  • ignoreBotEdits is now deprecated in favor of feedFilterUsersBot.
  • RCEvent now extracts botflag aswell. Making it possible to detect (and return) botedits in ReactToRCEvent without a database connection (ie. calling classifyEditor). This decreases delay/lag on busy wikis noticeably.
  • Adding Console.msgs and sqlite3.dll as Content includes. No longer have to be moved manually before the app can be run.
  • Default blacklist duration raised from 96 hours (4 days) to 744 hours (31 days).
  • CVNBotUtils.wikiEncode() now encodes exclamation mark aswell (some IRC clients don't include it in the link unless).
  • The deprecated {ipcat} parameter in messsages has been removed.
  • Added "patrol" (mark as patrolled) and "review" (FlaggedRevs/PendingChanges) as an empty switchcase in RCReader->rcirc_OnChannelMessage to clear out some unnecessary WARNs in the logs about "unhandled log types".
  • Pagetitles containing a slash were not reported and cause a WARN in log. Fixes #7.
  • nsEnglish[4] and nsEnglish[5] have been changed from "Wikipedia" to "Project" to fix the bug where one could watchlist project-ns page of a non-WP project, but when an edit occurs, the generated pagetitle (and url) gets the wrong namespace and thus resulted in a broken (404 error) link. "Project" works everywhere.

1.19.0 / 2011

  • URLs are now forces in blue in Console.msgs. Previously this was up to the IRC client or it URL-detection doesn't exist it would show in cyan (the last color set, from the label "URL: " and "Diff: ")
  • "get" commands are now restricted the to ops.
  • Moved to Visual C# 2010 format.
  • Project.getNamespaces() now makes requests to /w/api.php instead of /w/query.php.

1.80.0

  • Bumped Console.msgs version to 2.02.
  • Meaningless messages are now discarded.
  • 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.
  • Main SWMTBot branch can now run Cubbie (set IsCubbie=yes in SWMTBot.ini).
  • Bad Edit Summary list (BES) now applies to uploaded filenames/contents.
  • Watchlist now applies to uploads as well.
  • Now does not display uploads by admins, bots, and whitelisted users.

1.17.2

  • "al del" works now.
  • Message chunks only containing parenthesis are discarded.

1.16.0 - 1.17.1

  • Auto-download lists now searches for a
      instead of an
        on [[Special:Listusers]] following the change in MediaWiki.
      1. If a local admin blocks a user, then the name of the wiki will be recorded in the blacklist reason.
      2. Unmatched log types now return more debug data via the Distributed Debugging feature.
      3. Changed various error messages to be more apparent as to their cause.
      4. Options for editblank, editbig, newbig, newsmall moved from static integers to the .ini configuration.
      5. "purge" command added.
      6. "batchreload" commands added.
      7. AutoReconnect.
      8. Support for deletions, now reported in rc stream.
      9. 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).
      10. 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.
      11. Empty messages are prevented from being send and from crashing the bot.
      12. Fixed a bug whereby usercreate2 (when a user creates an account for somebody else) was showing up as normal usercreate.
      13. Handled OnConnectionError, which will hopefully reduce or totally eliminate the strange object disposal exceptions.

    1.15.1

    • Bug that caused move URLs to be linked to an often wrongly-encoded log page URL.

    1.15.0

    • ListManager is measured in seconds instead of hours.
    • Adding greylisted users to the blacklist is allowed.
    • Bumped Console.msgs version to 2.01.
    • Bumped BroadcastB version to 1.1.
    • Default blacklist duration is 96 hours.
    • "help" command added.
    • Fixed: This time precision bug that caused users blocked for less than one hour to be blacklisted indefinitely.