Commit Graph

35 Commits

Author SHA1 Message Date
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
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
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
J-N-K
673535a551
[tr064] Fixed parameter patterns (#9749)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2021-01-09 10:37:44 +01:00
maniac103
d87c94d603
[tr064] Normalize numbers in phonebook entries (#9733)
* [tr064] Normalize numbers in phone book entries.

Phone book numbers and numbers to be looked up might be formatted
differently (real world example: '+49 (12345) 67890' vs. '01234567890'
(where the former is phonebook formatting and the latter is the format
transmitted by the avmfritz binding). Make sure such formatting
differences do not cause lookup mismatches.

Signed-off-by: Danny Baumann <dannybaumann@web.de>
2021-01-07 17:38:47 +01:00
Wouter Born
0816045a59
Update Mockito, JUnit and use MockitoExtensions in itests (#9702)
* Updates Mockito to 3.7.0
* Updates JUnit to 5.7.0
* Use MockitoExtensions where possible

Signed-off-by: Wouter Born <github@maindrain.net>
2021-01-06 14:30:40 +01:00
J-N-K
bebc76e452
[tr064] fix comment in SOAP request (#9671)
* fix comment in SAOP request
* fix typo in channel-name

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2021-01-03 09:46:50 -08:00
J-N-K
b4b8dd2117
[tr064] fix wanBlockByIP channel and improvements to parameter handling (#9655)
- fix wanBlockByIP channel
- allow comments in parameter lists
- fix compiler warnings

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2021-01-02 17:52:15 -08: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
883b251626
[tr064] log warning if config invalid (#9529)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-12-30 15:57:50 +01:00
J-N-K
06690bd37e
[tr064] add rule action for phonebook (#9505)
* add rule action for phonebook
* address review comments

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-12-28 09:14:01 -08:00
J-N-K
facb984b05
improve error handling (#9543)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-12-27 18:21:21 +01:00
J-N-K
9d36c31d76
[tr064] Fix CRCErrors (#9527)
Fixes #9526

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-12-26 12:25:52 +01:00
Stefan Giehl
291b30955b
[tr064] Adds new channels for DSL Max & Current Down-/Upstream Rate (#9519)
Signed-off-by: Stefan Giehl <stefangiehl@gmail.com>
2020-12-25 22:15:54 +01:00
J-N-K
94f6d6b291
[tr064] fix wrong soapconnector (#9488)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-12-23 10:45:26 -08:00
J-N-K
22ac639233
[tr064] fix fritz.box lookup (#9454)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-12-22 19:19:37 -08:00
J-N-K
1c3022d391
[tr064] fix DSL channel definition (#9393)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-12-15 14:43:07 -08:00
J-N-K
b8bc020348
[tr064] Add support for PPP connections (#9222)
* add PPP external IP
* fix connection status
* fix PPP uptime

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-12-04 21:44:00 -08:00
J-N-K
936a4dc8d8
[tr064] fix certificate problems and add call list channel (#9149)
* improvements

- use insecure client and remove TrustManager
- add call list channel

* address review comments

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-11-28 10:14:07 -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
Christoph Weitkamp
0c30d90757
[tr064] Improvements of Phonebook Profile (#9054)
* Improvements of Phonebook Profile

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-11-22 16:22:22 -08:00
Christoph Weitkamp
c297134030
[tr064] Fixed minor spelling (#9074)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-11-19 19:58:13 +01:00
J-N-K
a3d33fa60b
[tr064] Initial contribution (#8523)
* Initial contribution

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-11-02 21:36:19 -08:00