jimtng and GitHub
22db52ecc4
Add YamlModelRepository test for removal of version or element type ( #4758 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au >
2025-04-28 11:13:29 +02:00
Holger Friedrich and GitHub
7820dc45bd
Cleanup: Java21, SAT ( #4757 )
...
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-04-28 08:55:53 +02:00
openhab-bot and GitHub
8fbea76834
New translations tags.properties (Danish) ( #4756 )
2025-04-27 08:28:29 +02:00
Andrew Fiddian-Green and GitHub
4167c02239
Add property.info tag for media channel types ( #4754 )
...
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch >
2025-04-27 07:29:36 +02:00
5a097ed270
Semantic tags: Just a few more ( #4745 )
...
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch >
Co-authored-by: jimtng <2554958+jimtng@users.noreply.github.com >
2025-04-26 22:52:53 +02:00
jimtng and GitHub
f5f8921e14
Yaml Model Repository: Remove elements no longer in model ( #4749 )
...
This fix two scenarios:
- When the new model is missing `version:` key but the old model had one, the file is considered invalid, but the previously loaded elements didn't get removed
- When the new model has a valid `version:` key, but the entire element type, e.g. `thing:` is removed, the previously loaded elements (e.g. things) didn't get removed.
Additionally, log a warning when an unknown element type is encountered.
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au >
2025-04-26 08:16:47 +02:00
jimtng and GitHub
9cc4a05486
include .yaml extension in the model name ( #4747 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au >
2025-04-26 08:07:55 +02:00
jimtng and GitHub
dfe4615912
YAMLThing: fix typo and minor refactor ( #4748 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au >
2025-04-26 08:00:44 +02:00
jimtng and GitHub
685264295c
FileFormatResource: accept multiple ids in a single request ( #4734 )
...
* FileFormatResource: accept multiple ids in a single request
* Change from GET endpoints to POST
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au >
2025-04-23 19:09:25 +02:00
lolodomo and GitHub
46dcfa674d
[DSL generator] Consider a bridge thing as bridge if it contains things ( #4740 )
...
Signed-off-by: Laurent Garnier <lg.hc@free.fr >
2025-04-23 19:05:12 +02:00
openhab-bot and GitHub
d0308a2348
New translations tags.properties (Danish) ( #4741 )
2025-04-23 19:03:20 +02:00
lolodomo and GitHub
2a4b0735fc
[DSL generator] Avoid injecting the state pattern in label if already present in stateDescription metadata ( #4730 )
...
Signed-off-by: Laurent Garnier <lg.hc@free.fr >
2025-04-23 18:49:17 +02:00
Mark Herwege and GitHub
9741434f61
Fix GroupItem restore ( #4743 )
...
Signed-off-by: Mark Herwege <mark.herwege@telenet.be >
2025-04-23 18:42:57 +02:00
Andrew Fiddian-Green and GitHub
aa8e05f877
Semantic tags: add zones, move battery ( #4738 )
...
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch >
2025-04-22 21:05:09 +02:00
Chris Jackson and GitHub
f16f7cda31
Add stack trace to logger DTO ( #4732 )
...
Signed-off-by: Chris Jackson <chris@cd-jackson.com >
2025-04-20 22:15:39 +02:00
Cody Cutrer and GitHub
5c42be4861
Allow ThingHandlers to dynamically register services ( #4719 )
...
Signed-off-by: Cody Cutrer <cody@cutrer.us >
2025-04-20 08:52:23 +02:00
openhab-bot and GitHub
2ec59cdebf
New Crowdin updates ( #4729 )
...
* New translations tags.properties (Danish)
2025-04-20 08:42:34 +02:00
lolodomo and GitHub
b7b23db9a7
YAML configuration: add support for things ( #4691 )
...
Related to #3666
Signed-off-by: Laurent Garnier <lg.hc@free.fr >
2025-04-19 22:21:09 +02:00
Jacob Laursen and GitHub
1c955f3cb3
Add synonyms for a few semantic tags ( #4725 )
...
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk >
2025-04-19 10:24:33 +02:00
Kai Kreuzer and GitHub
1d567df50c
Shorten logging of timeseries updatesd ( #4728 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org >
2025-04-19 08:57:08 +02:00
Andrew Fiddian-Green and GitHub
87cab4e027
Semantic Tags: Update system channel tags to match latest schema ( #4706 )
...
* update tags to match xsd
* use tag name constants
* overload withTags()
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch >
2025-04-19 03:57:19 +02:00
jimtng and GitHub
e4cc912f04
Make expire support days, ISO8601 Duration and fully configurable through metadata configuration map ( #4724 )
...
* Make `expire` fully configurable through metadata configuration map
* raise an error when setting is specified in both value and config map
* support days and ISO8601
* unknown config raises an error
* throws an exception on negative duration
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au >
2025-04-19 03:52:32 +02:00
Jacob Laursen and GitHub
9e7aa7bf32
Add semantic tag for coffee maker ( #4726 )
...
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk >
2025-04-18 18:09:49 +02:00
Jacob Laursen and GitHub
69c0be1aa5
Add Javadoc for new overloads ( #4727 )
...
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk >
2025-04-18 11:37:52 +02:00
Andrew Fiddian-Green and GitHub
fc8d791dbd
Semantic Tags: Overload Equipment tag setters for Things ( #4713 )
...
* overload tag setter methods
* run resolver
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch >
2025-04-17 01:20:06 +02:00
openhab-bot and GitHub
5632e29ac8
New translations tags.properties (Danish) ( #4721 )
2025-04-16 23:20:49 +02:00
Andrew Fiddian-Green and GitHub
ad7612dba7
Semantic Tags: Tweaks to tags ( #4708 )
...
* Tweaks to Point and Property tags
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch >
2025-04-13 16:12:05 +02:00
lolodomo and GitHub
788b40f8a0
[DSL generator] Check that metadata config value type is supported ( #4720 )
...
Signed-off-by: Laurent Garnier <lg.hc@free.fr >
2025-04-13 13:53:45 +02:00
jimtng and GitHub
a085b031e3
Fix NPE in ConfigUtil ( #4715 )
...
Regression from #4657
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au >
2025-04-10 21:32:31 +02:00
lo92fr and GitHub
601477d4cf
fix upnp support to handle embededd devices ( #4712 )
...
Signed-off-by: Laurent ARNAL <laurent@clae.net >
2025-04-10 09:29:00 +02:00
Andrew Fiddian-Green and GitHub
013de041ca
OAuth RFC-8628 various post-fixes ( #4699 )
...
* add timeout to oauth calls
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch >
2025-04-09 10:42:23 +02:00
openhab-bot and GitHub
bda8c2a2a4
New Crowdin updates ( #4696 )
...
* New translations tags.properties (Danish)
2025-04-07 23:19:11 +02:00
jimtng and GitHub
eccde15192
Check for duplicate tags in SemanticTags.csv ( #4702 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au >
2025-04-05 17:44:28 +02:00
jimtng and GitHub
0bc2967da6
Sort SemanticTags.csv and group children under their parent tag ( #4700 )
...
* Sort SemanticTags.csv and group children under their parent tag
* sort xsd tag entries alphabetically
* sort DefaultSemanticTagProvider.java
* change the order to Location, Point, Property, Equipment
* remove duplicate tilt property
* revert DefaultSemanticTagProvider sorting
* add back Tilt Property, remove Tilt Point instead
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au >
2025-04-05 16:49:55 +02:00
Andrew Fiddian-Green and GitHub
693943e7c1
Semantic Tags: Added EQUIPMENT tags ( #4694 )
...
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch >
2025-04-05 11:31:46 +02:00
lo92fr and GitHub
46a93b022f
Fix timeseries restore init late initialization of listeners on GenericItem ( #4679 )
...
* Fix proposal for #4656 : listeners are set too late on GenericItems because restoring persisted value from persisted layer delay the loop
Signed-off-by: Laurent ARNAL <laurent@clae.net >
2025-04-04 22:07:41 +02:00
lolodomo and GitHub
7b6e4c0718
YAML configuration: add basic version management ( #4667 )
...
Each YAML element provider can now define which YAML file versions it is applicable to and whether it is deprecated or not.
Related to #3666
Signed-off-by: Laurent Garnier <lg.hc@free.fr >
2025-04-04 11:23:41 +02:00
jimtng and GitHub
089961ac43
Allow multiple default values to contain an escaped comma ( #4657 )
...
* Allow multiple default values to contain an escaped comma
An comma character can be a part of the value when escaped with a backslash.
The backslash will be removed, i.e. `\,` -> `,`
To have an actual backslash and comma, add an extra backslash, i.e. `\\,` -> `\,`
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au >
2025-04-03 21:34:27 +02:00
lolodomo and GitHub
2aa19c73d0
Introduce YAML configuration version 2 ( #4648 )
...
* Introduce YAML configuration version 2
Version 2 uses map to store elements while version 1 uses table.
Version 1 is still supported.
Unit tests have been extended to cover version 1 and 2.
Related to #3666
Signed-off-by: Laurent Garnier <lg.hc@free.fr >
2025-04-03 21:22:44 +02:00
jimtng and GitHub
5fcee65236
Generate valid tags in thing-description-1.0.0.xsd ( #4626 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au >
2025-04-03 21:17:59 +02:00
Andrew Fiddian-Green and GitHub
75e0a2dd33
Semantic Tags: Added PROPERTY tags ( #4695 )
...
* add property tags
* remove spaces
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch >
2025-04-03 21:12:34 +02:00
85d539c35b
Semantic Tags: set EQUIPMENT tags on Things ( #4617 )
...
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch >
Co-authored-by: Holger Friedrich <mail@holger-friedrich.de >
2025-04-03 21:10:13 +02:00
Holger Friedrich and Kai Kreuzer
d7383d9d5e
Fix ThreadPool monitoring
...
* Base UnstoppableExecutorService on ThreadPoolExecutor which is
supported by ExecutorServiceMetrics of micrometer-core
* Fix handling of references to ExecutorServiceMetrics to avoid garbage
collection removing the instances
* Remove duplicate registration of ThreadPools
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-04-02 22:14:15 +02:00
Holger Friedrich and Kai Kreuzer
2a12cd63c3
[io.monitor] Upgrade dependencies
...
* metrics-core from 4.0.7 to 4.2.30
Release notes:
https://github.com/dropwizard/metrics/releases
* micrometer-core from 1.6.3 to 1.14.5
Release notes:
https://github.com/micrometer-metrics/micrometer/releases
* HdrHistogram from 2.1.12 to 2.2.2
Release notes:
https://github.com/HdrHistogram/HdrHistogram/releases/tag/HdrHistogram-2.2.1
https://github.com/HdrHistogram/HdrHistogram/releases/tag/HdrHistogram-2.2.2
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de >
2025-04-02 22:14:15 +02:00
Andrew Fiddian-Green and GitHub
e05185e407
Semantic Tags: validate POINT/PROPERTY tags on Channel Types ( #4615 )
...
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch >
2025-04-02 22:09:10 +02:00
jimtng and GitHub
e3166cdab8
Create static constants for the default semantic tags ( #4622 )
...
* Create static constants for the default semantic tags
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au >
2025-04-02 22:03:33 +02:00
jimtng and GitHub
9cd72164f5
Add lastStateUpdate, lastStateChange to ItemStateUpdatedEvent/ItemStateChangedEvent ( #4606 )
...
* Add `lastStateUpdate`, `lastStateChange` to `ItemStateUpdatedEvent`/`ItemStateChangedEvent`
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au >
2025-04-02 21:59:16 +02:00
jimtng and GitHub
40d9a67e53
Log warnings when an Item's semantic structure is incorrect ( #4613 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au >
2025-04-02 21:54:40 +02:00
openhab-bot and GitHub
5c8b18dcc6
New Crowdin updates ( #4683 )
...
* New translations tags.properties (Italian)
* New translations scriptprofile.properties (Czech)
* New translations units.properties (Norwegian)
* New translations voice.properties (Finnish)
* New translations chart.properties (Italian)
* New translations tags.properties (Finnish)
* New translations tags.properties (Hebrew)
* New translations automation.properties (Italian)
* New translations automation.properties (Hebrew)
2025-04-02 21:25:22 +02:00
jimtng and GitHub
0e4a064d82
Allow using '*' and '?' as wildcards in Item state and command triggers ( #4646 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au >
2025-04-02 21:19:19 +02:00