Commit Graph

29 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Michael Wodniok de390b96be
[icalendar] Fix race condition while initialization of EventFilterHandler (#9230)
* [icalendar] Fix race condition while initialization of EventFilterHandler

Should fix #9029. The channels do not get updated as the known channels by the binding where only updated if Bridge was already online while initializing EventFilterHandler.
Also added a bit more output.

* [icalendar] use implicit conversion to string for logging

Signed-off-by: Michael Wodniok <michi@noorganization.org>
Co-authored-by: Connor Petty <mistercpp2000+gitsignoff@gmail.com>
2020-12-04 21:35:14 -08: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
Michael Wodniok 7312890d44
[icalendar] Add EventFilter for existing calendars (#8583)
This commit fixes #8022.

Signed-off-by: Michael Wodniok <michi@noorganization.org>
2020-10-24 22:35:07 +02:00
Michael Wodniok d960199e8f
[icalendar] Describe download exceptions a bit more detailed. (#8847)
* [icalendar] Describe download exceptions a bit more detailed.

Fixes #8846
* [icalendar] Apply suggestions from code review

Signed-off-by: Michael Wodniok <michi@noorganization.org>
Also-by: Connor Petty <mistercpp2000+gitsignoff@gmail.com>
2020-10-23 22:07:37 -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