1074 Commits

Author SHA1 Message Date
James Lu
fc0e0077fc Update Weather snapshot (merge 'weather/devel') 2015-03-27 18:35:10 -07:00
James Lu
ae4df05926 Weather: don't limit alerts output to 300 characters (it will be handled automatically via mores)
From upstream commit reticulatingspline/Weather@5ed7db7a8e.
2015-03-25 20:52:25 -07:00
James Lu
2cb0e38703 Weather: bugfixes, refactor _wuac() 2015-03-25 20:28:20 -07:00
James Lu
48cd776d59 RelayNext: wrap 'nicks' output using textwrap (still needs more testing)
ref #27
2015-03-21 17:32:11 -07:00
James Lu
dc80a95135 Voteserv: store full hostmasks instead of wildcards in database 2015-03-21 16:53:05 -07:00
James Lu
527e1e6ee6 RelayNext: update README [skip ci] 2015-03-17 13:20:19 -07:00
James Lu
54350230d3 Merge remote-tracking branch 'weather/devel' 2015-03-13 22:58:48 -07:00
James Lu
4a4a6e0f03 Merge remote-tracking branch 'lastfm/devel' 2015-03-13 22:58:44 -07:00
James Lu
d9e6ed61f6 LastFM: .travis.yml: remove allow_failures on Python 3.2 and 3.3 2015-03-13 22:48:41 -07:00
James Lu
6086dcc9f9 Weather: .travis.yml: build on Python 3.2/3.3 too 2015-03-13 22:40:06 -07:00
James Lu
f1e914da04 Weather: Update README files 2015-03-13 22:39:15 -07:00
James Lu
a0ddd8e309 Weather: don't require reload on API Key change; reword almanac output ("Average High/Low" instead of "Normal High/Low") 2015-03-13 22:37:31 -07:00
James Lu
914c5c4de3 Finish rewriting parts of the plugin
(Closes GLolol/Supybot-Weather#1)

- Removed configuration option 'disableColoredTemp' (this will likely be readded in the form of a more global, strip-all-formatting option later)
- plugin.py: copy license into file heading
- Remove unused _moonphase function
- Rewrite almanac, astronomy, and forecast (merging multiple if statements into one)
- Update tests and output formatting

Signed-off-by: James Lu <GLolol1@hotmail.com>
2015-03-13 17:18:40 -07:00
James Lu
da90ebf444 CtcpNext: rename command 'reset' -> 'clear'
This fixes a regression causing reconnects to fail. (ref ProgVal/Limnoria#866)
2015.03.11
2015-03-11 15:08:48 -07:00
James Lu
599d40f19f Rewriting parts of the plugin... part 1
- showImperialandMetric is dropped and now implied
- optlist handling is completely removed since it made already complex code even more so
- Lots of bugs introduced hopefully!
2015-03-11 14:57:33 -07:00
James Lu
bea95b27c3 Weather: update documentation of config options 2015-03-10 17:14:31 -07:00
James Lu
fcace4d5a3 Update test cases:
- FML/SupyMisc/WTE: use unittest.skipUnless() for handling --no-network
- Remove redundant 'import unittest'
2015-03-03 17:09:59 -08:00
James Lu
b988e1a60a CtcpNext: add 'reset' command and use ircutils.standardSubstitute() for formatting
This requires a database reset for those using %t and %v (which was why the reset
command was created!)
2015-03-03 16:58:48 -08:00
James Lu
652b3de8ef Update LastFM snapshot (Merge remote-tracking branch 'lastfm/devel') 2015-02-25 01:04:08 -05:00
James Lu
995c6c6513 LastFM: Update README [skip ci] 2015-02-22 16:08:24 -08:00
James Lu
e57ead6349 LastFM: bugfix.... and more consistant bolding in 'np'
halp im getting sloppy
2015-02-22 16:01:59 -08:00
James Lu
00fdc7b05b LastFM: rewrite DB handling, storing hostmasks in the database instead of nicks
Closes krf#5.
2015-02-22 15:53:06 -08:00
James Lu
832bd3eb18 LastFM: simplify 'compare' output (just the percentage is enough) 2015-02-21 17:21:29 -05:00
James Lu
45249ef1e1 PkgInfo: add missing distribution debian/experimental 2015-02-20 20:39:04 -05:00
James Lu
285948a47d DDG: Initial addition of 'zeroclick' command (Closes #24) 2015.02.17 2015-02-08 22:15:46 -05:00
James Lu
ab8a35459c rm -r TLDInfo
It has been a useless stub for 3 months now, I think people get the idea.
2015-02-05 21:35:12 -08:00
James Lu
ca3fbc919b RelayNext: add tests for the database commands & fix the bugs they've helped me discover!
More specifically, test 'set', 'add', 'remove', 'clear', and 'list'. These are some relatively
complex functions that deal with: case-insensitive duplicate checking, requiring at least 2
channels per relay (auto-remove when a relay is below this threshold), adding/removing things
from existing relays, and more... Sometimes manual testing can't catch all of these complex
situations!

This fixes a bug where you could add duplicate channels using the 'add' command if the same
channel was given with differing cases (e.g. 'relaynext add new-relay channel1@net CHANNEl1@Net').

Also, add a notice when trying to remove a channel that doesn't exist in a relay.
2015-02-05 21:33:28 -08:00
James Lu
065ac41975 RelayNext: update commands' help and force 'nicks' output to private notice 2015-02-05 20:57:40 -08:00
James Lu
767b5da0c2 Merge remote-tracking branch 'lastfm/devel' 2015-02-05 20:36:42 -08:00
GLolol
f8a66f7d90 LastFM: skip tests for 'compare'
Some weird bug in the test framework makes this break horribly... The API key doesn't get set??
2015-02-04 20:41:23 -08:00
GLolol
fd5ae25adf LastFM: major code cleanup and refactoring
- 'lastfm 'command is now split into subcommands, wrapping around one shared function (Closes #2).
- Use bolding for prettier formatting in output.
- Update command help/documentation to be more consistent (use "user", not "id" to refer to configured users).
- Rename variables named 'id' -> 'user', since the previous is collides with a built in function.
- Update tests accordingly.
2015-02-04 20:26:28 -08:00
James Lu
47f5b783a8 RelayNext: proofread README [skip ci] 2015-02-01 18:00:22 -08:00
James Lu
78006970a5 RelayNext: merge 'unset' and 'remove' commands into 'remove'
New behavior: 'remove' without arguments removes entire relay, 'remove' with
channels specified will remove those channels in question. 'unset' is dropped.

Also update the README accordingly.
2015-02-01 20:44:57 -05:00
James Lu
45879709e5 RelayNext: semi-invasive optimizations Part 1 2015-02-01 14:13:54 -05:00
James Lu
d6f0b5f4b6 LastFM: set should not be calling profile, that's just unnecessary spam :| 2015-02-01 13:06:43 -05:00
James Lu
a6c7d078b4 Update LastFM snapshot
- baeb37d LastFM: Make plugin threaded
2015-01-31 14:58:53 -05:00
James Lu
baeb37d124 LastFM: make plugin threaded 2015-01-31 14:53:34 -05:00
James Lu
7672ae3e71 RelayNext: update README.md [skip ci]
This adds some documentation regarding ignores and non-PRIVMSG event toggling.
1.7.1-dev
2015-01-30 18:20:52 -08:00
James Lu
c9d22a64bf PkgInfo: remove 'vlist --source' & update tests
This isn't the most useful feature since a normal 'vlist' lookup can also
find source packages when 'config plugins.PkgInfo.archs' is configured
correctly.
2015-01-30 20:54:06 -05:00
James Lu
eb67e827da RelayNext: fix kick relaying 2015-01-29 20:09:57 -05:00
James Lu
3e1960a51e PkgInfo: in pkgsearch, make <distro> optional 2015-01-28 01:51:41 -05:00
James Lu
8f78bb28c0 PkgInfo: add codenames "buster" and "stretch" for Debian 2015-01-26 23:07:54 -05:00
James Lu
474c2a3a3b SupyMisc.colors: fix incorrect argument handling+help 2015-01-20 22:45:30 -05:00
James Lu
9da793ecc1 Contributing: so that's where my backslashes went!
[ci skip].
2015-01-19 19:42:28 -08:00
James Lu
ef04900fbe Namegen: bugfix 2015-01-19 20:41:33 -05:00
James Lu
a33f37c4e6 RelayNext: support relaying topics (turned off by default) 2015-01-18 14:55:05 -05:00
James Lu
78a79fdf3d RelayNext: add ignore feature
This uses Supybot's built in ignore system, but allows configuring
which events to drop from ignored users. It defaults to
['PRIVMSG', 'MODE'].
2015-01-18 14:11:00 -05:00
James Lu
3c5cc19ba7 DDG: reintroduce support for multiple results 2015-01-17 02:40:15 -05:00
GLolol
f62c6eef73 RelayNext: yet another crappy antiflood mechanism
Also, catch errors in outFilter so they don't block all of the bot's output.
2015-01-15 17:31:38 -08:00
GLolol
d0ff6c9a16 PkgInfo: add a notice for commands that only support Debian/Ubuntu lookup (pkg/pkgsearch/vlist) 2015-01-14 21:25:52 -08:00