mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-22 05:07:05 +00:00
b910c60eb20bf1724b0fa93b88dba61a80c2b2c4
5080 Commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
|
b910c60eb2 | update dependencies (#3657) | ||
|
24d9b70c4c |
fix access denied fault error writing js/positions.js (#3652)
if the MagicMirror js folder is not writable (synology nas created by different user than docker container) there is an uncaught throw ``` [ERROR] EACCES: permission denied, open 'js/positions.js' ``` add try/catch, output new message, console.error ```text unable to write js/positions.js with the discovered module positions make the MagicMirror/js folder writeable by the user starting MagicMirror ``` MM will start, but no modules will show, as no positions were discovered this file is used to pass the list from the server side to the browser side fixes #3651 |
||
|
786eacf41a |
update config.js.sample about locale variable (#3655)
add text to config.js.sample about usage of locale variable/property Co-authored-by: Veeck <github@veeck.de> |
||
|
5b3b40da66 | Use project URL in fallback config (#3656) | ||
|
5232f46d44 |
fix #3267 again this time, dropped from big cal update (#3650)
this change was dropped from #3267 by mistake |
||
|
39ab651319 |
Show animations, fix export only on server side (#3649)
fix #3644 so only on server side |
||
|
76fac78909 |
Run code style checks in workflow only once (#3648)
It's enough if the code style checks are successful once, it's not necessary to run them with every node version. Also, if there is an error, we can see more quickly whether it is a code style or a test-runner issue. |
||
|
5b7b76c877 |
Add linting for markdown files (#3646)
I also reworked the Linters section in `CONTRIBUTING.md` a bit and switched the `prettier` config to a flat config. Co-authored-by: Veeck <github@veeck.de> |
||
|
19bd76ab93 |
Fixcaldates2 fix calendar module date processing, using node-ical@0.20.1 (#3587)
here is an updated test version of the fixes for all kinds of calendar date problems. NOTE: the changed branch name NOTE: this used the node-cal@0.19.0 library UNCHANGED best to make a new folder and git clone there git clone https://github.com/sdetweil/MagicMirror cd MagicMirror git checkout fixcaldates2 // <------ note this is a changed branch name npm run install-mm copy your config.js and custom.css from the prior folder and the non-default modules you have installed… this ONLY changes the default calendar but DOES ship an updated node-ical library too if you need to fall back, just rename the folders around again so that your original is called MagicMirror all the testcases for node-ical and MagicMirror execute successfully. the ‘BIG’ change here is to get the local NON-TZ dates for the rrule.between() all the checking and conversion code is commented out or not used the node-ical fixes are for excluded dates (exdate) values being adjusted for DST/STD time… waiting to submit that PR one fix in calendar.js for checking if a past date was too far back, but it never checked to see IF the event date was in the past… (before today) so it chopped off too many and one change in calendarfetcher.js to put out a better diagnostic message of the parsed data… (exdate was excluded cause JSON stringify couldn’t convert the complex structure) I added the tests you all have documented please re-pull and checkout the new branch (I deleted the old branch) and npm run install-mm again --------- Co-authored-by: Veeck <github@veeck.de> |
||
|
291ae8546c |
Handle "module is not defined" in e2e tests (#3647)
Even in successful tests, there are many module not defined` error entries. Like this: https://github.com/MagicMirrorOrg/MagicMirror/actions/runs/12199106844/job/34032254241#step:5:353 I think we can suppress them. |
||
|
63178eba72 |
Export animations (#3644)
I am adding the animateIn/Out support to MMM-Config, but I need the list of animations.. but they are not visible in js/animateCSS.js (from require) adding an export satisfies that side issue, these would go in a dropdown list what value can I use for the default behavior? none/default? don't want an error produced.. should I add code to check for this value to prevent error? |
||
|
07768c3a88 |
Reactivate eslint-plugin-package-json (#3643)
Somehow the plugin get lost when we moved to ESLint flat config. Now I reactivated it. One rules caused sorting the scripts. If this is not okay, I can undo this and switch off the rule. Thank's @bugsounet for the pinging in https://github.com/MagicMirrorOrg/MagicMirror/pull/3637#issuecomment-2509771362. |
||
|
8d61336e8b |
Bump @fortawesome/fontawesome-free from 6.6.0 to 6.7.1 in /vendor (#3641)
Bumps [@fortawesome/fontawesome-free](https://github.com/FortAwesome/Font-Awesome) from 6.6.0 to 6.7.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/FortAwesome/Font-Awesome/releases"><code>@fortawesome/fontawesome-free</code>'s releases</a>.</em></p> <blockquote> <h2>Release 6.7.1</h2> <p><strong>Change log available at <a href="https://fontawesome.com/docs/changelog/">https://fontawesome.com/docs/changelog/</a></strong></p> <h2>Release 6.7.0</h2> <p><strong>Change log available at <a href="https://fontawesome.com/docs/changelog/">https://fontawesome.com/docs/changelog/</a></strong></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
28341d4a54 |
Bump eslint-plugin-package-json from 0.15.4 to 0.17.0 (#3637)
Bumps [eslint-plugin-package-json](https://github.com/JoshuaKGoldberg/eslint-plugin-package-json) from 0.15.4 to 0.17.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/releases">eslint-plugin-package-json's releases</a>.</em></p> <blockquote> <h2>v0.17.0</h2> <h2>What's Changed</h2> <ul> <li>docs: add sasial-dev as a contributor for code by <a href="https://github.com/allcontributors"><code>@allcontributors</code></a> in <a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/669">JoshuaKGoldberg/eslint-plugin-package-json#669</a></li> <li>feat: sort alphabetically with co-located hooks for <code>scripts</code> by <a href="https://github.com/sasial-dev"><code>@sasial-dev</code></a> in <a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/632">JoshuaKGoldberg/eslint-plugin-package-json#632</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/compare/v0.16.0...v0.17.0">https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/compare/v0.16.0...v0.17.0</a></p> <h2>v0.16.0</h2> <h2>What's Changed</h2> <ul> <li>chore(deps): update dependency cspell to v8.16.0 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/617">JoshuaKGoldberg/eslint-plugin-package-json#617</a></li> <li>chore(deps): update dependency eslint-plugin-jsonc to v2.17.0 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/618">JoshuaKGoldberg/eslint-plugin-package-json#618</a></li> <li>docs: add unique dependencies rule by <a href="https://github.com/davidlj95"><code>@davidlj95</code></a> in <a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/620">JoshuaKGoldberg/eslint-plugin-package-json#620</a></li> <li>docs: add rakleed as a contributor for ideas by <a href="https://github.com/allcontributors"><code>@allcontributors</code></a> in <a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/622">JoshuaKGoldberg/eslint-plugin-package-json#622</a></li> <li>docs: add davidlj95 as a contributor for doc by <a href="https://github.com/allcontributors"><code>@allcontributors</code></a> in <a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/621">JoshuaKGoldberg/eslint-plugin-package-json#621</a></li> <li>chore(deps): update dependency eslint-plugin-jsonc to v2.18.0 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/623">JoshuaKGoldberg/eslint-plugin-package-json#623</a></li> <li>chore(deps): update dependency knip to v5.36.4 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/624">JoshuaKGoldberg/eslint-plugin-package-json#624</a></li> <li>chore(deps): update dependency knip to v5.36.5 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/625">JoshuaKGoldberg/eslint-plugin-package-json#625</a></li> <li>chore(deps): update dependency eslint-plugin-jsonc to v2.18.1 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/626">JoshuaKGoldberg/eslint-plugin-package-json#626</a></li> <li>chore(deps): update dependency knip to v5.36.6 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/627">JoshuaKGoldberg/eslint-plugin-package-json#627</a></li> <li>chore(deps): update dependency <code>@typescript-eslint/parser</code> to v8.14.0 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/628">JoshuaKGoldberg/eslint-plugin-package-json#628</a></li> <li>chore(deps): update dependency knip to v5.36.7 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/629">JoshuaKGoldberg/eslint-plugin-package-json#629</a></li> <li>chore(deps): update dependency <code>@release-it/conventional-changelog</code> to v9.0.3 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/630">JoshuaKGoldberg/eslint-plugin-package-json#630</a></li> <li>chore(deps): update dependency eslint-plugin-jsdoc to v50.5.0 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/631">JoshuaKGoldberg/eslint-plugin-package-json#631</a></li> <li>chore(deps): update pnpm to v9.13.0 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/633">JoshuaKGoldberg/eslint-plugin-package-json#633</a></li> <li>chore(deps): update dependency knip to v5.37.0 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/634">JoshuaKGoldberg/eslint-plugin-package-json#634</a></li> <li>chore(deps): update pnpm to v9.13.1 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/635">JoshuaKGoldberg/eslint-plugin-package-json#635</a></li> <li>chore(deps): update dependency eslint-plugin-regexp to v2.7.0 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/636">JoshuaKGoldberg/eslint-plugin-package-json#636</a></li> <li>chore(deps): update pnpm to v9.13.2 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/637">JoshuaKGoldberg/eslint-plugin-package-json#637</a></li> <li>chore(deps): update codecov/codecov-action action to v5 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/638">JoshuaKGoldberg/eslint-plugin-package-json#638</a></li> <li>chore(deps): update dependency knip to v5.37.1 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/639">JoshuaKGoldberg/eslint-plugin-package-json#639</a></li> <li>chore(deps): update dependency eslint-plugin-jsonc to v2.18.2 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/640">JoshuaKGoldberg/eslint-plugin-package-json#640</a></li> <li>chore(deps): update dependency husky to v9.1.7 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/641">JoshuaKGoldberg/eslint-plugin-package-json#641</a></li> <li>chore(deps): update dependency <code>@typescript-eslint/parser</code> to v8.15.0 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/642">JoshuaKGoldberg/eslint-plugin-package-json#642</a></li> <li>chore(deps): update dependency <code>@types/node</code> to v22.9.1 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/644">JoshuaKGoldberg/eslint-plugin-package-json#644</a></li> <li>chore(deps): update pnpm to v9.14.1 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/645">JoshuaKGoldberg/eslint-plugin-package-json#645</a></li> <li>chore(deps): update pnpm to v9.14.2 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/646">JoshuaKGoldberg/eslint-plugin-package-json#646</a></li> <li>chore(deps): update dependency prettier-plugin-packagejson to v2.5.5 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/647">JoshuaKGoldberg/eslint-plugin-package-json#647</a></li> <li>chore(deps): update dependency knip to v5.37.2 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/649">JoshuaKGoldberg/eslint-plugin-package-json#649</a></li> <li>chore(deps): update dependency typescript to v5.7.2 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/650">JoshuaKGoldberg/eslint-plugin-package-json#650</a></li> <li>chore(deps): update dependency <code>@types/node</code> to v22.9.2 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/651">JoshuaKGoldberg/eslint-plugin-package-json#651</a></li> <li>chore(deps): update dependency <code>@types/node</code> to v22.9.3 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/652">JoshuaKGoldberg/eslint-plugin-package-json#652</a></li> <li>chore(deps): update dependency markdownlint-cli to ^0.43.0 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/653">JoshuaKGoldberg/eslint-plugin-package-json#653</a></li> <li>docs: fix jsonc-eslint-parser installation instructions by <a href="https://github.com/JoshuaKGoldberg"><code>@JoshuaKGoldberg</code></a> in <a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/654">JoshuaKGoldberg/eslint-plugin-package-json#654</a></li> <li>chore(deps): update dependency prettier-plugin-packagejson to v2.5.6 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/648">JoshuaKGoldberg/eslint-plugin-package-json#648</a></li> <li>chore(deps): update dependency <code>@typescript-eslint/parser</code> to v8.16.0 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/656">JoshuaKGoldberg/eslint-plugin-package-json#656</a></li> <li>chore(deps): update dependency <code>@types/node</code> to v22.9.4 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/657">JoshuaKGoldberg/eslint-plugin-package-json#657</a></li> <li>chore(deps): update dependency <code>@types/node</code> to v22.10.0 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/658">JoshuaKGoldberg/eslint-plugin-package-json#658</a></li> <li>chore(deps): update dependency knip to v5.38.0 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/659">JoshuaKGoldberg/eslint-plugin-package-json#659</a></li> <li>chore(deps): update dependency eslint-plugin-jsdoc to v50.6.0 by <a href="https://github.com/renovate"><code>@renovate</code></a> in <a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/662">JoshuaKGoldberg/eslint-plugin-package-json#662</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/main/CHANGELOG.md">eslint-plugin-package-json's changelog</a>.</em></p> <blockquote> <h1><a href="https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/compare/v0.16.0...v0.17.0">0.17.0</a> (2024-11-30)</h1> <h3>Features</h3> <ul> <li>sort alphabetically with co-located hooks for <code>scripts</code> (<a href="https://redirect.github.com/JoshuaKGoldberg/eslint-plugin-package-json/issues/632">#632</a>) (<a href=" |
||
|
f417bc0204 |
Bump prettier from 3.3.3 to 3.4.1 (#3638)
Bumps [prettier](https://github.com/prettier/prettier) from 3.3.3 to 3.4.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/prettier/prettier/releases">prettier's releases</a>.</em></p> <blockquote> <h2>3.4.1</h2> <p>🔗 <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#341">Changelog</a></p> <h2>3.4.0</h2> <p><a href="https://github.com/prettier/prettier/compare/3.3.3...3.4.0">diff</a></p> <p>🔗 <a href="https://prettier.io/blog/2024/11/26/3.4.0.html">Release note</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md">prettier's changelog</a>.</em></p> <blockquote> <h1>3.4.1</h1> <p><a href="https://github.com/prettier/prettier/compare/3.4.0...3.4.1">diff</a></p> <h4>Remove unnecessary parentheses around assignment in <code>v-on</code> (<a href="https://redirect.github.com/prettier/prettier/pull/16887">#16887</a> by <a href="https://github.com/fisker"><code>@fisker</code></a>)</h4> <!-- raw HTML omitted --> <pre lang="vue"><code><!-- Input --> \<template> <button @click="foo += 2">Click</button> </template> <p><!-- Prettier 3.4.0 --><br /> &lt;template><br /> <button <a href="https://github.com/click"><code>@click</code></a>="(foo += 2)">Click</button><br /> </template></p> <p><!-- Prettier 3.4.1 --><br /> &lt;template><br /> <button <a href="https://github.com/click"><code>@click</code></a>="foo += 2">Click</button><br /> </template><br /> </code></pre></p> <h1>3.4.0</h1> <p><a href="https://github.com/prettier/prettier/compare/3.3.3...3.4.0">diff</a></p> <p>🔗 <a href="https://prettier.io/blog/2024/11/26/3.4.0.html">Release Notes</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
3627bebc3a |
Bump stylelint from 16.10.0 to 16.11.0 (#3639)
Bumps [stylelint](https://github.com/stylelint/stylelint) from 16.10.0 to 16.11.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/stylelint/stylelint/releases">stylelint's releases</a>.</em></p> <blockquote> <h2>16.11.0</h2> <ul> <li>Added: <code>--report-unscoped-disables</code> CLI flag and <code>reportUnscopedDisables</code> option to Node.js API and configuration object (<a href="https://redirect.github.com/stylelint/stylelint/issues/8024">#8024</a>) (<a href="https://github.com/Mouvedia"><code>@Mouvedia</code></a>).</li> <li>Added: <code>ignoreFunctions: []</code> to <code>media-query-no-invalid</code> (<a href="https://redirect.github.com/stylelint/stylelint/issues/8060">#8060</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Added: <code>name</code> configuration property under <code>overrides</code> (<a href="https://redirect.github.com/stylelint/stylelint/issues/8095">#8095</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>benchmark-rule</code> script to resolve <code>TypeError</code> (<a href="https://redirect.github.com/stylelint/stylelint/issues/8090">#8090</a>) (<a href="https://github.com/ybiquitous"><code>@ybiquitous</code></a>).</li> <li>Fixed: <code>github</code> formatter deprecation warning link to <code>https://stylelint.io/awesome-stylelint#formatters</code> (<a href="https://redirect.github.com/stylelint/stylelint/issues/8115">#8115</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>function-calc-no-unspaced-operator</code> false negatives for <code>calc-size</code> (<a href="https://redirect.github.com/stylelint/stylelint/issues/8026">#8026</a>) (<a href="https://github.com/azat-io"><code>@azat-io</code></a>).</li> <li>Fixed: <code>max-nesting-depth</code> false positives when the <code>&</code> selector is being ignored (<a href="https://redirect.github.com/stylelint/stylelint/issues/8048">#8048</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>media-feature-name-value-no-unknown</code> false positives for <code>display-mode: picture-in-picture</code> (<a href="https://redirect.github.com/stylelint/stylelint/issues/8136">#8136</a>) (<a href="https://github.com/Mouvedia"><code>@Mouvedia</code></a>).</li> <li>Fixed: <code>no-irregular-whitespace</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/issues/8066">#8066</a>) (<a href="https://github.com/romainmenke"><code>@romainmenke</code></a>).</li> <li>Fixed: <code>selector-attribute-name-disallowed-list</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/issues/8037">#8037</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-attribute-operator-allowed-list</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/issues/8038">#8038</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-attribute-operator-disallowed-list</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/issues/8039">#8039</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-class-pattern</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/issues/8042">#8042</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-combinator-allowed-list</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/issues/8046">#8046</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-combinator-disallowed-list</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/issues/8047">#8047</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-disallowed-list</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/issues/8067">#8067</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-id-pattern</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/issues/8045">#8045</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-max-attribute</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/issues/8052">#8052</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-max-class</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/issues/8053">#8053</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-max-combinators</code> reported-ranges (<a href="https://redirect.github.com/stylelint/stylelint/issues/8055">#8055</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-max-compound-selectors</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/issues/8056">#8056</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-max-id</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/issues/8054">#8054</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-max-pseudo-class</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/issues/8057">#8057</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-max-specificity</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/issues/8058">#8058</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-max-universal</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/issues/8059">#8059</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-nested-pattern</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/issues/8072">#8072</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-no-vendor-prefix</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/issues/8073">#8073</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-not-notation</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/issues/8074">#8074</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-pseudo-class-allowed-list</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/issues/8061">#8061</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-pseudo-class-disallowed-list</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/issues/8062">#8062</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-pseudo-class-no-unknown</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/issues/8063">#8063</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-pseudo-element-allowed-list</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/issues/8068">#8068</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-pseudo-element-colon-notation</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/issues/8069">#8069</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-pseudo-element-disallowed-list</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/issues/8070">#8070</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-pseudo-element-no-unknown</code> false positives for <code>::scroll-marker</code> and <code>::scroll-marker-group</code> (<a href="https://redirect.github.com/stylelint/stylelint/issues/8110">#8110</a>) (<a href="https://github.com/Mouvedia"><code>@Mouvedia</code></a>).</li> <li>Fixed: <code>selector-pseudo-element-no-unknown</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/issues/8071">#8071</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-type-no-unknown</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/issues/8076">#8076</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md">stylelint's changelog</a>.</em></p> <blockquote> <h2>16.11.0</h2> <ul> <li>Added: <code>--report-unscoped-disables</code> CLI flag and <code>reportUnscopedDisables</code> option to Node.js API and configuration object (<a href="https://redirect.github.com/stylelint/stylelint/pull/8024">#8024</a>) (<a href="https://github.com/Mouvedia"><code>@Mouvedia</code></a>).</li> <li>Added: <code>ignoreFunctions: []</code> to <code>media-query-no-invalid</code> (<a href="https://redirect.github.com/stylelint/stylelint/pull/8060">#8060</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Added: <code>name</code> configuration property under <code>overrides</code> (<a href="https://redirect.github.com/stylelint/stylelint/pull/8095">#8095</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>benchmark-rule</code> script to resolve <code>TypeError</code> (<a href="https://redirect.github.com/stylelint/stylelint/pull/8090">#8090</a>) (<a href="https://github.com/ybiquitous"><code>@ybiquitous</code></a>).</li> <li>Fixed: <code>github</code> formatter deprecation warning link to <code>https://stylelint.io/awesome-stylelint#formatters</code> (<a href="https://redirect.github.com/stylelint/stylelint/pull/8115">#8115</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>function-calc-no-unspaced-operator</code> false negatives for <code>calc-size</code> (<a href="https://redirect.github.com/stylelint/stylelint/pull/8026">#8026</a>) (<a href="https://github.com/azat-io"><code>@azat-io</code></a>).</li> <li>Fixed: <code>max-nesting-depth</code> false positives when the <code>&</code> selector is being ignored (<a href="https://redirect.github.com/stylelint/stylelint/pull/8048">#8048</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>media-feature-name-value-no-unknown</code> false positives for <code>display-mode: picture-in-picture</code> (<a href="https://redirect.github.com/stylelint/stylelint/pull/8136">#8136</a>) (<a href="https://github.com/Mouvedia"><code>@Mouvedia</code></a>).</li> <li>Fixed: <code>no-irregular-whitespace</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/pull/8066">#8066</a>) (<a href="https://github.com/romainmenke"><code>@romainmenke</code></a>).</li> <li>Fixed: <code>selector-attribute-name-disallowed-list</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/pull/8037">#8037</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-attribute-operator-allowed-list</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/pull/8038">#8038</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-attribute-operator-disallowed-list</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/pull/8039">#8039</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-class-pattern</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/pull/8042">#8042</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-combinator-allowed-list</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/pull/8046">#8046</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-combinator-disallowed-list</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/pull/8047">#8047</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-disallowed-list</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/pull/8067">#8067</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-id-pattern</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/pull/8045">#8045</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-max-attribute</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/pull/8052">#8052</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-max-class</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/pull/8053">#8053</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-max-combinators</code> reported-ranges (<a href="https://redirect.github.com/stylelint/stylelint/pull/8055">#8055</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-max-compound-selectors</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/pull/8056">#8056</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-max-id</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/pull/8054">#8054</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-max-pseudo-class</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/pull/8057">#8057</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-max-specificity</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/pull/8058">#8058</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-max-universal</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/pull/8059">#8059</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-nested-pattern</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/pull/8072">#8072</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-no-vendor-prefix</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/pull/8073">#8073</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-not-notation</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/pull/8074">#8074</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-pseudo-class-allowed-list</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/pull/8061">#8061</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-pseudo-class-disallowed-list</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/pull/8062">#8062</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-pseudo-class-no-unknown</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/pull/8063">#8063</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-pseudo-element-allowed-list</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/pull/8068">#8068</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-pseudo-element-colon-notation</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/pull/8069">#8069</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-pseudo-element-disallowed-list</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/pull/8070">#8070</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-pseudo-element-no-unknown</code> false positives for <code>::scroll-marker</code> and <code>::scroll-marker-group</code> (<a href="https://redirect.github.com/stylelint/stylelint/pull/8110">#8110</a>) (<a href="https://github.com/Mouvedia"><code>@Mouvedia</code></a>).</li> <li>Fixed: <code>selector-pseudo-element-no-unknown</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/pull/8071">#8071</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> <li>Fixed: <code>selector-type-no-unknown</code> reported ranges (<a href="https://redirect.github.com/stylelint/stylelint/pull/8076">#8076</a>) (<a href="https://github.com/ryo-manba"><code>@ryo-manba</code></a>).</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
bd1324cc42 |
Remove @eslint/js dependency. Already installed with eslint in deep (#3636)
I lint my modules and just see this: `@eslint/js` is now not needed. it's installed by `eslint` it self |
||
|
15baffdede |
Adapt to "Keep a Changelog" (#3634)
- Adapt heading and description to "Keep a Changelog" guideline v1.1.0 - Add missing links at the end - with this, users can click on the version number to see the diffs (I think this was intended from the beginning) - Fix two bare URLs ## The link fix Before (the link on the version number doesn't work):  After (the link on the version number works):  |
||
|
bd620e0061 |
Enhance compliments remote file with refresh support (#3630)
add support to refresh the compliments remotefile add testcases for both without refresh (testcase missing) and with refresh doc to be updated |
||
|
f1522da153 |
Fix eslint ignores (#3633)
This will fix #3632. |
||
|
56cb536df1 |
add support for test mode detection in modulename.js via index.html (#3631)
in some cases the modulename.js may need to detect running in test mode (compliments pr #3630) window.name is not set web mode add a new field to the index.html window.intest and use the server_function to replace the hard coded string like we do for window.mmversion=#VERSION# then change the two test helpers to set the env variable app.js detects and sets global.intest=true server func replace with value of global.intest then module can use if(window.intest) |
||
|
4259d7c075 |
updatenotification: some fixes (#3628)
continue from #3626 Is it ok for you ? |
||
|
cd6f10c843 |
PM2 Fix (again): add pm2_env.unique_id checking and cleaning (#3626)
#3605 : new purpose code with `pm2_env.unique_id` checking |
||
|
b250cfa0ee |
Bump croner from 8.1.2 to 9.0.0 in /vendor (#3614)
Bumps [croner](https://github.com/hexagon/croner) from 8.1.2 to 9.0.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/hexagon/croner/releases">croner's releases</a>.</em></p> <blockquote> <h2>9.0.0</h2> <h2>Croner 9.0.0</h2> <p>This major release brings significant changes to Croner, improving consistency, fixing bugs, and modernizing the codebase.</p> <h3>Changes</h3> <ul> <li> <p><strong>Bug Fixes:</strong></p> <ul> <li>Fixed an issue where "every X seconds" crons would fail with a "maximum call stack exceeded" error (<a href="https://redirect.github.com/hexagon/croner/issues/260">#260</a>).</li> <li>Fixed an issue where types were not supported when using ES module via <a href="https://jsr.io">jsr.io</a> (<a href="https://redirect.github.com/hexagon/croner/issues/258">#258</a>).</li> </ul> </li> <li> <p><strong>API Changes:</strong></p> <ul> <li>The <code>new</code> keyword is now mandatory when instantiating Croner (e.g., <code>new Cron(/* ... */)</code>).</li> <li>The default export has been removed. You now need to use <code>import { Cron } from 'croner';</code> or <code>const { Cron } = require('croner');</code>.</li> </ul> </li> <li> <p><strong>File Structure Changes</strong> <em>(relevant for direct file access)</em>:</p> <ul> <li>All files in the <code>/dist</code> directory are now minified. <code>croner.min.js</code> has been renamed to <code>croner.js</code>.</li> <li>Typings have been moved from <code>/types</code> to <code>/dist</code>.</li> <li>Only the <code>/src</code> directory is exposed in the jsr module <a href="https://jsr.io/@hexagon/croner">jsr.io/<code>@hexagon/croner</code></a>.</li> </ul> </li> <li> <p><strong>Codebase Modernization:</strong></p> <ul> <li>The entire codebase has been migrated from JavaScript with JSDoc to TypeScript.</li> <li>Deno is now used for formatting, type checking, and linting, resulting in a cleaner and more maintainable repository. Esbuild is used to build the <a href="https://www.npmjs.com/package/croner">npm module</a> and typings.</li> </ul> </li> </ul> <p><strong>Upgrade Notice:</strong></p> <p>Due to the API and file structure changes, upgrading from 8.x to 9.x may require modifications to your existing code. Please review the above changes carefully before migrating.</p> <h2>9.0.0-dev.12</h2> <ul> <li>Test new release workflow</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
7e6349c093 |
Fix compliments croner (#3625)
croner changed the filename we need to use in the latest version fix the alias table in vendor/vendor.js fixes #3624 |
||
|
6ce3622c61 |
Add spelling check to GitHub workflow (#3623)
Besides updating cspell and handling spelling issues, the important change is adding the spelling check to the GitHub workflow. I'm not sure if it will bother us too much when people create PRs. But I wanted to give it a try. Or do you have any other ideas on how we can run the spelling check on a regular basis? |
||
|
0aae771799 |
Update dependencies reported by Dependabot (#3621)
... maybe we should group those dependabot PRs someday (see https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#groups) --------- Co-authored-by: veeck <gitkraken@veeck.de> |
||
|
9114aefecc |
fix missing basePath (#3620)
fixes #3613 wanted to write a test for `basePath` but have no idea at the moment to simulate this without a reverse proxy. Here my test setup for documentation: ```yaml networks: proxy: driver: bridge services: socket-proxy: privileged: true image: tecnativa/docker-socket-proxy:edge container_name: socket-proxy restart: unless-stopped volumes: - /var/run/docker.sock:/var/run/docker.sock:ro environment: CONTAINERS: 1 ports: - "127.0.0.1:2375:2375" networks: - proxy traefik: image: traefik:latest container_name: traefik restart: unless-stopped user: 1000:1000 command: - "--providers.docker=true" - "--providers.docker.network=traefik_proxy" - "--providers.docker.endpoint=tcp://socket-proxy:2375" - "--entryPoints.http.address=:80" - "--global.sendAnonymousUsage=false" - "--log.level=INFO" - "--api=true" - "--api.dashboard=true" # - "--accessLog=true" # - "--accesslog.fields.defaultmode=keep" # - "--accesslog.fields.headers.defaultmode=keep" networks: - proxy ports: - "80:80" magicmirror: image: karsten13/magicmirror:develop container_name: mm restart: unless-stopped entrypoint: - sleep - infinity networks: - proxy labels: - "traefik.http.services.karsten13.loadbalancer.server.port=8080" - "traefik.http.routers.k13-http.service=karsten13" - "traefik.http.routers.k13-http.entrypoints=http" - "traefik.http.routers.k13-http.rule=Host(`localhost`) && PathPrefix(`/testbasepath`)" - "traefik.http.middlewares.k13-stripprefix.stripprefix.prefixes=/testbasepath" - "traefik.http.routers.k13-http.middlewares=k13-stripprefix" ``` |
||
|
399e2ae1da |
[updatenotification] Fix pm2 using detection when pm2 script is inside or outside MagicMirror root folder (#3605)
This will fix #3576 @FrankBlackMG: I don't use `*env.unique_id` because some others modules can use pm2 too for starting a service and unique_id is the same (this will make confusion) So I check `name` and `pm_id` for found it |
||
|
c96326b760 |
Cleanup testcases that had hard coded Date() values which override the testcase runner (#3601)
cleanup testcases with hard coded Date settings after #3597 |
||
|
cfa5c0d127 |
fix electron tests mocking dates (#3599)
fixes #3597 Changes: - electron tests: add mocking to `electron.js` for mocking the server side, before only the browser side was mocked - publish "/tests/configs" and "/tests/mocks" always in `server.js`, this reverts a change done with latest release, we need this for debugging (otherwise you get on the screen that your config has errors but config check is successful ...) - revert hotfix in `tests/configs/modules/calendar/show-duplicates-in-calendar.js` - fix `tests/configs/modules/calendar/custom.js` to allow events in the past (~~I don't know how this could work before~~ when testing css classes `yesterday` and `dayBeforeYesterday` --> it worked before because the server side did not mock and therefore was not in the past) |
||
|
6946b49977 |
Fixtestcase calendar testcase failure (#3596)
fix calendar testcase failing after date change (exposes helper failure) |
||
|
aa7e856170 |
Add wayland and windows start options (#3594)
This PR adds start options for Wayland and Windows. This would solve issue #3582. **To Do if this PR is merged:** - [ ] Adjust [Windows section](https://docs.magicmirror.builders/getting-started/installation.html#windows) in documentation - [ ] Add Wayland section to the documentation |
||
|
b54fc08da7 |
Add npm publishing step to release process (#3595)
so that the npm version also stays in sync and https://github.com/MagicMirrorOrg/MagicMirror/issues/2876 can be closed for good |
||
|
0f024cff4e | Run and test with node 23 (#3588) | ||
|
fff31068ab |
Re-add eslint-plugin-import (#3586)
eslint-plugin-import was missing since the switch to [v9](https://github.com/MagicMirrorOrg/MagicMirror/pull/3558). They finally [support](https://github.com/import-js/eslint-plugin-import/pull/2996) it so we can re-add it. |
||
|
3d1e8ab849 |
add address and ipWhitelist to all test configs (#3585)
All test configs have been updated to allow full external access, allowing for easier debugging (especially when running as a container) |
||
|
1b80e87563 |
[core] test electron v32 and electron rebuild (#3584)
test deps: nan v2.22.0 and electron v32 |
||
|
7489e51a67 |
Change default for weatherEndpoint according to API 3.0 (#3583)
since API 3.0 is default, weatherEndpoint should be set to "/onecall" Fixes #3574 ATTENTION: since lat / lon defaults to 0 / 0, the weather plugins works after this patch, but shows the weather from https://de.wikipedia.org/wiki/Null_Island if lat / lon is not manually set. --------- Co-authored-by: Karsten Hassel <hassel@gmx.de> Co-authored-by: Pedro Lamas <pedrolamas@gmail.com> |
||
|
0130dc45ab |
stale workflow: increase operations-per-run (default=30) so that all … (#3581)
…issues can be processed |
||
|
c7dcf542cf | allow manually running stale workflow (#3580) | ||
|
961bae637c |
[core] add try / catch on mode_helper loading (#3578)
When a library is missing on an 3rd party module, MM² stop loading and display a black screen. (I'm sure it's happened to everyone.) So, I have added a try/catch block and it's avoid black screen, display errors and allow continue loading with next module |
||
|
f51fbe39c4 |
reactivated stale.yaml as github action (#3577)
The old `stale.yaml` seems not to work anymore, so I set up the same content in a new github workflow. I think we should use it again to get rid of old issues. |
||
|
f91340ceca |
Bump helmet from 7.1.0 to 8.0.0 (#3570)
Bumps [helmet](https://github.com/helmetjs/helmet) from 7.1.0 to 8.0.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/helmetjs/helmet/blob/main/CHANGELOG.md">helmet's changelog</a>.</em></p> <blockquote> <h2>8.0.0</h2> <h3>Changed</h3> <ul> <li><strong>Breaking:</strong> <code>Strict-Transport-Security</code> now has a max-age of 365 days, up from 180</li> <li><strong>Breaking:</strong> <code>Content-Security-Policy</code> middleware now throws an error if a directive should have quotes but does not, such as <code>self</code> instead of <code>'self'</code>. See <a href="https://redirect.github.com/helmetjs/helmet/issues/454">#454</a></li> <li><strong>Breaking:</strong> <code>Content-Security-Policy</code>'s <code>getDefaultDirectives</code> now returns a deep copy. This only affects users who were mutating the result</li> <li><strong>Breaking:</strong> <code>Strict-Transport-Security</code> now throws an error when "includeSubDomains" option is misspelled. This was previously a warning</li> </ul> <h3>Removed</h3> <ul> <li><strong>Breaking:</strong> Drop support for Node 16 and 17. Node 18+ is now required</li> </ul> <h2>7.2.0 - 2024-09-28</h2> <h3>Changed</h3> <ul> <li><code>Content-Security-Policy</code> middleware now warns if a directive should have quotes but does not, such as <code>self</code> instead of <code>'self'</code>. This will be an error in future versions. See <a href="https://redirect.github.com/helmetjs/helmet/issues/454">#454</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
0eafa19096 |
Bump eslint-plugin-jsdoc from 50.3.0 to 50.3.1 (#3571)
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 50.3.0 to 50.3.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/gajus/eslint-plugin-jsdoc/releases">eslint-plugin-jsdoc's releases</a>.</em></p> <blockquote> <h2>v50.3.1</h2> <h2><a href="https://github.com/gajus/eslint-plugin-jsdoc/compare/v50.3.0...v50.3.1">50.3.1</a> (2024-10-01)</h2> <h3>Bug Fixes</h3> <ul> <li><strong><code>check-alignment</code>:</strong> handle zero indent; fixes <a href="https://redirect.github.com/gajus/eslint-plugin-jsdoc/issues/1322">#1322</a> (<a href=" |
||
|
ee98a0c7e5 |
[UpdateNotification] Fix pm2 using detection when pm2 script is in MagicMirror root folder (#3576)
I discover this bug: When pm2 `sh` script is on MagicMirror root folder, updatenotification is not able to detect pm2 using ``` 0|MagicMirror | [2024-10-02 17:23:09.215] [DEBUG] Version Compare: 2.30.0-develop 2.30.0-develop --> true 0|MagicMirror | [2024-10-02 17:23:09.216] [DEBUG] Status: online 0|MagicMirror | [2024-10-02 17:23:09.216] [DEBUG] PM2 MagicMirror starting from Path: /home/bugsounet/MagicMirror-dev 0|MagicMirror | [2024-10-02 17:23:09.216] [DEBUG] MagicMirror Path /home/bugsounet/MagicMirror-dev/ 0|MagicMirror | [2024-10-02 17:23:09.216] [DEBUG] Compare: false 0|MagicMirror | [2024-10-02 17:23:09.216] [INFO] updatenotification: [PM2] You are not using pm2 ``` |
||
|
4c7c859ae6 |
[Electron rebuild] Removed node-pty and drivelist from rebuilded test (#3575)
Related to #3573 I think it's better to keep new library node-libgpiod for testing (library to manage RPI gpio for pir sensor management) and delete others Only one test is better |
||
|
d1be92a426 | Prepare v2.30.0-develop | ||
|
15a934641d | Merge remote-tracking branch 'origin/master' into develop | ||
|
94c3c699e8 |
Release 2.29.0 (#3568)
## [2.29.0] - 2024-10-01 Thanks to: @bugsounet, @dkallen78, @jargordon, @khassel, @KristjanESPERANTO, @MarcLandis, @rejas, @ryan-d-williams, @sdetweil, @skpanagiotis. > ⚠️ This release needs nodejs version `v20` or `v22`, minimum version is `v20.9.0` ### Added - [compliments] Added support for cron type date/time format entries mm hh DD MM dow (minutes/hours/days/months and day of week) see https://crontab.cronhub.io for construction (#3481) - [core] Check config at every start of MagicMirror² (#3450) - [core] Add spelling check (cspell): `npm run test:spelling` and handle spelling issues (#3544) - [core] removed `config.paths.vendor` (could not work because `vendor` is hardcoded in `index.html`), renamed `config.paths.modules` to `config.foreignModulesDir`, added variable `MM_CUSTOMCSS_FILE` which - if set - overrides `config.customCss`, added variable `MM_MODULES_DIR` which - if set - overrides `config.foreignModulesDir`, added test for `MM_MODULES_DIR` (#3530) - [core] elements are now removed from `index.html` when loading script or stylesheet files fails - [core] Added `MODULE_DOM_UPDATED` notification each time the DOM is re-rendered via `updateDom` (#3534) - [tests] added minimal needed node version to tests (currently v20.9.0) to avoid releases with wrong node version info - [tests] Added `node-libgpiod` library to electron-rebuild tests (#3563) ### Removed - [core] removed installer only files (#3492) - [core] removed raspberry object from systeminformation (#3505) - [linter] removed `eslint-plugin-import`, because it doesn't support ESLint v9. We will reenter it later when it does. - [tests] removed `onoff` library from electron-rebuild tests (#3563) ### Updated - [weather] Updated `apiVersion` default from 2.5 to 3.0 (#3424) - [core] Updated dependencies including stylistic-eslint - [core] nail down `node-ical` version to `0.18.0` with exception `allow-ghsas: GHSA-8hc4-vh64-cxmj` in `dep-review.yaml` (which should removed after next `node-ical` update) - [core] Updated SocketIO catch all to new API - [core] Allow custom modules positions by scanning index.html for the defined regions, instead of hard coded (PR #3518 fixes issue #3504) - [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 ### Fixed - Fixed `checks` badge in README.md - [weather] Fixed issue with the UK Met Office provider following a change in their API paths and header info. - [core] add check for node_helper loading for multiple instances of same module (#3502) - [weather] Fixed issue for respecting unit config on broadcasted notifications - [tests] Fixes calendar test by moving it from e2e to electron with fixed date (#3532) - [calendar] fixed sliceMultiDayEvents getting wrong count and displaying incorrect entries, Europe/Berlin (#3542) - [tests] ignore `js/positions.js` when linting (this file is created at runtime) - [calendar] fixed sliceMultiDayEvents showing previous day without config enabled --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Michael Teeuw <michael@xonaymedia.nl> Co-authored-by: Kristjan ESPERANTO <35647502+KristjanESPERANTO@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ross Younger <crazyscot@gmail.com> Co-authored-by: Veeck <github@veeck.de> Co-authored-by: Bugsounet - Cédric <github@bugsounet.fr> Co-authored-by: jkriegshauser <joshuakr@nvidia.com> Co-authored-by: illimarkangur <116028111+illimarkangur@users.noreply.github.com> Co-authored-by: sam detweiler <sdetweil@gmail.com> Co-authored-by: vppencilsharpener <tim.pray@gmail.com> Co-authored-by: veeck <michael.veeck@nebenan.de> Co-authored-by: Paranoid93 <6515818+Paranoid93@users.noreply.github.com> Co-authored-by: Brian O'Connor <btoconnor@users.noreply.github.com> Co-authored-by: WallysWellies <59727507+WallysWellies@users.noreply.github.com> Co-authored-by: Jason Stieber <jrstieber@gmail.com> Co-authored-by: jargordon <50050429+jargordon@users.noreply.github.com> Co-authored-by: Daniel <32464403+dkallen78@users.noreply.github.com> Co-authored-by: Ryan Williams <65094007+ryan-d-williams@users.noreply.github.com> Co-authored-by: Panagiotis Skias <panagiotis.skias@gmail.com> Co-authored-by: Marc Landis <dirk.rettschlag@gmail.com>v2.29.0 |