26 Commits

Author SHA1 Message Date
Wouter Born
b097463d7e
Rename English i18n properties to follow Crowdin naming conventions ()
This allows these files to be used for creating translations with Crowdin.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-12-05 20:14:44 +01:00
Wouter Born
589400e223
Fix/suppress PMD CompareObjectsWithEquals findings ()
Newer PMD versions discover more CompareObjectsWithEquals findings.

Related to https://github.com/openhab/static-code-analysis/pull/423

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-02 10:43:53 +01:00
Wouter Born
798abaa4ca
Switch properties files encoding from ISO-8859-1 to UTF-8 ()
* Switch properties files encoding from ISO-8859-1 to UTF-8

Crowdin will generate translations in this encoding, so this prevents a lot of diffs which makes it easier to review future Crowdin PRs.

Related to 

Signed-off-by: Wouter Born <github@maindrain.net>
2021-10-09 19:56:49 +02:00
Andrew Fiddian-Green
2e8700e7c4
[mqtt] Discovery services shall not unsubscribe unless they have already subscribed ()
* [mqqt] do not allow unsubscribe unless already subscribed

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2021-08-08 14:18:01 +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
Wouter Born
b42101addc
Remove unused local variables ()
Fixes 26 SAT UnusedLocalVariable findings

Signed-off-by: Wouter Born <github@maindrain.net>
2021-04-16 22:35:01 +02:00
Wouter Born
0c36650179
Avoid star imports and add missing braces ()
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
Ross Kennedy
e255dcd570
Update README.md ()
Try to clarify beginners should not be using channels direct on broker Bridge Thing.

Signed-off-by: Ross Kennedy <rossko@culzean.clara.co.uk>
2021-04-02 22:26:32 +02:00
Wouter Born
f3503430b4
Rework more commons-lang usages ()
* Reworks many commons-lang usages to use standard Java
* Updates all remaining commons.lang imports to commons.lang3

Related to 

Signed-off-by: Wouter Born <github@maindrain.net>
2021-03-16 12:38:16 +01:00
Matthew Skinner
b2bb9176e5
[espmilighthub] Initial contribution ()
* espmilighthub inital

Signed-off-by: Matthew Skinner <matt@pcmus.com>

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Co-authored-by: Connor Petty <mistercpp2000+gitsignoff@gmail.com>
2021-01-29 12:05:55 -08:00
Jochen Klein
b6eea715fa
[mqtt] Only unsubscribe if we subscribed before ()
Fix for 9730

Signed-off-by: Jochen Klein <git@jochen.susca.de>
2021-01-10 16:25:54 +01:00
Wouter Born
d6364aceb1
Update license headers to 2021 ()
Signed-off-by: Wouter Born <github@maindrain.net>
2021-01-02 22:03:14 +01:00
J-N-K
c4c0876e97
[mqtt] improve documentation ()
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-12-27 21:56:35 -08:00
Wouter Born
ecac667258
Apply Spotless, update skeleton project version, resolve itest runbundles ()
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
Fabian Wolter
34a9c5482a
[mqtt] Try to make tests more stable ()
* [mqtt] Try to make tests more stable
* Increase timeout from 10ms to 10sec

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2020-12-09 13:21:58 +01:00
Kai Kreuzer
007c3b56e5
removed deprecated author information from binding.xml ()
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-11-23 19:06:33 -08:00
Jochen Klein
e8565d0be6
[mqtt.generic] Fix JUnit tests ()
* Fix JUnit tests
* remove extra character in copyright comment
* Cleanup mockito warnings

Signed-off-by: Jochen Klein <git@jochen.susca.de>
2020-11-01 13:51:51 -08:00
Wouter Born
978e122e00
Rework ThingActions ()
* Remove duplication by making use of default Java generated exceptions
* Make ThingActions labels/descriptions more consistent

Signed-off-by: Wouter Born <github@maindrain.net>
2020-10-15 10:53:53 +02:00
Wouter Born
bef1046258
Rework ThingActions ()
* Remove proxy workarounds
* Move ThingActions and a few other classes into the internal package
* Use more consistent action labels/descriptions

Related to:

* 
* 

Signed-off-by: Wouter Born <github@maindrain.net>
2020-10-14 19:01:12 +02:00
Hilbrand Bouwkamp
003c3af985
Remove immediate = true from all Components ()
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
Wouter Born
b503dce9fd
Fix MQTT transport deprecations ()
Signed-off-by: Wouter Born <github@maindrain.net>
2020-09-24 13:50:46 -07:00
Wouter Born
7f39d01a0f
Remove/ignore Eclipse project files ()
Fixes 

Signed-off-by: Wouter Born <github@maindrain.net>
2020-09-21 22:50:37 +02:00
Wouter Born
bd82ca82df
Migrate tests to JUnit 5 ()
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