Commit Graph

75 Commits

Author SHA1 Message Date
Holger Friedrich
1b122a53b9
Java 17 features (T-Z) (#15576)
- add missing @override
- Java style array syntax
- remove redundant modifiers
- always move String constants to left side in comparisons
- simplify lambda expressions and return statements
- use replace instead of replaceAll w/o regex
- instanceof matching and multiline strings
- remove null check before instanceof

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-09-21 07:58:53 +02:00
Wouter Born
79ecb2e4d0
Fix wrong source code URLs in NOTICE files (#15448) 2023-08-17 21:49:01 +02:00
J-N-K
196d8095bb
[tr064] Fix clearing of auth (results) (#15415)
* [tr064] Fix clearing of auth (results)

In case of multiple root things the auth store (results and digests) was cleared for all clients instead of only removing the failed auth result or old authentication.

* fix TAM request

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-08-13 18:55:13 +02:00
Kai Kreuzer
72607d3bee Apply spotless
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-07-24 01:20:31 +02:00
openhab-bot
809fceaff3 [unleash-maven-plugin] Preparation for next development cycle. 2023-07-23 19:19:01 +00:00
mlobstein
acb73a2c7b
Declare connection for bindings T-Z (#14912)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-04-30 20:56:14 +02:00
Jerome Luckenbach
ce3f673380
[Documentation] Markdown improvements t to z (#14371)
* Apply markdown fixes for bindings with letter _t_
* Apply markdown fixes for bindings with letter _u_
* Apply markdown fixes for bindings with letter _v_
* Apply markdown fixes for bindings with letter _w_
* Apply markdown fixes for bindings with letter _x_
* Apply markdown fixes for bindings with letter _y_
* Apply markdown fixes for bindings with letter _z_

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2023-04-11 12:54:54 +02:00
openhab-bot
6748dfedd7
New Crowdin updates (#14759)
* New translations fineoffsetweatherstation.properties (German)
* New translations tr064.properties (German)
* New translations rollershutter.properties (German)
* New translations vat.properties (German)
* New translations mielecloud.properties (German)
* New translations speedtest.properties (Italian)
2023-04-08 10:21:40 +02:00
J-N-K
cb31f420ff
[tr064] Enhancements, code improvements and fixes (#14468)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-02-24 16:06:53 +01:00
lolodomo
6daddb79f2
[tr064] Use createHttpClient (#14476)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-22 17:29:03 +01:00
lsiepel
2ea0c97dd2
[tr064] Update configuration documentation (#14291)
* i18n + mac per line fix

Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-09 00:01:10 +01:00
J-N-K
89d0689e36
fix i18n for bindings (#14235)
Also-By: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-01-21 12:14:51 +01:00
J-N-K
5f8214f08a
Adapt to core changes (addon.xml) (#13289)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-01-15 20:31:42 +01:00
Jacob Laursen
4dd6d3a8a2
Update license headers to 2023 (#14154)
* Update copyright year in configuration
* Update license headers

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-01-06 09:49:54 +01:00
J-N-K
4d6d6443ef
fix spotless after release (#14014)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-12-19 15:22:17 +01:00
openhab-bot
7993786dc9 [unleash-maven-plugin] Preparation for next development cycle. 2022-12-19 00:55:11 +00:00
openhab-bot
d20b10317c
New Crowdin updates (#13990)
* New translations tr064.properties (German)
* New translations jsscripting.properties (Danish)
* New translations jsscripting.properties (Italian)
2022-12-17 16:51:35 +01:00
lsiepel
b9f092fdb2
[TR064] Fix pattern excluding some valid ip-addresses (#13894)
* Improve logging and adjusted timeout
* Fix wanBlockIPs regex

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2022-12-10 08:48:33 +01:00
lsiepel
3e66cd1b33
[TR064] Fix SAT warnings (#13873)
* Fix SAT warnings
* Fix markdown
* Properly annotate PhonebookProfileTest

Also-by: Wouter Born <github@maindrain.net>
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2022-12-08 22:44:44 +01:00
Kai Kreuzer
440f603e88
Apply spotless and resolver (#13027)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2022-06-27 16:00:37 +02:00
openhab-bot
ed4858ebbb [unleash-maven-plugin] Preparation for next development cycle. 2022-06-26 18:18:40 +00:00
Wouter Born
707ecaf47b
Reduce Mockito stubbing warnings (#12576)
See also: openhab/openhab-core#2893

Signed-off-by: Wouter Born <github@maindrain.net>
2022-04-05 00:06:49 +02:00
Wouter Born
c028deefbe
Fix Java 17 compilation and test issues (#12353)
* Adds --add-opens to the surefire-maven-plugin config required for deserialization using Gson/XStream
* Upgrades plugin dependencies to JDK 17 compatible versions
* Replaces some reflection that no longer works on JDK 17
* Fixes issues when mocking Random
* Run Nashorn dependant tests only on JDK < 15

Signed-off-by: Wouter Born <github@maindrain.net>
2022-02-23 16:13:56 +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
openhab-bot
c23f6adf13
New Crowdin updates (#11832)
* New translations astro.properties (Finnish)
* New translations astro.properties (German)
* New translations bluetooth.properties (German)
* New translations boschshc.properties (Italian)
* New translations comfoair.properties (German)
* New translations dwdunwetter.properties (German)
* New translations epsonprojector.properties (German)
* New translations gpio.properties (German)
* New translations heliosventilation.properties (German)
* New translations homeconnect.properties (German)
* New translations homematic.properties (German)
* New translations ipp.properties (German)
* New translations jruby.properties (Hungarian)
* New translations jsscripting.properties (German)
* New translations jsscripting.properties (Hungarian)
* New translations map.properties (German)
* New translations map.properties (Hungarian)
* New translations mqttbroker.properties (Italian)
* New translations nanoleaf.properties (German)
* New translations ocean.properties (German)
* New translations openhabcloud.properties (Finnish)
* New translations samsungtv.properties (Hungarian)
* New translations shelly.properties (German)
* New translations snmp.properties (German)
* New translations sonos.properties (German)
* New translations spotify.properties (German)
* New translations tr064.properties (German)
* New translations tradfri.properties (German)
* New translations unifi.properties (German)
* New translations unifi.properties (Hungarian)
* New translations valloxmv.properties (Finnish)
* New translations volvooncall.properties (German)
* New translations xslt.properties (German)
2021-12-29 13:16:52 +01:00
Marcel
0b79d87d9f
Fix pom http://maven.apache.org/xsd/maven-v4_0_0.xsd entries (#11850)
* Fix pom http://maven.apache.org/xsd/maven-v4_0_0.xsd entries
* Fix http://maven.apache.org/maven-v4_0_0.xsd entries in pom.xml

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-12-24 11:36:42 +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
openhab-bot
860244b18b
New Crowdin updates (#11608)
* New translations openhabcloud.properties (French)

* New translations transform.properties (French)

* New translations voicerss.properties (French)

* New translations actions.properties (German)

* New translations errors.properties (German)

* New translations stateflags.properties (German)

* New translations nanoleaf.properties (German)

* New translations surepetcare.properties (German)

* New translations deconz.properties (German)

* New translations tr064.properties (German)

* New translations deconz.properties (German)

* New translations openhabcloud.properties (German)

* New translations astro.properties (French)

* New translations hue.properties (French)

* New translations ntp.properties (French)

* New translations feed.properties (German)

* New translations lgwebos.properties (French)

* New translations gce.properties (French)

* New translations airquality.properties (French)

* New translations airquality.properties (French)

* New translations rotel.properties (French)

* New translations feed.properties (German)

* New translations hue.properties (French)

* New translations mail.properties (German)

* New translations sonyprojector.properties (French)

* New translations tradfri.properties (French)

* New translations powermax.properties (French)
2021-11-22 00:58:03 +01:00
Christoph Weitkamp
f9695f2d8d
[tr064] Added default i18n properties file (#11619)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-11-21 15:54:43 +01:00
openhab-bot
bf5cea09ed
New Crowdin updates (#11573)
* New translations intesis.properties (German)

* New translations avmfritz.properties (German)

* New translations hue.properties (German)

* New translations pixometer.properties (German)

* New translations volvooncall.properties (French)

* New translations tr064.properties (French)

* New translations transform.properties (German)

* New translations googletts.properties (German)

* New translations avmfritz.properties (German)

* New translations googletts.properties (German)

* New translations sonyprojector.properties (French)

* New translations meteoblue.properties (French)

* New translations avmfritz.properties (German)

* New translations mail.properties (German)

* New translations hue.properties (German)

* New translations astro.properties (French)
2021-11-16 01:10:28 +01:00
Stefan Giehl
19cd505b0c
[tr064] fix incorrectly reported decibel values for DSL Noise Margin and Attenuation (#11337)
* [tr064] fix incorrectly reported decibel values for DSL Noise Margin and Attenuation

Signed-off-by: Stefan Giehl <stefangiehl@gmail.com>

* apply review feedback

Signed-off-by: Stefan Giehl <stefangiehl@gmail.com>
2021-10-16 11:33:31 +02:00
openhab-bot
0ce4e8cb56
New Crowdin updates (#10570)
Signed-off-by: Wouter Born <github@maindrain.net>
2021-10-03 22:14:10 +02:00
Tobi
a1ec5eb241
[tr064] Add Wifi Signal Strength & Wifi Speed channels to LAN Subdevice (#10959)
* Add channels to tr064

Signed-off-by: Tobias Löbermann <tobiloeb@gmail.com>

* Set typeId for macSignalStrength channels

Signed-off-by: Tobias Loebermann <tobiloeb@gmail.com>

* adjust README with correct channel names.

Signed-off-by: Tobias Loebermann <tobiloeb@gmail.com>

* Add JavaDoc and separate post processors.

Signed-off-by: Tobias Loebermann <tobiloeb@gmail.com>

* Use UNDEF as default for signal-strength

Signed-off-by: Tobias Loebermann <tobiloeb@gmail.com>

* Update README.md documentation

Signed-off-by: Tobias Loebermann <tobiloeb@gmail.com>
2021-07-31 13:01:20 +02: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
Christoph Weitkamp
b03e730699
[tr064] Added representation property for Things (#10905)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-06-27 10:47:48 +02:00
Christoph Weitkamp
50e7a44572
[tr064] Fixed wrong pattern to normalize phone numbers (#10660)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-05-09 20:41:45 +02:00
Wouter Born
f5f922eaf4
Fix or suppress SAT CompareObjectsWithEquals findings (#10631)
* Fix or suppress SAT CompareObjectsWithEquals findings

Signed-off-by: Wouter Born <github@maindrain.net>
2021-05-05 21:06:04 +02:00
Wouter Born
1633c705a1
Use Collection.isEmpty (#10525)
Fixes 47 SAT UseCollectionIsEmpty findings.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-04-15 21:00:47 +02:00
Christoph Weitkamp
7dad6ea973
Fixed wrong time parsing (#10523)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-04-15 17:45:48 +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
Christoph Weitkamp
223a745946
[tr064] Use Util.getAndUnmarshalXML method to retrieve phonebook (supports timeout 5s and caching) (#10447)
Fixes #10436

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-04-07 18:38:22 +02:00
J-N-K
c489eef9e6
fix wrong unit in TotalBytes (#9954)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2021-01-25 21:26:01 +01:00
Kai Kreuzer
b0a15b48a3
Merge pull request from GHSA-r2hc-pmr7-4c9r
* Configured XML parsers to resist XXE attacks

Signed-off-by: Kai Kreuzer <kai@openhab.org>

* added fix for avmfritz

Signed-off-by: Kai Kreuzer <kai@openhab.org>

* added fix for sonos

Signed-off-by: Kai Kreuzer <kai@openhab.org>

* added fix for vitotronic and bosesoundtouch

Signed-off-by: Kai Kreuzer <kai@openhab.org>

* changed avmfritz to singleton pattern

Signed-off-by: Kai Kreuzer <kai@openhab.org>

* addressed roku binding

Signed-off-by: Kai Kreuzer <kai@openhab.org>

* address all uses of DocumentBuilderFactory

Signed-off-by: Kai Kreuzer <kai@openhab.org>

* fixed other occurrences in roku binding

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-01-24 15:06:00 +01:00
t2000
bcedab8e1f
[tr064] Improve PHONEBOOK profile documentation (#9854)
* [tr064] Improve PHONEBOOK profile documentation

Signed-off-by: Stefan Triller <github@stefantriller.de>
2021-01-20 23:09:36 +01:00
nowaterman
b23e57f263
[tr064] Update docs: Manual scan (#9879)
* [tr064] Update docs: Manual scan

Signed-off-by: Andreas Watermeyer <andreas@watermeyer.org>

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

Co-authored-by: J-N-K <J-N-K@users.noreply.github.com>
2021-01-20 22:16:33 +01:00
gordongeissler
25434a7f18
[tr064] Update documentation for textual config (#9876)
WAN and WANCon changed to 'subdevice' in textual configuration example in accordance with binding documentation.
2021-01-19 21:29:09 +01:00
J-N-K
ef87af3712
[tr064] reduce network load and improve XML handling (#9693)
* reduce network load
* adjust soap timeout

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2021-01-09 10:41:22 +01:00
t2000
43a0439089
[tr064] Merge duplicate phone book entries (#9739)
* [tr064] Merge duplicate phone book entries

Fixes #9738

Signed-off-by: Stefan Triller <github@stefantriller.de>
2021-01-09 10:39:21 +01:00