Skip to content

Commit 795f8cd

Browse files
rejasactions-uservectorman115KristjanESPERANTOkhassel
authored
Release v2.37.0 (#389)
* docs: improve autostart guide with user systemd service for full Electron UI (#345) * Update autostart.md Improve autostart documentation: add user systemd service for full Electron UI with logging and environment variables * Update autostart.md docs: address PR feedback — clarify display server and disable logging by default * Update autostart.md docs: verified the environment inherited by systemd --user, ensured DISPLAY=:0 and WAYLAND_DISPLAY=wayland-0 is set up automatically * Update autostart.md docs: updated Troubleshooting section * clarify systemd service behavior + minor changes - Add platform note: Clarify guide is for Raspberry Pi OS Desktop - Fix typo: WAYLAND_DIAPLAY → WAYLAND_DISPLAY - Fix misleading comment: System services start on boot, not after user login - Remove trailing whitespace and newline --------- Co-authored-by: Kristjan ESPERANTO <35647502+KristjanESPERANTO@users.noreply.github.com> * style: set carbon ads background color to inherit (#350) * location of default modules changed (#353) see MagicMirrorOrg/MagicMirror#4019 * move custom.css from css to config (#354) * update variables in config * add secrets.md * fix typo * add missing " * node_modules/vitepress/types/default-theme.d.ts * apply Prettier formatting * handle cspell issues * add weatherapi options to weather module configuration (#359) * docs(compliments): clarify remoteFile path resolution and limitations (#360) * docs: correct loaded() - server-side only, not a client-side hook (#361) Document that loaded() belongs to node_helper, not Module. Add async/Promise support to the start() docs as the correct way to handle asynchronous module initialization. * docs: clarify that public folder requires node_helper.js (#362) * docs: explain physical concept and hardware scope on landing page (#365) Add a short paragraph to index.md that explains what a MagicMirror physically is, clarifies that this documentation covers the software side only, and points newcomers to the community showcase for hardware build inspiration. Closes MagicMirrorOrg/MagicMirror#3282 * add weather templates (#366) * weather: add themes example * calendar: align showEnd and dateEndFormat defaults (#368) * fix failing tests * documentation for secrets and cors (#374) * Add Buienradar weather provider (#382) * docs(introduction): clarify usage of functions in config.js for browser availability * docs(introduction): add export statement for config in config.js example * chore: update devDependencies (#386) * newsfeed: document allowedBasicHtmlTags option (#387) * ci: run PR checks also for develop PRs (#388) * ci: run PR checks also for develop PRs * ci: update checkout action to v7 * ci: add dependabot config * chore: add prettier-ignore comments to prevent line break --------- Co-authored-by: Github Actions <actions@github.com> Co-authored-by: Станислав <52878917+vectorman115@users.noreply.github.com> Co-authored-by: Kristjan ESPERANTO <35647502+KristjanESPERANTO@users.noreply.github.com> Co-authored-by: Karsten Hassel <hassel@gmx.de> Co-authored-by: veeck <gitkraken@veeck.de> Co-authored-by: sam detweiler <sdetweil@gmail.com> Co-authored-by: Andrés Vanegas Jiménez <142350+angeldeejay@users.noreply.github.com> Co-authored-by: Morgan McBee <egeekial@users.noreply.github.com>
1 parent 3a84c63 commit 795f8cd

10 files changed

Lines changed: 698 additions & 673 deletions

File tree

.github/dependabot.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "monthly"
7+
target-branch: "develop"
8+
labels:
9+
- "dependencies"
10+
11+
- package-ecosystem: "npm"
12+
directory: "/"
13+
schedule:
14+
interval: "monthly"
15+
target-branch: "develop"
16+
labels:
17+
- "dependencies"
18+
- "javascript"

.github/workflows/autoupdate_develop.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
timeout-minutes: 5
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v7
1717
- name: Merge master back to develop
1818
run: |
1919
git config --local user.email "actions@github.com"

.github/workflows/container-build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
options: --privileged
2020
steps:
2121
- name: Checkout code
22-
uses: actions/checkout@v6
22+
uses: actions/checkout@v7
2323
- name: Build container
2424
run: |
2525
REPO="$(echo "$GITHUB_REPOSITORY" | tr "[:upper:]" "[:lower:]")"

.github/workflows/pr-check.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
- synchronize
77
- reopened
88
branches:
9+
- develop
910
- master
1011

1112
concurrency:
@@ -18,7 +19,7 @@ jobs:
1819

1920
steps:
2021
- name: Checkout Repository
21-
uses: actions/checkout@v5
22+
uses: actions/checkout@v7
2223

2324
- name: Install Node.js
2425
uses: actions/setup-node@v6

configuration/introduction.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
3. Minimum configuration requires the following:
1111

12+
<!-- prettier-ignore -->
1213
```js
1314
let config = {
1415
modules: [
@@ -19,6 +20,9 @@
1920
},
2021
],
2122
};
23+
24+
/*************** DO NOT EDIT THE LINE BELOW ***************/
25+
if (typeof module !== "undefined") {module.exports = config;}
2226
```
2327

2428
See [module configuration](/modules/configuration) for more information and
@@ -96,6 +100,11 @@ debugging:
96100
server security header behavior.
97101
- `hideConfigSecrets` is documented in detail in [Secrets](./secrets).
98102

103+
When you use functions in `config.js`, keep them inside the exported `config`
104+
object if they need to be available in the browser. MagicMirror² serves the
105+
browser copy of the configuration from the `config` object, so free-standing
106+
helper functions outside that object are not included there.
107+
99108
#### Bash Environment variables
100109

101110
There are two environment variables that override part or all of config.js. They
@@ -171,16 +180,15 @@ if (typeof module !== "undefined") {module.exports = config;}
171180

172181
would be translated to
173182

183+
<!-- prettier-ignore -->
174184
```js
175185
let config = {
176186
address: "localhost",
177187
port: 8080,
178188
useHttps: false,
179189
};
180190
/*************** DO NOT EDIT THE LINE BELOW ***************/
181-
if (typeof module !== "undefined") {
182-
module.exports = config;
183-
}
191+
if (typeof module !== "undefined") {module.exports = config;}
184192
```
185193

186194
#### Defining variables

cspell.config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"Autologin",
88
"Autorestart",
99
"bouncyflip",
10+
"buienradar",
1011
"clientonly",
1112
"crontype",
1213
"custommodules",

modules/newsfeed.md

Lines changed: 29 additions & 28 deletions
Large diffs are not rendered by default.

modules/weather.md

Lines changed: 49 additions & 24 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)