Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Release 2.23.0 #3078

Merged
merged 96 commits into from
Apr 4, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
7694d6f
Prepare 2.22.0-develop
MichMich Oct 1, 2022
f04d578
improve tests (#2923)
khassel Oct 4, 2022
8212d30
fix(weather/smhi) Correctly reference apparent temp method (#2931)
SkySails Oct 4, 2022
ce4906d
Add test in compliments module for remotFile option (#2932)
rejas Oct 4, 2022
f434be3
Update da.json (#2930)
rejas Oct 6, 2022
a86e27a
Added fetchWeatherHourly functionality to Weather.gov provider (#2933)
dWoolridge Oct 6, 2022
d5e855d
Use fetch instead of XMLHttpRequest in weatherprovider (#2935)
rejas Oct 6, 2022
21ae79b
weathergov.js: Removed weatherEndpoint definition (#2936)
dWoolridge Oct 7, 2022
a328ce5
Cleanup test directory (#2937)
rejas Oct 7, 2022
85a9f14
Added css class names "today" and "tomorrow" for calendar (#2939)
retroflex Oct 11, 2022
1eb2965
Ensure updatenotification module isn't shown when local is *ahead* of…
dariom Oct 12, 2022
7bbf8c1
Wait till all node_helper are started before finishing startup (#2928)
rejas Oct 13, 2022
835c893
Support for configuring FontAwesome class in calendar-module: (#2949)
MagMar94 Oct 16, 2022
fc59ed2
Convert moment(..., "X") to moment.unix(...) (#2950)
rejas Oct 16, 2022
ad4dbd7
added new electron tests supporting date mocking (#2947)
khassel Oct 17, 2022
7bd9443
fix cors problems with newsfeed articles (#2940)
khassel Oct 17, 2022
64ed5a5
Add error handling to node_helper startup sequence (#2945)
rejas Oct 19, 2022
2d3940a
Use metric units internally in all weatherproviders (#2849)
rejas Oct 24, 2022
dde8860
Make sure smhi provider api only gets a maximimum of 6 digits coordin…
rejas Oct 24, 2022
c191ff0
Refactor common weather methods into utils class (#2958)
rejas Oct 28, 2022
f79d3f0
Cleanup jest config (#2959)
rejas Oct 28, 2022
00bc6eb
Add dependency review action (#2862)
naveensrinivasan Oct 28, 2022
7058fc5
Update dependencies (#2960)
rejas Oct 28, 2022
f25abfd
Make the e2e tests wait for the app to start and close before running…
buxxi Oct 29, 2022
3879949
Switch back to third party fetch lib for all node versions (#2961)
rejas Oct 29, 2022
4d47c08
Support HTTP headers with CORS-method (#2957)
MagMar94 Oct 30, 2022
4fecffc
Add Collaboration.md (#2954)
khassel Oct 31, 2022
0b01e9d
Fix jsdoc error
Nov 6, 2022
b9b7d2c
Add option to remove "x-frame-options" and "content-security-policy" …
Tom-Hirschberger Nov 7, 2022
bd0b3c0
New weather provider: Yr.no (#2948)
MagMar94 Nov 8, 2022
abbae90
update dependencies: electron to v22, fix playwright to v1.27.1 (#2976)
khassel Dec 8, 2022
eee289a
Only add clock type wrappers to DOM when they are used (#2971)
rejas Dec 10, 2022
a262444
Cleanup compliments module (#2965)
rejas Dec 10, 2022
3124b0a
Replace `…` with `…` (#2973)
KristjanESPERANTO Dec 10, 2022
2fec314
improve electron tests (avoid errors in github workflows) (#2977)
khassel Dec 12, 2022
76d9042
update playwright to v1.29.1 and other dependencies (#2980)
khassel Dec 22, 2022
e9be668
Added a WeatherProvider for Open-Meteo (#2964)
angeldeejay Dec 26, 2022
0ebedd0
Prepare Release 2.22.0
MichMich Jan 1, 2023
cd739b6
Merge branch 'master' into develop
MichMich Jan 1, 2023
c99f660
Prepare 2.23.0 develop branch.
MichMich Jan 1, 2023
4fc38bd
Update dependabot action (#2985)
rejas Jan 2, 2023
a975b44
Fix wrong day labels in envcanada forecast (#2992)
rejas Jan 7, 2023
2908c15
Cleanup md files (#2994)
rejas Jan 7, 2023
fc30314
Remove darksky weather provider (#2993)
rejas Jan 7, 2023
7bc91a7
Fix badge status (#2991)
khassel Jan 7, 2023
6e80e5a
Add option to show hourly forecast in increments (#2998)
rejas Jan 10, 2023
877f8ad
Refactor mock-data for weather-tests generation (#3000)
rejas Jan 11, 2023
29e3ec0
added possibility to ignore MagicMirror repo in updatenotification (#…
khassel Jan 12, 2023
d2327d3
removed unneeded (and unwanted) '.' in calendar (#3003)
khassel Jan 14, 2023
8d9f132
add Pirate Weather as new weather provider (#3006)
khassel Jan 15, 2023
c714399
Fix weathergov provider hourly weather forecast (#3011)
rejas Jan 16, 2023
4244c05
Fix calendar.js missing default symbol prefix (#3007)
DaveChild Jan 16, 2023
ee86956
Fix typo into french translation (#3017)
grenagit Jan 21, 2023
cd4ba42
[Alert Module] Fix HTML message (#3018)
grenagit Jan 21, 2023
2e2962d
Fix yr weather direction (#3020)
MagMar94 Jan 21, 2023
67e4dba
Point wind arrow in the direction the wind is flowing (#3022)
MagMar94 Jan 22, 2023
157e74c
added error message if `<modulename>.js` file is missing … (#3015)
khassel Jan 26, 2023
f6dcfb5
Refresh the Calendar DOM every minute (#3016)
psieg Jan 26, 2023
7198ae5
Add (in Alert module) templateName parameter (#3009)
rajniszp Jan 26, 2023
58b9ddc
updatenotification: only notify mm-repo for master if tag present (#3…
khassel Jan 26, 2023
a8dc563
Update weather tests (#3008)
rejas Jan 26, 2023
ed90f05
Fix async node_helper stopping electron start (#3021)
rejas Jan 26, 2023
42d42ef
Prevent electron flashing white screen on startup (#3001)
khassel Jan 26, 2023
bf279d9
Tidy up precipitation (#3023)
MagMar94 Feb 4, 2023
1dc0a0d
Update some tests (#3024)
rejas Feb 6, 2023
4b478a5
Create Thai Language file (#3028)
tomzt Feb 7, 2023
a65ee86
Introduce envsubst for config.js, update deps (#3032)
khassel Feb 12, 2023
e24dfa6
Calendar Module QOL Features and Adjustments (#3033)
CarJem Feb 15, 2023
88c7e42
Enforce PRs to be based against develop branch (#3031)
rejas Feb 16, 2023
65aa1b0
Update coverage and jest settings (#3038)
rejas Feb 16, 2023
81244d9
Update config sample and collab doc (#3039)
rejas Feb 17, 2023
fb22a76
Fix precipitation styles (#3041)
rejas Feb 18, 2023
bf28e63
Move th.json to translations folder (#3043)
KristjanESPERANTO Feb 19, 2023
b08a473
Update stylelint (#3042)
KristjanESPERANTO Feb 19, 2023
390e5d6
Update thai language (#3044)
rejas Feb 20, 2023
6d86ffa
Fix rounding in precipitation percentage (#3045)
rejas Feb 20, 2023
a237691
Show events of a configurable amount of past days (#3046)
Tom-Hirschberger Feb 21, 2023
2b792cd
Convert translator callbacks to async/await (#3048)
rejas Feb 21, 2023
fe0b915
Convert app-start/-stop callbacks to async/await (#3035)
rejas Feb 22, 2023
498b440
Convert module-start to async (#3049)
rejas Feb 22, 2023
b5b6124
Convert load callbacks to async/await (#3050)
rejas Feb 22, 2023
1b2785c
Cleanup more callback things (#3051)
rejas Feb 26, 2023
23ee155
Fixed wind speed units for Open-Meteo Weather Provider (#3054)
angeldeejay Mar 1, 2023
c6db225
set all calendar colums to vertical align top (#3055)
khassel Mar 6, 2023
beea754
Fix empty news feed stopping the feed from ever updating again (#3062)
buxxi Mar 11, 2023
6d77923
fix e2e tests (failed after async changes) (#3063)
khassel Mar 12, 2023
8f8945d
Issue#3064 html alert title message (#3065)
nfogal Mar 19, 2023
d276a7d
Use template literals instead of string concatenation (#3066)
KristjanESPERANTO Mar 19, 2023
ab0876f
Update Eslint config, add new rule and handle issue (#3068)
KristjanESPERANTO Mar 20, 2023
d5395ee
update dependencies and main.css to match new stylelint rules (#3067)
khassel Mar 20, 2023
5f38c53
Revise require imports (#3071)
KristjanESPERANTO Mar 22, 2023
4ef030a
Fix import order in serveronly (#3072)
KristjanESPERANTO Mar 25, 2023
b5a22bc
Add sendNotifications option to clock module (#3059)
rejas Apr 1, 2023
6223584
Add sendNotifications option to clock module (#3059)
rejas Apr 1, 2023
fa40a3e
Prepare release 2.23.0
MichMich Apr 4, 2023
c5a8b85
Merge branch 'master' into develop
MichMich Apr 4, 2023
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
Prev Previous commit
Next Next commit
fix e2e tests (failed after async changes) (#3063)
by running calendar and newsfeed tests last.

Additional change: allow unit tests to run parallel

This is no fix of the real issue of calendar and newsfeed tests but I
moved them to the end of the tests so other tests are not failing
anymore.

There are coming follow up PR's for the real fixes (when I find the
culprits).

With these change we can stay with the async changes done by @rejas and
#3060 is obsolete.
  • Loading branch information
khassel authored Mar 12, 2023
commit 6d779235cf5eb847ee652654820e8b2482e72dfc
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ _This release is scheduled to be released on 2023-04-01._
- Fix precipitation css styles and rounding value
- Fix wrong vertical alignment of calendar title column when wrapEvents is true (#3053)
- Fix empty news feed stopping the reload forever
- Fix e2e tests (failed after async changes) by running calendar and newsfeed tests last

## [2.22.0] - 2023-01-01

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"test:coverage": "NODE_ENV=test jest --coverage -i --verbose false --forceExit",
"test:electron": "NODE_ENV=test jest --selectProjects electron -i --forceExit",
"test:e2e": "NODE_ENV=test jest --selectProjects e2e -i --forceExit",
"test:unit": "NODE_ENV=test jest --selectProjects unit -i --forceExit",
"test:unit": "NODE_ENV=test jest --selectProjects unit",
"test:prettier": "prettier . --check",
"test:js": "eslint 'js/**/*.js' 'modules/default/**/*.js' 'clientonly/*.js' 'serveronly/*.js' 'translations/*.js' 'vendor/*.js' 'tests/**/*.js' 'config/*' --config .eslintrc.json",
"test:css": "stylelint 'css/main.css' 'fonts/*.css' 'modules/default/**/*.css' 'vendor/*.css' --config .stylelintrc.json",
Expand Down
6 changes: 5 additions & 1 deletion tests/utils/test_sequencer.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,16 @@ const TestSequencer = require("@jest/test-sequencer").default;

class CustomSequencer extends TestSequencer {
sort(tests) {
const orderPath = ["unit", "e2e", "electron"];
const orderPath = ["unit", "electron", "e2e"];
return tests.sort((testA, testB) => {
let indexA = -1;
let indexB = -1;
const reg = ".*/tests/([^/]*).*";

// move calendar and newsfeed at the end
if (testA.path.includes("e2e/modules/calendar_spec") || testA.path.includes("e2e/modules/newsfeed_spec")) return 1;
if (testB.path.includes("e2e/modules/calendar_spec") || testB.path.includes("e2e/modules/newsfeed_spec")) return -1;

let matchA = new RegExp(reg, "g").exec(testA.path);
if (matchA.length > 0) indexA = orderPath.indexOf(matchA[1]);

Expand Down