Commit Graph
2937 Commits
Author SHA1 Message Date
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
04893a139a Bump org.apache.groovy:groovy-all from 4.0.27 to 4.0.28 (#4935)
Bumps [org.apache.groovy:groovy-all](https://github.com/apache/groovy) from 4.0.27 to 4.0.28.
- [Commits](https://github.com/apache/groovy/commits)

---
updated-dependencies:
- dependency-name: org.apache.groovy:groovy-all
  dependency-version: 4.0.28
  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-07-28 07:25:44 +02:00
Holger FriedrichandGitHub cc340bdd4c Fix upgradetool dependencies, regression of #4855 (#4924)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-07-24 11:43:17 +02:00
maniac103andGitHub a4c6b49be1 Map chart interpolation parameter into sitemap JSON response (#4917)
This was missed in #4610 / commit a9a289e3f2

Signed-off-by: Danny Baumann <dannybaumann@web.de>
2025-07-22 07:08:20 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
88d05e54f4 Bump org.apache.maven.plugins:maven-enforcer-plugin from 3.6.0 to 3.6.1 (#4916)
Bumps [org.apache.maven.plugins:maven-enforcer-plugin](https://github.com/apache/maven-enforcer) from 3.6.0 to 3.6.1.
- [Release notes](https://github.com/apache/maven-enforcer/releases)
- [Commits](https://github.com/apache/maven-enforcer/compare/enforcer-3.6.0...enforcer-3.6.1)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-enforcer-plugin
  dependency-version: 3.6.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-07-21 22:10:17 +02:00
Holger FriedrichandGitHub ddf04e2419 Prepare for OH 5.1.0 (#4918)
* Prepare for OH 5.1.0

* Fix spotless after unleash
* Resolve itest runbundles

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-07-21 21:10:15 +02:00
openhab-bot 36e9e60f14 [unleash-maven-plugin] Preparation for next development cycle. 2025-07-21 07:17:39 +00:00
openhab-botandGitHub 0dd5c4c050 New Crowdin updates (#4915)
* New translations defaultsystemchannels.properties (Italian)
* New translations defaultsystemchannels.properties (French)
2025-07-20 00:07:24 +02:00
openhab-botandGitHub b05cdfd235 New Crowdin updates (#4914)
* New translations defaultsystemchannels.properties (German)
* New translations defaultsystemchannels.properties (Danish)
2025-07-18 23:34:10 +02:00
Christoph WeitkampandGitHub 5711db7fb1 Fix translations for system-channel-type electric:energy (#4912)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2025-07-18 22:43:37 +02:00
openhab-botandGitHub cfdb31c517 New translations tags.properties (German) (#4908) 2025-07-17 15:25:49 +02:00
jimtngandGitHub 07503c2b70 Allow extended unit names for days, hours, minutes, seconds, milliseconds and allow spaces before the unit in expire duration parser (#4873)
* Allow extended unit names for days, hours, minutes, seconds, milliseconds in expire duration parser

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-07-17 14:47:38 +02:00
jimtngandGitHub a010cdb128 Yaml Model Repository: skip non-existent paths during the initial scan instead of logging a warning (#4899)
* Yaml Model Repository: skip non-existent paths during the initial scan instead of logging a warning

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-07-17 14:46:30 +02:00
NadaharandGitHub a6ea26f8f5 Prevent file system access for WatchService DELETE events in FolderObserver (#4907)
Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>
2025-07-17 12:10:13 +02:00
openhab-botandGitHub 2ae969431c New translations tags.properties (French) (#4906) 2025-07-16 13:41:16 +02:00
Kai KreuzerandGitHub 3d2f10d770 Restrict CORS logging to a single time (#4905)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2025-07-16 10:11:57 +02:00
lolodomoandGitHub cd26f6feaf Registry: Avoid warn log when adding ActionType/Metadata several times (#4900)
Fix openhab/openhab-addons#18945
Regression from #4880

For Metadata, it was reported on the community forum, it occured when an item is linked to several channels.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2025-07-15 22:56:52 +02:00
openhab-botandGitHub b1a68d0012 New Crowdin updates (#4901)
* New translations audio.properties (Portuguese)
* New translations audio.properties (Portuguese, Brazilian)
* New translations automation.properties (German)
* New translations chart.properties (German)
* New translations defaultsystemchannels.properties (German)
* New translations ephemeris.properties (Portuguese)
* New translations ephemeris.properties (Portuguese, Brazilian)
* New translations firmware.properties (Portuguese)
* New translations firmware.properties (Portuguese, Brazilian)
* New translations inbox.properties (Portuguese)
* New translations inbox.properties (Portuguese, Brazilian)
* New translations jsonstorage.properties (Portuguese)
* New translations jsonstorage.properties (Portuguese, Brazilian)
* New translations jsr223.properties (French)
* New translations jsr223.properties (German)
* New translations languagesupport.properties (Portuguese)
* New translations languagesupport.properties (Portuguese, Brazilian)
* New translations messages.properties (German)
* New translations network.properties (Portuguese)
* New translations network.properties (Portuguese, Brazilian)
* New translations persistence.properties (Portuguese, Brazilian)
* New translations scriptprofile.properties (German)
* New translations sitemap.properties (Portuguese)
* New translations sitemap.properties (Portuguese, Brazilian)
* New translations systemprofiles.properties (German)
* New translations tags.properties (French)
* New translations tags.properties (German)
* New translations units.properties (German)
* New translations units.properties (Portuguese, Brazilian)
* New translations validation.properties (German)
* New translations voice.properties (German)
2025-07-15 15:22:05 +02:00
lolodomoandGitHub ff1156566b Fix ready marker not set for model when folder is missing (#4897)
Related to #3823
Replaces #4444

If the sub-folder where models are supposed to be found does not exist, the service is marked as ready anyway.
If not, start level 100 could be never reached at OH startup.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2025-07-13 17:16:47 +02:00
ea21fd6andGitHub 20610fbd97 Fix persistence threshold filter with UoM (#4881)
* Add tests with UoM conversion

For `PersistenceThresholdFilter` add a test case that fails when
using temperatures in °C and a threshold in Kelvin. The threshold
should ignore the offset (0 °C = 273,15 K).

Add another test with length to increase coverage.

Signed-off-by: Christoph Gehrke <cgdev@duck.com>

* Fix PersistenceThresholdFilter UoM conversion

Use `toUnitRelative()` instead of `toUnit()` for delta (the difference
of old and current state). In particular for temperatures an offset
of different units (like °C and K) should be ignored when considering
the delta.

Signed-off-by: Christoph Gehrke <cgdev@duck.com>

---------

Signed-off-by: Christoph Gehrke <cgdev@duck.com>
2025-07-13 12:28:54 +02:00
lolodomoandGitHub cc95a6d045 Fix NPE in FolderObserver (#4896)
Fix #4890

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2025-07-13 09:49:58 +02:00
Mark HerwegeandGitHub 69bb634ba6 Item REST endpoint include item parents (#4861)
* parents in item DTO

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2025-07-12 23:48:26 +02:00
Florian HotzeandGitHub d83d35cd00 [automation] Add logging to script actions/conditions pre-compilation (#4893)
Signed-off-by: Florian Hotze <dev@florianhotze.com>
2025-07-11 19:17:47 +02:00
Holger FriedrichandGitHub a625d848a4 SAT: Reduce warnings, add suppressions (#4863)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-07-10 19:13:49 +02:00
openhab-botandGitHub ff2e108a95 New translations tags.properties (Danish) (#4891) 2025-07-10 19:12:24 +02:00
jimtngandGitHub 2ed2a3aba3 Log the link in the ScriptProfile execution error message (#4888)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-07-08 06:56:37 +02:00
Jimmy TanagraandHolger Friedrich ccd36dd298 Fix some conflicting synonyms: App/Application, Heating, Ventilation, A/C, Air Conditioning, Lights, Lighting, Lamps
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-07-07 20:20:06 +02:00
Jimmy TanagraandHolger Friedrich 77bbd46a80 Raise an error when tags conflict with label or synonyms
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-07-07 20:20:06 +02:00
Andrew Fiddian-GreenandGitHub 1767a0a2ca Add property tag for lock state (#4882)
* add lock state property

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2025-07-07 20:12:16 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
13ce3a16c9 Bump org.apache.maven.plugins:maven-enforcer-plugin from 3.5.0 to 3.6.0 (#4887)
Bumps [org.apache.maven.plugins:maven-enforcer-plugin](https://github.com/apache/maven-enforcer) from 3.5.0 to 3.6.0.
- [Release notes](https://github.com/apache/maven-enforcer/releases)
- [Commits](https://github.com/apache/maven-enforcer/compare/enforcer-3.5.0...enforcer-3.6.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-enforcer-plugin
  dependency-version: 3.6.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>
2025-07-07 08:24:15 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1ebdfe7c24 Bump org.codehaus.gmavenplus:gmavenplus-plugin from 4.2.0 to 4.2.1 (#4886)
Bumps [org.codehaus.gmavenplus:gmavenplus-plugin](https://github.com/groovy/GMavenPlus) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/groovy/GMavenPlus/releases)
- [Commits](https://github.com/groovy/GMavenPlus/compare/4.2.0...4.2.1)

---
updated-dependencies:
- dependency-name: org.codehaus.gmavenplus:gmavenplus-plugin
  dependency-version: 4.2.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-07-07 08:23:18 +02:00
Jacob LaursenandGitHub 81d0e55137 Remove deprecated method from interface (#4884)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2025-07-06 15:16:11 +02:00
Jacob LaursenandGitHub 7329ce7acf Remove deprecated discovery methods (#4883)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2025-07-06 06:54:56 +02:00
Jacob LaursenandGitHub cdfd652ce2 Refactor timestamps to Instant in discovery methods (#4866)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2025-07-05 16:18:50 +02:00
Kai KreuzerandGitHub ec08f6963c Fix streaming of m3u audio streams (#4879)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2025-07-05 11:16:30 +02:00
lolodomoandGitHub b48e1632aa WARN log when an object with same ID is added to a registry by a seco… (#4880)
* WARN log when an object with same ID is added to a registry by a second provider

Log was existing but at DEBUG level, meaning the general user was not informed that he defined the same object (thing, item, ...) at different places (providers) like for example an item in Main UI and an item in config file with same name.

Fix #4810

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2025-07-01 16:25:03 +02:00
Florian HotzeandGitHub 77530fe2eb [thing] Add SemverVersion type to be used by bindings (#4875)
Signed-off-by: Florian Hotze <dev@florianhotze.com>
2025-07-01 08:31:31 +02:00
jimtngandGitHub 1922550faa AbstractRegistry: hide exception stacktrace on IAE when adding an element (#4877)
Hide the scary stacktrace from user. The message is sufficient to describe the problem.

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-06-30 22:50:17 +02:00
Wouter BornandGitHub 5c29932f1f Remove base-fixes bundle (#4876)
It was used by the workaround reverted in #4499.

Signed-off-by: Wouter Born <github@maindrain.net>
2025-06-29 23:08:05 +02:00
jimtngandGitHub a045b3c601 Move expire's Duration parser to a separate utility class and support ms for milliseconds (#4868)
* Move expire's Duration parser to a separate utility class so it can be used elsewhere
* Support `ms` in Duration parser

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-06-29 11:34:21 +02:00
Florian HotzeandGitHub 80d20d1f3e [automation] Extend provider script extension for metadata & ItemChannelLinks (#4865)
* [automation] Move provider script extension to a new bundle
* [automation] Add ProviderRegistryDelegate interface and improve ProviderScriptExtension code
* [automation] Add ScriptedMetadataProvider & ProviderMetadataRegistryDelegate
* Rename ProviderRegistryDelegate.java to ProviderRegistry.java
* [automation] Add ScriptedItemChannelLinkProvider & ProviderItemChannelLinkRegistry
* [automation] Implement ProviderItemChannelLinkRegistry::purge

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2025-06-29 11:32:10 +02:00
jimtngandGitHub 9efdc0401c Yaml Model: restrict the watched folders to things, items, tags, and yaml; support both '.yaml' and '.yml' extensions (#4798)
* Yaml Model: restrict the watched folders to `things`, `items`, `tags`, and `yaml`
* Support `.yml` and `.yaml` extensions

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-06-28 19:04:57 +02:00
Mark HerwegeandGitHub 565294b9c6 Semantics health REST endpoint (#4827)
* semantics health REST endpoint

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2025-06-28 19:03:11 +02:00
Florian HotzeandGitHub 6bd830af24 [rest] Add editable field to metadata (#4874)
Signed-off-by: Florian Hotze <dev@florianhotze.com>
2025-06-28 18:51:25 +02:00
Holger FriedrichandGitHub f26c542429 Fix upgradetool dependencies, regression of #4855 (#4871)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-06-25 22:38:19 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
663951cd95 Bump com.mycila:license-maven-plugin from 4.6 to 5.0.0 (#4800)
Bumps [com.mycila:license-maven-plugin](https://github.com/mathieucarbou/license-maven-plugin) from 4.6 to 5.0.0.
- [Release notes](https://github.com/mathieucarbou/license-maven-plugin/releases)
- [Commits](https://github.com/mathieucarbou/license-maven-plugin/compare/license-maven-plugin-4.6...v5.0.0)

---
updated-dependencies:
- dependency-name: com.mycila:license-maven-plugin
  dependency-version: 5.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-22 12:14:30 +02:00
Wouter BornandGitHub 3d0996bf83 Upgrade Jollyday to 1.5.4 (#4862)
Upgrades Jollyday from 1.5.0 to 1.5.4.

For release notes, see:

https://github.com/focus-shift/jollyday/releases

Signed-off-by: Wouter Born <github@maindrain.net>
2025-06-21 13:49:20 +02:00
openhab-botandGitHub 35dc698215 New Crowdin updates (#4858)
* New translations tags.properties (Danish)
* New translations jsr223.properties (Spanish)
* New translations tags.properties (Hebrew)
* New translations automation.properties (Italian)
* New translations jsr223.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-06-21 08:56:43 +02:00
Holger FriedrichandGitHub e17577c7c5 Reduce SAT warnings (#4860)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-06-21 07:10:58 +02:00
Holger FriedrichandGitHub 6eb7d0c9a6 Clean up POM dependencies (#4855)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-06-18 20:23:10 +02:00
Andrew Fiddian-GreenandGitHub 81865db3a9 Add precipitation property (#4850)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2025-06-17 22:50:14 +02:00