Commit Graph
3292 Commits
Author SHA1 Message Date
dependabot[bot]andGitHub 8556bf66d5 Bump peter-evans/create-pull-request from 8.1.0 to 8.1.1 (#5483)
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 8.1.0 to 8.1.1.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/c0f553fe549906ede9cf27b5156039d195d2ece0...5f6978faf089d4d20b00c7766989d076bb2fc7f1)

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-13 08:13:49 +02:00
lolodomoandGitHub 4623a78443 Fix how is called withTags in DSL Rule file provider (#5463)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2026-04-12 20:18:26 +02:00
Дилян ПалаузовandGitHub 59ab51e17d core.model.thing: switch serializer.Sequencer classes from Xtend to Java (#5457) 2026-04-12 09:39:30 +02:00
lolodomoandGitHub 2031d1e7e9 [DSL rule] Add conditions to DSL Rule file syntax (#5453)
Supports all conditions except the execution of script.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2026-04-12 09:17:15 +02:00
Дилян ПалаузовandGitHub 03e96eca13 core.model/*.mwe2: Do not generate serializer stubs (#5478)
Delete empty model/serializer/…SemanticSequencer.xtend and
serializer/…SyntacticSequencer.xtend files
2026-04-12 09:04:19 +02:00
openhab-botandGitHub 4c863bb454 New Crowdin updates (#5473)
* New translations messages.properties (Danish)
* New translations messages.properties (German)
2026-04-09 21:07:02 +02:00
NadaharandGitHub 62924f52b9 Include cause in thrown ScriptExceptions from DSLScriptEngine (#5480)
Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>
2026-04-09 18:38:56 +02:00
lsiepelandGitHub b18e2db88c Remove nullable from properties map value type (#5476)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2026-04-06 13:27:05 +02:00
Дилян ПалаузовandGitHub 992e207e7e Remove all super(); calls (#5468)
by calling:
  sed -i "/super();/d" $(git grep -l "super();")
2026-04-04 23:53:49 +02:00
Dan CunninghamandGitHub 762dd34604 Allow null property values (#5475)
`updateProperties` does not allow null values in the passed in Map, yet everywhere else in the code does allow for null values (which specifically unsets the property), including the individual `updateProperty` methods.  I think this was likely an oversight, and not by design, as i can't see why we would enforce non-null values here.

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2026-04-04 23:11:10 +02:00
Mark HerwegeandGitHub 9d9fc508dd Sitemap DSL convert some validation warnings to errors (#5470)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2026-04-04 15:08:59 +02:00
Florian HotzeandGitHub 37868f415e [rest] Correct OpenAPI definition for GET config description(s) endpoints (#5474)
Regression from #5448.
This time does it correct.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
2026-04-03 21:10:45 +02:00
Florian HotzeandGitHub d9e051a151 [http.auth] Add cancel button, fix font in form & use SVG logo with dark/light variants for authorize page (#5464)
Signed-off-by: Florian Hotze <dev@florianhotze.com>
2026-04-03 12:20:29 +02:00
Mark HerwegeandGitHub ebe0ec6412 Sitemaps: Fix incorrect warning if Button has visibility defined (#5460)
* fix warning
* make sequence independent
* allow both button in buttons definition and as children

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2026-04-02 14:17:14 +02:00
Дилян ПалаузовandGitHub 613f237e89 model.yaml.YamlRuleProvider.mapRule(): simplify usage of RuleBuilder methods (#5469) 2026-04-02 14:10:26 +02:00
Holger FriedrichandGitHub 25ad406c66 [GHA] Remove setup-maven step
As we use mvnw, this step can be removed from ci-build.yml.
2026-03-31 22:21:03 +02:00
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