Commit Graph

788 Commits (1484aded84a667722b92e60a42d61de34ec9495c)

Author SHA1 Message Date
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 827131eeda bump django 2015-03-29 10:29:25 -05:00
Brian S. Stephan b7b165fd8f Markov: default bot to only one sentence replies 2014-05-03 21:00:48 -05:00
Brian S. Stephan 2917ea9626 Markov: indicate # sentences we want in a line
before we were just adding words until we hit the min/max, now let's
also count the number of sentences and have a cutoff there, if we don't
want the whole appending thing no matter what
2014-05-03 20:56:33 -05:00
Brian S. Stephan dbc3d16f65 Markov: only add sentence punctuation if necessary 2014-05-03 20:54:26 -05:00
Brian S. Stephan 676d109f57 Markov: even more unicode fixes 2014-05-03 20:50:15 -05:00
Brian S. Stephan 244720934c Markov: rename internal methods to make them clear 2014-05-03 20:47:48 -05:00
Brian S. Stephan 3856a1e95b Markov: try to fix unicode errors in irc bot 2014-05-03 20:44:52 -05:00
Brian S. Stephan a9560b6fa2 bump django 2014-04-24 20:46:03 -05:00
Brian S. Stephan f9ed58ad52 Markov: some indexes to MarkovState, might help 2014-04-05 23:09:50 -05:00
Brian S. Stephan bf6a43ec9e Markov: improve performance of state transitions 2014-04-05 22:54:39 -05:00
Brian S. Stephan c193b7f4be Markov: support ignoring prefixes in import/learn
this is so we can ignore/strip "botname: " ish lines
2014-04-05 18:00:45 -05:00
Brian S. Stephan 1fc13b011d Merge branch 'master' of 2014-04-05 17:26:17 -05:00
Brian S. Stephan cc5b8e88e6 Races: order updates by event time 2014-04-05 17:24:31 -05:00
Brian S. Stephan 54efe617d0 Markov: only split two \ts on file import 2014-04-05 16:39:44 -05:00
Brian S. Stephan 97070d495f Markov: assuming file uploads are utf8 2014-04-05 16:18:48 -05:00
Brian S. Stephan f1ff281da2 Markov: port IRC bot module to django models
work in progress, not everything works yet, but the important stuff
2014-04-05 15:55:33 -05:00
Brian S. Stephan 6a50db0e3d Markov: field changes: uniqueness, max_length 2014-04-05 15:55:06 -05:00
Brian S. Stephan 169f73cb36 Markov: view/form/etc for teaching lines 2014-04-05 14:53:30 -05:00
Brian S. Stephan 9c08a203c7 Markov: generate markov chains into sentences
some view stuff to get at it through django while we're here
2014-04-05 14:52:30 -05:00
Brian S. Stephan ad2044a178 Markov: unicode debugging lines 2014-04-05 14:24:30 -05:00
Brian S. Stephan acfcd574b5 Markov: add a permission for importing from a log 2014-04-05 11:20:59 -05:00
Brian S. Stephan 399d419824 Markov: heed k1/k2/v length limit when importing 2014-04-05 11:09:03 -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 197f9908e6 .gitignore *.log 2014-04-05 10:50:33 -05:00
Brian S. Stephan c1fadb7b74 Races: add some logging stuff for later use 2014-04-05 10:50:01 -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 c8a72cf8a5 Merge branch 'master' of 2014-03-20 19:22:28 -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 65419d1cdb Races: fix FK migration to use a char default val 2014-03-20 18:41:30 -05:00
Brian S. Stephan 643147cec7 Races: add FK to Race in RaceUpdate 2014-03-20 18:36:52 -05:00
Brian S. Stephan f6fb16225f .gitignore *.json 2014-03-20 18:34:37 -05:00
Brian S. Stephan 1157fab28f Races: log the proper thing on a start 2014-03-20 18:32:48 -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 3316f4a868 Seen: don't overwrite the speaking nick
in case we ever need it for anything
2014-03-16 15:14:34 -05:00
Brian S. Stephan bda4b78564 DrBotIRC: have regex handler take list of events
forgot to commit the unhook part
2014-03-16 15:09:46 -05:00
Brian S. Stephan 0c7e4023ac Seen: convert to new-style module 2014-03-16 15:04:24 -05:00
Brian S. Stephan 319fb5b7e9 DrBotIRC: have regex handler take list of events
this is for convenience since doing pubmsg+privmsg will be pretty common
2014-03-16 15:02:04 -05:00
Brian S. Stephan 2553e6bed1 load django_extensions 2014-03-16 14:02:02 -05:00
Brian S. Stephan 930523e818 Seen: strftime the output seen time 2014-03-16 12:47:47 -05:00
Brian S. Stephan cd2c44ab20 script to port old seen data to django models 2014-03-16 12:21:38 -05:00
Brian S. Stephan d53e2d108c Merge branch 'master' of 2014-03-16 12:16:50 -05:00
Brian S. Stephan ce761e56b3 Seen: don't use ModificationDateTimeField
this is so we can set it properly in an import script
2014-03-16 12:16:21 -05:00
Brian S. Stephan 65c8c0a15f clean up the requirements a bit 2014-03-16 11:44:49 -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 4633c936fb have dr.botzo use django settings
a couple are set as a proof of concept, too lazy to move everything
right now
2014-03-16 09:59:52 -05:00
Brian S. Stephan 6d85a580f3 normal django import thing 2014-03-16 09:34:39 -05:00