Commit Graph

32 Commits

Author SHA1 Message Date
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
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
Michael Wodniok
168913baba
[icalendar] Updated biweekly to 0.6.4 (#8725)
* [icalendar] Updated biweekly to 0.6.4

Fixes #8647 

Signed-off-by: Michael Wodniok <michi@noorganization.org>
2020-10-12 16:51:24 +02:00
Hilbrand Bouwkamp
ea55540f8b
Fix openhab-addons url in NOTICE files (#8614)
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2020-09-30 10:08:31 +02: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
7f39d01a0f
Remove/ignore Eclipse project files (#8529)
Fixes #8451

Signed-off-by: Wouter Born <github@maindrain.net>
2020-09-21 22:50:37 +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