Commit Graph
2521 Commits
Author SHA1 Message Date
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
openhab-botandGitHub c812d0930a New translations i18n.properties (Danish) (#5402) 2026-03-06 22:04:09 +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
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
Дилян ПалаузовandGitHub 71c5bcdcb3 Textual Rules: evaluate global variables in the context of previous variables (#5086) 2026-02-28 18:35:04 +01:00
Vambot07andGitHub 0a1cc016bc Improvements config.serial bundle: Add JavaDoc & fix concurrency bug (#5161)
* Improvements config.serial bundle: Add JavaDoc & fix concurrency bug
* Improvements config.dispatch bundle: Add JavaDoc, fix NPE bug & add @NonNullByDefault
* Improvements ephemeris bundle: Add comprehensive JavaDoc
* Improvements id bundle: Add JavaDoc
* Improvements bin2json bundle: Add JavaDoc
* Improvements console bundle: Add JavaDoc
* Improvements console.eclipse bundle: Add JavaDoc
* Improvements console.rfc147 bundle: Add comprehensive JavaDoc

Signed-off-by: Vambot07 <salihinazizizol@gmail.com>
2026-02-28 18:30:42 +01:00
Дилян ПалаузовandGitHub f9fb6a1323 core/resources: Use geographic coordinates with precision 1 meter (#5232) 2026-02-28 18:26:35 +01:00
Mark HerwegeandGitHub 93fba8fa1d Persistence health check for configuration from multiple providers (#5217)
* persistence health check for configuration with multiple providers

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2026-02-28 18:13:10 +01:00
joerg1985andGitHub 0c2db221b0 [automation] conditions related to the ThingStatus (#5231)
Signed-off-by: Jörg Sautter <joerg.sautter@gmx.net>
2026-02-28 18:10:58 +01:00
Jacob LaursenandGitHub 01c20d59ad Improve java.util.Date support for action inputs (#5310)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2026-02-28 18:06:36 +01:00
Holger FriedrichandGitHub 93110e2794 [io.monitor] Upgrade dependencies (#5381)
* metrics-core from 4.2.37 to 4.2.38

  Release notes:
  https://github.com/dropwizard/metrics/releases

* micrometer-core from 1.16.0 to 1.16.3

  Release notes:
  https://github.com/micrometer-metrics/micrometer/releases

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2026-02-28 17:29:10 +01:00
Christoph WeitkampandGitHub f017dec693 Added dimension for calorific value and related unit (#5327)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2026-02-28 17:28:34 +01:00
Mark HerwegeandGitHub 6d625b1261 Persistence item info REST endpoint bug fixes and enhancements (#5336)
* getItemInfo enhancement

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2026-02-28 16:44:34 +01:00
NadaharandGitHub 4757e22a23 Fix community marketplace discourse parsing (#5376)
Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>
2026-02-21 12:58:54 +01:00
Holger FriedrichandGitHub 7f7741d1ef Use Java 21 language features (#5374)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2026-02-20 07:30:15 +01:00
Holger FriedrichandGitHub 8084755af0 Upgrade Karaf to 4.4.10 (#5353)
Upgrade Karaf from 4.4.9 to 4.4.10.
This includes upgrades for the following libraries:
* pax-logging from 2.3.1 to 2.3.2
* xbean from 4.28 to 4.29

Reverts downgrade of karaf-maven-plugin to 4.4.8.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2026-02-16 20:25:24 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
e6ca14c9e1 Bump org.codehaus.gmavenplus:gmavenplus-plugin from 4.3.0 to 4.3.1 (#5369)
Bumps [org.codehaus.gmavenplus:gmavenplus-plugin](https://github.com/groovy/GMavenPlus) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/groovy/GMavenPlus/releases)
- [Commits](https://github.com/groovy/GMavenPlus/compare/4.3.0...4.3.1)

---
updated-dependencies:
- dependency-name: org.codehaus.gmavenplus:gmavenplus-plugin
  dependency-version: 4.3.1
  dependency-type: direct:development
  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-02-16 20:13:06 +01:00
David PaceandGitHub 5c4ce916d6 Improve Javadoc for QuantityType (#5360)
Signed-off-by: David Pace <dev@davidpace.de>
2026-02-15 13:01:49 +01:00
lolodomoandGitHub 3bc47c09a2 [YAML thing provider] Remove unsued and unneeded variable "modelLoaded" (#5362)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2026-02-15 12:57:18 +01:00
b19ac57df7 Add support for short-form syntax in YAML Semantic Tags (#5313)
* Add support for short-form YAML semantic tags

Implemented hybrid mapping for YamlSemanticTagDTO to allow tags to be defined as either a simple string (label) or a detailed object (label, description, synonyms). Includes Jackson creator/value logic for round-trip serialization.

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
Co-authored-by: Laurent Garnier <lg.hc@free.fr>
2026-02-15 12:54:35 +01:00
Andrew Fiddian-GreenandGitHub 48e1442e6b [mDNS] Only consider fully qualified discovery results (#5348)
* [mDNS] only consider fully qualified results

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2026-02-14 21:55:37 +01:00
Andrew Fiddian-GreenandGitHub 70144e3cc5 Support 'keywords' field in addon.xml schema (#5352)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2026-02-14 20:04:06 +01:00
NadaharandGitHub 767e809e5a Rule file provider (#4633)
Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>
2026-02-14 19:57:24 +01:00
jimtngandGitHub f9776bcb7f Restore model validation not to fail on diagnostic errors for rules and scripts (#5351)
* Restore model validation not to fail on diagnostic errors

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2026-02-14 13:28:52 +01:00