860 Commits

Author SHA1 Message Date
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
James Lu
dc2b6af622 PkgInfo: use https on packages.ubuntu.com, as it is now available 2017-06-01 23:14:09 -07:00
James Lu
11a03ad9a0 Bump version to 2017.05.31 2017.05.31 2017-05-31 13:10:47 -07:00
James Lu
2d391759ab Revert "PkgInfo: re-enable 'archlinux' and 'archaur' tests"
This reverts commit 03f47c58c7840eb3fce0e510ab54512f71cad7e2.
2017-04-30 19:51:21 -07:00
James Lu
03f47c58c7 PkgInfo: re-enable 'archlinux' and 'archaur' tests
This partially reverts commit 67c40b5974e86f978d449c61e893ffa576cf9ef2.
2017-04-30 19:43:46 -07:00
James Lu
9e44bad118 PkgInfo: add Ubuntu codename artful & remove wily 2017-04-30 19:42:19 -07:00
James Lu
eef54cda77 .travis.yml: bump pypy3 version to pypy3.3-5.2-alpha1, per 62616a34d3 2017-04-30 19:39:43 -07:00
James Lu
7f3095cf8d Merge in Quakenet plugin from https://github.com/GLolol/Supybot-Quakenet 2017-04-22 16:18:20 -07:00
James Lu
55d56a888e Restart: mark as broken on daemonized instances 2017-04-16 23:41:01 -07:00
James Lu
394158bea5 Wikifetch: fix Wikipedia test 2017-04-16 16:53:37 -07:00
James Lu
771e1a51a9 Add an experimental plugin to restart Limnoria from IRC
Resolves ProgVal/Limnoria#1070.
2017-04-16 16:42:33 -07:00
James Lu
fd468bb9e3 README: resort plugin list [skip ci] 2017-04-16 16:40:09 -07:00
James Lu
39ae7846c7 LastFM: fix extended info parsing on tracks without a Musicbrainz ID 2017-04-11 18:19:00 -07:00
James Lu
e3f9098776 LastFM: make fetchYouTubeLink option actually channel specific 2017-04-11 18:19:00 -07:00
James Lu
f88018a76f LastFM: optionally show extended info (user play count + tags) 2017-04-11 18:19:00 -07:00
James Lu
4cd8bc9354 LastFM: fix grammar ("listened to X just now" vs. "listened to X right now") 2017-04-11 18:19:00 -07:00
James Lu
8bd6bfbcda TranslateParty: fix config name in readme [skip ci] 2017-03-30 07:22:02 -07:00
James Lu
b57bd11999 README: rewrite blurb for the Weather plugin [skip ci]
Also, remove the link to the outdated Weather subrepository.
2017-03-25 23:23:35 -07:00
James Lu
7611f0fa9c Wikifetch: fix 'random' help text syntax 2017-03-24 19:10:47 -07:00
James Lu
001b49b6c3 Wikifetch: prefer <link rel="canonical"> links again when available 2017-03-24 19:09:38 -07:00
James Lu
b9481184cb SedRegex: skip testBoldReplacement on Python 2
I don't know why it breaks here and I don't really care.
2017-03-21 13:21:40 -07:00
James Lu
5e77c65a5f SedRegex: remove a duplicate test 2017-03-21 13:14:06 -07:00
James Lu
b53e6e40a0 SedRegex: use self.__class__ instead of __class__ in tests (Python 2 compat) 2017-03-21 13:10:23 -07:00
James Lu
a58785fa4a SedRegex: add a bunch of test cases
Closes #53.
2017-03-21 12:58:12 -07:00
James Lu
491ff66c7e .travis.yml: quote echo arguments as well... 2017-03-21 11:27:27 -07:00
James Lu
a55ad36068 .travis.yml: quote args from last commit 2017-03-21 11:24:07 -07:00
James Lu
328d07af9a .travis.yml: skip Weather and LastFM tests (which require secure data) on pull requests 2017-03-21 11:05:32 -07:00
James Lu
65bb618662 .travis.yml: run tests for Weather again 2017-03-21 10:49:44 -07:00
James Lu
485dff4a8f .travis.yml: drop builds on Python 3.2/3.3 2017-03-18 23:54:38 -07:00
James Lu
d5f498bfcb Wikifetch: switch to a different article for testMediaWiki 2017-03-18 23:52:38 -07:00
seitzbg
40634dcdd5 PkgInfo: only match package names in 'centos --exact', instead of name + version strings
(cherry picked from 59cb273cb7)
2017-03-18 19:54:10 -07:00
James Lu
91cfa7acb0 Wikifetch: intelligently filter out <p> lines with little or no content
More specifically, this skips lines that have a lower word count than the search query (e.g. page titles, some navigation links).
This allows some pages on https://wiki.ubuntu.com/ to work, for example
2017-03-18 19:07:56 -07:00