From 3d1e8ab849ed4b87174c838a8dfd82c20b5e16f5 Mon Sep 17 00:00:00 2001 From: Karsten Hassel Date: Sat, 12 Oct 2024 07:53:58 +0200 Subject: [PATCH] add address and ipWhitelist to all test configs (#3585) All test configs have been updated to allow full external access, allowing for easier debugging (especially when running as a container) --- CHANGELOG.md | 1 + tests/configs/customregions.js | 2 ++ tests/configs/modules/alert/default.js | 2 ++ tests/configs/modules/calendar/auth-default.js | 2 ++ tests/configs/modules/calendar/bad_rrule.js | 2 ++ tests/configs/modules/calendar/basic-auth.js | 2 ++ tests/configs/modules/calendar/changed-port.js | 2 ++ tests/configs/modules/calendar/custom.js | 2 ++ tests/configs/modules/calendar/default.js | 2 ++ tests/configs/modules/calendar/exdate_la_at_midnight_dst.js | 2 ++ tests/configs/modules/calendar/exdate_la_at_midnight_std.js | 2 ++ tests/configs/modules/calendar/exdate_la_before_midnight.js | 2 ++ tests/configs/modules/calendar/exdate_syd_at_midnight_dst.js | 2 ++ tests/configs/modules/calendar/exdate_syd_at_midnight_std.js | 2 ++ tests/configs/modules/calendar/exdate_syd_before_midnight.js | 2 ++ tests/configs/modules/calendar/fail-basic-auth.js | 2 ++ tests/configs/modules/calendar/long-fullday-event.js | 2 ++ tests/configs/modules/calendar/old-basic-auth.js | 2 ++ tests/configs/modules/calendar/recurring.js | 2 ++ tests/configs/modules/calendar/rrule_until.js | 2 ++ tests/configs/modules/calendar/show-duplicates-in-calendar.js | 2 ++ tests/configs/modules/calendar/single-fullday-event.js | 2 ++ tests/configs/modules/calendar/sliceMultiDayEvents.js | 2 ++ tests/configs/modules/clock/clock_12hr.js | 2 ++ tests/configs/modules/clock/clock_24hr.js | 2 ++ tests/configs/modules/clock/clock_analog.js | 2 ++ tests/configs/modules/clock/clock_displaySeconds_false.js | 2 ++ tests/configs/modules/clock/clock_showDateAnalog.js | 2 ++ tests/configs/modules/clock/clock_showPeriodUpper.js | 2 ++ tests/configs/modules/clock/clock_showSunMoon.js | 2 ++ tests/configs/modules/clock/clock_showTime.js | 2 ++ tests/configs/modules/clock/clock_showWeek.js | 2 ++ tests/configs/modules/clock/es/clock_12hr.js | 2 ++ tests/configs/modules/clock/es/clock_24hr.js | 2 ++ tests/configs/modules/clock/es/clock_showPeriodUpper.js | 2 ++ tests/configs/modules/clock/es/clock_showWeek.js | 2 ++ tests/configs/modules/compliments/compliments_animateCSS.js | 2 ++ .../compliments/compliments_animateCSS_fallbackToDefault.js | 2 ++ .../compliments_animateCSS_invertedAnimationName.js | 2 ++ tests/configs/modules/compliments/compliments_anytime.js | 2 ++ tests/configs/modules/compliments/compliments_cron_entry.js | 2 ++ tests/configs/modules/compliments/compliments_date.js | 2 ++ .../configs/modules/compliments/compliments_e2e_cron_entry.js | 2 ++ tests/configs/modules/compliments/compliments_only_anytime.js | 2 ++ tests/configs/modules/compliments/compliments_parts_day.js | 2 ++ tests/configs/modules/compliments/compliments_remote.js | 2 ++ .../modules/compliments/compliments_specialDayUnique_false.js | 2 ++ .../modules/compliments/compliments_specialDayUnique_true.js | 2 ++ tests/configs/modules/display.js | 2 ++ tests/configs/modules/helloworld/helloworld.js | 2 ++ tests/configs/modules/helloworld/helloworld_default.js | 2 ++ tests/configs/modules/newsfeed/default.js | 2 ++ tests/configs/modules/newsfeed/ignore_items.js | 2 ++ tests/configs/modules/newsfeed/incorrect_url.js | 2 ++ tests/configs/modules/newsfeed/prohibited_words.js | 2 ++ tests/configs/modules/positions.js | 2 ++ tests/configs/modules/weather/currentweather_compliments.js | 2 ++ tests/configs/modules/weather/currentweather_default.js | 2 ++ tests/configs/modules/weather/currentweather_options.js | 2 ++ tests/configs/modules/weather/currentweather_units.js | 2 ++ tests/configs/modules/weather/forecastweather_absolute.js | 2 ++ tests/configs/modules/weather/forecastweather_default.js | 2 ++ tests/configs/modules/weather/forecastweather_options.js | 2 ++ tests/configs/modules/weather/forecastweather_units.js | 2 ++ tests/configs/modules/weather/hourlyweather_default.js | 2 ++ tests/configs/modules/weather/hourlyweather_options.js | 2 ++ .../configs/modules/weather/hourlyweather_showPrecipitation.js | 2 ++ tests/configs/without_modules.js | 3 ++- 68 files changed, 135 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d6d5a3e3..fd3057e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ _This release is scheduled to be released on 2025-01-01._ - [repo] reactivated `stale.yaml` as github action to mark issues as stale after 60 days and close them 7 days later (if no activity) - [core] Update electron dependency to v32 (test electron rebuild) +- [tests] All test configs have been updated to allow full external access, allowing for easier debugging (especially when running as a container) ### Fixed diff --git a/tests/configs/customregions.js b/tests/configs/customregions.js index 5fe4ee28..5f1c643f 100644 --- a/tests/configs/customregions.js +++ b/tests/configs/customregions.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], modules: // Using exotic content. This is why don't accept go to JSON configuration file (() => { diff --git a/tests/configs/modules/alert/default.js b/tests/configs/modules/alert/default.js index ea77b574..9e0238fd 100644 --- a/tests/configs/modules/alert/default.js +++ b/tests/configs/modules/alert/default.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], modules: [ { module: "alert", diff --git a/tests/configs/modules/calendar/auth-default.js b/tests/configs/modules/calendar/auth-default.js index 99ce3922..eb20683e 100644 --- a/tests/configs/modules/calendar/auth-default.js +++ b/tests/configs/modules/calendar/auth-default.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], timeFormat: 12, modules: [ diff --git a/tests/configs/modules/calendar/bad_rrule.js b/tests/configs/modules/calendar/bad_rrule.js index 38107943..f3e95e4f 100644 --- a/tests/configs/modules/calendar/bad_rrule.js +++ b/tests/configs/modules/calendar/bad_rrule.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], timeFormat: 12, logLevel: ["INFO", "LOG", "WARN", "ERROR", "DEBUG"], modules: [ diff --git a/tests/configs/modules/calendar/basic-auth.js b/tests/configs/modules/calendar/basic-auth.js index f322f573..28c25ef3 100644 --- a/tests/configs/modules/calendar/basic-auth.js +++ b/tests/configs/modules/calendar/basic-auth.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], timeFormat: 12, modules: [ diff --git a/tests/configs/modules/calendar/changed-port.js b/tests/configs/modules/calendar/changed-port.js index 15bf9207..5cb5c63f 100644 --- a/tests/configs/modules/calendar/changed-port.js +++ b/tests/configs/modules/calendar/changed-port.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], timeFormat: 12, modules: [ diff --git a/tests/configs/modules/calendar/custom.js b/tests/configs/modules/calendar/custom.js index 8552bcbe..9a2b4c6a 100644 --- a/tests/configs/modules/calendar/custom.js +++ b/tests/configs/modules/calendar/custom.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], timeFormat: 12, modules: [ diff --git a/tests/configs/modules/calendar/default.js b/tests/configs/modules/calendar/default.js index 67c943d3..0032d1c5 100644 --- a/tests/configs/modules/calendar/default.js +++ b/tests/configs/modules/calendar/default.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], timeFormat: 12, modules: [ diff --git a/tests/configs/modules/calendar/exdate_la_at_midnight_dst.js b/tests/configs/modules/calendar/exdate_la_at_midnight_dst.js index fb431ad7..c9fbb4da 100644 --- a/tests/configs/modules/calendar/exdate_la_at_midnight_dst.js +++ b/tests/configs/modules/calendar/exdate_la_at_midnight_dst.js @@ -8,6 +8,8 @@ * See tests/electron/modules/calendar_spec.js */ let config = { + address: "0.0.0.0", + ipWhitelist: [], timeFormat: 12, modules: [ diff --git a/tests/configs/modules/calendar/exdate_la_at_midnight_std.js b/tests/configs/modules/calendar/exdate_la_at_midnight_std.js index b6ea3011..e59c4114 100644 --- a/tests/configs/modules/calendar/exdate_la_at_midnight_std.js +++ b/tests/configs/modules/calendar/exdate_la_at_midnight_std.js @@ -8,6 +8,8 @@ * See tests/electron/modules/calendar_spec.js */ let config = { + address: "0.0.0.0", + ipWhitelist: [], timeFormat: 12, modules: [ diff --git a/tests/configs/modules/calendar/exdate_la_before_midnight.js b/tests/configs/modules/calendar/exdate_la_before_midnight.js index e5518df7..c91188d3 100644 --- a/tests/configs/modules/calendar/exdate_la_before_midnight.js +++ b/tests/configs/modules/calendar/exdate_la_before_midnight.js @@ -8,6 +8,8 @@ * See tests/electron/modules/calendar_spec.js */ let config = { + address: "0.0.0.0", + ipWhitelist: [], timeFormat: 12, modules: [ diff --git a/tests/configs/modules/calendar/exdate_syd_at_midnight_dst.js b/tests/configs/modules/calendar/exdate_syd_at_midnight_dst.js index e6287e2b..edd09798 100644 --- a/tests/configs/modules/calendar/exdate_syd_at_midnight_dst.js +++ b/tests/configs/modules/calendar/exdate_syd_at_midnight_dst.js @@ -8,6 +8,8 @@ * See tests/electron/modules/calendar_spec.js */ let config = { + address: "0.0.0.0", + ipWhitelist: [], timeFormat: 12, modules: [ diff --git a/tests/configs/modules/calendar/exdate_syd_at_midnight_std.js b/tests/configs/modules/calendar/exdate_syd_at_midnight_std.js index 90003879..a6b5fdfb 100644 --- a/tests/configs/modules/calendar/exdate_syd_at_midnight_std.js +++ b/tests/configs/modules/calendar/exdate_syd_at_midnight_std.js @@ -8,6 +8,8 @@ * See tests/electron/modules/calendar_spec.js */ let config = { + address: "0.0.0.0", + ipWhitelist: [], timeFormat: 12, modules: [ diff --git a/tests/configs/modules/calendar/exdate_syd_before_midnight.js b/tests/configs/modules/calendar/exdate_syd_before_midnight.js index 3b176329..b8b3017d 100644 --- a/tests/configs/modules/calendar/exdate_syd_before_midnight.js +++ b/tests/configs/modules/calendar/exdate_syd_before_midnight.js @@ -8,6 +8,8 @@ * See tests/electron/modules/calendar_spec.js */ let config = { + address: "0.0.0.0", + ipWhitelist: [], timeFormat: 12, modules: [ diff --git a/tests/configs/modules/calendar/fail-basic-auth.js b/tests/configs/modules/calendar/fail-basic-auth.js index 2a58d623..c6eae35b 100644 --- a/tests/configs/modules/calendar/fail-basic-auth.js +++ b/tests/configs/modules/calendar/fail-basic-auth.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], timeFormat: 12, modules: [ diff --git a/tests/configs/modules/calendar/long-fullday-event.js b/tests/configs/modules/calendar/long-fullday-event.js index 80137810..4606e05c 100644 --- a/tests/configs/modules/calendar/long-fullday-event.js +++ b/tests/configs/modules/calendar/long-fullday-event.js @@ -5,6 +5,8 @@ * MIT Licensed. */ let config = { + address: "0.0.0.0", + ipWhitelist: [], timeFormat: 12, modules: [ diff --git a/tests/configs/modules/calendar/old-basic-auth.js b/tests/configs/modules/calendar/old-basic-auth.js index 08dc4073..18aae723 100644 --- a/tests/configs/modules/calendar/old-basic-auth.js +++ b/tests/configs/modules/calendar/old-basic-auth.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], timeFormat: 12, modules: [ diff --git a/tests/configs/modules/calendar/recurring.js b/tests/configs/modules/calendar/recurring.js index fe1d3662..f393385d 100644 --- a/tests/configs/modules/calendar/recurring.js +++ b/tests/configs/modules/calendar/recurring.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], timeFormat: 12, modules: [ diff --git a/tests/configs/modules/calendar/rrule_until.js b/tests/configs/modules/calendar/rrule_until.js index e553ebd1..90daa9a3 100644 --- a/tests/configs/modules/calendar/rrule_until.js +++ b/tests/configs/modules/calendar/rrule_until.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], timeFormat: 12, modules: [ diff --git a/tests/configs/modules/calendar/show-duplicates-in-calendar.js b/tests/configs/modules/calendar/show-duplicates-in-calendar.js index c4a1c958..7ad42094 100644 --- a/tests/configs/modules/calendar/show-duplicates-in-calendar.js +++ b/tests/configs/modules/calendar/show-duplicates-in-calendar.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], timeFormat: 12, modules: [ diff --git a/tests/configs/modules/calendar/single-fullday-event.js b/tests/configs/modules/calendar/single-fullday-event.js index 7dae3611..ff0773c2 100644 --- a/tests/configs/modules/calendar/single-fullday-event.js +++ b/tests/configs/modules/calendar/single-fullday-event.js @@ -5,6 +5,8 @@ * MIT Licensed. */ let config = { + address: "0.0.0.0", + ipWhitelist: [], timeFormat: 12, modules: [ diff --git a/tests/configs/modules/calendar/sliceMultiDayEvents.js b/tests/configs/modules/calendar/sliceMultiDayEvents.js index ebcf2cec..987ccd89 100644 --- a/tests/configs/modules/calendar/sliceMultiDayEvents.js +++ b/tests/configs/modules/calendar/sliceMultiDayEvents.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], timeFormat: 12, modules: [ diff --git a/tests/configs/modules/clock/clock_12hr.js b/tests/configs/modules/clock/clock_12hr.js index 4a7318f5..46ac92f3 100644 --- a/tests/configs/modules/clock/clock_12hr.js +++ b/tests/configs/modules/clock/clock_12hr.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], timeFormat: 12, modules: [ diff --git a/tests/configs/modules/clock/clock_24hr.js b/tests/configs/modules/clock/clock_24hr.js index f75287eb..b1aee73d 100644 --- a/tests/configs/modules/clock/clock_24hr.js +++ b/tests/configs/modules/clock/clock_24hr.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], modules: [ { module: "clock", diff --git a/tests/configs/modules/clock/clock_analog.js b/tests/configs/modules/clock/clock_analog.js index 98331ee3..f3c3ffd3 100644 --- a/tests/configs/modules/clock/clock_analog.js +++ b/tests/configs/modules/clock/clock_analog.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], modules: [ { module: "clock", diff --git a/tests/configs/modules/clock/clock_displaySeconds_false.js b/tests/configs/modules/clock/clock_displaySeconds_false.js index 181e8c60..db2c5d1a 100644 --- a/tests/configs/modules/clock/clock_displaySeconds_false.js +++ b/tests/configs/modules/clock/clock_displaySeconds_false.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], timeFormat: 12, modules: [ diff --git a/tests/configs/modules/clock/clock_showDateAnalog.js b/tests/configs/modules/clock/clock_showDateAnalog.js index 772261c1..0ce9e289 100644 --- a/tests/configs/modules/clock/clock_showDateAnalog.js +++ b/tests/configs/modules/clock/clock_showDateAnalog.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], timeFormat: 12, modules: [ diff --git a/tests/configs/modules/clock/clock_showPeriodUpper.js b/tests/configs/modules/clock/clock_showPeriodUpper.js index 78a1f315..d6ce8cb3 100644 --- a/tests/configs/modules/clock/clock_showPeriodUpper.js +++ b/tests/configs/modules/clock/clock_showPeriodUpper.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], timeFormat: 12, modules: [ diff --git a/tests/configs/modules/clock/clock_showSunMoon.js b/tests/configs/modules/clock/clock_showSunMoon.js index c5766aa2..4472f6d9 100644 --- a/tests/configs/modules/clock/clock_showSunMoon.js +++ b/tests/configs/modules/clock/clock_showSunMoon.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], timeFormat: 12, modules: [ diff --git a/tests/configs/modules/clock/clock_showTime.js b/tests/configs/modules/clock/clock_showTime.js index 5e68951e..bcb112cd 100644 --- a/tests/configs/modules/clock/clock_showTime.js +++ b/tests/configs/modules/clock/clock_showTime.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], timeFormat: 12, modules: [ diff --git a/tests/configs/modules/clock/clock_showWeek.js b/tests/configs/modules/clock/clock_showWeek.js index 7af47406..d47aa897 100644 --- a/tests/configs/modules/clock/clock_showWeek.js +++ b/tests/configs/modules/clock/clock_showWeek.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], timeFormat: 12, modules: [ diff --git a/tests/configs/modules/clock/es/clock_12hr.js b/tests/configs/modules/clock/es/clock_12hr.js index 66d380f8..8295bfa3 100644 --- a/tests/configs/modules/clock/es/clock_12hr.js +++ b/tests/configs/modules/clock/es/clock_12hr.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], language: "es", timeFormat: 12, diff --git a/tests/configs/modules/clock/es/clock_24hr.js b/tests/configs/modules/clock/es/clock_24hr.js index 752c5fd0..f9334c4b 100644 --- a/tests/configs/modules/clock/es/clock_24hr.js +++ b/tests/configs/modules/clock/es/clock_24hr.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], language: "es", modules: [ diff --git a/tests/configs/modules/clock/es/clock_showPeriodUpper.js b/tests/configs/modules/clock/es/clock_showPeriodUpper.js index 76f5fd04..d314e4bb 100644 --- a/tests/configs/modules/clock/es/clock_showPeriodUpper.js +++ b/tests/configs/modules/clock/es/clock_showPeriodUpper.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], language: "es", timeFormat: 12, diff --git a/tests/configs/modules/clock/es/clock_showWeek.js b/tests/configs/modules/clock/es/clock_showWeek.js index c43eccda..0a3d326f 100644 --- a/tests/configs/modules/clock/es/clock_showWeek.js +++ b/tests/configs/modules/clock/es/clock_showWeek.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], language: "es", timeFormat: 12, diff --git a/tests/configs/modules/compliments/compliments_animateCSS.js b/tests/configs/modules/compliments/compliments_animateCSS.js index 1e3d3d2f..505b7d4d 100644 --- a/tests/configs/modules/compliments/compliments_animateCSS.js +++ b/tests/configs/modules/compliments/compliments_animateCSS.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], modules: [ { module: "compliments", diff --git a/tests/configs/modules/compliments/compliments_animateCSS_fallbackToDefault.js b/tests/configs/modules/compliments/compliments_animateCSS_fallbackToDefault.js index 48f41cbf..fa98a564 100644 --- a/tests/configs/modules/compliments/compliments_animateCSS_fallbackToDefault.js +++ b/tests/configs/modules/compliments/compliments_animateCSS_fallbackToDefault.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], modules: [ { module: "compliments", diff --git a/tests/configs/modules/compliments/compliments_animateCSS_invertedAnimationName.js b/tests/configs/modules/compliments/compliments_animateCSS_invertedAnimationName.js index 310210bf..863b8c77 100644 --- a/tests/configs/modules/compliments/compliments_animateCSS_invertedAnimationName.js +++ b/tests/configs/modules/compliments/compliments_animateCSS_invertedAnimationName.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], modules: [ { module: "compliments", diff --git a/tests/configs/modules/compliments/compliments_anytime.js b/tests/configs/modules/compliments/compliments_anytime.js index 102b59ca..5491f6a1 100644 --- a/tests/configs/modules/compliments/compliments_anytime.js +++ b/tests/configs/modules/compliments/compliments_anytime.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], timeFormat: 12, modules: [ diff --git a/tests/configs/modules/compliments/compliments_cron_entry.js b/tests/configs/modules/compliments/compliments_cron_entry.js index 59a66592..a2010d5e 100644 --- a/tests/configs/modules/compliments/compliments_cron_entry.js +++ b/tests/configs/modules/compliments/compliments_cron_entry.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], modules: [ { module: "compliments", diff --git a/tests/configs/modules/compliments/compliments_date.js b/tests/configs/modules/compliments/compliments_date.js index f1822f6a..80c07309 100644 --- a/tests/configs/modules/compliments/compliments_date.js +++ b/tests/configs/modules/compliments/compliments_date.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], timeFormat: 12, modules: [ diff --git a/tests/configs/modules/compliments/compliments_e2e_cron_entry.js b/tests/configs/modules/compliments/compliments_e2e_cron_entry.js index a4d1c5d8..eaba5412 100644 --- a/tests/configs/modules/compliments/compliments_e2e_cron_entry.js +++ b/tests/configs/modules/compliments/compliments_e2e_cron_entry.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], modules: [ { module: "compliments", diff --git a/tests/configs/modules/compliments/compliments_only_anytime.js b/tests/configs/modules/compliments/compliments_only_anytime.js index 8714bebd..09b3cf22 100644 --- a/tests/configs/modules/compliments/compliments_only_anytime.js +++ b/tests/configs/modules/compliments/compliments_only_anytime.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], timeFormat: 12, modules: [ diff --git a/tests/configs/modules/compliments/compliments_parts_day.js b/tests/configs/modules/compliments/compliments_parts_day.js index f5a2bb7f..a38e0e22 100644 --- a/tests/configs/modules/compliments/compliments_parts_day.js +++ b/tests/configs/modules/compliments/compliments_parts_day.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], timeFormat: 12, modules: [ diff --git a/tests/configs/modules/compliments/compliments_remote.js b/tests/configs/modules/compliments/compliments_remote.js index 5d8543e1..844f14fd 100644 --- a/tests/configs/modules/compliments/compliments_remote.js +++ b/tests/configs/modules/compliments/compliments_remote.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], modules: [ { module: "compliments", diff --git a/tests/configs/modules/compliments/compliments_specialDayUnique_false.js b/tests/configs/modules/compliments/compliments_specialDayUnique_false.js index e4cb64c6..1effd099 100644 --- a/tests/configs/modules/compliments/compliments_specialDayUnique_false.js +++ b/tests/configs/modules/compliments/compliments_specialDayUnique_false.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], modules: [ { module: "compliments", diff --git a/tests/configs/modules/compliments/compliments_specialDayUnique_true.js b/tests/configs/modules/compliments/compliments_specialDayUnique_true.js index 3d578611..6e10799d 100644 --- a/tests/configs/modules/compliments/compliments_specialDayUnique_true.js +++ b/tests/configs/modules/compliments/compliments_specialDayUnique_true.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], modules: [ { module: "compliments", diff --git a/tests/configs/modules/display.js b/tests/configs/modules/display.js index c66e586a..230b7bdd 100644 --- a/tests/configs/modules/display.js +++ b/tests/configs/modules/display.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], modules: [ { module: "helloworld", diff --git a/tests/configs/modules/helloworld/helloworld.js b/tests/configs/modules/helloworld/helloworld.js index d9aa0cb4..a6bf31c3 100644 --- a/tests/configs/modules/helloworld/helloworld.js +++ b/tests/configs/modules/helloworld/helloworld.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], modules: [ { module: "helloworld", diff --git a/tests/configs/modules/helloworld/helloworld_default.js b/tests/configs/modules/helloworld/helloworld_default.js index b0b35c7e..25f8ffa2 100644 --- a/tests/configs/modules/helloworld/helloworld_default.js +++ b/tests/configs/modules/helloworld/helloworld_default.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], modules: [ { module: "helloworld", diff --git a/tests/configs/modules/newsfeed/default.js b/tests/configs/modules/newsfeed/default.js index 0023c4c3..10e70b2e 100644 --- a/tests/configs/modules/newsfeed/default.js +++ b/tests/configs/modules/newsfeed/default.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], timeFormat: 12, modules: [ diff --git a/tests/configs/modules/newsfeed/ignore_items.js b/tests/configs/modules/newsfeed/ignore_items.js index 425ef783..b7e5ffd5 100644 --- a/tests/configs/modules/newsfeed/ignore_items.js +++ b/tests/configs/modules/newsfeed/ignore_items.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], timeFormat: 12, modules: [ diff --git a/tests/configs/modules/newsfeed/incorrect_url.js b/tests/configs/modules/newsfeed/incorrect_url.js index 565da189..08664698 100644 --- a/tests/configs/modules/newsfeed/incorrect_url.js +++ b/tests/configs/modules/newsfeed/incorrect_url.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], timeFormat: 12, modules: [ diff --git a/tests/configs/modules/newsfeed/prohibited_words.js b/tests/configs/modules/newsfeed/prohibited_words.js index 143fcf90..d4b0d743 100644 --- a/tests/configs/modules/newsfeed/prohibited_words.js +++ b/tests/configs/modules/newsfeed/prohibited_words.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], timeFormat: 12, modules: [ diff --git a/tests/configs/modules/positions.js b/tests/configs/modules/positions.js index e9e0d07a..3013be2f 100644 --- a/tests/configs/modules/positions.js +++ b/tests/configs/modules/positions.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], modules: // Using exotic content. This is why don't accept go to JSON configuration file (() => { diff --git a/tests/configs/modules/weather/currentweather_compliments.js b/tests/configs/modules/weather/currentweather_compliments.js index 73e58554..603fafa1 100644 --- a/tests/configs/modules/weather/currentweather_compliments.js +++ b/tests/configs/modules/weather/currentweather_compliments.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], modules: [ { module: "compliments", diff --git a/tests/configs/modules/weather/currentweather_default.js b/tests/configs/modules/weather/currentweather_default.js index d2ad0a6b..e5a9fdce 100644 --- a/tests/configs/modules/weather/currentweather_default.js +++ b/tests/configs/modules/weather/currentweather_default.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], timeFormat: 12, modules: [ diff --git a/tests/configs/modules/weather/currentweather_options.js b/tests/configs/modules/weather/currentweather_options.js index 903d3df7..0ddb8b7c 100644 --- a/tests/configs/modules/weather/currentweather_options.js +++ b/tests/configs/modules/weather/currentweather_options.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], modules: [ { module: "weather", diff --git a/tests/configs/modules/weather/currentweather_units.js b/tests/configs/modules/weather/currentweather_units.js index 856acf26..462b67f6 100644 --- a/tests/configs/modules/weather/currentweather_units.js +++ b/tests/configs/modules/weather/currentweather_units.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], units: "imperial", modules: [ diff --git a/tests/configs/modules/weather/forecastweather_absolute.js b/tests/configs/modules/weather/forecastweather_absolute.js index 4b3884fe..ff18bdf9 100644 --- a/tests/configs/modules/weather/forecastweather_absolute.js +++ b/tests/configs/modules/weather/forecastweather_absolute.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], timeFormat: 12, modules: [ diff --git a/tests/configs/modules/weather/forecastweather_default.js b/tests/configs/modules/weather/forecastweather_default.js index 3192b4c9..a53ba127 100644 --- a/tests/configs/modules/weather/forecastweather_default.js +++ b/tests/configs/modules/weather/forecastweather_default.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], timeFormat: 12, modules: [ diff --git a/tests/configs/modules/weather/forecastweather_options.js b/tests/configs/modules/weather/forecastweather_options.js index ec55dc6c..0e801988 100644 --- a/tests/configs/modules/weather/forecastweather_options.js +++ b/tests/configs/modules/weather/forecastweather_options.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], timeFormat: 12, modules: [ diff --git a/tests/configs/modules/weather/forecastweather_units.js b/tests/configs/modules/weather/forecastweather_units.js index b9ba11e7..73bcde97 100644 --- a/tests/configs/modules/weather/forecastweather_units.js +++ b/tests/configs/modules/weather/forecastweather_units.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], units: "imperial", modules: [ diff --git a/tests/configs/modules/weather/hourlyweather_default.js b/tests/configs/modules/weather/hourlyweather_default.js index ed6f66db..191ceab1 100644 --- a/tests/configs/modules/weather/hourlyweather_default.js +++ b/tests/configs/modules/weather/hourlyweather_default.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], timeFormat: 12, modules: [ diff --git a/tests/configs/modules/weather/hourlyweather_options.js b/tests/configs/modules/weather/hourlyweather_options.js index 5422075e..c11d23db 100644 --- a/tests/configs/modules/weather/hourlyweather_options.js +++ b/tests/configs/modules/weather/hourlyweather_options.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], timeFormat: 12, modules: [ diff --git a/tests/configs/modules/weather/hourlyweather_showPrecipitation.js b/tests/configs/modules/weather/hourlyweather_showPrecipitation.js index 1448172f..3dbbc418 100644 --- a/tests/configs/modules/weather/hourlyweather_showPrecipitation.js +++ b/tests/configs/modules/weather/hourlyweather_showPrecipitation.js @@ -1,4 +1,6 @@ let config = { + address: "0.0.0.0", + ipWhitelist: [], timeFormat: 12, modules: [ diff --git a/tests/configs/without_modules.js b/tests/configs/without_modules.js index abe8fbc4..988c338c 100644 --- a/tests/configs/without_modules.js +++ b/tests/configs/without_modules.js @@ -1,5 +1,6 @@ let config = { - ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.10.1"] + address: "0.0.0.0", + ipWhitelist: [] }; /*************** DO NOT EDIT THE LINE BELOW ***************/