Commit Graph

1135 Commits

Author SHA1 Message Date
Michael Teeuw 2a6ca5d5ac Merge pull request #2581 from Crazylegstoo/envCanadaFix
Fix to Environment Canada weather provider
2021-06-16 10:07:48 +02:00
Karsten Hassel 9269848f66 Merge branch 'develop' into jest
# Conflicts:
#	CHANGELOG.md
2021-06-15 23:32:22 +02:00
Karsten Hassel a71e61cd30 use short if in weatherforecast.js, add comment to logger.js 2021-06-15 23:29:07 +02:00
karsten13 1a244726aa run prettier 2021-06-11 22:24:21 +02:00
Karsten Hassel 66759a33fa unit tests 2021-06-07 00:16:53 +02:00
Robert Ewald d56a6fb06f disabled by default. 2021-06-03 12:45:08 +02:00
Robert Ewald bace0ad339 indentation in template fixed. 2021-06-03 12:38:54 +02:00
Robert Ewald 6014eaf8eb Merge remote-tracking branch 'upstream/develop' into feature/newsfeed-show-as-list 2021-06-03 12:27:26 +02:00
Robert Ewald 3e96e8b3f5 newsfeed: showAsList implemented. 2021-06-03 11:40:18 +02:00
Kevin G 95d1b8a6d0 Corrected formating 2021-06-02 16:25:53 -04:00
Kevin G 0ecb66c99e Fixed precipitation unit conversion logic
Found an error that precipitation amount was not being calculated correctly when config.js is asking for Imperial units. This has been fixed.
2021-06-02 16:15:44 -04:00
Kevin G af52b91799 Fix to precipitation logic
Found a really dumb error I made that broke compatibility with OpenWeatherMap hourly forecast under certain conditions. This is now fixed.
2021-06-02 11:43:56 -04:00
rejas 1b42dc779b Run prettier again 2021-05-29 16:11:39 +02:00
Michael Teeuw cdc8db4837 Merge pull request #2576 from rejas/calendar_fix 2021-05-29 14:02:13 +02:00
Michael Teeuw a0ee23d84e Merge pull request #2568 from Crazylegstoo/envcanada 2021-05-29 14:01:04 +02:00
Michael Teeuw 49d2d8c9d0 Merge pull request #2574 from daniel-windsor/forecase-ignore-today 2021-05-29 13:59:55 +02:00
rejas 4a63af0490 Set error to null once the events are coming again 2021-05-29 13:22:31 +02:00
Daniel Windsor fc5a438cdc Add flag that removes today entry in forecast 2021-05-26 21:45:24 +12:00
Robert Ewald aa3a3bdf16 server data for newsfeed list. 2021-05-25 09:29:48 +02:00
Kevin G db89da3daa Ran prettier 2021-05-21 12:11:58 -04:00
Kevin G 463ce394fe ran prettier... 2021-05-21 10:13:39 -04:00
Kevin G 1faefebe42 Formatting correction for min/max display 2021-05-21 10:06:54 -04:00
rejas 4b1c7da171 Update jsdoc 2021-05-19 11:12:56 +02:00
rejas bdfd6e5e9f Fix calendar test 2021-05-19 11:12:56 +02:00
veeck 06b3f92963 Refaktor calendar error once again for better messaging to the user 2021-05-19 11:12:56 +02:00
veeck d43a57af36 Refaktor newsfeed error once again for better messaging to the user 2021-05-19 11:12:56 +02:00
rejas aeefe28710 Update jsdoc 2021-05-19 11:12:56 +02:00
rejas e9de961a23 Cleanup prohibited words filter code and test data 2021-05-19 11:12:56 +02:00
rejas b212641069 Move checkFetchStatus into NodelHelper 2021-05-19 11:12:42 +02:00
rejas 90aa50bb11 Add fetcher_helper for calendar and newsfeed 2021-05-19 11:12:42 +02:00
rejas 37fab7ac63 Update error handling for newsfeed and calendar 2021-05-19 11:12:42 +02:00
rejas 3d84344b75 Revert "Update dependencies, run linter"
This reverts commit 1054ba3b1e.
2021-05-14 22:06:55 +02:00
rejas 1054ba3b1e Update dependencies, run linter 2021-05-14 21:46:18 +02:00
Kevin G c4fd4e0317 New provider - Environment Canada
Added a new provider that pulls weather data - current, forecast, and hourly - from Environment Canada (Canadian gov weather service). This provider supports Canadian locations only. Documentation will be provided that outlines specific behaviours of this provider and required 'weather' modules parms for Env Canada.
2021-05-13 11:12:30 -04:00
Kevin G 3c76933824 Edit Update
Formatting
2021-05-13 11:00:43 -04:00
Kevin G fa83819bee Edit update
Formatting
2021-05-13 10:59:45 -04:00
Kevin G b65ae88879 Edit update
Formatting
2021-05-13 10:58:08 -04:00
Kevin G 96db21f9bf Updates to support Environment Canada provider
Code updates to support a new weatherobject element called precipitationUnits. For the 'forecast' and 'hourly' UI, the weather module will use this new element if it is not null (i.e. a provider has pushed some value into this object element). If the element is null, then default 'units' processing will still occur. This allows a provider to have a customn unit of measure for precipitation - e.g. Env Canada will use mm for rain and cm for snow.
2021-05-13 10:56:30 -04:00
veeck 6d356ff770 Introduce font-size-small property and use it in calendar too (clean it up too) 2021-05-08 18:29:53 +02:00
rejas 159f3d0aa2 Replace deprecated symbol with modern solution 2021-05-08 18:05:30 +02:00
veeck 43ba4bd00e Fix calendar debug 2021-05-07 12:28:55 +02:00
Karsten Hassel cbdb0b67ab fix updatenotification.js increasing timeout 2021-04-26 22:24:07 +02:00
rejas 2dea9398f2 Use es6 notation in updatenotification module 2021-04-18 15:35:41 +02:00
rejas 838eed2630 Use es6 notation in weatherprovider 2021-04-18 15:06:06 +02:00
rejas 3b4432cb00 Use es6 notation in defaults 2021-04-18 14:51:57 +02:00
rejas 2ababa521d Use es6 notation in weather module and ukmet provider 2021-04-17 16:29:38 +02:00
rejas bda8f26511 Use es6 notation in compliments module and cleanup jsdoc 2021-04-17 16:29:38 +02:00
rejas ef2ff50089 Use es6 notation in clock module 2021-04-17 16:29:38 +02:00
rejas 480f734a06 Update CHANGELOG, undo accidental commit in clock.js 2021-04-17 12:20:25 +02:00
rejas 7bfaf07980 Use custom properties colors more often 2021-04-17 09:50:12 +02:00