Skip to content

Release 2.31.0 #3758

New issue

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

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

Already on GitHub? # to your account

Merged
merged 212 commits into from
Apr 1, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
212 commits
Select commit Hold shift + click to select a range
5e346e7
Start of 2.27.0 develop branch.
MichMich Jan 1, 2024
367d02f
Update URLs to MagicMirrorOrg (#3321)
KristjanESPERANTO Jan 1, 2024
ae1f9d0
Bump moment-timezone from 0.5.43 to 0.5.44 in /vendor (#3317)
dependabot[bot] Jan 1, 2024
bcab8eb
skip changelog requirement when running tests for dependency updates …
khassel Jan 1, 2024
5f7b56e
Bump eslint-plugin-jsdoc from 46.9.1 to 47.0.2 (#3315)
dependabot[bot] Jan 1, 2024
6097547
Add systeminfo (#3331)
KristjanESPERANTO Jan 4, 2024
407072d
Update system information (#3337)
KristjanESPERANTO Jan 7, 2024
4bbd35f
Use node prefix for build-in modules (#3340)
KristjanESPERANTO Jan 8, 2024
b47600e
Remove lodash (#3339)
KristjanESPERANTO Jan 8, 2024
dadc7ba
[newsfeed] Suppress unsightly animation edge cases when there are 0 o…
crazyscot Jan 14, 2024
f890f14
ignore strange errors from systeminformation under aarch64 (#3349)
khassel Jan 14, 2024
58bc14e
Request only required information instead of all (#3338)
KristjanESPERANTO Jan 14, 2024
098757f
update dependencies including electron to v28 (#3357)
khassel Jan 16, 2024
6dbacbb
Rework logging colors (#3350)
KristjanESPERANTO Jan 16, 2024
35e4dfb
Ignore all custom css files (#3359)
KristjanESPERANTO Jan 16, 2024
b005a8f
[newsfeed] Fix bug where the newsfeed sometimes stops (#3361)
crazyscot Jan 18, 2024
c09338a
changed `log.debug` to `log.log` in `app.js` (#3362)
khassel Jan 18, 2024
995b61b
Bump follow-redirects from 1.15.3 to 1.15.5 (#3356)
dependabot[bot] Jan 20, 2024
c96ced9
updatenotification: update_helper.js recode with pm2 library (v2.27.x…
bugsounet Jan 20, 2024
c75b7d4
pm2 update ;) (#3364)
bugsounet Jan 20, 2024
339aaf4
Bump actions/dependency-review-action from 3 to 4 (#3366)
dependabot[bot] Jan 22, 2024
f88b92f
Bump follow-redirects from 1.15.3 to 1.15.5 (#3367)
dependabot[bot] Jan 22, 2024
b0161fe
Lint package.json files (#3368)
KristjanESPERANTO Jan 24, 2024
27f3c86
remove all useless header comments (#3363)
khassel Jan 24, 2024
7f0b8e4
Better fixes for #3291 and the underlying exdate issues (#3342)
jkriegshauser Jan 27, 2024
fb5fab8
Cleanups (#3369)
rejas Jan 27, 2024
3bf8480
Correct apibase of weathergov weatherprovider to match documentation …
rejas Jan 27, 2024
431bf22
Update husky and let lint-staged fix ESLint issues (#3370)
KristjanESPERANTO Jan 28, 2024
57de389
[cosmetic] Weather module humidity positioning (#3330)
crazyscot Jan 29, 2024
5fb5ef6
Improved, fixed and added translations for estonian (#3371)
illimarkangur Feb 1, 2024
db65cd6
Bundle all Dependabot updates (#3378)
rejas Feb 1, 2024
88a96fb
Bump husky from 9.0.7 to 9.0.10 (#3379)
dependabot[bot] Feb 1, 2024
08f8a51
add error message if config.js appears empty after loading w require(…
sdetweil Feb 13, 2024
73140cd
update electron to v29 and other deps (#3386)
khassel Feb 24, 2024
313531d
Bump @stylistic/eslint-plugin from 1.6.2 to 1.6.3 (#3391)
dependabot[bot] Mar 1, 2024
2f2d84b
Bump electron from 29.0.1 to 29.1.0 (#3390)
dependabot[bot] Mar 1, 2024
c7d94a0
Bump express from 4.18.2 to 4.18.3 (#3389)
dependabot[bot] Mar 1, 2024
e5678f0
Bump playwright from 1.41.2 to 1.42.0 (#3388)
dependabot[bot] Mar 1, 2024
90ff340
Bump node-ical from 0.17.2 to 0.18.0 (#3387)
dependabot[bot] Mar 1, 2024
1a745cf
Fix issue 3393 (#3395)
jkriegshauser Mar 13, 2024
16af809
Update .npmrc (#3399)
bugsounet Mar 16, 2024
c5f9050
[calendar] deny fetch interval < 60000 and set 60000 in this case (pr…
bugsounet Mar 21, 2024
d970214
Fix for #3345 - precipitation probability not displayed when it is 0%…
vppencilsharpener Mar 21, 2024
6de578e
move suncalc dependency out of dev, as it is used by the clock module…
sdetweil Mar 22, 2024
52cfbac
Changes the layout of the current weather module, targetting indoor v…
Paranoid93 Mar 23, 2024
57549fa
Fix compliments module bringing mirror to a halt (#3402)
rejas Mar 23, 2024
be63e36
Add electron-rebuild to suite test (#3392)
bugsounet Mar 27, 2024
fd44445
update deps and package.json's (eslint) (#3406)
khassel Mar 27, 2024
d9926fa
MM² Icon (#3407)
bugsounet Mar 28, 2024
e004b33
Change multiday fullDay Event behaviour (#3396)
Paranoid93 Mar 28, 2024
72ef823
update Collaboration.md (added infos from discord) (#3408)
khassel Mar 30, 2024
b262bf6
Release 2.27.0
rejas Apr 1, 2024
53420f5
Fix check for mastermerge label (#3415)
rejas Apr 1, 2024
2a883c3
Remove codecov yaml (#3416)
rejas Apr 1, 2024
1981601
Merge branch 'mm_master' into mm_develop
rejas Apr 1, 2024
8aaad8e
Prepare v2.28.0-develop
rejas Apr 1, 2024
1fa1788
Bump ansis from 2.3.0 to 3.0.1 (#3417)
dependabot[bot] Apr 1, 2024
3b00357
Update deps (#3439)
khassel May 1, 2024
d1c17e7
weather module: Fixed precipitationProbability in forecast … (#3448)
khassel May 13, 2024
cd0bc5b
fixed type=daily for provider openmeteo having no data … (#3451)
khassel May 20, 2024
4bd66cb
fixed type=daily for provider openmeteo showing nightly icons (#3459)
khassel Jun 8, 2024
6332445
update dependencies (#3460)
khassel Jun 11, 2024
bc27c46
MM² Main core use node >= v20 // delete node v18 from test suite (#3463)
bugsounet Jun 19, 2024
9cbd30f
update dependencies incl. electron v31 (#3473)
khassel Jun 19, 2024
4c748a4
update `config.js.sample` to use openmeteo as weather provider (#3476)
khassel Jun 22, 2024
e95c144
Fix crash possibility if `module: <name>` is not defined and on mista…
bugsounet Jun 24, 2024
8d20832
[calendar] add config option "showEndsOnlyWithDuration" (#3477)
khassel Jun 24, 2024
3d9d72e
Open-Meteo: Fix forecast and hourly weather to use real temperatures,…
btoconnor Jun 24, 2024
aefb3a0
Update compliments module (#3471)
WallysWellies Jun 24, 2024
f28b4bd
Use latest@version of node for automated-tests.yaml (#3483)
bugsounet Jun 26, 2024
4aafa32
fixes e2e tests running in docker container (#3485)
khassel Jun 27, 2024
cfc0bc6
Update CHANGELOG.md (#3486)
bugsounet Jun 27, 2024
74c6bb3
Update dependencies (#3487)
khassel Jun 28, 2024
c89c3ed
Fix weathergov api precipitationLastHour (#3125)
JasonStieber Jun 28, 2024
92ac389
updatenotification: avoid using pm2 when running in docker container …
khassel Jun 28, 2024
795e5c7
Release 2.28.0
khassel Jun 28, 2024
7389a33
Merge remote-tracking branch 'origin/master' into develop
khassel Jun 30, 2024
f7369a7
Prepare v2.29.0-develop
khassel Jun 30, 2024
160d95a
Cleanup folders for #3492 (#3493)
sdetweil Jul 1, 2024
3b22622
fixes `checks` badge in README.md (#3494)
khassel Jul 4, 2024
4d14f4a
Fixes the UK Met Office Datahub provider (#3499)
jargordon Jul 7, 2024
974a1da
[weather] update provider openweathermap to new apiVersion (#3496)
dkallen78 Jul 11, 2024
d9665b3
Update compliments with support for cron type date/time for selection…
sdetweil Jul 15, 2024
d22d0e1
remove raspberry object from systeminformation (#3507)
khassel Jul 29, 2024
4182c21
Update dependencies (#3515)
rejas Aug 1, 2024
76d8f98
allow custom module positions by setting `allowCustomModulePositions`…
khassel Aug 1, 2024
780e4e2
Fix loading of multiple instances of node_helper when multiple instan…
sdetweil Aug 4, 2024
976c8ae
Bump stylistic-eslint (#3520)
rejas Aug 12, 2024
cc1d4ab
Improve duplicate module filtering. Update SocketIO catch-all API. (#…
ryan-d-williams Aug 18, 2024
5673678
Bug in Weather Units for Broadcasted Notification (#3519)
skpanagiotis Aug 18, 2024
2b97e0d
add support for custom regions, by detecting what is used in index.ht…
sdetweil Aug 27, 2024
7915de3
update dependencies (#3527)
khassel Aug 31, 2024
bca5d9c
Ignore positions.js (#3531)
KristjanESPERANTO Sep 11, 2024
3380314
hotfix for calendar_spec.js (used data now returns 20 events) (#3533)
khassel Sep 13, 2024
81351fb
update dependencies (#3536)
khassel Sep 14, 2024
0faefd1
fixes calendar test by moving it from e2e to electron with fixed date…
khassel Sep 15, 2024
ea3a323
add fix for sliceMultiDayEvents (#3543)
sdetweil Sep 17, 2024
d9f9f41
Add spell check (#3544)
KristjanESPERANTO Sep 18, 2024
659e0c7
add new env vars MM_MODULES_DIR and MM_CUSTOMCSS_FILE … (#3530)
khassel Sep 18, 2024
866419e
Check config before starting MM (#3450)
KristjanESPERANTO Sep 18, 2024
c6e05c9
Added `DOM_OBJECTS_UPDATED` notification when the DOM is re-rendered …
ryan-d-williams Sep 18, 2024
06f6fbf
Review config_check.js (#3545)
KristjanESPERANTO Sep 18, 2024
65d7e2d
fix CHANGELOG.md
khassel Sep 18, 2024
8f5aa50
added test for `MM_MODULES_DIR` (#3546)
khassel Sep 19, 2024
1823f5a
Updated to new notification name `DOM_OBJECTS_UPDATED` -> `MODULE_DOM…
ryan-d-williams Sep 19, 2024
06a8b51
Cleanup github actions (#3549)
rejas Sep 19, 2024
fa6a752
add tests for minimal node version (currently v20.9.0) (#3556)
khassel Sep 24, 2024
08116b8
fixes for running tests for MM_MODULES_DIR (#3550)
khassel Sep 24, 2024
5ffdf9a
Updated minimal needed node version in `package.json` (currently v20.…
bugsounet Sep 25, 2024
d318768
Switch to ESLint v9 and flat config (#3558)
KristjanESPERANTO Sep 25, 2024
2e6e868
fix calendar showing previous day when using sliceMultiDayEvents (#3555)
MarcLandis Sep 25, 2024
ebaeed9
Engine except on node v21 (#3561)
bugsounet Sep 26, 2024
731512c
Electron rebuild tests update (#3563)
bugsounet Sep 26, 2024
d9eefff
fix double load of positions now that check:config at startup is acti…
sdetweil Sep 28, 2024
719eca4
update dependencies, nail down node-ical version to 0.18.0 (#3566)
khassel Sep 28, 2024
d84d612
Release 2.29.0
khassel Sep 18, 2024
15a9346
Merge remote-tracking branch 'origin/master' into develop
khassel Sep 30, 2024
d1be92a
Prepare v2.30.0-develop
khassel Sep 30, 2024
4c7c859
[Electron rebuild] Removed node-pty and drivelist from rebuilded test…
bugsounet Oct 2, 2024
ee98a0c
[UpdateNotification] Fix pm2 using detection when pm2 script is in Ma…
bugsounet Oct 2, 2024
0eafa19
Bump eslint-plugin-jsdoc from 50.3.0 to 50.3.1 (#3571)
dependabot[bot] Oct 2, 2024
f91340c
Bump helmet from 7.1.0 to 8.0.0 (#3570)
dependabot[bot] Oct 2, 2024
f51fbe3
reactivated `stale.yaml` as github action (#3577)
khassel Oct 4, 2024
961bae6
[core] add try / catch on mode_helper loading (#3578)
bugsounet Oct 5, 2024
c7dcf54
allow manually running stale workflow (#3580)
khassel Oct 5, 2024
0130dc4
stale workflow: increase operations-per-run (default=30) so that all …
khassel Oct 5, 2024
7489e51
Change default for weatherEndpoint according to API 3.0 (#3583)
HeikoGr Oct 11, 2024
1b80e87
[core] test electron v32 and electron rebuild (#3584)
bugsounet Oct 11, 2024
3d1e8ab
add address and ipWhitelist to all test configs (#3585)
khassel Oct 12, 2024
fff3106
Re-add eslint-plugin-import (#3586)
rejas Oct 13, 2024
0f024cf
Run and test with node 23 (#3588)
KristjanESPERANTO Oct 19, 2024
b54fc08
Add npm publishing step to release process (#3595)
rejas Oct 23, 2024
aa7e856
Add wayland and windows start options (#3594)
KristjanESPERANTO Oct 23, 2024
6946b49
Fixtestcase calendar testcase failure (#3596)
sdetweil Oct 23, 2024
cfa5c0d
fix electron tests mocking dates (#3599)
khassel Oct 25, 2024
c96326b
Cleanup testcases that had hard coded Date() values which override th…
sdetweil Oct 25, 2024
399e2ae
[updatenotification] Fix pm2 using detection when pm2 script is insid…
bugsounet Oct 28, 2024
9114aef
fix missing basePath (#3620)
khassel Nov 2, 2024
0aae771
Update dependencies reported by Dependabot (#3621)
rejas Nov 2, 2024
6ce3622
Add spelling check to GitHub workflow (#3623)
KristjanESPERANTO Nov 3, 2024
7e6349c
Fix compliments croner (#3625)
sdetweil Nov 4, 2024
b250cfa
Bump croner from 8.1.2 to 9.0.0 in /vendor (#3614)
dependabot[bot] Nov 4, 2024
cd6f10c
PM2 Fix (again): add `pm2_env.unique_id` checking and cleaning (#3626)
bugsounet Nov 7, 2024
4259d7c
updatenotification: some fixes (#3628)
bugsounet Nov 9, 2024
56cb536
add support for test mode detection in modulename.js via index.html (…
sdetweil Nov 12, 2024
f1522da
Fix eslint ignores (#3633)
KristjanESPERANTO Nov 12, 2024
bd620e0
Enhance compliments remote file with refresh support (#3630)
sdetweil Nov 13, 2024
15baffd
Adapt to "Keep a Changelog" (#3634)
KristjanESPERANTO Nov 14, 2024
bd1324c
Remove `@eslint/js` dependency. Already installed with `eslint` in de…
bugsounet Nov 17, 2024
3627beb
Bump stylelint from 16.10.0 to 16.11.0 (#3639)
dependabot[bot] Dec 1, 2024
f417bc0
Bump prettier from 3.3.3 to 3.4.1 (#3638)
dependabot[bot] Dec 1, 2024
28341d4
Bump eslint-plugin-package-json from 0.15.4 to 0.17.0 (#3637)
dependabot[bot] Dec 1, 2024
8d61336
Bump @fortawesome/fontawesome-free from 6.6.0 to 6.7.1 in /vendor (#3…
dependabot[bot] Dec 1, 2024
07768c3
Reactivate eslint-plugin-package-json (#3643)
KristjanESPERANTO Dec 1, 2024
63178eb
Export animations (#3644)
sdetweil Dec 2, 2024
291ae85
Handle "module is not defined" in e2e tests (#3647)
KristjanESPERANTO Dec 7, 2024
19bd76a
Fixcaldates2 fix calendar module date processing, using node-ical@0.…
sdetweil Dec 7, 2024
5b7b76c
Add linting for markdown files (#3646)
KristjanESPERANTO Dec 7, 2024
76fac78
Run code style checks in workflow only once (#3648)
KristjanESPERANTO Dec 7, 2024
39ab651
Show animations, fix export only on server side (#3649)
sdetweil Dec 8, 2024
5232f46
fix #3267 again this time, dropped from big cal update (#3650)
sdetweil Dec 8, 2024
5b3b40d
Use project URL in fallback config (#3656)
KristjanESPERANTO Dec 18, 2024
786eacf
update config.js.sample about locale variable (#3655)
sdetweil Dec 18, 2024
24d9b70
fix access denied fault error writing js/positions.js (#3652)
sdetweil Dec 18, 2024
b910c60
update dependencies (#3657)
khassel Dec 18, 2024
c485ff6
path resolve and sub/sub folder module (#3653)
bugsounet Dec 18, 2024
0b3a04c
Switch to 'npx' for lint-staged in pre-commit hook (#3658)
KristjanESPERANTO Dec 22, 2024
2fb5143
delete exception `allow-ghsas: GHSA-8hc4-vh64-cxmj` in `dep-review.ya…
bugsounet Dec 24, 2024
6a09bc4
add support for fetch timeout control for node_helpers, fix timeouts …
sdetweil Dec 25, 2024
9d0501f
Fix: package-lock.json after PR #3660 (#3661)
bugsounet Dec 27, 2024
93a0c24
fix #3662 line parse on windows with linux line ends (#3663)
sdetweil Dec 28, 2024
d41ce81
update dependencies, fix typo in Collaboration.md (#3664)
khassel Dec 28, 2024
143dfd6
Add some ESLint rules + minor changes (#3665)
KristjanESPERANTO Dec 30, 2024
c92fbb8
Final dependency updates for v2.30 (#3671)
rejas Jan 1, 2025
9be625c
ready for release 2.30.0 (#3672)
sdetweil Jan 1, 2025
6f50a7b
Release 2.31.0 (#3674)
sdetweil Jan 1, 2025
75dbe67
Fix calendar clipping before broadcast (#3679)
sdetweil Jan 3, 2025
0f6efac
clientonly and wayland, hotfix electron tests (#3677)
khassel Jan 3, 2025
8fdd865
electron tests: fixes for running under new github image ubuntu-24.04…
khassel Jan 5, 2025
5e337f8
fix #3267, CORRECTLY, add testcase, add testcase for #3279 (#3681)
sdetweil Jan 5, 2025
b1bc554
Update year (#3686)
KristjanESPERANTO Jan 6, 2025
553d2d4
electron tests (#3684)
khassel Jan 8, 2025
a7f814d
Optimize systeminformation calls and output string (#3689)
KristjanESPERANTO Jan 12, 2025
99dda82
Fix unknown (n/a) icon in openmeteo provider (#3691)
rejas Jan 13, 2025
2400e20
update dependencies and formatting (#3693)
khassel Jan 13, 2025
6e40c44
fix wrong port in log message when starting server only (#3697)
khassel Jan 14, 2025
77fe011
Use different issue templates (#3695)
KristjanESPERANTO Jan 17, 2025
53ac31d
Adapt `start:x11:dev` script (#3700)
KristjanESPERANTO Jan 19, 2025
af77b7b
fix #3701, calculation wrong, added testcase, ics, config (#3702)
sdetweil Jan 23, 2025
d6f2e71
Fix frozen Yr weather-module (#3706)
MagMar94 Jan 27, 2025
f34c8f2
update github workflows (#3709)
khassel Jan 31, 2025
e00a666
chore: update newsfeed.js (#3692)
eltociear Feb 1, 2025
aa20ead
Monthly update to dependencies (#3717)
rejas Feb 1, 2025
62c22d7
Arabic Translation (#3719)
Developer-Incoming Feb 6, 2025
28bcee7
Update ESLint and simplify config (#3724)
KristjanESPERANTO Feb 22, 2025
4a398f0
Fix empty part-of-day logic (#3726)
rejas Feb 27, 2025
66b8656
Fix icons, add hourly support, add other weatherflow changes (#3729)
n8many Mar 1, 2025
1fcc028
update dependencies incl. electron to v35 (#3733)
khassel Mar 5, 2025
2adf341
Add Esperanto translation (#3740)
KristjanESPERANTO Mar 13, 2025
0afc1ed
Updated Greek Translations (#3741)
mixasgr Mar 15, 2025
51d11bf
add support for digital clock time color (#3737)
sdetweil Mar 16, 2025
0cfe273
newsfeed: add specific ignoreOlderThan value (override) per feed (#3742)
khassel Mar 18, 2025
68ec696
Update ESLint and prettier (#3746)
KristjanESPERANTO Mar 18, 2025
46d64ab
update required node version and dependencies (#3747)
khassel Mar 21, 2025
791f771
fix stale job (#3751)
khassel Mar 22, 2025
2ddb785
Fix command to run spellcheck (#3753)
KristjanESPERANTO Mar 27, 2025
6d909d2
[weather] add humidity to hourly view, fix spacing error when using U…
OWL4C Mar 27, 2025
2e57d78
update dependencies (#3754)
khassel Mar 28, 2025
e546fed
updatenotification: add param to get modules from modules-dir instead…
khassel Mar 31, 2025
f80b1f1
Update deps before release (#3756)
rejas Apr 1, 2025
01fd41c
Prepare 2.31.0 release (#3757)
rejas Apr 1, 2025
a2c1daa
Merge branch 'mm_master' into mm_develop
Apr 1, 2025
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
18 changes: 13 additions & 5 deletions .github/workflows/automated-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,16 @@ jobs:
npm run test:css
npm run test:markdown
test:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
timeout-minutes: 30
strategy:
matrix:
node-version: [20.18.1, 20.x, 22.x, 23.x]
node-version: [22.14.0, 22.x, 23.x]
steps:
- name: Install electron dependencies and labwc
run: |
sudo apt-get update
sudo apt-get install -y libnss3 libasound2t64 labwc
- name: "Checkout code"
uses: actions/checkout@v4
- name: "Use Node.js ${{ matrix.node-version }}"
Expand All @@ -48,12 +52,16 @@ jobs:
node-version: ${{ matrix.node-version }}
check-latest: true
cache: "npm"
- name: "Install dependencies"
- name: "Install MagicMirror²"
run: |
npm run install-mm:dev
- name: "Run tests"
run: |
Xvfb :99 -screen 0 1024x768x16 &
export DISPLAY=:99
# Fix chrome-sandbox permissions:
sudo chown root:root ./node_modules/electron/dist/chrome-sandbox
sudo chmod 4755 ./node_modules/electron/dist/chrome-sandbox
# Start labwc
WLR_BACKENDS=headless WLR_LIBINPUT_NO_DEVICES=1 WLR_RENDERER=pixman labwc &
export WAYLAND_DISPLAY=wayland-0
touch css/custom.css
npm run test
6 changes: 4 additions & 2 deletions .github/workflows/electron-rebuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.18.1, 20.x, 22.x, 23.x]
node-version: [22.14.0, 22.x, 23.x]
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -22,7 +22,9 @@ jobs:
- name: Install @electron/rebuild
run: npm install @electron/rebuild
- name: Install node-libgpiod deps
run: sudo apt-get install gpiod libgpiod2 libgpiod-dev
run: |
sudo apt-get update
sudo apt-get install gpiod libgpiod2 libgpiod-dev
- name: Install test library (node-libgpiod) to be rebuilded
run: npm install node-libgpiod
- name: Run electron-rebuild
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/spellcheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ jobs:
run: |
npm run install-mm:dev
- name: Run Spellcheck
run: npm run test:spellcheck
run: npm run test:spelling
2 changes: 1 addition & 1 deletion .github/workflows/stale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ jobs:
days-before-issue-close: 7
operations-per-run: 100
stale-issue-label: "wontfix"
exempt-issue-labels: "pinned,security,under investigation,pr welcome"
exempt-issue-labels: "pinned,security,under investigation,pr welcome,ready (coming with next release)"
56 changes: 53 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,55 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

❤️ **Donate:** Enjoying MagicMirror²? [Please consider a donation!](https://magicmirror.builders/#donate) With your help we can continue to improve the MagicMirror².

## [2.31.0] - 2025-04-01

Thanks to: @Developer-Incoming, @eltociear, @geraki, @khassel, @KristjanESPERANTO, @MagMar94, @mixasgr, @n8many, @OWL4C, @rejas, @savvadam, @sdetweil.

> ⚠️ This release needs nodejs version `v22.14.0 or higher`
### Added

- Add CSS support to the digital clock hour/minute/second through the use of the classes `clock-hour-digital`, `clock-minute-digital`, and `clock-second-digital`.
- Add Arabic (#3719) and Esperanto translation.
- Mark option `secondsColor` as deprecated in clock module.
- Add Greek translation to Alerts module.
- [newsfeed] Add specific ignoreOlderThan value (override) per feed (#3360)
- [weather] Added option Humidity to hourly View
- [weather] Added option to hide hourly entries that are Zero, hiding the entire column if empty.
- [updatenotification] Added option to iterate over modules directory instead using modules defined in `config.js` (#3739)

### Changed

- [core] starting clientonly now checks for needed env var `WAYLAND_DISPLAY` or `DISPLAY` and starts electron with needed parameters (if both are set wayland is used) (#3677)
- [core] Optimize systeminformation calls and output (#3689)
- [core] Add issue templates for feature requests and bug reports (#3695)
- [core] Adapt `start:x11:dev` script
- [weather/yr] The Yr weather provider now enforces a minimum `updateInterval` of 600 000 ms (10 minutes) to comply with the terms of service. If a lower value is set, it will be automatically increased to this minimum.
- [weather/weatherflow] Fixed icons and added hourly support as well as UV, precipitation, and location name support.
- [workflow] Run `sudo apt-get update` before installing packages to avoid install errors
- [workflow] Exclude issues with label `ready (coming with next release)` from stale job

### Removed

### Updated

- [core] Update requirements and dependencies including electron to v35 and formatting (#3593, #3693, #3717)
- [core] Update prettier, ESLint and simplify config
- Update Greek translation

### Fixed

- [calendar] Fix clipping events being broadcast (#3678)
- [tests] Fix Electron tests by running them under new github image ubuntu-24.04, replace xserver with labwc, running under xserver and labwc depending on env variable WAYLAND_DISPLAY is set (#3676)
- [calendar] Fix arrayed symbols, #3267, again, add testcase, add testcase for #3678
- [weather] Fix wrong weatherCondition name in openmeteo provider which lead to n/a icon (#3691)
- [core] Fix wrong port in log message when starting server only (#3696)
- [calendar] Fix NewYork event processed on system in Central timezone shows wrong time #3701
- [weather/yr] The Yr weather provider is now able to recover from bad API responses instead of freezing (#3296)
- [compliments] Fix evening events being shown during the day (#3727)
- [weather] Fixed minor spacing issues when using UV Index in Hourly
- [workflow] Fix command to run spellcheck

## [2.30.0] - 2025-01-01

Thanks to: @xsorifc28, @HeikoGr, @bugsounet, @khassel, @KristjanESPERANTO, @rejas, @sdetweil.
Expand All @@ -24,7 +73,7 @@ Thanks to: @xsorifc28, @HeikoGr, @bugsounet, @khassel, @KristjanESPERANTO, @reja
- [linter] Re-add `eslint-plugin-import`now that it supports ESLint v9 (#3586)
- [linter] Re-activate `eslint-plugin-package-json` to lint `package.json` (#3643)
- [linter] Add linting for markdown files (#3646)
- [linter] Add some handy ESLint rules.
- [linter] Add some handy ESLint rules (#3665)
- [calendar] Add ability to display end date for full date events, where end is not same day (showEnd=true) (#3650)
- [core] Add text to the config.js.sample file about the locale variable (#3654, #3655)
- [core] Add fetch timeout for all node_helpers (thru undici, forces node 20.18.1 minimum) to help on slower systems. (#3660) (3661)
Expand Down Expand Up @@ -103,7 +152,7 @@ Thanks to: @bugsounet, @dkallen78, @jargordon, @khassel, @KristjanESPERANTO, @Ma
- [core] Detail optimizations in `config_check.js`
- [core] Updated minimal needed node version in `package.json` (currently v20.9.0) (#3559) and except for v21 (no security updates) (#3561)
- [linter] Switch to ESLint v9 and flat config and replace `eslint-plugin-unicorn` by `@eslint/js`
- [core] fix discovering module positions twice after #3450
- [core] Fix discovering module positions twice after #3450

### Fixed

Expand Down Expand Up @@ -167,7 +216,7 @@ For more info, please read the following post: [A New Chapter for MagicMirror: T

### Updated

- Update updatenotification (update_helper.js): Recode with pm2 library (#3332)
- [updatenotification] Recode update_helper.js with pm2 library (#3332)
- Removing lodash dependency by replacing merge by spread operator (#3339)
- Use node prefix for build-in modules (#3340)
- Rework logging colors (#3350)
Expand Down Expand Up @@ -1671,6 +1720,7 @@ It includes (but is not limited to) the following features:

This was part of the blogpost: [https://michaelteeuw.nl/post/83916869600/magic-mirror-part-vi-production-of-the](https://michaelteeuw.nl/post/83916869600/magic-mirror-part-vi-production-of-the)

[2.31.0]: https://github.com/MagicMirrorOrg/MagicMirror/compare/v2.30.0...v2.31.0
[2.30.0]: https://github.com/MagicMirrorOrg/MagicMirror/compare/v2.29.0...v2.30.0
[2.29.0]: https://github.com/MagicMirrorOrg/MagicMirror/compare/v2.28.0...v2.29.0
[2.28.0]: https://github.com/MagicMirrorOrg/MagicMirror/compare/v2.27.0...v2.28.0
Expand Down
18 changes: 11 additions & 7 deletions Collaboration.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,16 @@ Are done by
### Deployment steps

- [ ] pull latest `develop` branch
- [ ] update `package.json` and `package-lock.json` to reflect correct version number `2.xx.0`
- [ ] test `develop` branch
- [ ] update `CHANGELOG.md`
- [ ] add all contributor names: `...`
- [ ] add min. node version: > ⚠️ This release needs nodejs version `v20` or `v22`, minimum version is `v20.9.0`
- [ ] check release link at the bottom of the file
- [ ] commit and push all changes
- [ ] create `prep-release` branch from `develop`
- [ ] update `package.json` and `package-lock.json` to reflect correct version number `2.xx.0`
- [ ] test `prep-release` branch
- [ ] update `CHANGELOG.md`
- [ ] add all contributor names: `...`
- [ ] add min. node version: > ⚠️ This release needs nodejs version `v22.14.0` or higher
- [ ] check release link at the bottom of the file
- [ ] commit and push all changes
- [ ] create pull request from `prep-release` to `develop` branch with title `Prepare Release 2.xx.0`
- [ ] after successful test run via github actions: merge pull request to `develop`
- [ ] after successful test run via github actions: create pull request from `develop` to `master` branch
- [ ] add label `mastermerge`
- [ ] title of the PR is `Release 2.xx.0`
Expand All @@ -54,6 +57,7 @@ Are done by
- [ ] draft new section in `CHANGELOG.md`
- [ ] create new release link at the bottom of the file
- [ ] commit and publish `develop` branch
- [ ] if new release will be in January, update the year in LICENSE.md

### After release

Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# The MIT License (MIT)

Copyright © 2016-2024 Michael Teeuw
Copyright © 2016-2025 Michael Teeuw

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
Expand Down
13 changes: 12 additions & 1 deletion clientonly/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,17 @@
if (["localhost", "127.0.0.1", "::1", "::ffff:127.0.0.1", undefined].indexOf(config.address) === -1) {
getServerConfig(`${prefix}${config.address}:${config.port}/config/`)
.then(function (configReturn) {
// check environment for DISPLAY or WAYLAND_DISPLAY
const elecParams = ["js/electron.js"];
if (process.env.WAYLAND_DISPLAY) {
console.log(`Client: Using WAYLAND_DISPLAY=${process.env.WAYLAND_DISPLAY}`);
elecParams.push("--enable-features=UseOzonePlatform");
elecParams.push("--ozone-platform=wayland");
} else if (process.env.DISPLAY) {
console.log(`Client: Using DISPLAY=${process.env.DISPLAY}`);
} else {
fail("Error: Requires environment variable WAYLAND_DISPLAY or DISPLAY, none is provided.");
}
// Pass along the server config via an environment variable
const env = Object.create(process.env);
env.clientonly = true; // set to pass to electron.js
Expand All @@ -94,7 +105,7 @@

// Spawn electron application
const electron = require("electron");
const child = require("node:child_process").spawn(electron, ["js/electron.js"], options);
const child = require("node:child_process").spawn(electron, elecParams, options);

// Pipe all child process output to current stdout
child.stdout.on("data", function (buf) {
Expand Down
7 changes: 7 additions & 0 deletions cspell.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
"eddiehung",
"Edgardos",
"Ekristoffe",
"elec",
"envcanada",
"envsub",
"envsubst",
Expand Down Expand Up @@ -85,6 +86,7 @@
"GHSA",
"ghsas",
"grenagit",
"Heiko",
"Hirschberger",
"hourlyweather",
"Hwind",
Expand Down Expand Up @@ -117,6 +119,7 @@
"krekos",
"Kristjan",
"krukle",
"labwc",
"Landis",
"larryare",
"letsencrypt",
Expand All @@ -132,6 +135,8 @@
"martingron",
"marvai",
"mastermerge",
"matchtype",
"maxentries",
"Meteo",
"michaelteeuw",
"michmich",
Expand Down Expand Up @@ -195,6 +200,7 @@
"sunaction",
"suncalc",
"suntimes",
"symboltest",
"systeminformation",
"tada",
"taglist",
Expand Down Expand Up @@ -228,6 +234,7 @@
"xlarge",
"xrandr",
"xsmall",
"xsorifc",
"xwindows",
"xxxe",
"Ybbet",
Expand Down
18 changes: 5 additions & 13 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
import eslintPluginImport from "eslint-plugin-import";
import eslintPluginJest from "eslint-plugin-jest";
import eslintPluginJs from "@eslint/js";
import eslintPluginPackageJson from "eslint-plugin-package-json/configs/recommended";
import eslintPluginPackageJson from "eslint-plugin-package-json";
import eslintPluginStylistic from "@stylistic/eslint-plugin";
import globals from "globals";

const config = [
eslintPluginJs.configs.recommended,
eslintPluginImport.flatConfigs.recommended,
eslintPluginPackageJson,
eslintPluginJest.configs["flat/recommended"],
eslintPluginJs.configs.recommended,
eslintPluginPackageJson.configs.recommended,
eslintPluginStylistic.configs.all,
{
files: ["**/*.js"],
languageOptions: {
Expand All @@ -24,13 +26,7 @@ const config = [
moment: "readonly"
}
},
plugins: {
...eslintPluginStylistic.configs["all-flat"].plugins,
...eslintPluginJest.configs["flat/recommended"].plugins
},
rules: {
...eslintPluginStylistic.configs["all-flat"].rules,
...eslintPluginJest.configs["flat/recommended"].rules,
"@stylistic/array-element-newline": ["error", "consistent"],
"@stylistic/arrow-parens": ["error", "always"],
"@stylistic/brace-style": "off",
Expand Down Expand Up @@ -99,11 +95,7 @@ const config = [
},
sourceType: "module"
},
plugins: {
...eslintPluginStylistic.configs["all-flat"].plugins
},
rules: {
...eslintPluginStylistic.configs["all-flat"].rules,
"@stylistic/array-element-newline": "off",
"@stylistic/indent": ["error", "tab"],
"@stylistic/padded-blocks": ["error", "never"],
Expand Down
24 changes: 16 additions & 8 deletions fonts/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions fonts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"license": "MIT",
"dependencies": {
"@fontsource/roboto": "^5.1.1",
"@fontsource/roboto-condensed": "^5.1.1"
"@fontsource/roboto": "^5.2.5",
"@fontsource/roboto-condensed": "^5.2.5"
}
}
Loading