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
Andrew Fiddian-Green
a3bfcf5b2f
ColorUtil bug fixes and improvements ( #4124 )
...
* ColorUtil improvements
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2024-04-27 09:32:11 +02:00
Holger Friedrich
b563f1577a
More instanceof pattern matching ( #4191 )
...
* More instanceof pattern matching
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-04-21 21:22:37 +02:00
joerg1985
ba463dd7e6
[persistence] improve building the ItemHistoryDTO ( #4194 )
...
Signed-off-by: Jörg Sautter <joerg.sautter@gmx.net>
2024-04-21 21:21:03 +02:00
Martin
846877e598
Do not create new BigDecimals
if a given object is already BigDecimal
( #4177 )
...
Signed-off-by: Martin Grześlowski <martin.grzeslowski@gmail.com>
2024-04-14 16:13:14 +02:00
lsiepel
f18c50f299
Add abbreviate method ( #4164 )
...
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2024-04-06 14:14:20 +02:00
Holger Friedrich
9f5a60d6fa
Allow for compiling with Java 21 ( #4161 )
...
* Support Java 17 and 21, default compilation to Java 17 class files,
use maven.compiler.release instead of source and target
* Add profile "j21" to compile to Java 21 class files
* Upgrade SAT to 0.16.0, adapt code which breaks build with new SAT
checks
* Use model-specific-profile to pin xtend to Java 17
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-04-01 13:46:57 +02: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
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
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
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
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
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
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