Commit graph

27 commits

Author SHA1 Message Date
Aleksander Machniak
2103cc317d PHPDoc fixes 2024-01-26 14:38:48 +01:00
Aleksander Machniak
5eb91ca74a PHPStan level:2 fixes (partial) 2024-01-25 13:47:41 +01:00
Aleksander Machniak
5271b6e787 Use consistent PHP code style 2024-01-24 11:24:41 +01:00
Aleksander Machniak
f3319891d5 PHPStan Level:1 fixes, also fixed tests 2024-01-24 10:59:25 +01:00
Aleksander Machniak
28711f7e6e Fix PHP8 warnings 2024-01-16 12:03:19 +01:00
Aleksander Machniak
a9531c9336 Fix libcalendaring_recurrence::end() 2022-12-02 15:57:59 +01:00
Aleksander Machniak
e4271ccfd8 Replace Horde with Sabre in libcalendaring_recurrence 2022-12-02 14:51:33 +01:00
Aleksander Machniak
f5d95d5a92 Use Sabre/VObject v4, Partial PHP8 support 2022-11-29 15:54:43 +01:00
Aleksander Machniak
aef7452bd3 kolab_date_recurrence improvements with some tests 2019-03-15 11:16:51 +00:00
Aleksander Machniak
a71caa9a51 Calendar: Fix regression where changing attendee status for an existing event wasn't working
Also fixed bug where allday event accourrence could have been moved
one day back when changing the attendee status (action=rsvp).
2019-03-14 15:08:53 +00:00
Aleksander Machniak
700a64b40d Fix finding first occurrence for all-day events (Bifrost#T82770)
Bug caused e.g. annual all-day events not displayed on the first occurrence (start date)
2018-03-16 15:16:04 +00:00
Aleksander Machniak
a1cd95152c Align event start date with the first occurrence
Summary:
When a recurring event start date does not match a recurrence pattern
(e.g. an event recurring on Fridays is created on Thursday),
we move the start date to the date of the first occurrence.
There's also a checkbox to keep the old behavior where the
start date was not modified.

Reviewers: vanmeeuwen

Reviewed By: vanmeeuwen

Differential Revision: https://git.kolab.org/D536
2017-09-12 13:53:34 +02:00
Aleksander Machniak
cdfb979b22 T1268: Fix bug where forever recurring events could not be displayed
Summary:
Actually it sets the internal end time interval to 100 years for all kind
of events. Before it was 100 for yearly events, but only 10 for weekly.

Fixes T1268.

Reviewers: #roundcube_kolab_plugins_developers

Maniphest Tasks: T1268

Differential Revision: https://git.kolab.org/D203
2016-10-18 09:04:54 +02:00
Aleksander Machniak
3e1346dc6c CS fixes 2016-04-07 10:46:24 +02:00
Aleksander Machniak
7634368e89 Prevent from fatal errors on events without end date (#5307) 2016-03-10 16:43:10 +01:00
Thomas Bruederli
60205136ee Code cleanup: get recurrence instance identifiers from utility functions 2015-03-10 14:30:50 +01:00
Thomas Bruederli
78622133a9 Reliably identify recurrence instances throughout the application to support invitations of recurring events (#4387) 2015-02-15 14:32:31 +01:00
Thomas Bruederli
965a9b74b3 Fix anually recurrence end date on 32bit systems by replacing (overflowing) unix timestamps with DateTime objects (#2613) 2014-01-22 11:22:23 +01:00
Thomas Bruederli
b0e06ccdb7 Avoid fatal errors in case the event object has invalid date properties 2014-01-15 16:32:34 +01:00
Thomas Bruederli
f001ae250b Fix computation of recurrence end date (#2393) 2013-10-21 17:14:11 +02:00
Thomas Bruederli
fa497d2dbb Fix recurrence computation using libkolab bindings 2012-11-08 15:41:23 +01:00
Thomas Bruederli
06e6c43db0 Use the right library function to get the last occurence of a recurrence chain 2012-10-31 14:01:54 +01:00
Thomas Brüderli
b4ced09d2e Make use of libkolab/libcalendaring PHP bindings for computing recurring events 2012-10-23 15:05:38 +02:00
Thomas Bruederli
b23453e3ec Also use DateTime values for recurrence rules; explicitly set last-modified times when savng an object 2012-07-06 16:38:40 +02:00
Thomas Bruederli
16770f3612 Compute the real end date-time of a recurring event for caching 2012-07-04 15:57:19 +02:00
Thomas Bruederli
79c8183c0d Add method kolab_date_recurrence::next_instance() for simple iterations 2012-07-04 15:10:36 +02:00
Thomas Bruederli
1142a80886 Move classes for recurring events/tasks computation to libkolab 2012-07-03 08:25:55 +02:00