jimtng
c40c258e04
WatchService: use absolute path in processWatchEvent ( #4796 )
...
* WatchService: use absolute path in processWatchEvent
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
* update interface and use a consistent name `fullPath`
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
---------
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-05-10 16:13:03 +02:00
Florian Hotze
8ff69a3f50
[rest] Support sending Item command/state as JSON ( #4760 )
...
Signed-off-by: Florian Hotze <dev@florianhotze.com>
2025-05-09 22:32:38 +02:00
Holger Friedrich
8eb6eeae84
Revert "Upgrade JUnit to 5.12.1 ( #4642 )" ( #4790 )
...
* This reverts commit 8de8b4d4b4
.
* Add note about itests not being executed with junit 5.12.
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-05-07 07:54:16 +02:00
lolodomo
8d3c3575a2
[REST] Fix API to get file format when applied to a subset of elements ( #4786 )
...
Fix #4778
Things and items are now sorted in output only when all elements are requested.
If the API is requested only for a subset of elements (things or items), the output respects the input order of elements.
DSL generator for things and items is also fixed to avoid a crash when called with 0 element.
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2025-05-06 20:16:24 +02:00
jimtng
3fb76c9fae
Create API Token: add regex validation to html input ( #4782 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-05-03 07:46:22 +02:00
Holger Friedrich
26167c9080
Tune Dependabot ( #4775 )
...
Switch mvn to development deps only. This should cover mvn plugins.
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-05-01 10:24:43 +02:00
Holger Friedrich
6e1ad0d975
[GHA] Allow rebuild using label rebuild ( #4739 )
...
* This restores functionality we had before we migrated the PR builds
to GitHub Actions.
* Implement rebuild in ci_build workflow to make PR validation pass
* Remove label rebuild at the end of the workflow
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-05-01 08:54:39 +02:00
lolodomo
a65b9a4b83
YAML things: clean map when removing the last elements for a model ( #4763 )
...
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2025-04-30 22:14:13 +02:00
lolodomo
3404384c47
YAML parser: filter unexpected part from the parse exception message ( #4759 )
...
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2025-04-30 22:11:16 +02:00
lolodomo
003c6e18e1
YAML things: adjustment of messages when checking a thing element ( #4761 )
...
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2025-04-30 06:42:08 +02:00
jimtng
0b89fbd2cd
YAML Model Repository: Fix premature unknown element warning ( #4755 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2025-04-30 06:31:57 +02:00
Holger Friedrich
c519ae1478
Update Dependabot config ( #4764 )
...
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-04-28 19:52:40 +02:00
Holger Friedrich
bce9837540
Enable Dependabot PRs ( #4751 )
...
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-04-28 18:56:21 +02:00
jimtng
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
7820dc45bd
Cleanup: Java21, SAT ( #4757 )
...
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2025-04-28 08:55:53 +02:00
openhab-bot
8fbea76834
New translations tags.properties (Danish) ( #4756 )
2025-04-27 08:28:29 +02:00
Andrew Fiddian-Green
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
Andrew Fiddian-Green
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
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
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
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
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
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
d0308a2348
New translations tags.properties (Danish) ( #4741 )
2025-04-23 19:03:20 +02:00
lolodomo
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
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
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
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
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
2ec59cdebf
New Crowdin updates ( #4729 )
...
* New translations tags.properties (Danish)
2025-04-20 08:42:34 +02:00
lolodomo
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
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
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
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
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
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
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
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
5632e29ac8
New translations tags.properties (Danish) ( #4721 )
2025-04-16 23:20:49 +02:00
Andrew Fiddian-Green
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
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
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
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
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
bda8c2a2a4
New Crowdin updates ( #4696 )
...
* New translations tags.properties (Danish)
2025-04-07 23:19:11 +02:00
jimtng
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
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
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
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
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