Commit graph

447 commits

Author SHA1 Message Date
Aleksander Machniak
0207f27ce7 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:36:24 +01:00
Aleksander Machniak
6594975605 T1841: Support non-all-day exceptions to all-day events and vice-versa
Conflicts:

	plugins/calendar/drivers/kolab/kolab_calendar.php
2016-12-30 05:39:08 -05:00
Aleksander Machniak
ccf358b47e 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:10:01 -05:00
Aleksander Machniak
5f6490542d T1760: Recurrence exception not displayed when its date was changed 2016-10-21 14:08:18 +02:00
Aleksander Machniak
f1c581f4e4 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:07:09 +02:00
Aleksander Machniak
33ae130484 T1523: Support shared calendars in iTip handling 2016-10-03 10:08:03 -04:00
Aleksander Machniak
7fccfb7f7e Fix accessing attachments in invitations calendars (#5465) 2016-06-30 10:21:46 +02:00
Aleksander Machniak
c06ad5a04c 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.

Conflicts:
	plugins/calendar/drivers/kolab/kolab_user_calendar.php
2016-06-29 19:49:23 +02:00
Aleksander Machniak
856d2c784a Fix handling of end date in time_key() 2016-06-29 19:48:31 +02:00
Aleksander Machniak
248ce5339a Fix so birthdays are exported with correct year and recurrence definition (T855)
Summary:
Refactored birthdays handling code. The "all birthdays" request is detected
and for this case year is not modified and recurrence rule is added.

Reviewers: #roundcube_kolab_plugins_developers, vanmeeuwen

Reviewed By: #roundcube_kolab_plugins_developers, vanmeeuwen

Differential Revision: https://git.kolab.org/D117
2016-04-14 11:49:34 +02:00
Aleksander Machniak
43b9b3cdab Skip partstat filter when kolab_invitation_calendars=false (T1179) 2016-04-07 08:19:38 -04:00
Aleksander Machniak
549eb70bde 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:41:54 +01:00
Aleksander Machniak
b01894ee2d 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:42 +01:00
Aleksander Machniak
6ac7014498 Fix bug where pending calendar displayed not more than one instance for recurring events (#5274) 2016-02-10 15:00:12 +01:00
Aleksander Machniak
6b5d671a47 Fix bug where pending calendar displayed not more than one event (#5274) 2016-02-09 12:09:47 +01:00
Thomas Bruederli
e24024b8be console() -> rcmail::console() 2015-10-21 23:04:27 +02:00
Thomas Bruederli
ddd4683255 Replace more deprecated Roundcube functions 2015-10-21 23:01:31 +02:00
Aleksander Machniak
d97ff3dd64 Don't use depracated Roundcube functions 2015-10-21 22:42:45 +02:00
Thomas Bruederli
2e458987bf Use the right variable when unserializing old attendee data 2015-10-19 23:06:38 +02:00
Aleksander Machniak
990712503d Fix missing events on edges of the view time range (when client timezone is different than server tz) (T698) 2015-08-18 12:42:03 +02:00
Thomas Bruederli
09fe27d5a6 Consolidate changelog dialog labels and use libkolab's singelton getter for the Bonnie API 2015-04-21 09:24:27 +02:00
Thomas Bruederli
f4531102a2 Fix loading of birthday events in December when range spans over two years (#4920) 2015-03-31 09:43:37 +02:00
Thomas Bruederli
7fec791449 Select folders annotated 'private' for events/tasks flagged as such (#4789) 2015-03-25 15:09:04 +01:00
Thomas Bruederli
7dbb0d1b2f Handle old revisions and diffs for recurrence instances; forward instance identifier to API for diff requests 2015-03-19 12:34:08 +01:00
Thomas Bruederli
17a3783b9a Allow to load attachments from old revisions + implement resting of old revisions if write permissions are granted 2015-03-18 20:24:57 +01:00
Thomas Bruederli
6bd0bdabb5 Adapt client to changed Bonnie API 2015-03-18 12:57:36 +01:00
Thomas Bruederli
664732411d Fix syntax error in SQL schema 2015-03-17 09:55:44 +01:00
Thomas Bruederli
8792a668b6 Use IMAP permissions to determine possible actions on the client (#4827)
s/writeable/editable/
2015-03-11 15:24:17 +01:00
Thomas Bruederli
b68f5f5cda 'w' right doesn't allow APPEND operations 2015-03-11 12:38:47 +01:00
Thomas Bruederli
6f97b9ff71 - Require delete permission for a calendar to be writeable (#4827)
- Introduce 'insert' permission which allows the creation of new events but no subsequent editing
- Replace 'readonly' with '!writeable' properties for consistency reasons
2015-03-11 12:22:01 +01:00
Thomas Bruederli
e8c387ef0d Bump versions and copyright year 2015-03-10 15:38:45 +01:00
Thomas Bruederli
76f50f2d2b Code cleanup: define filters for calendar listing as bitmask instead of individual arguments 2015-03-10 15:23:52 +01:00
Thomas Bruederli
60205136ee Code cleanup: get recurrence instance identifiers from utility functions 2015-03-10 14:30:50 +01:00
Thomas Bruederli
738cdb7017 Adapt database driver to this-and-future cancellations from commit 1019238 2015-03-10 13:54:36 +01:00
Thomas Bruederli
10192386dd Send cancellations of this-and-future events as iTip REPLY on master event with updated recurrence rule (#4743) 2015-03-10 13:38:53 +01:00
Thomas Bruederli
03dd4b60b3 Exclude cancelled events from count query on invitations calendar 2015-03-03 15:57:49 +01:00
Thomas Bruederli
09f979a248 Get exception on first occurrence if exists 2015-03-02 10:56:43 +01:00
Thomas Bruederli
48ff1d045a Update database version strings 2015-03-01 19:00:27 +01:00
Thomas Bruederli
4d2695f864 Bring database driver up to speed with recurring events and iTip invitations 2015-03-01 18:54:59 +01:00
Daniel Hoffend
d91d6f98a7 fixed wrong rc->user call (php fatal error) 2015-02-28 21:25:30 +01:00
Thomas Bruederli
94260b2aeb Refactor identification of recurring event instances (#4722):
- All instances of a recurring series have -YmdTHis appended to their ID
- In 'all' savemode, the master event identified by UID is loaded and updated
- kolab_driver::update_event() returns the UID of the master event in 'all' mode.
  This is then used to send iTip messages for the entire series
2015-02-27 17:55:37 +01:00
Thomas Bruederli
d4f819bf94 Fix deletion of single event occurrences (#4722) 2015-02-26 16:25:51 +01:00
Thomas Bruederli
c19bd98233 Fix attachment retrieval with direct instance identifiers (#4722) 2015-02-26 15:24:22 +01:00
Thomas Bruederli
899646afd8 Handle single event occurrences with the same UID (#4722) 2015-02-26 15:05:55 +01:00
Thomas Bruederli
c1b6803ae2 Don't call private methods from an anonymous function. Context is not preserved in PHP 5.3 (#4702) 2015-02-24 17:36:04 +01:00
Thomas Bruederli
a837feb76e Fix loading attachments for events listed in virtual calendars (#4400) 2015-02-24 14:17:53 +01:00
Thomas Bruederli
928e4131c4 Small cleanup of internal attachment property forwarding 2015-02-20 11:54:33 +01:00
Thomas Bruederli
515a7d9ef6 Small fixes to recurring event invitations (#4387) 2015-02-20 09:25:24 +01:00
Thomas Bruederli
02ef2e6050 Split recurring event into a new series when modifying with this-and-future option (#4386); optimize copying of attachments into new event 2015-02-20 00:11:40 +01:00
Thomas Bruederli
5e176baa08 Pass a list of updated attendess to the backend driver on RSVP reply from calendar view 2015-02-19 18:09:12 +01:00