mutantmonkey
0490ede283
mylife: remove .mlih
2014-11-07 20:01:45 -08:00
Matt Hazinski
202681e36a
Update wuvt.py
...
Strip whitespace from DJ name before comparisons
2014-11-07 22:44:44 -05:00
Matt Hazinski
2e7cf02c72
Update wuvt.py
...
Don't put redundant 'DJ ' in now playing
2014-11-07 21:40:04 -05:00
mutantmonkey
4cdda19636
remove broken modules
...
These can be added back if they begin working reliably again.
2014-06-02 11:12:15 -07:00
mutantmonkey
9b05dccf28
tfw: correct formula to calculate electron volts
2014-05-15 14:19:48 -07:00
Telnoratti
eac8d189fc
Fixed the lastfm tests.
2014-04-26 00:27:34 -04:00
Telnoratti
b73a048541
Changed capitalization of eV.
...
Even though Volt units are capitalized V, when you write code apparently
conventions older than computers themselves are rejected in favour of
newer conventions.
2014-04-25 20:27:50 -04:00
Calvin Winkowski
9248b6721c
Fixed the tests.
2014-04-25 17:15:33 -04:00
Calvin Winkowski
b9f0da7d74
Added default support for meters.
2014-04-25 16:30:41 -04:00
mutantmonkey
5d50d54671
update snarfuri to exclude command-line lines
...
* Exclude lines from being matched by snarfuri that begin with .
* Enable posted time display by the posted module
2014-04-08 23:45:34 -07:00
andreimarcu
1b8e52b877
Load .posted only if it is a registered module.
...
Avoids breaking of head.py if posted.py isn’t in modules
2014-04-06 23:00:29 -04:00
andreimarcu
a67113305c
Added .posted (local version)
2014-04-06 19:35:14 -04:00
andreimarcu
2da9ed09c1
Removed .posted, .lines, augmented title retrieval.
2014-04-01 19:16:03 -07:00
mutantmonkey
f8c25e5a3b
fix foodforus
2014-01-19 16:30:42 -08:00
mutantmonkey
5f451af22d
Revert "added .botslap"
...
This reverts commit b62dc01bd7
.
2013-12-11 18:43:43 -08:00
mutantmonkey
8fa37b3056
fix gettitle errors
...
This will cause errors in gettitle, such as an HTTP 405 Method Not
Allowed response, to not send out an ugly exception. This was a bug that
got introduced due to the switch to requests.
2013-11-28 23:28:11 -08:00
mutantmonkey
26f37e83be
update test case for new .time
2013-11-28 23:06:28 -08:00
Matthew Ramina
4fa63e7314
Updated .time to the newer version of phenny
2013-11-28 22:56:30 -08:00
Matthew Ramina
cbcb25a64b
Updated .seen, added time since to response
2013-11-28 22:51:08 -08:00
Matthew Ramina
b62dc01bd7
added .botslap
2013-11-28 22:49:22 -08:00
Matthew Ramina
9219308170
Added minor documentation
2013-11-28 22:49:20 -08:00
mutantmonkey
d6e28ac26b
fix translate test to match new output
2013-11-28 22:47:40 -08:00
mutantmonkey
58da599800
tfw: add "it's fucking hot"
2013-11-26 22:41:48 -08:00
mutantmonkey
80613962a1
bitcoin: support decimal input
2013-11-17 21:36:42 -08:00
mutantmonkey
c3815c9cfe
improvements to calc module
...
* .wa output cleanup (remove ugly html entities in places)
* add some more test cases
2013-11-17 12:37:54 -08:00
mutantmonkey
d692a5271b
move calculator functionality to ddg
...
This may or may not be temporary, but it's better than the calculator
being totally broken.
2013-11-05 09:19:49 -08:00
mutantmonkey
6686ce31b7
fix weather tests to handle new osm output
2013-11-01 22:10:12 -07:00
mutantmonkey
e195830e0a
translate: json cleanup improvement
2013-11-01 21:54:37 -07:00
mutantmonkey
3988a73ade
tfw: deal with negative temperatures in test
2013-10-25 18:54:43 -07:00
mutantmonkey
2e995476ee
bitcoin: uppercase currencies for api
2013-10-25 18:54:03 -07:00
mutantmonkey
d7654c65d1
last.fm fix: use a user with things in common
2013-10-05 16:27:14 -07:00
mutantmonkey
5993947a70
fix lastfm tests (ackthet is gone)
2013-10-05 16:22:08 -07:00
mutantmonkey
256592b79f
add help for a bunch of modules
2013-10-05 16:20:37 -07:00
mutantmonkey
6606bf18ad
add bitcoin module
2013-10-05 15:54:22 -07:00
mutantmonkey
b50a12dd55
improve help
2013-10-01 00:03:20 -07:00
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
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
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
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
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
2d337c1e05
add foodforus module
2013-03-21 00:32:14 -04: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
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
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
Calvin Winkowski
0ef5fefd3f
Fixed lastfm module to handle new format.
2012-10-01 21:02:31 -04: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
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
mutantmonkey
0e675fb713
calc: remove deprecated, fix wa output, add test
2012-06-02 14:23:28 -07:00