Commit Graph
3423 Commits
Author SHA1 Message Date
lolodomoandGitHub 3084fcb7af Deprecate defining buttons as properties of a Butongrid widget (#5530)
* Deprecate defining buttons as properties of a Butongrid widget

Remove specific related objects from core sitemap registry.

For backward compatibility, such buttons definition present in existing user sitemaps are automatically replaced by Button sub-widgets. A warning is logged to announce the deprecation when such definition is encountered.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2026-05-02 09:29:56 +02:00
lolodomoandGitHub e83cde5e9b Allow multiple sitemaps in a DSL file (#5531)
New file extension ".sitemaps" is added.
A .sitemaps file can contain one or several sitemap definitions.
.sitemap extension is kept for backward compatibility.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2026-05-02 09:28:07 +02:00
github-actions[bot]andGitHub 477a022083 Update maven wrapper to 3.9.15 (#5534) 2026-05-01 22:43:54 +02:00
lolodomoandGitHub 832a35c11d Serialize row/column as first properties of a Button widget (DSL sitemap) (#5533)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2026-05-01 22:00:46 +02:00
lolodomoandGitHub f7681c08f8 Avoid DSL sitemap serializer generating "forceAsItem=false" (#5532)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2026-05-01 21:39:38 +02:00
jimtngandGitHub be7f1ebd84 Add file-based YAML support for UI pages and widgets (#5493)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2026-05-01 18:27:42 +02:00
Holger FriedrichandGitHub 392241a029 [GHA] Fix mvnw checksum pinning (#5500)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2026-04-30 21:35:52 +02:00
Mark HerwegeandGitHub 4d6454c632 allow DSL empty sitemap (#5526)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2026-04-30 21:30:04 +02:00
Mark HerwegeandGitHub 2da9958f50 Fix conditions parsing in managed sitemaps (#5513)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2026-04-27 23:33:38 +02:00
Дилян ПалаузовandGitHub 470638997e ThingValidator.xtend does not need INVALID_NAME (#5521)
- ThingValidator.xtend does not need INVALID_NAME
- .mwe2:StandardLanguage: `serializer = { generateStub = true }` is the default
2026-04-27 22:15:27 +02:00
openhab-botandGitHub 3899037336 New translations tags.properties (German) (#5524) 2026-04-27 22:00:22 +02:00
Mark HerwegeandGitHub b37cf7289e make all sitemap DTOs schema names specific to Sitemaps (#5523)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2026-04-27 17:11:26 +02:00
lsiepelandGitHub 9b2a1b1609 Align thread calculation with Jetty (#5516)
Scale maximum number of threads to avoid Jetty errors on CPUs with a large number of threads.
2026-04-27 16:18:14 +02:00
jimtngandGitHub 64253e54a8 Prune orphaned entries in automation_rules_disabled.json on start up (#5514)
* Prune orphaned entries in automation_rules_disabled.json on start up
* Configurable startup delay
* Wait for removal in case rules are being reloaded

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2026-04-27 12:36:12 +02:00
jimtngandGitHub fb8e12efce Improve consistency of channelID / channelUID param documentation (#5520)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2026-04-27 10:41:39 +02:00
Mark HerwegeandGitHub 1e33058bb7 remove uicomponents identifier for sitemaps (#5505)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2026-04-24 09:25:08 +02:00
NadaharandGitHub 0926c54c1e Rule conversion preparation (#5502)
* Make YAML Rule and RuleTemplate providers handle isolated models
* Fix bug from #4633
* TemplateState was originally (during #4718 development) called TemplateStatus, and when changed, not every reference was included, which is corrected here
* Add a new constructor to RuleBuilder that allows to make a "copy" of a Rule using a new UID, and add Javadocs to the constructors
* Remove remnants of pre #4718 logic in Rule Javadocs
* Make StateAndCommandProvider sets immutable and all getters static
* Add /src.moved/ to .gitignore because it appears there after every build, constantly causing diffs.
* Use the new constants in ModuleTypeAliases and fix a bug in typeToAlias()
* Minor refactoring of rule template resolving
* Correct ConfigDescriptionParameter Javadoc and create toString() in ModuleImpl to ease debugging

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>
2026-04-23 15:06:02 +02:00
lolodomoandGitHub 7d99e35439 Adjust syntax for conditions in DSL Rule (#5501)
Fix #5488
Fix #5489

Also avoids the 'a' keyword.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2026-04-23 08:55:21 +02:00
Holger FriedrichandGitHub eb87e75200 Fix boucycastle upgrade (#5507)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2026-04-21 23:17:57 +02:00
Дилян ПалаузовandGitHub aa3ba46d09 Generate{Rule,Script}.mwe2: do not create ScopeProvider.xtend stubs (#5506) 2026-04-21 15:01:30 +02:00
Дилян ПалаузовandGitHub 383c5fd43f Generate{Persistence,Rule,Script}.mwe2: do not generate Validator.xtend stubs (#5503) 2026-04-20 20:26:10 +02:00
github-actions[bot]andGitHub 511d4a194e Resolve itest dependencies (#5499) 2026-04-19 01:14:45 +02:00
Mark HerwegeandGitHub 0f8df85557 Sitemap DSL serialization and parsing (#5459)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2026-04-18 12:38:18 +02:00
Kai KreuzerandGitHub 9fd8692891 Add support for HTTP401 in OAuth connector (#5432)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2026-04-18 07:06:52 +02:00
dependabot[bot]andGitHub eb6ed9b442 Bump org.bouncycastle:bcprov-jdk18on from 1.83 to 1.84 in /bom/runtime (#5497)
Bumps [org.bouncycastle:bcprov-jdk18on](https://github.com/bcgit/bc-java) from 1.83 to 1.84.
- [Changelog](https://github.com/bcgit/bc-java/blob/main/docs/releasenotes.html)
- [Commits](https://github.com/bcgit/bc-java/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-18 05:20:31 +02:00
github-actions[bot]andGitHub 32a1370863 Update maven wrapper to 3.9.15 (#5496) 2026-04-18 05:15:35 +02:00
dependabot[bot]andGitHub c1c5952dde Bump org.bouncycastle:bcpkix-jdk18on (#5494)
Bumps [org.bouncycastle:bcpkix-jdk18on](https://github.com/bcgit/bc-java) from 1.83 to 1.84.
- [Changelog](https://github.com/bcgit/bc-java/blob/main/docs/releasenotes.html)
- [Commits](https://github.com/bcgit/bc-java/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-17 08:01:47 +02:00
NadaharandGitHub 2960545bd1 Fix Operator definition in Rules.xtext (#5491)
Signed-off-by: Nadahar <Nadahar@users.noreply.github.com>
2026-04-16 16:55:31 +02:00
lolodomoandGitHub d405504e22 Add optional rule UID to DSL Rule file syntax (#5449)
* add optional rule UID to DSL file syntax
* avoid notifying the rule registry for isolated models
* check other model files for rule with same name before rule removal

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Also-by: Ravi Nadahar <nadahar@rediffmail.com>
2026-04-15 22:54:49 +02:00
Дилян ПалаузовandGitHub 911e102341 model.rule.runtime/RuleContextHelper.getContext() - initialize logger and injector only when they are needed (#5485)
FTR: small patch exception
2026-04-13 12:04:58 +02:00
Andrew Fiddian-GreenandGitHub 99358ab17e [mdns] Fix and de-bounce service resolution (#5439)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2026-04-13 11:21:42 +02:00
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