5f29d12561minor comment update following the recent register_handlers() changeBrian S. Stephan2010-07-30 18:54:57 -0500
594c4d297dremove_global_handler() for pubmsg and privmsg by default, since Module does the add_global_handler() (last commit)Brian S. Stephan2010-07-30 18:53:58 -0500
eb1efa4919add_global_handler() for pubmsg and privmsg by default, since Module defines on_pubmsg/on_privmsg anyway, and that's been the default for almost every module so farBrian S. Stephan2010-07-30 18:50:56 -0500
bb08669b70last commit completed 'TODO: move modlist.append() to Module' even though nothing actually had to be movedBrian S. Stephan2010-07-30 14:47:10 -0500
5ba26107cceach module subclassing Module unnecessarily defined __init__, with the exception of IrcAdmin, whose SIGINT setup was moved to register_handlersBrian S. Stephan2010-07-30 14:38:28 -0500
0fc9a325fbchange command: 'save' -> 'config save'. will have other config functions, rename method eventuallyBrian S. Stephan2010-07-30 06:49:24 -0500
1edeb703b4printing the time string with countdown result was vetoed pretty early on, and i don't think i have any want to go back to that wellBrian S. Stephan2010-07-30 00:36:11 -0500
ae4c1fa726move common reply functionality into a method in ModuleBrian S. Stephan2010-07-30 00:34:57 -0500
57090fdda4long list of changes to allow modular Module reloads: server as module variable, class appends self to module list, unregister_handlers method which must be overridden, reload method which does the magic to create the a new object of the re-read class. drop use of the main rehash and reload_modules, and don't pass rehash around anymore. load initial objects 'the old way' again. feature modules change for compatability and implementation of all of the above changesBrian S. Stephan2010-07-29 22:36:08 -0500
87c4cec3f2override on_pubmsg, since we need to do things regardless of the normal command-addressed-to-bot flowBrian S. Stephan2010-07-29 00:44:38 -0500
02df2ca783Cleanup code
kad
2010-07-28 12:25:49 -0600
0c17196b32Add some modelines and fix indentation, I hope.
kad
2010-07-27 23:11:58 -0600
ec9acdd2eeForgot to add files :(
kad
2010-07-27 19:35:01 -0600
1704fc7c50Add ability to rehash modules. Split modules into separate files. Rehash is a bit flakey, not sure of a better way to do it.
kad
2010-07-27 19:26:21 -0600
c1da6cc052use the with keyword to open the file, so that the file is properly closedBrian S. Stephan2010-07-26 21:08:34 -0500
5927d361efbite the bullet and load the entire file into memory rather than doing the fun only-load-one-line trick, so that it's easier to search with a regex laterBrian S. Stephan2010-07-26 21:06:59 -0500
3037364ef9more unicode fake replacements, now that i reverted the real fixBrian S. Stephan2010-07-26 20:54:54 -0500
497554c314Revert "handle unicode escapes the right way, now that i properly looked up what was going on" because it turns out that result languages like ja mix the escaped unicode and the natural unicode and that screws up every method i've found to parse so far, as they all appear to expect all escaped or all native. here's an example:Brian S. Stephan2010-07-26 20:48:54 -0500
22c423f8b5creating custom classes inheriting from irclib, in an attempt to figure out this unicode stuff and to do privmsg splitting eventuallyBrian S. Stephan2010-07-26 20:05:17 -0500
9836ebf11fhandle unicode escapes the right way, now that i properly looked up what was going onBrian S. Stephan2010-07-26 19:29:52 -0500
3bd8fb13c2do a couple simple conversions of htmlified characters to their ascii equivalentBrian S. Stephan2010-07-26 18:33:10 -0500
8fba54e33dfact module. gets a random line out of the file, still needs search support, adding, whatever elseBrian S. Stephan2010-07-26 18:14:33 -0500
c8e3a4354bsupport for recursion. took a lot of time, probably a bit brittle, and a bunch of other changes got caught in the wake as i made it work. there are a couple candidates for making things generic in Module somewhere (somehow?), as a lot of stuff around replypath is reused for each classBrian S. Stephan2010-07-26 00:49:15 -0500
565aff193cconvert all the miscellaneous irc interactions to an IrcAdmin Module. now everything is a module, and i can remove some other hooks. ugliest diff to date.Brian S. Stephan2010-07-25 22:06:51 -0500
e8d9228b61convert countdown to a Module. one of many steps in the plan for recursionBrian S. Stephan2010-07-25 21:11:27 -0500
56a45bc83bimplement google translate. works pretty well for url scrapingBrian S. Stephan2010-07-25 20:23:41 -0500
11ddb9af27have Module inherit from object, remove some debugging stuff in Module, implemeent a skeleton of a GoogleTranslate module, use that to testBrian S. Stephan2010-07-25 20:14:53 -0500
c25af51088Module class, convenience for implementing new features. meant to be inheritedBrian S. Stephan2010-07-25 20:09:02 -0500
9f6ae529fesemicolon support. multiple rolls on one line, separated by ;Brian S. Stephan2010-07-25 19:21:20 -0500
ec2be10acadice roller, fairly sophisticated already, for normal rollsBrian S. Stephan2010-07-25 17:39:22 -0500
939f522f4bless what.split(), more counting of what.split() resultsBrian S. Stephan2010-07-25 10:43:27 -0500
748b59a272set the config's nick when changing nick. this will be saved for next timeBrian S. Stephan2010-07-25 10:28:50 -0500
93c86257a0command to change the bot's nick, refer to that rather than the original config option when neededBrian S. Stephan2010-07-25 10:24:15 -0500
226ad6709ecommand to save the config file without quitting. mostly using for debugging, but probably interesting in generalBrian S. Stephan2010-07-25 10:09:48 -0500