1064 Commits

Author SHA1 Message Date
James Lu
fcef45ae77 NuWeather: fix crash with DarkSky when forecast summary is unavailable 2020-05-25 13:56:19 -07:00
James Lu
38e31daf3e SedRegex: remove; this plugin is now bundled with Limnoria 2020-04-10 17:27:44 -07:00
James Lu
4b698d40ed PkgInfo: update Ubuntu codenames 2020-03-29 11:19:17 -07:00
James Lu
af8384ba4f SedRegex: skip testReDoSTimeout if multiprocessing is disabled
From: d3b991895c
2020-03-22 21:16:07 -07:00
James Lu
866875ec5d SedRegex: allow matching text with the trailing suffix missing
Closes https://github.com/jlu5/SupyPlugins/issues/91

Also add test cases for issues described in https://github.com/jlu5/SupyPlugins/issues/59 - text after the trailing separator should be ignored unless its a regex flag.
2020-03-22 21:12:40 -07:00
James Lu
ab22cc980a README: refresh, update PluginDownloader repo name
[skip ci]
2020-03-20 16:45:10 -07:00
Gordon Shumway
56f3e1c4f4
NuWeather: Add weatherstack geocode backend (#90) 2020-02-09 00:11:57 -08:00
James Lu
0b662c6146 RelayNext: don't break relays if one network is disconnected 2020-01-24 07:54:30 -08:00
James Lu
17b3e86d1b Bump version to 2020.01.05+git 2020-01-05 21:12:06 -08:00
James Lu
5675a97857 Bump version to 2020.01.05 2020.01.05 2020-01-05 21:11:31 -08:00
James Lu
f01f9789fc MCInfo: strip nbsp from crafting item names 2019-12-31 23:08:00 -08:00
James Lu
bcf43ba48d PkgInfo: drop CentOS fetcher
This has broken in CentOS 8 and isn't feasible to maintain anymore, given the lack of a proper API.
2019-12-24 14:04:27 -08:00
James Lu
8ddf4a101a PkgInfo: show 'vlist' output in reverse by default
The madison API still shows EOL releases for Debian and Ubuntu, which are hardly useful at this point.
2019-12-24 14:04:27 -08:00
James Lu
4dd3f7ff08 GitLab: fix searching for X-Gitlab-Event
This was broken by 726ac377ed29363c9a88fc1ef51523718e3540b7
2019-12-24 13:19:29 -08:00
James Lu
ede632047d .travis.yml: add Python 3.8 2019-12-08 16:17:26 -08:00
James Lu
cbd953b32c Update plugin author/maintainer data 2019-11-16 12:29:03 -08:00
James Lu
22146bcb08 Remove unmaintained plugins CtcpNext, Namegen, PassGen 2019-11-11 12:36:17 -08:00
James Lu
19ae9f5cbe MCWiki: fix crafting table parsing 2019-11-11 12:34:28 -08:00
James Lu
ee59e5c6db Qalculate plugin: initial commit 2019-11-10 01:38:49 -08:00
James Lu
726ac377ed GitLab: s/Gitlab/GitLab/g 2019-11-08 19:04:19 -08:00
James Lu
6382b9d197 GitLab: Store super() information so that reloads don't fail with TypeError
This happens because the named reference to the "Gitlab" class is replaced by a new version on reload, making the old instance no longer an instance of it.

(cherry picked from commit f5ffcee53f)
2019-11-08 19:02:58 -08:00
James Lu
83fdfeb113 GitLab: Add an option to use NOTICE instead of PRIVMSG
(cherry picked from commit 3c0d66ea34)
2019-11-08 19:02:31 -08:00
James Lu
caed6ec0a5 GitLab: Drop the need for channel names in the URL
This behaviour was unclear and misleading for a number of reasons:
- The channel name was actually only used for checking the bot's channel presence, and not as the announcement target.
- What the plugin actually did is check *all* channels the bot is in on the target network for configured announcements,
  and announce to all of them (regardless of what channel was given in the URL).

Backwards compatibility with the old URL format is kept with this commit.

(cherry picked from commit 630786e541)
2019-11-08 19:02:06 -08:00
James Lu
46719240b0 GitLab: Fix support for multiple networks
Instead of fixing the webhook handler to the network where the plugin was loaded, dynamically search through networks (much like the plugin already did with channels).

This also makes the plguin raise an explicit error if a network+channel target is unknown, instead of leaving any frontend servers with confusing 502 (Bad Gateway) errors.

(cherry picked from commit 140d724fb3)
2019-11-08 19:00:53 -08:00
James Lu
ea198f0b8c GitLab: Remove dead metadata & test.py boilerplate 2019-11-08 18:59:13 -08:00
Moritz Lipp
175b3b7612 Import https://github.com/mlq/limnoria-gitlab@a58314f 2019-11-08 18:56:48 -08:00
James Lu
b6f0b34e9d README: remove webchat link
[skip ci]
2019-10-28 19:24:22 -07:00
Valentin Lorentz
ede85ca8b0 SedRegex: spawn a single process to handle the whole history.
This is more efficient than spawning up to 1000 processes (assuming
Limnoria's default config).
2019-10-26 01:28:27 +02:00
James Lu
81debc45ec SedRegex: add test for ReDoS timeout 2019-10-17 22:15:46 -07:00
James Lu
e5af479939 SedRegex: abort when a search times out
This requires commit b54d8f8073, which separates the timeout and no match cases.

Also, raise the default processTimeout as the plugin now aborts on the first message that times out.
2019-10-17 22:15:28 -07:00
James Lu
2ae51939b3 Update my email & repo link references 2019-10-11 09:58:50 -07:00
James Lu
152e037176 NuWeather: update list of supported backends 2019-10-06 15:42:56 -07:00
James Lu
3d8e284901 NuWeather: exclude hourly and alerts info for Dark Sky; they are not used 2019-10-06 15:42:40 -07:00
James Lu
4354697a56 NuWeather: add OpenWeatherMap as a backend 2019-10-06 13:59:31 -07:00
James Lu
1678b0646e NuWeather: replace Apixu with its successor Weatherstack
Apixu goes down in only one week, so there's no point in leaving the old code here.

Closes #87.
2019-10-06 11:35:27 -07:00
James Lu
a9d0d5fe60 NuWeather: add support for current-conditions-only providers 2019-10-06 11:33:19 -07:00
James Lu
ad2a7d098c NuWeather: raise a proper error for unknown OpenCage locations 2019-09-05 19:03:02 -07:00
James Lu
8480dce3e6 NuWeather: write a proper error for unknown Nominatim locations
Reported by MetaNova on IRC.
2019-09-05 18:55:59 -07:00
James Lu
5e5c06d9db Drop support for Python 3.4 (EOL) 2019-09-01 19:47:25 -07:00
James Lu
85469f9e34 NuWeather: show wind gust details 2019-09-01 19:41:12 -07:00
James Lu
eaea9ebd5f Bump version to 2019.07.09+git 2019-07-09 17:39:53 -07:00
James Lu
653d64d561 Bump version to 2019.07.09 2019.07.09 2019-07-09 17:39:50 -07:00
James Lu
4571f5ca86 NuWeather: explicitly refuse to load on Python 2
Python 2 does not support keyword-only arguments (PEP 3102), so trying to load the plugin there raises confusing syntax errors.

Closes #85.
2019-07-05 12:55:27 -07:00
James Lu
c335015ba6 Update Travis-CI settings
- Skip FML tests - they seem to be very unreliable
- Exclude AQI, NuWeather when running tests on pull requests
- Move SYSDNS_HOST_COMMAND into 'script' to clean up env settings
2019-06-23 12:53:44 -07:00
James Lu
bfb1fc87f6 NuWeather: add basic unit tests
Closes #76.
2019-06-23 12:36:09 -07:00
James Lu
971665da44 NuWeather: handle cases when DarkSky output is missing fields 2019-06-23 11:44:31 -07:00
James Lu
3c72c3a4f9 FML: update scraper for fmylife.com changes 2019-06-23 11:42:02 -07:00
James Lu
5672008a31 SedRegex: test case normalization of channel names 2019-06-05 15:25:45 -07:00
James Lu
e19abe0498 SedRegex: match channel names case insensitively
Some IRCds (Unreal 3.2) don't mangle target names for case correctness, leading to a bug where users end up ignored by the plugin.

Reported by DOMF via IRC.
2019-06-05 15:02:59 -07:00
James Lu
fdab0edbc8 SedRegex: log all errors, always display the not found mesage 2019-06-05 14:41:05 -07:00