Commit graph

406 commits

Author SHA1 Message Date
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
Aleksander Machniak
ea6d351812 console() -> rcube::console() 2016-08-31 12:57:15 +02:00
Aleksander Machniak
f5ac7a872e Fix accessing attachments in invitations calendars (#5465) 2016-06-30 10:20:21 +02:00
Aleksander Machniak
20833726b2 Fix disappearing free-busy event on refresh (#5462)
The issue was caused by missing event uid. On client-side all events
have had the same _id property and calendar widget couldn't properly
merge changes.
2016-06-29 19:45:28 +02:00
Aleksander Machniak
5a148797e1 Fix handling of end date in time_key() 2016-06-29 19:28:12 +02:00
Aleksander Machniak
6bb5511b6d Corrected fix for T1214 2016-04-20 14:56:27 -04:00
Aleksander Machniak
345506712e Fix deleting events by first occurrence (T1214) 2016-04-20 09:28:25 -04:00
Aleksander Machniak
748e42abfb Skip partstat filter when kolab_invitation_calendars=false (T1179) 2016-04-07 08:18:23 -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
2afb5714c5 Fix duplicated events in other users calendar if its subfolders are active (#5340)
Differential Revision: https://git.kolab.org/D94
2016-03-11 11:41:18 +01:00
Aleksander Machniak
2a9948b827 Performance: Skip some redundant SELECT queries on event update 2016-02-22 15:19:58 +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
a7e3a938a7 Unify mail-relations handling across plugins 2016-02-21 19:41:49 +01:00
Aleksander Machniak
d96689620f Performance: Get event-to-mail relations once per events list, instead of doing SELECT for every event (including recurrences) 2016-02-21 19:09:04 +01:00
Aleksander Machniak
446cd0dfe1 Performance: Limit number of SQL queries needed for "object relations update" operation 2016-02-13 13:09:59 +01:00