Commit Graph

706 Commits

Author SHA1 Message Date
Christoph Weitkamp
cd57f1d79c Refactoring of builders (#908)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-09-16 21:10:39 +02:00
lolodomo
cf4b752ae1 [rest] New audio API (#1020)
* New Audio REST API

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2019-09-15 08:50:15 +02:00
lolodomo
bb4b041790 Mapview element by default for a location item (#1032)
Closes #1015

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2019-09-14 15:59:40 +02:00
lolodomo
9724045bb6 [IconServlet] New optional parameter anyFormat (#978)
* [IconServlet] New optional parameter anyFormat

Fix #824

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2019-09-02 23:22:16 +02:00
lolodomo
a1f388065c REST Voice API: new API for TTS (#1017)
* REST Voice API: new API for TTS

Fix #927

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2019-09-02 22:47:50 +02:00
lolodomo
f2d69139e1 {voice] say: log something when the audio sink cannot be found (#1018)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2019-09-02 17:13:33 +02:00
Christoph Weitkamp
4ccaa8b38e [rest] Changed property type to Boolean to allow null values (#1010)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-09-02 16:55:42 +02:00
pali
fa416be057 [bin2json] Binary to JSON converter initial contribution (#611)
Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
2019-09-01 12:57:58 +02:00
Christoph Weitkamp
abed938de0 Removed duplicate dependencies (#1013)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-08-30 21:26:46 +02:00
Kai Kreuzer
8df8229f14 Removed repos as they are now inherited from the parent pom (#1011)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2019-08-30 11:43:17 +02:00
lolodomo
e7d182607d Selection widget as default widget for Number or String items with options (#1009)
* Selection widget as default widget for Number or String items with options

Fixes #984

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2019-08-30 11:13:50 +02:00
Christoph Weitkamp
b3802d565d [infrastructure] bump SAT to 0.7.0 (#1007)
* Bump SAT version; Fixed high priority findings
* Defined path to feature file to avoid warnings

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-08-29 09:17:35 +02:00
Christoph Weitkamp
1afff93e48 Travis Cache (#1008)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-08-29 09:16:07 +02:00
Christoph Weitkamp
7d4b21f4d9 Fix gamma correction in HSBType (#996)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-08-28 22:24:16 +02:00
Christoph Weitkamp
982e938a9e Fixed wrong nullness annotation (#997)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-08-27 23:25:37 +02:00
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
Christoph Weitkamp
11b1334ca7 Enable Config XML Tests (#971)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-08-17 22:27:53 +02:00
Christoph Weitkamp
2198eea37f Added feature for jackson (#969)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-08-17 22:27:14 +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
Hilbrand Bouwkamp
78cd43061c [archetype] Fix groovy script to handle certain cases (#980)
This change handles the following cases:
- New binding that will be the first entry in the list
- New binding that is placed after/between multi project bindings. Like bluetooth and mqtt (reported in openhab/openhab2-addons#5860)

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2019-08-15 21:50:03 +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
lolodomo
921c1c1004 Fix integration test for thing: TimestampChangeProfile (#966)
Fixes #961

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2019-08-11 19:15:48 +02:00
lolodomo
e05819f6c1 Fix integration test for ExpiringCacheAsync (#968)
Fixes #967

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2019-08-10 19:20:36 +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
Wouter Born
c136254d5b
Fix empty reactor summary on newer Maven versions
On newer Maven versions the reactor summary also contains the project name and version so the regexp needs to be adjusted for this.
Also make sure grep treats binary data as text (-aE switch) so the pipe doesn't choke on this.

Signed-off-by: Wouter Born <github@maindrain.net>
2019-08-05 14:40:49 +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
Kai Kreuzer
c3af31e663 Removed old IDE setup files as they are superseded by the ones in openhab-distro (#949)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2019-08-01 09:15:00 +02: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
Hilbrand Bouwkamp
5b73b98ded [archetype] Fix for double modules in bundle pom (#936)
Due to changes in the archetype maven it generated multi module name with tabs prefixed. This caused the module name to be inserted twice because the added module by maven plugin was not removed when the module is moved by the groovy script.

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2019-07-22 13:18:42 +02:00
Wouter Born
657d63f4f9 Sync Jetty version with version used by Karaf 4.2.6 (#934)
Resolves the Jetty bundle duplicates as reported in #892.

Signed-off-by: Wouter Born <github@maindrain.net>
2019-07-22 10:48:20 +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