Holger Friedrich
bf11a92f40
Bump maven-plugin-plugin to 3.11.0 ( #4153 )
...
Allow for compiling with Java 21
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-03-17 09:24:59 +01:00
Holger Friedrich
cf7bff88ee
Bump maven-shade-plugin to 3.5.2 ( #4152 )
...
Allow for compiling with Java 21
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-03-17 09:24:36 +01:00
Arne Seime
137cc5eb49
[rest] Allow skipping ignored things in inbox ( #4108 )
...
* Allow skipping ignored things in inbox
Signed-off-by: Arne Seime <arne.seime@gmail.com>
2024-03-15 15:51:36 +01:00
joerg1985
12a6742189
[rest] special handling for StreamingOutput ( #4145 )
...
Signed-off-by: Jörg Sautter <joerg.sautter@gmx.net>
2024-03-12 18:58:31 +01:00
joerg1985
3d83c70184
[rest] refactored the Stream2JSONInputStream to simplify the logic ( #4099 )
...
Signed-off-by: Jörg Sautter <joerg.sautter@gmx.net>
2024-03-10 17:24:01 +01:00
Florian Hotze
977fa0329a
[rest] Enable filters for cacheable items list ( #4119 )
...
This allows the usage of filters when using `staticDataOnly=true`.
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-10 11:41:52 +01:00
Mark Herwege
eeb69197c6
unitSymbol for GroupItem ( #4106 )
...
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2024-03-10 10:07:52 +01:00
Florian Hotze
38b73bf989
[auth] Set doctype for auth page ( #4129 )
...
Fixes https://github.com/openhab/openhab-webui/issues/2443 .
See https://developer.mozilla.org/en-US/docs/Web/HTML/Quirks_Mode_and_Standards_Mode .
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-10 09:59:38 +01:00
joerg1985
094e4a6e04
[rest] stream json without starting a new thread ( #4136 )
...
Signed-off-by: Jörg Sautter <joerg.sautter@gmx.net>
2024-03-10 09:46:39 +01:00
openhab-bot
942929973d
New Crowdin updates ( #4138 )
...
* New translations addons.properties (French)
* New translations addons.properties (Finnish)
* New translations addons.properties (Hebrew)
* New translations units.properties (Finnish)
* New translations scriptprofile.properties (Hebrew)
* New translations units.properties (Hebrew)
* New translations addons.properties (Polish)
* New translations voice.properties (Polish)
* New translations units.properties (Polish)
* New translations addons.properties (Russian)
* New translations marketplace.properties (Russian)
* New translations units.properties (Russian)
* New translations addons.properties (Ukrainian)
* New translations validation.properties (Danish)
* New translations languagesupport.properties (Portuguese)
* New translations languagesupport.properties (Portuguese, Brazilian)
* New translations addons.properties (Danish)
* New translations scriptprofile.properties (Italian)
2024-03-10 09:41:35 +01:00
jimtng
fc2d5375b7
Upgrade Tool: Fix NPE ( #4128 )
2024-03-04 07:19:51 +01:00
Florian Hotze
f4d6089eb0
Call, Contact, Image items: Don't create command descr from state descr ( #4097 )
...
* Contact item: Fix command descriptions provided even though commands are not accepted
If a state description is set on a contact item, currently a command description is automatically created as well.
This is wrong as contact items do not accept commands (except refresh) and caused the UI to display a control for the default (list) widget for these contacts.
* Also fix Call and Image items & Allow explicitly setting command description
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-03 13:20:10 +01:00
Holger Friedrich
bca1010c0e
Relax test to accept files with CRLF line endings ( #4126 )
...
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-03-03 13:05:16 +01:00
Florian Hotze
81805ae6d9
[rest] Set editable for members of an item ( #4118 )
...
* [rest] Set editable for members of an item
Required by the UI.
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-03 10:14:32 +01:00
Florian Hotze
d26aa080ab
Script profile: Fix deprecation warning ( #4110 )
...
Refs #4058 .
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-02 10:46:28 +01:00
Florian Hotze
45f8bff876
Upgrade tool: Add upgrade task for script profile changes ( #4117 )
...
* Upgrade tool: Add upgrade task for script profile changes
Refs #4058 .
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-03-02 10:41:34 +01:00
dependabot[bot]
3f27104e76
Bump org.bitbucket.b_c:jose4j from 0.9.3 to 0.9.5 ( #4121 )
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-02 10:32:00 +01:00
GiviMAD
a94dd51cd3
[net] Expose Jetty EndPoint in http requests ( #4092 )
...
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2024-03-02 09:08:48 +01:00
jimtng
97d64a156b
Add numericState and unit to StateDTO ( #4123 )
...
* Add numericState to StateDTO
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2024-03-01 18:43:02 +01:00
Gwendal Roulleau
06ee46dff6
Audio parsing : Fix byte / bit confusion ( #4116 )
...
Fix two errors for calculating bitrate and duration of sound.
In AudioSinkUtilsImpl : confusion between byte / bite
In AudioWaveUtils : confusion between byte / bite AND with the defintion of framesize (framesize already includes channels number)
Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2024-03-01 18:06:04 +01:00
David Pace
d56f57bf05
Replace deprecated hamcrest-library
with hamcrest
in test BOM ( #4113 )
...
Signed-off-by: David Pace <dev@davidpace.de>
2024-03-01 17:59:29 +01:00
jimtng
b64e9723a9
Include StartLevelEvent in start level triggers ( #4093 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2024-02-18 22:23:27 +01:00
Wouter Born
e628f75d7b
Upgrade jUPnP to 3.0.0 ( #4098 )
...
* Upgrades jUPnP from 2.7.1 to 3.0.0.
* Uses a custom OSGiUpnpServiceConfiguration for JDK-8301341 workaround
For release notes, see:
https://github.com/jupnp/jupnp/releases/tag/3.0.0
Signed-off-by: Wouter Born <github@maindrain.net>
2024-02-18 21:27:44 +01:00
Wouter Born
eb5ef3f9ed
Upgrade GHA dependencies ( #4096 )
...
This fixes the following deprecation warning:
> Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20
Signed-off-by: Wouter Born <github@maindrain.net>
2024-02-17 16:21:03 +01:00
Holger Friedrich
40e6202c5f
Minor extension to generic ip discovery ( #3943 )
...
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-02-14 18:53:41 +01:00
J-N-K
a27d241290
Fix itests not running ( #4091 )
...
Why do unresolved tests result in "No error" instead of "Failed"?
Signed-off-by: Jan N. Klug <github@klug.nrw>
2024-02-13 22:00:46 +01:00
J-N-K
d3fa049532
[persistence] Fix forecast for externally changed data ( #4089 )
...
Data added from the REST API is immediately stored in the selected persistence service, bypassing the `PersistenceManager`. Because of that the future values are not correctly "restored".
Signed-off-by: Jan N. Klug <github@klug.nrw>
2024-02-13 21:59:22 +01:00
lolodomo
a906d09b40
[sitemap] Add releaseOnly parameter to Slider sitemap element ( #4084 )
...
Related to #3430
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-02-12 20:12:19 +01:00
jimtng
0efaf23d4e
Fix the recursive group membership check ( #4088 )
...
Allow a group to be a member of its direct parent and also its parent's ancestors without raising an error.
Looping membership is still detected and prevented as before, thus Stack Overflow is still avoided.
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2024-02-12 17:21:55 +01:00
J-N-K
d806771364
Fix CME in ReadyService ( #4086 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw>
2024-02-11 22:44:18 +01:00
Florian Hotze
6be00bd585
Script profile: Separate toHandlerScript for commands and states ( #4058 )
...
* Script profile: Separate toHandlerScript for commands and states
This allows much more fine-grained control for the script profile.
E.g. it is now possible to mimic the behaviour of the `system:follow` profile, but apply a script transformation to the forwarded state.
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-02-06 21:29:19 +01:00
Wouter Born
f4e83693fb
Simplify Map operations using computeIfAbsent ( #4020 )
...
If the specified key is not already associated with a value (or is mapped to null), the given mapping function computes the value.
Signed-off-by: Wouter Born <github@maindrain.net>
2024-02-06 20:34:05 +01:00
Jacob Laursen
823f993f56
Add dimension for emission intensity ( #4069 )
...
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-02-06 20:20:55 +01:00
jimtng
c929e7dfe2
Fix reloading channel config changes in .items file ( #4075 )
...
* Apply channel config changes in .items file
Changes in channel config weren't applied because ItemChannelLink.equals() include the link configurations in the comparison. This caused the new link not being found in the set lookup, which leads to erroneously calling notifyListenersAboutAddedElement, when it should've called notifyListenersAboutUpdatedElement instead.
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2024-02-04 11:23:10 +01:00
Wouter Born
85056d9d7b
Some more code cleanup ( #4021 )
...
This cleanup includes:
* Use enhanced for loops
* Use text blocks
* Use Objects.equals
* Fix some typos
* Remove redundant variable initialization
* Remove redundant null checks with instanceof
* Remove redundant thrown Exceptions
* Remove redundant empty String concatenation
Signed-off-by: Wouter Born <github@maindrain.net>
2024-02-04 11:17:55 +01:00
M Valla
2cca87a026
[transport.serial] add PORT_DISCONNECTED event ( #4056 )
...
Signed-off-by: MV <mvcode00@gmail.com>
2024-02-04 10:29:48 +01:00
J-N-K
fe4cbe546e
Improve YAML model repository ( #4024 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw>
2024-02-04 10:29:09 +01:00
dependabot[bot]
d994c136db
Bump com.jayway.jsonpath:json-path from 2.8.0 to 2.9.0 in /bom/test ( #4059 )
...
Bumps [com.jayway.jsonpath:json-path](https://github.com/jayway/JsonPath ) from 2.8.0 to 2.9.0.
- [Release notes](https://github.com/jayway/JsonPath/releases )
- [Changelog](https://github.com/json-path/JsonPath/blob/master/changelog.md )
- [Commits](https://github.com/jayway/JsonPath/compare/json-path-2.8.0...json-path-2.9.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-04 10:18:12 +01:00
Andrew Fiddian-Green
9b5e19e3af
AddonFinderProcess fixes ( #4061 )
...
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2024-01-31 20:35:23 +01:00
Jacob Laursen
fb7e030ea5
Add command completion ( #4063 )
...
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-01-27 20:59:34 +01:00
Jacob Laursen
5b9fee7d36
[discovery] Fix warnings ( #4065 )
...
* Remove unused imports and reference explicit namespaces in Javadoc links
* Fix potential null pointer access
* Remove redundant null checks and dead code
* Suppress deprecation warnings in tests
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-01-27 18:14:43 +01:00
lolodomo
a9571228d2
Remove state description when loading an item with a removed pattern ( #4068 )
...
* Remove state description when loading an item with a removed pattern
Fix openhab/openhab-webui#2251
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* Extended integration test testSquareBracketsInFormat
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
---------
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-01-27 18:00:56 +01:00
joerg1985
5f8da67983
Use the ChannelUID to retrieve the Channel from a Thing ( #4067 )
...
Signed-off-by: Jörg Sautter <joerg.sautter@gmx.net>
2024-01-27 17:59:22 +01:00
joerg1985
7ea603c24c
Use precompiled regular expressions to validate the segments of a UID ( #4064 )
...
Signed-off-by: Jörg Sautter <joerg.sautter@gmx.net>
2024-01-24 21:25:14 +01:00
J-N-K
718839052a
Add console commands to manage add-ons ( #4057 )
...
* Add console commands to manage add-ons
Signed-off-by: Jan N. Klug <github@klug.nrw>
2024-01-21 19:13:01 +01:00
Matthew Skinner
4905805ea8
[marketplace] Update CommunityUIWidgetAddonHandler.java to give a more helpful error ( #4052 )
...
Installing from marketplace gives an Error that is not very helpful.
Couldn’t find the widget in the add-on entry
The cause was missing ```yaml code fence when a normal code fence was used. This used to work in the past so a number of widgets are done this way and will not install. Suggest a more useful message to help guide widget devs.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
2024-01-21 08:41:08 +01:00
lolodomo
5c9f192764
Useful logs added in SitemapResource for REST API calls ( #4054 )
...
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-01-20 22:25:18 +01:00
Wouter Born
6cf048434b
Replace Markdown backticks with JavaDoc code tags ( #4023 )
...
* Replace Markdown backticks with JavaDoc code tags
The proper way to format code with JavaDoc is using code tags and not Markdown backticks.
Signed-off-by: Wouter Born <github@maindrain.net>
2024-01-20 09:56:41 +01:00
Wouter Born
c2a0739f1f
Fix several compiler warnings ( #4041 )
...
* Fix several compiler warnings
* Add missing null annotations
* Add missing null checks
* Remove use of deprecated SecurityManager
* Remove redundant null checks
* Remove unused variables
* Fix raw use of parameterized class
Signed-off-by: Wouter Born <github@maindrain.net>
2024-01-20 09:55:50 +01:00
J-N-K
0b1e1b66ab
Improve RemoteAddonService and fix test ( #4049 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw>
2024-01-17 18:31:29 +01:00