Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add address and ipWhitelist to all test configs #3585

Merged
merged 1 commit into from
Oct 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions tests/configs/customregions.js
Original file line number Diff line number Diff line change
@@ -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
(() => {
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/alert/default.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
modules: [
{
module: "alert",
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/calendar/auth-default.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
timeFormat: 12,

modules: [
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/calendar/bad_rrule.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
timeFormat: 12,
logLevel: ["INFO", "LOG", "WARN", "ERROR", "DEBUG"],
modules: [
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/calendar/basic-auth.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
timeFormat: 12,

modules: [
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/calendar/changed-port.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
timeFormat: 12,

modules: [
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/calendar/custom.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
timeFormat: 12,

modules: [
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/calendar/default.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
timeFormat: 12,

modules: [
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/calendar/exdate_la_at_midnight_dst.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
* See tests/electron/modules/calendar_spec.js
*/
let config = {
address: "0.0.0.0",
ipWhitelist: [],
timeFormat: 12,

modules: [
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/calendar/exdate_la_at_midnight_std.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
* See tests/electron/modules/calendar_spec.js
*/
let config = {
address: "0.0.0.0",
ipWhitelist: [],
timeFormat: 12,

modules: [
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/calendar/exdate_la_before_midnight.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
* See tests/electron/modules/calendar_spec.js
*/
let config = {
address: "0.0.0.0",
ipWhitelist: [],
timeFormat: 12,

modules: [
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/calendar/exdate_syd_at_midnight_dst.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
* See tests/electron/modules/calendar_spec.js
*/
let config = {
address: "0.0.0.0",
ipWhitelist: [],
timeFormat: 12,

modules: [
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/calendar/exdate_syd_at_midnight_std.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
* See tests/electron/modules/calendar_spec.js
*/
let config = {
address: "0.0.0.0",
ipWhitelist: [],
timeFormat: 12,

modules: [
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/calendar/exdate_syd_before_midnight.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
* See tests/electron/modules/calendar_spec.js
*/
let config = {
address: "0.0.0.0",
ipWhitelist: [],
timeFormat: 12,

modules: [
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/calendar/fail-basic-auth.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
timeFormat: 12,

modules: [
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/calendar/long-fullday-event.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* MIT Licensed.
*/
let config = {
address: "0.0.0.0",
ipWhitelist: [],
timeFormat: 12,

modules: [
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/calendar/old-basic-auth.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
timeFormat: 12,

modules: [
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/calendar/recurring.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
timeFormat: 12,

modules: [
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/calendar/rrule_until.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
timeFormat: 12,

modules: [
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/calendar/show-duplicates-in-calendar.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
timeFormat: 12,

modules: [
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/calendar/single-fullday-event.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* MIT Licensed.
*/
let config = {
address: "0.0.0.0",
ipWhitelist: [],
timeFormat: 12,

modules: [
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/calendar/sliceMultiDayEvents.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
timeFormat: 12,

modules: [
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/clock/clock_12hr.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
timeFormat: 12,

modules: [
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/clock/clock_24hr.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
modules: [
{
module: "clock",
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/clock/clock_analog.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
modules: [
{
module: "clock",
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/clock/clock_displaySeconds_false.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
timeFormat: 12,

modules: [
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/clock/clock_showDateAnalog.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
timeFormat: 12,

modules: [
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/clock/clock_showPeriodUpper.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
timeFormat: 12,

modules: [
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/clock/clock_showSunMoon.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
timeFormat: 12,

modules: [
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/clock/clock_showTime.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
timeFormat: 12,

modules: [
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/clock/clock_showWeek.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
timeFormat: 12,

modules: [
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/clock/es/clock_12hr.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
language: "es",
timeFormat: 12,

Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/clock/es/clock_24hr.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
language: "es",

modules: [
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/clock/es/clock_showPeriodUpper.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
language: "es",
timeFormat: 12,

Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/clock/es/clock_showWeek.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
language: "es",
timeFormat: 12,

Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/compliments/compliments_animateCSS.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
modules: [
{
module: "compliments",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
modules: [
{
module: "compliments",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
modules: [
{
module: "compliments",
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/compliments/compliments_anytime.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
timeFormat: 12,

modules: [
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/compliments/compliments_cron_entry.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
modules: [
{
module: "compliments",
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/compliments/compliments_date.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
timeFormat: 12,

modules: [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
modules: [
{
module: "compliments",
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/compliments/compliments_only_anytime.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
timeFormat: 12,

modules: [
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/compliments/compliments_parts_day.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
timeFormat: 12,

modules: [
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/compliments/compliments_remote.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
modules: [
{
module: "compliments",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
modules: [
{
module: "compliments",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
modules: [
{
module: "compliments",
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/display.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
modules: [
{
module: "helloworld",
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/helloworld/helloworld.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
modules: [
{
module: "helloworld",
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/helloworld/helloworld_default.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
modules: [
{
module: "helloworld",
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/newsfeed/default.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
timeFormat: 12,

modules: [
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/newsfeed/ignore_items.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
timeFormat: 12,

modules: [
Expand Down
2 changes: 2 additions & 0 deletions tests/configs/modules/newsfeed/incorrect_url.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
let config = {
address: "0.0.0.0",
ipWhitelist: [],
timeFormat: 12,

modules: [
Expand Down
Loading