Christoph Weitkamp
7d42607e4c
Streamline format of event outputs ( #1318 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-01-09 12:40:25 +01:00
Christoph Weitkamp
7e3e333dbc
[rest] Suppress error message in REST response ( #1307 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-01-09 12:36:54 +01:00
Markkuuss
a8232e4b1c
Correction of unit spellings Ampere hour ( #1316 )
...
Signed-off-by: Markus Schraufstetter <markus.schraufstetter@gmail.com>
2020-01-05 12:20:35 +01:00
Wouter Born
9d0cb4d9af
Fix FolderObserver configuration PID ( #1315 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2020-01-03 08:06:28 +01:00
Christoph Weitkamp
84009652a8
Changed configurationPid prefixes from 'org.openhab.core' ot 'org.openhab' ( #1314 )
...
* Changed configurationPid prefixes from 'org.openhab.core' ot 'org.openhab'
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-01-02 09:12:34 +01:00
Wouter Born
3811cb9560
Update copyright headers to 2020 ( #1309 )
...
* Update copyright headers to 2020
Signed-off-by: Wouter Born <github@maindrain.net>
2020-01-01 18:06:34 +01:00
Karel Goderis
e0c9542690
[magic] Update channel-types.xml ( #1312 )
...
Added missing `item-type`
Signed-off-by: Karel Goderis <karel.goderis@me.com>
2019-12-31 17:21:39 +01:00
Gaël L'hopital
1c1bde0ef7
Add Ampere hour (A h) and electrolytic conductivity (µS/cm) units ( #1308 )
...
* Adressing issues #1295 and #1296
Fixes #1295
Fixes #1296
Signed-off-by: Gaël L'hopital <gael@lhopital.org>
2019-12-31 11:31:44 +01:00
Christoph Weitkamp
800956598b
Applied spotless formatter ( #1302 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-12-30 22:55:19 +01:00
Christoph Weitkamp
b505847544
Simplify code for 'updateProperty' method ( #1300 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-12-30 09:38:46 +01:00
Wouter Born
406f9b262f
Correct Xtext version in bnd.bnd files ( #1304 )
...
Related to: https://github.com/openhab/openhab-core/pull/1171
Signed-off-by: Wouter Born <github@maindrain.net>
2019-12-29 17:23:52 +01:00
Christoph Weitkamp
dd4368e23f
Added nullness annotations; Some minor improvements; Unit tests for 'ItemCommandEvent' on group ( #1299 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-12-28 22:25:07 +01:00
Christoph Weitkamp
b03b3e9b00
Changes in ScriptImportSectionNamespaceScopeProvider
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-12-28 12:18:16 +01:00
Christoph Weitkamp
59675788e0
Renamed packages
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-12-28 12:18:16 +01:00
Christoph Weitkamp
fca7c215a5
Moved files to new location
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-12-28 12:18:16 +01:00
Christoph Weitkamp
be89210019
Fixed link in JavaDoc ( #1289 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-12-21 18:41:32 +01:00
Kai Kreuzer
650f895620
removed 1.x compatibility layer ( #1284 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2019-12-21 11:32:29 +01:00
jimtng
ec2958a072
[DSL] Add the ability to send HTTP headers in sendHttpXXXRequest ( #1272 )
...
* Add the ability to send HTTP headers in HTTP.sendHttpXXXRequest actions
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2019-12-19 13:36:51 +01:00
Christoph Weitkamp
7130988901
Added missing JavaDoc to 'createGroupStateChangedEvent' method ( #1276 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-12-18 23:04:09 +01:00
Christoph Weitkamp
f32d779894
Simplify lifecycle by using constructor injection ( #1278 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-12-18 23:02:56 +01:00
Markus Rathgeb
853179e8f2
contains + get can be replaced by get and a null check ( #1269 )
...
contains + get will do its job as long as all collection access uses the
same synchronization locks and as long as every put ensures there will
never by a null value be inserted.
If the map implementation checks if a key is available, we can also get
the value already (IMHO there is no need for the overhead to first
lookup if the key is present and after that is checked, we call the get
function). It should be better to get the value and check if it differs
from null.
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-12-16 00:23:18 +01:00
Markus Rathgeb
a19680e35d
slf4j logging: remove not needed object array creation ( #1268 )
...
* slf4j logging: remove not needed object array creation
* remove explicit `toString()` calls and check if debug is enabled
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-12-16 00:22:56 +01:00
jenkins
bc6a380297
[unleash-maven-plugin] Preparation for next development cycle.
2019-12-15 14:55:36 +00:00
J-N-K
ea2ef7e25b
fix failing subscriptions ( #1267 )
...
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2019-12-11 08:51:18 +01:00
Scott Rushworth
218bb79dfd
Prepare automation for ScriptEngineFactory projects ( #1251 )
...
These changes prepare for custom ScriptEngineFactories and does not
include any breaking changes.
* Moved AbstractScriptEngineFactory out of internal so that it can be
used by custom factories
* Modified ScriptEngineModuleTypeProvider to include engines from custom
factories
* Cleaned up some logging
Signed-off-by: Scott Rushworth <openhab@5iver.com>
2019-12-11 08:35:01 +01:00
J-N-K
cb5838837b
make MQTT subscription tracking thread-safe ( #1261 )
...
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2019-12-08 22:10:23 +01:00
J-N-K
6e962d9dbc
fix multiple MQTT subscriptions ( #1259 )
...
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2019-12-07 18:44:35 +01:00
J-N-K
4efa7ec625
Fix MQTT reconnection and add some debug logging ( #1254 )
...
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2019-12-02 05:30:14 +01:00
Abdullah Imal
991a8fd850
Fix check which allows QoS 3 ( #1248 )
...
Signed-off-by: A-Imal <Abdullah.Imal@dc-square.de>
2019-11-29 19:54:42 +01:00
Christoph Weitkamp
2d14814549
Reduce logging level in FeatureInstaller for uninstalling a binding ( #1247 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-11-29 17:24:43 +01:00
Christoph Weitkamp
e85e1a6f44
Removed dependency on 'org.apache.commons.collections' ( #1244 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-11-28 18:43:10 +01:00
Christoph Weitkamp
0046774eb6
Set UNINITIALIZED -> HANDLER_MISSING_ERROR after enabling a Thing and handler is missing ( #1243 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-11-28 15:55:59 +01:00
Wouter Born
c50766d7c3
Use default SslContextFactory excludes for weak ciphers and protocols ( #1241 )
...
To prevent weak cipher/protocol warnings it's better to not customize the default excluded ciphers and protocols.
The MD5 ciphers have already been excluded by default since Jetty 9.3.11.v20160721.
Fixes #1064
Signed-off-by: Wouter Born <github@maindrain.net>
2019-11-25 23:22:32 +01:00
Gaël L'hopital
b9105bde38
Correcting Issue #1231 ( #1240 )
...
Forgot to test decimal negatives
Signed-off-by: Gaël L'hopital <gael@lhopital.org>
2019-11-25 23:21:44 +01:00
Christoph Weitkamp
abb558851f
Removed duplicate brackets ( #1235 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-11-22 09:38:48 +01:00
jmelhus
44d486b007
[semantics] Norwegian translation ( #1228 )
...
* Created tags_no.properties
Norwegian translation
Signed-off-by: Jørgen Melhus <jmelhus@gmail.com>
2019-11-20 07:44:08 +01:00
Christoph Weitkamp
764b5845a6
[thing] Call removeItem()
with item name instead of ThingUID
( #1230 )
...
* Added unit test to cover #1226
* Call 'removeItem()' with item name instead of ThingUID
* Added nullness annotations
* Use constructor injection
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-11-19 17:34:05 +01:00
Markus Rathgeb
fc0c61e4b4
use correct wildcard for mandatory path parameters ( #1224 )
...
Fixes: https://github.com/openhab/openhab-core/issues/1217
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-11-17 21:44:51 +01:00
Christoph Weitkamp
931b2007c5
Removed access to 'BundleContext' from 'BaseThingHandler' ( #1214 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-11-17 21:44:08 +01:00
Christoph Weitkamp
d23fb59ed7
Use constructor injection ( #1212 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-11-14 20:58:47 +01:00
Wouter Born
403b55c8fc
Parameterized logging fixes ( #1213 )
...
Make sure Throwables are not be substituted into log messages so they can be formatted according to the logging configuration.
Signed-off-by: Wouter Born <github@maindrain.net>
2019-11-14 20:08:06 +01:00
Christoph Weitkamp
fdf060dab2
Use constructor injection ( #1211 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-11-14 19:40:06 +01:00
Christoph Weitkamp
b34ef3cf13
Use constructor injection ( #1210 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-11-14 19:31:14 +01:00
Christoph Weitkamp
d77d8b763e
Added check for invalid duration ( #1209 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-11-13 18:35:42 +01:00
Christoph Weitkamp
8c4fb060ed
Minor clean-ups in 'SmartHomeUnits', 'SIUnits' and 'ImperialUnits' ( #1208 )
...
* Minor clean-us in SmartHomeUnits
* Clean-up in 'SIUnits' and 'ImperialUnits'
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-11-13 18:35:17 +01:00
lolodomo
16a9ff0877
[mqtt] PeriodicReconnectStrategy: fix fields init ( #1203 )
...
Fixes #1200
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2019-11-11 22:24:50 +01:00
Gaël L'hopital
694ff49954
Issue #1157 Enhance DecimalType to accept epoch seconds and milliseconds. ( #1158 )
...
* Issue 1157 Enhance DecimalType to accept epoch seconds and milliseconds.
Signed-off-by: Gaël L'hopital <gael@lhopital.org>
2019-11-10 21:45:38 +01:00
Markus Rathgeb
492526d74f
add console command extension for serial inspection ( #1172 )
...
* add console command extension for serial inspection
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-11-10 21:41:31 +01:00
Wouter Born
cd3f33738f
Fix unstable MqttBrokerConnectionTests ( #1191 )
...
Using waitForAssert instead of sleeping 10ms makes the tests stable when the system has some load.
Fixes #1139
Signed-off-by: Wouter Born <github@maindrain.net>
2019-11-08 10:53:13 +01:00
Wouter Born
e943ec8970
Upgrade to Xtext 2.19, LSP4J 0.8.0 and fix LSP server ( #1171 )
...
Every connection to the LSP server failed because it always threw a org.eclipse.smarthome.model.ide.SitemapIdeSetup NoClassDefFoundError.
Which is caused by the SitemapIdeSetup residing in a package that is split between both the org.openhab.core.model.item.ide and the org.openhab.core.model.sitemap.ide bundles.
The SitemapIdeSetup class is also using classes from the org.eclipse.smarthome.model package which is also a package split between the org.openhab.core.model.items and org.openhab.core.model.sitemap bundles.
After renaming the packages used for the sitemap classes the NoClassDefFoundError is resolved and LSP works properly again.
Many imports were updated for the sitemap model package changes.
Fixes #1030
Signed-off-by: Wouter Born <github@maindrain.net>
2019-11-07 16:26:59 +01:00