Commit Graph

36 Commits

Author SHA1 Message Date
Jacob Laursen
92145428df 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>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:23 +02: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
lsiepel
43f5b216f1
adapt to core StringUtils (#15766)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-10-16 23:43:00 +02: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
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
lolodomo
676f53b55a
[upnpcontrol] Support for more audio streams through the HTTP audio s… (#15122)
* [upnpcontrol] Support for more audio streams through the HTTP audio servlet

Related to #15113

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-07-02 11:23:41 +02:00
Wouter Born
83cbe746d0
Remove redundant modifiers from interfaces (#14843)
Signed-off-by: Wouter Born <github@maindrain.net>
2023-04-18 13:07:04 +02:00
Mark Herwege
eb668bfe0c
add connection info (#14801)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2023-04-14 15:59:34 +02:00
Mark Herwege
b15d72fb7f
[upnpcontrol] fix shuffle switch also switching only play one (#14490)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2023-02-24 17:20:49 +01:00
Mark Herwege
19db9ee726
[upnpcontrol] Fix javadoc links (#14471)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2023-02-21 21:11:21 +01:00
lsiepel
07b8fbe26b
[upnpcontrol] Multiple codestyle fixes (#14451)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-19 21:55:46 +01:00
lsiepel
833578b0e9
[upnpcontrol] Remove org.apache.common (#14439)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-19 20:42:01 +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
openhab-bot
9c3ec387e5
New Crowdin updates (#13932)
* New translations boschshc.properties (Italian)

* New translations ecowatt.properties (French)

* New translations nikohomecontrol.properties (Dutch)

* New translations systeminfo.properties (Dutch)

* New translations upnpcontrol.properties (Dutch)
2022-12-13 07:27:26 +01:00
Mark Herwege
54dc5c1fec
[upnpcontrol] Prepare dynamic channels and status messages for translation (#13364)
* prepare dynamic channels and status messages for translation

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2022-09-08 22:25:18 +02:00
openhab-bot
6f1d225544
New Crowdin updates (#12982)
* New translations unifi.properties (Dutch)
* New translations upnpcontrol.properties (Dutch)
* New translations elroconnects.properties (Dutch)
* New translations danfossairunit.properties (Danish)
* New translations elroconnects.properties (French)
* New translations nikohomecontrol.properties (Dutch)
2022-06-21 23:56:32 +02:00
Mark Herwege
62bb809f76
[upnpcontrol] Set thingStatus UNKNOWN in intialize (#12880)
* Set thingStatus UNKNOWN in intialize

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2022-06-04 23:32:51 +02:00
Mark Herwege
3123810b98
Fix null pointer exception for invalid protocolInfo. (#12632)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2022-04-22 08:53:58 +02: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
Christoph Weitkamp
505258c234
Fix build after DecimalType changes (#12374)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-02-26 01:07:05 +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
Christoph Weitkamp
167f8ebc49
Avoid UnsupportedEncodingException & use const from StandardCharsets (#11948)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-01-03 16:05:08 +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
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
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
f5ee685556 Fixed errrornous urls from merged private branch
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-01-24 21:15:19 +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
ac6f08908f
Use renamed Units class (#9267)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-12-07 10:34:02 +01:00
Mark Herwege
821a84067a
[upnpcontrol] Rework and extension of binding. (#9081)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2020-11-28 13:38:44 +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
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