* Upgrade Eclipse Equinox dependencies
* Upgrade org.eclipse.equinox.metatype from 1.4.500 to 1.6.400
* Upgrade org.eclipse.equinox.event from 1.6.200 to 1.6.300
* Upgrade org.eclipse.equinox.log.stream from 1.1.100 to 1.1.200
* Upgrade org.osgi.util.pushstream from 1.0.0 to 1.1.0
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
* Resolve
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
---------
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
* Upgrade Xtext/Xtend to 2.40
* Upgrade Xtext/Xtend from 2.39 to 2.40
* Upgrade gson from 2.11.0 to 2.13.1
* Upgrade classgraph 4.8.176 to 4.8.180
* Change repo from org.eclipse.xtend to org.eclipse.xtext
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
* Add error_prone_annotations as dependency for gson
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
---------
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
This was updated to a wrong version in #4932.
Downgrade from 3.19.0 to 3.18.0 to sync with Karaf 4.4.8.
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
* Upgrade org.apache.servicemix.specs.annotation-api-1.3 from 1.3_1 to
1.3_3, in sync with Karaf.
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
Reduce potential collisions in hashCode()
Make identical a null list/set and an empty list/set
Test hashCode in addition to equals in unit tests.
Add new tests for YamlItemDTO (equals/hashCode)
Related to #4936
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
It was removed in 8154dce3076d56df5e1d87b2fd465c8232f7cba1 (#4922) and might be causing the logging of errors during startup, as reported in #4965.
Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>
* [rules actions] Add new HTTP actions for images
This adds new functions for downloading images to image Items. This is usefull for exposing images to push notifications, updating album art, showing camera snapshots in the Main UI, etc...
I went back and forth if this was a new action space, or part of the HTTP actions, in the end i think it belongs as additional HTTP actions (since it also mostly wraps HTTPUtils.java)
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
This aligns the keys of the injected `ctx` HashMap with the keys used when injecting the single entries of that HashMap.
It will allow JS Scripting to provide event information in a native JS object in UI-based scripts similarly to how it's done for file-based scripts.
Signed-off-by: Florian Hotze <dev@florianhotze.com>
Fixes#4834.
Partly reverts #4107.
The caching of the add-on resource is faulty, e.g. changes to the community marketplace settings don't invalidate the cache.
As Main UI now better handles add-on store loading, caching is no more needed there.
Signed-off-by: Florian Hotze <dev@florianhotze.com>
* AbstractScriptModuleHandler: Recompile scripts on dependency change
When a script's dependency changes, it should recompile the compiled script similarly to resetting the engine for uncompiled scripts.
Fixing this behaviour fixes an issue where compiled scripts stopped working after a dependency changed.
This also simplifies the code a bit.
Signed-off-by: Florian Hotze <dev@florianhotze.com>
Activate the logging via
log:set DEBUG org.openhab.core.internal.common.WrappedScheduledExecutorService
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
It is required by the Jinja transformation.
Because it uses the same version of OHC and is missing in the feature, it needs to be manually uploaded each time Jackson is upgraded.
Fixes#4399
Signed-off-by: Wouter Born <github@maindrain.net>
- Removed unnecessary instance fields (`thingUID` and `bundleContext`) and replaced with local variables where appropriate.
- Simplified `eventTopicFilter` initialization by using local `thingUID` variable.
- Applied pattern matching for `instanceof` to reduce explicit casting in `receive()` method.
- Cleaned up unused code and improved readability.
Signed-off-by: Oleg Andreych <kjiec4@gmail.com>