James Lu
7b2da8e25e
SupyMisc: skip testTldInternationalTLDs on Python 2 only
2015-11-09 16:35:27 -08:00
James Lu
d0288021a7
NoTrigger: remove extraneous logging in \x07 blocking
2015-11-09 16:23:41 -08:00
James Lu
4109741a01
Wikifetch: "Not found or page malformed" should be an error, not a reply
2015-11-01 11:14:32 -08:00
James Lu
0abe86e824
LastFM: update copyright, remove unused code / imports
2015-11-01 11:04:55 -08:00
James Lu
99d6557e46
LastFM: add experimental YouTube link fetching for 'np'
...
Essentially, my reimplementation of krf/supybot-lastfm#8 . Instead of using YouTube's API (which requires API keys and all that), this performs web search on site:youtube.com using the DDG (DuckDuckGo) plugin in this repository. The advantage to this is that it's simpler to set up, but results may not always be the most accurate / relevant.
This behavior can be turned on by setting supybot.plugins.LastFM.fetchYouTubeLinks to True - it defaults to off since this is experimental anyways. The DDG plugin needs to be loaded too for this to work.
Also, only bold the album/artist/track data during output formatting, NOT before (this screws up searches with all the \x02's).
2015-11-01 10:48:56 -08:00
James Lu
5431f25e0a
DDG: log search URL to DEBUG
2015-11-01 10:48:56 -08:00
James Lu
932a27e588
LastFM: catch and fall back to "some point in time" if LastFM's API doesn't show the listened-to date
2015-11-01 10:24:44 -08:00
James Lu
52ec05a041
DDG: remove broken error catching (irc isn't in the _ddgurl namespace)
2015-11-01 10:24:03 -08:00
James Lu
2cfdb46708
PkgInfo: add "xenial" to Ubuntu codenames, drop "lucid" and "utopic" (lookup no longer available)
2015-10-31 17:09:56 -07:00
James Lu
18b2c27774
.travis.yml: no longer exclude LastFM from tests
2015-10-25 17:51:27 -07:00
James Lu
facd42da12
Wikifetch: add test for 'random'
2015-10-25 17:44:17 -07:00
James Lu
03cd552a08
Wikifetch: special case for Wikimedia commons
2015-10-25 17:42:49 -07:00
James Lu
535dcc3bc3
Wikifetch: add 'random' command, fetching a random article via Special:Random
2015-10-25 17:36:14 -07:00
James Lu
54a9d6a8a6
Wikifetch: reword command description (Wikipedia article -> wiki article)
2015-10-25 17:35:45 -07:00
James Lu
08a2942d99
Wikifetch: modularize wiki fetcher, use new-style wrap, simplify URL display
2015-10-25 17:20:40 -07:00
James Lu
f1bd086098
Update .mailmap
...
[skip ci]
2015-10-25 17:07:35 -07:00
James Lu
c50c50b1cb
Wikifetch: also strip newlines from regular paragraphs
...
Example of problem article: https://en.wikipedia.org/wiki/2BOT_Physical_Modeling_Technologies
2015-10-25 17:07:35 -07:00
James Lu
af6a4d5314
.travis.yml: still test on 3.2, just allow it to fail
2015-10-11 22:38:11 -07:00
James Lu
2a0469d039
LastFM: readme updates
...
Remove references to the subtree repo for LastFM, it's out of date and isn't in sync anymore (merge conflicts, yay!)
[skip ci]
2015-10-11 22:27:55 -07:00
James Lu
8e8a3a30a5
NoTrigger: make list of prefixes/suffixes and bell (\x07) blocking configurable, docs+test case updates
2015-10-11 22:20:59 -07:00
James Lu
7f5cea73ad
Wikifetch: fallback to '' instead of "None" for bold text, w/ combinations of <a> tags inside <b> tags
...
Example for this is the article for "Fallstreak hole", where the old behavior would create incorrect results when an <a> tag is nested at the beginning of a <b> tag.
Bad:
<Lily> A Nonefallstreak hole, also known as a hole punch cloud, punch hole cloud, skypunch, canal cloud or cloud hole, is a large circular or elliptical gap that can appear in cirrocumulus or altocumulus clouds. Such holes are formed when the water temperature in the clouds is below freezing but the water has not frozen yet due to the lack of ice nucleation (see supercooled water). When ice crystals do form it will set off a (1 more message)
Better:
<Lily> A fallstreak hole, also known as a hole punch cloud, punch hole cloud, skypunch, canal cloud or cloud hole, is a large circular or elliptical gap that can appear in cirrocumulus or altocumulus clouds. Such holes are formed when the water temperature in the clouds is below freezing but the water has not frozen yet due to the lack of ice nucleation (see supercooled water). When ice crystals do form it will set off a (1 more message)
2015-10-11 17:26:31 -07:00
James Lu
f03b891fc2
LastFM: rewrite "np" using the JSON API
...
Close 36.
2015-10-09 18:25:57 -07:00
James Lu
18beb9814c
CONTRIBUTING.md isn't relevant anymore, remove it
...
[skip ci]
2015-10-09 18:23:48 -07:00
James Lu
f5b1bedd3f
LastFM: fix "profile", moving to JSON API ( #36 )
2015-10-09 18:23:48 -07:00
James Lu
02a2efffb2
LastFM: reduce the plugin to "np" and "profile" ( #36 )
...
LastFM's API breakages are making this hard to maintained, and the low demand for these commands make it not worth maintaining.
2015-10-09 18:23:48 -07:00
James Lu
3564f0bd43
LastFM: "compare" is dead, remove it. ( #36 )
...
LastFM seems to have disabled their tasteometer API without any notice whatsoever. Oddly, the only relevant information I can find on this is a Reddit post: https://www.reddit.com/r/lastfm/comments/3mkrqm/is_the_tasteometer_api_down/
2015-10-09 18:23:44 -07:00
James Lu
d3e780e1f5
Drop Python 3.2/3.3 support; update Replacer's README
2015-10-02 22:52:54 -07:00
James Lu
544bd27b84
update-version: don't add + before date if old version field is empty
2015-10-02 22:44:53 -07:00
James Lu
9a7d4aaab8
Weather: bump to 2015.10.02
2015-10-02 22:44:16 -07:00
James Lu
4ab5ebd9c3
Replacer: bump version to 0.6~supyplugins+2015.10.02
2015-10-02 22:42:25 -07:00
James Lu
d940878ae8
Overhaul update-version.py using argparse
...
Setting specific versions, choosing which plugin folders to update, and disabling auto-commit are now command line options.
2015-10-02 22:42:25 -07:00
James Lu
c0e2b0426b
Add "Replacer" plugin from GLolol/t3chguy-Limnoria-Plugins@f802227064
2015-10-02 22:07:00 -07:00
James Lu
b42592a7ee
CtcpNext: update docs, add "show" command
...
Closes #37 .
2015-10-02 20:26:19 -07:00
James Lu
f5325dfa43
Merge remote-tracking branch 'weather/devel'
2015-09-28 13:07:59 -07:00
James Lu
3f1e76384b
Weather: don't error if temperature is not available
2015-09-28 13:06:56 -07:00
James Lu
03a29d72ad
RelayNext: handle channels case-insensitively when relaying bot messages
2015-09-27 19:16:08 -07:00
James Lu
c392b7fbf1
RelayNext: use log.exception instead of traceback.print_exc()
2015-09-27 19:02:57 -07:00
James Lu
fd4cc36e56
Weather: test on 3.5/3.5-dev, disable sudo
2015-09-26 12:08:14 -07:00
James Lu
83f7e65a9f
.travis.yml: add 3.5/3.5-dev to tests
2015-09-25 20:07:53 -07:00
James Lu
be34ec21f1
Wikifetch: strip spaces in disambiguation output, preventing output corruption
2015-09-25 20:06:25 -07:00
James Lu
1c5dd5f0a4
RelayNext: make flood detection command-specific too
2015-09-22 18:02:45 -07:00
James Lu
14b6b9c82e
PortLookup: raise ImportError, not callbacks.error
2015-09-19 23:19:23 -07:00
James Lu
c581acde08
OperUp: listen for 376/422 (end of MOTD) instead of 005
...
There can be more than one 005 message sent on connect (depending on IRCd), and that would've triggered auto-oper multiple times!
2015.09.19
2015-09-19 23:13:07 -07:00
James Lu
97c8238554
Bump version to 2015.09.19, restore OperUp
2015-09-19 23:00:29 -07:00
James Lu
3cad53b5bd
BonusLevel: distinguish between packs and levels in output
2015-09-13 13:24:41 -07:00
James Lu
84dc5d4531
BonusLevel: add packid=123 snarfing and a "pack" command
2015-09-13 13:22:19 -07:00
James Lu
8b7ed45055
New "BonusLevel" plugin
2015-09-07 14:15:53 -07:00
James Lu
ec289ba456
Bump version to 2015.09.04
2015.09.04
2015-09-04 20:27:27 -07:00
James Lu
26be37f6d7
WTE: raise the right exception
2015-08-24 15:53:16 -07:00
James Lu
e9edceb735
DDG: strip Sponsored links from search results
2015-08-22 18:32:04 -07:00