Commit graph

420 commits

Author SHA1 Message Date
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
e9bd840a87 Remove Oracle DB support 2023-01-19 10:58:16 +01: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
6ffc15cded utf8 -> utf8mb4 2021-10-26 11:55:50 +02:00
Aleksander Machniak
3178a149ad Add backticks in some sql queries, cleanup 2021-10-01 08:41:16 +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
bb3f96cc97 Calendar: Fix attaching files to events (regression) 2019-09-02 14:05:53 +00:00
Aleksander Machniak
de8e018c4a Fix kolab_alarms table schema for MariaDB (Bifrost#T163148)
Error: Specified key was too long; max key length is 767 bytes, is caused
by missing charset specification for the table. Maria's default
charset is utf8mb4 making the varchar(255) field too big for a key.
2019-05-28 13:54:00 +02:00
Aleksander Machniak
02637611ed Fix various issues caused by caching outdate properties
e.g. fixes state and calendar relation after accepting pending invitation event
2019-04-29 13:44:11 +00: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
8400bbe36f T4770: Fix searching by event categories 2019-02-07 13:15:41 +00:00
Aleksander Machniak
83ac298cd7 Fix handling EXDATEs in different timezone than the event timezone (Bifrost#T154553) 2018-12-13 12:36:20 +00: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
d21b8cad71 Fix missing first occurrence of an event when moved to another day (Bifrost#T103344) 2018-05-14 08:56:08 +02:00
Aleksander Machniak
ce097cdbef Fix support for imap hierarchy delimiter different than a slash char (Bifrost#T71208) 2018-05-03 10:32:51 +00:00
Aleksander Machniak
3027b61ec2 Elastic: Calendar - Resources dialog 2018-04-11 11:44:44 +02: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
74ee354f85 Style needs-action/declined events with opacity when invitation calendars are disabled (Bifrost#T38400) 2017-09-14 13:35:17 +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
efb4554267 Fix "PHP Warning: Illegal string offset 'BYDAY'" when moving a non-recurring event 2017-08-23 13:55:22 +02:00
Aleksander Machniak
ad40d615b1 One more PHP7 warning in calendar plugin code (Bifrost#T31309) 2017-05-10 12:54:57 +02:00
Aleksander Machniak
49bf3288e5 Fix PHP7 warnings in calendar plugin code (Bifrost#T31309) 2017-05-09 15:13:02 +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
837c7ab02d T1484: Make sure an event organizer is always set
There was already a code to do this, but it didn't work for all cases.
E.g. it didn't work when you created an event with resources assigned, but no other attendees.
2016-11-17 09:08:13 -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
1e68b24b70 Merge branch 'arcpatch-D203' 2016-10-18 09:05:12 +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
4a9e42a026 T1523: Support shared calendars in iTip handling 2016-10-03 14:10:57 +02:00