Commit Graph
100 Commits
Author SHA1 Message Date
Wouter BornandGitHub 18e3f21878 Resolve runbundles for Jollyday upgrade (#17232)
Related to: openhab/openhab-core#4343

Signed-off-by: Wouter Born <github@maindrain.net>
2024-08-11 20:16:18 +02:00
Wouter BornandGitHub 6d4ac2b29a [groovyscripting] Update Groovy to 4.0.22 (#17125)
Updates Groovy from 4.0.11 to 4.0.22.

For all bugfixes and improvements, see:

* https://groovy-lang.org/changelogs/changelog-4.0.12.html
* https://groovy-lang.org/changelogs/changelog-4.0.13.html
* https://groovy-lang.org/changelogs/changelog-4.0.14.html
* https://groovy-lang.org/changelogs/changelog-4.0.15.html
* https://groovy-lang.org/changelogs/changelog-4.0.16.html
* https://groovy-lang.org/changelogs/changelog-4.0.17.html
* https://groovy-lang.org/changelogs/changelog-4.0.18.html
* https://groovy-lang.org/changelogs/changelog-4.0.19.html
* https://groovy-lang.org/changelogs/changelog-4.0.20.html
* https://groovy-lang.org/changelogs/changelog-4.0.21.html
* https://groovy-lang.org/changelogs/changelog-4.0.22.html

Fixes #16936

Signed-off-by: Wouter Born <github@maindrain.net>
2024-07-22 16:10:01 +02:00
Wouter BornandGitHub a5a02a17f0 [mongodb] Disable failing MongoDBPersistenceServiceTest (#17047)
It causes Jenkins CI builds to fail, see #17046

Signed-off-by: Wouter Born <github@maindrain.net>
2024-07-13 11:13:17 +02:00
Wouter BornandGitHub f237bc49a0 Update OH version in skeleton scripts (#17021)
Signed-off-by: Wouter Born <github@maindrain.net>
2024-07-08 08:35:38 +02:00
Wouter BornandGitHub 766981bb49 Upgrade maven-deploy-plugin to 3.1.2 (#16987)
This may help with fixing or diagnosing read timouts during deployment.

Signed-off-by: Wouter Born <github@maindrain.net>
2024-07-03 19:39:44 +02:00
Wouter BornandGitHub 0b9ea4d3f1 Resolve runbundles for Jollyday upgrade (#16632)
Related to openhab/openhab-core#4178

Signed-off-by: Wouter Born <github@maindrain.net>
2024-04-14 22:21:17 +02:00
Wouter BornandGitHub 79f71ee020 [lifx] Add support for new LIFX products (#16618)
* [lifx] Add support for new LIFX products

Allows for discovering all the new LIFX products and their features including:

* LIFX Ceiling
* LIFX Outdoor Neon
* LIFX PAR38
* LIFX Round/Square Path
* LIFX Round Spot

See:

* https://github.com/LIFX/products/blob/master/products.json
* https://www.lifx.com/products/neon-flex-16ft-outdoor
* https://www.lifx.com/products/supercolor-1600lm-par38
* https://www.lifx.com/products/spot-light-round
* https://www.lifx.com/products/path-light-round
* https://www.lifx.com/products/path-light-square

Signed-off-by: Wouter Born <github@maindrain.net>
2024-04-06 14:09:44 +02:00
Wouter BornandGitHub a9c0f9e936 [upnpcontrol] Catch IAE when Album Art URI is invalid (#16597)
Fixes #16595

Signed-off-by: Wouter Born <github@maindrain.net>
2024-04-01 09:43:05 +02:00
Wouter BornandGitHub d8603270eb [modbus.sungrow] Add missing sungrow bundle (#16557)
Fixes #16558

Signed-off-by: Wouter Born <github@maindrain.net>
2024-03-22 12:35:10 +01:00
Wouter BornandGitHub c8d398874b [avmfritz] Disable unstable AVMFritzDiscoveryServiceOSGiTest (#16537)
See: https://github.com/openhab/openhab-addons/issues/16536

Signed-off-by: Wouter Born <github@maindrain.net>
2024-03-18 08:26:07 +01:00
Wouter BornandGitHub c9f8324142 Upgrade get-changed-files GHA dependency (#16451)
This fixes the last remaining 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-24 14:25:24 +01:00
Wouter BornandGitHub e3a2b60014 Resolve runbundles for jUPnP upgrade (#16423)
Related to openhab/openhab-core#4098

Signed-off-by: Wouter Born <github@maindrain.net>
2024-02-18 22:59:51 +01:00
Wouter BornandGitHub 2fb3988dcd Upgrade GHA dependencies (#16420)
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 11:47:35 +01:00
Wouter BornandGitHub 7a5802b09a [network] Improve threading (#16315)
* [network] Improve threading

* Use timeouts with CompletableFutures
* Use seperate executor when waiting for results
* Catch exceptions when joining CompletableFutures
* Stop previous detection when starting a new one

Fixes #16305

Signed-off-by: Wouter Born <github@maindrain.net>
2024-02-06 17:18:02 +01:00
Wouter BornandGitHub dd38c237a8 Remove readme.txt from transformation bundles (#16366)
Signed-off-by: Wouter Born <github@maindrain.net>
2024-02-04 14:56:01 +01:00
Wouter BornandGitHub 3ce7fa326f [jsonpath] Upgrade dependencies and some cleanup (#16365)
* Upgrade json-path from 2.5.0 to 2.9.0
* Cleanup code
* Fix all SAT findings

Fixes CVE-2023-1370 and CVE-2023-51074

For json-path release notes, see:

https://github.com/json-path/JsonPath/releases

Signed-off-by: Wouter Born <github@maindrain.net>
2024-02-04 14:55:01 +01:00
Wouter BornandGitHub afb20ca473 Resolve runbundles for Jollyday upgrade (#16267)
Related to https://github.com/openhab/openhab-core/pull/4033

Signed-off-by: Wouter Born <github@maindrain.net>
2024-01-14 16:41:34 +01:00
Wouter BornandGitHub f73818da83 [network] Cleanup code (#16235)
* Reuse ExpiringCacheAsync from Core
* Use Duration and Instant
* Replace Optional with null annotations
* Cleanup JavaDocs
* Improve logging
* Add missing null annotations
* Simplify code

Signed-off-by: Wouter Born <github@maindrain.net>
2024-01-11 17:55:23 +01:00
Wouter BornandGitHub a2868bb0dc Use diamond operator and remove redundant type arguments (#16249)
Signed-off-by: Wouter Born <github@maindrain.net>
2024-01-09 23:46:15 +01:00
Wouter BornandGitHub 3415397a83 Remove unnecessary semicolons (#16214)
This helps with stopping the proliferation of unnecessary semicolons.

Signed-off-by: Wouter Born <github@maindrain.net>
2024-01-05 23:56:58 +01:00
Wouter BornandGitHub 64c08e55fe Resolve runbundles for JmDNS upgrade (#16215) 2024-01-05 21:07:48 +01:00
Wouter BornandGitHub 4fe00bb2bf Remove redundant feature dependencies (#16204)
* Remove redundant feature dependencies

The following features are already dependencies of openhab-runtime-base:

* openhab-core-base
* openhab-core-model-item
* openhab-core-model-script
* openhab-transport-mdns

See also: https://github.com/openhab/openhab-addons/pull/16202#issuecomment-1876875456

* Remove redundant openhab.tp-jackson and openhab.tp-jaxb feature dependencies

Signed-off-by: Wouter Born <github@maindrain.net>
2024-01-05 20:00:24 +01:00
Wouter BornandGitHub 099dc692c8 Remove openhab-transport-http feature dependencies (#16202)
The openhab-transport-http feature dependency is redundant since OH 2.3 when it was added to the openhab-runtime-base feature dependencies.

See:

* https://github.com/openhab/openhab-core/pull/344
* https://github.com/openhab/openhab-addons/pull/16181#issuecomment-1876015592

Signed-off-by: Wouter Born <github@maindrain.net>
2024-01-04 13:03:32 +01:00
Wouter BornandGitHub 18da5075f9 [network] Add parameter for limiting network interfaces to fix performance issues (#16145)
* [network] Add parameter for limiting network interfaces to fix performance issues
* Use last known reachable interface

---------

Signed-off-by: Wouter Born <github@maindrain.net>
2024-01-03 19:28:23 +01:00
Wouter BornandGitHub c52b684e6f [pollytts] Update AWS Java SDK (#16153)
A newer AWS Java SDK is required when using Jackson 2.16.

Fixes #16108

Signed-off-by: Wouter Born <github@maindrain.net>
2024-01-01 17:15:49 +01:00
Wouter BornandGitHub 607c647734 [shelly] Fix WebSocketServerFactory ClassNotFoundException (#16150)
Adds a package import so the class can be found by the class loader.

Fixes #16118

Signed-off-by: Wouter Born <github@maindrain.net>
2023-12-31 11:48:04 +01:00
Wouter BornandGitHub eba975c040 [amazonechocontrol] Fix Servlet exceptions due to non-unique names (#16152)
Fixes #16149

Signed-off-by: Wouter Born <github@maindrain.net>
2023-12-31 01:03:24 +01:00
Wouter BornandGitHub 891ea04a3b Remove some redundant brackets (#16104)
Signed-off-by: Wouter Born <github@maindrain.net>
2023-12-24 09:20:09 +01:00
Wouter BornandGitHub c58d894bf0 Use OnOffType.from to reduce code (#16101)
You can create an `OnOffType` using a boolean nowadays which reduces the amount of code.

Signed-off-by: Wouter Born <github@maindrain.net>
2023-12-23 19:06:21 +01:00
Wouter BornandGitHub 039bb98151 [asuswrt] Support router discovery and add-on suggestion using UPnP (#16084)
This makes it easier to discover the devices and the add-on.

Signed-off-by: Wouter Born <github@maindrain.net>
2023-12-23 18:29:41 +01:00
Wouter BornandGitHub dc187c9eec Update OH version in skeleton scripts (#16100) 2023-12-23 10:34:54 +01:00
Wouter BornandGitHub fe2d521209 Resolve runbundles for logback upgrade (#16083)
Related to openhab/openhab-core#3935

Signed-off-by: Wouter Born <github@maindrain.net>
2023-12-20 01:02:59 +01:00
Wouter BornandGitHub 5177cf1e0c [lifx] Add support for new LIFX products (#15957)
Allows for discovering all the new LIFX products and their features:

* LIFX Neon
* LIFX String

See:

* https://github.com/LIFX/products/blob/master/products.json
* https://www.lifx.com.au/products/neon-flex-2m-indoor
* https://www.lifx.com.au/products/lifx-string-light

Signed-off-by: Wouter Born <github@maindrain.net>
2023-11-25 22:56:04 +01:00
Wouter BornandGitHub 1c8ce7c6a9 Add SAT warning when jSerialComm, PureJavaComm imports are used (#15952)
Add-ons should use the OH serial transport and not their own serial communication libraries.

Related to #7573

Signed-off-by: Wouter Born <github@maindrain.net>
2023-11-25 14:36:52 +01:00
Wouter BornandGitHub 1759058921 [jdbc] Upgrade H2 to 2.2.224 (#15726)
Upgrades H2 database from 1.4.191 to 2.2.224.

Add ';NON_KEYWORDS=VALUE' to the JDBC URL because the add-on uses 'value' (which is also a keyword) as column name.

Also fixes some queries used by the command extension because H2 always uses upper case table names.

For the change log, see:

https://h2database.com/html/changelog.html

For migration notes, see:

https://h2database.com/html/migration-to-v2.html

Fixes #13115

Signed-off-by: Wouter Born <github@maindrain.net>
2023-10-10 13:14:48 +02:00
Wouter BornandGitHub 0c3ef0a5f4 [shelly] Always try to stop WebSocketClient (#15721)
If the client is not stopped it will not be garbage collected because the ShutdownThread keeps a reference to the client so it can be stopped on shutdowns.

See: https://github.com/eclipse/jetty.project/blob/jetty-9.4.x/jetty-websocket/websocket-client/src/main/java/org/eclipse/jetty/websocket/client/WebSocketClient.java#L420-L433

Signed-off-by: Wouter Born <github@maindrain.net>
2023-10-10 09:44:37 +02:00
Wouter BornandGitHub 756b32d988 [jdbc] Fix logging not working (#15722)
The dependency change in #15659 caused slf4j to be embedded into the bundle.

As a result the bundle no longer uses Pax Logging so it cannot find an SLF4J provider and logs the following when it is installed:

SLF4J: No SLF4J providers were found.
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See https://www.slf4j.org/codes.html#noProviders for further details.

Signed-off-by: Wouter Born <github@maindrain.net>
2023-10-08 19:57:28 +02:00
Wouter BornandGitHub 72622a1409 [shelly] Always try to stop WebSocketClient (#15719)
If the client is not stopped it will not be garbage collected because the ShutdownThread keeps a reference to the client so it can be stopped on shutdowns.

See: https://github.com/eclipse/jetty.project/blob/jetty-9.4.x/jetty-websocket/websocket-client/src/main/java/org/eclipse/jetty/websocket/client/WebSocketClient.java#L420-L433

Signed-off-by: Wouter Born <github@maindrain.net>
2023-10-08 11:28:10 +02:00
Wouter BornandGitHub f8bcfb0c7e Resolve runbundles for JUnit upgrade (#15714)
Signed-off-by: Wouter Born <github@maindrain.net>
2023-10-07 20:35:40 +02:00
Wouter BornandGitHub 181c647bd6 Update bnd to 7.0.0 (#15709)
For release notes, see:

https://github.com/bndtools/bnd/wiki/Changes-in-7.0.0

Signed-off-by: Wouter Born <github@maindrain.net>
2023-10-06 18:47:11 +02:00
Wouter BornandGitHub 01dc99c6b6 Update CODEOWNERS (#15678)
* Update CODEOWNERS

Removes some inactive maintainers from the file.

Signed-off-by: Wouter Born <github@maindrain.net>

* More updates

Signed-off-by: Wouter Born <github@maindrain.net>

* More updates

Signed-off-by: Wouter Born <github@maindrain.net>

---------

Signed-off-by: Wouter Born <github@maindrain.net>
2023-10-03 16:29:20 +02:00
Wouter BornandGitHub 7c06810bfc Upgrade Netty dependencies to 4.1.99.Final (#15694)
Signed-off-by: Wouter Born <github@maindrain.net>
2023-10-03 16:20:58 +02:00
Wouter BornandGitHub 2bf2246530 [plugwise] Cleanup code (#15688)
The cleanup includes:

* Use lambdas
* Use enhanced switches
* Make abstract class constructors protected
* Fix typos

Signed-off-by: Wouter Born <github@maindrain.net>
2023-10-02 21:43:07 +02:00
Wouter BornandGitHub e32bc258e9 Resolve runbundles for Xtext upgrade (#15677)
Signed-off-by: Wouter Born <github@maindrain.net>
2023-10-01 22:42:26 +02:00
Wouter BornandGitHub 9d03ec9af5 Upgrade to Karaf 4.4.4 (#15659)
* Resolve itest runbundles
* Fix dependency issues
* Add specs features because Pax Web now depends on "asm"

Signed-off-by: Wouter Born <github@maindrain.net>
2023-09-30 07:38:19 +02:00
Wouter BornandGitHub 5a803961d0 [nest] Remove WWN support (#15418)
See: https://support.google.com/googlenest/answer/9293712?hl=en

> Starting September 29, 2023, all Works with Nest connections will stop working.

Closes #13525
Closes #14761

Signed-off-by: Wouter Born <github@maindrain.net>
2023-09-06 17:02:55 +02:00
Wouter BornandGitHub e254cb785c Resolve runbundles for directory-watcher upgrade (#15526)
Related to openhab/openhab-core#3790

Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-30 22:53:16 +02:00
Wouter BornandGitHub 8da6f0ad07 Upgrade Maven and plug-ins (#15525)
* 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:28:44 +02:00
Wouter BornandGitHub d1a691498a Fix compilerArguments deprecation warnings (#15504)
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 13:45:36 +02:00
Wouter BornandGitHub fef05c3322 Remove build server specific timing from dynamodb and ruuvigateway (#15472)
* Remove build server specific timing from dynamodb and ruuvigateway

There should be no difference between running tests on your own PC or on a build server.
The ruuvigateway tests always fail for me during parallel builds due to its unrealistic timing.

Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-23 20:54:50 +02:00
Wouter BornandGitHub 626c6bde4a Resolve runbundles for CXF upgrade (#15473)
* Resolve runbundles for CXF upgrade

Related to openhab/openhab-core#3770

Signed-off-by: Wouter Born <github@maindrain.net>

* Replace Grizzly JAX-RS Client with Jetty HTTP client in hueemulation tests

It seems that the Grizzly JAX-RS Client implementation does not work well with the new CXF dependencies on the classpath.
As we do not use Grizzly anywhere else it is probably best to also stop using the Grizzly HTTP Server in these tests in the future.

Signed-off-by: Wouter Born <github@maindrain.net>

---------

Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-23 09:14:15 +02:00
Wouter BornandGitHub 42ba975660 [feed] Upgrade jdom2 to 2.0.6.1 (#15476)
This addresses CVE-2021-33813

See: http://www.jdom.org/news/index.html

Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-22 08:31:20 +02:00
Wouter BornandGitHub 24fa966dc3 Update Jackson to 2.15.2 (#15471)
Related to openhab/openhab-core#3768

Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-21 14:03:41 +02:00
Wouter BornandGitHub 79ecb2e4d0 Fix wrong source code URLs in NOTICE files (#15448) 2023-08-17 21:49:01 +02:00
Wouter BornandGitHub 98406476f8 Resolve runbundles for workaround (#15421)
* Resolve runbundles for workaround

Related to openhab/openhab-core#3756

Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-14 10:38:33 +02:00
Wouter BornandGitHub 7c4e70f993 Disable "Improved ZIP64 Extra Field Validation" in itests (#15389)
This prevents ZipException stacktraces when running the itests on JDK 17.0.8 or newer.

Related to:

* openhab/openhab-core#3718
* openhab/openhab-core#3747

Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-13 18:41:31 +02:00
Wouter BornandGitHub c71a24f8a1 Link to Java 17 documentation (#15406)
This prevents issues because older documentation may not apply to Java 17.

Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-13 13:44:05 +02:00
Wouter BornandGitHub 0d9cebe513 [allplay] Fix issue tracker link in documentation (#15369)
Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-04 11:32:01 +02:00
Wouter BornandGitHub 4fe1f76444 Resolve runbundles (#15298)
Signed-off-by: Wouter Born <github@maindrain.net>
2023-07-24 09:43:41 +02:00
Wouter BornandGitHub 0c3934f3c8 Use Eclipse formatter 4.25 with Spotless (#15264)
This version still checks test files.

See: openhab/openhab-core#3515

Signed-off-by: Wouter Born <github@maindrain.net>
2023-07-18 09:02:05 +02:00
Wouter BornandGitHub 8950e9cc70 Add missing CODEOWNERS (#15241)
Signed-off-by: Wouter Born <github@maindrain.net>
2023-07-16 10:46:45 +02:00
Wouter BornandGitHub f6a4397483 Resolve itest runbundles (#15139)
With openhab/openhab-core#3355 the dependencies changed.

Signed-off-by: Wouter Born <github@maindrain.net>
2023-06-26 22:22:55 +02:00
Wouter BornandGitHub 2119cebf33 [tesla] Cleanup code (#14833)
Signed-off-by: Wouter Born <github@maindrain.net>
2023-04-20 19:03:04 +02:00
Wouter BornandGitHub 83cbe746d0 Remove redundant modifiers from interfaces (#14843)
Signed-off-by: Wouter Born <github@maindrain.net>
2023-04-18 13:07:04 +02:00
Wouter BornandGitHub 24adc5aa12 Upgrade maven-surefire-plugin to 3.0.0 (#14842)
This fixes deprecation warnings when runnings tests with Maven 3.9.x:

`[WARNING] Parameter 'localRepository' is deprecated core expression; Avoid use of ArtifactRepository type. If you need access to local repository, switch to '${repositorySystemSession}' expression and get LRM from it instead.`

See: https://issues.apache.org/jira/browse/SUREFIRE-2154

Related to openhab/openhab-core#3512

Signed-off-by: Wouter Born <github@maindrain.net>
2023-04-18 11:58:37 +02:00
Wouter BornandGitHub cf96eae039 [vesync] Fix modifier order (#14831)
These modifiers are out of order with the JLS suggestions.

Signed-off-by: Wouter Born <github@maindrain.net>
2023-04-16 23:04:33 +02:00
Wouter BornandGitHub 827d4d7dc9 [bluetooth.radoneye] Fix modifier order (#14830)
These modifiers are out of order with the JLS suggestions.

Signed-off-by: Wouter Born <github@maindrain.net>
2023-04-16 23:03:23 +02:00
Wouter BornandGitHub 9cd055e13a [mimictts] Fix addon.xml info (#14821)
It seems to have been copied over from macOS TTS without properly updating all details.

Signed-off-by: Wouter Born <github@maindrain.net>
2023-04-15 22:02:12 +02:00
Wouter BornandGitHub f21f7bc8b3 Add more connection details to add-ons (#14813)
* Add more connection details to add-ons

Signed-off-by: Wouter Born <github@maindrain.net>
2023-04-15 21:23:24 +02:00
Wouter BornandGitHub 7a26af7164 [windcentrale] Discover windmills when account goes online (#14807)
Signed-off-by: Wouter Born <github@maindrain.net>
2023-04-14 23:08:25 +02:00
Wouter BornandGitHub 6772add88c [windcentrale] Adapt binding to new API (#14770)
* [windcentrale] Adapt binding to new API

Reworks the binding so it can be used with the new API that also requires authentication.

Also adds the following:

* Account things to provide authentication details
* Implementation for getting and refreshing tokens using AWS Cognito
* Windmill discovery based on the participations in projects
* Properties with additional data for windmills like turbine type, build year, location coordinates
* Adds support for "Het Vliegend Hert" windmill
* Unit tests for JSON (de)serialization

Fixes #13625

Signed-off-by: Wouter Born <github@maindrain.net>
2023-04-12 23:01:36 +02:00
Wouter BornandGitHub ada1763cf8 [dsmr] Use lower-case country codes in addon.xml (#14778)
When using upper-case country codes the XSD pattern does not match and IDEs will show errors for this.

See: https://github.com/openhab/website/blob/257652aafc8a4ff56a2d75198f910abba7445a3d/.vuepress/public/schemas/addon-1.0.0.xsd#L60-L64

Signed-off-by: Wouter Born <github@maindrain.net>
2023-04-12 12:53:35 +02:00
Wouter BornandGitHub ece4e51838 [groovyscripting] Update Groovy to 4.0.11 (#14734)
Updates Groovy from 4.0.9 to 4.0.11.

This fixes a few bugs including a memory leak, see:

http://groovy-lang.org/changelogs/changelog-4.0.10.html
http://groovy-lang.org/changelogs/changelog-4.0.11.html

Signed-off-by: Wouter Born <github@maindrain.net>
2023-04-02 09:08:53 +02:00
Wouter BornandGitHub 8dd0028315 Trigger full build when add-on is removed (#14680)
Signed-off-by: Wouter Born <github@maindrain.net>
2023-03-26 12:50:50 +02:00
Wouter BornandGitHub 6f7366de7f [nest] Cleanup test code (#14642)
* Fix SAT issues
* Start Jetty Server in same thread to improve stability
* Cleanup some code

Signed-off-by: Wouter Born <github@maindrain.net>
2023-03-20 22:14:38 +01:00
Wouter BornandGitHub 9aa72abd82 Resolve runbundles and fix tests (#14588)
Related to:

* openhab/openhab-core#3433
* openhab/openhab-core#3446
* openhab/openhab-core#3450

Some tests were updated because private lifecycle methods (annotated with @BeforeAll, @AfterAll, @BeforeEach, or @AfterEach) now lead to an exception.

See: https://junit.org/junit5/docs/current/release-notes/index.html#deprecations-and-breaking-changes-3

Signed-off-by: Wouter Born <github@maindrain.net>
2023-03-12 23:00:58 +01:00
Wouter BornandGitHub 2b63b984dc [shelly] Fix missing /shelly/manager (#14592)
Using Whiteboard annotations seems to fix this issue.

Signed-off-by: Wouter Born <github@maindrain.net>
2023-03-12 20:42:12 +01:00
Wouter BornandGitHub 59b3ed33df [groovyscripting] Update Groovy to 4.0.9 and support slurpers (#14499)
Updates Groovy from 4.0.7 to 4.0.9.

For release notes, see:

https://groovy-lang.org/changelogs/changelog-4.0.8.html
https://groovy-lang.org/changelogs/changelog-4.0.9.html

Adds dependencies and service loader config so JSON, XML and YAML can be more easily parsed using the JsonSlurper, XmlSlurper and YamlSlurper.

Signed-off-by: Wouter Born <github@maindrain.net>
2023-03-11 21:15:06 +01:00
Wouter BornandGitHub d70e2c6294 Instruct contributors to always use "main" branch for PRs (#14574)
* Instruct contributors to always use "main" branch for PRs
* Fix a typo too

This helps to prevent some frustration between contributors/maintainers.

Signed-off-by: Wouter Born <github@maindrain.net>
2023-03-11 12:26:53 +01:00
Wouter BornandGitHub 81f87385f6 [neeo] Fix Servlet exceptions due to non-unique names (#14554)
It seems that Pax Web nowadays checks that the Servlet names are unique.

Fixes #14545

Signed-off-by: Wouter Born <github@maindrain.net>
2023-03-08 20:19:13 +01:00
Wouter BornandGitHub 50cdd02447 [ipcamera] Make sure created Servlet supports async (#14552)
Fixes the folowing errors:

```
HTTP ERROR 500 java.lang.IllegalStateException: !asyncSupported: NotAsync:org.ops4j.pax.web.service.spi.servlet.OsgiInitializedServlet@536b0858
URI:	/ipcamera/192168493/ipcamera.jpg
STATUS:	500
MESSAGE:	java.lang.IllegalStateException: !asyncSupported: NotAsync:org.ops4j.pax.web.service.spi.servlet.OsgiInitializedServlet@536b0858
SERVLET:	org.openhab.binding.ipcamera.internal.servlet.CameraServlet
CAUSED BY:	java.lang.IllegalStateException: !asyncSupported: NotAsync:org.ops4j.pax.web.service.spi.servlet.OsgiInitializedServlet@536b0858
Powered by Jetty:// 9.4.50.v20221201
```

See:

* https://community.openhab.org/t/openhab-4-0-snapshot-discussion/142322/226
* https://groups.google.com/g/ops4j/c/E9p7tPydPmo
* https://github.com/ops4j/org.ops4j.pax.web/issues/1767

Signed-off-by: Wouter Born <github@maindrain.net>
2023-03-08 17:20:08 +01:00
Wouter BornandGitHub c7f7dbdc07 Resolve itest runbundles for JUPnP upgrade (#14538)
Related to openhab/openhab-core#3421

Signed-off-by: Wouter Born <github@maindrain.net>
2023-03-05 13:12:49 +01:00
Wouter BornandGitHub b2bf7256db Upgrade to Karaf 4.4.3 (#14040)
* Rework Servlets to use Http Whiteboard annotations in favor of proprietary `org.openhab.core.io.http.servlet` classes
* Resolve itest runbundles
* Fix dependency issues
* Catch proper exception when starting hueemulation UpnpServer

Also-by: Jan N. Klug <github@klug.nrw>
Signed-off-by: Wouter Born <github@maindrain.net>
2023-03-01 18:33:50 +01:00
Wouter BornandGitHub 2a2f6ffb58 [lifx] Add support for newer downlights (#14362)
Allows for discovering the new downlights (PID 121, 122) and their features.

See: https://github.com/LIFX/products/blob/master/products.json

Signed-off-by: Wouter Born <github@maindrain.net>
2023-02-08 23:50:40 +01:00
Wouter BornandGitHub 6e6bd3701c Update Jackson version to 2.14.1 (#14116)
This is the version used in the feature provided by openhab-core.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-30 22:48:12 +01:00
Wouter BornandGitHub dbaf081daa [groovyscripting] Update Groovy to 4.0.7 (#14115)
Updates Groovy from 3.0.13 to 4.0.7.

For Groovy 4.0 release notes, see:

https://groovy-lang.org/releasenotes/groovy-4.0.html#releasenotes

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-29 21:59:12 +01:00
Wouter BornandGitHub 026ac92023 Add Stale configuration (#14109)
Similar to openhab/openhab-core#2974

See also: https://github.com/marketplace/stale

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-29 19:32:45 +01:00
Wouter BornandGitHub 88c0b720c6 [jsscriptingnashorn] JavaScript Scripting Nashorn Automation (#14013)
* [jsscriptingnashorn] JavaScript Scripting Nashorn Automation

This add-on allows you to use your older JavaScript (ECMAScript 5.1) rules on newer Java versions until they are migrated to JavaScript (ECMAScript 2021+).
The add-on uses a standalone [Nashorn Engine](https://github.com/openjdk/nashorn) which was part of Java until it was removed in Java 15.

* Update parent to 3.4.0-SNAPSHOT and nashorn-core to 15.4

For the Nashorn changelog, see:

https://github.com/openjdk/nashorn/blob/main/CHANGELOG.md

* Update parent to 4.0.0-SNAPSHOT
* Remove removeUnsupportedNashornArgs
* Update scriptTypes
* Add CODEOWNERS entry
* Recycle ScriptScopeOSGiTest.java

It got removed in openhab/openhab-core#2994

* Remove redundant new line from pom.xml

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-26 15:27:03 +01:00
Wouter BornandGitHub b1d4c40e20 Remove JavaScript Transformation pom.xml (#14048)
Everything except for this pom.xml got removed in openhab/openhab-addons#13276

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-23 14:10:58 +01:00
Wouter BornandGitHub fbf302e553 Use HTTPS in pom.xml where possible (#14044)
Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-23 00:13:17 +01:00
Wouter BornandGitHub af16d52e9b Fix "Hello, World!" examples in automation documentation (#14041)
The documentation states incorrectly that "Hello, World!" is printed when instead "Hello world!" is printed.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-22 18:21:13 +01:00
Wouter BornandGitHub 4871d6dab1 [shelly] Remove broken images (#14007)
See also #13993

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-18 19:50:23 +01:00
Wouter BornandGitHub 8d65371844 [shelly] Remove broken images (#14007)
See also #13993

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-18 19:49:42 +01:00
Wouter BornandGitHub d03d3e4342 Show add-on intros in Main UI (#13992)
Using these Markdown tweaks a small intro will show in Main UI instead of emptyness and a "more" button.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-17 23:53:57 +01:00
Wouter BornandGitHub 23875a6ae3 [mapdb] Fix "a" typo and use "-" for bullets in docs (#13966)
Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-16 11:22:48 +01:00
Wouter BornandGitHub 15ad22b5ad [mapdb] Add some documentation (#13964)
This is based on the original OH1 documentation.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-15 23:39:37 +01:00
Wouter BornandGitHub c75b04e976 [wundergroundupdatereceiver] Prevent 😕 showing in documentation (#13963)
See: https://www.openhab.org/addons/bindings/wundergroundupdatereceiver/

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-15 22:40:52 +01:00
Wouter BornandGitHub 83f0f7aa4c Prevent Markdown rendering issues in Main UI (#13958)
Some add-ons use `---` separators which causes issues when rendering the documentation in Main UI.

Fixes #13953

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-15 12:28:32 +01:00
Wouter BornandGitHub 6e8b35c4c1 [jsscripting] Fix broken event object table (#13952)
The table is not properly rendered when reading the documentation in Main UI.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-15 07:51:22 +01:00
Wouter BornandGitHub 286a27db5b [nest] Add missing enable SDM API configuration step to README.md (#13931)
Fixes #11814

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-12 22:12:24 +01:00