Commit graph

86 commits

Author SHA1 Message Date
Aleksander Machniak
38b103430b Fix PHP8 warnings 2021-09-29 18:56:56 +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
1d72a95549 On iTip request fallback to attendee status, not organizer's
When a user has delegator's identities defined and receives
an iTip requests from the delegator (as an organizer) that
invitation could have been detected as accepted (even if there
obviously was no event in users calendar and the status is needs-action/unknown).
2019-04-25 10:04:55 +00:00
Aleksander Machniak
89042934ef Trim redundant whitespace in iTip details table 2019-04-24 09:28:03 +02:00
Aleksander Machniak
de07b7dc01 Elastic: Use pretty checkbox in itip invitation box 2019-03-14 10:31:20 +00:00
Aleksander Machniak
31634a76f6 Fix detecting date/time change in iTip request (Bifrost#T141857) 2018-10-01 11:51:19 +00:00
Aleksander Machniak
de27933930 Elastic: Temp. disable "Check Calendar" button on small screen (Bifrost#T105747) 2018-05-23 12:41:05 +02:00
Aleksander Machniak
4cd62009c0 Merge branch 'dev/elastic' 2018-04-09 12:17:36 +02:00
Aleksander Machniak
fdc0fbe4db Fix handling iTip replies with different address in From: and the iTip (Bifrost#T84315) 2018-04-06 10:20:43 +02:00
Aleksander Machniak
8c4e836dea Elastic: Various elements of the Tasks UI 2018-03-23 12:39:39 +01:00
Aleksander Machniak
e52bc0a158 Merge branch 'master' into dev/elastic
Conflicts:
	plugins/calendar/calendar_ui.js
2018-03-16 09:25:28 +01:00
Aleksander Machniak
9400095642 Elastic: Initial (partial) support for tasklist plugin 2018-03-15 13:27:22 +00:00
Aleksander Machniak
9483a0b13c Code indentation fix 2018-02-28 13:23:20 +01:00
Aleksander Machniak
c6e0395dd9 We accept iTip replies with older SEQUENCE but no significant changes (Bifrost#T78144) 2018-02-28 13:22:04 +01:00
Aleksander Machniak
bb3b7fec0e Make itip links optional and disabled by default
This feature has ever had many limitations and inconsistent
behaviour depending if the user is logged in or not.
Also in meantime, PHP's mail() support has been removed
from Roundcube Framework.

Now to enable the feature you have to set calendar_itip_smtp_server option.
2017-11-03 12:24:18 +01:00
Aleksander Machniak
2859dc7869 Add event/task description to invitation body (Bifrost#T51237) 2017-10-17 11:14:09 +02:00
Aleksander Machniak
16a71fccdc Allow an event updates on iTip request without SEQUENCE bump (Bifrost#T27883)
We're detecting if something changed in description, title, url,
location or attendees. These are properties that could be changed
by the organizer without SEQUENCE bump. If that is detected
we display "Update in my calendar" button.

TODO: display a diff of changes, so user can take a decission
      if he want's to overwrite his copy of the event.
2017-09-14 13:19:32 +02: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
5e5aac91a4 Skip command/location field if it contains only whitespace charaters
Outlook sends COMMENT field with two newline characters. We should not
display Comment record in iTip handling box in such cases, the same for location.
2017-08-22 12:25:15 +02:00
Aleksander Machniak
c5843388a8 Don't display Privacy (Classification) when set to X-* value in iTip
... it's ignored anyway.
2017-07-20 14:42:10 +00:00
Aleksander Machniak
dfacbe01bc Fix misleading warning when editing/deleting a shared event (T1357)
and properly notify attendees of such a change.
2017-04-04 12:17:17 +02:00
Aleksander Machniak
3840ffc5fe Allow accept/decline/delegate (again) on event update request (Bifrost#T27859)
When handling an iTip request for an updated event where
start or end date has been changed, user will be able to change
his participant status.

In such cases we display RSVP buttons instead of "Update in my calendar"
button and highlight the event date.

So, e.g. if you accepted the event and then its time has been
changed by the organizer, you will be able to decline it or vice-versa.
2017-03-30 10:25:12 +02:00
Aleksander Machniak
592163d83d Fix unavailable comment field on itip-append page 2017-03-27 13:07:24 +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
4b08dab30b Fix character case handling in email address comparison for invitations handling (T1301) 2016-06-09 11:18:30 -04:00
Aleksander Machniak
429990b3cd Fix weekly recurrences broken with last "upstream merge" of Horde_date_Recurrence 2016-03-03 15:20:37 +01:00
Aleksander Machniak
494785384d Update Horde_Date_Recurrence with fixes from upstream 2016-03-01 15:30:04 +01:00
Aleksander Machniak
63ce7e9988 Don't use depracated Roundcube functions 2015-08-29 20:23:34 +02:00
Aleksander Machniak
6b3063030d Don't use deprecated Roundcube constants 2015-08-29 19:48:55 +02:00
Aleksander Machniak
8c2aac3362 Don't use Roundcube deprecated functions 2015-08-02 20:15:28 +02:00
Thomas Bruederli
06f380a2d6 Replace vendorized Sabre/VObject 2.1 lib with a dependency to VObject 3.3 (#3881); adapt libvcalendar + tests to the new API 2015-04-02 16:09:09 +02:00
Thomas Bruederli
ef017d4eb0 Also request RSVP when creating a new event with sequence=0 2015-02-26 15:05:55 +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
Thomas Bruederli
61037eb97c Fix RSVP flag in iTip REQUESTS 2015-02-19 15:56:46 +01:00
Thomas Bruederli
ac2bd4700f Store recurrence-id for single (non-recurring) events and use for iTip replies 2015-02-19 15:13:13 +01:00
Thomas Bruederli
4d534ea786 Forward savemode when removing a cancelled event 2015-02-17 15:47:12 +01:00
Thomas Bruederli
fe64e05e48 Render a menu to select the RSVP mode for recurring events instead of using radio buttons 2015-02-16 15:36:25 +01:00
Thomas Bruederli
dbdce67e1e Better distinction of 'current' and 'future' itip messages in UI and message text 2015-02-15 18:39:28 +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
b4bcf723e5 Display recurrence information from iTip invitations (#4446) 2015-02-02 13:12:56 +01:00
Thomas Bruederli
86d464b6de Fix unauthenticated iTip RSVP page for external attendees (#4447) 2015-02-02 12:03:36 +01:00
Aleksander Machniak
6a7488f731 Performance: get_identity() -> list_emails(true) 2014-11-27 06:33:05 -05:00
Aleksander Machniak
ac4f6e7562 Avoid unused variables (also fixed some bugs) found in static code analysis 2014-11-21 10:03:18 +01:00
Thomas Bruederli
c6f5a8233b Fix handling of RSVP flags 2014-11-06 17:09:59 +01:00
Thomas Bruederli
7294ef8be0 Send delegate attendee in iTip reply (as suggested in RFC 5546) + add it to organizers calendar/tasklist 2014-11-06 17:09:59 +01:00
Thomas Bruederli
c26f9d25cb Some fixes to the iTip delegation functions 2014-11-06 17:09:59 +01:00
Thomas Bruederli
4a150a2139 Implement iTip delegation functionality for calendar/mail view (#3860) 2014-11-06 17:09:59 +01:00
Thomas Bruederli
232b458be4 Parse and display event/task status from iTip messages 2014-10-14 09:21:51 +02:00