Commit graph

88 commits

Author SHA1 Message Date
Aleksander Machniak
2103cc317d PHPDoc fixes 2024-01-26 14:38:48 +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
62be45e882 Fix PHP8 warning 2023-11-17 14:56:38 +01:00
Aleksander Machniak
9eac16087d Fix PHP8 warning 2023-11-17 10:26:31 +01:00
Aleksander Machniak
83fd802cc4 Fix PHP8 warnings 2023-07-28 14:07:18 +02:00
Aleksander Machniak
096b7a8181 Fix PHP8 warnings 2023-06-12 12:07:58 +02:00
Aleksander Machniak
74079820c7 Fix PHP8 warnings 2023-04-19 15:25:24 +02:00
Aleksander Machniak
45088c23b9 "Edit/Share" -> "Edit" for CalDAV folders 2023-01-06 14:39:48 +01:00
Aleksander Machniak
f5d95d5a92 Use Sabre/VObject v4, Partial PHP8 support 2022-11-29 15:54:43 +01:00
Aleksander Machniak
b0f306eaf1 Remove sensitivity settings 2022-09-14 12:45:30 +02:00
Christian Mollekopf
de3a536daa Avoid relying on the sender for REPLY attendee matching.
Summary:
This fixes the case where we reply on behalf of someone (e.g. a
resource), and therefore can't use the sender for matching.
For both displaying the itip and processing the reply to update the calendar.

Differential Revision: https://git.kolab.org/D3086
2021-12-18 11:35:40 +01:00
Christian Mollekopf
3613a3d399 Resource invitation enhancements
Summary:
* Display RSVP buttons for resource owners.
* Adapted mail texts to make sense for new resource invitations.
* When generating a REPLY, keep track if we are responding on behalf of
  a resource, and set SENT-BY accordingly

Differential Revision: https://git.kolab.org/D3083
2021-12-18 11:35:40 +01:00
Aleksander Machniak
ea78b1c2df Display original time and timezone in iTip info box 2021-12-17 11:26:48 +01: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
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
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
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