Commit Graph

875 Commits (3.0.x)

Author SHA1 Message Date
openhab-bot 5ed739810a [unleash-maven-plugin] Preparation for next development cycle. 2021-12-12 16:10:57 +00:00
openhab-bot a061e1bf2a [unleash-maven-plugin] Preparation for next development cycle. 2021-12-11 19:46:43 +00:00
jenkins cb1dbe8a47 [unleash-maven-plugin] Preparation for next development cycle. 2021-04-21 07:49:54 +00:00
bigbasec fa174da911 Fix sitemap proxy URL provided by Rest API ()
Signed-off-by: Brian Homeyer <bhomeyer@gmail.com>
2021-02-20 19:56:05 +01:00
Mark Hilbush d23349b00c [automation] Fixed memory leak caused by invalid UI DSL rule ()
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2021-02-20 19:55:28 +01:00
bigbasec 728731a799
Support sitemaps created through UI in proxy ()
* 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 
Fixes 
Fixes 

Also-by: Kai Kreuzer <kai@openhab.org>
Signed-off-by: Brian Homeyer <bhomeyer@gmail.com>
2021-02-06 16:28:07 +01:00
Christoph Weitkamp e7171cd967
Apply Spotless, resolve itest runbundles ()
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-02-06 12:56:34 +01:00
jimtng 879cec4c38
[timer] fix to allow timer reschedule after termination ()
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2021-02-06 12:10:19 +01:00
Christian Bandowski a5d32c7c5a
Fix changing temperature via BasicUI () ()
Signed-off-by: Christian Bandowski <christian@myvm.de>
2021-02-06 12:09:19 +01:00
Kai Kreuzer 829551bce2
[REST] Prevent internal server error on invalid link requests on REST API ()
Closes https://github.com/openhab/openhab-webui/issues/878

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-02-06 12:04:51 +01:00
openhab-bot f2b56f4d49 [unleash-maven-plugin] Preparation for next development cycle. 2021-01-27 09:07:04 +00:00
Kai Kreuzer 8bc006d9b4 Cache parsed script in order to improve performance ()
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-01-27 09:12:35 +01:00
Andrew Fiddian-Green f9ba471da1 [executeCommandLine] should return STDERR if STDOUT is empty ()
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2021-01-16 22:21:47 +01:00
Christoph Weitkamp bccdb783bc
Fixed NPE in ScriptError if INode is empty ()
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-01-16 10:40:13 +01:00
Kai Kreuzer 07c3302a13
Also return command line execution result in case of error return code ()
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-01-16 10:39:23 +01:00
Kai Kreuzer 6d03796efb
Prevent errors in log when client closes the HTTP connection ()
Fixes 

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-01-16 10:37:24 +01:00
Yannick Schaus aef49c3a4e
Fix parsing integer & booleans parameters in UI component based sitemaps ()
* 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 .
Fixes .
Fixes .
Fixes .
Fixes https://github.com/openhab/openhab-webui/issues/745.

Signed-off-by: Yannick Schaus <github@schaus.net>
2021-01-10 12:13:55 +01:00
Mark Hilbush 321c443aa3
[persistence] Fix varianceSince and deviationSince ()
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2021-01-10 12:13:12 +01:00
Kai Kreuzer 1cadfcfb9f
Correctly handle file extension when looking up script ()
Fixes 

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-01-10 12:12:31 +01:00
t2000 576f789380
Expire group item states ()
Fixes 

Signed-off-by: Stefan Triller <github@stefantriller.de>
2021-01-10 12:11:45 +01:00
Christoph Weitkamp 99e7b712d1
Harden ChartServlet against NPEs when no 'period' parameter is given ()
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-01-10 12:11:00 +01:00
Hilbrand Bouwkamp cd307389ed
Fix for invalid day of week max check ()
Closes 

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2021-01-10 12:10:18 +01:00
Kai Kreuzer 80ee0924c4 bumped to 3.0.1-SNAPSHOT
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-01-06 23:03:32 +01:00
jenkins 645ee1e432 Preparation for tag creation (Tag name: '3.0.0'). 2020-12-20 22:23:53 +00:00
Christoph Weitkamp f83fc07c6a
[automation] Added ItemStateUpdate action ()
* Added ItemUpdate action

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-12-20 13:53:09 +01:00
Holger Hees 7f3de9ae02
fix spelling of german tag synonyms () 2020-12-20 13:50:24 +01:00
Yannick Schaus 150ced7012
[auth] Don't allow creating API tokens with no name ()
Fixes https://github.com/openhab/openhab-webui/issues/674.

Remove unnecessary checks and fix exception message.
Add Norwegian messages for auth pages.

Signed-off-by: Yannick Schaus <github@schaus.net>
2020-12-20 12:48:46 +01:00
Kai Kreuzer cea96b3d81
[automation] Do not consider disabled things for start level 80 ()
Fixes 

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-12-20 09:44:45 +01:00
Philipp Waller 090b889dbb
[REST] Fix CORS response header to allow preflight requests with authorization payload ()
Signed-off-by: Philipp Waller <1090452+philippwaller@users.noreply.github.com>
2020-12-19 13:11:46 +01:00
Kai Kreuzer 8f13b99122
[automation] Correctly trigger rules with start level 50 trigger ()
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-12-18 22:07:19 +01:00
Kai Kreuzer 4a108e5c80
Reintroduce delayed rule initialization ()
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-12-18 20:04:28 +01:00
Yannick Schaus cc7edadd96
Auth messages translations (RC2) ()
This contains an update to the messages for the login,
change password, create API token pages from Crowdin
in ISO-8859 format.

Contains a completed German translation update, and
the following new completed languages:
- Czech
- Finnish
- Hungarian
- Portuguese (Brazil)
- Swedish
- Ukrainian

Dutch, French, Italian are unchanged from RC1.

Signed-off-by: Yannick Schaus <github@schaus.net>
2020-12-17 20:37:15 +01:00
Kai Kreuzer 69b18e5a70
Introduce ready marker to correctly set start level 80 ()
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-12-17 11:16:56 +01:00
Kai Kreuzer 5d87c1def4
[automation] Fixed startup rules being triggered more than once
Fixes  

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-12-16 23:21:47 +01:00
Christoph Weitkamp d37fa48da4
Temporarily hide ThingAction in UIs ()
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-12-16 23:21:27 +01:00
Kai Kreuzer 4059ea2422
[automation] Correctly return the evaluation result of DSL scripts
Fixes 

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-12-16 23:20:37 +01:00
Christoph Weitkamp 397ebaab64
Fixed NPE by not calling 'toString()' ()
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-12-16 18:59:28 +01:00
Kai Kreuzer ad189bd4f1
[automation] Make quantity types available in scripts ()
Fixes 

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-12-16 15:11:46 +01:00
Kai Kreuzer 2b9f890831
Stabelized automation integration test ()
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-12-16 14:13:04 +01:00
Kai Kreuzer 0dd4cc97fe
Let StartLevelService only start once its configuration is available ()
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-12-16 12:47:03 +01:00
Christoph Weitkamp 990b579865
Use 'getStateAs()' instead of type casting ()
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-12-15 23:03:03 +01:00
lolodomo 5bf3f2fd60
[inbox REST API] Fix approve API annotation ()
Related to 

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2020-12-15 21:17:41 +01:00
Yannick Schaus 128e7bb3c8
Add firmwareStatus to things in summary mode ()
The "summary" mode for `/rest/things` introduced in https://github.com/openhab/openhab-core/pull/1827
leads to these warnings in the console:
```
Field 'firmwareStatus' could not be eliminated: Can not set final org.openhab.core.thing.firmware.dto.FirmwareStatusDTO field org.openhab.core.io.rest.core.thing.EnrichedThingDTO.firmwareStatus to null value
```
The easiest solution to remove those warnings is to add it again to the list of fields included in the summaries.

Signed-off-by: Yannick Schaus <github@schaus.net>
2020-12-15 08:07:11 +01:00
Yannick Schaus eb176e14d2
Translated messages for auth pages ()
This is the PR with the messages.properties files in
Dutch, German (partial) and Italian extracted from
 and converted to the proper ISO-8859 encoding.

Signed-off-by: Yannick Schaus <github@schaus.net>
2020-12-13 21:09:13 +01:00
Kai Kreuzer 8290306348
Fixed SAT issues ()
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-12-13 13:17:35 +01:00
Wouter Born 001c00a8c3
Fix remaining deprecations ()
Fixes 

Signed-off-by: Wouter Born <github@maindrain.net>
2020-12-13 12:22:43 +01:00
Kai Kreuzer ec6ac00742
increase the rule refresher delay ()
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-12-13 11:05:23 +01:00
Kai Kreuzer 0a719cca83
Always set the value of implicit vars ()
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-12-13 09:32:25 +01:00
Kai Kreuzer 313fb496ce
Added config options for start level trigger ()
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-12-13 09:31:34 +01:00
Kai Kreuzer 1a2c81d9e2
Improved startup logging and avoid scripts being loaded in start level service thread ()
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-12-13 09:31:09 +01:00