This website requires JavaScript.
a451eceef3
TODO: some crap i can't decide on or am too lazy to undertake on a whim
Brian S. Stephan
2011-01-06 23:31:42 -0600
8bbda8b575
if we add the module to the autoload list on a load, we should remove it on unload
Brian S. Stephan
2011-01-06 23:29:51 -0600
a3d30daacb
given how we load modules now, we don't need modules/__init__.py
Brian S. Stephan
2011-01-06 23:27:52 -0600
acca8723b3
convert to/standardize docstrings a bit.
Brian S. Stephan
2011-01-06 23:25:46 -0600
247719814e
magic 8-ball module.
Brian S. Stephan
2011-01-06 23:08:33 -0600
40888869b0
fix the cheap unicode escapes in GoogleTranslate
Brian S. Stephan
2011-01-06 22:53:21 -0600
b487caf12d
make the config file argument optional.
Brian S. Stephan
2011-01-06 22:43:10 -0600
00d5502477
remove some stuff that's been commented out for a while now
Brian S. Stephan
2011-01-06 22:40:45 -0600
2f90304a47
module loading/unloading looks pretty well implemented
Brian S. Stephan
2011-01-06 22:33:24 -0600
85c5c69cb9
weird megahal corruption strikes again.
Brian S. Stephan
2011-01-06 22:26:24 -0600
c1c9908d5d
don't include metaopt meta.internal_only in lists (such as aliases)
Brian S. Stephan
2011-01-06 22:17:46 -0600
bd95764f9f
cleanup the sentence feedback
Brian S. Stephan
2011-01-06 22:12:19 -0600
5293e8dc24
add support for listing one alias via list, which shows the value
Brian S. Stephan
2011-01-06 22:08:23 -0600
f5f7814515
reload/unload changes appear to have fixed a number of related bugs
Brian S. Stephan
2011-01-06 20:00:26 -0600
5913e0b183
remove MegaHAL's nullifying of reload() since it's obsolete.
Brian S. Stephan
2011-01-06 19:58:58 -0600
ea0fd9d509
small but significant unload/reload changes.
Brian S. Stephan
2011-01-06 19:54:16 -0600
99b474c85b
initial bug list - mostly load/reload/unload oddities, but also an annoying MegaHAL interaction
Brian S. Stephan
2011-01-06 17:17:10 -0600
9c5d78891c
make a deep copy of the string to feed to mh_python.
Brian S. Stephan
2011-01-06 17:15:57 -0600
0878c8809d
implement a save() for modules, use it in MegaHAL to sync brain to disk
Brian S. Stephan
2011-01-06 00:28:50 -0600
5c0323fc26
Merge branch 'master' of ayu.incorporeal.org:dr.botzo
Brian S. Stephan
2011-01-06 00:18:37 -0600
d81350d995
remove megahal.py from EXTERNALS
Brian S. Stephan
2011-01-06 00:18:02 -0600
9732ed2f34
use a different megahal implementation, which seems to be better at saving the brain.
Brian S. Stephan
2011-01-06 00:14:16 -0600
157d1145ea
specify ellipses continuation as a python string
Brian S. Stephan
2011-01-05 09:34:19 -0600
4241071b7e
print tweet id when printing tweets.
Brian S. Stephan
2011-01-03 00:31:23 -0600
b748d43bbd
have SIGINT handler call modules' shutdown()
Brian S. Stephan
2010-12-24 13:46:48 -0600
63a85fba3f
Merge remote branch 'origin/mjb/fix_init'
Brian S. Stephan
2010-12-24 13:27:33 -0600
0e7e2bf50c
add tweet subcommand to twitter, to send tweets.
Brian S. Stephan
2010-12-24 13:19:50 -0600
d9b85f4364
track whether or not the twitter module has been authenticated
Brian S. Stephan
2010-12-24 13:19:11 -0600
41a5c43284
use the right signature for Module.reload()
Brian S. Stephan
2010-12-24 13:18:23 -0600
377d2145fa
catch all exceptions around self.do, and log to console
Brian S. Stephan
2010-12-24 13:16:09 -0600
f590daf5cd
have all modules run a shutdown() when quitting, use it to have MegaHAL close the brain
Brian S. Stephan
2010-12-24 10:41:12 -0600
cb54abf2b8
use protocol 2 for pickling, which may help disk size of the brain a bit
Brian S. Stephan
2010-12-24 10:36:57 -0600
0ff44e1a47
don't have megahal learn internal commands
Brian S. Stephan
2010-12-24 09:48:04 -0600
9ed1586783
shouldn't need this unicode workaround anymore (fingers crossed)
Brian S. Stephan
2010-12-24 09:42:49 -0600
c513a0bebc
extlib/megahal.py: don't crash when the input string ends in '
Brian S. Stephan
2010-12-23 10:01:11 -0600
ae6eda2c6a
encode facts coming out of Facts to python string
Brian S. Stephan
2010-12-20 22:22:37 -0600
8ffcecdff0
hacked out loading of all modules from __init__
Mike Bloy
2010-12-17 22:46:48 -0600
107b754a0d
move recursion scan after alias setup, and do another after alias replace
Brian S. Stephan
2010-12-17 16:12:45 -0600
1fe9575502
move recursion stuff out of Module.py and into modules/Alias.py
Brian S. Stephan
2010-12-16 23:43:16 -0600
d18b2e49ff
add 'meta.internal_only' option, defaulting to true
Brian S. Stephan
2010-12-16 21:06:20 -0600
bda1eb9560
add uppercase text transform
Brian S. Stephan
2010-12-16 20:28:26 -0600
699f550ba3
change authentication to over IRC process
Brian S. Stephan
2010-12-16 20:15:49 -0600
3ba38bd90d
it would help if i got the < vs > right
Brian S. Stephan
2010-12-16 15:44:51 -0600
efafb95f5a
ability to look up tweets for a user, relative to the latest
Brian S. Stephan
2010-12-16 15:23:35 -0600
57ddba744e
optionally print the source of the tweet in question
Brian S. Stephan
2010-12-16 15:22:34 -0600
a18897fcde
print the native tweet of retweets (rather than the possibly-truncated one)
Brian S. Stephan
2010-12-16 13:04:58 -0600
e2989b639c
hack in support for retweets in the Status
Brian S. Stephan
2010-12-16 13:02:37 -0600
1bacfe047e
fix (god i hope fix) unicode in Twitter
Brian S. Stephan
2010-12-16 10:36:50 -0600
37a677946d
fetch more tweets in case the latest was a RT (which we are filtering)
Brian S. Stephan
2010-12-15 23:52:59 -0600
7e4e6ab23f
look up most recent tweet by username
Brian S. Stephan
2010-12-15 23:31:26 -0600
e4edc7f6f4
first bit of bot twitter functionality
Brian S. Stephan
2010-12-15 23:08:08 -0600
bc13725f44
copy python-twitter 0.8 from google code until it is officially released and packaged
Brian S. Stephan
2010-12-15 23:07:02 -0600
ea0f795194
add unload method to IrcAdmin, which unloads a module
Brian S. Stephan
2010-12-15 21:28:57 -0600
2295f524d4
add load command to IrcAdmin, which (naturally) loads a module and adds it to the autoload list
Brian S. Stephan
2010-12-15 21:17:24 -0600
467c72847a
clean up some IrcAdmin output, which i was using to test reloading
Brian S. Stephan
2010-12-15 20:58:13 -0600
e0565a9bb1
take a stab at commenting how MegaHAL reload is broken, keep it unimplemented for the moment
Brian S. Stephan
2010-12-15 20:55:40 -0600
0db4dbb518
duh, actually call register_handlers after doing a module reload
Brian S. Stephan
2010-12-15 20:55:04 -0600
7a9b68f2c4
remove unnecessary method, preferring register_handlers
Brian S. Stephan
2010-12-15 20:53:52 -0600
22615d7b9a
rewrite reload support, making it an IrcAdmin command
Brian S. Stephan
2010-12-15 20:43:14 -0600
d92d60ec7a
don't try to be clever with the +-/-+ commands, since it wasn't doing what I wanted
Brian S. Stephan
2010-12-15 20:29:25 -0600
e5934bccba
add echo module, which echos text. why i never implemented this, i don't know
Brian S. Stephan
2010-12-11 00:22:26 -0600
e084c28113
handle potential newlines in output
Brian S. Stephan
2010-12-11 00:10:26 -0600
977675c593
add base64 to text transformations
Brian S. Stephan
2010-12-10 23:59:49 -0600
da9e4b3142
better method of loading modules --- don't import *, import each individually
Brian S. Stephan
2010-12-10 23:25:56 -0600
5a81f4d1fc
fix spaces in city name
Brian S. Stephan
2010-12-09 13:09:01 -0600
914e86d567
don't try to privmsg (and then crash) if replystr is None
Brian S. Stephan
2010-12-08 22:18:46 -0600
2690c0208c
trivial formatting fix
Brian S. Stephan
2010-12-08 22:15:26 -0600
1709df19ec
properly self.reply in last commit
Brian S. Stephan
2010-12-08 22:14:34 -0600
53e2da7bd3
self.reply karma_modify stuff, add return strings from double functions
Brian S. Stephan
2010-12-08 22:08:56 -0600
7fa9c1f9a0
modify the karma_modify header:
Brian S. Stephan
2010-12-08 22:05:46 -0600
4013a93dc9
Merge branch 'bloy-karma'
Brian S. Stephan
2010-12-08 22:00:39 -0600
a19dcdb690
fix string concat thinko
Brian S. Stephan
2010-12-06 16:31:16 -0600
a8562f71a0
slight code cleanup, add windchill calculation
Brian S. Stephan
2010-12-06 16:01:49 -0600
9340c76361
remove trailing whitespace
Mike Bloy
2010-12-01 10:58:04 -0600
b425895107
optimist/pessimist report
Mike Bloy
2010-11-25 13:05:23 -0600
acee8752a5
highest and lowest karma report
Mike Bloy
2010-11-25 12:59:15 -0600
699500707d
Merge branch 'master' into karma
Mike Bloy
2010-11-25 11:44:48 -0600
30d49bcd5d
karma stat command
Mike Bloy
2010-11-25 11:41:12 -0600
a434c3738f
error reporting in karma_modify
Mike Bloy
2010-11-25 11:15:37 -0600
40c7603eac
updating TODO
Brian S. Stephan
2010-11-24 16:10:10 -0600
8cc0e81497
document origins of megahal.py
Brian S. Stephan
2010-11-24 16:08:51 -0600
647a2edb5c
thinking about new karma commands
Mike Bloy
2010-11-23 22:05:03 -0600
120dcc9fda
slightly more anal silly karma handling
Mike Bloy
2010-11-23 21:45:47 -0600
f4dc667c77
dodge another unicode crash
Brian S. Stephan
2010-11-22 20:25:28 -0600
daa018c64b
handle silly +- syntax, which will do both an increment and a decrement
Brian S. Stephan
2010-11-19 09:33:37 -0600
50e45b2a0d
move the karma logging into a separate method, since i'm about to reuse it in a new way
Brian S. Stephan
2010-11-19 09:26:49 -0600
12d5425644
vi modeline in Karma.py
Brian S. Stephan
2010-11-19 09:20:48 -0600
526d553220
require whitespace or end of line after increment/decrement
Brian S. Stephan
2010-11-17 10:25:49 -0600
8cc411956e
much more permissive karma regexes
Brian S. Stephan
2010-11-17 10:21:30 -0600
9014e076bf
drop the timeout to 1 sec
Brian S. Stephan
2010-11-03 22:52:42 -0500
436fcd1132
provide timeout to the megahal system, so that the bot doesn't spin forever on a reply
Brian S. Stephan
2010-11-03 22:50:34 -0500
6ebca3ff59
simple utility script to take a newline-separated list of facts and insert to database
Brian S. Stephan
2010-11-01 22:17:10 -0500
2b06c79d67
.gitignore stuff that is generated by PLY (from Dice.py)
Brian S. Stephan
2010-11-01 22:15:31 -0500
c484dde5b8
Merge branch 'kad'
Brian S. Stephan
2010-11-01 22:12:51 -0500
57b6ffa0b7
re.IGNORECASE in the regexp function compiled for sqlite
Brian S. Stephan
2010-11-01 22:12:14 -0500
e1d5d9f522
Fix negative modifier issue
kad
2010-10-31 17:01:15 -0600
0bcefc49b5
Merge branch 'kad'
Brian S. Stephan
2010-10-31 13:36:59 -0500
c2280aaf1e
Remove diceply.py
kad
2010-10-31 11:08:58 -0600
4f56e40ca7
Use PLY to parse dice strings
kad
2010-10-30 14:04:58 -0600
694f051994
allow karma to happen anywhere in a sentence (rather than just the start), switch to re.search() throughout
Brian S. Stephan
2010-10-29 13:08:48 -0500