bigbasec
c7b7390c91
Fix sitemap proxy URL provided by Rest API ( #2203 )
...
Signed-off-by: Brian Homeyer <bhomeyer@gmail.com>
2021-02-19 20:27:12 +01:00
pravussum
0292806830
[metering] tag rule metric with human readable rule name in addition to the rule id ( #2194 )
...
Signed-off-by: Robert Bach <openhab@mortalsilence.net>
2021-02-14 18:07:54 +01:00
Sami Salonen
ebda155b47
[modbus] Modbus poolconfig handling ( #2199 )
...
* [modbus] More strict nullness annotations
Taking into consideration that we always have default
EndpointPoolConfiguration
* [modbus] Utilize default pool configuration consistently
* [modbus] Make (internal) ModbusCommunicationInterfaceImpl constr private
* [modbus] Handle null config of modbus comm when detecting open conns
* [modbus] default connection timeout of 10s with default pool config
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2021-02-14 17:14:43 +01:00
pravussum
f061512dd5
Integrated micrometer metering #774 ( #2133 )
...
Signed-off-by: Robert Bach <openhab@mortalsilence.net>
2021-02-11 21:12:58 +01:00
Wouter Born
5a4e04cb2c
Add profile to generate semantics classes with groovy-maven-plugin ( #2188 )
...
* Add profile to generate semantics classes with groovy-maven-plugin
This way you can generate the classes with Maven when adding -DgenerateTagClasses to your build command.
I.e. you no longer need to have Groovy locally installed for this.
Also properly sorts the generated imports so they match the Spotless configuration.
Signed-off-by: Wouter Born <github@maindrain.net>
2021-02-10 17:23:16 +01:00
Christoph Weitkamp
76e0cfdb81
[voice] Changed annotation of getPreferredVoice
method to allow null results ( #2186 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-02-09 19:26:49 +01:00
Kai Kreuzer
44c280e249
Make absolute color temperature channel type advanced ( #2183 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-02-08 20:13:16 +01:00
Christoph Weitkamp
7907f48735
Added nullness annotations to TypeParser ( #2181 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-02-07 09:47:27 +01:00
Sönke Küper
65218f81fc
Added rule condition for not a holiday ( #2043 )
...
Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
2021-02-06 16:37:29 +01:00
bigbasec
74c4c2386f
Support sitemaps created through UI in proxy ( #2178 )
...
* Add site provider lookup in proxy
Third attempt at this PR, but this very simply allows for the proxy to find the sitemaps for both file based as well as gui generated.
Fixes #2154
Fixes openhab/openhab-webui#763
Fixes openhab/openhab-webui#745
Also-by: Kai Kreuzer <kai@openhab.org>
Signed-off-by: Brian Homeyer <bhomeyer@gmail.com>
2021-02-06 16:26:58 +01:00
Kai Kreuzer
87211d2439
[REST] Prevent internal server error on invalid link requests on REST API ( #2179 )
...
Closes https://github.com/openhab/openhab-webui/issues/878
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-02-06 11:27:58 +01:00
Andrew Fiddian-Green
b99aa444a0
[discovery.upnp] Devices may apply a grace period for removal from the Inbox ( #2144 )
...
* [discovery.upnp] delay removing devices from Inbox
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2021-02-06 11:16:41 +01:00
Andrew Fiddian-Green
023f373b20
[transport.modbus] Remove dependencies on deprecated libraries ( #2127 )
...
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2021-02-04 23:27:06 +01:00
Christian Bandowski
d48646d8c6
Fix changing temperature via BasicUI ( #2091 ) ( #2165 )
...
Signed-off-by: Christian Bandowski <christian@myvm.de>
2021-01-30 22:50:58 +01:00
Sami Salonen
de61ce1ead
[modbus] equals and hashcode implementation for ModbusRegisterArray ( #2164 )
...
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2021-01-30 21:02:59 +01:00
Wouter Born
46666eb169
Fix deprecations ( #2163 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2021-01-30 12:22:31 +01:00
Wouter Born
49e148ad7d
Fix headers ( #2161 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2021-01-27 23:43:44 +01:00
Jonathan Gilbert
f1a3d824ac
Add ability for scripts to create unmanaged rules ( #1897 )
...
Signed-off-by: Jonathan Gilbert <jpg@trillica.com>
2021-01-26 22:25:09 +01:00
Jonathan Gilbert
f0c9a8434d
Added ability for ScriptEngines to allow script dependencies to be tracked and changes to trigger script reloading ( #1884 )
...
Signed-off-by: Jonathan Gilbert <jpg@trillica.com>
2021-01-26 22:23:31 +01:00
jimtng
b55933d769
[timer] fix to allow timer reschedule after termination ( #2153 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2021-01-26 17:21:41 +01:00
jimtng
6de92ec6ef
[timer] Add Timer.getExecutionTime() ( #2147 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2021-01-26 17:17:40 +01:00
Mike Major
86a447c23a
[jsondb] Restore zero byte files from backup ( #2155 )
...
* Restore zero byte files from backup
* Also handle zero byte backup files
Signed-off-by: Mike Major <mike_j_major@hotmail.com>
2021-01-26 17:12:46 +01:00
Christoph Weitkamp
12659595a6
Added system default channel type to control color temperature in Kelvin ( #2157 )
...
* Added system default channel type for controling color temperature in Kelvin
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-01-26 08:13:04 +01:00
Wouter Born
d50ea56da8
Stop commons-net proliferation ( #2151 )
...
* Exclude commons-net from core dependencies so it is no longer automatically a transitive compile dependency
* Update nrjavaserial compile dependency to a version that no longer includes commons-net packages
* Define and use commons.net.version property
* Rework features so commons-net is only installed when required
Signed-off-by: Wouter Born <github@maindrain.net>
2021-01-24 21:43:08 +01:00
Stefan Triller
ec76baa881
Bump apache-commons.net to 3.7.2 ( #2141 )
...
Signed-off-by: Stefan Triller <github@stefantriller.de>
2021-01-23 21:53:55 +01:00
Michael Parment
3df98da080
Changed modbus polling logging level to warning when retrying ( #2135 )
...
https://community.openhab.org/t/modbus-errors/114602
Signed-off-by: Michael Parment <michael.parment@gmail.com>
2021-01-21 14:16:40 +01:00
Fabian Wolter
0a2450c919
Add message and preserve cause when throwing PortInUseException ( #2126 )
...
Signed-off-by: Fabian Wolter <fw@skytender.de>
2021-01-21 11:12:55 +01:00
Andrew Fiddian-Green
127724c0e3
[executeCommandLine] should return STDERR if STDOUT is empty ( #2114 )
...
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2021-01-16 22:20:09 +01:00
Wouter Born
074bd7a623
Fix BOM dependency issues ( #2120 )
...
* Sync biz.aQute.tester.junit-platform version using bnd.version property
* Remove duplicate osgi-resource-locator dependency, causing warnings/unstability
Signed-off-by: Wouter Born <github@maindrain.net>
2021-01-15 16:33:39 +01:00
Wouter Born
987af36bcf
Update bnd to 5.2.0 ( #2105 )
...
See: https://github.com/bndtools/bnd/wiki/Changes-in-5.2.0
Signed-off-by: Wouter Born <github@maindrain.net>
2021-01-12 22:01:14 +01:00
Kai Kreuzer
a0d58006e8
Also return command line execution result in case of error return code ( #2104 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-01-12 10:54:12 +01:00
Wouter Born
c28090497d
Fix unstable tests due to RuleEngine not being started ( #2093 )
...
Fixes #1633
Fixes #1955
Fixes #2080
Signed-off-by: Wouter Born <github@maindrain.net>
2021-01-09 23:17:40 +01:00
Christoph Weitkamp
c2702d0dfe
Moved NumberExtensionsTest from itest to pure unit test and merged redundant calsses ( #2087 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-01-08 23:17:28 +01:00
Christoph Weitkamp
90a460dd03
Added unit tests for check if persistence extension returns QuantityType if persistence service returns QuantityType ( #2029 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-01-08 22:53:35 +01:00
Paul van den Berg
eee30b0c57
Improved error logging when adding rules ( #2053 )
...
Improved error logging for adding rules
Signed-off-by: Paul van den Berg <prj.vandenberg@gmail.com>
2021-01-06 23:23:17 +01:00
Kai Kreuzer
97e2782875
[automation] Avoid disappearing rules by correctly checking the model and its type ( #2077 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-01-06 14:29:49 +01:00
Vita
0026d89caf
Extended serial port implementation ( #2050 )
...
Signed-off-by: docbender <vita.tucek@seznam.cz>
2021-01-06 08:48:16 +01:00
pravussum
75f52ac3ee
add getPoolNames method to ThreadPoolManager ( #2065 )
...
Signed-off-by: Robert Bach <openhab@mortalsilence.net>
2021-01-05 23:27:35 +01:00
Wouter Born
64f444cf6e
Update Mockito, JUnit and use MockitoExtensions in itests ( #2075 )
...
* Updates Mockito to 3.7.0
* Updates JUnit to 5.7.0
* Use MockitoExtensions where possible
Signed-off-by: Wouter Born <github@maindrain.net>
2021-01-05 22:58:58 +01:00
Christoph Weitkamp
88253c8676
Add category for system channel type 'power'; Changed category for system channe type 'low-battery' ( #2069 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-01-05 22:53:58 +01:00
Yannick Schaus
fcaf251bd0
Fix parsing integer & booleans parameters in UI component based sitemaps ( #2072 )
...
* Fix parsing integer & booleans parameters in UI component based sitemaps
Also catch remaining exceptions and log a warning/ignore the parameter
instead of making the whole sitemap building process fail.
Fix wrong feature ID for the video widget URL.
Fixes #2047 .
Fixes #1987 .
Fixes #1898 .
Fixes #1875 .
Fixes https://github.com/openhab/openhab-webui/issues/745 .
Signed-off-by: Yannick Schaus <github@schaus.net>
2021-01-05 22:42:31 +01:00
Fabian Wolter
55d2aaf5e8
[skeleton] Remove license header from feature.xml ( #2063 )
...
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2021-01-03 19:11:58 +01:00
Kai Kreuzer
531a478a45
Cache parsed script in order to improve performance ( #2057 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-01-03 13:18:53 +01:00
Kai Kreuzer
d11ec3ef64
Include group label in warn log message ( #2059 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-01-03 13:17:53 +01:00
Christoph Weitkamp
2cf9babfab
Added method to read all files with specific extensions in 'transform/' folder ( #2052 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-01-03 10:01:09 +01:00
Kai Kreuzer
4b8546b599
Prevent errors in log when client closes the HTTP connection ( #2049 )
...
Fixes openhab/openhab-distro#1188
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-01-02 09:04:05 +01:00
Wouter Born
774b9d607b
Update license headers to 2021 ( #2041 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2021-01-01 16:43:46 +01:00
Sami Salonen
afd03df07f
[transport.modbus] Support dimensionless QuantityType commands. ( #1984 )
...
In additions, command->registers tests have been once made more
readable, covering all the corner cases with integers.
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2020-12-31 10:13:43 +01:00
Mark Hilbush
890e767d0a
[persistence] Fix varianceSince and deviationSince ( #2036 )
...
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2020-12-30 22:55:41 +01:00
Kai Kreuzer
1c3e4318df
Correctly handle file extension when looking up script ( #2020 )
...
Fixes #1990
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-12-29 10:50:31 +01:00