Commit Graph

41 Commits

Author SHA1 Message Date
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
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
J-N-K 4077a2732a
[tr064] improve documentation (#9667)
* improve documentation

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
Co-authored-by: Stefan Giehl <stefan@matomo.org>
2021-01-06 11:38:14 -08: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
Lionello Marrelli 4b73fbf6c7
[tr064] improve documentation and add textual config example (#9648)
* Expanded descriptions and note on textual config

Some paragraphs are expanded and some more info on the fritzbox subdevices are given.  Channels are grouped by subdevice.  Textual description with .items files is briefly described at the end but a clear warning on possible drawbacks is given and it is also clearly stated that it is discouraged.

Signed-of-by: Lionello Marrelli <marrelli_lio@yahoo.it>
2021-01-02 22:19:23 +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 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
schmidmuc f7d3047804
[tr064] Update channel names in documentation (#9461)
Failure in list, two channel names were listed two times
2020-12-24 14:07:58 +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
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 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