1023 Commits

Author SHA1 Message Date
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
James Lu
4e5038ca0e New AQI plugin: fetches air quality index info from aqicn.org 2019-06-03 19:29:39 -07:00
James Lu
fbda706503 Weather: remove and replace with a migration stub 2019-06-03 19:29:25 -07:00
James Lu
54bc27f297 Isup: remove, broken by upstream changes 2019-06-03 19:22:21 -07:00
James Lu
f1669b5087 PkgInfo: update archaur tests 2019-06-03 19:21:29 -07:00
James Lu
884ca91f66 NuWeather: remove invalid function call 2019-06-03 17:48:16 -07:00
James Lu
bf25a27e74 NuWeather: add a geolookup wrapper 2019-03-19 21:27:09 -07:00
James Lu
1dcda3b351 NuWeather: remove --list-backends for now, it doesn't quite work correctly 2019-03-19 21:25:58 -07:00
James Lu
d3dcfcc9b0 NuWeather: fix Markdown syntax from last commit
[skip ci]
2019-03-16 20:44:12 -07:00
James Lu
31e33babdd NuWeather: add a blurb about geocoding backends
[skip ci]

Closes #84.
2019-03-16 20:43:23 -07:00
James Lu
8d03d73e4e NuWeather: update list of available backends
[skip ci]
2019-03-16 20:32:13 -07:00
cottongin
fa4921776c NuWeather: adds ability to override both weather and geocode backends (#82) 2019-03-16 18:30:36 -07:00
James Lu
ce57415c47 NuWeather: Raise=True is not a valid keyword for callbacks.Error 2019-03-14 16:20:05 -07:00
James Lu
eb5b6df27f NuWeather: rename opencagedata -> opencage 2019-03-14 16:19:56 -07:00
cottongin
c8f951c670 NuWeather: adds OpenCage as geocode backend (#81) 2019-03-14 16:10:54 -07:00
James Lu
f5eafcf79a NuWeather: add Google Maps as a geocoding backend
Merge branch 'nuweather-google'

Closes #79.
2019-03-14 15:32:27 -07:00
James Lu
feb86eb3e2 NuWeather: cache geocode results by backend, not just location 2019-03-14 15:30:58 -07:00
James Lu
77f3ce23b1 NuWeather: fix naming consistency from last commit 2019-03-14 15:12:07 -07:00
Gordon Shumway
f76614c10c NuWeather: add Google Maps backend (#79) 2019-03-14 15:00:45 -07:00
James Lu
ff044013ca NuWeather: extended forecast support (!weather --forecast)
This adds pendulum as an optional dependency and a 'plugins.NuWeather.outputFormat.forecast' config option.
2019-03-09 12:37:19 -08:00
James Lu
02b9dafae5 accountsdb: fix missing import 2019-03-09 12:36:32 -08:00
James Lu
ef35e34ad5 Add a DB migration script from Weather to NuWeather 2019-03-09 11:38:29 -08:00
James Lu
e46915b58d accountsdb: write DB to a temporary file first 2019-03-09 11:15:34 -08:00
James Lu
f3bfd9ff73 accountsdb: store users case-insensitively by default 2019-03-09 11:15:18 -08:00
James Lu
9504ee446a Bump version to 2019.03.03+git 2019-03-03 22:26:12 -08:00
James Lu
07f860c735 Bump version to 2019.03.03 2019.03.03 2019-03-03 22:25:50 -08:00
James Lu
79c65e8e18 NuWeather: break up formatting code to be independent of backends
Merge branch 'nuweather-formatting'
2019-02-12 14:41:04 -08:00
James Lu
877e841372 NuWeather: tentatively make template format a config option
Detailed configuration instructions will hopefully be written soon.
2019-01-22 23:48:52 -08:00
James Lu
93bc68654b NuWeather: fix inconsistencies in output format 2019-01-22 23:20:30 -08:00
James Lu
b8e566dfe2 NuWeather: fix inverted conversions 2019-01-22 23:19:52 -08:00
James Lu
518edf884c NuWeather: split up fetching and formatting code 2019-01-20 21:20:49 -08:00
James Lu
d282e02e91 NuWeather: avoid wrapping "Dark Sky" onto two lines 2019-01-08 09:05:34 -08:00
James Lu
5d16655d6e .travis.yml: switch to dist: xenial 2019-01-05 19:46:43 -08:00
James Lu
1e261e6cae .travis.yml: test on Python 3.7 2019-01-05 19:40:24 -08:00
James Lu
831a0af53c Wikifetch: escape regexps as r'' strings (#75) 2019-01-05 19:40:08 -08:00
James Lu
53d2286aaf LastFM, NuWeather: allow DB addressing mode to be configured
These now support:
- saving users by accounts (fall back to ident@host if not registered)
- saving users by ident@host
- saving users by nick
2019-01-02 19:43:20 -08:00
James Lu
39487dc586 NuWeather: use DynamicScope.channel instead of passing msg between methods 2018-12-31 00:00:34 -08:00
James Lu
bed8a0669b NuWeather: update README 2018-12-30 23:51:07 -08:00
James Lu
2291a174d3 NuWeather: formatting improvements for OSM/Nominatim, Dark Sky 2018-12-30 23:44:02 -08:00
James Lu
7682a4b0d0 NuWeather: fix flipped max, min temps for apixu 2018-12-30 23:42:24 -08:00
James Lu
2f223dde11 NuWeather: fix geocode error if osm_id is unavailable 2018-12-30 23:42:06 -08:00
James Lu
545e8a3b8a NuWeather: minor apixu formatting tweaks 2018-12-30 23:21:19 -08:00