15 Commits

Author SHA1 Message Date
James Lu
914c5c4de3 Finish rewriting parts of the plugin
(Closes GLolol/Supybot-Weather#1)

- Removed configuration option 'disableColoredTemp' (this will likely be readded in the form of a more global, strip-all-formatting option later)
- plugin.py: copy license into file heading
- Remove unused _moonphase function
- Rewrite almanac, astronomy, and forecast (merging multiple if statements into one)
- Update tests and output formatting

Signed-off-by: James Lu <GLolol1@hotmail.com>
2015-03-13 17:18:40 -07:00
James Lu
599d40f19f Rewriting parts of the plugin... part 1
- showImperialandMetric is dropped and now implied
- optlist handling is completely removed since it made already complex code even more so
- Lots of bugs introduced hopefully!
2015-03-11 14:57:33 -07:00
James Lu
bea95b27c3 Weather: update documentation of config options 2015-03-10 17:14:31 -07:00
Mikaela Suomalainen
81130d77e7 Default showImperialAndMetric to True
I am seeing multiple users wondering about the output being in
Fahrenhait and I believe multiple people would be confused if it was
showing only Celsius, so it's probably the best to show both by default.
2014-11-06 19:01:25 +02:00
spline
1127ae056e Comment out symbol usage as I've not tested it. 2014-02-24 07:46:43 -05:00
spline
e43b764bdd Add in new option showImperialAndMetric. It allows a user to show everything but forecast text with both units, instead of their choice. 2014-02-21 17:28:06 -05:00
spline
194ae52481 Massive refactor. Moved internal db over to sqlite. MUST READ README IF USING OLDER VERSION. 2013-06-09 16:34:22 -04:00
spline
dc84be8292 Add in config to display Updated. 2013-01-15 14:19:26 -05:00
spline
8c321f0dd3 Update copyrights. Fix one thing in init. Add an option in config for symbols. Fix up some formatting in output. Add in symbols table. Change over strip to internal supybot method. 2013-01-15 13:51:13 -05:00
spline
019a2e2bdc Remove forecast days. Straight option to display forecast. Fix up temp color conversion. Remove cruff. 2013-01-03 09:21:24 -05:00
spline
2698dd8345 Updating all files.. 2013-01-02 14:30:01 -05:00
spline
55ec489f73 More progress.. 2013-01-01 06:25:36 -05:00
spline
6e4d6fa632 Many, many more updates. Works, partially, but not close to a release. 2012-12-30 16:42:56 -05:00
spline
9723afc6c8 Tons of updates. 2012-12-27 13:29:13 -05:00
spline
24b597ecb3 Initial push. 2012-12-12 23:47:45 -05:00