Skip to content

Commit e055ac5

Browse files
authored
Merge branch 'develop' into path_resolve
2 parents 5ebeb56 + 786eacf commit e055ac5

File tree

4 files changed

+22
-16
lines changed

4 files changed

+22
-16
lines changed

CHANGELOG.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,14 @@ _This release is scheduled to be released on 2025-01-01._
2222
- [linter] Re-add `eslint-plugin-import`now that it supports ESLint v9 (#3586)
2323
- [linter] Re-activate `eslint-plugin-package-json` to lint `package.json` (#3643)
2424
- [linter] Add linting for markdown files (#3646)
25-
- [calendar] - added ability to display end date for full date events, where end is not same day (showEnd=true)
25+
- [calendar] Add ability to display end date for full date events, where end is not same day (showEnd=true) (#3650)
26+
- [core] Add text to the config.js.sample file about the locale variable (#3654)
2627

2728
### Changed
2829

29-
- [core] Run code style checks in workflow only once.
30-
- [core] fix animations export #3644 only on server side
30+
- [core] Run code style checks in workflow only once (#3648)
31+
- [core] Fix animations export #3644 only on server side (#3649)
32+
- [core] Use project URL in fallback config.
3133

3234
### Removed
3335

@@ -45,19 +47,19 @@ _This release is scheduled to be released on 2025-01-01._
4547

4648
- [updatenotification] Fix pm2 using detection when pm2 script is inside or outside MagicMirror root folder (#3576) (#3605) (#3626) (#3628)
4749
- [core] Fix loading node_helper of modules: avoid black screen, display errors and continue loading with next module (#3578)
48-
- [weather] changed default value for weatherEndpoint of provider openweathermap to "/onecall" (#3574)
49-
- [tests] fix electron tests with mock dates, the mock on server side was missing (#3597)
50-
- [tests] fix testcases with hard coded Date.now (#3597)
50+
- [weather] Change default value for weatherEndpoint of provider openweathermap to "/onecall" (#3574)
51+
- [tests] Fix electron tests with mock dates, the mock on server side was missing (#3597)
52+
- [tests] Fix testcases with hard coded Date.now (#3597)
5153
- [core] Fix missing `basePath` where `location.host` is used (#3613)
5254
- [compliments] croner library changed filenames used in latest version (#3624)
5355
- [linter] Fix ESLint ignore pattern which caused that default modules not to be linted (#3632)
54-
- [calendar] - update to resolve issues #3098 #3144 #3351 #3422 #3443 #3467 #3537 related to timezone changes
55-
- [calendar] - fixes #3267 (styles array), also fixes event with both exdate AND recurrence(and testcase)
56-
- [calendar] - fix showEndsOnlyWithDuration not working, #3598, applies ONLY to full day events
57-
- [calendar] - fix showEnd for Full Day events #3602
58-
- [tests] Suppress "module is not defined" in e2e tests
59-
- [calendar] - fixes #3267 (styles array, really this time!)
6056
- [core] Fix module path in case of sub/sub folder is used and use path.resolve for resolve `moduleFolder` and `defaultModuleFolder` in app.js (#3653)
57+
- [calendar] Update to resolve issues #3098 #3144 #3351 #3422 #3443 #3467 #3537 related to timezone changes
58+
- [calendar] Fix #3267 (styles array), also fixes event with both exdate AND recurrence(and testcase)
59+
- [calendar] Fix showEndsOnlyWithDuration not working, #3598, applies ONLY to full day events
60+
- [calendar] Fix showEnd for Full Day events (#3602)
61+
- [tests] Suppress "module is not defined" in e2e tests (#3647)
62+
- [calendar] Fix #3267 (styles array, really this time!)
6163

6264
## [2.29.0] - 2024-10-01
6365

config/config.js.sample

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@ let config = {
2828
httpsCertificate: "", // HTTPS Certificate path, only require when useHttps is true
2929

3030
language: "en",
31-
locale: "en-US",
31+
locale: "en-US", // this variable is provided as a consistent location
32+
// it is currently only used by 3rd party modules. no MagicMirror code uses this value
33+
// as we have no usage, we have no constraints on what this field holds
34+
// see https://en.wikipedia.org/wiki/Locale_(computer_software) for the possibilities
35+
3236
logLevel: ["INFO", "LOG", "WARN", "ERROR"], // Add "DEBUG" for even more logging
3337
timeFormat: 24,
3438
units: "metric",

js/defaults.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ const defaults = {
7070
position: "bottom_bar",
7171
classes: "xsmall dimmed",
7272
config: {
73-
text: "www.michaelteeuw.nl"
73+
text: "https://magicmirror.builders/"
7474
}
7575
}
7676
]

tests/e2e/modules_empty_spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ describe("Check configuration without modules", () => {
1515
expect(elem.textContent).toContain("MagicMirror²");
1616
});
1717

18-
it("shows the url of michael's website", async () => {
18+
it("shows the project URL", async () => {
1919
const elem = await helpers.waitForElement("#module_5_helloworld .module-content");
2020
expect(elem).not.toBeNull();
21-
expect(elem.textContent).toContain("www.michaelteeuw.nl");
21+
expect(elem.textContent).toContain("https://magicmirror.builders/");
2222
});
2323
});

0 commit comments

Comments
 (0)