This website requires JavaScript.
2f5bdf5d1f
Web (Karma): add detail page to see the deltas of one key
Brian S. Stephan
2011-02-20 17:08:17 -06:00
497d9288e7
Web (Storycraft): include storycraft # in <title>
Brian S. Stephan
2011-02-20 16:28:21 -06:00
578c2ea29f
Karma: allow for karma/query on unicode strings
Brian S. Stephan
2011-02-20 16:13:00 -06:00
ca0ee4ce41
Web: autoescape in all templates
Brian S. Stephan
2011-02-20 13:45:39 -06:00
d2a6267d95
Web (Storycraft): show a bar indicating the progress of the detailed game
Brian S. Stephan
2011-02-20 13:11:49 -06:00
576cea4c0a
Web (Storycraft): only do fancy first-letter tricks on actual stories, not the message about how there isn't a story to show yet.
Brian S. Stephan
2011-02-20 11:42:33 -06:00
632a3f5e99
Web: add an app for storycraft, mainly for viewing completed games at the moment
Brian S. Stephan
2011-02-20 11:32:17 -06:00
91b276ece5
TODO: half-thought plan to move all bot config to the database
Brian S. Stephan
2011-02-19 14:16:29 -06:00
faef1cb802
Web: add a root index page
Brian S. Stephan
2011-02-19 14:13:11 -06:00
378029321c
Web: move botweb to web
Brian S. Stephan
2011-02-19 13:22:36 -06:00
55ad48c805
Web: slight environment cleanup, wsgi app
Brian S. Stephan
2011-02-19 13:18:31 -06:00
c9046ff587
Merge remote branch 'origin/mjb.web'
Brian S. Stephan
2011-02-19 10:47:31 -06:00
22b35bcb94
Storycraft: add storycraft_gamestatus in order to break out getting a game's status
Brian S. Stephan
2011-02-19 01:18:14 -06:00
de04fd0d85
add TODO for fixing Twitter poll output order
Brian S. Stephan
2011-02-19 01:17:19 -06:00
3e63c2e458
since sending arbitrary text and replying now have very different goals, add Module.sendmsg
Brian S. Stephan
2011-02-17 12:31:51 -06:00
752515a628
put check for pubmsg vs. privmsg in Module.reply() rather than a method where it achieved nothing
Brian S. Stephan
2011-02-17 12:07:41 -06:00
fca716af9e
allow for multiple modules to respond to recursion text
Brian S. Stephan
2011-02-17 12:01:32 -06:00
f4d69c90d4
Alias: don't crash when doing alias info output because i forgot to update the reply calls.
Brian S. Stephan
2011-02-17 10:07:29 -06:00
04c5a641d1
Alias: ignore case in alias search
Brian S. Stephan
2011-02-17 09:38:41 -06:00
2aa369add7
rewrite recursion/alias code for the 500th time.
Brian S. Stephan
2011-02-17 01:08:45 -06:00
64df118c65
move Twitter._unescape to Module._unencode_xml
Brian S. Stephan
2011-01-26 20:28:34 -06:00
28f450ab5d
Markov: improve min_size by implementing min_search_tries
Brian S. Stephan
2011-01-25 20:42:52 -06:00
7b4b86dc0d
Markov: add support for requesting desired min/max size of a reply
Brian S. Stephan
2011-01-25 20:25:15 -06:00
157f1bf361
Twitter: add command for a twitter-native reply
Brian S. Stephan
2011-01-25 19:36:24 -06:00
1aba7c904d
Alias: convert to use database
Brian S. Stephan
2011-01-24 17:01:32 -06:00
c732466129
Merge branch 'master' of git.incorporeal.org:dr.botzo
Brian S. Stephan
2011-01-24 16:51:52 -06:00
2f3feb093d
have !markov learn echo the text it learned, in case someone wants to chain it with other commands for some reason
Brian S. Stephan
2011-01-24 16:51:05 -06:00
4e8b60c201
Karma: add top to reportpattern
Brian S. Stephan
2011-01-20 14:50:51 -06:00
18fc614a4a
assorted whitespace nitpicking
Brian S. Stephan
2011-01-20 14:15:10 -06:00
7601b025e1
Merge remote branch 'origin/mjb'
Brian S. Stephan
2011-01-20 14:08:39 -06:00
ce42bca43a
add new help text for new karma command
Mike Bloy
2011-01-20 10:12:28 -06:00
2cc79b42a6
add a top karma givers report
Mike Bloy
2011-01-20 10:08:20 -06:00
a0a5bdec1c
document moving Twitter's _unencode somewhere more appropriate
Brian S. Stephan
2011-01-19 23:24:30 -06:00
5ec7ac7177
Twitter: unescape some xml entities that may show up in the input.
Brian S. Stephan
2011-01-19 23:12:01 -06:00
a961180065
Twitter: support for polling the bot's timeline and mentions feeds
Brian S. Stephan
2011-01-19 22:56:49 -06:00
cac9afd33e
document sqlite/threads bug
Brian S. Stephan
2011-01-19 20:59:24 -06:00
e88a934569
Twitter: cleanup/organize the code a bit
Brian S. Stephan
2011-01-19 19:44:04 -06:00
89905ac771
Twitter: tweet_or_retweet_text -> _return_tweet_or_retweet_text
Brian S. Stephan
2011-01-19 19:26:28 -06:00
7c05f60ffd
Markov: implement a min_size, which tries to make a chain of at least min_size words.
Brian S. Stephan
2011-01-19 18:44:07 -06:00
ac0429569e
Markov: size -> max_size, since I'm going to try adding a min_size soon
Brian S. Stephan
2011-01-19 18:35:01 -06:00
176ca25c68
Markov: increase the default max length from 25 words to 100 words.
Brian S. Stephan
2011-01-19 18:32:15 -06:00
c4ade3cbca
catch all Exception when calling the handlers, to avoid a crash there.
Brian S. Stephan
2011-01-19 10:21:14 -06:00
d592d3f3bb
Markov: regexes should only match start of line --- add ^
Brian S. Stephan
2011-01-19 10:20:20 -06:00
3283fac1ff
Markov: remove some debugging i forgot to clean out before the initial commit
Brian S. Stephan
2011-01-18 22:51:40 -06:00
9841a51f21
.gitignore dr.botzo.markov
Brian S. Stephan
2011-01-18 22:34:03 -06:00
8dd223f778
Markov: a module to implement a chatterbot via markov chains.
Brian S. Stephan
2011-01-18 22:30:59 -06:00
8f86b7484a
Storycraft: fix progress math
Brian S. Stephan
2011-01-09 22:36:56 -06:00
10cbe1944f
Storycraft: add a terse progress string to the output when messaging players.
Brian S. Stephan
2011-01-09 22:17:22 -06:00
e9c22d33f3
Storycraft: write completed story to disk via !storycraft export #
Brian S. Stephan
2011-01-09 21:41:23 -06:00
e39d55f03d
Storycraft: display how over the user went when writing their line, if they went over
Brian S. Stephan
2011-01-09 21:40:03 -06:00
69aa4016bc
add working karma module to django bot site
Mike Bloy
2011-01-09 14:11:24 -06:00
2f001e274b
Storycraft: notify (via privmsg) a player who has had a game newly assigned to them, and show the line.
Brian S. Stephan
2011-01-09 13:50:16 -06:00
154eb9753f
adding karma 'app'
Mike Bloy
2011-01-09 12:51:12 -06:00
487ca2e862
Storycraft: display the number of logged lines when doing an in progress status
Brian S. Stephan
2011-01-09 12:30:55 -06:00
7ae2a75732
Storycraft: when picking a new random player in the middle of a game, avoid picking the same person as the last turn
Brian S. Stephan
2011-01-09 12:28:37 -06:00
b133b37d61
Storycraft: list games waiting for me.
Brian S. Stephan
2011-01-09 11:51:10 -06:00
26a510ff40
Storycraft: add 'list games my games', which is the open/in progress games the queryer is in
Brian S. Stephan
2011-01-09 11:32:09 -06:00
ce7d9e8010
Storycraft: allow listing of completed games
Brian S. Stephan
2011-01-09 11:16:36 -06:00
940ed57f2e
Storycraft: tell the master channel when someone joins a game
Brian S. Stephan
2011-01-09 11:13:06 -06:00
797f660a9e
Storycraft: don't flood the target with storycraft_listgames, display only ids if count > 5
Brian S. Stephan
2011-01-09 11:12:27 -06:00
da313800b9
initial django setup
Mike Bloy
2011-01-09 11:11:20 -06:00
fd22cb64d4
Storycraft: add command to show the assignee the line to reply to.
Brian S. Stephan
2011-01-09 10:41:57 -06:00
8c1d98cb74
Storycraft: order by id in addition to time in _get_lines_for_game query
Brian S. Stephan
2011-01-09 10:39:08 -06:00
22d3ce44bf
Storycraft: trivial comment correction
Brian S. Stephan
2011-01-09 10:38:25 -06:00
656468f955
Storycraft: proper argument order in _update_line
Brian S. Stephan
2011-01-09 10:36:21 -06:00
95e7a243d1
tighten up the regexes since we only use integer IDs for operations.
Brian S. Stephan
2011-01-09 10:12:27 -06:00
90d38c1741
Storycraft - collaborative nonsense story writing
Brian S. Stephan
2011-01-09 03:27:12 -06:00
47bb4bac49
Merge branch 'mjb.help' into mjb
Mike Bloy
2011-01-08 23:42:18 -06:00
66a736b108
added help for the IrcAdmin module
Mike Bloy
2011-01-08 23:41:41 -06:00
d68487de95
added help for Karma module
Mike Bloy
2011-01-08 23:21:36 -06:00
07d3775842
added help text to the Help module
Mike Bloy
2011-01-08 22:47:51 -06:00
fdd059ddbc
change default module description
Mike Bloy
2011-01-08 22:32:55 -06:00
87088e67d1
attempt to ask the modules for help text
Mike Bloy
2011-01-08 22:32:18 -06:00
763f8906d7
Help module responds to commands
Mike Bloy
2011-01-08 21:52:59 -06:00
d34a134993
add help functions to Module.py
Mike Bloy
2011-01-08 13:39:38 -06:00
10ec3b2213
.gitignore ignore tags files
Mike Bloy
2011-01-08 13:13:28 -06:00
649e183337
allow for newlines in DrBotIRC.reply(), split on them for multiple lines of output
Brian S. Stephan
2011-01-08 14:40:01 -06:00
a2ac73325c
turns out we do indeed need modules/__init__.py, so add it back
Brian S. Stephan
2011-01-08 09:39:05 -06:00
1664cf2de7
since the save command was saving both modules and config, call it !save, not !config save
Brian S. Stephan
2011-01-08 09:16:37 -06:00
a6c7b6b0b2
list loaded modules in DrBotIRC, display it via IrcAdmin
Brian S. Stephan
2011-01-08 01:22:31 -06:00
451084a1d9
BUGS: document a GoogleWeather crash i've seen once
Brian S. Stephan
2011-01-08 01:13:24 -06:00
3e533890a1
IrcAdmin: following the last change to saving, have !save also call a new save_modules()
Brian S. Stephan
2011-01-08 00:49:10 -06:00
1e0de47d84
MegaHAL: we don't need to sync the brain in shutdown(), since we sync it in save()
Brian S. Stephan
2011-01-08 00:46:20 -06:00
f2668c3851
mention how Module.save() and Module.shutdown() are related
Brian S. Stephan
2011-01-08 00:45:42 -06:00
faf37447cf
make the module saving a bit more consistent
Brian S. Stephan
2011-01-08 00:44:37 -06:00
88d2a530c3
previous commit fixed the megahal-reacting-before-important-commands bug
Brian S. Stephan
2011-01-08 00:35:26 -06:00
015fe87e1a
implement priority in calling do().
Brian S. Stephan
2011-01-08 00:32:46 -06:00
07be2f3a85
MegaHAL: do add_global_handler in the right place, actually do remove_global_handler
Brian S. Stephan
2011-01-08 00:31:19 -06:00
36fcbde267
do a deep copy of the string being learned from, since mh_python is weird/corrupty
Brian S. Stephan
2011-01-08 00:26:18 -06:00
bed3f7ec23
use add_global_handler on pubmsg/privmsg to learn from IRC.
Brian S. Stephan
2011-01-08 00:14:11 -06:00
c23b59d705
improve upon the splitting (which was excessive following the last commit).
Brian S. Stephan
2011-01-08 00:05:00 -06:00
bf7074b76e
use a welcome handler to capture the bot's nickmask.
Brian S. Stephan
2011-01-07 23:56:51 -06:00
ae4411605d
remove the bot admin/alias/recursion stuff from TODO
Brian S. Stephan
2011-01-07 23:17:37 -06:00
8bbfeba593
add note on the annoyingness of unicode escapes in GoogleTranslate bug
Brian S. Stephan
2011-01-07 23:16:59 -06:00
d4062cbe99
oops. continue to learn messages in MegaHAL that we don't reply to
Brian S. Stephan
2011-01-07 23:12:06 -06:00
359ca24856
remove replypath and all the places it was used.
Brian S. Stephan
2011-01-07 23:09:07 -06:00
dbf02723e0
countdown formatting bug
Brian S. Stephan
2011-01-07 23:05:06 -06:00
a234807335
move !alias manipulation commands out of try_alias and into the pubmsg/privmsg handler
Brian S. Stephan
2011-01-07 22:34:27 -06:00
4cac5f1a93
fixes and improvements to recursion and alias support
Brian S. Stephan
2011-01-07 22:31:30 -06:00
516940630c
hack the replypath to the sender, if we're handling a privmsg
Brian S. Stephan
2011-01-07 21:14:14 -06:00