maniac103
90ee2b2341
[yamahareceiver] Fix read stall blocking OH thing handler thread pool ( #17769 )
...
Since no read timeout was set, reads blocked indefinitely, which in case
of unreachable receiver led to blocking the OH thing handler thread
pool, since multiple requests are launched into the thread pool
simultaneously.
Fixes #17768
Signed-off-by: Danny Baumann <dannybaumann@web.de>
2024-11-19 20:08:13 +01:00
Holger Friedrich
54fd13b0c1
Reduce SAT warnings ( #17406 )
...
* Reduce SAT warnings
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-09-13 17:20:11 +02:00
Florian Hotze
4870083c76
[yamahamusiccast] Add discovery information ( #16231 )
...
* [yamahamusiccast] Add discovery information
Seems like Yamaha is using uppercase `YAMAHA CORPORATION` for the manufacturer info of non-MusicCast devices and normal case `Yamaha Corporation` for MusicCast devices.
* [yamaha] Fix REGEXes for Yamaha binding suggestion and improve description
---------
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-01-19 19:39:12 +01:00
J-N-K
1c67114daf
[yamahareceiver] Fix ChannelTypeProvider ( #16278 )
...
* [yamahareceiver] Fix ChannelTypeProvider
* [yamaha] Fix remaining ChannelTypeProvider (#23 )
Also-by: Florian Hotze <florianh_dev@icloud.com>
Signed-off-by: Jan N. Klug <github@klug.nrw>
2024-01-14 21:53:57 +01:00
J-N-K
3136425b39
Adapt to core changes (ThingHandlerService) ( #16107 )
...
Related to: https://github.com/openhab/openhab-core/pull/3957
Signed-off-by: Jan N. Klug <github@klug.nrw>
2024-01-03 11:50:55 +01:00
Jacob Laursen
f4596f581e
Update license headers to 2024 ( #16168 )
...
* Update copyright year in configuration
* Update license headers
* Manually update nibeheatpump headers (.cpp/.h/.ino)
* Manually update smsmodem header
* Manually update hueemulation header
* Manually update addon-header.xml header
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-01-01 18:14:57 +01:00
Wouter Born
c58d894bf0
Use OnOffType.from
to reduce code ( #16101 )
...
You can create an `OnOffType` using a boolean nowadays which reduces the amount of code.
Signed-off-by: Wouter Born <github@maindrain.net>
2023-12-23 19:06:21 +01:00
Andrew Fiddian-Green
3814f37d9a
Make bindings discoverable on system startup ( #15817 )
...
* [discovery-methods] mDNS discovery methods
* [discovery-methods] UPnP discovery methods
---------
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-12-07 20:34:45 +01:00
Holger Friedrich
f24a4305b8
Improve javadoc for some addons ( #15701 )
...
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-10-08 00:25:04 +02:00
Holger Friedrich
cbf4411034
Improve javadoc for all addons ( #15667 )
...
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-09-30 21:49:12 +02:00
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
lsiepel
5cc5ee6f7b
[yamahareceiver] Show correct status detail on failure ( #15510 )
...
* Partial fix #7667
* java 17 instanceof
* Checkstyle
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-08-27 23:53:02 +02:00
Jacob Laursen
bd55302ae7
Declare addon connection for a few bindings ( #14892 )
...
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-04-29 10:32:24 +02: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
Дилян Палаузов
0ffc5257d5
Typos a/an ( #13876 )
2022-12-08 21:12:49 +01:00
Дилян Палаузов
2a5d6beb64
Typos a/an ( #13846 )
2022-12-05 18:47:43 +01:00
Дилян Палаузов
78534e8106
Typos a/an ( #13812 )
2022-12-01 14:30:50 +01: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
mlobstein
c81506b44d
[yamahareceiver] Remove Apache commons libraries ( #12527 )
...
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-03-27 15:53:21 +02: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
Holger Friedrich
d8114b07a2
[networkupstools] correct i18n translations containing spaces in keys ( #11828 )
...
[bmwconnecteddrive] correct i18n translations containing spaces in keys
[omnilink] correct i18n translations containing spaces in keys
[roku] correct i18n translations containing spaces in keys
[somfytahoma] correct i18n translations containing spaces in keys
[wlanthermo] correct i18n translations containing spaces in keys
[yamahareceiver] correct i18n translations containing spaces in keys
This is a workaround for openhab/openhab-core#2636 .
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2021-12-22 00:25:54 +01: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
mlobstein
f9ee7399ba
[yamahareceiver] Handle 'No Preset' tuner preset response ( #11471 )
...
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-10-31 12:40:46 +01:00
fragger42
882374fbcc
[yamahareceiver] Add possiblity to switch HDMI outputs on and off on Yamaha receivers (openhab#6327) ( #11063 )
...
* Add possiblity to switch HDMI outputs on and off on Yamaha receivers
(openhab#6327)
Signed-off-by: Bernhard Gruber <b-gruber@gmx.de>
2021-07-31 11:52:45 +02:00
Wouter Born
f3503430b4
Rework more commons-lang usages ( #10314 )
...
* Reworks many commons-lang usages to use standard Java
* Updates all remaining commons.lang imports to commons.lang3
Related to openhab/openhab-addons#7722
Signed-off-by: Wouter Born <github@maindrain.net>
2021-03-16 12:38:16 +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
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
Wouter Born
8f53e320dc
Fix StateDescription deprecations ( #9352 )
...
Related to #1408
Signed-off-by: Wouter Born <github@maindrain.net>
2020-12-13 08:53:16 +01: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
bd664ff0c8
[infrastructure] add external null-annotations ( #8848 )
...
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-10-31 00:29:03 +01:00
Hilbrand Bouwkamp
003c3af985
Remove immediate = true from all Components ( #8615 )
...
We recommend not to use this on add-ons.
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2020-10-01 20:27:01 -07:00
Hilbrand Bouwkamp
1bc55a208b
Removed usage to IOUtils.toString ( #8579 )
...
Specifically the toString reading from inputstream.
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2020-09-25 11:46:14 -07:00
Wouter Born
0c11a21d90
Fix ConfigConstants deprecations ( #8525 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2020-09-21 22:57:04 +02:00
Wouter Born
bd82ca82df
Migrate tests to JUnit 5 ( #8519 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2020-09-21 18:21:26 +02:00
Kai Kreuzer
6df6783b60
added migrated 2.x add-ons
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-09-21 03:37:19 +02:00