540 Commits

Author SHA1 Message Date
James Lu
4151d88295 PkgInfo: fix a typo 2015-04-25 23:17:07 -07:00
James Lu
2574872b9d PkgInfo: refactor 'pkg', rewrote --depends and added source lookup
* --recommends and --suggests are merged into --depends
* --source option is added, allows looking for build-dependencies too in conjunction with --depends!
* colorize --depends output based on dependency type; we now show all types of package relations in one command.
2015-04-25 23:06:54 -07:00
James Lu
2cc993ff54 PkgInfo: in 'pkg xyz --depends', preserve version/arch-specific dependencies
This prevents misleading duplicate results for packages that depend on different versions of the same package on different architectures.
2015-04-25 21:35:41 -07:00
James Lu
47f59f406d RelayNext: only run flood checking on channels in relays
This prevents useless "Flood detected" messages from appearing in other, unrelated channels.
2015-04-20 16:29:31 -07:00
James Lu
cbece29293 RelayNext: typo fix 2015-04-17 16:59:38 -07:00
James Lu
2b3d3fe274 Voteserv: single-quote output 2015-04-15 17:16:05 -07:00
James Lu
14d98f1736 Remove WTE plugin, as Google broke the API :( 2015-04-14 17:08:58 -07:00
James Lu
59b0b5c991 RelayNext: fix check for disconnected networks 2015.04.05.1 2015-04-05 17:13:26 -07:00
James Lu
939b3ad786 Merge remote-tracking branch 'weather/devel' 2015-04-05 13:29:30 -07:00
James Lu
b7f3e6a082 RelayNext: get channel value correctly in _format() 2015-04-05 13:21:38 -07:00
James Lu
0b96855a27 RelayNext: remove double variable declaration 2015-04-05 12:56:41 -07:00
James Lu
6743008a2b RelayNext: REALLY fix QUIT relaying, use world.getIrc() instead of our own dict 2015-04-05 12:50:09 -07:00
James Lu
27e2a290b3 RelayNext: fix network initialization 2015-03-30 17:15:08 -07:00
James Lu
e56ba60f22 RelayNext: more little fixes and removal of old debug cruft 2015-03-30 17:07:51 -07:00
James Lu
72a27ed519 RelayNext: bugfixes and attempts to fix quit detection 2015-03-30 16:58:02 -07:00
James Lu
6822d75ed1 Weather: rename 'wunderground' command to 'weather' 2015-03-27 18:51:35 -07:00
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