1074 Commits

Author SHA1 Message Date
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
James Lu
976e273c67 PkgInfo: fix error handling in 'pkgsearch' 2015-07-29 05:35:51 -07:00
James Lu
c5f5c101e3 Bump version to 2015.07.25 2015.07.25 2015-07-25 15:22:27 -07:00
James Lu
8917e2b270 Add update-version.py for automatically incrementing __version__ 2015-07-10 12:46:35 -07:00
James Lu
59064f3c05 Update Weather snapshot
Merge remote-tracking branch 'weather/devel'
2015-07-10 09:09:13 -07:00
James Lu
cc43f5b473 PassGen: syntactic cleanup 2015-07-10 09:08:39 -07:00
James Lu
0ce356615d Weather: update error message: setting API key no longer requires reload 2015-07-09 22:48:10 -07:00
James Lu
3a81f9b70c Weather: reintroduce disableColoredTemp option 2015-07-09 22:48:10 -07:00
James Lu
0cfe3fbb04 SupyMisc: drop testTldInternationalTLDs test (doesn't work on Py2)
[skip ci]
2015-07-08 23:54:29 -07:00
James Lu
a46213002e Updates to .travis.yml:
- use 'env:' and 'allow_failures:' so we can run the tests both with and without network. Only when tests with --no-network fail will our build report failure.
- set 'sudo:' to 'required'.
2015-07-08 23:36:14 -07:00
James Lu
0120b500e0 requirements.txt: add lxml (needed by Wikifetch) 2015-07-05 22:47:35 -07:00
James Lu
428c8f22be .travis.yml: also run tests on Python nightly 2015-07-05 22:41:05 -07:00
James Lu
d4d3d07f11 Restore the WTE plugin, with a new, working API URL
Merge branch 'restore-wte'

Conflicts:
	README.md
	WTE/README.md
	WTE/plugin.py
2015-07-03 19:38:32 -07:00
James Lu
2f495b6427 WTE: drop Python 2 support 2015-07-03 19:35:21 -07:00
James Lu
8d8af7492a WTE: slightly lower languages count
We don't want to spam so much we get insta-blocked :(
2015-07-03 19:30:17 -07:00
James Lu
c075dc460b WTE: switch to a newer, working URL 2015-07-03 19:27:41 -07:00
James Lu
c4c0615931 PkgInfo: allow spaces in 'freebsd' query since we search descriptions too 2015-06-29 20:42:42 -07:00
James Lu
003633f323 PkgInfo: remove unused variables and update README 2015-06-29 18:35:47 -07:00
James Lu
c1b61cb51c PkgInfo: move _getDistro and some variables outside the main class
These don't ever change, so initializing them once in every instance is pointless.
2015-06-29 15:28:01 -07:00
James Lu
48d900b6f5 PkgInfo: more consistency in pluralization and "View more at" URLs 2015-06-29 15:23:46 -07:00
James Lu
14a5e4382d PkgInfo: add command to search FreeBSD Ports
Closes #32.
2015-06-29 14:57:01 -07:00