Andrew Fiddian-Green and GitHub
5b28e6feb6
Fix group calculations to use GroupItem's system unit ( #4563 )
...
* QuantityType improve group calculations
* support inverse units, extend tests
* refactoring
* javadoc and code simplification
* use streams; make sums absolute
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch >
2025-02-15 17:52:44 +01:00
jimtng and GitHub
3a30c7a44a
Call unregisterCommand instead of registerCommand ( #4596 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au >
2025-02-15 17:29:44 +01:00
Arne Seime and GitHub
fe9af132aa
Rule Template installation fixes ( #4591 )
...
* Fix file based rule templates
* Add YAML Template parser
* Refactor marketplace rule template parsing
* Prevent file system access for WatchService DELETE events
Trying to check if deleted files are hidden, are readable or are directories will result in IOExceptions on many file systems, so that no action will be taken for deletions.
Signed-off-by: Arne Seime <arne.seime@gmail.com >
2025-02-15 17:28:46 +01:00
Mark Herwege and GitHub
3018a8b0f1
Persistence extensions, calculate QuantityType sums in absolute values ( #4575 )
...
* make persistence sum calculations absolute
* correct units for variance and deviation quantity type calculations
Signed-off-by: Mark Herwege <mark.herwege@telenet.be >
2025-02-15 17:15:39 +01:00
jimtng and GitHub
7177759791
Add IntervalConditionHandler ( #4583 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au >
2025-02-15 16:53:22 +01:00
Mark Herwege and GitHub
38a13807ee
Fix comparing QuantityType with inverted dimensions ( #4571 )
...
* fix comparing inverted dimensions
* remove tolerance
* use BigDecimal in comparison
* remove comparing inverted dimensions
* equals, add tests
Signed-off-by: Mark Herwege <mark.herwege@telenet.be >
2025-02-15 16:49:37 +01:00
Gaël L'hopital and GitHub
b5f862c543
Enabling the usage of records for configuration files. ( #4508 )
...
Signed-off-by: gael@lhopital.org <gael@lhopital.org >
2025-02-15 16:45:16 +01:00
Gaël L'hopital and GitHub
8e597bde76
Adding null annotations to config.core.internal.normalization ( #4505 )
...
* Adding null annotations to config.core.internal.normalization
Signed-off-by: gael@lhopital.org <gael@lhopital.org >
2025-02-15 16:36:26 +01:00
Andrew Fiddian-Green and GitHub
f66720a30e
add toString method ( #4592 )
...
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch >
2025-02-15 16:33:09 +01:00
jimtng and GitHub
aa6d82e786
Revert "Fix addon name localisation before installation ( #3908 )" ( #4573 )
...
* Revert "Fix addon name localisation before installation (#3908 )"
This reverts commit 708a954081
but with some modifications
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au >
2025-02-15 16:32:17 +01:00
Chris Jackson and GitHub
07616d150f
Update logger to provide history and improve performance ( #4570 )
...
Signed-off-by: Chris Jackson <chris@cd-jackson.com >
2025-02-15 16:27:43 +01:00
Holger Friedrich and GitHub
52e1185e41
Fix Xtend warnings ( #4578 )
...
* Fix Xtend warnings
* Remove unused imports and unnecessary private modifiers
* Use === when comparing to null
* Replace deprecated initializeLater
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-02-15 16:24:48 +01:00
Holger Friedrich and GitHub
ab870d73df
Reduce SAT warnings ( #4567 )
...
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-02-15 16:23:24 +01:00
Florian Hotze and GitHub
4ec2b3c457
Add topic filter for event WebSocket ( #4550 )
...
* Add topic filter for event WebSocket
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-02-15 16:20:41 +01:00
Holger Friedrich and GitHub
0d84485623
Dependency upgrades: californium, cxf, junit, swagger ( #4584 )
...
* Upgrade swagger to 2.2.28
* Upgrade swagger from 2.2.15 to 2.2.28
For changelog, see https://github.com/swagger-api/swagger-core/releases
* Upgrade javassist from 3.29.2-GA to 3.30.2-GA
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
* Upgrade cxf to 3.6.5
* Upgrade cxf from 3.6.4 to 3.6.5
Find the list of relevant changes here:
https://github.com/apache/cxf/blame/3.6.x-fixes/distribution/src/main/release/release_notes.txt
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
* Upgrade junit to 5.11.4
* Upgrade junit from 5.10.0 to 5.11.4
* Upgrade junit-platform-* from 1.10.0 to 1.11.4
Release notes: https://junit.org/junit5/docs/5.11.4/release-notes/
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
* Upgrade californium to 4.0.0-M2
* Upgrade californium from 2.7.4 to 4.0.0-M2
* Replace special OH built net.i2p.crypto.eddsa by BouncyCastle
* Upgrade slf4j from 2.0.12 to 2.0.16
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
* Upgrade hamcrest to 3.0
* Upgrade hamcrest from 2.2 to 3.0
Release notes: https://github.com/hamcrest/JavaHamcrest/releases/tag/v3.0
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
---------
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-02-13 15:23:21 +01:00
Gaël L'hopital and GitHub
94bd3fcf7c
Some non null annotations ( #4486 )
...
Signed-off-by: Gaël L'hopital <gael@lhopital.org >
2025-02-09 14:55:45 +01:00
Nadahar and GitHub
d3cfba562b
Fix managed transformations retrieval ( #4574 )
2025-02-05 15:15:03 +01:00
Holger Friedrich and GitHub
7b85d6d175
Fix version of fasterxml.woodstox ( #4581 )
...
* Add wstx version matching cxf 3.x
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-01-28 23:46:43 +01:00
Andrew Fiddian-Green and GitHub
fb5ecab356
IP addon finder mac address format tweak ( #4481 )
...
* mac address format tweaks
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch >
2025-01-27 22:48:10 +01:00
Holger Friedrich and Wouter Born
6764b6d94c
Upgrade Xtext/Xtend to 2.37.0
...
* Upgrade Xtext/Xtend from 2.36.0 to 2.37.0, see release notes:
https://eclipse.dev/Xtext/releasenotes.html#/releasenotes/2024/11/19/version-2-37-0
https://eclipse.dev/Xtext/xtend/releasenotes.html#/releasenotes/2024/11/19/version-2-37-0
* Upgrade dependencies
* ecj from 3.36.0 to 3.39.0
* gson from 2.10.1 to 2.11.0
* classgraph to 4.8.176
* guava from 3.33.0 to 3.33.1
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-01-26 15:15:29 +01:00
Holger Friedrich and Wouter Born
4da70a2ed8
Upgrade Karaf from 4.4.6 to 4.4.7
...
* Sync runtime dependencies with Karaf 4.4.7, most notably:
* PaxWeb 8.0.30
* Jetty 9.4.57.v20241219
* BouncyCastle 1.78.1
* CXF 3.6.4
* Jackson 2.18.2
* JNA 5.16.0
* JAXB 2.3.9
* commons-io 2.17.0
* commons-lang3 3.17.0
* XBean 4.26
* ASM 9.7.1
* PaxLogging 2.2.8
* Resolve itest runbundles
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-01-26 15:15:29 +01:00
Holger Friedrich and Wouter Born
e94a3fefa3
Revert "Start spifly early ( #4526 )"
...
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-01-26 15:15:29 +01:00
Holger Friedrich and GitHub
7548f26db6
Remove RegistryHook ( #4568 )
...
Remove RegistryHook which is not longer used. Remove related methods
from ItemRegistry and ItemUiRegistry.
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-01-26 14:55:08 +01:00
Wouter Born and GitHub
ce374252fa
Upgrade Jollyday to 1.4.0 ( #4566 )
...
Upgrades Jollyday from 0.35.1 to 1.4.0.
For release notes, see:
https://github.com/focus-shift/jollyday/releases
Signed-off-by: Wouter Born <github@maindrain.net >
2025-01-19 13:35:33 +01:00
Vita and GitHub
6922d60fd9
Extends updateThing method warning message. ( #4558 )
...
Fixes #4557
Signed-off-by: Vita Tucek <vita.tucek@seznam.cz >
2025-01-19 12:19:09 +01:00
Wouter Born and GitHub
25cd39cd18
Upgrade JUPnP to 3.0.3 ( #4565 )
...
Upgrades JUPnP from 3.0.1 to 3.0.3.
For release notes, see:
* https://github.com/jupnp/jupnp/releases/tag/3.0.2
* https://github.com/jupnp/jupnp/releases/tag/3.0.3
Signed-off-by: Wouter Born <github@maindrain.net >
2025-01-19 12:13:29 +01:00
Gaël L'hopital and GitHub
15eb5cccd3
Clear warnings in org.openhab.core.id ( #4498 )
...
Signed-off-by: Gaël L'hopital <gael@lhopital.org >
2025-01-14 21:52:34 +01:00
Chris Jackson and GitHub
1b203d1b79
Avoid stack overflow - don't log a message within the log handler ( #4556 )
...
* Avoid stack overflow - don't log a message within the log handler
Signed-off-by: Chris Jackson <chris@cd-jackson.com >
* Don't log error
Signed-off-by: Chris Jackson <chris@cd-jackson.com >
---------
Signed-off-by: Chris Jackson <chris@cd-jackson.com >
2025-01-14 09:07:25 +01:00
Mark Herwege and GitHub
9ad83bada4
Remove calls to deprecated URL constructor ( #4551 )
...
Signed-off-by: Mark Herwege <mark.herwege@telenet.be >
2025-01-12 22:18:10 +01:00
jimtng and GitHub
229d87263f
Improve cron exception handling ( #4553 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au >
2025-01-11 09:14:54 +01:00
Dan Cunningham and GitHub
f8d34d9882
Ensure sitemap subscriptions are updated on Group Items ( #4552 )
...
Signed-off-by: Dan Cunningham <dan@digitaldan.com >
2025-01-11 08:41:05 +01:00
Mark Herwege and GitHub
6dffaa6a8c
HttpUtil: fix invalid URI ( #4546 )
...
Signed-off-by: Mark Herwege <mark.herwege@telenet.be >
2025-01-11 00:47:47 +01:00
jimtng and GitHub
a7b8c1a9b3
Prevent infinite loop in CronAdjuster with invalid date combinations ( #4548 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au >
2025-01-11 00:39:20 +01:00
Wouter Born and GitHub
f00c7700cb
Start license headers with /* instead of /** ( #4544 )
...
Prevents JavaDoc tooling issues because these tools check comments starting with `/**`.
Signed-off-by: Wouter Born <github@maindrain.net >
2025-01-07 21:48:56 +01:00
Wouter Born and GitHub
97eeb7bc34
Upgrade SAT to 0.17.0 ( #4543 )
...
For release notes, see:
https://github.com/openhab/static-code-analysis/releases/tag/0.17.0
Signed-off-by: Wouter Born <github@maindrain.net >
2025-01-07 20:32:20 +01:00
Holger Friedrich and GitHub
98552a4d88
Upgrade plugins ( #4537 )
...
* exec-maven-plugin to 3.5.0
https://github.com/mojohaus/exec-maven-plugin/releases
* maven-dependency-plugin to 3.8.1
* maven-plugin-plugin to 3.15.1
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-01-07 18:22:30 +01:00
Holger Friedrich and GitHub
7ae5d7aae8
Fix JavaDoc output directory ( #4541 )
...
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-01-07 08:22:45 +01:00
Holger Friedrich and GitHub
40d079ae80
Java 21 language features ( #4535 )
...
* Java 21 language features
* use getFirst and getLast methods
* replace new Locale by Locale.of
* replace Paths.get by Path.of
* use ThreadLocalRandom.current().nextDouble()
* add @Serial annotations
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-01-06 23:22:43 +01:00
Florian Hotze and GitHub
f8fdd66f78
[websocket] Change EventWebSocketAdapter adapter id to events ( #4540 )
...
This is aligns the event WS name with the SSE events endpoint.
This is a breaking change for clients that have explicitly used `/ws/event-subscriber` instead of the default `/ws`.
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-01-06 19:57:55 +01:00
Gaël L'hopital and GitHub
13eeea96e8
Another warning hunting session ( #4484 )
...
* Another warning hunting session, focusing on Potential null pointer access
Signed-off-by: Gaël L'hopital <gael@lhopital.org >
2025-01-06 18:49:45 +01:00
Holger Friedrich and GitHub
1e0b3c2410
Upgrade plugins ( #4536 )
...
* sortpom-maven-plugin to 4.0.0 (breaking change)
https://github.com/Ekryd/sortpom?tab=readme-ov-file#news
* maven-clean-plugin to 3.4.0
https://github.com/apache/maven-clean-plugin/releases/tag/maven-clean-plugin-3.4.0
* maven-deploy-plugin to 3.1.3
https://github.com/apache/maven-deploy-plugin/releases/tag/maven-deploy-plugin-3.1.3
* maven-enforcer-plugin to 3.5.0
https://github.com/apache/maven-enforcer/releases
* maven-install-plugin to 3.1.3
https://github.com/apache/maven-install-plugin/releases
* maven-plugin-plugin to 3.15.1
* license-maven-plugin to 4.6
https://github.com/mathieucarbou/license-maven-plugin/releases
* maven-jar-plugin to 3.4.2
https://github.com/apache/maven-jar-plugin/releases/tag/maven-jar-plugin-3.4.2
* maven-archetype-plugin to 3.3.1
* maven-dependency-plugin to 3.8.1
* maven-javadoc-plugin to 3.11.2
* maven-release-plugin to 3.1.1
* maven-shade-plugin to 3.6.0
* maven-site-plugin to 3.21.0
* maven-surefire-plugin to 3.5.2
* build-helper-maven-plugin
https://github.com/mojohaus/build-helper-maven-plugin/releases/tag/3.6.0
* i18n-maven-plugin to latest OH release 4.3.1
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-01-04 09:48:42 +01:00
Wouter Born and GitHub
979e4a7409
Update license headers to 2025 ( #4532 )
...
Signed-off-by: Wouter Born <github@maindrain.net >
2025-01-01 16:40:04 +01:00
Florian Hotze and GitHub
cb4d4b8c74
Item triggers: Suggest using conditions that for comparing Item state ( #4530 )
...
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2024-12-31 17:30:56 +01:00
Florian Hotze and GitHub
25ca43d165
[websocket] Support token authentication through header ( #4515 )
...
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2024-12-31 17:00:40 +01:00
Jacob Laursen and GitHub
139a2e20a1
Remove deprecated DateTimeType methods toLocaleZone and toZone ( #4522 )
...
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk >
2024-12-31 12:50:51 +01:00
jimtng and GitHub
321d3a5f04
Add sharedCache and privateCache to file-based RulesDSL ( #4525 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au >
2024-12-31 12:39:24 +01:00
J-N-K and GitHub
fe730b3918
Fix config normalization in addon configuration ( #4528 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw >
2024-12-31 08:44:31 +01:00
Jacob Laursen and GitHub
1a91ef2b44
Enhance DateTimeType to parse ZonedDateTime with time-zone ID ( #4516 )
...
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk >
2024-12-29 12:42:06 +01:00
Florian Hotze and GitHub
7a61dc4b5b
Start spifly early ( #4526 )
...
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2024-12-28 18:35:13 +01:00
jimtng and GitHub
8b68aa7441
Clean up arguments after executing Script Transformation ( #4524 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au >
2024-12-28 12:28:36 +01:00