Commit Graph

458 Commits

Author SHA1 Message Date
mutantmonkey
91bbc64f2c remove oblique and make .wa local 2013-09-30 23:33:47 -07:00
mutantmonkey
1472c36fed validate: switch site to validate
Since http://vtluug.org/ seems to always be invalid HTML at inconvenient
times, switch to using http://validator.w3.org/ itself, which I would
hope would always be valid.
2013-09-30 22:47:59 -07:00
mutantmonkey
4edf618ef2 tfw: fix "sexy time" for 69°F 2013-09-30 22:40:26 -07:00
mutantmonkey
b8dde03000 hs: handle case where query is <= 2 characters 2013-09-07 15:59:01 -07:00
mutantmonkey
cac9258c86 imdb: switch to omdbapi.com domain 2013-08-25 14:32:54 -07:00
mutantmonkey
23d99dd326 improve tests and test coverage 2013-08-25 14:32:42 -07:00
mutantmonkey
f5fb2fc37d update travis-ci badge to point to master 2013-08-25 12:28:50 -07:00
mutantmonkey
395ca7e4b8 update readme, add travis-ci badge 2013-08-25 12:22:06 -07:00
mutantmonkey
f668589fcb weather: fix error handling (caused breakage) 2013-08-24 19:12:15 -07:00
mutantmonkey
6443442aff improvements to weather module
* use openstreetmap nominatim instead of geonames
* set temperature to None if there is no temp available
* add new test cases to better test geolocation for various places
2013-08-24 18:45:05 -07:00
mutantmonkey
de8d87c413 metar: add ISC license 2013-07-21 00:24:23 -07:00
mutantmonkey
12ed70f097 metar: only add cover if it is not None 2013-07-21 00:15:28 -07:00
mutantmonkey
3783e9af85 adjust wiktionary test (will improve later) 2013-07-21 00:03:07 -07:00
mutantmonkey
aadd97eea8 fix .hs command to handle new format 2013-07-21 00:02:41 -07:00
mutantmonkey
5d53cc6b11 remove broken .mlit command 2013-07-21 00:02:13 -07:00
mutantmonkey
f9374c42c3 remove version numbers from requirements.txt 2013-07-20 23:29:50 -07:00
mutantmonkey
dcaa1815c4 add urllib3 to requirements.txt 2013-07-20 23:19:30 -07:00
mutantmonkey
87c57bc9c4 add .travis.yml and requirements.txt 2013-07-20 23:12:13 -07:00
mutantmonkey
9460fcd8ea clean up head module 2013-07-20 22:26:18 -07:00
mutantmonkey
899d063071 fix .head for errors and add test 2013-07-20 22:25:45 -07:00
mutantmonkey
5eaea6a449 metar: we need to set w.pressure to None 2013-06-12 18:33:18 -07:00
mutantmonkey
caf4a464a9 metar: handle edge case for pressure parsing 2013-06-12 18:31:12 -07:00
mutantmonkey
5cb88f3cf8 switch to requests for HTTP queries 2013-06-08 22:27:24 -07:00
mutantmonkey
259c222623 linx: force https 2013-06-08 17:29:19 -07:00
mutantmonkey
db3b6ba2d0 foodforus: move api_key to end of signature 2013-05-22 10:30:42 -04:00
mutantmonkey
bc9d6f3453 add .at command (need unit test) 2013-05-21 13:49:48 -04:00
mutantmonkey
e94ca0d74a add unit tests for remind module 2013-05-21 13:34:49 -04:00
Matthias Linder
065fa5949e fix immediate ping timeout on quakenet
https://github.com/sbp/phenny/pull/27
2013-05-21 11:59:57 -04:00
mutantmonkey
a0597ba7a6 fix Wadsworth's Constant edge case and add test 2013-05-12 18:16:57 -04:00
mutantmonkey
29269c7c51 foodforus: display errors 2013-04-11 18:03:41 -04:00
mutantmonkey
02e45d1799 disable foodforus by default 2013-03-21 00:33:35 -04:00
mutantmonkey
2d337c1e05 add foodforus module 2013-03-21 00:32:14 -04:00
mutantmonkey
b0712be41b fix inHg -> hPa conversion 2013-01-24 10:54:06 -05:00
mutantmonkey
5860acab9d icao: remove EDDI (closed Berlin-Tempelhof airport) 2013-01-15 23:16:04 -05:00
mutantmonkey
45da6933d4 fix test cases (wa changed something) 2013-01-10 22:38:39 -05:00
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