Commit graph

286 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
c8ac5637a4 Fix PHP8 warnings 2023-11-29 15:43:08 +01:00
Aleksander Machniak
99717b0877 Calendar: Fix restoring an event (or event occurrence) in the Kolab driver (T854626) 2023-08-03 14:12:27 +02:00
Aleksander Machniak
83d5c9f7f5 Fix handling of kolab_freebusy_server=false (and other empty values)
- Cleanup code
- Hide availability features in the Resources tab
2023-06-23 14:38:10 +02:00
Aleksander Machniak
68eaf60aca Fix moving objects between DAV folders
The code does "move object then read it" and "read it" was failing
because the folder cache wasn't up-to-date. We force re-synchronization
by reseting the state properly after move().
2023-05-01 12:11:33 +02:00
Christian Mollekopf
6405635710 Another php8 warning 2023-04-19 16:41:55 +02:00
Aleksander Machniak
74079820c7 Fix PHP8 warnings 2023-04-19 15:25:24 +02:00
Aleksander Machniak
7810d77969 PHP8 fixes - code style 2023-01-18 16:38:22 +01:00
Christian Mollekopf
d988dac141 PHP 8 fixes
Differential Revision: https://git.kolab.org/D3995
2023-01-18 14:50:31 +01:00
Aleksander Machniak
a0c564f946 Fix various calendar recurrence issues 2022-12-20 14:15:39 +01:00
Aleksander Machniak
371a664e92 CalDAV attachments support, PHP8 fixes 2022-12-15 10:06:29 +01:00
Aleksander Machniak
0530881f4b Remove dependency on kolabcalendaring/kolabformat in CalDAV driver, various PHP8 support fixes 2022-12-05 15:07:23 +01:00
Christian Mollekopf
ee732ffb07 Disable the freebusy UI if no kolab_freebusy_server is configured
Differential Revision: https://git.kolab.org/D3962
2022-12-02 12:50:02 +01:00
Aleksander Machniak
1b33810f71 Try to support PHP >= 7.2, small refactoring 2022-11-30 12:54:29 +01:00
Aleksander Machniak
f5d95d5a92 Use Sabre/VObject v4, Partial PHP8 support 2022-11-29 15:54:43 +01:00
Aleksander Machniak
af5461eb76 CalDAV driver 2022-10-06 15:59:53 +02:00
Aleksander Machniak
b0f306eaf1 Remove sensitivity settings 2022-09-14 12:45:30 +02:00
Aleksander Machniak
dd6f6ab305 Fix regression in deleting Future/All event occurrences 2021-09-26 19:34:04 +02:00
Aleksander Machniak
6204b43186 Fix compatibility with PHP 5.4 2021-04-13 08:41:15 +02:00
Aleksander Machniak
87fbaea696 PHP8 compatibility fixes
Summary: PHP8 fixes, CS fixes, short array syntax, indentation

Reviewers: #roundcube_kolab_plugins_developers

Subscribers: #roundcube_kolab_plugins_developers

Tags: #roundcube_kolab_plugins

Differential Revision: https://git.kolab.org/D2185
2021-02-01 08:30:34 +01:00
Aleksander Machniak
112516794f Fix PHP 7.4 deprecation warning on implode() 2020-08-11 12:55:49 +02:00
Aleksander Machniak
e648167c38 Add posibility to remove pending/declined invitation events (Bifrost#T203431) 2019-04-29 10:39:08 +00:00
Aleksander Machniak
3a2240a13d Fix inconsistency in handling other users "root" folders (Bifrost#T203416)
Refactored some code to make sure we always deal with kolab_calendar instances.
2019-04-26 07:30:45 +00:00
Jeroen van Meeuwen (Kolab Systems)
acff3a8c43 More aesthetically pleasing, resolve T4331 2019-03-21 23:25:03 +01:00
Aleksander Machniak
779af09a68 Fix performance/memory errors when editing recurring events
When we indeed need to find only a specific event occurrence, make the
recurrence loop return asap, instead of looping over all possible
occurrences in 100 years and returning all of them.
2018-12-13 09:50:41 +00:00
Aleksander Machniak
8f7f68e9c4 Fix so only editable calendars can be set as the default calendar 2018-08-09 08:35:19 +00:00
Aleksander Machniak
727fb4c586 Fix unwanted timezone change on event occurrence edit (Bifrost#T104637) 2018-05-17 12:52:11 +00:00
Aleksander Machniak
a444b5b801 Unify/de-duplicate code for folder form handling 2018-03-28 15:36:08 +00:00
Aleksander Machniak
b01a3c6038 Elastic: Unify calendar editing forms 2018-03-27 15:54:59 +00:00
Aleksander Machniak
21c4b6a5bb Elastic: Partial support for calendar plugin 2018-03-16 09:22:42 +01: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
efb4554267 Fix "PHP Warning: Illegal string offset 'BYDAY'" when moving a non-recurring event 2017-08-23 13:55:22 +02:00
Aleksander Machniak
c1c2b10e49 Fix bug where it wasn't possible to change all-day event e.g. from one day to many days and vice-versa (Bifrost#T30559) 2017-04-28 11:54:45 +02:00
Aleksander Machniak
f4e5fc9d38 T1637: Fix lost exceptions on event edit
Fixes bug where exceptions could be lost when editing
non-first occurence of a recurring event.

Also fixes bug where recurrent event update could
unintentionally change start date of the main event
when non-first occurence was selected for edition.
2016-12-27 08:33:05 +01:00
Aleksander Machniak
c4f4f52aa0 T1841: Support non-all-day exceptions to all-day events and vice-versa 2016-12-30 05:33:02 -05:00
Aleksander Machniak
4022e76ede T1760: Recurrence exception not displayed when its date was changed 2016-10-21 14:06:07 +02:00
Aleksander Machniak
4a9e42a026 T1523: Support shared calendars in iTip handling 2016-10-03 14:10:57 +02:00
Aleksander Machniak
f5ac7a872e Fix accessing attachments in invitations calendars (#5465) 2016-06-30 10:20:21 +02:00
Aleksander Machniak
345506712e Fix deleting events by first occurrence (T1214) 2016-04-20 09:28:25 -04:00
Aleksander Machniak
fc93828311 Fix merging attachments list on event/task update from iTip (#5342)
Reviewers: #roundcube_kolab_plugins_developers, vanmeeuwen

Reviewed By: #roundcube_kolab_plugins_developers, vanmeeuwen

Subscribers: vanmeeuwen

Projects: #roundcube_kolab_plugins

Differential Revision: https://git.kolab.org/D96
2016-03-17 16:38:36 +01:00
Aleksander Machniak
cb7f4d635b Performance: Use initialized calendars if available, skipping redundant folder cache synchronization 2016-02-22 11:37:34 +01:00
Aleksander Machniak
bd8166b81a Fix regression in last optimisations 2016-02-13 09:16:38 +01:00
Aleksander Machniak
7b455c4b97 Performance: Don't initialize all folders in driver constructor (#3971) 2016-02-12 16:27:19 +01:00
Aleksander Machniak
2172f4340c Performance: Consolidate metadata requests (#3989)
This changes number of cache requests from 4 to 2 for each groupware folder.
2016-02-12 13:45:58 +01:00
Aleksander Machniak
63ce7e9988 Don't use depracated Roundcube functions 2015-08-29 20:23:34 +02:00
Aleksander Machniak
8c2aac3362 Don't use Roundcube deprecated functions 2015-08-02 20:15:28 +02:00