Christoph Weitkamp
bb19110018
Added configurationPid ( #1003 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-08-27 23:20:14 +02:00
Christoph Weitkamp
f86d011884
Use constructor injection to simplify lifecycle ( #987 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-08-24 23:49:24 +02:00
Christoph Weitkamp
d16a342663
Streamline DTO serialization for REST item resources ( #982 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-08-24 23:48:42 +02:00
Christoph Weitkamp
5c5c9ae126
Specified OSGi service ( #989 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-08-24 23:47:44 +02:00
Christoph Weitkamp
e2132a7a46
Use constructor injection to simplify lifecycle ( #994 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-08-24 23:45:46 +02:00
Christoph Weitkamp
be1cd25743
[itemregistry] Use constructor injection to simplify lifecycle ( #988 )
...
* Use constructor injection to simplify lifecycle
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
* PR extended by ItemStateConverter
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-08-23 18:21:28 +02:00
Christoph Weitkamp
c8395ef5be
[persistence] Use constructor injection to simplify lifecycle ( #991 )
...
* Use constructor injection to simplify lifecycle
* Added nullness annotations to PersistenceManager
* Removed declaration with null
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-08-21 20:42:02 +02:00
Stewart Cossey
f51bd640f3
Fix incorrect unit symbol for Byte and add unit symbol for Octet. ( #990 )
...
Signed-off-by: Stewart Cossey <stewart.cossey@gmail.com>
2019-08-21 20:34:08 +02:00
lolodomo
cb39c5b802
GetLabel: Handle correctly string value looking like a transform pattern ( #959 )
...
* GetLabel: Handle correctly string value looking like a transform pattern
Fixes #957
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2019-08-19 12:55:28 +02:00
lolodomo
dcea4aa380
ItemUIRegistry: getLabel returning DateTime item formatted in local time zone ( #951 )
...
* ItemUIRegistry: getLabel returning DateTime item formatted in local time zone
Fixes #832
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2019-08-17 22:28:34 +02:00
lolodomo
8fb20a4977
[semantics] Fix properties loading ( #977 )
...
Fix #956
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2019-08-16 21:24:15 +02:00
Philipp Waller
608507e451
[automation] Update configDescriptions for jsr223.ScriptedTrigger ( #964 )
...
Fixes #962
Signed-off-by: Philipp Waller <philipp.waller@gmail.com>
2019-08-13 21:27:29 +02:00
Christoph Weitkamp
3e38733b09
Fixed spelling in JavaDoc ( #975 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-08-13 21:21:13 +02:00
Christoph Weitkamp
49e2286a94
Use constructor injection to simplify lifecycle ( #976 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-08-13 21:20:43 +02:00
lolodomo
0820701ffc
[DSL rule] New implicit variable newState ( #973 )
...
Fix #925
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2019-08-13 21:13:03 +02:00
lolodomo
aebcc6cd9a
[DSL] Unique job key for createTimer in DSL rule ( #972 )
...
Fixes #943
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2019-08-13 21:12:23 +02:00
J-N-K
a17d63ad64
increase paho inflight message limit ( #970 )
...
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2019-08-12 11:08:39 +02:00
Wouter Born
9d2f09936d
Fix null annotations order and cleanup ( #958 )
...
* Move null annotations between modifiers and variable type
* Remove redundant public modifiers from interfaces where applicable
* Remove redundant `@NonNull` annotations
Signed-off-by: Wouter Born <github@maindrain.net>
2019-08-08 09:42:30 +02:00
J-N-K
f433a5683f
fix TopicSubscribers ( #955 )
...
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2019-08-05 22:14:31 +02:00
lolodomo
f03f328bf0
DateTimeType: new methods toZone and toLocaleZone ( #945 )
...
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2019-08-02 13:57:39 +03:00
Wouter Born
9e7c6af1c8
Fix "No SerialPortProvider found" on startup ( #939 )
...
Change reference cardinality from MULTIPLE to AT_LEAST_ONE so the serial port provider can be used immediately when ThingHandlers are initialized.
Fixes #937
This would always result in the following logging on startup:
[WARN ] [serial.internal.SerialPortManagerImpl] - No SerialPortProvider found for: /dev/ttyUSB0
Bindings without serial port reconnection logic would need to be manually restarted (Z-Wave Binding).
Signed-off-by: Wouter Born <github@maindrain.net>
2019-07-29 22:23:18 +03:00
Christoph Weitkamp
95e0190d55
Avoid multiple type castings ( #946 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-07-28 11:32:15 +02:00
Christoph Weitkamp
c95dfcb1cc
Added formatting tests for DateTimeType ( #938 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-07-22 21:56:22 +02:00
Christoph Weitkamp
4f3e1c17cb
Added equality tests for parsing and timzone ( #933 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-07-22 10:44:10 +02:00
Markus Rathgeb
ef05b4d878
start with an upper case on "initial contribution" ( #931 )
...
Related to: https://github.com/openhab/openhab-core/pull/916/#discussion_r305082016
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-07-21 12:24:58 +02:00
Kai Kreuzer
b6aae6907f
Revert "openHAB JAX-RS publisher ( #905 )"
...
This reverts commit ad81f040de
.
2019-07-17 11:55:29 +02:00
Kai Kreuzer
b3aabd73ab
Revert "remove leftovers of REST optimize ( #907 )"
...
This reverts commit c86cbea3ba
.
2019-07-17 11:55:29 +02:00
Christoph Weitkamp
4b7eddf16e
[automation] Fixed topic ( #922 )
...
- Fixed topic for `ThingStatusTriggerHandler`. Is is called "things", not "thing".
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-07-12 21:01:42 +02:00
Christoph Weitkamp
17c756513a
[automation] Added 'ThingStatusTrigger' for NGRE ( #911 )
...
* Added ThingStatusTrigger for NGRE
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-07-10 11:57:54 +02:00
Christoph Weitkamp
abab07dfb9
[automation] Added nullness annotations ( #910 )
...
* Added nullness annotations
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-07-08 10:53:25 +02:00
maniac103
7bad7f6e3f
Add missing null check to PageChangeListener. ( #909 )
...
If visibility of a sitemap widget that does not have a (valid) item is
changed, 'itemToBeSent' becomes null, in which case we need to omit
filling out 'event.item' and 'event.state' (and keep them as null).
Closes #897
Signed-off-by: Danny Baumann <dannybaumann@web.de>
2019-07-04 11:36:22 +02:00
Markus Rathgeb
c86cbea3ba
remove leftovers of REST optimize ( #907 )
...
The project has been replaced by REST publisher and the sources should
be removed by https://github.com/openhab/openhab-core/pull/905
It seems something went wrong.
Let's remove it now!
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-07-02 16:45:40 +02:00
Markus Rathgeb
ad81f040de
openHAB JAX-RS publisher ( #905 )
...
* add project for publisher
* add unmodified com.eclipsesource.jaxrs.publisher sources
* modify and use modified publisher
* drop tracker usage (only for custom whitelist by fragments)
* add the new code to new classes and namespace
Also-by: Kai Kreuzer <kai@openhab.org>
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-07-01 21:08:03 +02:00
Christoph Weitkamp
01f4724575
Added action for bank holiday from a given userfile ( #901 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-06-26 13:23:37 +02:00
Kai Kreuzer
957cbe045c
moved resources folder out of java source folder ( #900 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2019-06-26 06:42:37 +02:00
Christoph Weitkamp
c2af2465d1
Added nullness annotations ( #898 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-06-25 18:36:32 +02:00
Christoph Weitkamp
6d073daa82
Updated xml schema locations to openHAB ( #899 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-06-25 18:30:07 +02:00
Daniel Walters
22937ae02f
Fix typo in exception message ( #896 )
...
Signed-off-by: Daniel Walters <danielwalters1@hotmail.com>
2019-06-25 06:44:13 +02:00
Björn Brings
7fdef0717e
Reduce polling frequency of usb serial scanner ( #889 )
...
* Reduce polling frequency
Signed-off-by: Björn Brings <bjoernbrings@web.de>
2019-06-24 19:13:59 +02:00
Kai Kreuzer
ce352d0ca7
corrected artifact name ( #893 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2019-06-23 22:02:44 +02:00
Markus Rathgeb
5fda143230
simplify contains, get, compute separation ( #887 )
...
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-06-20 21:35:43 +02:00
Markus Rathgeb
7d7f8d044d
don't fail on nullable locale (currently not forbidden) ( #886 )
...
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-06-20 21:34:18 +02:00
Markus Rathgeb
2ed5110668
slightly cleaner nullness handling (don't split contains and get) ( #885 )
...
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-06-20 21:33:36 +02:00
Markus Rathgeb
fe9b060391
firmware: transfer latest FW don't require a info about previous FW ( #884 )
...
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-06-20 21:25:22 +02:00
Markus Rathgeb
a23cd23a37
map entries of member variables could change between lines ( #883 )
...
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-06-20 21:24:55 +02:00
Markus Rathgeb
a75fbe1e42
Class::getCanonicalName may return null ( #882 )
...
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-06-20 21:24:20 +02:00
Markus Rathgeb
bf9f86354b
fix nullness violation in MapDB test ( #881 )
...
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-06-20 21:23:53 +02:00
Markus Rathgeb
b897de2f5e
get semantic type can return null, isAssignableFrom requires non-null ( #880 )
...
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-06-20 21:23:33 +02:00
Markus Rathgeb
6cdfd635f4
compine filter and map for tooling ( #879 )
...
It should not matter if the instructions are split or not.
But if it is splitted the nullness tooling don't know that the stream
after the filter contains only non null elements.
As it should not matter and to make the tooling happy...
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-06-20 21:23:05 +02:00
Markus Rathgeb
ebda4b8fc7
handle nullness in unget handler of composite module correctly ( #878 )
...
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-06-20 21:22:22 +02:00