Commit Graph
2236 Commits
Author SHA1 Message Date
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9eb13a517c Bump org.codehaus.mojo:exec-maven-plugin from 3.5.0 to 3.5.1 (#4835)
Bumps [org.codehaus.mojo:exec-maven-plugin](https://github.com/mojohaus/exec-maven-plugin) from 3.5.0 to 3.5.1.
- [Release notes](https://github.com/mojohaus/exec-maven-plugin/releases)
- [Commits](https://github.com/mojohaus/exec-maven-plugin/compare/3.5.0...3.5.1)

---
updated-dependencies:
- dependency-name: org.codehaus.mojo:exec-maven-plugin
  dependency-version: 3.5.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-02 06:26:56 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
592deb2ec0 Bump org.codehaus.groovy:groovy-all from 3.0.24 to 3.0.25 (#4837)
Bumps [org.codehaus.groovy:groovy-all](https://github.com/apache/groovy) from 3.0.24 to 3.0.25.
- [Commits](https://github.com/apache/groovy/commits)

---
updated-dependencies:
- dependency-name: org.codehaus.groovy:groovy-all
  dependency-version: 3.0.25
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-02 06:26:03 +02:00
Florian HotzeandGitHub 5126166611 [rest] Add timezone information to root resource (#4826)
Signed-off-by: Florian Hotze <dev@florianhotze.com>
2025-05-30 03:12:10 +02:00
Holger FriedrichandGitHub 07ad5b52b2 Tweak x-axis labels of charts (#4830)
* More tuning to avoid overlapping of labels,
      follow-up to #4733

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-05-30 03:10:53 +02:00
Andrew Fiddian-GreenandGitHub cce185af64 UPNP don't notify embedded child devices by default (#4735)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2025-05-29 10:02:00 +02:00
NadaharandGitHub 5b12280f5b Regenerate rules from templates (#4718)
* Rule template regeneration support

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>
2025-05-26 22:53:17 +02:00
lolodomoandGitHub fb62bf33cd YAML config: fix user defined channels creation when binding loads late (#4823)
While things can now be loaded even when the binding is not yet available, channel types for user defined channels could be not yet in the registry when these channels are first created.
So when the binding is finally available, the thing is updated and user defined channels are now created again to retrieve properties from channel types.

This fix avoids warnings at startup regarding missing channel types.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2025-05-25 21:18:17 +02:00
lolodomoandGitHub 26c2631296 YAML model loading: WARN log when an element is not a container object (#4824)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2025-05-25 21:17:01 +02:00
openhab-botandGitHub c53a6a9e61 New Crowdin updates (#4819)
* New translations tags.properties (Danish)
* New translations messages.properties (French)
* New translations tags.properties (Danish)
* New translations messages.properties (Danish)
2025-05-20 21:31:39 +02:00
Holger FriedrichandGitHub 3211e2012d Tweak x-axis labels of charts (#4733)
* Avoid overlapping of labels

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-05-19 08:58:15 +02:00
lolodomoandGitHub cb42343c3e YAML item proviuder: fix method isVersionSupported (#4820)
Required after the merge of PR #4807 and PR #4776

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2025-05-18 21:57:02 +02:00
lolodomoandGitHub bc62a202ee YAML configuration: add support for items/metadata/channel links (#4776)
* YAML configuration: add support for items/metadata/channel links

This PR adds the support of items in the YAML configuration file.
It also includes the support of items metadata and items channel links.

Related to #3666

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2025-05-18 20:46:18 +02:00
lolodomoandGitHub 53ddb0c29c YAML model repository: supports only version 1 with elements as map (#4807)
* YAML model repository: supports only version 1 with elements as map

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2025-05-18 20:44:31 +02:00
jimtngandGitHub 6ecd6c3891 Fix inconsistent payload field name for ItemStateUpdatedEvent lastUpdate -> lastStateUpdate (#4752)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-05-18 19:19:23 +02:00
jimtngandGitHub 825def252d Refactor to avoid possible null pointer dereference in YamlModelRepositoryImpl (#4788)
* Refactor to avoid possible null pointer dereference in YamlModelRepositoryImpl
* add null check

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-05-18 19:12:24 +02:00
lolodomoandGitHub d6fb61d0c7 YAML config: add "description" field to channel for things (#4795)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2025-05-18 18:57:43 +02:00
c4c2c4c431 Semantic tags: Apply description texts for Point/Property/Equipment (#4750)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
Co-authored-by: jimtng <2554958+jimtng@users.noreply.github.com>
2025-05-18 18:03:30 +02:00
Mark HerwegeandGitHub d346509a2a Enable semantic tag description translations (#4746)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2025-05-18 08:20:39 +02:00
openhab-botandGitHub e9700f85ec New Crowdin updates (#4787)
* New translations messages.properties (Italian)

* New translations validation.properties (Portuguese)

* New translations firmware.properties (Portuguese)

* New translations systemprofiles.properties (Portuguese)

* New translations audio.properties (Portuguese)

* New translations inbox.properties (Portuguese)

* New translations ephemeris.properties (Portuguese)

* New translations restauth.properties (Portuguese)

* New translations addons.properties (Portuguese)

* New translations jsonstorage.properties (Portuguese)

* New translations chart.properties (Portuguese)

* New translations i18n.properties (Portuguese)

* New translations network.properties (Portuguese)

* New translations sitemap.properties (Portuguese)

* New translations marketplace.properties (Portuguese)

* New translations systemthingstatusinfos.properties (Portuguese)

* New translations units.properties (Portuguese)

* New translations jsr223.properties (Portuguese)

* New translations automation.properties (Hebrew)

* New translations tags.properties (Hebrew)

* New translations messages.properties (Hebrew)

* New translations firmware.properties (Portuguese, Brazilian)

* New translations languagesupport.properties (Portuguese)

* New translations languagesupport.properties (Portuguese, Brazilian)

* New translations audio.properties (Portuguese, Brazilian)

* New translations inbox.properties (Portuguese, Brazilian)

* New translations ephemeris.properties (Portuguese, Brazilian)

* New translations jsonstorage.properties (Portuguese, Brazilian)

* New translations network.properties (Portuguese, Brazilian)

* New translations sitemap.properties (Portuguese, Brazilian)
2025-05-11 13:12:47 +02:00
dependabot[bot]andGitHub 1ef1cabcf0 Bump org.apache.ivy:ivy from 2.5.2 to 2.5.3 (#4806)
Bumps org.apache.ivy:ivy from 2.5.2 to 2.5.3.

---
updated-dependencies:
- dependency-name: org.apache.ivy:ivy
  dependency-version: 2.5.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-11 13:00:49 +02:00
dependabot[bot]andGitHub 24b8c32d30 Bump org.codehaus.groovy:groovy-all from 3.0.23 to 3.0.24 (#4801)
Bumps [org.codehaus.groovy:groovy-all](https://github.com/apache/groovy) from 3.0.23 to 3.0.24.
- [Commits](https://github.com/apache/groovy/commits)

---
updated-dependencies:
- dependency-name: org.codehaus.groovy:groovy-all
  dependency-version: 3.0.24
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-11 12:59:54 +02:00
lolodomoandGitHub 3df33758d4 YAML things provider: create things even if binding is not yet installed (#4753)
Makes it consistent with managed thing provider.

Removes the OSGi reference between YamlThingProvider and YamlModelRepository and as consequence removes the circular reference.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2025-05-11 12:57:21 +02:00
jimtngandGitHub c40c258e04 WatchService: use absolute path in processWatchEvent (#4796)
* WatchService: use absolute path in processWatchEvent

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>

* update interface and use a consistent name `fullPath`

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>

---------

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-05-10 16:13:03 +02:00
Florian HotzeandGitHub 8ff69a3f50 [rest] Support sending Item command/state as JSON (#4760)
Signed-off-by: Florian Hotze <dev@florianhotze.com>
2025-05-09 22:32:38 +02:00
lolodomoandGitHub 8d3c3575a2 [REST] Fix API to get file format when applied to a subset of elements (#4786)
Fix #4778

Things and items are now sorted in output only when all elements are requested.
If the API is requested only for a subset of elements (things or items), the output respects the input order of elements.

DSL generator for things and items is also fixed to avoid a crash when called with 0 element.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2025-05-06 20:16:24 +02:00
jimtngandGitHub 3fb76c9fae Create API Token: add regex validation to html input (#4782)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-05-03 07:46:22 +02:00
lolodomoandGitHub a65b9a4b83 YAML things: clean map when removing the last elements for a model (#4763)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2025-04-30 22:14:13 +02:00
lolodomoandGitHub 3404384c47 YAML parser: filter unexpected part from the parse exception message (#4759)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2025-04-30 22:11:16 +02:00
lolodomoandGitHub 003c6e18e1 YAML things: adjustment of messages when checking a thing element (#4761)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2025-04-30 06:42:08 +02:00
jimtngandGitHub 0b89fbd2cd YAML Model Repository: Fix premature unknown element warning (#4755)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-04-30 06:31:57 +02:00
jimtngandGitHub 22db52ecc4 Add YamlModelRepository test for removal of version or element type (#4758)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-04-28 11:13:29 +02:00
Holger FriedrichandGitHub 7820dc45bd Cleanup: Java21, SAT (#4757)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-04-28 08:55:53 +02:00
openhab-botandGitHub 8fbea76834 New translations tags.properties (Danish) (#4756) 2025-04-27 08:28:29 +02:00
Andrew Fiddian-GreenandGitHub 4167c02239 Add property.info tag for media channel types (#4754)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2025-04-27 07:29:36 +02:00
5a097ed270 Semantic tags: Just a few more (#4745)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
Co-authored-by: jimtng <2554958+jimtng@users.noreply.github.com>
2025-04-26 22:52:53 +02:00
jimtngandGitHub f5f8921e14 Yaml Model Repository: Remove elements no longer in model (#4749)
This fix two scenarios:
- When the new model is missing `version:` key but the old model had one, the file is considered invalid, but the previously loaded elements didn't get removed
- When the new model has a valid `version:` key, but the entire element type, e.g. `thing:` is removed, the previously loaded elements (e.g. things) didn't get removed.

Additionally, log a warning when an unknown element type is encountered.

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-04-26 08:16:47 +02:00
jimtngandGitHub 9cc4a05486 include .yaml extension in the model name (#4747)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-04-26 08:07:55 +02:00
jimtngandGitHub dfe4615912 YAMLThing: fix typo and minor refactor (#4748)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-04-26 08:00:44 +02:00
jimtngandGitHub 685264295c FileFormatResource: accept multiple ids in a single request (#4734)
* FileFormatResource: accept multiple ids in a single request
* Change from GET endpoints to POST

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-04-23 19:09:25 +02:00
lolodomoandGitHub 46dcfa674d [DSL generator] Consider a bridge thing as bridge if it contains things (#4740)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2025-04-23 19:05:12 +02:00
openhab-botandGitHub d0308a2348 New translations tags.properties (Danish) (#4741) 2025-04-23 19:03:20 +02:00
lolodomoandGitHub 2a4b0735fc [DSL generator] Avoid injecting the state pattern in label if already present in stateDescription metadata (#4730)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2025-04-23 18:49:17 +02:00
Mark HerwegeandGitHub 9741434f61 Fix GroupItem restore (#4743)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2025-04-23 18:42:57 +02:00
Andrew Fiddian-GreenandGitHub aa8e05f877 Semantic tags: add zones, move battery (#4738)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2025-04-22 21:05:09 +02:00
Chris JacksonandGitHub f16f7cda31 Add stack trace to logger DTO (#4732)
Signed-off-by: Chris Jackson <chris@cd-jackson.com>
2025-04-20 22:15:39 +02:00
Cody CutrerandGitHub 5c42be4861 Allow ThingHandlers to dynamically register services (#4719)
Signed-off-by: Cody Cutrer <cody@cutrer.us>
2025-04-20 08:52:23 +02:00
openhab-botandGitHub 2ec59cdebf New Crowdin updates (#4729)
* New translations tags.properties (Danish)
2025-04-20 08:42:34 +02:00
lolodomoandGitHub b7b23db9a7 YAML configuration: add support for things (#4691)
Related to #3666

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2025-04-19 22:21:09 +02:00
Jacob LaursenandGitHub 1c955f3cb3 Add synonyms for a few semantic tags (#4725)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2025-04-19 10:24:33 +02:00
Kai KreuzerandGitHub 1d567df50c Shorten logging of timeseries updatesd (#4728)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2025-04-19 08:57:08 +02:00