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