Commit Graph

868 Commits

Author SHA1 Message Date
Brian S. Stephan f0072fb633 ircbot: configure a sleep before autojoin channels 2015-06-16 19:01:41 -05:00
Brian S. Stephan aca4ed3eac Races: ported to ircbot v2. deleted 2015-06-13 13:41:54 -05:00
Brian S. Stephan 1af5f67daf port races irc module to new bot 2015-06-13 13:41:37 -05:00
Brian S. Stephan 7876ad2290 Markov: ported to ircbot, noted last TODO. deleted 2015-06-13 13:19:18 -05:00
Brian S. Stephan a345f4567e make the markov admin view URLs a bit better 2015-06-13 13:08:14 -05:00
Brian S. Stephan d9f905c691 privmsg interface to ircbot in django admin
fill out the form, send a privmsg
2015-06-13 13:07:52 -05:00
Brian S. Stephan 56b495e8fb add an XML-RPC interface to the irc bot
this allows plugins to register methods that can be called over XML-RPC

the old bot used this interface behind apache for a web service, but i
think in this version it will only be for django -> ircbot, and django
will have a rest API for other things
2015-06-13 13:06:10 -05:00
Brian S. Stephan 65a03ced03 use adminplus to add admin views
move the markov learning views into the admin
2015-06-13 12:20:10 -05:00
Brian S. Stephan 6eb589d2d6 Dice: ported to ircbot v2. deleted 2015-05-27 21:02:18 -05:00
Brian S. Stephan 871c8e1db8 dice: irc plugin for !roll commands
basically a straight port from the old code. handles normal dice rolling
and cthulhutech style
2015-05-27 21:01:28 -05:00
Brian S. Stephan c486cabd4e TextTransform: ported to bot v2. deleted 2015-05-27 20:07:22 -05:00
Brian S. Stephan 91f0b8c651 transform: port TextTransform to bot v2
this just has some simple (and occasionally handy?) text transformations
as an irc plugin, like upper/lower case, base64, and similar
2015-05-27 20:05:38 -05:00
Brian S. Stephan fefbcf695e karma: use unicode_literals 2015-05-27 20:05:04 -05:00
Brian S. Stephan 291c88755d BUGS: "document" a bug i saw just before 2015-05-27 20:04:49 -05:00
Brian S. Stephan 6842fad841 Facts: ported to ircbot v2. deleted 2015-05-21 22:33:35 -05:00
Brian S. Stephan eb006db04d facts: store facts in the database for retrieval
should be able to accomplish a variety of things, from actual helpful
facts to quotes to fortune commands
2015-05-21 22:32:57 -05:00
Brian S. Stephan 7d13119176 standardize logging logger names 2015-05-21 22:05:10 -05:00
Brian S. Stephan bd4b2e176a pi: meta options on PiLog 2015-05-21 22:04:57 -05:00
Brian S. Stephan 1ec1b54e5a remove a bunch of old vi modelines 2015-05-21 21:57:54 -05:00
Brian S. Stephan 56b288e8b4 Pi: ported to new bot. deleted 2015-05-21 21:42:37 -05:00
Brian S. Stephan 7046b53f20 pi: add an app to simulate pi via monte carlo 2015-05-21 21:41:42 -05:00
Brian S. Stephan e647fc9b4d ircbot: don't require topic/setter in IrcChannel
one may want to set autojoin for a channel that hasn't yet had topic
stuff logged, so don't require it in the form
2015-05-21 21:14:01 -05:00
Brian S. Stephan ed5f164092 ircbot: guess at nickmask in __init__()
some ircds don't lead to a welcome signal, so our attempts to set the
nickmask there may never happen. guess at one first, in the event that
_on_welcome() never fires
2015-05-21 18:45:01 -05:00
Brian S. Stephan c9542c1617 Karma: ported to irc bot v2. deleted 2015-05-19 22:01:19 -05:00
Brian S. Stephan 6205be109b ircbot: migration for the IrcPlugin ordering 2015-05-19 22:00:30 -05:00
Brian S. Stephan 062348ef99 karma: app for managing karma, aka ++s and --s
this is a djangoification of the old (really old, actually) karma stuff
written by mike bloy. functionality should be the same, and might be a
bit faster through the ORM now
2015-05-19 21:57:01 -05:00
Brian S. Stephan 2fbd76dba6 seen: make handle_seeing a @staticmethod 2015-05-19 21:55:11 -05:00
Brian S. Stephan e77dc571be markov: remove unused imports in ircplugin 2015-05-19 21:54:39 -05:00
Brian S. Stephan 53604c3184 ircbot: specify IrcPlugin ordering 2015-05-19 21:53:40 -05:00
Brian S. Stephan f9d12811b6 TODO: update slightly, still need to clean this up 2015-05-19 21:53:11 -05:00
Brian S. Stephan f907e1b592 requirements.txt: add pytz 2015-05-19 21:52:49 -05:00
Brian S. Stephan 244e1c3fb8 Seen: ported to irc bot v2. deleted 2015-05-15 22:40:38 -05:00
Brian S. Stephan 0ce83c4fa8 seen: port to irc bot v2 2015-05-15 22:40:13 -05:00
Brian S. Stephan 53caf2b94b reference handlers directly rather than w/getattr
mostly just picking a convention
2015-05-15 22:21:15 -05:00
Brian S. Stephan 903a8f5c80 ircbot: list to remove_global_regex_handler
same as previous commit, inverse of add_, for convenience
2015-05-15 22:15:43 -05:00
Brian S. Stephan 134c02dc59 ircbot: list of events to add_global_regex_handler
for convenience, pass a list of events to add_global_regex_handler if
you want to have multiple things fire the same handler. common case is
pubmsg and privmsg
2015-05-15 22:08:00 -05:00
Brian S. Stephan 6982e6d438 TopicDump: obsoleted, replaced. deleted 2015-05-15 21:48:49 -05:00
Brian S. Stephan a3484b0d3a topicmonitor: monitor when channel topic changes
comes with a migration to add topic tracking to IrcChannel
2015-05-15 21:48:19 -05:00
Brian S. Stephan b15afcade8 old-web: deleting, it is no longer valuable 2015-05-15 21:24:25 -05:00
Brian S. Stephan 1bd57a8c3b Weather: ported to new bot. deleted 2015-05-15 21:23:01 -05:00
Brian S. Stephan 41a7628c63 weather: port weather to new style bot 2015-05-15 21:22:14 -05:00
Brian S. Stephan 80eca4781c ircmgmt: cleanups, remove some unused stuff 2015-05-15 21:21:39 -05:00
Brian S. Stephan fd85d37474 ircbot: use unicode_literals
desperate attempt to make unicode handling in this code better
2015-05-15 21:20:10 -05:00
Brian S. Stephan 196e12b5d0 Echo has been ported. deleted 2015-05-15 19:50:18 -05:00
Brian S. Stephan 77f8a1dd38 Babelfish stopped working a long time ago. deleted 2015-05-15 19:49:15 -05:00
Brian S. Stephan c6cc9c4c62 Achievements is old and unused. deleted 2015-05-15 19:48:48 -05:00
Brian S. Stephan 16fa94cb24 markov: don't learn recursive stuff 2015-05-15 18:38:00 -05:00
Brian S. Stephan 43da4bff5a markov: add !markov reply command 2015-05-15 18:37:48 -05:00
Brian S. Stephan 67411ad0bc echo: a simple echo plugin 2015-05-15 18:22:13 -05:00
Brian S. Stephan 5716e285b6 ircbot: attempt to bring recursion back
so initial tests suggest this is working well, but it's not exactly the
clearest code, so let's call this a rough proof of concept of recursion
in the bot
2015-05-15 18:20:59 -05:00