Commit Graph

19 Commits

Author SHA1 Message Date
Brian S. Stephan cf01114390 remove vim modeline 2015-05-12 20:56:36 -05:00
Brian S. Stephan 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
Brian S. Stephan 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
Brian S. Stephan 0ea9c3a164 rename ircbot.py to bot.py
ircbot/ircbot.py confused the importer
2015-05-09 20:03:55 -05:00
Brian S. Stephan 3d61838a92 start the new ircbot framework 2015-05-09 18:56:26 -05:00
Brian S. Stephan 1dd8e76942 bump django to 1.8.1 2015-05-08 22:53:38 -05:00
Brian S. Stephan 518ad4174a django bump to 1.7.8 2015-05-08 22:32:04 -05:00
Brian S. Stephan 1484aded84 reorganizing project directories, part 2 2015-05-08 20:44:24 -05:00
Brian S. Stephan 2ffdf26ec2 reorganizing project directories, part 1 2015-05-08 20:37:22 -05:00
Brian S. Stephan 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
Brian S. Stephan 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
Brian S. Stephan 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
Brian S. Stephan db1f77e102 blank index page. code stolen from polycephaly 2014-03-20 19:21:11 -05:00
Brian S. Stephan 92b7e3b333 templates and static dirs for when they happen 2014-03-20 19:19:43 -05:00
Brian S. Stephan 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
Brian S. Stephan 2553e6bed1 load django_extensions 2014-03-16 14:02:02 -05:00
Brian S. Stephan 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
Brian S. Stephan 6d85a580f3 normal django localsettings.py import thing 2014-03-16 09:34:39 -05:00
Brian S. Stephan e21bebc24c django skeleton 2014-03-16 09:22:11 -05:00