1032 Commits

Author SHA1 Message Date
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
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