Wouter Born
02f6c5c3e3
Upgrade CXF to 3.6.2 ( #3826 )
...
Upgrades CXF from 3.6.1 to 3.6.2.
For release notes, see:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310511&version=12353311
It has a fix to address OOM issues when using HTTP clients:
https://issues.apache.org/jira/browse/CXF-8885
Signed-off-by: Wouter Born <github@maindrain.net>
2023-10-04 11:46:54 +02:00
Wouter Born
c82f8fcec2
Upgrade hivemq-mqtt-client to 1.3.3, Netty to 4.1.99.Final ( #3824 )
...
Upgrades:
* hivemq-mqtt-client from 1.2.2 to 1.3.3
* Netty from 4.1.92.Final to 4.1.99.Final
For all fixes and improvements of these upgrades, see:
* https://github.com/hivemq/hivemq-mqtt-client/releases/
* https://netty.io/news/index.html
Signed-off-by: Wouter Born <github@maindrain.net>
2023-10-03 13:20:52 +02:00
Wouter Born
012d7a034f
FolderObserver improvements ( #3821 )
...
* Mark extensions as ready in addModelsToRepo only if parser was availabile
* Store valid extensions using Set instead of List
* Use java.nio where possible
* Add more debug logging
* Cleanup and simplify code
Signed-off-by: Wouter Born <github@maindrain.net>
2023-10-03 13:19:26 +02:00
openhab-bot
dda021ae07
New Crowdin updates ( #3807 )
...
* New translations addons.properties (Russian)
* New translations automation.properties (Hebrew)
* New translations languagesupport.properties (Portuguese)
* New translations languagesupport.properties (Portuguese, Brazilian)
* New translations scriptprofile.properties (Finnish)
* New translations voice.properties (Finnish)
* New translations voice.properties (Hebrew)
2023-10-02 10:30:39 +02:00
lolodomo
f7d176570c
[Sitemap] Accept an optional icon for each value/label mapping ( #3809 )
...
* [Sitemap] Accept an optional icon for each value/label mapping
When set by the user, the icon can be used by UIs for switch element with mappings to render a button with the icon rather than the label.
Related to #3441
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-10-02 09:36:23 +02:00
Wouter Born
fffa968263
Upgrade Xtext/Xtend to 2.32.0, LSP4J to 0.21.0 ( #3817 )
...
Upgrades Xtext and its dependencies to:
* Xtext/Xtend 2.32.0
* LSP4J 0.21.0
* GSON 2.10.1
* Guava 32.1.2
* Guice 7.0.0
For release notes, see:
https://eclipse.dev/Xtext/releasenotes.html#/releasenotes/2023/08/27/version-2-32-0
Fixes #3321
Signed-off-by: Wouter Born <github@maindrain.net>
2023-10-01 22:04:27 +02:00
Mark Herwege
3eef2872f5
fix trailing space in state string ( #3812 )
...
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2023-10-01 21:47:25 +02:00
lolodomo
366bffa406
[Sitemap] Introduce "Buttongrid" as new sitemap element ( #3810 )
...
Related to #3441
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-10-01 21:36:31 +02:00
lolodomo
369a49aab1
[sitemap/MainUI] Fix a typo in buildWidget ( #3811 )
...
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-10-01 16:38:38 +02:00
Wouter Born
d4a433a4ce
Upgrade to Karaf 4.4.4 ( #3814 )
...
* Sync runtime dependencies with Karaf 4.4.4, most notably:
* Jetty 9.4.52.v20230823
* JNA 5.13.0
* SLF4J 2.0.6
* Pax Logging 2.2.3
* Pax Web 8.0.22
* Resolve itest runbundles
* Use new Pax Web features to simplify dependency management
* Add specs features because Pax Web now depends on "asm"
Signed-off-by: Wouter Born <github@maindrain.net>
2023-09-29 20:23:31 +02:00
J-N-K
af4fce1e4f
Fix CommunicationManager command handling ( #3714 )
...
* Fix CommunicationManager
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-09-13 22:27:12 +02:00
GiviMAD
d87ef1f645
[voice] Add dialog group and location ( #3798 )
...
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2023-09-13 21:09:13 +02:00
Wouter Born
f6435ec132
Fix countries and connection AddonInfo issues ( #3797 )
...
Fixes the following:
* connection and countries details missing for some AddonServices
* missing connection getter on AddonInfo
* countries lists has empty String when when countries info is missing
Related to #3795
Signed-off-by: Wouter Born <github@maindrain.net>
2023-09-09 12:15:03 +02:00
J-N-K
daeb367155
Add uptime to /systeminfo REST endpoint ( #3796 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-09-09 10:57:07 +02:00
Mark Herwege
2b8475253f
Adjust QuantityType calculations for temperatures ( #3792 )
...
* fix quantity calculations
* remove temperature offsetProfile workaround
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2023-09-08 18:02:34 +02:00
GiviMAD
4364e3b354
[voice] Reduce collisions on exact match and use item synonyms ( #3698 )
...
* [voice] Reduce collisions on exact match and use item synonyms
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2023-09-08 16:32:43 +02:00
lolodomo
1c8096b4eb
[DSL] Expose ColorUtil methods to DSL rules ( #3749 )
...
Fix #3743
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-09-02 19:14:59 +02:00
Wouter Born
e1d2b88398
Update directory-watcher to 0.18.0 ( #3790 )
...
Updates the directory-watcher from 0.17.1 to 0.18.0.
This version has some bug fixes/improvements, see:
https://github.com/gmethvin/directory-watcher/compare/v0.17.1...v0.18.0
Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-30 22:51:25 +02:00
Wouter Born
c39d15ade6
Cleanup code ( #3787 )
...
This code cleanup fixes various warnings in Eclipse.
Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-30 22:50:17 +02:00
Wouter Born
d7fbb94490
Update Swagger to 2.2.15 ( #3789 )
...
Updates Swagger from 2.1.9 to 2.2.15.
This adds OpenAPI v3.1 support.
For more release notes see:
https://github.com/swagger-api/swagger-core/releases
Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-30 22:39:21 +02:00
Gwendal Roulleau
3ddbdb25ed
[cache] Fix concurrent use of a cache entry ( #3785 )
...
Closes #3507
Fix some rare case where the concurrent readings of a cache entry can fail.
Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2023-08-30 14:23:35 +02:00
Wouter Born
e765af06cb
Upgrade Maven and plug-ins ( #3788 )
...
* Use Maven 3.9.4 with GitHub Actions CI
* Upgrade Maven plug-ins
Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-30 13:29:34 +02:00
Wouter Born
f8b52ea3f6
Use JUnit TempDir which automatically removes temp dirs ( #3786 )
2023-08-28 22:30:56 +02:00
dependabot[bot]
a0eeed9292
Bump org.apache.ivy:ivy in /bundles/org.openhab.core.semantics ( #3773 )
...
Bumps org.apache.ivy:ivy from 2.5.1 to 2.5.2.
---
updated-dependencies:
- dependency-name: org.apache.ivy:ivy
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-28 09:41:50 +02:00
J-N-K
b426cccf9c
Fix GenericThingProvider ( #3779 )
...
When things from multiple handler factories are provisioned from the same file the internal thing map was not properly updated.
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-08-28 09:26:52 +02:00
Wouter Born
9cc7b58ac0
Fix linuxsysfs itest failing when serial device is connected ( #3782 )
...
This fixes that some linuxsysfs tests always fail on Linux whenever a real serial device is connected.
Due to the changes in #3290 the tests would also scan the actual devices causing tests to fail due to unexpected results.
Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-27 11:16:04 +02:00
Wouter Born
5daf4ff076
Fix SAT and null analysis issues ( #3781 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-27 11:15:15 +02:00
Wouter Born
8c36d57692
Fix compilerArguments deprecation warnings ( #3780 )
...
This fixes the following warnings:
```
[WARNING] Parameter 'compilerArguments' is deprecated: use {@link #compilerArgs} instead.
```
Related to openhab/openhab-core#3512
Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-27 11:07:58 +02:00
Mark Herwege
096d11bf3f
Fix sitemap visibility rule with blanks ( #3769 )
...
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2023-08-26 15:10:10 +02:00
Wouter Born
9e1dbb6435
Update json-path to 2.8.0 ( #3772 )
...
Updates json-path from 2.4.0 to 2.8.0
This addresses:
* CVE-2021-27568
* CVE-2021-31684
* CVE-2023-1370
Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-26 15:08:46 +02:00
Holger Friedrich
ce5cef959b
Migrate to java.nio.file.createTempFile ( #3767 )
...
Use function from nio package as it uses more restrictive file permissions.
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-08-26 15:08:03 +02:00
Wouter Born
7743e9f9ab
Update CXF to 3.6.1 ( #3770 )
...
Updates CXF from 3.4.5 to 3.6.1
For some recent release notes, see:
* [3.5.0](https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310511&version=12348382 )
* [3.6.0](https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310511&version=12351469 )
* [3.6.1](https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310511&version=12353191 )
This upgrade addresses:
* CVE-2022-46363
* CVE-2022-46364
Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-21 21:23:09 +02:00
Wouter Born
c0b4ccfd7c
Update Jackson to 2.15.2 ( #3768 )
...
Updates Jackson from 2.14.1 to 2.15.2
For release notes, see:
https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.15
This upgrade addresses:
* CVE-2022-1471
Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-21 10:22:27 +02:00
Wouter Born
d909543415
Upgrade org.bouncycastle:bcpkix-jdk15on ( #3765 )
2023-08-19 10:54:57 +02:00
J-N-K
a2401059e5
Improve AutomationIntegrationJsonTest ( #3760 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-08-19 10:16:22 +02:00
J-N-K
04eb32185c
Bump UoM libraries to 2.2 ( #3758 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-08-18 21:38:43 +02:00
lolodomo
5f8658d0ae
[REST] Check a label is provided when creating a new semantic tag ( #3734 )
...
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-08-16 17:48:09 +02:00
Wouter Born
aef57edd73
Use workaround to fix high CPU usage by LinkedTransferQueue ( #3756 )
...
This is a workaround for JDK-8301341 by using the Java 11 LinkedTransferQueue with the QueueingThreadPoolExecutor in the Core and jUPnP.
Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-14 10:37:20 +02:00
lolodomo
c12067a63b
[sitemap] Add new "staticIcon" parameter ( #3735 )
...
When set, the UI should not provide the item state when requestiong the
OH icon and should not request again the icon when the item state is
updated.
Related to openhab/openhab-android#3404
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-08-13 19:36:41 +02:00
J-N-K
3af2e30098
Fix logging in AbstractProvider implementations ( #3751 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-08-13 18:20:02 +02:00
J-N-K
da73b5770c
Fix CME in RuleEngineImpl ( #3754 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-08-13 18:18:45 +02:00
J-N-K
caf13da88a
Fix StackOverflowError in SemanticsMetadataProvider ( #3748 )
...
In case of cyclic/recursive membership of groups (i.e. a group has itself or a child as parent) the recursive processing of the items leads to an `StackOverflowError` (reported in the forum and the german Facebook group). Also this is clearly a configuration error it should not result in the bundle not starting.
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-08-12 11:49:12 +02:00
Wouter Born
04105c1b1a
Link to Java 17 documentation ( #3750 )
...
This prevents issues because older documentation may not apply to Java 17.
Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-12 10:19:48 +02:00
J-N-K
409198cd8c
Move factory interface to public package ( #3742 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-08-11 17:47:44 +02:00
Wouter Born
17e9cf3850
ZipException workarounds ( #3747 )
...
* Use Karaf 4.4.3 compile dependency
* Disable this feature in itests
Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-11 14:10:00 +02:00
openhab-bot
a690aeba3d
New Crowdin updates ( #3744 )
...
* New translations voice.properties (Hungarian)
* New translations automation.properties (Hungarian)
2023-08-11 14:08:26 +02:00
openhab-bot
b3cc326217
New Crowdin updates ( #3739 )
...
* New translations automation.properties (Italian)
* New translations LanguageSupport.properties (Portuguese, Brazilian)
2023-08-03 14:08:47 +02:00
Jacob Laursen
e079352473
Upgrade JUPnP to 2.7.1 ( #3737 )
...
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-07-31 22:30:27 +02:00
Florian Hotze
c4fb71fcc6
[automation] Update texts for rule-based actions ( #3733 )
...
Core part of https://github.com/openhab/openhab-webui/issues/1921 .
With UI-support for scenes & scripts, the texts (labels, descriptions etc.) for rule-based actions should be updated to mention scenes & scripts as well.
This improves the UI experience.
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-07-30 20:26:51 +02:00
Florian Hotze
f5a0b37b3d
[persistence] Handle null
value for relative
& inverted
props of filters ( #3727 )
...
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-07-25 21:07:24 +02:00