Felix Wiedenbach
94bb8e6c03
added sinon, tests for module.loadTranslations
2021-01-29 22:13:44 +01:00
Felix Wiedenbach
41da6f455a
use error object for callback to include stack trace
2021-01-28 21:23:48 +01:00
Felix Wiedenbach
d2a7a3b0bb
more error like message
2021-01-28 21:13:17 +01:00
Felix Wiedenbach
afbdacf136
updated changelog
2021-01-28 07:46:23 +01:00
Felix Wiedenbach
2324579057
add error to module show callback
2021-01-28 07:33:02 +01:00
Michael Teeuw
3c357f057b
Merge pull request #2438 from khassel/fix_socket_v2
2021-01-27 21:15:01 +01:00
Karsten Hassel
5116a2fc82
fix socket.io backward compatibility with socket v2 clients
2021-01-27 20:52:50 +01:00
Michael Teeuw
c0ddc020d5
Merge pull request #2433 from buxxi/deprecate-old-weather
2021-01-24 11:04:13 +01:00
buxxi
0683734d5a
Make a sane default for weatherEndpoint based on the type
2021-01-24 10:32:43 +01:00
buxxi
6cbd267384
Merge branch 'develop' into deprecate-old-weather
2021-01-24 10:22:39 +01:00
Michael Teeuw
925113fa20
Merge pull request #2432 from buxxi/weather-provider-hourly
2021-01-23 16:56:03 +01:00
buxxi
3696d45e94
Merge branch 'develop' into deprecate-old-weather
2021-01-23 13:56:13 +01:00
Michael Teeuw
cb3ae66652
Merge pull request #2430 from EdgardosReis/patch-4
2021-01-23 13:31:27 +01:00
buxxi
948b6c8de8
deprecate module currentweather and weatherforecast
2021-01-23 13:12:56 +01:00
buxxi
3c4d7a33e0
Fixing code style issue with no return before default
2021-01-23 12:07:10 +01:00
buxxi
5a421220c9
Updating readme and changelog and fixing typo in method
2021-01-23 11:40:02 +01:00
buxxi
41508931be
Moving default values regarding specific providers into the providers themselves
2021-01-23 11:21:56 +01:00
buxxi
e2cfa24686
make weatherprovider have a method for hourly fetching instead of a generic weatherData
2021-01-23 10:45:55 +01:00
buxxi
d48113f2d9
Moving openweathermap specific check for hourly into its provider and make invalid types fail nicer
2021-01-23 10:13:41 +01:00
Edgar dos Reis
16c5bddbb7
Update CHANGELOG.md
...
updated changelog
2021-01-22 14:07:40 +00:00
Edgar dos Reis
ef7556f6d3
Update pt.json
...
Added MODULE_CONFIG_CHANGED and PRECIP translations.
2021-01-22 13:02:13 +00:00
Michael Teeuw
a3cb0b7b96
Merge pull request #2428 from rejas/update_defaults
...
Update documentation and help screen about invalid config files
2021-01-21 15:11:39 +01:00
Michael Teeuw
4d28688f30
Merge branch 'develop' into update_defaults
2021-01-21 15:11:31 +01:00
Michael Teeuw
01ff00fa31
Merge pull request #2427 from dannoh/Issue-TranslateEncodedHtml
...
Issue translate encoded html
2021-01-21 15:10:28 +01:00
Michael Teeuw
78190d9c7f
Merge branch 'develop' into Issue-TranslateEncodedHtml
2021-01-21 15:10:14 +01:00
Michael Teeuw
b1565e4047
Merge pull request #2423 from rejas/add_start_dev
...
Added start:dev command to npm scripts
2021-01-21 15:08:52 +01:00
Michael Teeuw
db220b7861
Merge branch 'develop' into add_start_dev
2021-01-21 15:08:44 +01:00
Michael Teeuw
eaf27b837e
Merge pull request #2422 from buxxi/develop
...
Refactoring newsfeed-module to use templates instead of dom-generation
2021-01-21 15:07:22 +01:00
Michael Teeuw
74410344af
Merge pull request #2421 from klaernie/no-empty-subdirs
...
prevent empty path components for module main scripts
2021-01-21 15:07:07 +01:00
Michael Teeuw
998f64f983
Merge branch 'develop' into no-empty-subdirs
2021-01-21 15:06:57 +01:00
Michael Teeuw
684dfb643b
Merge pull request #2420 from rejas/issue_2416
...
Add new Notification CURRENTWEATHER_TYPE
2021-01-21 15:05:09 +01:00
Michael Teeuw
314c3cb516
Merge pull request #2417 from ashishtank/Issue2221
...
Fixed Unit test case error for #2221
2021-01-21 15:04:33 +01:00
veeck
58939bfd8c
Update documentation and help screen about invalid config files
2021-01-20 22:44:37 +01:00
Dan Forsyth
33592b3c0e
Removed |safe from translates in the default module templates
2021-01-20 14:06:00 -05:00
Dan Forsyth
ad9c2549bc
Removed |safe from translates in the default module templates
2021-01-20 13:47:32 -05:00
Dan Forsyth
5152e0b114
Updated changelog
2021-01-20 07:36:26 -05:00
Dan Forsyth
ca48663efd
Merge remote-tracking branch 'origin/develop' into Issue-TranslateEncodedHtml
2021-01-20 07:31:11 -05:00
Dan Forsyth
b520b4c37a
Marked all translated strings as safe before passing them to the nunjuck template
2021-01-20 07:16:09 -05:00
veeck
90f07295b1
Add extra check for currentweather
2021-01-17 15:00:34 +01:00
veeck
3895c18466
Add test case
2021-01-17 14:57:06 +01:00
veeck
2b6a9fc5bb
Update dependencies
2021-01-17 12:41:42 +01:00
rejas
052f0b8709
Added start:dev script
2021-01-16 22:23:55 +01:00
buxxi
a5bb9d962d
Fixing eslint issues
2021-01-16 14:06:07 +01:00
buxxi
2d9d28aa0f
updating changelog with newsfeed changes
2021-01-16 13:47:16 +01:00
buxxi
69c053a94f
refactoring newsfeed to use templates instead of generating dom in the code
2021-01-16 13:37:18 +01:00
buxxi
aaaf1f660c
refactoring newsfeed, moving hiding of module while loading away from dom-generation
2021-01-16 12:26:38 +01:00
buxxi
8538d83520
Moving newsfeed styling from js to a new css file
2021-01-16 11:52:55 +01:00
buxxi
132c98b767
refactoring newsfeed, moving tag stripping to loading instead of presentation logic
2021-01-16 11:10:53 +01:00
rejas
42cac81953
Fix tests
2021-01-15 23:12:44 +01:00
Andre Klärner
3ee4bd65c6
prevent empty path components for module main scripts
...
The module.path component has by definition in line 97 a trailing slash.
Hence adding another is unneeded, but results in an additional folder in the inspector.
2021-01-15 23:09:07 +01:00