Holger Friedrich and GitHub
b68a58dbe0
Fix tests when having spaces in path ( #5034 )
...
Regression of #4991
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-09-21 14:36:41 +02:00
jimtng and GitHub
7c848bf891
DSL Items Parser: Fix incorrect parsing of keywords encountered in the wrong context ( #4928 )
...
* DSL Items Parser: Fix incorrect parsing of keywords encountered in the wrong context
When specifying tag names that match one of the valid item types, e.g. `Switch`, the parser incorrectly treated it as a new start of an item definition.
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au >
2025-09-21 14:14:24 +02:00
lolodomo and GitHub
00b6a476a7
[REST] New API for conversion between file format and JSON ( #4793 )
...
* [REST] New API for conversion between file format and JSON
Related to #4585
This PR supports conversion of things and items.
It supports DSL and YAML file formats.
A first new API (POST /file-format/create) allows to create a file format (DSL or YAML) from a JSON object.
A second new API (POST /file-format/parse) allows to parse a file format (DSL or YAML) to a JSON object.
These 2 APIs should help Main UI displaying DSL and YAML file formats for things.
Signed-off-by: Laurent Garnier <lg.hc@free.fr >
2025-09-21 11:48:33 +02:00
Andrew Fiddian-Green and GitHub
0f7049347d
Apply blocked task logging to scheduled executor service ( #4969 )
...
* log dead tasks
* do log when tasks are scheduled and/or run
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch >
2025-09-21 11:38:54 +02:00
Mark Herwege and GitHub
32f08c2a28
Persistence extensions query optimization ( #4967 )
...
* remove double query to persistence
* call internal method
* remove double calls to now
Signed-off-by: Mark Herwege <mark.herwege@telenet.be >
2025-09-20 21:26:30 +02:00
lolodomo and GitHub
9c6d304b7d
Fix enabling/disabling of addons suggestors at OH startup ( #5020 )
...
Before this fix, the AddonSuggestionService service was started and an incomplete configuration was considered, a configuration containing none of the user settings defining if each suggestion finder should be enabled or disabled.
Later, when AddonFinderService service was added, the same incomplete configuration was reused.
Signed-off-by: Laurent Garnier <lg.hc@free.fr >
2025-09-20 20:54:34 +02:00
Mark Herwege and GitHub
75ceb0fcd0
Fix persistence extensions test reliability ( #4964 )
...
* Fix persistence extensions test reliability
* remove now dependency from irregular timespans tests
Signed-off-by: Mark Herwege <mark.herwege@telenet.be >
2025-09-16 22:07:01 +02:00
Nadahar and GitHub
44a9bb3280
Marketplace fixes ( #4929 )
...
* Remove forum compatibility range from add-on title
* Fix and unify error handling of missing content in community marketplace add-on handlers
Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com >
2025-09-16 22:02:03 +02:00
Gwendal Roulleau and GitHub
e993cd8972
Details cause message in ui transformation when a script is the cause. ( #5028 )
...
Use ScripProfile.java (executeScript) method as a reference.
Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com >
2025-09-16 21:46:33 +02:00
dependabot[bot] and GitHub
ab76c6b33b
Bump org.apache.groovy:groovy-all from 4.0.28 to 5.0.1 ( #5026 )
...
Bumps [org.apache.groovy:groovy-all](https://github.com/apache/groovy ) from 4.0.28 to 5.0.1.
- [Commits](https://github.com/apache/groovy/commits )
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-15 18:50:59 +02:00
dependabot[bot] and GitHub
50c0cf3404
Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.3 to 3.5.4 ( #5024 )
...
Bumps [org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire ) from 3.5.3 to 3.5.4.
- [Release notes](https://github.com/apache/maven-surefire/releases )
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.5.3...surefire-3.5.4 )
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-15 18:47:54 +02:00
dependabot[bot] and GitHub
f2bb57281e
Bump org.apache.maven.plugins:maven-shade-plugin from 3.6.0 to 3.6.1 ( #5025 )
...
Bumps [org.apache.maven.plugins:maven-shade-plugin](https://github.com/apache/maven-shade-plugin ) from 3.6.0 to 3.6.1.
- [Release notes](https://github.com/apache/maven-shade-plugin/releases )
- [Commits](https://github.com/apache/maven-shade-plugin/compare/maven-shade-plugin-3.6.0...v3.6.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-15 18:45:37 +02:00
Nadahar and GitHub
e39fb12112
Make REST endpoints accept more logger name characters ( #4983 )
...
Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com >
2025-09-14 16:56:16 +02:00
jimtng and GitHub
f8cb21efcc
RulesDSL: Fix DateTimeItem trigger's offset ( #5015 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au >
2025-09-14 16:46:08 +02:00
Cody Cutrer and GitHub
5f72352a59
Pass event source to profiles ( #4990 )
...
So that a user can define a profile that takes different
actions depending on what's generating the command.
Signed-off-by: Cody Cutrer <cody@cutrer.us >
2025-09-14 16:39:21 +02:00
Mark Herwege and GitHub
31b43bc566
Persistence extensions: fix potential infinite loop ( #5018 )
...
* fix potential eternal loop on empty peristence
* tests
Signed-off-by: Mark Herwege <mark.herwege@telenet.be >
2025-09-10 20:54:05 +02:00
Holger Friedrich and GitHub
b535d22d4d
Upgrade Mockito to 5.19, junit-jupiter to 5.13.4 ( #4991 )
...
* Upgrade Mockito from 4.11 to 5.19.
Changelog: https://github.com/mockito/mockito/releases
* Upgrade junit-jupiter from 5.11.4 to 5.13.4
Changelog: https://docs.junit.org/5.13.4/release-notes
* Add workaround to allow junit-jupiter>=5.12 with OSGI
* Activate javaagent for tests to avoid JDK warnings
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-09-09 18:58:31 +02:00
dependabot[bot] and GitHub
49b48e1812
Bump org.eclipse.jdt:ecj from 3.41.0 to 3.43.0 ( #5014 )
...
Bumps [org.eclipse.jdt:ecj](https://github.com/eclipse-jdt/eclipse.jdt.core ) from 3.41.0 to 3.43.0.
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-08 00:53:04 +02:00
dependabot[bot] and GitHub
25f9a1111e
Bump actions/stale from 9 to 10 ( #5013 )
...
Bumps [actions/stale](https://github.com/actions/stale ) from 9 to 10.
- [Release notes](https://github.com/actions/stale/releases )
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/stale/compare/v9...v10 )
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-07 22:13:00 +02:00
Holger Friedrich and GitHub
81e3a05614
Simplify switch statements, Java 21 ( #5012 )
...
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-09-07 19:54:05 +02:00
Nadahar and GitHub
adfa286a3a
Fix network interface configuration option enumeration ( #5006 )
...
Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com >
2025-09-07 18:51:51 +02:00
Florian Hotze and GitHub
dc48fb8527
[automation] Skip pre-compilation if rule engine not yet started ( #5001 )
...
Signed-off-by: Florian Hotze <dev@florianhotze.com >
2025-09-07 15:16:33 +02:00
Дилян Палаузов and GitHub
961de1a2ca
Remove all super(); calls ( #5009 )
...
by calling:
sed -i "/super();/d" $(git grep -l "super();")
2025-09-07 13:17:48 +02:00
Holger Friedrich and GitHub
459064fe5b
Upgrade hivemq-mqtt-client to 1.3.9 ( #5005 )
...
* Upgrade hivemq-mqtt-client from 1.3.7 to 1.3.9,
changelog:
https://github.com/hivemq/hivemq-mqtt-client/releases/tag/v1.3.8
https://github.com/hivemq/hivemq-mqtt-client/releases/tag/v1.3.9
* Upgrade netty from 4.1.122 to 4.1.126,
changelog:
https://netty.io/news/2025/07/16/4-1-123-Final.html
https://netty.io/news/2025/08/13/4-1-124-Final.html
https://netty.io/news/2025/09/03/4-1-126-Final.html
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-09-07 10:52:25 +02:00
lolodomo and GitHub
ebd6b06d75
[YAML config] Fix YAML loading to handle elements in file original order ( #5010 )
...
Change the implementation of the method listToMap
Signed-off-by: Laurent Garnier <lg.hc@free.fr >
2025-09-05 20:38:29 +02:00
Holger Friedrich and GitHub
b7c742f95b
Upgrade io.methvin.directory-watcher to 0.19.1 ( #5003 )
...
* Upgrade io.methvin.directory-watcher from 0.18.0 to 0.19.1
Changelog:
https://github.com/gmethvin/directory-watcher/compare/v0.18.0...v0.19.1
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-09-03 18:44:17 +02:00
Holger Friedrich and GitHub
74a08d89e2
Upgrade Eclipse Equinox dependencies ( #4986 )
...
* Upgrade Eclipse Equinox dependencies
* Upgrade org.eclipse.equinox.metatype from 1.4.500 to 1.6.400
* Upgrade org.eclipse.equinox.event from 1.6.200 to 1.6.300
* Upgrade org.eclipse.equinox.log.stream from 1.1.100 to 1.1.200
* Upgrade org.osgi.util.pushstream from 1.0.0 to 1.1.0
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
* Resolve
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
---------
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-09-03 18:26:15 +02:00
Holger Friedrich and GitHub
088b0576e2
Fix LSP after xtend upgrade ( #5000 )
...
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-09-01 18:30:21 +02:00
Holger Friedrich and GitHub
25adeb1e4d
Upgrade jmdns to 3.6.2 ( #5002 )
...
Upgrades jmdns from 3.6.1 to 3.6.2.
Changelogs:
https://github.com/jmdns/jmdns/releases/tag/v3.6.2
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-09-01 18:29:30 +02:00
lolodomo and GitHub
c787ce953a
[REST] Fix version number in YAML examples ( #4978 )
...
Signed-off-by: Laurent Garnier <lg.hc@free.fr >
2025-08-31 12:36:23 +02:00
lolodomo and GitHub
69d4c83991
Fix USB discovery on Windows in case there is no USB port ( #4996 )
...
Fix #4993
Signed-off-by: Laurent Garnier <lg.hc@free.fr >
2025-08-31 11:48:49 +02:00
Holger Friedrich and GitHub
7d8aca474b
Upgrade Xtext/Xtend to 2.40 ( #4981 )
...
* Upgrade Xtext/Xtend to 2.40
* Upgrade Xtext/Xtend from 2.39 to 2.40
* Upgrade gson from 2.11.0 to 2.13.1
* Upgrade classgraph 4.8.176 to 4.8.180
* Change repo from org.eclipse.xtend to org.eclipse.xtext
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
* Add error_prone_annotations as dependency for gson
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
---------
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-08-30 16:00:22 +02:00
Holger Friedrich and GitHub
3d0ec786d0
Upgrade Units of Measurement dependencies ( #4979 )
...
Upgrades UoM dependencies to:
* si-units 2.2.3
* use osgiified si-quantity 2.2.3
* indriya 2.2.3
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-08-30 15:59:00 +02:00
Holger Friedrich and GitHub
264c5284fe
Use felix.http.servlet-api 1.2.0 ( #4963 )
...
* Use felix.http.servlet-api 1.2.0
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
* Exclude conflicting dependency on tomcat
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
---------
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-08-30 15:58:00 +02:00
Holger Friedrich and GitHub
c8ce7daa2b
Downgrade eclipse.osgi to 3.18.0 ( #4985 )
...
This was updated to a wrong version in #4932 .
Downgrade from 3.19.0 to 3.18.0 to sync with Karaf 4.4.8.
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-08-30 15:57:18 +02:00
Holger Friedrich and GitHub
cdcf96fb5c
Upgrade commons-net to 3.12.0 ( #4982 )
...
* Upgrade commons-net to 3.12.0
Upgrade commons-net from 3.11.1 to 3.12.0, see changelog:
https://commons.apache.org/proper//commons-net/changes.html#a3.12.0
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
* Add dependency to feature
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
---------
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-08-30 15:56:28 +02:00
Holger Friedrich and GitHub
7ae821947b
Upgrade i18n-maven-plugin to 5.0.1 ( #4984 )
...
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-08-30 15:55:51 +02:00
Holger Friedrich and GitHub
d3e2d9c527
Upgrade servicemix.specs.annotation-api to 1.3_3 ( #4987 )
...
* Upgrade org.apache.servicemix.specs.annotation-api-1.3 from 1.3_1 to
1.3_3, in sync with Karaf.
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-08-30 15:55:24 +02:00
Holger Friedrich and GitHub
02804f8f8e
Upgrade jmdns to 3.6.1 ( #4997 )
...
Upgrades jmdns from 3.5.12 to 3.6.1.
Changelogs:
https://github.com/jmdns/jmdns/releases/tag/3.6.0
https://github.com/jmdns/jmdns/releases/tag/3.6.1
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-08-30 15:45:31 +02:00
lolodomo and GitHub
478a7deb63
YAML config: enhance hashCode() and add new unit tests ( #4941 )
...
Reduce potential collisions in hashCode()
Make identical a null list/set and an empty list/set
Test hashCode in addition to equals in unit tests.
Add new tests for YamlItemDTO (equals/hashCode)
Related to #4936
Signed-off-by: Laurent Garnier <lg.hc@free.fr >
2025-08-24 18:55:13 +02:00
Holger Friedrich and Wouter Born
f7e07bdda3
Upgrade netty to 4.1.122 to adapt to hivemq
...
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-08-24 12:57:43 +02:00
Holger Friedrich and Wouter Born
ae98bb11b0
Revert "Upgrade hivemq-mqtt-client to 1.3.8 ( #4968 )"
...
This reverts commit f23304e3d9 .
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-08-24 12:57:43 +02:00
Nadahar and GitHub
8537a1b822
Reintroduce a check with scriptEngineManager if the script type is supported before attempting to compile it ( #4971 )
...
It was removed in 8154dce3076d56df5e1d87b2fd465c8232f7cba1 (#4922 ) and might be causing the logging of errors during startup, as reported in #4965 .
Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com >
2025-08-24 08:22:29 +02:00
dependabot[bot] and GitHub
73c9cbd763
Bump actions/setup-java from 4 to 5 ( #4970 )
...
Bumps [actions/setup-java](https://github.com/actions/setup-java ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-java/releases )
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-23 00:36:36 +02:00
Holger Friedrich and GitHub
f23304e3d9
Upgrade hivemq-mqtt-client to 1.3.8 ( #4968 )
...
Upgrade hivemq-mqtt-client from 1.3.7 to 1.3.8.
Changelog:
https://github.com/hivemq/hivemq-mqtt-client/releases/tag/v1.3.8
Upgrades transitive dependency Dagger from 2.27 to 2.42.
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-08-22 07:21:47 +02:00
Wouter Born and GitHub
c4360f3353
Revert "* Add ItemChannelLinkRegistry to DefaultScriptScopeProvider so it can…" ( #4966 )
...
This reverts commit 91d21a1a83 .
2025-08-21 09:24:29 +02:00
Dan Cunningham and GitHub
4783cd9831
[rules actions] Add new HTTP actions for images ( #4961 )
...
* [rules actions] Add new HTTP actions for images
This adds new functions for downloading images to image Items. This is usefull for exposing images to push notifications, updating album art, showing camera snapshots in the Main UI, etc...
I went back and forth if this was a new action space, or part of the HTTP actions, in the end i think it belongs as additional HTTP actions (since it also mostly wraps HTTPUtils.java)
Signed-off-by: Dan Cunningham <dan@digitaldan.com >
2025-08-20 20:47:11 +02:00
Holger Friedrich and GitHub
acd186e892
Upgrade hivemq-mqtt-client to 1.3.7 ( #4958 )
...
Upgrade hivemq-mqtt-client from 1.3.5 to 1.3.7.
Changelog:
https://github.com/hivemq/hivemq-mqtt-client/releases/tag/v1.3.7
https://github.com/hivemq/hivemq-mqtt-client/releases/tag/v1.3.6
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-08-19 22:42:15 +02:00
Holger Friedrich and GitHub
bfbcce5449
Upgrade cxf to 3.6.8 ( #4950 )
...
Upgrade cxf from 3.6.5 to 3.6.8
Find the list of relevant changes here:
https://github.com/apache/cxf/blob/3.6.x-fixes/distribution/src/main/release/release_notes.txt
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-08-19 22:41:33 +02:00
Holger Friedrich and GitHub
bc671efaa6
Upgrade Swagger to 2.2.35 ( #4962 )
...
Follow-up to incomplete PR #4957 .
Upgrade Swagger from 2.2.28 to 2.2.35.
For changelog, see https://github.com/swagger-api/swagger-core/releases/tag/v2.2.35
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-08-18 19:15:14 +02:00