J-N-K
8e81bebd3a
Fix exception in TransformationHelper ( #3627 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-05-25 08:36:45 +02:00
Kai Kreuzer
a12d64d4a3
Update to SAT version 0.15.0 ( #3623 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-05-23 09:10:54 +02:00
J-N-K
cd7840dc63
Add dimension RadiationSpecificActivity ( #3608 )
...
* Add dimension RadiationSpecificActivity
This can be used e.g. for radon monitoring. The unit Bq/m3 was wrongly assigned to the dimension `Density` before.
Signed-off-by: Jan N. Klug <github@klug.nrw>
* improvement
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-05-20 09:42:58 +02:00
J-N-K
3eca30f2c1
Fix Upgradetool does not remember last executed step ( #3621 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-05-20 09:38:28 +02:00
J-N-K
d87007a585
Fix only first group config considered in persistence manager ( #3618 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-05-18 11:00:45 +02:00
Hans Böhm
f92424c0b8
Add unit rpm ( #3616 )
...
Signed-off-by: Hans Böhm <h.boehm@gmx.at>
2023-05-17 11:47:53 +02:00
J-N-K
6eb49577fe
Fix UpgradeTool execution log ( #3614 )
...
It seems that in some cases GSON is not able to correctly serialize/deserialize ZonedDateTime. Since we do not depend on the value in any case (it's just informational), we can store a String instead.
A missing metadata database also failed the check when upgrading items. This has been fixed, too.
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-05-14 18:43:43 +02:00
J-N-K
55d6d21f1f
Fix marketplace add-on services fail after upgrade ( #3572 )
...
* Fix marketplace add-on services fail after upgrade
A format change in the database (related to the introduction of addon.xml) leads to a non-migrateable and permanent error that floods the log with exceptions and malfunctions.
If such an error is detected, the database is purged and an error logged.
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-05-13 20:55:17 +02:00
J-N-K
0f1f1729b7
Reduce loglevel in UnitUtils ( #3609 )
...
The log level was increased during the UoM refactoring but it turns out that a lot of code depends on failing silently. Therefore the log level is again reduced to DEBUG.
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-05-13 20:50:53 +02:00
openhab-bot
08924232fc
New Crowdin updates ( #3589 )
...
* New translations DefaultSystemChannels.properties (Greek)
* New translations restauth.properties (Greek)
* New translations voice.properties (Greek)
* New translations scriptprofile.properties (Greek)
* New translations i18n.properties (Greek)
* New translations validation.properties (Italian)
* New translations validation.properties (French)
---------
Signed-off-by: J-N-K <github@klug.nrw>
Co-authored-by: J-N-K <github@klug.nrw>
2023-05-13 17:54:26 +02:00
J-N-K
fbd7f9cbff
Fix UpgradeTool and enable default=all policy ( #3607 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-05-12 22:22:38 +02:00
Matthew Skinner
c2ce05a550
Bump Netty version to 4.1.92.Final ( #3577 )
...
Bump Netty to latest versions.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
2023-05-11 07:03:37 +02:00
Holger Friedrich
09f3de3889
Upgrade SAT to 0.14.0 ( #3599 )
...
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-05-11 07:00:34 +02:00
lolodomo
e4e23e3ccb
Fix failed persistence tests ( #3601 )
2023-05-10 15:56:25 +02:00
J-N-K
9ef076dc6a
[uom] Add unit
metadata for NumberItem ( #3481 )
...
* Add defaultUnit metadata for NumberItem
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-05-09 22:42:25 +02:00
J-N-K
67b80af872
Fix storing of StateDescriptionFragment in AbstractStorageBasedTypeProvider ( #3598 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-05-09 18:10:47 +02:00
lolodomo
6af9870c50
Fix build (AbstractStorageBasedTypeProviderTest) ( #3596 )
...
Fix #3594
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-05-08 11:02:36 +02:00
J-N-K
8e1a2cfd0a
Add an AbstractStorageBasedTypeProvider ( #3407 )
...
* Add an AbstractDynamicTypeProvider
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-05-07 21:51:10 +02:00
J-N-K
960cf0c179
Improve thing updates ( #3576 )
...
* Improve thing updates
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-05-07 20:46:42 +02:00
J-N-K
2e00efc9bb
Allow managing persistence configurations and enable filters ( #2871 )
...
* Allow managing persistence configurations
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-05-07 20:33:28 +02:00
J-N-K
28ec419afd
Fix non-unique module handler identifiers ( #3592 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-05-05 20:25:33 +02:00
J-N-K
d7ba8ad636
Improve message when rule action fails ( #3593 )
...
Also logs the full stacktrace at DEBUG level
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-05-05 20:16:55 +02:00
Kai Kreuzer
9c59071038
Make --dir param optional for upgradetool ( #3591 )
...
* Make --dir param optional for upgradetool
Almost all openHAB installations should have the $OPENHAB_USERDATA env variable set.
If this is the case, the user does not have to provide a directory, so this parameter can be made optional.
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-05-04 09:08:26 +02:00
Jacob Laursen
c8464870bb
[ephemeris] Add support for overriding holiday definitions ( #3573 )
...
* Add support for overriding holiday definitions
End Danish General Prayer Day
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-05-02 09:11:59 +02:00
Kai Kreuzer
476975a012
Allow OnOffType as valid conversion types for HSBType and PercentType ( #3588 )
...
* Allow OnOffType as valid conversion types for HSBType and PercentType
* Add clause for supported PercentType
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-05-02 09:10:34 +02:00
J-N-K
c40dd73d77
Initial contribution of an CLI upgrade-tool ( #3268 )
...
* Initial contribution of an upgrade-tool
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-05-01 21:58:11 +02:00
J-N-K
cdab53b814
Change default imperial unit for length to inch ( #3587 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-05-01 15:04:59 +02:00
Holger Friedrich
5e0a4ff25a
Reduce SAT warnings ( #3586 )
...
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-05-01 09:08:26 +02:00
Holger Friedrich
a77a303dc3
Code cleanup: Use Java 17 features ( #3585 )
...
* Code cleanup: Use Java 17 features
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-05-01 08:27:15 +02:00
jimtng
58df2b272d
Remove GenericScriptEngineFactory ( #3550 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2023-04-30 18:38:25 +02:00
Holger Friedrich
33233982b3
Code cleanup: Use Java 17 features ( #3580 )
...
* Code cleanup: Use Java 17 features
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-04-30 18:37:48 +02:00
Kai Kreuzer
ac0f512178
Consider auto-update veto from channel types ( #3575 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-04-24 20:14:20 +02:00
jimtng
bff92e0349
Improve log message to identify profile's link ( #3568 )
2023-04-22 08:18:49 +02:00
GiviMAD
7cf090140c
[voice] Remove deprecated dialog methods ( #3567 )
...
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2023-04-21 23:05:09 +02:00
Andrew Fiddian-Green
da5ac36a68
Improve precision of ColorUtil ( #3542 )
...
* [ColorUtil] add fine precision methods and tests
* [ColorUtil] set precision to 5
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-04-21 21:31:16 +02:00
jimtng
bc922022c3
[REST] List semantic tags ( #3559 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2023-04-20 22:20:30 +02:00
Jacob Laursen
4349be6945
Redefine connection in addon.xsd ( #3563 )
...
* Redefine addon.xml connection
* Remove remains of author
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-04-20 20:36:44 +02:00
Wouter Born
3c6d855d4b
Remove redundant public and abstract modifiers from interfaces ( #3560 )
...
* Remove redundant public modifiers from interfaces
* Remove redundant abstract modifiers from interfaces
Signed-off-by: Wouter Born <github@maindrain.net>
2023-04-20 20:22:58 +02:00
lolodomo
cfb2fa1be8
Icon server: remove old style request with the state in the URL ( #3548 )
...
The state is now expected to be passed only in the "state" parameter of the request.
As a result, the icon name can now contain hyphen(s).
Closes #3543
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-04-18 10:48:39 +02:00
Holger Friedrich
769aa562a1
Code cleanup: Use Java 17 features ( #3522 )
...
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-04-16 21:43:59 +02:00
Sami Salonen
fdea66ae75
[modbus] Fix possible NPE when connection construction fails ( #3490 )
...
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2023-04-15 16:29:36 +02:00
jimtng
7a9b76dfdf
Fix division-by-zero error in Persistence average ( #3556 )
...
* Fix division-by-zero error in Persistence average
* Add test
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2023-04-15 16:03:45 +02:00
jimtng
9e334497f9
Add methods to get Semantic tag synonyms and description ( #3553 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2023-04-15 11:24:12 +02:00
J-N-K
9bbe4567f8
Fix wrong event subscription in GroupStateTrigger and ItemStateTrigger ( #3533 )
...
The `GroupStateTrigger` subscibed to `ItemStateEvent` instead of `ItemStateUpdatedEvent` (while `ItemStateTrigger` uses `ItemStateUpdatedEvent`), this is confusiing and results in different behavior of both triggers.
The `ItemStateTrigger` did not subscribe to `GroupStateUpdatedEvent` which results in the trigger not firing for group state UPDATES. This is wrong because it fires for item UPDATES and for both, group and item CHANGES.
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-04-15 09:25:14 +02:00
J-N-K
016828ccee
Fix thing reloading from things file ( #3526 )
...
It was found that things from textual configuration are not properly updated if changes are only made in configuration or label of a channel. The reason is that for equality only uid and accepted item-type where checked.
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-04-15 09:16:32 +02:00
J-N-K
5ca849ed88
Fix hidden files showing up in TransformationRegistry ( #3532 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-04-15 09:11:03 +02:00
jimtng
3fc4a4c9d2
Improve logging to identify the offending link ( #3554 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2023-04-15 09:04:37 +02:00
Jacob Laursen
eb6b6b9677
[oauth] Add support for custom deserialization of AccessTokenResponse ( #3537 )
...
* Add possibility to inject custom GsonBuilder
Reverts #1891
Fixes #1888
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-04-14 21:19:08 +02:00
jimtng
5d46377d22
Fix IndexOutOfBoundsException in ScriptEngineFactoryHelper ( #3549 )
...
* Fix IndexOutOfBoundsException in ScriptEngineFactoryHelper
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2023-04-14 18:39:20 +02:00
jimtng
4f2af88e73
Add dynamic creation of semantic tags ( #3519 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2023-04-14 14:35:43 +02:00