Commit Graph

2539 Commits

Author SHA1 Message Date
Andrew Fiddian-Green
8e3ca9db44
SddpDevice provide JavaDoc for fields (#4270)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2024-06-09 00:24:58 +02:00
Florian Hotze
f7f4b7653c
PersistenceExtensions: Support state as string for persist method (#4268)
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-06-05 18:30:36 +02:00
Mark Herwege
d092c517f0
Fix persist with date method (#4267)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2024-06-05 18:14:52 +02:00
Andrew Fiddian-Green
5f1b708f27
Fix closing bracket in JavaDoc (#4265)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2024-06-01 23:22:27 +02:00
Holger Friedrich
ea71af9ead
Upgrade Xtext to 2.35.0 (#4264)
* Upgrade Xtext from 2.35.0.M1 to 2.35.0 final release, see release notes:
  https://eclipse.dev/Xtext/releasenotes.html#/releasenotes/2024/05/28/version-2-35-0
* Upgrade dependencies
  * Guava from 33.1.0 to 33.2.0
  * Lsp4j from 0.22.0 to 0.23.1

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-06-01 20:55:32 +02:00
openhab-bot
7198c123a3
New Crowdin updates (#4261)
* New translations addons.properties (Hungarian)

* New translations defaultsystemchannels.properties (Hungarian)

* New translations addons.properties (Danish)

* New translations addons.properties (Italian)

* New translations chart.properties (Finnish)

* New translations languagesupport.properties (Portuguese)

* New translations languagesupport.properties (Portuguese, Brazilian)

* New translations addons.properties (Hebrew)
2024-06-01 10:45:27 +02:00
mlobstein
940a9905db
Add support for SDDP IDENTIFY packets (#4263)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2024-06-01 10:15:59 +02:00
Mark Herwege
8aa6b28104
fix ip suggestion finder default param (#4262)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2024-05-31 12:41:23 +02:00
Andrew Fiddian-Green
c5336c5618
New SDDP service for addon discovery and thing discovery (#4237)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2024-05-30 21:03:58 +02:00
joerg1985
9068ab2fac
[serial] Use a fast path to avoid pattern matching (#4255)
Signed-off-by: Jörg Sautter <joerg.sautter@gmx.net>
2024-05-28 23:53:02 +02:00
lolodomo
a5a7eee9a8
Ephemeris: consider the default weekend dayset (#4253)
Fix openhab/openhab-addons#16812

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-05-27 22:34:54 +02:00
J-N-K
4b4f25d31b
Add support for marketplace transformations (#4216)
* Add support for marketplace transformations

Signed-off-by: Jan N. Klug <github@klug.nrw>
2024-05-26 16:06:44 +02:00
lolodomo
ad74d5a296
Fix a wrongly failing validation rule for sitemap (#4240)
Problem introduced by #4223

checkFramesInWidgetList for LinkableWidget was triggering an error when the Buttongrid element has no parameter set.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-05-26 16:02:54 +02:00
J-N-K
42a31317d1
Add .xsd to .gitattributes (#4252)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2024-05-26 15:21:55 +02:00
Jacob Laursen
3bacc4bb5d
Change icon for channel type system.mute (#4245)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-05-25 18:53:15 +02:00
openhab-bot
08b5dd1ba0
New translations systemprofiles.properties (Danish) (#4250) 2024-05-25 18:38:13 +02:00
Holger Friedrich
c98c637cf8
Upgrade Jollyday to 0.28.1 (#4244)
* Upgrade Jollyday from 0.27.0 to 0.28.1.
This release includes the fixed class loader working also in OSGI
setups.
* Upgrade jackson from 2.16.0 to 2.28.1
* Upgrade threeten-extra from 1.7.2 to 1.8.0

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-05-24 18:50:49 +02:00
Holger Friedrich
43b57eb9e9
String translations for IP add-on finder (#4232)
Translate backslash sequences in requestPlain.
See String.translateEscapes().

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-05-23 19:10:45 +02:00
openhab-bot
945900b52a
New Crowdin updates (#4243)
* New translations chart.properties (Hebrew)

* New translations voice.properties (Hebrew)

* New translations magic.properties (Hebrew)

* New translations jsr223.properties (Hebrew)

* New translations defaultsystemchannels.properties (Hebrew)

* New translations languagesupport.properties (Portuguese)

* New translations languagesupport.properties (Portuguese, Brazilian)
2024-05-23 15:39:11 +02:00
openhab-bot
dcc3842386
New Crowdin updates (#4236)
* New translations addons.properties (Hungarian)

* New translations scriptprofile.properties (Hungarian)

* New translations systemprofiles.properties (Hungarian)

* New translations chart.properties (Hungarian)

* New translations voice.properties (Hungarian)

* New translations magic.properties (Hungarian)

* New translations jsr223.properties (Hungarian)

* New translations defaultsystemchannels.properties (Danish)
2024-05-22 21:27:54 +02:00
Timotheos Constambeys
83bd5fff2e
Fix brightness in generic ColorChannelHandler (#4242)
Signed-off-by: Timotheos Constambeys <timo0190@gmail.com>
2024-05-22 18:08:34 +02:00
Holger Friedrich
873bb53cbc
Upgrade Karaf from 4.4.5 to 4.4.6 (#4181)
* Upgrade Karaf from 4.4.5 to 4.4.6

* Sync runtime dependencies with Karaf 4.4.6, most notably:
  * Jetty 9.4.54.v20240208, addresses CVE-2024-22201
  * Pax Logging 2.2.7
  * Pax Web 8.0.27
  * ASM 9.7
  * BouncyCastle 1.77
* Upgrade xtext to 2.35.0.M1
* Resolve itest runbundles

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-05-20 17:42:04 +02:00
Gaël L'hopital
6887db3b89
Adding UV Index system channel (#3878)
* Adding UV Index system channel

Signed-off-by: clinique <gael@lhopital.org>
2024-05-20 12:09:52 +02:00
Mark Herwege
c40b82f16e
Fix exception in WindowsUsbSerialDiscovery (#4235)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2024-05-20 10:20:08 +02:00
J-N-K
895dcbb087
Enable spotless for schema XSD (#4218)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2024-05-18 19:23:21 +02:00
Holger Friedrich
352dbf2aaa
Update i18n property files (#4229)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-05-18 18:43:53 +02:00
Mark Herwege
6b5eed782c
fix QuantityType dimensionless one and time formatting (#4169)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2024-05-18 14:54:18 +02:00
lolodomo
3b9a97101b
[sitemap] Buttongrid as container for new Button elements (#4223)
Related to #4173

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-05-18 14:51:39 +02:00
J-N-K
73f4722b91
Align I18nProviderImpl and thing description XSD (#4233)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2024-05-18 13:08:22 +02:00
J-N-K
88c5a0849f
Improve thing description XSD (#4217)
* Improve thing description XSD

Signed-off-by: Jan N. Klug <github@klug.nrw>
2024-05-17 23:17:13 +02:00
Holger Friedrich
593681a681
Harmonize library versions (#4228)
* Use jdt.annotation 2.2.100 (i18n tool)
* Use gson 2.10.1 (i18n tool, upgrade tool)
* Use logback 1.3.14 (test)

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-05-14 20:56:00 +02:00
lolodomo
965e7311eb
[sitemap] Do not try to convert item state into OnOffType for Switch widget if item has options (#4226)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-05-13 22:20:59 +02:00
Jacob Laursen
3b2757a25e
Add IP broadcast add-on finder for suggestions (#4036)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-05-12 16:14:46 +02:00
GiviMAD
e14b0a8d0d
[audio|voice] Add console commands to troubleshoot audio sources and speech-to-text services (#4202)
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2024-05-12 12:25:46 +02:00
J-N-K
ec7674752a
Fix resolver errors during bundle add-on installation (#4224)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2024-05-11 19:15:31 +02:00
jimtng
6eeb9dd7c9
Fix a typo in PersistenceExtensions log message (#4221)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2024-05-07 08:09:36 +02:00
Mark Herwege
03a9708b6c
Persistence extensions: allow null serviceId (#4213)
* allow null serviceId

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2024-05-06 11:28:57 +02:00
jimtng
456d5d3dd0
Fix textual things not updating on the first change (#4219)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2024-05-06 09:24:04 +02:00
Mark Herwege
d083a5379c
Support press and release buttons in sitemap generator (#4204)
* handle quoted arguments
* press and release mapping

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2024-05-05 22:16:36 +02:00
lolodomo
b40e6db514
Extend sitemap syntax for switch to support press & release buttons (#4183)
* Extend sitemap syntax for switch to support press & release buttons

Mappings attribute for switch element now accepts one or two commands for each button.
If only one command is provided, the button is a click button, the command is sent to the item when the button is clicked.
If two commands are provided (separated by ":"), the button is a press & release button, the first command is sent to the item when the button is pressed and the second when the button is released.

Syntax example for a click button: Switch item=DemoSwitch mappings=[ ON="ON" ]
Syntax example for a press & release button: Switch item=DemoSwitch mappings=[ ON:OFF="ON" ]

Related to #3822

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-05-05 09:45:24 +02:00
joerg1985
6aed435c77
Prevent potential incorrect cache lookup due to hash collisions (#4214)
* Prevent potential incorrect cache lookup due to hash collisions
Signed-off-by: Jörg Sautter <joerg.sautter@gmx.net>
2024-05-05 09:39:34 +02:00
joerg1985
7efdd44197
Reuse existing BigDecimals in rules while converting types (#4198)
* Speed up calculations in rules
* Add test for NumberExtensions.numberToBigDecimal

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
Co-authored-by: Holger Friedrich <mail@holger-friedrich.de>
2024-05-04 18:59:29 +02:00
lolodomo
97cedc46e9
SseItemStatesEvent displayState: priority to transform over options (#4193)
Fix #2283
Fix #4050

This PR is fixing two things in the computation of the displayState:
- If a transformation is present in the state pattern, it has now priority over options provided by the state description
- If no transformation is present in state pattern but options are provided by the state description, the provided state pattern is applied to the matching option

Also remove a deprecated call to transform.

If there is no transformation but options are provided without any matching with the current state and there is a pattern provided, then this pattern is used to format the output.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-05-04 18:38:48 +02:00
Mark Herwege
49cfb20fb5
Fix suggestion finder installation (#4209)
* fix finder installation
* no install/uninstall if no config object

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2024-05-04 18:18:50 +02:00
openhab-bot
4dfbfb4995
New translations systemprofiles.properties (French) (#4210) 2024-05-03 20:45:52 +02:00
Mark Herwege
94572aa7c8
PersistenceExtensions: Re-add deprecated evolutionRate variant (#4212)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2024-05-03 16:59:19 +02:00
Tassilo Karge
d9685ca9c0
Complete sitemap subscriptions documentation correction (#4207)
* update reference to method / parameter names from documentation
* reflect that subscriptions for a whole page are possible in the documentation
* document that subscriptions to a whole sitemap are possible but discouraged

Signed-off-by: Tassilo Karge <tassilo.karge@web.de>
2024-05-03 16:22:06 +02:00
Holger Friedrich
767cbd93d3
Fix javadoc build (#4208)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-05-02 23:36:34 +02:00
Mark Herwege
1a89b9ede9
Fix suggestion finder installation (#4206)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2024-05-02 16:30:57 +02:00
lolodomo
1fb949ba8f
Set a default presentation pattern for String/Number/Datetime items (#4175)
* Set a default presentation pattern for String/Number/Datetime items

A default state pattern was previously provided by ChannelStateDescriptionProvider only for String and Number items linked to a channel.
It is now the class DefaultStateDescriptionFragmentProvider which is responsible for providing the default state pattern for items, whether the item is linked to a channel or not.
This new class is the lowest ranked StateDescriptionFragmentProvider so that all other providers have priority in setting the state pattern.

Default pattern for string item: %s
Default pattern for datetime item or group with datetime state: %1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS
Default pattern for number item or group with number state: %.0f
Default pattern for number+dimension item or group with number+dimension state: %.0f %unit%

Closes #4071
Closes #3835

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-05-02 16:29:35 +02:00