Commit Graph

552 Commits

Author SHA1 Message Date
Wouter Born
db72021460
Update Eclipse files (#4514)
Signed-off-by: Wouter Born <github@maindrain.net>
2024-12-24 07:02:47 +01:00
Jacob Laursen
12f2314a2d
Link to Java 21 documentation (#4510)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-12-21 14:01:51 +01:00
Wouter Born
e078a5cd98
Fix JavaDoc build (#4504)
Signed-off-by: Wouter Born <github@maindrain.net>
2024-12-17 23:00:09 +01:00
Wouter Born
9f0b8d48fe
Revert LinkedTransferQueue high CPU usage workaround (#4499)
Reverts the workaround #3756 that was introduced for JDK-8301341 because it is fixed in OpenJDK 21

Signed-off-by: Wouter Born <github@maindrain.net>
2024-12-17 00:46:30 +01:00
Holger Friedrich
8d837f9823
Prepare for OH 5.0.0 (#4496)
* Prepare for OH 5.0.0

* Switch to 5.0.0-SNAPSHOT
* Fix spotless after unleash
* resolve itest runbundles
* Fix linux-specific pom

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-12-15 18:49:23 +01:00
openhab-bot
0f2e56f39d [unleash-maven-plugin] Preparation for next development cycle. 2024-12-15 11:41:19 +00:00
Gaël L'hopital
241e55f157
Add some requested new units : J/m², gr/ft³,gr (#4467)
Signed-off-by: Gaël L'hopital <gael@lhopital.org>
2024-12-10 21:00:11 +01:00
Jacob Laursen
b31ff66bba
[core] Switch DateTimeType to Instant internally for consistent time-zone handling (#3583)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-12-08 16:06:29 +01:00
openhab-bot
0c93cc0456
New Crowdin updates (#4480)
* New translations addons.properties (Catalan)
* New translations addons.properties (Czech)
* New translations audio.properties (Catalan)
* New translations automation.properties (Catalan)
* New translations automation.properties (Czech)
* New translations chart.properties (Catalan)
* New translations chart.properties (Czech)
* New translations defaultsystemchannels.properties (Catalan)
* New translations defaultsystemchannels.properties (Czech)
* New translations ephemeris.properties (Catalan)
* New translations firmware.properties (Catalan)
* New translations hli.properties (Catalan)
* New translations i18n.properties (Catalan)
* New translations inbox.properties (Catalan)
* New translations jsonstorage.properties (Catalan)
* New translations jsr223.properties (Catalan)
* New translations jsr223.properties (Czech)
* New translations languagesupport.properties (Catalan)
* New translations languagesupport.properties (Portuguese)
* New translations languagesupport.properties (Portuguese, Brazilian)
* New translations lsp.properties (Catalan)
* New translations magic.properties (Catalan)
* New translations marketplace.properties (Catalan)
* New translations messages.properties (Catalan)
* New translations network.properties (Catalan)
* New translations persistence.properties (Catalan)
* New translations restauth.properties (Catalan)
* New translations scriptprofile.properties (Catalan)
* New translations scriptprofile.properties (Czech)
* New translations sitemap.properties (Catalan)
* New translations systemprofiles.properties (Catalan)
* New translations systemprofiles.properties (Czech)
* New translations systemthingstatusinfos.properties (Catalan)
* New translations tags.properties (Catalan)
* New translations units.properties (Catalan)
* New translations units.properties (Czech)
* New translations validation.properties (Catalan)
* New translations validation.properties (Czech)
* New translations voice.properties (Catalan)
* New translations voice.properties (Czech)
2024-12-08 11:45:41 +01:00
openhab-bot
76daeeff12
New Crowdin updates (#4479)
* New translations addons.properties (Italian)
* New translations i18n.properties (Italian)
2024-12-08 01:33:30 +01:00
Gaël L'hopital
ed2d1962f5
A session of compile warning hunt (#4472)
Signed-off-by: Gaël L'hopital <gael@lhopital.org>
2024-12-07 23:13:45 +01:00
Holger Friedrich
aededaecc2
[DSL] Expose ColorUtil methods to DSL rules (#4410)
* [DSL] Expose ColorUtil methods to DSL rules

* Expose xyToKelvin and kelvinToXY
* Add missing throws declaration

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-11-17 10:33:19 +01:00
Andrew Fiddian-Green
591d8d956a
[Units] Add MK⁻¹ unit alias (#4433)
* Add unit alias for Micro Reciprocal Kelvin

Signed-off-by: AndrewFG <software@whitebear.ch>
2024-11-04 11:01:20 +01:00
Andrew Fiddian-Green
728c7376b6
[ColorUtil] kelvinToXY: Extend Colour Temperature range 1000 K .. 10000 K (#4429)
Signed-off-by: AndrewFG <software@whitebear.ch>
2024-10-29 06:23:07 +01:00
Martin
1325d80343
Parse BigInteger directly in DecimalType (#4417)
* Parse BigInteger directly in DecimalType

Signed-off-by: Martin Grześlowski <martin.grzeslowski@gmail.com>
2024-10-20 16:01:59 +02:00
openhab-bot
963a8d1a5f
New Crowdin updates (#4408)
* New translations tags.properties (Hungarian)
* New translations addons.properties (Spanish)
* New translations units.properties (Spanish)
* New translations validation.properties (Norwegian)
* New translations addons.properties (Norwegian)
* New translations voice.properties (Norwegian)
* New translations systemprofiles.properties (Norwegian)
* New translations chart.properties (Norwegian)
* New translations defaultsystemchannels.properties (Norwegian)
* New translations i18n.properties (Finnish)
* New translations i18n.properties (Norwegian)
* New translations automation.properties (Hebrew)
* New translations languagesupport.properties (Portuguese)
* New translations languagesupport.properties (Portuguese, Brazilian)
2024-10-08 01:28:25 +02:00
Cody Cutrer
ea5480d12b
Add ColorUtil.xyToDuv (#4401)
Signed-off-by: Cody Cutrer <cody@cutrer.us>
2024-10-08 00:02:25 +02:00
lsiepel
d9e5df0cd9
Extend NetUtils for network range scanning (#4375)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2024-10-07 23:54:51 +02:00
F. Vollmann
a5c488d8c8
Add XOR ArithmeticGroupFunction (#4386)
* #4385 add XOR ArithmeticGroupFunction (1 of n)

Signed-off-by: Fabian Vollmann <surmise-metro.0c@icloud.com>
2024-09-26 08:28:08 +02:00
Andrew Fiddian-Green
5f14cd1c5f
[ColorUtil] New methods kelvinToXY and xyToKelvin (#4367)
Signed-off-by: AndrewFG <software@whitebear.ch>
2024-09-17 01:01:51 +02:00
openhab-bot
92f5baea10
New Crowdin updates (#4379)
* New translations defaultsystemchannels.properties (Italian)
* New translations i18n.properties (Italian)
2024-09-15 21:14:45 +02:00
J-N-K
53889cdcdb
Add a PersistenceService bundle tracker (#4324)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2024-09-09 20:06:15 +02:00
jimtng
1145613cba
Support space-separated date/time format for DateTimeType (#4370)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2024-09-06 22:44:20 +02:00
jimtng
66d55f77b5
Make DateTimeType Comparable (#4364)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2024-08-28 18:11:02 +02:00
jimtng
8d54ccefef
Add MEDIAN group function (#4344)
* Add MEDIAN group function

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2024-08-24 14:39:39 +02:00
Mark Herwege
b63fa473b3
Median action in persistence extensions (#4345)
* median persistence extension

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2024-08-24 10:55:06 +02:00
Holger Friedrich
0e1883bdae
Fix CodeQL warnings (#4348)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-08-17 14:57:45 +02:00
Holger Friedrich
fc454883c2
Reduce SAT warnings (#4339)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-08-11 10:04:26 +02:00
Kai Kreuzer
21e605d212
Apply spotless after release, resolve bundles (#4301)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2024-07-07 23:22:27 +02:00
openhab-bot
07e23eac3c [unleash-maven-plugin] Preparation for next development cycle. 2024-07-07 16:05:56 +00:00
openhab-bot
5710ee4962
New Crowdin updates (#4300)
* New translations addons.properties (German)

* New translations i18n.properties (German)
2024-07-06 16:58:43 +02:00
openhab-bot
2be44d1cb2
New Crowdin updates (#4292)
* New translations i18n.properties (Hungarian)

* New translations voice.properties (French)

* New translations addons.properties (French)

* New translations restauth.properties (French)

* New translations i18n.properties (French)

* New translations i18n.properties (Danish)

* New translations defaultsystemchannels.properties (Finnish)

* New translations addons.properties (Finnish)

* New translations languagesupport.properties (Portuguese)

* New translations languagesupport.properties (Portuguese, Brazilian)

* New translations i18n.properties (Hebrew)

* New translations i18n.properties (Dutch)

* New translations addons.properties (French)

* New translations languagesupport.properties (Portuguese)

* New translations languagesupport.properties (Portuguese, Brazilian)
2024-07-03 21:20:39 +02:00
lolodomo
37e09f5ab8
Fix description of the location setting (#4286)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-07-02 08:40:47 +02:00
joerg1985
cef917fac9
Ensure the PoolBasedSequentialScheduledExecutorService does keep a minimum size (#4288)
Signed-off-by: Jörg Sautter <joerg.sautter@gmx.net>
2024-07-01 22:26:27 +02:00
openhab-bot
d2489bb65e
New Crowdin updates (#4290)
* New translations network.properties (French)
* New translations marketplace.properties (French)
2024-07-01 17:49:02 +02:00
openhab-bot
1a33e23fef
New Crowdin updates (#4285)
* New translations validation.properties (Dutch)

* New translations addons.properties (Dutch)

* New translations voice.properties (Dutch)

* New translations automation.properties (Dutch)

* New translations scriptprofile.properties (Dutch)

* New translations units.properties (Dutch)

* New translations systemprofiles.properties (Dutch)

* New translations defaultsystemchannels.properties (Dutch)

* New translations chart.properties (Dutch)

* New translations magic.properties (Dutch)

* New translations jsr223.properties (Dutch)

* New translations languagesupport.properties (Portuguese)

* New translations languagesupport.properties (Portuguese, Brazilian)
2024-06-30 10:38:54 +02:00
lsiepel
93b53e7847
Extend Stringutils with padRight (#4279)
* Add padRight
* Fix edge cases

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2024-06-24 21:06:15 +02:00
openhab-bot
f150e8dd50
New Crowdin updates (#4280)
* New translations units.properties (French)

* New translations chart.properties (French)

* New translations voice.properties (French)

* New translations defaultsystemchannels.properties (French)

* New translations addons.properties (French)

* New translations voice.properties (French)

* New translations voice.properties (Hebrew)

* New translations voice.properties (Hungarian)
2024-06-24 20:04:47 +02:00
joerg1985
2aacdcd4e8
Fixed a deadlock in the PoolBasedSequentialScheduledExecutorService (#4247)
Signed-off-by: Jörg Sautter <joerg.sautter@gmx.net>
2024-06-10 20:39:11 +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
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
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
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
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
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
Holger Friedrich
767cbd93d3
Fix javadoc build (#4208)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-05-02 23:36:34 +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
joerg1985
c3ada84b77
Conditionally use a thread pool backed sequential executor for DSL rules and events (#3890)
Signed-off-by: Jörg Sautter <joerg.sautter@gmx.net>
2024-04-29 09:11:56 +02:00
Holger Friedrich
fa9cff6be9
GsonBuilder: Explicitly set date format (#4185)
Between Java 17 and Java 21, serialization of DateTime has changed due to
CLDR 42 which uses a narrow non-breaking space.
To ease switching JDK versions, the seralization format is explicitly
set to the Java 17 format.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-04-28 17:11:54 +02:00