Commit Graph

473 Commits (23e9448c125a6c831940da154f5f5be4b798c724)

Author SHA1 Message Date
mutantmonkey 3e0738191f switch tfw module to use new metar parser 2013-01-10 22:08:52 -05:00
mutantmonkey 83518a8dbc add new metar parser and update weather module 2013-01-10 22:08:33 -05:00
mutantmonkey 7622bd3376 fix filename of seen.db files 2013-01-02 19:48:06 +01:00
mutantmonkey de05bb732e Merge pull request #46 from rmoore/master
Make .seen persistent.
2013-01-01 12:33:30 -08:00
Reese Moore 62a5ce7681 Make '.seen' persistent
Instead of using a dict, use a shelve so that seen is persistent across phenny
reloads.

This will cause some more disk IO as we are syncing the shelve every time
someone says something. It is probably better to just .close() the shelve when
phenny exits (using atexit).

Also, clean up some dead code that was left in the module.
2013-01-01 15:19:06 -05:00
mutantmonkey 3f2fe6475f add KBCB to icao.py 2012-12-20 19:01:09 -05:00
sfan5 56864a42d8 Add Event Wildcard * 2012-12-16 17:39:28 -05:00
mutantmonkey f59392d4eb update shebangs 2012-12-16 17:09:43 -05:00
mutantmonkey 311b6cbfc4 add linx to default list of disabled modules 2012-12-16 16:54:36 -05:00
mutantmonkey ac72cb5c1d fix test_head.py to also mock linx_api_key 2012-12-05 15:17:25 -05:00
mutantmonkey f8e2afbb9d remove broken nodetodo module 2012-12-05 15:17:04 -05:00
mutantmonkey 402137d379 clean up head.py a bit and readd title brackets 2012-11-26 22:37:22 -05:00
Andrei M 1002bf04c6 linx is now optional because of spongebob 2012-11-26 22:04:36 -05:00
mutantmonkey 900ac0c5c9 weather: deal with VRB returned for degrees 2012-11-05 10:41:51 -05:00
mutantmonkey 4b199e9629 Merge pull request #43 from telnoratti/master
Fix for missing artist
2012-10-08 22:02:42 -07:00
Calvin Winkowski 3d23dc53ad Fixed for suspected API change. I think the old key was bound to an older API switching keys cause the new API to be used. 2012-10-09 01:03:04 -04:00
mutantmonkey 4b97b54215 ensure lastfm test cases fail when output is bad 2012-10-09 00:57:45 -04:00
mutantmonkey 7ea5006cd8 remove randomreddit module 2012-10-09 00:50:06 -04:00
mutantmonkey aaa50263fa lastfm: update API key 2012-10-09 00:38:26 -04:00
mutantmonkey 321e039a62 Merge pull request #42 from telnoratti/master
Patch to fix lastfm module arist parsing.
2012-10-01 18:22:53 -07:00
Calvin Winkowski 0ef5fefd3f Fixed lastfm module to handle new format. 2012-10-01 21:02:31 -04:00
mutantmonkey 97a3f884bc Merge pull request #41 from hansenchris/master
Get titles from linx for additional functionality
2012-09-24 20:54:31 -07:00
Andrei M 7882141091 Threadable 2012-09-24 23:03:15 -04:00
AndreiM 7b87baeb7e Gets title from linx for augmented titling capacity 2012-09-24 21:55:58 -04:00
Andrei M 7f55eb7cc5 .lnx to return short remote uploaded links 2012-08-30 01:43:44 -04:00
Andrei M 24a6907049 Adding multi-channel support to linx features 2012-07-02 19:01:59 -04:00
mutantmonkey 0ba6438922 weather: handle bad locations better 2012-06-29 20:52:07 -07:00
Andrei 52aaa0778a Add old link alert to title grabber 2012-06-28 20:51:40 -07:00
mutantmonkey 78441d5fbf kill .py 2012-06-28 19:05:45 -07:00
mutantmonkey 9f11190f0b randomreddit: handle invalid json response 2012-06-23 21:56:16 -07:00
mutantmonkey 6ecbe4ca18 wiki: handle json parsing error 2012-06-23 21:55:37 -07:00
Andrei M 2c9a937c2e .posted 2012-06-21 21:11:53 -07:00
mutantmonkey 251b01e000 calc: fix handling and add tests for empty result 2012-06-19 18:04:02 -07:00
mutantmonkey bf55297f43 add test cases for mediawiki modules 2012-06-15 20:04:47 -07:00
mutantmonkey ce2d548ff4 switch wikipedia to https 2012-06-15 20:04:29 -07:00
mutantmonkey ec32741826 refactor mediawiki modules into unified library 2012-06-13 21:58:31 -07:00
mutantmonkey 63c6adb316 wuvt: call strip on artist and track name 2012-06-09 22:17:00 -07:00
mutantmonkey 8c5ace989c wuvt: fix artist/track name ordering 2012-06-09 22:14:08 -07:00
mutantmonkey cf53da9d6e fix wiktionary no results error handling 2012-06-07 18:17:55 -07:00
mutantmonkey 931b53a974 add .head tests 2012-06-06 22:23:06 -07:00
mutantmonkey 2dbc8797e5 calc: fix .c scientific output 2012-06-05 18:24:43 -07:00
mutantmonkey c702d7bc59 tfw: handle location errors properly 2012-06-04 21:42:56 -07:00
mutantmonkey 3a82d3281b handle GrumbleErrors in a nicer way 2012-06-04 21:42:32 -07:00
mutantmonkey 0d9ad8ee47 switch to argparse 2012-06-04 21:29:25 -07:00
mutantmonkey 4e8803fa9d add last.fm tests 2012-06-04 00:04:51 -07:00
mutantmonkey fec81731f3 remove broken etymology module 2012-06-03 23:07:44 -07:00
mutantmonkey b87e62dd47 add randomreddit test 2012-06-02 15:24:36 -07:00
mutantmonkey 3dc958283b add nsfw test 2012-06-02 15:16:47 -07:00
mutantmonkey f84eb9061c validate: fix and add test 2012-06-02 15:11:51 -07:00
mutantmonkey 888854adb2 add clock tests 2012-06-02 15:06:08 -07:00