1570bc28f9
markov: increase context/target name size
2015-05-15 08:32:36 -05:00
34e0c76dce
migration for aliases plural
2015-05-15 08:31:19 -05:00
92bea5f629
Django 1.8 port: move markov templates to app dir
2015-05-15 08:30:58 -05:00
7b93c7d63c
provide reason for failure to load plugin
2015-05-14 21:43:35 -05:00
0428c30faf
add Alias support
...
allows stuff like ^!die$ -> !quit
no recursion (yet? or maybe i'll never bother), but this should allow
the basic aliases
2015-05-14 21:39:20 -05:00
e7de9f840d
minor comment cleanup so pycharm highlights it
2015-05-14 10:34:20 -05:00
34c73fccf9
create a plugin to do common basic irc actions
2015-05-12 22:39:53 -05:00
438ab414ff
use bot.die() over bot.disconnect()
2015-05-12 22:34:27 -05:00
14e5fb4d6f
ircbotlib.reply_destination_for_event
...
common idiom that'll only get used more and more, so might as well make
a library method of it
2015-05-12 22:33:09 -05:00
8c39b017d3
better _handle_event debug message
2015-05-12 22:30:32 -05:00
cf01114390
remove vim modeline
2015-05-12 20:56:36 -05:00
c4bfcf3e1b
add BotAdmin, IrcPlugin models
...
a lot of stuff in here around support for loading plugins from arbitrary
files. plugins have a basic amount of initialization and then hook into
the core IRC event system
it makes sense to have modules respond to regexes, so there's some
handler stuff for that --- it was the most popular way to do stuff in
the old version of the bot
we need to check that people trying to load plugins are admins, so
there's some stuff for that, too
the expectation is that many features from here are happen in plugins,
rather than modifying the core bot
2015-05-12 20:45:18 -05:00
bd3ffd4067
add channel model, support autojoining
...
known channels in the database can be set to autojoin when the bot
starts (when it gets the MOTD, because i couldn't find an "on_connect"
event)
2015-05-10 10:02:25 -05:00
0ea9c3a164
rename ircbot.py to bot.py
...
ircbot/ircbot.py confused the importer
2015-05-09 20:03:55 -05:00
3d61838a92
start the new ircbot framework
2015-05-09 18:56:26 -05:00
1dd8e76942
bump django to 1.8.1
2015-05-08 22:53:38 -05:00
518ad4174a
django bump to 1.7.8
2015-05-08 22:32:04 -05:00
1484aded84
reorganizing project directories, part 2
2015-05-08 20:44:24 -05:00
2ffdf26ec2
reorganizing project directories, part 1
2015-05-08 20:37:22 -05:00
77e52acc75
Markov: first cut of markov in django
...
this is just a basic port of the tables into django models right now.
there's some serious slowness in the state creation that i need to fix
before this does anything, but i want to get this in a real database on
a real linode before i go too much further, so here it is
2014-04-05 10:52:29 -05:00
f9c7388bae
just return a blank page for the index
...
i'll keep the index.html around for when we eventually use it, though
2014-04-05 10:49:23 -05:00
54b6da689d
Races: really basic races site with a detail page
...
getting this out there so that i maybe feel motivated to make it not
suck in the future
2014-03-20 19:21:56 -05:00
db1f77e102
blank index page. code stolen from polycephaly
2014-03-20 19:21:11 -05:00
92b7e3b333
templates and static dirs for when they happen
2014-03-20 19:19:43 -05:00
5fff9411a5
Races: add module to do a crude racebot thing
...
join/start/update/finish/leave. good enough start i think
2014-03-16 15:46:15 -05:00
2553e6bed1
load django_extensions
2014-03-16 14:02:02 -05:00
84ee09d4a3
migrate Seen to django models and whatnot
...
this also adds south and django_extensions stuff, because that is the
natural thing to do. this is a pretty good start, i think
2014-03-16 11:35:01 -05:00
6d85a580f3
normal django localsettings.py import thing
2014-03-16 09:34:39 -05:00
e21bebc24c
django skeleton
2014-03-16 09:22:11 -05:00