Commit Graph

890 Commits

Author SHA1 Message Date
Wouter Born
18d0a52d02 Switch to Java 11 and drop Java 8 support (#1305)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-01-12 22:32:28 +01:00
Christoph Weitkamp
2c01cd7f3b Fixed storage configurationPids (#1323)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-01-09 15:05:51 +01:00
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
Hilbrand Bouwkamp
9a50b262a3 [archetype] new binding feature should use ohc.version (#1311)
When generating a new binding with the maven archetype it should refer to openhab core via the variable `ohc.version` In the feature.xml.

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2019-12-31 14:33:36 +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
bdb6705cde Fixed unstable ConfigDescriptionI18nTest (#1306)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-12-30 22:32:03 +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
acbede5d75 Update README.md (#1288)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-12-21 18:43: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
Christoph Weitkamp
32e20111f0 Removed dependency on 'org.apache.commons.collections' (#1236)
* Removed dependency on 'org.apache.commons.collections'
* Removed dependency from feature

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-12-19 17:01:16 +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
Christoph Weitkamp
170e48618b Run resolver on integration tests to fix the build (#1277)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-12-16 00:22:35 +01:00
Wouter Born
92d54ad7c2 Update SAT currentVersionRegex for 3.0.0 (#1280)
Signed-off-by: Wouter Born <github@maindrain.net>
2019-12-15 22:45:23 +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
Kai Kreuzer
57c719e187 added Californium to runtime bom (#1263)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2019-12-08 22:21:06 +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
Kai Kreuzer
d7972f2ea8
added Californium to compile bom (#1262)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2019-12-08 20:51:58 +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
Christoph Weitkamp
5dbd33ab61 Bump Californium to 2.0.0 (#1257)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-12-06 15:13:34 +01:00
Hilbrand Bouwkamp
98d27b185a osgiify of dagger library (#1246)
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2019-12-05 21:41:03 +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