Commit Graph

30 Commits

Author SHA1 Message Date
Holger Friedrich edaf17b345
Java 17 features (H-M) (#15520)
- 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-08 14:36:59 +02:00
openhab-bot 1bcc89afca
New Crowdin updates (#15253)
* New translations mail.properties (French)

* New translations renault.properties (French)

* New translations netatmo.properties (French)

* New translations bluetooth.properties (French)

* New translations anthem.properties (French)

* New translations plex.properties (French)

* New translations openwebnet.properties (Italian)

* New translations energidataservice.properties (Italian)

* New translations androidtv.properties (Italian)

* New translations netatmo.properties (French)
2023-07-17 14:05:01 +02:00
J-N-K f0bdeff81b
[mail] Add mail content processing (#14345)
* [mail] Add mail content processing

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-07-03 09:07:27 +02:00
mlobstein 6e2dddfe73
Declare connection for bindings G thru M (#14902)
* Declare connection for bindings G-M

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-04-29 20:24:54 +02:00
lolodomo d0f6c2b881
[mail] Make actions names for DSL rules consistent with documentation (#14151)
* [mail] Make actions names for DSL rules consistent with documentation

Keep old names for backward compatibility.
Actions names are now consistent over all rule engines.

* Review comment: use htmlContent as parameter name
* Review comment: make consistent url and urlList parameters

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-04 09:30:58 +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
Hans-Jörg Merk e4ab45876c
[mail] Fix sending HTML/Multipart mails (#13108)
Signed-off-by: Hans-Jörg Merk <github@hmerk.de>
2022-07-10 15:21:56 +02:00
Hans-Jörg Merk 270c917e66
[mail] Fix UnsupportedDataTypeException (#12568)
Also-by: Jan N. Klug <jan.n.klug@rub.de>
Signed-off-by: Hans-Jörg Merk <github@hmerk.de>
2022-04-25 11:01:58 +02:00
Wouter Born cb1c1e586e
[mail] Fix unstable MailBuilderTest (#12471)
When a URL attachment is used a check is done if an InputStream to the URL can be opened to see if it is valid.
Because the openHAB website was used the test would fail when the website has issues:

```
[ERROR]  org.openhab.binding.mail.MailBuilderTest.withURLAttachmentReturnsMultiPartEmail  Time elapsed: 10.391 s  <<< ERROR!
org.apache.commons.mail.EmailException: Invalid URL set:http://www.openhab.org
	at org.openhab.binding.mail.MailBuilderTest.withURLAttachmentReturnsMultiPartEmail(MailBuilderTest.java:77)
Caused by: java.io.IOException: Server returned HTTP response code: 520 for URL: http://www.openhab.org
	at org.openhab.binding.mail.MailBuilderTest.withURLAttachmentReturnsMultiPartEmail(MailBuilderTest.java:77)
```

It will now use a file URL instead so it is no longer depends on a website.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-03-13 20:26:32 +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
openhab-bot d0bf1e3313
New Crowdin updates (#11663)
* New translations astro.properties (Hungarian)
* New translations chromecast.properties (German)
* New translations chromecast.properties (Hungarian)
* New translations lgwebos.properties (French)
* New translations linky.properties (French)
* New translations logreader.properties (German)
* New translations mail.properties (French)
* New translations mail.properties (Hungarian)
* New translations max.properties (German)
* New translations ntp.properties (Hungarian)
* New translations openhabcloud.properties (Hungarian)
* New translations pushover.properties (German)
* New translations pushsafer.properties (German)
* New translations remoteopenhab.properties (Hungarian)
* New translations transform.properties (French)
* New translations transform.properties (German)
* New translations vigicrues.properties (French)
* New translations voicerss.properties (German)
* New translations volvooncall.properties (French)
* New translations xmltv.properties (French)

* Fix encoding issue

Signed-off-by: Wouter Born <github@maindrain.net>
2021-12-05 11:16:17 +01:00
openhab-bot 860244b18b
New Crowdin updates (#11608)
* New translations openhabcloud.properties (French)

* New translations transform.properties (French)

* New translations voicerss.properties (French)

* New translations actions.properties (German)

* New translations errors.properties (German)

* New translations stateflags.properties (German)

* New translations nanoleaf.properties (German)

* New translations surepetcare.properties (German)

* New translations deconz.properties (German)

* New translations tr064.properties (German)

* New translations deconz.properties (German)

* New translations openhabcloud.properties (German)

* New translations astro.properties (French)

* New translations hue.properties (French)

* New translations ntp.properties (French)

* New translations feed.properties (German)

* New translations lgwebos.properties (French)

* New translations gce.properties (French)

* New translations airquality.properties (French)

* New translations airquality.properties (French)

* New translations rotel.properties (French)

* New translations feed.properties (German)

* New translations hue.properties (French)

* New translations mail.properties (German)

* New translations sonyprojector.properties (French)

* New translations tradfri.properties (French)

* New translations powermax.properties (French)
2021-11-22 00:58:03 +01:00
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
openhab-bot 4f59c5e8b0
New Crowdin updates (#11539)
* New translations powermax.properties (French)

* New translations openhabcloud.properties (German)

* New translations avmfritz.properties (German)

* New translations mail.properties (German)

* New translations hue.properties (German)

* New translations airquality.properties (French)

* New translations ntp.properties (German)

* New translations velux.properties (German)

* New translations mail.properties (German)

* New translations hue.properties (German)

* New translations avmfritz.properties (German)

* New translations pixometer.properties (German)

* New translations openuv.properties (French)
2021-11-11 13:26:04 +01:00
openhab-bot 56323f3f63
New Crowdin updates (#11536)
* New translations mail.properties (French)

* New translations twitter.properties (French)
2021-11-07 08:46:15 +01:00
lolodomo 207da1cffc
[mail] Extend properties file with all default translations (#11530)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-11-06 10:11:55 +01:00
openhab-bot 739cba7d21
New Crowdin updates (#11361)
* New translations gree.properties (German)
* New translations iCloud.properties (French)
* New translations iCloud.properties (German)
* New translations jeelink.properties (German)
* New translations linky.properties (French)
* New translations mail.properties (French)
* New translations mail.properties (Russian)
* New translations pixometer.properties (German)
* New translations sagercaster.properties (French)
* New translations sonyprojector.properties (French)
* New translations twitter.properties (Russian)
* New translations weathercompany.properties (French)
2021-10-23 18:46:10 +02:00
Wouter Born 798abaa4ca
Switch properties files encoding from ISO-8859-1 to UTF-8 (#11349)
* 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 openhab/openhab-core#2298

Signed-off-by: Wouter Born <github@maindrain.net>
2021-10-09 19:56:49 +02:00
Andrew Fiddian-Green b2db32da96
[mail] Add support for e-mail headers (#11307)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2021-09-27 10:38:13 +02:00
lolodomo 843e8d2904
[bindings l-n] Fix deprecated tag "required" (#10420)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-03-30 21:33:23 +02: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
Christoph Weitkamp 55943502b5
[mail] Added translations for ThingActions (#9121)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-11-25 07:52:56 +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
Wouter Born 978e122e00
Rework ThingActions (#8755)
* 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 (#8732)
* Remove proxy workarounds
* Move ThingActions and a few other classes into the internal package
* Use more consistent action labels/descriptions

Related to:

* openhab/openhab-core#1714
* openhab/openhab-core#1639

Signed-off-by: Wouter Born <github@maindrain.net>
2020-10-14 19:01:12 +02:00
Wouter Born d42efe0b22
Upgrade Maven compiler and fix/upgrade some TP dependencies (#8636)
Upgrades the compiler and its dependencies so the compiler results of Maven builds are more similar to those generated in recent Eclipse versions.

To fix compilation issues in Eclipse for add-ons using classes from javax.xml.stream several dependencies were upgraded/excluded.

Signed-off-by: Wouter Born <github@maindrain.net>
2020-10-03 18:23:16 +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