James Lu
d0f584430d
Bump version to 2018.05.03+py2legacy
2018.05.03-py2legacy
2018-05-03 12:09:02 -07:00
James Lu
92ff1a6d6e
[py2-legacy] update-version: apply branch-specific +py2-legacy suffix to tags as well
...
Also change the suffix from +python2-legacy to +py2-legacy.
2018-05-03 12:08:49 -07:00
James Lu
7ffda37389
[py2-legacy] disable Python 3.4, 3.5 builds
...
Just one Python 3 branch as a reference is enough.
2018-05-03 12:03:46 -07:00
James Lu
55e9d04c1a
SupyMisc: disable testSPSourceFetch
...
(cherry picked from commit 1aacd7c2a138cc5849b8cf4e2ca888e9358d9bd9)
2018-05-03 12:01:44 -07:00
James Lu
dc10e18de6
LastFM: make tests network only
...
(cherry picked from commit eae4c6bf3380d04a5431f0f5dabbe986cef5ea29)
2018-05-03 12:01:44 -07:00
James Lu
cca1bd9d16
PortLookup: drop, broken and unmaintainable
...
(cherry picked from commit d28233138fecae2f71c4258f8c320ca720a4e290)
2018-04-27 12:09:24 -07:00
James Lu
13224a621a
PortLookup: stop parsing notes, the format keeps on changing
...
(cherry picked from commit 7fd7b98bc37205162e1cc87f55726dcb04e33438)
2018-04-12 11:07:44 -07:00
James Lu
2ebe1800c6
OperUp: rework numeric logging
...
- Include full messages for the numerics we care about
- Remove handlers for 464 and 481; they aren't useful for our purposes
(cherry picked from commit 0906dc554d874f155158ffa6ef8c9a1b0b1b2baf)
2018-02-23 19:13:55 -05:00
James Lu
1b2ee38fd0
OperUp: unset _oper_tried_oper on disconnect
...
Closes #67 .
(cherry picked from commit 1d20f5afd511b45f165f268346ee8e4bc598556b)
2018-02-23 19:13:55 -05:00
James Lu
cb94985943
Weather: remove unused _weatherSymbol helper
...
(cherry picked from commit e04f6c5b2d9095977f56b586de258c3a56bc5bef)
2018-02-23 19:13:55 -05:00
James Lu
d3e375b1d0
travis: don't test Weather, it hits my API limits too quickly
...
(cherry picked from commit ac4c9f206333df9d338b2773a63a37a4327978ef)
2018-02-01 19:39:51 -08:00
James Lu
3dbff43274
Weather: remove try/except on getUrl in _wuac()
...
irc isn't defined in this scope, so this would throw errors trying to raise an error
(cherry picked from commit 84e376acf5a51a5a6c1191cd44a06a29db3cd865)
2018-02-01 19:39:51 -08:00
Julian Zhou
db01a84fe9
Weather: reword 'no API key configured' error ( #68 )
...
(cherry picked from commit 0cc102c3c65174f71fb7b5ed232cd439b26a4239)
2018-02-01 19:39:51 -08:00
James Lu
500702d328
Weather: time out getUrl requests after 5 seconds
...
getUrl without a custom timeout seems to wait forever before returning a "Connection timed out" error, and this is really confusing.
(cherry picked from commit ff867d3ed508aad38b5730d8e038a9fe179c805c)
2018-02-01 19:39:51 -08:00
James Lu
a40d30db42
DDG: remove zeroclick from plugin readme
...
[skip ci]
(cherry picked from commit 3ab4ba16dc09755424b7e5da4e0ffd2e4a087c9a)
2018-02-01 19:39:51 -08:00
James Lu
8e4b6ba928
SedRegex: make the regexp process timeout configurable
...
Although the default has been adequate on my systems, busy or low-powered machines may fail to process regexps quickly enough and cause SedRegex to sporadically error.
Reported by @cottongin via IRC.
(cherry picked from commit 51ff41251b7367f4c056745b18758006c7453ff5)
2018-02-01 19:39:51 -08:00
James Lu
31a9a699fb
OperUp: write tried_oper flag to irc.state, as attributes under irc are not persistant
...
(cherry picked from commit 06e00beea6b66a885e5aaec803465eb869275f7f)
2017-11-23 00:01:53 -08:00
James Lu
34f7a765cb
OperUp: don't try to autooper multiple times
...
This fixes an infinite loop when receiving OPERMOTDs that use the regular MOTD numerics (e.g. on InspIRCd).
(cherry picked from commit 8c0b8d91a17a62cead22553c80b84b6d190df8df)
2017-11-23 00:01:53 -08:00
James Lu
4a6a13992c
OperUp: cleanup and reindent
...
(cherry picked from commit 6fdcdefca69d45bd823d913400448719cc84db23)
2017-11-23 00:01:53 -08:00
James Lu
dc1ec8e602
OperUp: remove 461 handler
...
ERR_NEEDMOREPARAMS is very general and can be triggered by other commands too.
(cherry picked from commit 4081afc999ba46bd8d87cbe10aa71fb38786316c)
2017-11-23 00:01:53 -08:00
James Lu
0226332b86
OperUp: fix wrong numeric in do464 logging
...
(cherry picked from commit 6dc362041c21ef793ae014d596394cbf8ce8f0f1)
2017-11-23 00:01:53 -08:00
James Lu
4f4e76b57a
OperUp: remove extraneous numeric 377 handler
...
The only MOTD-related usage of this is deprecated according to http://defs.ircdocs.horse/defs/numerics.html#rpl-kickexpired-377
(cherry picked from commit 4b5795b9ce4541840ec58a23be5fc84919295c32)
2017-11-23 00:01:53 -08:00
James Lu
2f537e76f6
[py2-legacy] update-version: add a version suffix to distinguish this branch from master
...
[skip ci]
2017-11-12 01:49:46 -08:00
James Lu
edf9d716ab
NoTrigger: prepend, not append
...
[skip ci]
(cherry picked from commit afabf73705c8a2738236409deeeeaf580a4e0571)
2017-11-12 01:42:31 -08:00
James Lu
b6a1e2aca7
NoTrigger: cleanup readme
...
[skip ci]
(cherry picked from commit e471a02cd4b11b51a118e190c2b339a3dce968e4)
2017-11-12 01:42:31 -08:00
James Lu
b258d0803c
Weather: rewrite 'setweather' help for clarity
...
(cherry picked from commit 9378aca10f2e6ba24aab39fd39778ffbd6c185e6)
2017-11-12 01:42:31 -08:00
James Lu
5c66a22fe9
Weather: omit the Alerts line completely if none are available
...
This is otherwise just spam...
(cherry picked from commit e32223bb6606b2e2a873378054615a58230a6219)
2017-11-12 01:42:31 -08:00
James Lu
381d6b66db
Wikifetch: ignore GPS coordinates from articles for countries, etc.
...
(cherry picked from commit d147207ad167cb50fec1d464fb4b8ffdc6776da9)
2017-11-12 01:40:06 -08:00
James Lu
f8c476f704
Wikifetch: roughly sort Wikipedia tests by theme
...
(cherry picked from commit d000140891afb4b2f0c31d52425e10cc917142ec)
2017-11-12 01:40:06 -08:00
James Lu
2260599031
Update PluginDownloader instructions for python2-legacy branch
...
[skip ci]
2017-11-02 20:36:37 -07:00
James Lu
23231a4556
.travis: remove broken pypy3, nightly branches
...
(cherry picked from commit 767d3ac7629208f91bc728568e0cf0abaff7b1d0)
2017-09-17 13:35:02 -07:00
James Lu
9ffffb538f
PkgInfo: fix tests
...
(cherry picked from commit 757949869233386502f809672a1d7470664a4bfe)
2017-09-17 13:34:42 -07:00
James Lu
21cbeaafb1
Wikifetch: refactor text fetching, fix listing disambig results
...
(cherry picked from commit 08d8f48db5ad623a372eadb1b65b2cdfebb59f77)
2017-09-17 13:34:42 -07:00
James Lu
5ca550ac4b
Wikifetch: strip inline notes in the form "text[note 1]" from IRC
...
(cherry picked from commit 9986babd2e57d2ed0a1313e4fedf75d0f019fd8c)
2017-09-17 13:34:42 -07:00
James Lu
cfa26351a7
NoTrigger: fix IndexError when a message only contains spaces
...
(cherry picked from commit 0955fe4c133c908d0674f97f8463d08225481bbe)
2017-09-10 01:09:02 -07:00
James Lu
a5fdbd771b
Remove RhymeZone and TranslateParty, which never worked on Python 2
2017-08-24 19:05:52 -07:00
James Lu
eddd8d2ae1
README: update for python2-legacy branch
2017-08-24 19:04:56 -07:00
James Lu
d1c62eea52
Weather: fix last-updated time parsing on values such as "just now"
...
(cherry picked from commit 4452e5af4fd4977cbe48723b48532f7e0bf09d18)
2017-08-24 19:01:18 -07:00
James Lu
dd9ed0c3bf
PortLookup: don't show notes fields marked as ?
...
(cherry picked from commit 75f89cdf6e5e31f7fea3bbca17de161689a9f763)
2017-08-24 19:01:18 -07:00
James Lu
a1826fbc85
README: fix a typo [skip ci]
2017-06-09 22:41:02 -07:00
James Lu
0feb7e13e3
rm Replacer.py migration stub, it has been there for a year
2017-06-09 22:39:53 -07:00
James Lu
1dbcdb746d
Wikifetch: declare encoding for ancient Python support
2017-06-03 18:40:24 -07:00
James Lu
71458857f9
Wikifetch: more tests for --site and foreign Wikipedia
2017-06-03 18:35:02 -07:00
James Lu
b6231f56ef
Revert "Wikifetch: intelligently filter out <p> lines with little or no content"
...
This broke parsing for CJK languages (e.g. Chinese and Japanese), which don't use traditional spaces...
(but I should've known that)
This reverts commit 91cfa7acb0975fd5b5bab6e6f2c760781ccd84e2.
2017-06-03 18:30:25 -07:00
James Lu
b8e04f167e
Wikifetch: add tests for non-English Wikipedia & articles with symbols in their title
2017-06-03 18:11:55 -07:00
James Lu
670b41950b
Wikifetch: rm broken Commons test
2017-06-03 18:11:48 -07:00
James Lu
346f72d816
Wikifetch: fix lookup of articles with symbols (e.g. "/") in their title
...
The normalization for the special cases was previously ignored if the query matched a "/"; why was this added in the first place?
2017-06-03 18:09:20 -07:00
James Lu
b79ddf2f7e
Wikifetch: update URL for commons.wikimedia.org test, as the old one has been removed
2017-06-03 17:47:06 -07:00
James Lu
092055d491
Wikifetch: fix Wikipedia parsing again
...
As of 2017-06-03, Wikipedia has put its text content under a new "mw-parser-output" div, while# other sites (e.g. Wikia) still have it directly under "mw-content-text".
2017-06-03 17:46:30 -07:00
James Lu
cdf6c7eb3e
DDG: remove the 'zeroclick' command
...
The IRC output is poorly formatted, and doesn't yield useful results most of the time anyways.
2017-06-03 17:28:43 -07:00