Commit Graph
3276 Commits
Author SHA1 Message Date
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4d9cacc3ae Bump org.apache.groovy:groovy-all from 5.0.4 to 5.0.5 (#5461)
Bumps [org.apache.groovy:groovy-all](https://github.com/apache/groovy) from 5.0.4 to 5.0.5.
- [Commits](https://github.com/apache/groovy/commits)

---
updated-dependencies:
- dependency-name: org.apache.groovy:groovy-all
  dependency-version: 5.0.5
  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>
2026-03-30 08:21:52 +02:00
a51e7f9910 State machine to model lights in Thing handlers (#4995)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-29 14:56:56 +02:00
Holger FriedrichandGitHub 8f22f9ba14 Fix build (#5456)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2026-03-28 12:40:43 +01:00
Holger FriedrichandGitHub 0f3928acaa Avoid using Optional as field type (#5423)
Replace Optional as field types by nullable fields.
This fixes SAT warnings.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2026-03-28 10:44:37 +01:00
lolodomoandGitHub 9265382604 Replace hardcoded strings by constants in DSL rule provider (#5454)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2026-03-27 23:32:20 +01:00
f4aba1cfd1 Update maven wrapper to 3.9.14 (#5451)
Co-authored-by: kaikreuzer <3244965+kaikreuzer@users.noreply.github.com>
2026-03-27 22:34:37 +01:00
github-actions[bot]andGitHub f38957bd36 Resolve itest dependencies (#5452) 2026-03-27 22:31:25 +01:00
Mark HerwegeandGitHub 809f4e610e Persistence group exclusion also exclude group members (#5392)
* fix group exclude

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2026-03-27 18:14:52 +01:00
46294372b6 Update Maven Wrapper to 3.9.14 (#5450)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
Co-authored-by: Holger Friedrich <mail@holger-friedrich.de>
2026-03-27 14:59:00 +01:00
CopilotandGitHub 9a4675a71e Bump org.eclipse.jdt:ecj from 3.43.0 to 3.45.0 (#5413)
* Bump org.eclipse.jdt:ecj from 3.43.0 to 3.45.0
* Fix annotation ordering in ThingStatusConditionHandlerTest
* Fix annotation ordering in Gson test DTOs added by @holgerfriedrich
* Revert Gson DTO annotation ordering fix, expect test failure instead
* Add GsonTestClassAnnotated3_DTO with correct annotation order and succeeding test; remove Objects.requireNonNull from ThingImpl.setProperty
* Restore Objects.requireNonNull in ThingImpl.setProperty to satisfy ECJ 3.45.0 null type check
* Fix GsonTest: assertEquals for annotated2 email, improve known-issue comment in annotated test

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2026-03-27 13:44:27 +01:00
Holger FriedrichandGitHub 1620b2a0df Add workflow to upgrade Maven Wrapper (#5410)
* Add workflow to upgrade Maven Wrapper

This GHA workflow checks for new Maven Warper scripts and upgrades Maven to
latest GA release (currently 3.x).
It runs once a week and creates a PR for possible changes.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2026-03-27 13:41:30 +01:00
Дилян ПалаузовandGitHub 8816a8a7cc model.thing.ThingSyntacticSequencerExtension: avoid redirection over empty class (#5428) 2026-03-27 09:49:07 +01:00
Дилян ПалаузовandGitHub 6974a9da6e Feature openhab.tp-xtext: don’t activate org.eclipse.xtend.lib (#5317) 2026-03-26 23:24:21 +01:00
Holger FriedrichandGitHub 814229f808 Add workflow to resolve itest dependencies (#5422)
* Add workflow to resolve itest dependencies

Automate the process of building with option -DwithResolver
and possibly opening a PR.
This might not always be intended as the resolver does not do
minimalistic changes, but removes older dependency versions and adds
new ones at the end of the bndrun file. But it mitigates the problem that
itests fail silently due to missing dependencies (which is still the
case with bndtools 7.2.1).

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2026-03-26 23:21:26 +01:00
Дилян ПалаузовandGitHub fc854f5a79 model.script.StateAndCommandProvider: make methods static (#5401) 2026-03-26 23:07:14 +01:00
Holger FriedrichandGitHub 5aadd40c97 Fix warnings and handle deprecations (#5421)
* Fix warnings and handle deprecations
* Potential fix for pull request finding

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2026-03-26 22:42:56 +01:00
Florian HotzeandGitHub 5bc5a1c311 [rest] Correct OpenAPI definition for GET config description(s) endpoints (#5448)
Signed-off-by: Florian Hotze <dev@florianhotze.com>
2026-03-26 22:40:47 +01:00
Mark HerwegeandGitHub d66f773a20 Implement a core sitemap registry (#5004)
* sitemap registry

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2026-03-26 22:38:01 +01:00
lolodomoandGitHub e2aacb11a9 [DSL rule] Add time of day trigger to DSL file syntax (#5440)
* [DSL rule] Add time of day trigger to DSL file syntax

Closes #5435

Exampele of rule:
```
rule "Test time of day trigger"
when
  Time is 20:13
then
  logInfo("Rule","Test")
end
```

For backward compatibility, using "noon" and "midnight" is still supported.
"timer.TimeOfDayTrigger" is now used (instead of "timer.GenericCronTrigger").

Here is the log confirming the execution of the rule at the expected time:
```
20:13:00.531 [INFO ] [org.openhab.core.model.script.Rule  ] - Test
```

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2026-03-25 21:48:52 +01:00
lolodomoandGitHub 0edae941f1 [DSL rule] Add tags to DSL file syntax (#5442)
* [DSL rule] Add tags to DSL file syntax

Closes #5436

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2026-03-25 21:22:06 +01:00
lolodomoandGitHub 52ca83fadb [DSL item provider] Check channel profile value + add line number to validation errors (#5429)
* [DSL item provider] Check channel profile value + add line number to validation errors

Closes #5057

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2026-03-25 21:10:11 +01:00
Florian HotzeandGitHub ce633bc685 [rest] Correct OpenAPI definition for ConfigDescriptionParameterDTO (#5446)
Signed-off-by: Florian Hotze <dev@florianhotze.com>
2026-03-25 13:31:48 +01:00
Jeff JamesandGitHub 3a27d1ac5b Updated swagger annotiona for getItemByName (#5443)
Signed-off-by: Jeff James <jeff@james-online.com>
2026-03-25 13:30:38 +01:00
Andrew Fiddian-GreenandGitHub 77b868ad06 Fix errors in Eclipse .project files (#5444)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2026-03-24 10:37:41 +01:00
Mark HerwegeandGitHub 6956a62445 Item metadata REST endpoints: don't allow adding or removing semantics (#5390)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2026-03-21 11:57:34 +01:00
Дилян ПалаузовandGitHub 61e2f742b8 core.model.GenericThingProvider.xtend: Remove compiler warning (#5426) 2026-03-21 11:48:47 +01:00
Дилян ПалаузовandGitHub 7a28d1c18c Script.xtext: remove unused imports (#5424) 2026-03-19 20:55:33 +01:00
Дилян ПалаузовandGitHub 1e507b9928 Rules.xtext: remove unused imports (#5420) 2026-03-16 14:59:32 +01:00
NadaharandGitHub 0bc16195cb Reorganize file conversion classes/interfaces (#5370)
Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>
2026-03-15 21:23:04 +01:00
Дилян ПалаузовandGitHub a8fd50ef51 model.rule.RulesRuntimeModule: switch {Rules => Script}ImplicitlyImportedTypes (#5397) 2026-03-15 20:14:12 +01:00
Jeff JamesandGitHub eebf1173c5 [rest] Corrections in the annotations for several REST api calls (#5404)
* Fix expected post body
* Fixes to openapi spec

Signed-off-by: Jeff James <jeff@james-online.com>
2026-03-15 20:09:47 +01:00
Florian HotzeandGitHub 1341eda39e [rest] PersistenceResource: Update OpenAPI annotation itemname => itemName (#5400)
Signed-off-by: Florian Hotze <dev@florianhotze.com>
2026-03-15 20:01:47 +01:00
lo92frandGitHub 105b5244b8 Fixes for null pointer error when compiling into eclipse (#5414)
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2026-03-15 19:56:53 +01:00
Bernd WeymannandGitHub b7a48af786 Add RadiationDoseRate dimension (#5418)
* add RadiationDoseRate unit
* add unit test

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2026-03-15 18:23:14 +01:00
Mark HerwegeandGitHub 775f2b368b Persistence timeseries fix updating Item state (#5403)
* correct alias when storing timeseries
* call handleExternalPersistenceDataChange from persistence extensions
when persisting or removing
* set item state if current state update time before restored entry in
timeseries

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2026-03-15 12:39:59 +01:00
lolodomoandGitHub abdda021b8 Check valid properties for channel (#5416)
Null key or value are rejected and an IllegalArgumentException is thrown.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2026-03-15 12:18:54 +01:00
Дилян ПалаузовandGitHub d7f9af5032 core.model.{rule,script}/bnd.bnd: reorder packages alphabetically (#5339)
So that both files can easily be compared.
2026-03-15 11:44:29 +01:00
Дилян ПалаузовandGitHub d6bcafb796 Delete model.rule.RulesClassFinder.forName(String,ClassLoader) (#5338)
The method body is exactly the same as in the base class.
2026-03-14 12:32:16 +01:00
lo92frandGitHub 4d6f115a8b Fix accessors on AccessTokenResponse.java (#5417)
Signed-off-by: Laurent ARNAL <laurent@clae.net>
2026-03-11 18:30:35 +01:00
lo92frandGitHub 926304f727 Add extra fields support to oAuth AccessTokenResponse (#5355)
* add extra fields support to oAuth AccessTokenResponse

Signed-off-by: Laurent ARNAL <laurent@clae.net>
2026-03-10 22:41:54 +01:00
lolodomoandGitHub 2e7be80e21 Fix when "Unloading DSL model" is logged (#5411)
Fix #5350

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2026-03-08 16:53:18 +01:00
Holger FriedrichandGitHub 4ad6899161 Upgrade Maven from 3.9.12 to 3.9.13 (#5409)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2026-03-06 23:12:15 +01:00
openhab-botandGitHub c812d0930a New translations i18n.properties (Danish) (#5402) 2026-03-06 22:04:09 +01:00
dependabot[bot]andGitHub 1d7bf01eb8 Bump org.apache.maven.plugins:maven-resources-plugin from 3.4.0 to 3.5.0 (#5406)
Bumps [org.apache.maven.plugins:maven-resources-plugin](https://github.com/apache/maven-resources-plugin) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/apache/maven-resources-plugin/releases)
- [Commits](https://github.com/apache/maven-resources-plugin/compare/v3.4.0...maven-resources-plugin-3.5.0)

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-06 22:02:16 +01:00
dependabot[bot]andGitHub 4612a70fc8 Bump org.apache.maven.plugins:maven-shade-plugin from 3.6.1 to 3.6.2 (#5407)
Bumps [org.apache.maven.plugins:maven-shade-plugin](https://github.com/apache/maven-shade-plugin) from 3.6.1 to 3.6.2.
- [Release notes](https://github.com/apache/maven-shade-plugin/releases)
- [Commits](https://github.com/apache/maven-shade-plugin/compare/maven-shade-plugin-3.6.1...maven-shade-plugin-3.6.2)

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-06 21:56:04 +01:00
Дилян ПалаузовandGitHub 3f93027f9e Textual Rules: allow XBase between then … end (#5398)
* changes the Rules.xtext grammar not to use explicitly the Script object
from the Script.xtext grammar. This allows at a later time to extend DSL
Scripts to start with `import`s, without allowing `import` statements right
after `rule … when … then <IMPORT> … end`.

* also allows at a later moment to merge DSL Rules and DSL Scripts into one.
2026-03-04 20:03:02 +01:00
Andrew Fiddian-GreenandGitHub 84de71a9a6 Schema update for configuration description (#5372)
* add schema options for context

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2026-03-04 19:49:48 +01:00
Holger FriedrichandGitHub a252737930 Upgrade Jackson to 2.21.1 (#5394)
* Upgrade Jackson from 2.21.0 to 2.21.1
* Upgrade snakeyaml from 2.4 to 2.5

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2026-03-02 17:16:48 +01:00
openhab-botandGitHub 45e9907b0b New Crowdin updates (#5395)
* New translations jsr223.properties (Italian)
* New translations i18n.properties (Italian)
* New translations automation.properties (Italian)
* New translations i18n.properties (German)
* New translations automation.properties (German)
2026-03-01 13:47:07 +01:00
dependabot[bot]andGitHub 471380c6a7 Bump actions/upload-artifact from 6 to 7 (#5396)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v6...v7)

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-01 11:05:03 +01:00