Skip to content

Commit 518e986

Browse files
Merge branch 'develop' into weather_errors
2 parents c0a84c5 + 2194ffd commit 518e986

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+1687
-1461
lines changed

.github/dependabot.yaml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,3 @@ updates:
1818
- "Skip Changelog"
1919
- "dependencies"
2020
- "javascript"
21-
22-
- package-ecosystem: "npm"
23-
directory: "/vendor"
24-
schedule:
25-
interval: "monthly"
26-
target-branch: "develop"
27-
labels:
28-
- "Skip Changelog"
29-
- "dependencies"
30-
- "javascript"
31-
32-
- package-ecosystem: "npm"
33-
directory: "/fonts"
34-
schedule:
35-
interval: "monthly"
36-
target-branch: "develop"
37-
labels:
38-
- "Skip Changelog"
39-
- "dependencies"
40-
- "javascript"

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ coverage
1010
.lock-wscript
1111
build/Release
1212
/node_modules/**/*
13-
fonts/node_modules/**/*
14-
vendor/node_modules/**/*
1513
!/tests/node_modules/**/*
1614
jspm_modules
1715
.npm
@@ -67,6 +65,8 @@ Temporary Items
6765
/css/*
6866
!/css/custom.css.sample
6967
!/css/main.css
68+
!/css/roboto.css
69+
!/css/font-awesome.css
7070

7171
# Ignore users config file but keep the sample.
7272
/config/*

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,26 @@ planned for 2025-07-01
3131
- Switch Stylelint config to flat format and simplify Stylelint scripts
3232
- [workflow] Replace Node.js version v23 with v24 (#3770)
3333
- [refactor] Replace deprecated constants `fs.F_OK` and `fs.R_OK` (#3789)
34+
- [refactor] Replace `ansis` with built-in function `util.styleText` (#3793)
35+
- [core] Integrate stuff from `vendor` and `fonts` folders into main `package.json`, simplifies install and maintaining dependencies (#3795, #3805)
36+
- [l10n] Complete translations (with the help of translation tools) (#3794)
37+
- [refactor] Refactored `calendarfetcherutils` in Calendar module to handle timezones better (#3806)
38+
- Removed as many of the date conversions as possible
39+
- Use `moment-timezone` when calculating recurring events, this will fix problems from the past with offsets and DST not being handled properly
40+
- Added some tests to test the behavior of the refactored methods to make sure the correct event dates are returned
3441

3542
### Fixed
3643

3744
- [fix] Handle spellcheck issues (#3783)
3845
- [calendar] fix fullday event rrule until with timezone offset (#3781)
3946
- [feat] Add rule `no-undef` in config file validation to fix #3785 (#3786)
4047
- [fonts] Fix `roboto.css` to avoid error message `Unknown descriptor 'var(' in @font-face rule.` in firefox console (#3787)
48+
- [tests] Fix and refactor e2e test `Same keys` in `translations_spec.js` (#3809)
4149
- [weather] Add error handling to fetch functions including cors (#3791)
4250

4351
### Updated
4452

45-
- [core] Update dependencies incl. electron to v36 (#3774, #3788)
53+
- [core] Update dependencies including electron to v36 (#3774, #3788)
4654

4755
## [2.31.0] - 2025-04-01
4856

cspell.config.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@
5252
"dkallen",
5353
"drivelist",
5454
"DTEND",
55+
"DTSTAMP",
56+
"DTSTART",
5557
"Duffman",
5658
"earlman",
5759
"easyas",
@@ -107,6 +109,7 @@
107109
"jsonlint",
108110
"jupadin",
109111
"kaennchenstruggle",
112+
"Kalenderwoche",
110113
"kenzal",
111114
"Keyport",
112115
"khassel",
@@ -244,6 +247,6 @@
244247
"Ybbet",
245248
"yearmatchgroup"
246249
],
247-
"ignorePaths": ["node_modules/**", "modules/**", "vendor/node_modules/**", "translations/**", "tests/mocks/**", "tests/e2e/modules/clock_es_spec.js", "fonts/roboto.css"],
250+
"ignorePaths": ["node_modules/**", "modules/**", "translations/**", "tests/mocks/**", "tests/e2e/modules/clock_es_spec.js", "css/roboto.css"],
248251
"dictionaries": ["node"]
249252
}
File renamed without changes.

fonts/roboto.css renamed to css/roboto.css

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

fonts/package-lock.json

Lines changed: 0 additions & 35 deletions
This file was deleted.

fonts/package.json

Lines changed: 0 additions & 17 deletions
This file was deleted.

index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212

1313
<link rel="icon" href="data:;base64,iVBORw0KGgo=" />
1414
<link rel="stylesheet" type="text/css" href="css/main.css" />
15-
<link rel="stylesheet" type="text/css" href="fonts/roboto.css" />
16-
<link rel="stylesheet" type="text/css" href="vendor/node_modules/animate.css/animate.min.css" />
15+
<link rel="stylesheet" type="text/css" href="css/roboto.css" />
16+
<link rel="stylesheet" type="text/css" href="node_modules/animate.css/animate.min.css" />
1717
<!-- custom.css is loaded by the loader.js to make sure it's loaded after the module css files. -->
1818

1919
<script type="text/javascript">
@@ -42,10 +42,10 @@
4242
</div>
4343
<div class="region fullscreen above"><div class="container"></div></div>
4444
<script type="text/javascript" src="socket.io/socket.io.js"></script>
45-
<script type="text/javascript" src="vendor/node_modules/nunjucks/browser/nunjucks.min.js"></script>
45+
<script type="text/javascript" src="node_modules/nunjucks/browser/nunjucks.min.js"></script>
4646
<script type="text/javascript" src="js/defaults.js"></script>
4747
<script type="text/javascript" src="#CONFIG_FILE#"></script>
48-
<script type="text/javascript" src="vendor/vendor.js"></script>
48+
<script type="text/javascript" src="js/vendor.js"></script>
4949
<script type="text/javascript" src="modules/default/defaultmodules.js"></script>
5050
<script type="text/javascript" src="modules/default/utils.js"></script>
5151
<script type="text/javascript" src="js/logger.js"></script>

js/check_config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const path = require("node:path");
22
const fs = require("node:fs");
3+
const { styleText } = require("node:util");
34
const Ajv = require("ajv");
4-
const colors = require("ansis");
55
const globals = require("globals");
66
const { Linter } = require("eslint");
77

@@ -61,7 +61,7 @@ function checkConfigFile () {
6161
);
6262

6363
if (errors.length === 0) {
64-
Log.info(colors.green("Your configuration file doesn't contain syntax errors :)"));
64+
Log.info(styleText("green", "Your configuration file doesn't contain syntax errors :)"));
6565
validateModulePositions(configFileName);
6666
} else {
6767
let errorMessage = "Your configuration file contains syntax errors :(";
@@ -112,7 +112,7 @@ function validateModulePositions (configFileName) {
112112

113113
const valid = validate(data);
114114
if (valid) {
115-
Log.info(colors.green("Your modules structure configuration doesn't contain errors :)"));
115+
Log.info(styleText("green", "Your modules structure configuration doesn't contain errors :)"));
116116
} else {
117117
const module = validate.errors[0].instancePath.split("/")[2];
118118
const position = validate.errors[0].instancePath.split("/")[3];

0 commit comments

Comments
 (0)