860 Commits

Author SHA1 Message Date
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
James Lu
da95b6fdb1 RelayNext: update README [skip ci] 2015-01-14 17:58:02 -08:00
GLolol
7d4b9cb9c2 FML/PkgInfo: update tests & travis files
- requirements.txt: Fetch testing branch of Limnoria
- travis.yml: drop python 3.2-3.3 from allow_failures,
  use --no-network with tests to prevent fails
1.5.5-beta
2015-01-07 18:36:16 -08:00
GLolol
a46755cfae Drop RelayLink plugin, essentially replaced by RelayNext
Triaged bugs: Closes #20
2015-01-07 18:19:54 -08:00
GLolol
7edebc82a2 RelayNext: remove line used for debugging 2015-01-07 18:17:14 -08:00
GLolol
f1a1d18358 Update READMEs 2015-01-06 19:39:16 -08:00
GLolol
f0d2db0db3 RelayNext: add 'add' and 'remove' commands
These commands will add or subtract relays relative to the currently set relay, creating/deleting it if it is empty.

This requires a reset of all relays (use the set command over the current one should be adequate).
2015-01-06 18:55:36 -08:00
James Lu
571901b177 NoTrigger: catch a race condition caused by delayed channel joining 2015-01-06 17:58:46 -08:00
GLolol
c8e979bb3f RelayNext: further optimizations 2015-01-06 00:54:43 -05:00
James Lu
51c15b1154 Drop OperUp, update README 2015-01-05 18:45:23 -08:00
James Lu
91f039f5b5 RelayNext: allow toggling relaying of non-privmsg events 2015-01-05 18:45:23 -08:00
GLolol
1451bf2614 RelayNext: optimize channel handling 2015-01-05 10:51:40 -05:00
GLolol
e01fee6d41 RelayNext: format ACTION (/me) properly 2015-01-04 19:50:31 -05:00
GLolol
a42e3ebe41 RelayNext: catch errors for QUIT 2015-01-04 19:42:22 -05:00
James Lu
aa9e10db42 CtcpNext: limit set and unset commands to admin 2015-01-04 16:34:29 -08:00