Commit Graph
3421 Commits
Author SHA1 Message Date
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
561e920365 Bump org.eclipse.jdt:ecj from 3.45.0 to 3.46.0 (#5648)
Bumps [org.eclipse.jdt:ecj](https://github.com/eclipse-jdt/eclipse.jdt.core) from 3.45.0 to 3.46.0.
- [Commits](https://github.com/eclipse-jdt/eclipse.jdt.core/commits)

---
updated-dependencies:
- dependency-name: org.eclipse.jdt:ecj
  dependency-version: 3.46.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-13 08:43:28 +02:00
Florian HotzeandGitHub 88f32d79ae [voice] Fix missing defaults in VoiceManagerConfiguration (#5651)
VoiceManagerImpl activates before the `system:voice` config description is available.
This prevents the defaults from the config description being applied.

IMO ConfigDescriptionRegistry should inherit from the Registry interface and allow for listeners, but that is a larger refactoring and for now I prepare that quick fix.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2026-06-12 23:58:21 +02:00
github-actions[bot]andGitHub bf2a5aa1b8 Resolve itest dependencies (#5650) 2026-06-12 23:36:34 +02:00
Florian HotzeandGitHub 19c9c8833e [voice] Provide the semantic model + non-semantic items as context to LLM HLIs (#5643)
Signed-off-by: Florian Hotze <dev@florianhotze.com>
2026-06-12 23:36:04 +02:00
6ad0192975 Rule and RuleTemplate file format conversion (#5572)
* Create ObjectParser and ObjectSerializer interfaces for rules and rule templates

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Embed DSL rule source with the Rule

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Detect shared context DSL rules

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Update YAML DTOs to support serialization

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Create rule converters

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Create rule template YAML converter

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Implement rule and rule template conversion in the REST API

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Handle DSL conditions

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Create check serializability endpoint

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Don't deserialize TemplateState - deduce it from templateUID

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Add GenericEventTrigger to ModuleTypeAliases

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Fix JavaDoc errors

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Allow triggerless DSL rules

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Fix negative indentation issue during DSL formatting

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Add rule configuration to "rule summary"

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Fix rule template REST API schema

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Address review feedback

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Address review feedback

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Handle single digit hour specification during DSL serialization

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Address review comments

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Address review comments

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Apply review suggestion

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Remove seemingly needless import

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Apply review derived fixes

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Review fixes

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Address review formatter feedback

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Fix YAML bundle feature dependency

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

---------

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>
Co-authored-by: Ravi Nadahar <nadahar@rediffmail.com>
2026-06-12 19:49:35 +02:00
openhab-botandGitHub 7b01cb57da New Crowdin updates (#5642)
* New translations languagesupport.properties (Italian)
* New translations voice.properties (Italian)
* New translations tags.properties (French)
* New translations i18n.properties (French)
* New translations messages.properties (French)
* New translations systemprofiles.properties (French)
* New translations languagesupport.properties (French)
* New translations voice.properties (Italian)
* New translations voice.properties (German)
2026-06-12 18:44:35 +02:00
Florian HotzeandGitHub e9715efe49 [voice] Implement LLM tools get state & send command for Items (#5633)
Signed-off-by: Florian Hotze <dev@florianhotze.com>
2026-06-12 15:27:52 +02:00
Mark HerwegeandGitHub 64505fe73a Fix sitemap string serialization (#5646)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2026-06-12 09:43:10 +02:00
3c147e8fe4 [DSL] Add extra commands/abilities to DSL scripts/rules (#5481)
* Add access to various system registries, OSGi instances and the ability to run and enable/disable rules to DSL scripts

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Set required startlevel in ScriptEngineOSGiTest

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Make RuleManager a dynamic reference

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Revert "Set required startlevel in ScriptEngineOSGiTest"

This reverts commit ee8ae1ed198b267c8e2311d9bc025a49be5c8ca9.

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Add additional convenience methods

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Add more overloads

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Fix socket leak

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Reorganize classes and implement extensions

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Complete reorganization

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Add missed JavaDocs

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Fix missed JavaDocs

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Modify implicit imports:

- Remove unnecessary, left-over persistence imports
- Add potentially useful import considering the new stricter class resolution mechanism in the recently bumped Xtext version

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Call existing static methods from RuleExtensions, some further JavaDoc cleanup

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Revise implicit imports

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Add TimeZone and Locale to available providers and methods

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Move "helper" classes to existing package with similar content

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Address some review comments

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Remove export of no longer existing package

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Add missing import

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Move common methods to new class Utils and try to get map nullness under control

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Create tests for Rules.java

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Create tests for Items.java

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Create tests for Channels.java

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Create tests for ItemExtensions.java and RuleExtensions.java

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Reintroduce warnings and reduce logging flexibility

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

---------

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>
Co-authored-by: Ravi Nadahar <nadahar@rediffmail.com>
2026-06-11 23:17:36 +02:00
Florian HotzeandGitHub c237f36e8c [voice] Add configurable system prompt & Config refactorings (#5641)
Signed-off-by: Florian Hotze <dev@florianhotze.com>
2026-06-11 12:05:57 +02:00
Florian HotzeandGitHub faa0a29066 [voice] Add REST endpoint & console command to list conversations (#5645)
* [voice] Add a REST endpoint to get a list of all conversations

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2026-06-11 00:03:05 +02:00
Florian HotzeandGitHub 0fe2b6e4b9 [voice] Add missing toString implementations to Conversation events (#5644)
* [voice] Add missing toString implementations to Conversation events

As openHAB logs all events, we need a proper toString implementation, or we end up with this:

```
10:05:03.257 [INFO ] [b.event.ConversationMessageAddedEvent] - org.openhab.core.voice.text.conversation.events.ConversationMessageAddedEvent@dfee3f4c
```

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2026-06-10 19:00:08 +02:00
396199c3cd [config] ConfigUtil: Add method to apply defaults from ConfigDescription to configuration Map<String, Object> (#5638)
* [config] ConfigUtil: Add method to apply defaults from `ConfigDescription` to configuration `Map<String, Object>´

This extracts a new override from the existing `ConfigUtil::applyDefaultConfiguration` method.
The existing unit tests for the existing method pass, so this change should be fine.

Signed-off-by: Florian Hotze <dev@florianhotze.com>

* Address review

Signed-off-by: Florian Hotze <dev@florianhotze.com>

* Fix typo

Signed-off-by: Florian Hotze <dev@florianhotze.com>

* Update bundles/org.openhab.core.config.core/src/main/java/org/openhab/core/config/core/ConfigUtil.java

Co-authored-by: Mark Herwege <mherwege@users.noreply.github.com>
Signed-off-by: Florian Hotze <dev@florianhotze.com>

* Update ConfigUtil.java

Co-authored-by: Mark Herwege <mherwege@users.noreply.github.com>
Signed-off-by: Florian Hotze <dev@florianhotze.com>

---------

Signed-off-by: Florian Hotze <dev@florianhotze.com>
Co-authored-by: Mark Herwege <mherwege@users.noreply.github.com>
2026-06-09 12:25:49 +02:00
Florian HotzeandGitHub 407ae07904 [voice] Add a LLMToolCall record to serialize calls and store into conversation (#5637)
* [voice] Implement a serializer for LLMTool calls to add them to Conversation messages

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2026-06-09 08:01:10 +02:00
Florian HotzeandGitHub a47c699817 [voice] Add created & lastUpdated timestamps to Conversation (#5636)
Signed-off-by: Florian Hotze <dev@florianhotze.com>
2026-06-08 23:08:37 +02:00
Florian HotzeandGitHub a369fddfe2 [voice] Implement permissions for Item access from HLIs (#5626)
* Implement a permission model to control access to Items from HLIs

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2026-06-08 23:06:24 +02:00
Дилян ПалаузовandGitHub 6c9f96ba19 ScriptImplicitlyImportedTypes: remove member actionClasses (#5624) 2026-06-07 12:53:10 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Holger Friedrich
251e605071 Bump bnd.version from 7.2.3 to 7.3.0 (#5629)
* Bump bnd.version from 7.2.3 to 7.3.0

Bumps `bnd.version` from 7.2.3 to 7.3.0.

Updates `biz.aQute.bnd:bnd-maven-plugin` from 7.2.3 to 7.3.0
- [Release notes](https://github.com/bndtools/bnd/releases)
- [Commits](https://github.com/bndtools/bnd/compare/7.2.3...7.3.0)

Updates `biz.aQute.bnd:bnd-indexer-maven-plugin` from 7.2.3 to 7.3.0
- [Release notes](https://github.com/bndtools/bnd/releases)
- [Commits](https://github.com/bndtools/bnd/compare/7.2.3...7.3.0)

Updates `biz.aQute.bnd:bnd-resolver-maven-plugin` from 7.2.3 to 7.3.0
- [Release notes](https://github.com/bndtools/bnd/releases)
- [Commits](https://github.com/bndtools/bnd/compare/7.2.3...7.3.0)

Updates `biz.aQute.bnd:bnd-export-maven-plugin` from 7.2.3 to 7.3.0
- [Release notes](https://github.com/bndtools/bnd/releases)
- [Commits](https://github.com/bndtools/bnd/compare/7.2.3...7.3.0)

Updates `biz.aQute.bnd:bnd-testing-maven-plugin` from 7.2.3 to 7.3.0
- [Release notes](https://github.com/bndtools/bnd/releases)
- [Commits](https://github.com/bndtools/bnd/compare/7.2.3...7.3.0)

Updates `biz.aQute.bnd:bnd-baseline-maven-plugin` from 7.2.3 to 7.3.0
- [Release notes](https://github.com/bndtools/bnd/releases)
- [Commits](https://github.com/bndtools/bnd/compare/7.2.3...7.3.0)

Updates `biz.aQute.bnd:biz.aQute.tester.junit-platform` from 7.2.3 to 7.3.0
- [Release notes](https://github.com/bndtools/bnd/releases)
- [Commits](https://github.com/bndtools/bnd/compare/7.2.3...7.3.0)

---
updated-dependencies:
- dependency-name: biz.aQute.bnd:biz.aQute.tester.junit-platform
  dependency-version: 7.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: biz.aQute.bnd:bnd-baseline-maven-plugin
  dependency-version: 7.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: biz.aQute.bnd:bnd-export-maven-plugin
  dependency-version: 7.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: biz.aQute.bnd:bnd-indexer-maven-plugin
  dependency-version: 7.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: biz.aQute.bnd:bnd-maven-plugin
  dependency-version: 7.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: biz.aQute.bnd:bnd-resolver-maven-plugin
  dependency-version: 7.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: biz.aQute.bnd:bnd-testing-maven-plugin
  dependency-version: 7.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* adapt bndrun files

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Holger Friedrich <mail@holger-friedrich.de>
2026-06-06 21:20:22 +02:00
Florian HotzeandGitHub 9e72e1a207 [voice] Address feedback from PR #5620 (#5632)
* [voice] ConversationManager: Don't create "anonymous" conversation if createIfMissing=false in getConversation()
* [voice] Fix SAT & null warnings
* Adjust ConversationMapperTest to DTO changes

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2026-06-06 14:36:09 +02:00
dependabot[bot]andGitHub 05b7c180d5 Bump org.apache.maven:maven-artifact from 3.9.11 to 3.9.16 (#5628)
Bumps org.apache.maven:maven-artifact from 3.9.11 to 3.9.16.

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-04 18:01:20 +02:00
dependabot[bot]andGitHub d70795a5f1 Bump org.codehaus.gmavenplus:gmavenplus-plugin from 4.3.1 to 5.0.0 (#5631)
Bumps [org.codehaus.gmavenplus:gmavenplus-plugin](https://github.com/groovy/GMavenPlus) from 4.3.1 to 5.0.0.
- [Release notes](https://github.com/groovy/GMavenPlus/releases)
- [Commits](https://github.com/groovy/GMavenPlus/compare/4.3.1...5.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-04 17:59:15 +02:00
Holger FriedrichandGitHub 6bd0d04087 [dependabot] Allow maven-artifact (#5616)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2026-06-04 17:28:45 +02:00
Florian HotzeandGitHub 24ef83c362 [voice] Add additional rules to the StandardInterpreter (#5625)
* [voice] StandardInterpreter: Add additional rules & Fix German PlayPauseType rule

* English: Add "open/close [the] <item>" rule
* English: Add "turn|switch on|off [the] <item>" rule
* German: Add "öffne/schließe [den|die|das] <item>" rule
* German: Add "mache [den|die|das] <item> lauter|leiser" rule

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2026-06-04 17:24:58 +02:00
12acddf927 Include rule UID in log message when executions fails (#5627)
Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>
Co-authored-by: Ravi Nadahar <nadahar@rediffmail.com>
2026-06-04 17:18:38 +02:00
de3c272bc5 [voice] Add conversations & LLM tools support (#5620)
* [voice] Update HLI interface for LLM implementations

Signed-off-by: Florian Hotze <dev@florianhotze.com>
Co-authored-by: Miguel Álvarez <miguelwork92@gmail.com>
Co-authored-by: Kai Kreuzer <kai@openhab.org>
2026-06-04 16:46:02 +02:00
927f244419 Revert "[automation] AbstractScriptModuleHandler: Remove prefixes from context entries before injecting ctx into execution context (#4919)" (#5621)
This reverts commit 9c27b896d0.

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>
Co-authored-by: Ravi Nadahar <nadahar@rediffmail.com>
2026-06-02 17:46:24 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Holger Friedrich
dd00463677 Bump jackson.version from 2.21.3 to 2.21.4 (#5617)
* Bump jackson.version from 2.21.3 to 2.21.4

Bumps `jackson.version` from 2.21.3 to 2.21.4.

Updates `com.fasterxml.jackson.core:jackson-core` from 2.21.3 to 2.21.4
- [Commits](https://github.com/FasterXML/jackson-core/compare/jackson-core-2.21.3...jackson-core-2.21.4)

Updates `com.fasterxml.jackson.core:jackson-databind` from 2.21.3 to 2.21.4
- [Commits](https://github.com/FasterXML/jackson/commits)

Updates `com.fasterxml.jackson.dataformat:jackson-dataformat-cbor` from 2.21.3 to 2.21.4
- [Commits](https://github.com/FasterXML/jackson-dataformats-binary/compare/jackson-dataformats-binary-2.21.3...jackson-dataformats-binary-2.21.4)

Updates `com.fasterxml.jackson.dataformat:jackson-dataformat-xml` from 2.21.3 to 2.21.4
- [Commits](https://github.com/FasterXML/jackson-dataformat-xml/compare/jackson-dataformat-xml-2.21.3...jackson-dataformat-xml-2.21.4)

Updates `com.fasterxml.jackson.dataformat:jackson-dataformat-yaml` from 2.21.3 to 2.21.4
- [Commits](https://github.com/FasterXML/jackson-dataformats-text/compare/jackson-dataformats-text-2.21.3...jackson-dataformats-text-2.21.4)

Updates `com.fasterxml.jackson.datatype:jackson-datatype-jdk8` from 2.21.3 to 2.21.4

Updates `com.fasterxml.jackson.datatype:jackson-datatype-jsr310` from 2.21.3 to 2.21.4

Updates `com.fasterxml.jackson.jaxrs:jackson-jaxrs-base` from 2.21.3 to 2.21.4
- [Commits](https://github.com/FasterXML/jackson-jaxrs-providers/compare/jackson-jaxrs-providers-2.21.3...jackson-jaxrs-providers-2.21.4)

Updates `com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider` from 2.21.3 to 2.21.4

Updates `com.fasterxml.jackson.module:jackson-module-jaxb-annotations` from 2.21.3 to 2.21.4
- [Commits](https://github.com/FasterXML/jackson-modules-base/compare/jackson-modules-base-2.21.3...jackson-modules-base-2.21.4)

---
updated-dependencies:
- dependency-name: com.fasterxml.jackson.core:jackson-core
  dependency-version: 2.21.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.fasterxml.jackson.core:jackson-databind
  dependency-version: 2.21.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.fasterxml.jackson.dataformat:jackson-dataformat-cbor
  dependency-version: 2.21.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.fasterxml.jackson.dataformat:jackson-dataformat-xml
  dependency-version: 2.21.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.fasterxml.jackson.dataformat:jackson-dataformat-yaml
  dependency-version: 2.21.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.fasterxml.jackson.datatype:jackson-datatype-jdk8
  dependency-version: 2.21.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.fasterxml.jackson.datatype:jackson-datatype-jsr310
  dependency-version: 2.21.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.fasterxml.jackson.jaxrs:jackson-jaxrs-base
  dependency-version: 2.21.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider
  dependency-version: 2.21.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.fasterxml.jackson.module:jackson-module-jaxb-annotations
  dependency-version: 2.21.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Adapt feature and bndrun files

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Holger Friedrich <mail@holger-friedrich.de>
2026-05-31 08:43:29 +02:00
Kai KreuzerandGitHub ab977dfbba Set specific version in dependency (#5615)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2026-05-30 09:51:43 +02:00
Mark HerwegeandGitHub 1976decbb9 UpgradeTool add semantics upgrader and OH version (#5379)
* upgrade semantic tags

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2026-05-29 22:23:42 +02:00
lolodomoandGitHub 64cb8b8145 Clean retry queue when a thing is updated/removed in YAML thing provider (#5361)
* [YAML thing provider] Clean retry queue when a thing is updated/removed

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2026-05-29 22:16:38 +02:00
Дилян ПалаузовandGitHub 4fbee78009 rule.runtime.RuleRuntimeActivator: use one activator method (#5599) 2026-05-29 22:09:31 +02:00
Дилян ПалаузовandGitHub f8e4a20b9c rule.runtime.internal.RuleRuntimeActivator: do not expose unused service (#5600) 2026-05-29 22:06:16 +02:00
Дилян ПалаузовandGitHub 5dcdf78bcd model.script.ScriptItemRefresher: do not expose itself as unused service (#5601) 2026-05-29 22:03:42 +02:00
Holger FriedrichandGitHub a38ece3f8b [GHA] Sign off PRs as openHAB bot (#5581)
* [GHA] Sign off PRs as openHAB bot

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2026-05-29 21:48:25 +02:00
1132515ae4 Various YAML fixes (#5588)
* Create YamlConfigDescriptionDTO and YamlConfigDescriptionParameterGroupDTO

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Use YamlConfigDescriptionDTO for YAML pages and widgets

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Create YamlWidgetParser and add getAllFromModel() to YamlWidgetProvider.java

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Make sure that ObjectParser.getParsedObjects() returns a copy

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Update bundles/org.openhab.core.model.yaml/src/main/java/org/openhab/core/model/yaml/internal/config/YamlConfigDescriptionDTO.java

Co-authored-by: Mark Herwege <mherwege@users.noreply.github.com>
Signed-off-by: Nadahar <Nadahar@users.noreply.github.com>

* Address review feedback and apply explicit charset to other "converters"

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

---------

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>
Signed-off-by: Nadahar <Nadahar@users.noreply.github.com>
Co-authored-by: Ravi Nadahar <nadahar@rediffmail.com>
Co-authored-by: Mark Herwege <mherwege@users.noreply.github.com>
2026-05-29 15:33:57 +02:00
lolodomoandGitHub 0300c1986d Create ready markers for proper managed providers (#5604)
* Create ready markers for proper managed providers

"managed" markers (managed=item, managed=metadata, managed=rule, managed=thing and managed=itemchannellink) were created too early with the following providers: ScriptedItemProvider, ScriptedMetadataProvider, ScriptedRuleProvider, ScriptedThingProvider and ScriptedItemChannelLinkProvider.
They are now properly created with providers ManagedItemProvider, ManagedMetadataProviderImpl, ManagedRuleProvider, ManagedThingProvider and ManagedItemChannelLinkProvider.

Marker managed=sitemap is now also created with provider UIComponentSitemapProvider.

Marker managed=persistenceserviceconfiguration is now also created with provider ManagedPersistenceServiceConfigurationProvider.

Marker managed=semantictag is now also created with provider ManagedSemanticTagProvider.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Fix tests in core.model.script

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

---------

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2026-05-29 08:10:13 +02:00
dependabot[bot]andGitHub 53a30bb967 Bump org.apache.maven.plugins:maven-dependency-plugin (#5612)
Bumps [org.apache.maven.plugins:maven-dependency-plugin](https://github.com/apache/maven-dependency-plugin) from 3.10.0 to 3.11.0.
- [Release notes](https://github.com/apache/maven-dependency-plugin/releases)
- [Commits](https://github.com/apache/maven-dependency-plugin/compare/maven-dependency-plugin-3.10.0...maven-dependency-plugin-3.11.0)

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-29 07:57:55 +02:00
dependabot[bot]andGitHub 173073a033 Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.5 to 3.5.6 (#5613)
Bumps [org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire) from 3.5.5 to 3.5.6.
- [Release notes](https://github.com/apache/maven-surefire/releases)
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.5.5...surefire-3.5.6)

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-29 07:44:45 +02:00
lolodomoandGitHub 4ec5776700 Add semantic tags to conversion REST API (#5573)
* Add semantic tags to conversion REST API

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Copilot comments: first set of changes

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* getAllFromModel: copy list

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* removeModel: get a mutable empty list

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Simplification in method parse (REST API)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Force UTF-8 charset when using the file-format APIs

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Change default value for parameter hideDefaultTags to false

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Add parameter to exclude non editable tags

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Finally apply hideNonEditableTags/hideDefaultTags params even when UIDs are provided

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Review comment: use/add methods isEditable/IsDefault from the registry

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Extend REST API getTags to have the info in the response if the tag is default

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

---------

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2026-05-28 12:13:50 +02:00
dependabot[bot]andGitHub e380336fb5 Bump xtext.version from 2.43.0.M2 to 2.43.0 (#5610)
Bumps `xtext.version` from 2.43.0.M2 to 2.43.0.

Updates `org.eclipse.xtext:xtend-maven-plugin` from 2.43.0.M2 to 2.43.0

Updates `org.eclipse.xtext:xtext-dev-bom` from 2.43.0.M2 to 2.43.0
- [Commits](https://github.com/eclipse-xtext/xtext/compare/v2.43.0.M2...v2.43.0)

Updates `org.eclipse.xtext:org.eclipse.xtext.xtext.generator` from 2.43.0.M2 to 2.43.0
- [Commits](https://github.com/eclipse-xtext/xtext/compare/v2.43.0.M2...v2.43.0)

Updates `org.eclipse.xtext:org.eclipse.xtext.common.types` from 2.43.0.M2 to 2.43.0
- [Commits](https://github.com/eclipse-xtext/xtext/compare/v2.43.0.M2...v2.43.0)

Updates `org.eclipse.xtext:org.eclipse.xtext.xbase` from 2.43.0.M2 to 2.43.0
- [Commits](https://github.com/eclipse-xtext/xtext/compare/v2.43.0.M2...v2.43.0)

Updates `org.eclipse.xtext:org.eclipse.xtext.xbase.lib` from 2.43.0.M2 to 2.43.0
- [Commits](https://github.com/eclipse-xtext/xtext/compare/v2.43.0.M2...v2.43.0)

Updates `org.eclipse.xtext:org.eclipse.xtext.xbase.ide` from 2.43.0.M2 to 2.43.0
- [Commits](https://github.com/eclipse-xtext/xtext/compare/v2.43.0.M2...v2.43.0)

Updates `org.eclipse.xtext:org.eclipse.xtext.ide` from 2.43.0.M2 to 2.43.0
- [Commits](https://github.com/eclipse-xtext/xtext/compare/v2.43.0.M2...v2.43.0)

Updates `org.eclipse.xtext:org.eclipse.xtext` from 2.43.0.M2 to 2.43.0
- [Commits](https://github.com/eclipse-xtext/xtext/compare/v2.43.0.M2...v2.43.0)

Updates `org.eclipse.xtext:org.eclipse.xtend.lib` from 2.43.0.M2 to 2.43.0
- [Commits](https://github.com/eclipse-xtext/xtext/compare/v2.43.0.M2...v2.43.0)

Updates `org.eclipse.xtext:org.eclipse.xtend.lib.macro` from 2.43.0.M2 to 2.43.0
- [Commits](https://github.com/eclipse-xtext/xtext/compare/v2.43.0.M2...v2.43.0)

Updates `org.eclipse.xtext:org.eclipse.xtext.util` from 2.43.0.M2 to 2.43.0
- [Commits](https://github.com/eclipse-xtext/xtext/compare/v2.43.0.M2...v2.43.0)

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-27 16:36:23 +02:00
Mark HerwegeandGitHub 73bf65c61d Sitemap DTO fix backward compatibility (#5593)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2026-05-27 16:16:09 +02:00
lolodomoandGitHub 9220a7a8c1 Create ready markers for YAML providers (#5605)
yaml=items
yaml=pages
yaml=rules
yaml=ruletemplates
yaml=tags
yaml=sitemaps
yaml=things
yaml=widgets

Related to #5602

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2026-05-26 12:12:08 +02:00
lolodomoandGitHub 587f064c0d Reference ReadyService in SitemapRegistry (#5603)
This will in particular trigger the "managed:sitemap" ready marker.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2026-05-26 11:57:57 +02:00
lolodomoandGitHub db42ae0bbf Fix blocked treatment when DSL script is empty (#5606)
Problem appeared after #5595

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2026-05-26 09:52:22 +02:00
dependabot[bot]andGitHub eed6d891ff Bump org.apache.maven.plugins:maven-site-plugin from 3.21.0 to 3.22.0 (#5598)
Bumps [org.apache.maven.plugins:maven-site-plugin](https://github.com/apache/maven-site-plugin) from 3.21.0 to 3.22.0.
- [Release notes](https://github.com/apache/maven-site-plugin/releases)
- [Commits](https://github.com/apache/maven-site-plugin/compare/maven-site-plugin-3.21.0...maven-site-plugin-3.22.0)

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-25 07:33:19 +02:00
lolodomoandGitHub a72824d4e0 Enhance error/warning messages for DSL sitemaps (#5594)
More precise line number.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2026-05-24 10:04:04 +02:00
lolodomoandGitHub 2067825672 Fix loading of DSL .script files at openHAB startup (#5595)
The DSL Rule provider must handle rules and scripts in onReadyMarkerAdded.
Until now, only .rules files were handled, not .script files.
As a result, .script files were ignored by the rule provider.
Sometimes it worked well because there was a call to reloadAllModelsOfType for all scripts when the rule provider was ready and the .script files were then handled by the provider in modelChanged.
If this last call was done while the rule provider was not yet ready, the .script files were ignored because the rule provider was not yet setup to handle model changes.
So all of this depends on timing conditions at openHAB startup.
With that change, the .script files will always be considered by the DSL rule provider.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2026-05-24 10:00:21 +02:00
github-actions[bot]andGitHub 9e506ec519 Update maven wrapper to 3.9.16 (#5589) 2026-05-24 07:12:06 +02:00
lolodomoandGitHub 2169fe0323 Fix syntax for time in trigger/condition in DSL rule (#5591)
* Fix syntax for time in trigger/condition in DSL rule

Avoid conflict with switch-case statement

Time as "7:0" is now also supported.

Fix #5586

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Optimize method buildMsgWithLineNb

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Consider Copilot review comments

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Consider human comments

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

---------

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2026-05-23 21:19:28 +02:00
dependabot[bot]andGitHub 83881e6ab3 Bump org.apache.maven.plugins:maven-enforcer-plugin from 3.6.2 to 3.6.3 (#5585)
Bumps [org.apache.maven.plugins:maven-enforcer-plugin](https://github.com/apache/maven-enforcer) from 3.6.2 to 3.6.3.
- [Release notes](https://github.com/apache/maven-enforcer/releases)
- [Commits](https://github.com/apache/maven-enforcer/compare/enforcer-3.6.2...enforcer-3.6.3)

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-18 16:15:30 +02:00