Commit Graph

907 Commits

Author SHA1 Message Date
Michael Teeuw 22fcee2a16 Merge branch 'develop' into pr/ZoneMR/2061 2020-07-01 19:29:41 +02:00
ZoneMR ea31d34649 Fix #2030 - Clock can be off by a minute
Set minute/second in our model based on the actual time from moment() rather than our own attempt to track the time - which can drift or fail to respond to time changes.

Also, schedule time refreshes to happen 50ms after the minute/second is expected to change - preventing premature fires and rapid re-firings of notifications due to accuracy limits in setTimeout
2020-06-30 19:51:25 +01:00
Bryan Zhu 7a3ea37798 added config option to hide sunrise/sunset in Current Weather module 2020-06-29 12:44:24 -04:00
CreepinJesus b91fccc0e3 Update metofficedatahub.js 2020-06-28 12:09:16 +01:00
CreepinJesus 4339cdd8a4 Included check for Met Office DataHub provider.
The new Met Office provider also returns precipitation as a probability percentage.
2020-06-28 11:00:10 +01:00
CreepinJesus dd32d3a492 New Met Office provider
This is a provider for the Met Office's new DataHub API (which will eventually replace their current DataPoint service).
2020-06-28 10:57:19 +01:00
Michael Teeuw 42c13fa584 Update compliments.js 2020-06-24 09:49:14 +02:00
rejas 9831f81b6e Merge branch 'develop' into issue_1926 2020-06-20 20:43:09 +02:00
chamakura 2afff6c432 Updating files to the latest versions from 'develop' branch 2020-06-20 11:18:37 -07:00
chamakura be3616abe2 Bug fix to correctly handle the logic for 'maxEntries' Issue #2050 2020-06-20 11:01:37 -07:00
rejas daa6f5051c Use object.entries to iterate over data 2020-06-20 09:01:35 +02:00
rejas 1e5bd98f02 Make calendar debuger use const stuff and add npm script for it 2020-06-20 08:45:46 +02:00
rejas 7e5bfa8dd2 Fix slice parameter type 2020-06-20 08:45:22 +02:00
rejas 53363b0618 Simplify return call to make a better diff 2020-06-20 08:45:03 +02:00
rejas 5d4a575919 Undo switch to fetch, use request like ical did 2020-06-20 08:32:54 +02:00
rejas 7d521ed3ce More var -> let/const conversions 2020-06-18 21:54:51 +02:00
rejas bb9ad3daa9 Use some const/let instead of var 2020-06-17 21:37:49 +02:00
rejas 7ab74c6cc9 Remove old ical version 2020-06-17 21:17:35 +02:00
rejas 6d60baa2d6 Install latest ical version and use it 2020-06-17 21:17:26 +02:00
rejas 963b1aa6b1 Final cleanups I think 2020-06-02 15:05:31 +02:00
rejas 008ac2876b More console -> Logger conversions 2020-06-02 15:05:31 +02:00
rejas 23c0e01565 Use logger in node_helpers 2020-06-02 15:04:58 +02:00
Veeck 13073bc98d Lint stuff 2020-06-02 15:03:59 +02:00
Veeck 8c319903dd Cleanup outcommented logging 2020-06-02 15:03:59 +02:00
Michael Teeuw 4d21f8d022 Merge branch 'develop' into develop 2020-06-02 09:17:43 +02:00
Michael Teeuw aac67570d4 Merge pull request #2035 from Ekristoffe/develop
Fix for #2018
2020-06-02 09:17:03 +02:00
Michael Teeuw 5f2c465274 Merge pull request #2032 from radokristof/weather-module
[weather] Ability to hide sun details
2020-06-02 09:15:31 +02:00
Kristof Rado a692d6be09 Reworked titleTransform. 2020-06-01 22:25:07 +02:00
Kristof Rado efbb9648c4 Introduce new function for location title shortening. 2020-06-01 20:23:59 +02:00
Kristof Rado 3d73153e59 Revert "Renamed function"
This reverts commit 6aa0a4a4
2020-06-01 20:19:03 +02:00
DarthBrento 8fa2256fb0 linted 2020-06-01 17:19:41 +02:00
DarthBrento 4fe974e7a8 Check identifier for type, too 2020-06-01 13:31:46 +02:00
DarthBrento aeb287fa1d Attach identifier to socket notifications to allow multiple instances 2020-06-01 13:12:54 +02:00
Chris cc01c1f0db Update weatherforecast.js 2020-05-31 11:57:53 +09:00
Chris 4a7076e01c Prettier correction 2020-05-31 11:46:50 +09:00
Chris 457c80fe76 Correct #2018
Weather forecast need the maxNumberOfDays as argument &cnt=**
The minimum is 1 and the maximum is 17.
2020-05-31 00:15:54 +09:00
Kristof Rado 6f3b87cfd1 Merge branch 'develop' into weather-module 2020-05-29 23:56:09 +02:00
Kristof Rado b179c8e2b7 Merge branch 'develop' into calendar-module 2020-05-29 23:50:24 +02:00
Kristof Rado 6aa0a4a47f Renamed function 2020-05-29 23:50:01 +02:00
Kristof Rado 766140f483 Ability to hide sun details 2020-05-28 10:57:01 +02:00
Kristof Rado 52aa8b868a Truncate event title 2020-05-28 10:09:34 +02:00
Veeck 94f212a411 Fix travis error due to merge before prettier run 2020-05-25 20:00:59 +02:00
Michael Teeuw 4e1dce70a3 Merge pull request #2013 from rejas/prettier
Add Prettier for an even cleaner code-experience
2020-05-25 18:46:36 +02:00
ndo@ndo3 a35e8f3315 update: spaces -> tabs 2020-05-14 15:00:09 +02:00
ndo@ndo3 205de7233e add: advice api to compliments module 2020-05-14 14:56:38 +02:00
Veeck abb5dc5739 Run prettier over ALL files once
No other changes done in this commit
2020-05-11 22:22:32 +02:00
Veeck 7fc7d626bc Add Module to globals, cleanup comments 2020-05-05 14:55:15 +02:00
Veeck c8a0f1d0de Fix some more undefs that popped up out of nowhere 2020-05-05 14:54:49 +02:00
rejas c04fa496bf Second round of undef fixes 2020-05-03 18:59:26 +02:00
rejas b9d19cfcb4 First round of undef fixes 2020-05-03 12:40:48 +02:00