1074 Commits

Author SHA1 Message Date
James Lu
8187d51cef DDG: expand redirect links in search results
Some links on DuckDuckGo's site are now shown going through a redirect service.
These links are in the format "/l/?kh=-1&uddg=https%3A%2F%2Fduckduckgo.com%2F" instead of simply being "https://duckduckgo.com", and we should decode these here.
2017-01-20 18:14:07 -08:00
James Lu
22a710649e Bump version to 2017.01.16+git 2017-01-16 21:23:59 -08:00
James Lu
f97b54d709 Bump version to 2017.01.16 2017.01.16 2017-01-16 21:16:25 -08:00
James Lu
0ef8138ab3 SedRegex: bump copyright year to 2017 2017-01-16 21:15:58 -08:00
James Lu
926454b01d SedRegex: fix some replacement queries not working 2017-01-04 20:36:45 -08:00
James Lu
e137d29eb9 SedRegex: also catch errors in the regexp_wrapper() step
E.g. sre_constants.error: invalid group reference
2016-12-26 08:05:06 -08:00
James Lu
406d7b1790 SedRegex: log the exact error name instead of "SedRegex error" 2016-12-26 08:04:20 -08:00
James Lu
aa217516b0 Remove BonusLevel plugin, it isn't being used anymore 2016-12-22 12:20:45 -08:00
James Lu
97701522cc SysDNS: specifically hint that the domain exists when no records are found 2016-12-22 12:16:59 -08:00
James Lu
414a4a4a16 SedRegex: require ending delimiter to prevent overzealous matching of replacement text
Closes #59.
2016-12-22 12:12:21 -08:00
James Lu
244a8c6bee SedRegex: work around "nothing to replace" errors on < Python 2.7.6 again 2016-12-22 12:05:00 -08:00
James Lu
6ce29eda6c TranslateParty: update docs 2016-12-18 14:55:02 -08:00
James Lu
db125ee5d1 SedRegex: fix flag matching 2016-12-17 21:12:36 -08:00
James Lu
9d0dce6ef5 SedRegex: add configuration / usage instructions 2016-12-17 20:49:16 -08:00
James Lu
87c79db3d0 SedRegex: implement 's' regex flag to only match the caller's message 2016-12-17 20:49:16 -08:00
James Lu
423da9f996 SedRegex: allow free form flags and return them in _unpack_sed() 2016-12-17 20:49:16 -08:00
James Lu
4b14b252ce SysDNS: error if a domain exists but has no A/AAAA/MX record
In these cases, both bind9-host and unbound-host will exit with status code 0 and *no* console output, meaning that the bot would also give no response to 'dns'.

Closes #58.
2016-11-10 23:36:58 -08:00
James Lu
635dc2d03e PkgInfo: add Debian codename bullseye, Ubuntu codename zesty 2016-10-28 20:12:08 -07:00
James Lu
cefc7b7b12 README: fix typos
[skip ci]
2016-09-30 16:34:13 -07:00
James Lu
c407b36586 README: IRC link and Python version badges
[skip ci]
2016-09-30 16:33:56 -07:00
James Lu
b6f0397665 Bump version to 2016.09.26+git 2016-09-26 11:08:14 -07:00
James Lu
23989f692e Bump version to 2016.09.26 2016.09.26 2016-09-26 11:07:28 -07:00
James Lu
814351fa6c TranslateParty: wte->tp in readme examples
[skip ci]
2016-09-23 19:54:36 -07:00
James Lu
8dc024c894 RelayNext: refresh README [skip ci]
- mention prefix display toggle
- unmark flood prevention as experimental
2016-09-23 19:53:28 -07:00
James Lu
f1444666b3 PortLookup: update + fix typo in example [skip ci] 2016-09-23 19:43:33 -07:00
James Lu
a7a2dbc03c LastFM: refresh README [skip ci] 2016-09-23 19:39:42 -07:00
James Lu
62d6f0d400 Weather: refresh README 2016-09-23 19:36:23 -07:00
James Lu
eb96578e91 Wikifetch: remove another broken test 2016-09-18 12:19:39 -07:00
James Lu
9db9f000ed Wikifetch: remove long-broken test 2016-09-18 11:16:46 -07:00
James Lu
546851574e RelayNext: modularize blockHighlights and apply on KICK, NICK too 2016-09-18 11:08:03 -07:00
James Lu
436956cb99 RelayNext: colour nicknames AFTER processing highlight prevention 2016-09-18 11:04:57 -07:00
MicroDroid
dcb33f2c88 Improve highlighting prevention (#57) 2016-09-18 10:52:19 -07:00
James Lu
48445e256a SedRegex: sanitize against \n\r\t in output 2016-09-10 17:29:47 -07:00
James Lu
a1439120f5 PkgInfo: fix 'pkg XYZ --source --depends' 2016-09-05 20:44:00 -07:00
James Lu
f784e15ed0 PkgInfo: update tests for 'fedora' 2016-09-05 20:40:18 -07:00
James Lu
7cffbee8fd PkgInfo: rewrite 'fedora' to support non-integer versions
Specifying a release is now done using 'fedora --release RELEASENAME packagename'.
Package name is now optional: if not given, the bot will show a list of release versions where package lookup is supported.
2016-09-05 20:37:04 -07:00
James Lu
7e8bf6ab17 PkgInfo: add 'filesearch' for searching contents in Debian/Ubuntu 2016-09-05 20:17:44 -07:00
James Lu
5ac44e54d4 PkgInfo: workaround unescaped "<<" in versioned depends not being parsed correctly 2016-09-05 19:44:20 -07:00
James Lu
f9ec36cfd8 PkgInfo: condense 'pkg XYZ --depends' output by showing lists of each dependency type 2016-09-05 19:38:41 -07:00
James Lu
310b14c2ed RelayNext: don't unconditionally lowercase netname when formatting 2016-08-21 15:12:39 -07:00
James Lu
843d17b5c0 RelayNext: fix case normalization of network names
Reported by @Xenthys and @Zoddo.
2016-08-21 15:02:27 -07:00
James Lu
7b4a3ce95a Weather: another fix for "last updated" time normalization 2016-08-03 18:14:39 -07:00
James Lu
169aa00acd Revert ".travis.yml: drop Python 3.2"
This reverts commit 420ee16782936872af6947bd0da708dae2ff0507.

Incompatibilities with older Python versions have since been worked around.
2016-07-29 01:13:02 -07:00
James Lu
2827e54a82 Weather: fix "last updated" formatting for strings with hours instead of minutes 2016-07-27 11:07:14 -07:00
James Lu
370ec80434 Weather: reword last updated time output, and round to nearest minute 2016-07-22 12:24:43 -07:00
James Lu
ec0af16eaa PkgInfo: add Ubuntu codename yakkety, remove vivid 2016-07-20 12:54:32 -07:00
James Lu
84b94d589c SedRegex: only operate on messages from the current network
Reported by @jztech101.

The 'receivedBy' tag is now checked to match the current IRC object, which Works around ProgVal/Limnoria#1211.
2016-07-20 12:48:15 -07:00
James Lu
335fc6e3da SedRegex: work around "nothing to repeat" errors on Python < 2.7.6
Source: https://stackoverflow.com/questions/3675144/regex-error-nothing-to-repeat and https://bugs.python.org/issue18647
2016-07-15 23:44:25 -07:00
James Lu
f86ff18427 README: update for last commit [skip ci] 2016-07-15 11:59:22 -07:00
James Lu
0c9a0ee92d Rename WTE plugin to TranslateParty
This is probably less mean to the translator developers that we're hacking a free API of.
2016-07-15 11:56:42 -07:00