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
jimtng and GitHub
7177759791
Add IntervalConditionHandler ( #4583 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au >
2025-02-15 16:53:22 +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
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 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
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
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
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
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
Wouter Born and GitHub
db72021460
Update Eclipse files ( #4514 )
...
Signed-off-by: Wouter Born <github@maindrain.net >
2024-12-24 07:02:47 +01:00
Wouter Born and GitHub
9f0b8d48fe
Revert LinkedTransferQueue high CPU usage workaround ( #4499 )
...
Reverts the workaround #3756 that was introduced for JDK-8301341 because it is fixed in OpenJDK 21
Signed-off-by: Wouter Born <github@maindrain.net >
2024-12-17 00:46:30 +01:00
Holger Friedrich and GitHub
8d837f9823
Prepare for OH 5.0.0 ( #4496 )
...
* Prepare for OH 5.0.0
* Switch to 5.0.0-SNAPSHOT
* Fix spotless after unleash
* resolve itest runbundles
* Fix linux-specific pom
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2024-12-15 18:49:23 +01:00
openhab-bot
0f2e56f39d
[unleash-maven-plugin] Preparation for next development cycle.
2024-12-15 11:41:19 +00:00
Jacob Laursen and GitHub
b31ff66bba
[core] Switch DateTimeType to Instant internally for consistent time-zone handling ( #3583 )
...
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk >
2024-12-08 16:06:29 +01:00
Wouter Born and GitHub
297d54ed52
Upgrade Jollyday to 0.35.1 ( #4471 )
...
Upgrades Jollyday from 0.32.0 to 0.35.1.
For release notes, see:
* https://github.com/focus-shift/jollyday/releases/tag/v0.33.0
* https://github.com/focus-shift/jollyday/releases/tag/v0.34.0
* https://github.com/focus-shift/jollyday/releases/tag/v0.35.0
* https://github.com/focus-shift/jollyday/releases/tag/v0.35.1
Signed-off-by: Wouter Born <github@maindrain.net >
2024-12-03 21:30:59 +01:00
Wouter Born and GitHub
fa29f52a99
Update bnd to 7.1.0 ( #4464 )
...
For release notes, see:
https://github.com/bndtools/bnd/wiki/Changes-in-7.1.0
Signed-off-by: Wouter Born <github@maindrain.net >
2024-11-30 21:31:35 +01:00
Holger Friedrich and GitHub
660102e3f9
Upgrade XStream to 1.4.21 ( #4457 )
...
* Upgrade XStream from 1.4.20 to 1.4.21, fixes CVE-2024-47072.
See changelog at https://x-stream.github.io/changes.html#1.4.21
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2024-11-18 23:34:06 +01:00
Wouter Born and GitHub
9eef587c89
Upgrade Jollyday to 0.32.0 ( #4403 )
...
Upgrades Jollyday from 0.30.0 to 0.32.0.
For release notes, see:
https://github.com/focus-shift/jollyday/releases/tag/v0.31.0
https://github.com/focus-shift/jollyday/releases/tag/v0.32.0
Signed-off-by: Wouter Born <github@maindrain.net >
2024-10-05 17:19:46 +02:00
Holger Friedrich and Wouter Born
22eec8c593
Upgrade Xtext/Xtend to 2.36.0
...
* Upgrade Xtext/Xtend from 2.35.0 to 2.36.0, see release notes:
https://eclipse.dev/Xtext/releasenotes.html#/releasenotes/2024/08/25/version-2-36-0
https://eclipse.dev/Xtext/xtend/releasenotes.html#/releasenotes/2024/08/25/version-2-36-0
* Upgrade dependencies
* Guava from 33.2.0 to 33.3.0
* Classgraph from 4.8.172 to 4.8.174
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2024-10-05 10:46:40 +02:00
lolodomo and GitHub
b8b3ec9df0
Add a new optional input parameter to discovery services ( #4389 )
...
Signed-off-by: Laurent Garnier <lg.hc@free.fr >
2024-09-29 14:08:29 +02:00
Kai Kreuzer and GitHub
b3f710372d
Upgrade to JmDNS 3.5.12 ( #4337 )
...
Also-by: Holger Friedrich <mail@holger-friedrich.de >
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2024-09-07 09:21:00 +02:00
Wouter Born and GitHub
76597838c4
Fix itests on machines with lots of processors ( #4349 )
...
Signed-off-by: Wouter Born <github@maindrain.net >
2024-08-15 22:37:21 +02:00
Wouter Born and GitHub
5eedd273ba
Upgrade Jollyday to 0.30.0 ( #4343 )
...
Upgrades Jollyday from 0.28.1 to 0.30.0.
For release notes, see:
https://github.com/focus-shift/jollyday/releases/tag/v0.30.0
Signed-off-by: Wouter Born <github@maindrain.net >
2024-08-11 20:14:32 +02:00
Cody Cutrer and GitHub
716045a174
Support lists for metadata properties in items files ( #4330 )
...
Signed-off-by: Cody Cutrer <cody@cutrer.us >
2024-08-05 23:19:30 +02:00
J-N-K and GitHub
6f0add09ba
Add missing system profile types and UIDs ( #4320 )
...
* Add missing system profile types and UIDs
Signed-off-by: Jan N. Klug <github@klug.nrw >
2024-07-16 22:52:25 +02:00
Kai Kreuzer and GitHub
21e605d212
Apply spotless after release, resolve bundles ( #4301 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2024-07-07 23:22:27 +02:00
openhab-bot
07e23eac3c
[unleash-maven-plugin] Preparation for next development cycle.
2024-07-07 16:05:56 +00:00
GiviMAD and GitHub
2e77bbc6f9
[voice] Avoid text concatenation on speech recognition errors ( #4278 )
...
* [voice] Remove recognition error extra text and skip empty
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com >
2024-06-23 23:06:19 +02:00
Holger Friedrich and GitHub
ea71af9ead
Upgrade Xtext to 2.35.0 ( #4264 )
...
* Upgrade Xtext from 2.35.0.M1 to 2.35.0 final release, see release notes:
https://eclipse.dev/Xtext/releasenotes.html#/releasenotes/2024/05/28/version-2-35-0
* Upgrade dependencies
* Guava from 33.1.0 to 33.2.0
* Lsp4j from 0.22.0 to 0.23.1
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2024-06-01 20:55:32 +02:00
lolodomo and GitHub
a5a7eee9a8
Ephemeris: consider the default weekend dayset ( #4253 )
...
Fix openhab/openhab-addons#16812
Signed-off-by: Laurent Garnier <lg.hc@free.fr >
2024-05-27 22:34:54 +02:00
Holger Friedrich and GitHub
c98c637cf8
Upgrade Jollyday to 0.28.1 ( #4244 )
...
* Upgrade Jollyday from 0.27.0 to 0.28.1.
This release includes the fixed class loader working also in OSGI
setups.
* Upgrade jackson from 2.16.0 to 2.28.1
* Upgrade threeten-extra from 1.7.2 to 1.8.0
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2024-05-24 18:50:49 +02:00
Holger Friedrich and GitHub
873bb53cbc
Upgrade Karaf from 4.4.5 to 4.4.6 ( #4181 )
...
* Upgrade Karaf from 4.4.5 to 4.4.6
* Sync runtime dependencies with Karaf 4.4.6, most notably:
* Jetty 9.4.54.v20240208, addresses CVE-2024-22201
* Pax Logging 2.2.7
* Pax Web 8.0.27
* ASM 9.7
* BouncyCastle 1.77
* Upgrade xtext to 2.35.0.M1
* Resolve itest runbundles
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2024-05-20 17:42:04 +02:00
Gaël L'hopital and GitHub
6887db3b89
Adding UV Index system channel ( #3878 )
...
* Adding UV Index system channel
Signed-off-by: clinique <gael@lhopital.org >
2024-05-20 12:09:52 +02:00
lolodomo and GitHub
1fb949ba8f
Set a default presentation pattern for String/Number/Datetime items ( #4175 )
...
* Set a default presentation pattern for String/Number/Datetime items
A default state pattern was previously provided by ChannelStateDescriptionProvider only for String and Number items linked to a channel.
It is now the class DefaultStateDescriptionFragmentProvider which is responsible for providing the default state pattern for items, whether the item is linked to a channel or not.
This new class is the lowest ranked StateDescriptionFragmentProvider so that all other providers have priority in setting the state pattern.
Default pattern for string item: %s
Default pattern for datetime item or group with datetime state: %1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS
Default pattern for number item or group with number state: %.0f
Default pattern for number+dimension item or group with number+dimension state: %.0f %unit%
Closes #4071
Closes #3835
Signed-off-by: Laurent Garnier <lg.hc@free.fr >
2024-05-02 16:29:35 +02:00
Holger Friedrich and GitHub
c316b07c47
Update plugins ( #4197 )
...
* set minimum Maven version to 3.6.3
* build-helper-maven-plugin, 3.4.0 to 3.5.0, see
https://github.com/mojohaus/build-helper-maven-plugin/releases/tag/3.5.0
* jvnet maven-jaxb2-plugin, 0.15.2 to 0.15.3
* license-maven-plugin, 4.2 to 4.3
* maven-archetype-plugin, 3.0.1 to 3.2.1
* maven-assembly-plugin, 3.4.2 to 3.7.1, see https://github.com/apache/maven-assembly-plugin/releases
* maven-clean-plugin, 3.3.1 to 3.3.2, see https://github.com/apache/maven-clean-plugin/releases
* maven-dependency-plugin, 3.6.0/3.3.0/3.1.1 to 3.6.1, see
https://github.com/apache/maven-dependency-plugin/releases/tag/maven-dependency-plugin-3.6.1
* maven-jar-plugin, 3.3.0 to 3.4.1, see https://github.com/apache/maven-jar-plugin/releases
* maven-javadoc-plugin, 3.6.2 to 3.6.3, see https://github.com/apache/maven-javadoc-plugin/releases
* maven-plugin-plugin, 3.11.0 to 3.12.0, see
https://github.com/apache/maven-plugin-tools/releases/tag/maven-plugin-tools-3.12.0
* maven-shade-pluginm 3.5.2 to 3.5.3
* maven-source-plugin, 3.3.0 to 3.3.1
* maven-surefire-plugin, 3.1.2 to 3.2.5, see https://github.com/apache/maven-surefire/releases
* sortpom-maven-plugin, 3.3.0 to 3.4.1, see https://github.com/Ekryd/sortpom/releases
* spotless-maven-plugin, 2.38.0 to 2.43.0, see
https://github.com/diffplug/spotless/blob/main/plugin-maven/CHANGES.md
* openhab 18n-maven-plugin, 4.0.2 to 4.1.2
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2024-04-27 09:34:39 +02:00
Wouter Born and GitHub
dc17296e07
Upgrade Jollyday to 0.27.0 ( #4178 )
...
Upgrades Jollyday from 0.23.2 to 0.27.0.
For release notes, see:
https://github.com/focus-shift/jollyday/releases
Signed-off-by: Wouter Born <github@maindrain.net >
2024-04-14 22:20:55 +02:00
Holger Friedrich and GitHub
3850599163
Upgrade to Karaf 4.4.5 and Xtext 2.34 ( #4133 )
...
* Upgrade to Karaf 4.4.5 and Xtext 2.34
Upgrade Karaf from 4.4.4 to 4.4.5:
* Sync runtime dependencies with Karaf 4.4.5, most notably:
* Jetty 9.4.53.v20231009
* JNA 5.14.0
* Pax Logging 2.2.6
* Pax Web 8.0.24
* ASM 9.6
* Resolve itest runbundles
Upgrade Xtext from 2.32 to 2.34
* Sync depencencies, most notably:
* Guava 33.0.0
* classgraph 4.8.165 changing provider to io.github.classgraph
* Migrate old Xtext generator xtext.generator to xtext.xtext.generator
as xtext.generator has been removed from Xtext, affecting
org.openhab.core.model.lazygen
* resolve runbundles
* Remove org.openhab.core.model.lazygen
No longer in use since 2017, see eclipse-archived/smarthome#4122 .
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2024-03-17 09:41:15 +01:00
joerg1985 and GitHub
094e4a6e04
[rest] stream json without starting a new thread ( #4136 )
...
Signed-off-by: Jörg Sautter <joerg.sautter@gmx.net >
2024-03-10 09:46:39 +01:00
Florian Hotze and GitHub
81805ae6d9
[rest] Set editable for members of an item ( #4118 )
...
* [rest] Set editable for members of an item
Required by the UI.
Signed-off-by: Florian Hotze <florianh_dev@icloud.com >
2024-03-03 10:14:32 +01:00
J-N-K and GitHub
a27d241290
Fix itests not running ( #4091 )
...
Why do unresolved tests result in "No error" instead of "Failed"?
Signed-off-by: Jan N. Klug <github@klug.nrw >
2024-02-13 22:00:46 +01:00
Wouter Born and GitHub
85056d9d7b
Some more code cleanup ( #4021 )
...
This cleanup includes:
* Use enhanced for loops
* Use text blocks
* Use Objects.equals
* Fix some typos
* Remove redundant variable initialization
* Remove redundant null checks with instanceof
* Remove redundant thrown Exceptions
* Remove redundant empty String concatenation
Signed-off-by: Wouter Born <github@maindrain.net >
2024-02-04 11:17:55 +01:00
dependabot[bot] and GitHub
d994c136db
Bump com.jayway.jsonpath:json-path from 2.8.0 to 2.9.0 in /bom/test ( #4059 )
...
Bumps [com.jayway.jsonpath:json-path](https://github.com/jayway/JsonPath ) from 2.8.0 to 2.9.0.
- [Release notes](https://github.com/jayway/JsonPath/releases )
- [Changelog](https://github.com/json-path/JsonPath/blob/master/changelog.md )
- [Commits](https://github.com/jayway/JsonPath/compare/json-path-2.8.0...json-path-2.9.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-04 10:18:12 +01:00
lolodomo and GitHub
a9571228d2
Remove state description when loading an item with a removed pattern ( #4068 )
...
* Remove state description when loading an item with a removed pattern
Fix openhab/openhab-webui#2251
Signed-off-by: Laurent Garnier <lg.hc@free.fr >
* Extended integration test testSquareBracketsInFormat
Signed-off-by: Laurent Garnier <lg.hc@free.fr >
---------
Signed-off-by: Laurent Garnier <lg.hc@free.fr >
2024-01-27 18:00:56 +01:00
Wouter Born and GitHub
6495f4e256
Upgrade Jollyday to 0.23.2 ( #4033 )
...
Upgrades Jollyday 0.5.10 (de.jollyday) to 0.23.2 of a more actively maintained fork (de.focus-shift).
* This adds many missing holidays.
* Also removes the workaround for the Danish Great Prayer Day introduced by #3573 .
For release notes, see:
https://github.com/focus-shift/jollyday/releases
Fixes #3544
Signed-off-by: Wouter Born <github@maindrain.net >
2024-01-14 15:19:15 +01:00
Jacob Laursen and GitHub
6b2182dec6
Refactor java.util.Date usages to java.time.Instant ( #4026 )
...
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk >
2024-01-07 20:51:46 +01:00
Kai Kreuzer and GitHub
c4802e3fb0
Upgrade to JmDNS 3.5.9 ( #4015 )
...
For the changelog, see:
https://github.com/jmdns/jmdns/milestone/11?closed=1
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2024-01-05 00:07:41 +01:00