Commit Graph

36 Commits

Author SHA1 Message Date
Flole998
a13ce5793c
[http] Provide meaningful error messages (#11995)
Signed-off-by: Flole <flole@flole.de>
2022-01-08 15:49:30 +01:00
Hilbrand Bouwkamp
da59cdd255
Update license headers to 2022 (#11973)
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2022-01-06 18:14:47 +01:00
Marcel
cc47ef7f3e
pom update from http to https reference (#11833)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-12-23 19:40:44 +01:00
Kai Kreuzer
48746f5e3f Apply spotless
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-12-20 09:07:55 +01:00
openhab-bot
6dc031e6cf [unleash-maven-plugin] Preparation for next development cycle. 2021-12-20 00:30:46 +00:00
Wouter Born
07a1976c81
Add default translations for binding add-ons (#11760)
* Add default translations for binding add-ons

This makes the texts used by these add-ons translatable with Crowdin.

To keep the PR simple, it only adds default translations for add-ons which do not yet have any default translations properties file.
We can do follow up PRs for adding missing key/values to add-ons that already have these files or to remove duplications.

There are several add-ons in this PR that do have non-English translation files, so I'll upload those to Crowdin when the PR is merged.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-12-15 18:40:21 +01:00
Kai Kreuzer
bebab9ce29 applied spotless
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-06-27 23:25:35 +02:00
jenkins
8c5c81e256 [unleash-maven-plugin] Preparation for next development cycle. 2021-06-27 17:35:01 +00:00
Ryz
58c7928b23
[http] Fix parsing of Color RGB values (#10897)
* Fixed parsing of Color RGB values

Signed-off-by: Ryz <mirco.heitmann@gmail.com>
2021-06-22 12:51:16 +02:00
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
Jerome Luckenbach
10f88c0934
Fix http -> https where applyable. (#10573)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2021-04-24 20:39:51 +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
mgwoj
90ff809cb6
[http] Added example and explanation how to provide multiple headers (#10141) 2021-02-13 19:44:34 -08: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
9203603f2a
[http] add note on escaping URLs (#9924)
* add note on escaping URLs

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2021-01-23 21:29:22 +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
digitlength
d15b32b869
[http] Fix typo in documentation (#9612)
Typo
2020-12-31 17:02:07 +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
Marek Hulán
ee93229d3c
[http] fix documentation for channel modes (#9593)
Based on 8de5652ed1/bundles/org.openhab.binding.http/src/main/java/org/openhab/binding/http/internal/config/HttpChannelMode.java (L23) and some experimenting, the correct values are WRITEONLY and READONLY
2020-12-30 14:50:34 +01:00
J-N-K
e9b91327cc
[http] Add examples (#9540)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-12-29 15:02:38 +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
Wouter Born
ecac667258
Apply Spotless, update skeleton project version, resolve itest runbundles (#9459)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-12-22 10:37:44 +01:00
jenkins
e4554f4aa6 [unleash-maven-plugin] Preparation for next development cycle. 2020-12-21 10:36:42 +00: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