Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
246 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
7938c3a
Merge branch 'mm_master' into mm_develop
Apr 1, 2025
86934c8
Prepare v2.32.0-develop
Apr 1, 2025
e1a53ef
[refactor] Simplify module loading process (#3766)
KristjanESPERANTO Apr 23, 2025
ff66829
[feature] Introduce disableNextEvent to hide next sun event (#3769)
bughaver Apr 27, 2025
b9d63d7
Use "node --run" instead of "npm run" (#3764)
KristjanESPERANTO May 6, 2025
a5b85c4
[workflow] Use LTS node version and split "Run test" step (#3767)
KristjanESPERANTO May 7, 2025
7b4d363
[fix] Fix `start:dev` script (#3773)
KristjanESPERANTO May 7, 2025
2831ae9
[Feature Request] Allow to make an display order of module position i…
bugsounet May 8, 2025
53bff72
update dependencies (#3774)
khassel May 9, 2025
ed419ce
Bump pm2 from 5.4.3 to 6.0.5 (#3776)
dependabot[bot] May 9, 2025
2422e84
Fix calendar rrule until where event is fullday but rrule until has a…
sdetweil May 12, 2025
965e935
[linter] Review linter setup (#3783)
KristjanESPERANTO May 12, 2025
554bb0e
[feat] Add rule `no-undef` in config file validation (#3786)
KristjanESPERANTO May 14, 2025
2f9f4b6
[feature] implement short syntax for clock week (#3775)
bughaver May 16, 2025
d179051
fix `roboto.css` to avoid error message (#3787)
khassel May 20, 2025
d07912d
update dependencies incl. electron to v36 (#3788)
khassel May 23, 2025
4e3821c
[workflow] Replace Node.js version v23 with v24 (#3770)
KristjanESPERANTO May 23, 2025
85b4ece
[refactor] Replace deprecated constants (#3789)
KristjanESPERANTO May 23, 2025
e26aed9
[refactor] Replace `ansis` with built-in function `util.styleText` (#…
KristjanESPERANTO May 27, 2025
c8625ff
simplify install and maintaining dependencies (#3795)
khassel Jun 1, 2025
975ee9c
update dependencies (#3804)
khassel Jun 1, 2025
302b24c
[l10n] Complete translations (#3794)
KristjanESPERANTO Jun 5, 2025
052ec1c
remove existing folders fonts and vendor from local installations (#3…
khassel Jun 7, 2025
faf15ad
Refactored calendarfetcherutils to fix many of the timezone and DST r…
plebcity Jun 7, 2025
2194ffd
[tests] Fix and refactor e2e test "Same keys" in "translations_spec.j…
KristjanESPERANTO Jun 9, 2025
6501aab
[linter] Enable ESLint rule `no-console` (#3810)
KristjanESPERANTO Jun 9, 2025
ee87483
update deps and fix animateCSS_spec test (#3811)
khassel Jun 19, 2025
9a3f4f0
Update package type to `commonjs` (#3814)
bugsounet Jun 20, 2025
c7c0e67
review logger factory code part: use switch/case (#3812)
bugsounet Jun 20, 2025
2809ed1
[tests] Review and refactor translation tests (#3792)
KristjanESPERANTO Jun 20, 2025
d2d4d7b
update jest to v30 (#3815)
khassel Jun 21, 2025
1e11d28
fixes e2e tests (#3817)
khassel Jun 25, 2025
5e506ea
last dependency update before release (#3823)
khassel Jun 29, 2025
2680972
Prepare Release 2.32.0 (#3825)
khassel Jun 30, 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
14 changes: 7 additions & 7 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,31 @@ We hold our code to standard, and these standards are documented below.

We use [prettier](https://prettier.io/) for automatic formatting a lot all our files. The configuration is in our `prettier.config.mjs` file.

To run prettier, use `npm run lint:prettier`.
To run prettier, use `node --run lint:prettier`.

### JavaScript: Run ESLint

We use [ESLint](https://eslint.org) to lint our JavaScript files. The configuration is in our `eslint.config.mjs` file.

To run ESLint, use `npm run lint:js`.
To run ESLint, use `node --run lint:js`.

### CSS: Run StyleLint

We use [StyleLint](https://stylelint.io) to lint our CSS. The configuration is in our `.stylelintrc.json` file.
We use [StyleLint](https://stylelint.io) to lint our CSS. The configuration is in our `stylelint.config.mjs` file.

To run StyleLint, use `npm run lint:css`.
To run StyleLint, use `node --run lint:css`.

### Markdown: Run markdownlint

We use [markdownlint-cli2](https://github.com/DavidAnson/markdownlint-cli2) to lint our markdown files. The configuration is in our `.markdownlint.json` file.

To run markdownlint, use `npm run markdownlint:css`.
To run markdownlint, use `node --run lint:markdown`.

## Testing

We use [Jest](https://jestjs.io) for JavaScript testing.

To run all tests, use `npm run test`.
To run all tests, use `node --run test`.

The specific test commands are defined in `package.json`.
So you can also run the specific tests with other commands, e.g. `npm run test:unit` or `npx jest tests/e2e/env_spec.js`.
So you can also run the specific tests with other commands, e.g. `node --run test:unit` or `npx jest tests/e2e/env_spec.js`.
10 changes: 5 additions & 5 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ body:
description: |
Please keep in mind that some problems are specific to certain start options.
options:
- "npm run start"
- "npm run start:wayland"
- "npm run start:windows"
- "npm run start:x11"
- "npm run server"
- "node --run start"
- "node --run start:wayland"
- "node --run start:windows"
- "node --run start:x11"
- "node --run server"
- "node clientonly --address ... --port ..."
validations:
required: true
Expand Down
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Hello and thank you for wanting to contribute to the MagicMirror² project!
> - What does the pull request accomplish? Use a list if needed.
> - If it includes major visual changes please add screenshots.
>
> 3. Please run `npm run lint:prettier` before submitting so that
> 3. Please run `node --run lint:prettier` before submitting so that
> style issues are fixed.
> 4. Don't forget to add an entry about your changes to
> the CHANGELOG.md file.
Expand Down
20 changes: 0 additions & 20 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,3 @@ updates:
- "Skip Changelog"
- "dependencies"
- "javascript"

- package-ecosystem: "npm"
directory: "/vendor"
schedule:
interval: "monthly"
target-branch: "develop"
labels:
- "Skip Changelog"
- "dependencies"
- "javascript"

- package-ecosystem: "npm"
directory: "/fonts"
schedule:
interval: "monthly"
target-branch: "develop"
labels:
- "Skip Changelog"
- "dependencies"
- "javascript"
24 changes: 13 additions & 11 deletions .github/workflows/automated-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,23 @@ jobs:
- name: "Use Node.js"
uses: actions/setup-node@v4
with:
node-version: 23
node-version: lts/*
cache: "npm"
- name: "Install dependencies"
run: |
npm run install-mm:dev
node --run install-mm:dev
- name: "Run linter tests"
run: |
npm run test:prettier
npm run test:js
npm run test:css
npm run test:markdown
node --run test:prettier
node --run test:js
node --run test:css
node --run test:markdown
test:
runs-on: ubuntu-24.04
timeout-minutes: 30
strategy:
matrix:
node-version: [22.14.0, 22.x, 23.x]
node-version: [22.14.0, 22.x, 24.x]
steps:
- name: Install electron dependencies and labwc
run: |
Expand All @@ -54,14 +54,16 @@ jobs:
cache: "npm"
- name: "Install MagicMirror²"
run: |
npm run install-mm:dev
- name: "Run tests"
node --run install-mm:dev
- name: "Prepare environment for tests"
run: |
# 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
- name: "Run tests"
run: |
export WAYLAND_DISPLAY=wayland-0
node --run test
4 changes: 2 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: [22.14.0, 22.x, 23.x]
node-version: [22.14.0, 22.x, 24.x]
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -18,7 +18,7 @@ jobs:
node-version: ${{ matrix.node-version }}
check-latest: true
- name: Install MagicMirror
run: npm run install-mm
run: node --run install-mm
- name: Install @electron/rebuild
run: npm install @electron/rebuild
- name: Install node-libgpiod deps
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/spellcheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "22"
node-version: lts/*
check-latest: true
cache: "npm"
- name: Install dependencies
run: |
npm run install-mm:dev
node --run install-mm:dev
- name: Run Spellcheck
run: npm run test:spelling
run: node --run test:spelling
8 changes: 6 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ coverage
.lock-wscript
build/Release
/node_modules/**/*
fonts/node_modules/**/*
vendor/node_modules/**/*
!/tests/node_modules/**/*
jspm_modules
.npm
Expand Down Expand Up @@ -67,6 +65,8 @@ Temporary Items
/css/*
!/css/custom.css.sample
!/css/main.css
!/css/roboto.css
!/css/font-awesome.css

# Ignore users config file but keep the sample.
/config/*
Expand All @@ -84,3 +84,7 @@ Temporary Items

# Ignore positions file (#3518)
js/positions.js

# Ignore lock files other than package-lock.json
pnpm-lock.yaml
yarn.lock
7 changes: 0 additions & 7 deletions .stylelintrc.json

This file was deleted.

60 changes: 56 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,57 @@ 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.32.0] - 2025-07-01

Thanks to: @bughaver, @bugsounet, @khassel, @KristjanESPERANTO, @plebcity, @rejas, @sdetweil.

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

### Added

- [config] Allow to change module order for final renderer (or dynamically with CSS): Feature `order` in config (#3762)
- [clock] Added option 'disableNextEvent' to hide next sun event (#3769)
- [clock] Implement short syntax for clock week (#3775)

### Changed

- [refactor] Simplify module loading process (#3766)
- Use `node --run` instead of `npm run` (#3764) and adapt `start:dev` script (#3773)
- [workflow] Run linter and spellcheck with LTS node version (#3767)
- [workflow] Split "Run test" step into two steps for more clarity (#3767)
- [linter] Review linter setup (#3783)
- Fix command to lint markdown in `CONTRIBUTING.md`
- Re-activate JSDoc linting and fix linting issues
- Refactor ESLint config to use `defineConfig` and `globalIgnores`
- Replace `eslint-plugin-import` with `eslint-plugin-import-x`
- Switch Stylelint config to flat format and simplify Stylelint scripts
- [workflow] Replace Node.js version v23 with v24 (#3770)
- [refactor] Replace deprecated constants `fs.F_OK` and `fs.R_OK` (#3789)
- [refactor] Replace `ansis` with built-in function `util.styleText` (#3793)
- [core] Integrate stuff from `vendor` and `fonts` folders into main `package.json`, simplifies install and maintaining dependencies (#3795, #3805)
- [l10n] Complete translations (with the help of translation tools) (#3794)
- [refactor] Refactored `calendarfetcherutils` in Calendar module to handle timezones better (#3806)
- Removed as many of the date conversions as possible
- Use `moment-timezone` when calculating recurring events, this will fix problems from the past with offsets and DST not being handled properly
- Added some tests to test the behavior of the refactored methods to make sure the correct event dates are returned
- [linter] Enable ESLint rule `no-console` and replace `console` with `Log` in some files (#3810)
- [tests] Review and refactor translation tests (#3792)

### Fixed

- [fix] Handle spellcheck issues (#3783)
- [calendar] fix fullday event rrule until with timezone offset (#3781)
- [feat] Add rule `no-undef` in config file validation to fix #3785 (#3786)
- [fonts] Fix `roboto.css` to avoid error message `Unknown descriptor 'var(' in @font-face rule.` in firefox console (#3787)
- [tests] Fix and refactor e2e test `Same keys` in `translations_spec.js` (#3809)
- [tests] Fix e2e tests newsfeed and calendar to exit without open handles (#3817)

### Updated

- [core] Update dependencies including electron to v36 (#3774, #3788, #3811, #3804, #3815, #3823)
- [core] Update package type to `commonjs`
- [logger] Review factory code part: use `switch/case` instead of `if/else if` (#3812)

## [2.31.0] - 2025-04-01

Thanks to: @Developer-Incoming, @eltociear, @geraki, @khassel, @KristjanESPERANTO, @MagMar94, @mixasgr, @n8many, @OWL4C, @rejas, @savvadam, @sdetweil.
Expand All @@ -16,7 +67,7 @@ Thanks to: @Developer-Incoming, @eltociear, @geraki, @khassel, @KristjanESPERANT
### 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.
- Add Arabic (#3719) and Esperanto translation (#3740)
- Mark option `secondsColor` as deprecated in clock module.
- Add Greek translation to Alerts module.
- [newsfeed] Add specific ignoreOlderThan value (override) per feed (#3360)
Expand All @@ -26,7 +77,7 @@ Thanks to: @Developer-Incoming, @eltociear, @geraki, @khassel, @KristjanESPERANT

### 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] 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
Expand Down Expand Up @@ -64,7 +115,7 @@ Thanks to: @xsorifc28, @HeikoGr, @bugsounet, @khassel, @KristjanESPERANTO, @reja

### Added

- [core] Add wayland and windows start options to `package.json` (#3594)
- [core] Add Wayland and Windows start options to `package.json` (#3594)
- [docs] Add step for npm publishing in release process (#3595)
- [core] Add GitHub workflow to run spellcheck a few days before each release (#3623)
- [core] Add test flag to `index.html` to pass to module js for test mode detection (needed by #3630)
Expand Down Expand Up @@ -1470,7 +1521,7 @@ A huge, huge, huge thanks to user @fewieden for all his hard work on the new `we
### Fixed

- Fix instruction in README for using automatically installer script.
- Bug of duplicated compliments as described in [here](https://forum.magicmirror.builders/topic/2381/compliments-module-stops-cycling-compliments).
- Bug of [duplicated compliments](https://forum.magicmirror.builders/topic/2381/compliments-module-stops-cycling-compliments).
- Fix double message about port when server is starting
- Corrected Swedish translations for TODAY/TOMORROW/DAYAFTERTOMORROW.
- Removed unused import from js/electron.js
Expand Down Expand Up @@ -1720,6 +1771,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.32.0]: https://github.com/MagicMirrorOrg/MagicMirror/compare/v2.31.0...v2.32.0
[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
Expand Down
2 changes: 1 addition & 1 deletion Collaboration.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Are done by
- [ ] update `package.json` and `package-lock.json` to reflect correct version number `2.xx.0-develop`
- [ ] draft new section in `CHANGELOG.md`
- [ ] create new release link at the bottom of the file
- [ ] commit and publish `develop` branch
- [ ] commit and push `develop` branch
- [ ] if new release will be in January, update the year in LICENSE.md

### After release
Expand Down
9 changes: 8 additions & 1 deletion cspell.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,16 @@
"dkallen",
"drivelist",
"DTEND",
"DTSTAMP",
"DTSTART",
"Duffman",
"earlman",
"easyas",
"eddiehung",
"Edgardos",
"Ekristoffe",
"elec",
"eltociear",
"envcanada",
"envsub",
"envsubst",
Expand All @@ -82,6 +85,7 @@
"fulldate",
"fullday",
"fullscreen",
"geraki",
"Gevoelstemperatuur",
"GHSA",
"ghsas",
Expand All @@ -105,6 +109,7 @@
"jsonlint",
"jupadin",
"kaennchenstruggle",
"Kalenderwoche",
"kenzal",
"Keyport",
"khassel",
Expand Down Expand Up @@ -143,6 +148,7 @@
"Midori",
"mirontoli",
"MISSINGLANG",
"mixasgr",
"MMPM",
"modernizr",
"modulename",
Expand Down Expand Up @@ -183,6 +189,7 @@
"rohitdharavath",
"Rosso",
"rrule",
"savvadam",
"sdetweil",
"sendheaders",
"serveronly",
Expand Down Expand Up @@ -240,6 +247,6 @@
"Ybbet",
"yearmatchgroup"
],
"ignorePaths": ["node_modules/**", "modules/**", "vendor/node_modules/**", "translations/**", "tests/mocks/**", "tests/e2e/modules/clock_es_spec.js", "fonts/roboto.css"],
"ignorePaths": ["node_modules/**", "modules/**", "translations/**", "tests/mocks/**", "tests/e2e/modules/clock_es_spec.js", "css/roboto.css"],
"dictionaries": ["node"]
}
File renamed without changes.
13 changes: 13 additions & 0 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -239,3 +239,16 @@ sup {
border-spacing: 0;
border-collapse: separate;
}

/**
* Container Definitions.
*/

.region .container {
display: flex;
flex-direction: column;
}

.region .container.hidden {
display: none;
}
Loading
Loading