1175 Commits

Author SHA1 Message Date
James Lu
32d9465b60 accountsdb: fix import 2023-04-28 18:02:00 -07:00
James Lu
edeb892db1 accountsdb: use shutil.move instead of os.rename
On Windows, os.rename will error if the destination exists
2023-04-27 23:26:14 -07:00
James Lu
79a4453875 Remove GitLab plugin fork
All meaningful changes have since been upstreamed to https://github.com/mlq/limnoria-gitlab
2023-04-25 21:14:22 -07:00
James Lu
77f57a7d93 Matrix2051: quick hack to trigger commands from edited messages 2023-04-03 20:25:35 -07:00
James Lu
799b7c7b71 Wikifetch: add wiki.gg fetcher 2023-03-30 22:37:10 -07:00
James Lu
e7d82053b3 README: tweak formatting
[skip ci]
2023-03-30 22:28:47 -07:00
James Lu
916122cf65 README update [skip ci]
- Remove plugins list, as it's basically never up to date
- Prefer using pip over PluginDownloader to install plugins individually
2023-03-30 22:28:12 -07:00
James Lu
45f2639eb6 NuWeather: revert openweathermap to using the older "Professional collections" APIs
OneCall 2.5 is no longer available for new API signups, while 3.0 requires a billing subscription which I just don't feel like bothering with right now.
2023-03-22 18:39:31 -07:00
James Lu
704ab70424 CI: add Python 3.11 2023-03-07 23:45:58 -08:00
James Lu
1b3ce50abe NuWeather: replace Dark Sky with Pirate Weather
Co-Authored-By: jithatsonei <me@ji.wtf>
2023-03-07 23:43:41 -08:00
James Lu
6ca827d30f Update requirements.txt (for CI) 2023-03-07 23:37:35 -08:00
James Lu
d32c274453 NuWeather: add haversine as dependency 2023-03-07 23:24:40 -08:00
James Lu
cf0a320c9a NuWeather: fix formatter tests 2023-03-07 23:24:28 -08:00
James Lu
445cf4c395 LastFM: replace non-existent username in tests 2023-02-18 17:55:04 -08:00
James Lu
810f87de09 Wikifetch: use MW OpenSearch API instead of fetching exact title 2023-02-15 21:51:34 -08:00
James Lu
582a02f74e Wikifetch: rewrite plugin using MediaWiki API 2023-02-12 16:08:31 -08:00
James Lu
31c97a646b NuWeather: update temperature colour scheme 2023-02-12 16:08:31 -08:00
Val Lorentz
4e132d708c
Matrix2051: Remove unformatted argument (#107) 2022-12-03 02:01:08 -08:00
James Lu
9f6e6bff96 Add Matrix2051 tweaks plugin 2022-11-07 18:55:18 -08:00
James Lu
9942f43e68 Add quick usage guide for Grapnel
[skip ci]
2022-09-04 15:56:08 -07:00
James Lu
f7f6a011e8 Merge branch 'grapnel-hooks' 2022-09-04 15:32:40 -07:00
James Lu
3e08495dab Grapnel: add stub GET handler 2022-07-25 23:55:19 -07:00
James Lu
a017bd135f Bump minimum Python version to 3.8
Grapnel uses the := operator from 3.8+
2022-07-25 23:22:01 -07:00
James Lu
13bb1bbb96 Grapnel: treat channel names case insensitively 2022-07-25 23:11:13 -07:00
James Lu
acf23329fc Grapnel: add tests (DB and HTTP POST) 2022-07-25 23:11:03 -07:00
James Lu
393e7fea01 Grapnel: less lazy urlencode 2022-07-25 21:30:03 -07:00
James Lu
1d21359590 Grapnel: cleanup network/channel getters; fix permission checks 2022-07-25 21:29:49 -07:00
James Lu
d526f44d1d Grapnel: first commit
Announce Slack-style webhooks to IRC
2022-07-07 23:17:58 -07:00
James Lu
f4d77173ac Remove MCInfo
Largely superseded by in-game features
2022-06-23 13:44:32 -07:00
James Lu
c7928d7837 README: s/Supybot/Limnoria
[skip ci]
2022-06-23 13:43:28 -07:00
James Lu
750b1ddaf6 NuWeather: import 'plugin' separately
PluginDownloader has some buggy heuristics that cause it to run 2to3 when it isn't needed.

This is fixed upstream in https://github.com/progval/Limnoria/pull/1509
2022-06-23 13:35:27 -07:00
James Lu
2bd13fa068 RelayNext: switch to network-specific variables
Closes #96
2022-06-19 16:26:02 -07:00
James Lu
b2d800ce61 Wikifetch: cleanup redirect handling; fix tests
I also remove the showRedirects logic as the addition text is usually far too verbose for IRC
2022-06-19 15:49:30 -07:00
James Lu
fb877f94bc CI: only run networked tests on latest version 2022-06-19 15:33:53 -07:00
James Lu
4ebcfb1e5a NuWeather: update backends in README 2022-06-19 15:31:49 -07:00
James Lu
388e13acc5 Merge branch 'nuweather-wwis' 2022-06-19 15:28:13 -07:00
James Lu
3ca6f3c973 NuWeather: minor cleanup 2022-06-19 15:21:28 -07:00
James Lu
753619c513 NuWeather: refactor formatter config reading & test setup 2022-06-19 11:45:47 -07:00
James Lu
c27976d3ad NuWeather: refactor WWIS request cache
Only reload data from disk if cache is valid and it has not been loaded yet
2022-06-19 11:17:46 -07:00
James Lu
48c6f2422b NuWeather: remove forecast=Y filter for WWIS 2022-06-04 16:41:47 -07:00
James Lu
8f5f675d65 NuWeather: add current_data_city fallback 2022-05-28 01:42:51 -07:00
James Lu
eb376d8554 NuWeather: use .json files from WWIS directly 2022-05-28 01:30:47 -07:00
James Lu
396dc4d20e NuWeather: fix WWIS cache TTL for current conditions 2022-05-28 01:27:43 -07:00
James Lu
96ecf283fe NuWeather: use more precise mi/km conversion 2022-05-25 15:10:21 -07:00
James Lu
58e85f3532 NuWeather: add WWIS backend
Closes #94.

WWIS uses a predetermined list of locations and doesn't provide a search facility of its own - instead we geocode the input location and find the closest city with data using a Haversine algorithm
2022-05-24 21:16:01 -07:00
James Lu
05b15b0111 NuWeather: implement configurable unit display for distance and speed
This is implemented as two new options using simple templates: plugins.nuweather.units.distance and plugins.nuweather.units.speed

Closes #101.
Closes #97.
2022-05-24 13:29:47 -07:00
James Lu
cb49620a2d NuWeather: split formatting another module; implement format_temp with only c input 2022-05-24 12:56:08 -07:00
James Lu
608a056ad7 NuWeather: remove dynamicScope hacks 2022-05-24 11:59:20 -07:00
James Lu
2718c09cbc BirdLGGo: remove inaccurate "hops not responding" parsing 2022-02-23 17:49:10 -08:00
Val Lorentz
74521ae41f
all: Add setup.py, to be installable via pip (#106) 2022-02-05 11:40:49 -08:00