Commit Graph

  • 643be43466 Fix factoids bug ,Factoids.showFactoidIfOnlyOneMatch feature is broken when used off-channel: https://sourceforge.net/tracker/?func=detail&aid=2965589&group_id=58965&atid=489447 Daniel Folkinshteyn 2010-04-11 01:23:27 -04:00
  • 7f9a113060 commit mtughan's bugfix for this bug: https://sourceforge.net/tracker/?func=detail&aid=2985241&group_id=58965&atid=489447 Daniel Folkinshteyn 2010-04-11 00:42:55 -04:00
  • b115e0d56f change Topic to have a default required capability set, for all write operations. by default, now only allows chanops, and users with admin or channel,op capability to change topics Daniel Folkinshteyn 2010-04-09 15:56:16 -04:00
  • 7ac4911f78 make later plugin send waiting messages on user join also, not just on privmsg. Daniel Folkinshteyn 2010-04-09 13:34:39 -04:00
  • 2125e6db8e add nick validation to later tell this avoids plugging the later db with messages for bogus nicks Daniel Folkinshteyn 2010-04-09 00:45:14 -04:00
  • 01c8f3445a create conditional plugin with associated tests. includes string and numeric comparisons, simple string matching. Daniel Folkinshteyn 2010-04-08 20:02:39 -04:00
  • afe1a2124d add a random-synonym getting function to Dict, add tests for it. using the moby-thes database from dict.org. Daniel Folkinshteyn 2010-04-08 00:04:44 -04:00
  • 5d9273cd5a add damerau-levenshtein distance to supybot.utils.seq use it in factoids invalid command to match possible typos write tests for same. Daniel Folkinshteyn 2010-04-07 12:33:28 -04:00
  • f4d47876d4 fix some encoding error for non-ascii langs Daniel Folkinshteyn 2010-04-04 01:12:50 -04:00
  • 34cab7f4c9 add detected source language display for 'auto' google translate, add test for auto translate. Daniel Folkinshteyn 2010-04-03 23:31:13 -04:00
  • b8f8cec6f5 enable google translate to autodetect language with 'auto' fromlang. Daniel Folkinshteyn 2010-04-02 01:57:00 -04:00
  • f988736ca6 add tests for factoids.alias Daniel Folkinshteyn 2010-04-02 00:55:02 -04:00
  • a3f7adaa8c delete leftover debug-prints Daniel Folkinshteyn 2010-04-02 00:51:06 -04:00
  • 203308647b add factoids alias function, to link more keys to existing factoids. Daniel Folkinshteyn 2010-04-02 00:49:43 -04:00
  • 58886bd1f2 mod factoids plugin to use a separate key-value relationship table this avoids duplication, and allows one to set a bunch of aliases for a factoid, without creating duplicates of the same fact content. Daniel Folkinshteyn 2010-04-02 00:03:01 -04:00
  • 97149b403a make 'factoids info' include usage count in output. add test for same. Daniel Folkinshteyn 2010-04-01 00:51:25 -04:00
  • 32c718ca66 don't give up too easily with invalid command, instead search factoid keys with wildcard first. nanotube 2010-03-23 15:46:22 -04:00
  • 2e043ce19f add rank test to factoids, update factoids test code to sqlite3 nanotube 2010-03-23 13:54:31 -04:00
  • 0fb4dd6dff rename factrank to just rank for consistency nanotube 2010-03-23 13:34:50 -04:00
  • 69c7774431 add config for required capabilities to manage the regexp db, and check for them before taking action. Daniel Folkinshteyn 2010-03-22 16:37:06 -04:00
  • bb44d433f5 add replies function to reply plugin, which makes multiple replies, if supybot.reply.oneToOne is false. Daniel Folkinshteyn 2010-03-22 01:06:02 -04:00
  • 56862da549 add more messageparser tests Daniel Folkinshteyn 2010-03-21 22:30:30 -04:00
  • 45e2aa5ca7 write more test code, and in the process add some minor mods to the plugin code Daniel Folkinshteyn 2010-03-21 19:06:04 -04:00
  • de4936d452 write some test code for messageparser Daniel Folkinshteyn 2010-03-21 17:43:37 -04:00
  • db81745d71 update messageparser readme to point to the web doc. Daniel Folkinshteyn 2010-03-21 15:45:06 -04:00
  • c2b1c1b143 This merges an old branch i had for sqlite3 factoids+moobotfactoids. fix up moobotfactoids+factoids to use the sqlite text_factory=str, also fixed up a test for factoid search, since it now sorts keys alphabetically. Daniel Folkinshteyn 2010-03-21 02:25:11 -04:00
  • 3eb6787f6d add vacuum method to clean up db. require admin capability by default to do this. Daniel Folkinshteyn 2010-03-19 18:51:49 -04:00
  • 1a3d6c3821 quote regexp in rank output. Daniel Folkinshteyn 2010-03-19 16:45:59 -04:00
  • 15a4b45801 rename listall and triggerrank to list and rank, to be more in conformance with normal plugin command naming practice. Daniel Folkinshteyn 2010-03-19 15:58:59 -04:00
  • 770d407d1c in listall, put id in parentheses /outside/ the quotes. Daniel Folkinshteyn 2010-03-19 15:54:54 -04:00
  • 65ed84a45a create info command for messageparser nanotube 2010-03-19 15:34:35 -04:00
  • 4972472764 allow remove by id, if --id is specified. Daniel F 2010-03-19 13:40:36 -04:00
  • 7909015288 allow show by id with option --id Daniel F 2010-03-19 13:34:50 -04:00
  • 92389f69ef list regexp id in listall (to be used for showing/removing regexp by id) Daniel F 2010-03-19 13:24:45 -04:00
  • e2d16cb3a7 test regexp for validity before adding it. Daniel F 2010-03-19 13:20:50 -04:00
  • f9cc5d5663 add lock and unlock command methods Daniel F 2010-03-19 10:44:23 -04:00
  • adb53a0a35 preserve usage count upon overwriting an existing regexp entry. Daniel F 2010-03-19 09:55:43 -04:00
  • 910ba732d2 update readme.txt for ability to use commands as trigger responses. Daniel Folkinshteyn 2010-03-19 00:06:37 -04:00
  • 76d25a193b ignore messages addressed to bot directly, in the messageparser. Daniel Folkinshteyn 2010-03-17 23:54:28 -04:00
  • 629ede010a forget about unicode, and just use text_factory str for sqlite to retrieve raw bytes out of text fields without conversions. Daniel Folkinshteyn 2010-03-17 13:19:07 -04:00
  • 6ceeace44d process multiple matches of a regexp per message Daniel Folkinshteyn 2010-03-17 12:37:34 -04:00
  • 95aa56c694 fix sqlite3 import for python 2.4 Daniel Folkinshteyn 2010-03-17 01:55:23 -04:00
  • dbbef9ec43 use double quotes in listall. Daniel Folkinshteyn 2010-03-16 16:51:30 -04:00
  • d72649c5c5 give messageparser ability to use arbitrary commands as trigger responses. Daniel Folkinshteyn 2010-03-16 16:49:55 -04:00
  • a88353dd0d Merge branch 'messageparser.sqlite3' into mergempsqlite3 Daniel Folkinshteyn 2010-03-16 14:28:26 -04:00
  • 0e50249256 start factoid rankings from 1 not from 0 Daniel Folkinshteyn 2010-03-15 23:12:35 -04:00
  • f8ddba0d15 get messageparser to use sqlite3. should work now.... Daniel Folkinshteyn 2010-03-15 20:06:24 -04:00
  • 3326212d55 fix typo (write-o, really) in string for show command Daniel Folkinshteyn 2010-03-15 17:40:57 -04:00
  • 0c87c523d2 use irc.reply instead of irc.error for conditions that are expected to normally occur on occasion, also, add returns after error conditions (i assumed earlier that irc.error returned) - this fixes some bugs. Daniel Folkinshteyn 2010-03-15 17:32:02 -04:00
  • f6a86a81ce populate the readme with useful tutorial! :) Daniel Folkinshteyn 2010-03-15 17:17:11 -04:00
  • f62be4b4a7 implement the messageparser plugin. at the moment, it is constrained only to echo messages, rather than arbitrary commands, for triggers maybe that'll change in the future... Daniel Folkinshteyn 2010-03-11 01:59:37 -05:00
  • 5b05944838 create stub of messageparser plugin Daniel Folkinshteyn 2010-03-10 01:27:00 -05:00
  • 3ea6e58365 add standardsubstitute vars 'utc' and 'gmt' which output current time in UTC. Daniel Folkinshteyn 2010-03-08 17:24:00 -05:00
  • 13c244c9a7 fix some time display issues in standardsubstitute: Daniel Folkinshteyn 2010-03-08 16:39:45 -05:00
  • d1c00ccbaf remove rogue test-print Daniel Folkinshteyn 2010-03-08 14:47:27 -05:00
  • 9db1598a0e sort keys in factoid search output by alphabetically by key name. Daniel Folkinshteyn 2010-03-05 14:51:25 -05:00
  • fcd262cd4b implement factoid usage counter Daniel Folkinshteyn 2010-03-05 13:03:08 -05:00
  • 397cbbe0d3 Internet: Use whois-servers.net for all whois lookups. James Vega 2010-03-03 08:33:44 -05:00
  • 4a9596608a Include hostmasks in JOIN, PART, QUIT logs. James Vega 2010-02-28 21:17:35 -05:00
  • 10f5a12b7e Factoids: Prevent empty key or value when adding a factoid. James Vega 2010-02-05 18:50:03 -05:00
  • 0540513387 Decode/encode as 'string_escape' when (de)serializing the registry. James Vega 2010-01-30 23:03:35 -05:00
  • 288d7c6e02 Update plugins to ignore all non-ACTION CTCP messages. James Vega 2010-01-28 08:14:44 -05:00
  • 3282e3407e Don't bother snarfing URLs from non-Action CTCP messages. Jeremy Fincher 2010-01-28 06:35:53 -06:00
  • 9e15d03375 Filter plugin: improve the `uniud' replacements. Štěpán Němec 2009-08-22 21:03:47 +02:00
  • 3a992ba78e Format plugin: Delete stray `configure' definition from plugin.py. Štěpán Němec 2009-08-20 13:46:58 +02:00
  • 67c8554864 Merge branch 'master' of git+ssh://supybot.git.sourceforge.net/gitroot/supybot/supybot James Vega 2010-01-10 20:20:21 -05:00
  • 408ab6f88a Network: Properly parse WHOIS response James Vega 2010-01-10 20:17:10 -05:00
  • 5f9d2bc4ce We had an issue with a command flooder, so we've tightened command flood detection to detect things on a per-host basis, rather than a per-user@host basis. Jeremy Fincher 2009-12-28 12:26:33 -06:00
  • b774268498 Added network to debug "Incoming message" log. Jeremy Fincher 2009-12-28 12:17:27 -06:00
  • 0806c0bbc3 PLUGIN_TUTORIAL: Remove references to the old website. James Vega 2009-12-10 08:09:11 -05:00
  • 3689460d0f Use 0 when no results are returned for Google.fight James Vega 2009-11-28 21:21:00 -05:00
  • a48cd109a3 Fix supybot-botchk's use of subprocess James Vega 2009-11-28 17:48:03 -05:00
  • 89a535e8c1 Until we can safely load Karma, this test is staying commented out. Jeremy Fincher 2009-11-25 09:17:52 -06:00
  • 52e96bff61 Remove some comments that are now irrelevant (and have been for some time). Jeremy Fincher 2009-11-25 09:14:05 -06:00
  • fbdc44ca52 Switch from using the various popen flavors to subprocess.Popen James Vega 2009-11-22 14:31:58 -05:00
  • e303cab7ae work on getting moobotfactoids to work with sqlite3 note: needs sqlite3 version > 3.3.1, so that it is not restricted against cross-thread usage. Daniel Folkinshteyn 2009-11-18 22:47:56 -05:00
  • 07e283f450 Default to strict RFC compliance. James Vega 2009-11-18 20:02:53 -05:00
  • b77c649c8a factoids now works with sqlite3, all tests pass. Daniel Folkinshteyn 2009-11-18 12:04:52 -05:00
  • 5bf71395e7 another step toward sqlite3 Daniel Folkinshteyn 2009-11-18 02:27:48 -05:00
  • cc1f4ea015 some more mods toward getting sqlite3 to work Daniel Folkinshteyn 2009-11-18 02:03:44 -05:00
  • 11446c7cb5 some work in progress getting plugins to work with sqlite3 Daniel Folkinshteyn 2009-11-18 01:48:11 -05:00
  • a594d0e95c Small typos and doc fixes. hairball 2009-10-27 21:59:52 -04:00
  • a453f56284 ShrinkUrl: Use tinyurl's api-create page to avoid screen-scraping. James Vega 2009-11-04 22:37:53 -05:00
  • eda8ce3aa0 Remove supybot-wizard's direct import of sets. James Vega 2009-11-02 19:11:58 -05:00
  • 082ee59d32 Change a couple tests so they fail for real reasons instead of fake. James Vega 2009-11-01 19:08:34 -05:00
  • 8a98653d3b Allow Banmask.makeBanmask to work when dynamic.channel is None. James Vega 2009-11-01 10:26:08 -05:00
  • acaa9b1fd6 Rename Owner.log to Owner.logmark James Vega 2009-10-31 18:22:14 -04:00
  • 213d304e54 ChannelStats: Add tracking of max users for a channel. James Vega 2009-10-27 19:28:34 -04:00
  • e393ea5917 Remove supybot-plugin-package from the set of installed files. James Vega 2009-10-25 09:20:45 -04:00
  • 899391e4dc Remove supybot-plugin-package. James Vega 2009-10-23 20:09:54 -04:00
  • 96aaf159f6 Use '2x' to reference Python version in README. James Vega 2009-10-23 20:07:48 -04:00
  • dc3cdbd849 Re-word the private message FAQ since +E UMODE is no longer default. James Vega 2009-10-23 20:05:55 -04:00
  • 342ab23af8 Bump the minimum supported Python version to 2.4. James Vega 2009-10-23 19:35:24 -04:00
  • 56ba12aa4b Add support for UltimateIRCd's ! (protected) user mode. James Vega 2009-10-23 19:20:02 -04:00
  • 927c8c963a Use the correct URLs for the PySqlite website. James Vega 2009-10-21 22:48:04 -04:00
  • f475525237 Update references to PySqlite URL James Vega 2009-10-21 22:43:26 -04:00
  • 4c9efc044b Replace Factoids.factoidPrefix with Factoids.format James Vega 2009-10-15 22:37:59 -04:00
  • 5af38453a8 Update Topic to use registry.TemplatedString James Vega 2009-10-15 22:35:17 -04:00
  • 035a9f2459 Add registry.TemplatedString for config variables which use string.Template James Vega 2009-10-15 22:17:36 -04:00
  • 25fc2de643 utils.web: Provide access to the raw httpUrlRe/urlRe strings James Vega 2009-10-15 21:56:26 -04:00