Commit Graph

19 Commits

Author SHA1 Message Date
Wouter Born
a032118213 Fix build and improve exception handling (#10726)
The PercentType and QuantityType can also throw an IllegalArgumentException.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-05-20 19:15:23 +02:00
Wouter Born
c3a6aa5814 Upgrade Units of Measurement dependencies (#10583)
* Fix code/tests for upgrade
* Resolve runbundles
* Update Checkstyle ruleset for changed packages

Signed-off-by: Wouter Born <github@maindrain.net>
2021-05-11 08:31:03 +02:00
Wouter Born
0c36650179 Avoid star imports and add missing braces (#10521)
Fixes the following SAT findings:

* AvoidStarImportCheck (125)
* NeedBracesCheck (39)

Signed-off-by: Wouter Born <github@maindrain.net>
2021-04-15 16:12:05 +02:00
Wouter Born
fe0c35d22f Fix Java and Jetty deprecations (#10349)
Signed-off-by: Wouter Born <github@maindrain.net>
2021-03-19 10:40:14 +01:00
Justin
037bfa77ea [http] Add intersection character to descriptions. (#10250)
* [http] Add intersection character to descriptions.
* Adjust description to pass spotless (line widths).

Signed-off-by: Justin Wilczek <justinwilczek@gmail.com>
2021-03-01 19:29:24 -08:00
Scherzin83
f6282cd50e [http] FIX Player Converter State Issue #10066 (#10213)
Signed-off-by: Matthias Scherzinger <scherzin@outlook.com>
2021-02-28 21:31:22 +01:00
J-N-K
899d8d2e9f [http] add POST/PUT support for state requests (#10022)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2021-02-03 11:28:44 +01:00
J-N-K
8494a0e3ba [http] Fix duplicate commands on PlayerItemConverter (#9981)
Fixes #9957

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2021-01-29 09:59:20 +01:00
J-N-K
1480c41606 [http] enable UoM for number channels (#9601)
* add unit

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>

* documentation an XML

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>

* address review comments

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>

* improvements

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>

* improvements

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2021-01-06 22:12:31 +01:00
J-N-K
f652ae678f [http] fix initial refresh (#9626)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2021-01-03 14:13:25 +01:00
Wouter Born
d6364aceb1 Update license headers to 2021 (#9620)
Signed-off-by: Wouter Born <github@maindrain.net>
2021-01-02 22:03:14 +01:00
J-N-K
27afb1f9f0 [http] fix missing escaping of URLs (#9618)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-12-31 16:55:03 +01:00
J-N-K
eaae9780ea [http] add pre-emptive basic authentication and fix header handling (#9584)
* add preemptive basic authentication

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>

* improve header handling

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>

* Update bundles/org.openhab.binding.http/README.md

Co-authored-by: t2000 <t2000@users.noreply.github.com>

Co-authored-by: t2000 <t2000@users.noreply.github.com>
2020-12-31 12:23:32 +01:00
J-N-K
c556f49691 [http] Add rate-limiting to channel refresh (#9509)
* add rate limiter for requests and catch transformation exception
* address review comment
* address review comments

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-12-28 09:18:06 -08:00
J-N-K
5f360acc1b fix missing channel-type (#9433)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-12-19 20:23:19 +01:00
J-N-K
12112eb67a [http] make size of the response buffer configurable (#9391)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-12-15 14:53:45 -08:00
Kai Kreuzer
007c3b56e5 removed deprecated author information from binding.xml (#9113)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-11-23 19:06:33 -08:00
J-N-K
bc0fafd10b [http] fix thing-definition (#9080)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-11-20 19:20:45 -08:00
J-N-K
8de5652ed1 [http] Initial contribution (#8521)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-11-09 17:53:44 +01:00