1095 Commits

Author SHA1 Message Date
James Lu
c4ea611726 RelayNext: fix tests on py3.6 2021-05-29 13:22:36 -07:00
James Lu
3b917e7221 RelayNext: fix undefined variable 2021-05-29 13:22:23 -07:00
James Lu
c772ed1316 SysDNS, Wikifetch: remove broken tests 2021-05-29 13:15:31 -07:00
James Lu
314d6781f0 RelayNext: add antiflood tests; fix off-by-one when receiving messages on a channel for the first time 2021-05-29 13:07:50 -07:00
James Lu
5f66135f83 RelayNext: add tests for bot ignores & ignoreRegexp 2021-05-29 01:42:54 -07:00
James Lu
b7e197f0c0 RelayNext: tests for color, showPrefixes, noHighlight options 2021-05-29 01:15:35 -07:00
James Lu
b1ae9100ff RelayNext: add test for toggling events 2021-05-27 22:42:02 -07:00
James Lu
6f8910b907 RelayNext: add tests for NICK and QUIT 2021-05-27 18:42:48 -07:00
James Lu
811ddb4c31 RelayNext: add tests for MODE 2021-05-27 18:31:33 -07:00
James Lu
5b6fc05df5 RelayNext: test PRIVMSG, ACTION, TOPIC, and KICK 2021-05-27 00:20:40 -07:00
James Lu
d1fdffdabd RelayNext: add tests for join/part handling 2021-05-26 00:11:21 -07:00
James Lu
cc0ef7f226 Update IRC reference [skip ci] 2021-05-25 23:09:39 -07:00
James Lu
f9b6b4c247 Add Drone CI pipeline 2021-03-05 01:08:57 -08:00
James Lu
d713ee66a8 RelayNext: refactor antiflood check into its own method 2020-12-19 23:36:13 +01:00
James Lu
ecf52180b0 RelayNext: make channel a mandatory argument to relay()
Messages where this is not set correctly are thrown away anyways.
2020-12-19 23:35:01 +01:00
James Lu
5c9a9a9aab RelayNext: fix antiflood not using the timeout value 2020-12-19 23:08:23 +01:00
James Lu
d892978272 RelayNext: rewrite the config help text 2020-12-19 22:57:40 +01:00
James Lu
2e296b38ff RelayNext: add events.relaySelfMessages option to toggle relaying the bot's output
Closes #98.
2020-12-19 22:57:40 +01:00
James Lu
2baceb609e README: direct people to #limnoria @ freenode
[skip ci]
2020-12-04 17:43:42 -08:00
James Lu
968e4c7390 NuWeather: refactor tests to workaround errors in the test framework
Previously, these tests always errored:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/supybot/test.py", line 214, in runTest
    originalRunTest()
  File "/usr/local/lib/python3.7/dist-packages/supybot/test.py", line 214, in runTest
    originalRunTest()
  File "./NuWeather/test.py", line 73, in testSavedLocation
    self.assertError('weather')  # No location set
  File "/usr/local/lib/python3.7/dist-packages/supybot/test.py", line 344, in assertError
    m = self._feedMsg(query, expectException=True, **kwargs)
  File "/usr/local/lib/python3.7/dist-packages/supybot/test.py", line 298, in _feedMsg
    to = self.irc.nick
AttributeError: 'NoneType' object has no attribute 'nick'
2020-09-19 01:07:13 -07:00
mogad0n
2a098528c7
LastFM: more immersive nowplaying output (#95)
* Making the output for nowplaying immersive

Added a simple conditional to make the output of now playing a little more aesthetically pleasing.
mogad0n is listening to Roller Mobster by Carpenter Brut [Trilogy]
vs
mogad0n listened to Roller Mobster by Carpenter Brut [Trilogy] just now.
Close #92
2020-09-10 20:27:22 -07:00
James Lu
f548d2dd54 NuWeather: use PluginTestCase.setUp() in tests
PluginTestCase.setUp() checks some hardcoded class names, so using super() here causes the tests to break.
2020-08-14 18:00:35 -07:00
James Lu
586d16712f NuWeather: add CI tests for Weatherstack and Openweathermap 2020-08-03 14:17:17 -07:00
James Lu
1eb83ea9df NuWeather: switch to OneCall API for OpenWeatherMap
This API is more complete and includes things like daily forecasts.
2020-08-03 14:13:11 -07:00
James Lu
47b7b422e4 README: remove dropped plugins 2020-07-08 17:33:25 -07:00
James Lu
025ad791cb DDG: remove; moved into core 2020-07-08 17:32:13 -07:00
James Lu
579c3e0cc6 AQI: fix name of config variables in docs 2020-06-21 11:31:06 -07:00
James Lu
5062d3c935 Wikifetch: remove broken Wikimedia commons test 2020-06-09 10:06:13 -07:00
James Lu
3c7e9e275a AQI: properly encode place names with spaces in them 2020-06-09 09:56:10 -07:00
James Lu
de4d74a3a9 NuWeather: drop apixu -> weatherstack link 2020-05-25 14:02:17 -07:00
James Lu
f960b66a72 NuWeather: update default backend to OpenWeatherMap 2020-05-25 14:01:29 -07:00
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