995 Commits

Author SHA1 Message Date
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
James Lu
8f2314add1 NuWeather: add Dark Sky as a backend 2018-12-30 23:15:06 -08:00
James Lu
80dbff83a0 NuWeather: implement geocoding from OpenStreetMap/Nominatim
This will be used by future weather fetchers.
2018-12-30 21:38:45 -08:00
James Lu
925b3b3b0b NuWeather: use a custom user agent (needed for OSM queries) 2018-12-30 21:37:34 -08:00
James Lu
57c8658adf NuWeather: make temperature display units configurable 2018-12-30 21:28:50 -08:00
James Lu
c0d15face0 accountsdb: always save files into the data directory 2018-12-30 14:22:38 -08:00
James Lu
3c23e0e319 NuWeather: include apixu daily conditions text 2018-12-30 13:38:12 -08:00
James Lu
6424b3664f Remove symlinks in local/ (these would break PluginDownloader) 2018-12-30 13:10:15 -08:00
James Lu
08d3f675c5 NuWeather: a new weather plugin using Apixu
Closes #71.
2018-12-30 13:01:10 -08:00
James Lu
f0546d521d Pull LastFMDB into a generic accountsdb module 2018-12-30 12:37:22 -08:00
James Lu
4e08442cde SedRegex: reuse processTimeout in the sub() process too 2018-12-12 18:56:26 -08:00
James Lu
edededfae8 FML: correctly raise an error if FML ID does not exist 2018-12-04 17:12:36 -08:00
James Lu
323b9b876b FML: update copyright years 2018-12-03 18:00:10 -08:00
James Lu
a96e340dca Add some more dependency notes
[skip ci]
2018-12-03 17:59:57 -08:00
James Lu
0a3e6d9012 Wikifetch: fix tests 2018-12-03 17:47:18 -08:00
James Lu
822b2aaee9 FML: fix fetching by ID (#74) 2018-12-03 17:41:04 -08:00
James Lu
a80a19564c Annotate READMEs with BeautifulSoup dependencies 2018-12-03 17:33:52 -08:00
James Lu
e6065fe451 README: update the repository URL
[skip ci]
2018-12-03 17:31:24 -08:00
James Lu
1b089a54f8 FML: rewrite using Beautiful Soup / web scraping
Betacie's API seems to have disappeared off the face of the Earth, along with its documentation.

Closes #74.
2018-12-03 17:30:47 -08:00
James Lu
bd157f74bf PkgInfo: replace "depends" before "dep" in --depends coloring
Initialize MultipleReplacer with an OrderedDict so that this works consistently.
2018-10-07 13:51:15 -07:00
James Lu
02ddfc0061 PkgInfo: refresh README
[skip ci]
2018-10-07 13:47:56 -07:00
James Lu
27a90ad253 PkgInfo: tests for the Gentoo fetcher 2018-09-30 07:36:07 +00:00
James Lu
703661d030 PkgInfo: add a Gentoo fetcher 2018-09-30 07:34:57 +00:00
James Lu
cd135286df PkgInfo: update Debian, Ubuntu, Linux Mint codenames
Debian: +bookworm
Ubuntu: -zesty +cosmic
  Mint: +tara
2018-08-18 07:48:04 +00:00
James Lu
ea890b433a RelayNext: check ignoreRegexp before CTCPs 2018-07-27 14:56:26 +00:00
James Lu
43fe7e9fc0 RelayNext: match ignoreRegexp case insensitively 2018-07-27 14:34:26 +00:00
James Lu
198d971e4c RelayNext: add regexp-based message filtering 2018-07-26 18:12:45 +00:00
James Lu
888ce4e445 LastFM: fix formatting errors in 'profile' 2018-07-19 18:22:53 +00:00
James Lu
b1e010d723 Wikifetch: fix testDisambig for c4c7f525410d68a84303595f6c2da6ffc32d25b1 2018-07-19 18:08:51 +00:00