Commit Graph

60 Commits

Author SHA1 Message Date
Holger Friedrich 14c3c0cd63
Migrate to java.nio.file.createTempFile (#15469)
Use function from nio package as it uses more restrictive file
permissions.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-09-09 11:10:32 +02:00
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
Kai Kreuzer 72607d3bee Apply spotless
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-07-24 01:20:31 +02:00
openhab-bot 809fceaff3 [unleash-maven-plugin] Preparation for next development cycle. 2023-07-23 19:19:01 +00: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
openhab-bot ed717c2c95
New Crowdin updates (#14531)
* New translations systeminfo.properties (German)
* New translations tado.properties (German)
* New translations bluetooth.properties (German)
* New translations bluetooth.properties (German)
* New translations mybmw.properties (German)
* New translations gardena.properties (German)
* New translations astro.properties (German)
* New translations avmfritz.properties (German)
* New translations chromecast.properties (German)
* New translations hue.properties (German)
* New translations logreader.properties (German)
* New translations icalendar.properties (German)
* New translations max.properties (German)
* New translations comfoair.properties (German)
* New translations denonmarantz.properties (German)
* New translations deutschebahn.properties (German)
* New translations dwdpollenflug.properties (German)
* New translations ecotouch.properties (German)
* New translations epsonprojector.properties (German)
* New translations exec.properties (German)
* New translations homematic.properties (German)
* New translations hpprinter.properties (German)
* New translations http.properties (German)
* New translations magentatv.properties (German)
* New translations awattar.properties (German)
2023-03-04 17:20:03 +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
J-N-K 4d6d6443ef
fix spotless after release (#14014)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-12-19 15:22:17 +01:00
openhab-bot 7993786dc9 [unleash-maven-plugin] Preparation for next development cycle. 2022-12-19 00:55:11 +00:00
Jerome Luckenbach 0e68936663
[Documentation] Markdown improvements f to m (#13866)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2022-12-08 21:36:05 +01:00
Дилян Палаузов 0ffc5257d5
Typos a/an (#13876) 2022-12-08 21:12:49 +01:00
Kai Kreuzer 440f603e88
Apply spotless and resolver (#13027)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2022-06-27 16:00:37 +02:00
openhab-bot ed4858ebbb [unleash-maven-plugin] Preparation for next development cycle. 2022-06-26 18:18:40 +00:00
openhab-bot bf6d508c61
New Crowdin updates (#12920)
* New translations amazondashbutton.properties (French)

* New translations icalendar.properties (French)

* New translations luxom.properties (French)

* New translations amazondashbutton.properties (French)
2022-06-11 15:24:13 +02:00
Gaël L'hopital af8202e668
[icalendar] Adding ability to handle events without DTEND (#12482)
Signed-off-by: clinique <gael@lhopital.org>
2022-03-19 08:52:17 +01:00
openhab-bot 344a4ceae3
New Crowdin updates (#11960)
* New translations openweathermap.properties (Italian)

* New translations openweathermap.properties (German)

* New translations icalendar.properties (Italian)

* New translations network.properties (German)

* New translations atlona.properties (Italian)

* New translations yeelight.properties (Italian)

* New translations yioremote.properties (Italian)

* New translations astro.properties (German)

* New translations deconz.properties (German)

* New translations deconz.properties (Italian)

* New translations pollytts.properties (German)

* New translations mqtt.properties (Italian)

* New translations publictransportswitzerland.properties (Italian)

* New translations mqtt.properties (Italian)

* New translations mqtt.properties (Italian)

* New translations ipp.properties (German)
2022-01-14 23:30:41 +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 3f54327d5a
New Crowdin updates (#11890)
* New translations adorne.properties (German)
* New translations ahawastecollection.properties (German)
* New translations airquality.properties (German)
* New translations airvisualnode.properties (German)
* New translations amazonechocontrol.properties (German)
* New translations astro.properties (Finnish)
* New translations astro.properties (French)
* New translations bosesoundtouch.properties (German)
* New translations chromecast.properties (German)
* New translations denonmarantz.properties (German)
* New translations exec.properties (German)
* New translations hue.properties (French)
* New translations icalendar.properties (German)
* New translations jruby.properties (German)
* New translations jruby.properties (Italian)
* New translations luxtronikheatpump.properties (German)
* New translations mielecloud.properties (German)
* New translations openuv.properties (French)
* New translations openweathermap.properties (German)
* New translations phc.properties (German)
* New translations powermax.properties (French)
* New translations pushsafer.properties (German)
* New translations rotel.properties (French)
* New translations tradfri.properties (French)
2022-01-03 16:00:47 +01:00
Michael Wodniok 4a8fd569f0
[icalendar] fixes #11927: Added original texts for translation (#11928)
* [icalendar] fixes #11927: Added original texts for translation

Signed-off-by: Michael Wodniok <michi@noorganization.org>
2022-01-03 12:09:58 +01:00
Stefan Triller a1df7a82ff
[iCalendar] Fix httpclient getting stuck with broken requests (#11866)
* [iCalendar] Fix httpclient getting stuck with broken requests

Fixes #9827

Signed-off-by: Stefan Triller <github@stefantriller.de>
2021-12-31 11:46:36 +01:00
Marcel 0b79d87d9f
Fix pom http://maven.apache.org/xsd/maven-v4_0_0.xsd entries (#11850)
* Fix pom http://maven.apache.org/xsd/maven-v4_0_0.xsd entries
* Fix http://maven.apache.org/maven-v4_0_0.xsd entries in pom.xml

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-12-24 11:36:42 +01:00
Kai Kreuzer 48746f5e3f Apply spotless
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-12-20 09:07:55 +01:00
openhab-bot 6dc031e6cf [unleash-maven-plugin] Preparation for next development cycle. 2021-12-20 00:30:46 +00:00
Christoph Weitkamp 1f41b29ea9
Added default i18n properties file (#11570)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-11-11 21:30:39 +01: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
Michael Wodniok 962853811a
[icalendar] Fix internal calculation for retrieving events for command tags (#11178)
* [icalendar] Fixes #11084: Different method for retrieving events

Replaced retrieval of events for CommandTags by another, already implemented method, fixing wrong behaviour in case of moved or removed events. Also updated dependencies to get this binding resolvable again.

Signed-Off-By: Michael Wodniok <michi@noorganization.org>
2021-09-11 16:18:08 +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
Michael Wodniok 6b324d6701
[icalendar] Short events parallel to longer current events are now also shown as current event (#10810)
Signed-off-by: Michael Wodniok <michi@noorganization.org>
2021-06-06 10:10:13 +02:00
Wouter Born a032118213
Fix build and improve exception handling (#10726)
The PercentType and QuantityType can also throw an IllegalArgumentException.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-05-20 19:15:23 +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
lolodomo bd56fd8e5d
[bindings a-k] Fix deprecated tag "required" (#10410)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-03-29 22:00:06 +02:00
Michael Wodniok c6423120c9
[icalendar] Fixes #10303: small changes to docs (#10304)
Signed-off-by: Michael Wodniok <michi@noorganization.org>
2021-03-13 20:18:37 +01:00
Wouter Born 051c764789
Upgrade Jackson to 2.12.2 (#10288)
* Adds a jackson.version property to simplify managing the version
* Make sure the specified version is used as add-on dependency by excluding Jackson from transitive dependencies
* Use openhab.tp-jackson feature with dynamodb
* Remove jackson-dataformat-cbor dependency from features which is now also provided by the openhab.tp-jackson feature

Signed-off-by: Wouter Born <github@maindrain.net>
2021-03-07 10:19:32 +01:00
Christoph Weitkamp 5fe2f9c83a
[icalendar] Use cache folder to store calendar file (#9911)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-01-24 12:07:43 -08:00
Christian Bandowski 675de38272
[icalendar] Ensure DecimalType will be used if no unit given (#9849)
Fixes #9820
Related to #9771

Signed-off-by: Christian Bandowski <christian@myvm.de>
2021-01-17 14:34:14 +01:00
Felix Hirschberg 93824b5091
[icalendar] Update Items configuration in README (#9714)
Signed-off-by: Felix Hirschberg <felix@diescouts.de>
2021-01-07 07:48:36 +01:00
Michael Wodniok 8da4d4d0cb
[icalendar] Change migration of last_update to use ThingHandlerCallback (#9681)
* [icalendar] Change migration of last_update to use ThingHandlerCallback

Fixes #9674.

Signed-off-by: Michael Wodniok <michi@noorganization.org>
2021-01-05 07:30:26 +01:00
Michael Wodniok 91dc80449b
[icalendar] Fixed issues with moved events and wrong displayed events (#9678)
* [icalendar] Fixed issues with moved events and wrong displayed events
* [icalendar] Changed test to use local time in test-calendar of #9647

Fixes #9647.

Handling for RFC 5545's RECURRENCE-ID field inside of
events and rounded begin (and based on it end) down in subsecond
precision.

The calendar does not define a timezone. On a machine that uses a
different timezone than Europe/Berlin the test failed. As the behavior
itself is specified, the test was changed to use local time for its
dates.

Signed-off-by: Michael Wodniok <michi@noorganization.org>
2021-01-04 10:53:25 +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
Michael Wodniok ede94354f3
[icalendar] Add relevant handling of last_update channel (#9616)
Also add migration for older things as compatible.
Fixes #9613

Signed-off-by: Michael Wodniok <michi@noorganization.org>
2020-12-31 16:48:24 +01:00
Michael Wodniok a7ac71f1e0
[icalendar] optimization of eventfilter-search and more debug output (#9501)
* [icalendar] Optimize searching events and adding a bit debug output

Fixes #9498 by limiting series events when retrieving possible events via
filter.

Adding a bit more debug output to allow debugging the correct scheduling of
events.

Signed-off-by: Michael Wodniok <michi@noorganization.org>
2020-12-25 18:54:37 +01:00
Michael Wodniok 7b2bf4b95e
[icalendar] added last_update-channel (#9383)
last_update describes the last successful update of the calendar. Fixes #9301.

Signed-off-by: Michael Wodniok <michi@noorganization.org>
2020-12-22 13:48:16 -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
t2000 00c73deabd
[icalendar] Provide example for Nextcloud usage (#9432)
* [icalendar] Provide example for Netcloud usage

Users of the icalender OH 1 binding might wonder how to get the url for the
ical file for their calenders. It took me a couple of hours to find this, so
I think it might be useful to have it as an example in the documentation.

Signed-off-by: Stefan Triller <github@stefantriller.de>
2020-12-19 23:49:59 +01:00
Christoph Weitkamp 863606e311
[icalendar] Ensure Bridge is initialized and calendar is available to update child Things (#9337)
* Ensure Bridge is initialized and calendar is available to update child Things

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-12-13 07:00:16 +01:00
Christoph Weitkamp 1a6f5b5158
[icalendar] Reload calendar file asynchronously (#9227)
* Reload calendar file asynchronously
* Incorporated comments from review

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-12-08 11:07:24 -08:00