Commit Graph

2906 Commits

Author SHA1 Message Date
nathangray
29cf6e60aa Calendar - avoid warning about illegal string offset 'template' 2019-06-21 09:52:59 -06:00
nathangray
64e1a5a830 Calendar - create function for reset of participant status when event is moved
- Still respecting preference for users
- Always resetting non-user participants
2019-06-18 15:11:53 -06:00
nathangray
5fce8985b8 Missing translations from Stefan Unverricht 2019-06-18 11:43:37 -06:00
nathangray
cd76cccf8b *Calendar - Quick add dialog now shows conflict warning instead of quietly stopping 2019-06-17 10:24:47 -06:00
Ralf Becker
3346976e22 several fixes for z-push 2.5 and iOS 12.3:
- send not invitations as calendar-events, just email meeting requests, as they double the events with z-push 2.5 and iOS 12.3
- send all participants incl. organizer as participants, as Exchange also does that and they are otherwise lacking on Android
- fix meeting requests without CLASS:PUBLIC got imported as private events
- better logging for ChangeMessage
2019-06-14 21:12:05 +02:00
nathangray
45b4c2112c Calendar - cast cal_id to varchar in sort too to avoid PostgreSQL error 2019-06-05 14:34:42 -06:00
nathangray
bddc878a96 Calendar - Check against user time when deciding if notifications should be sent 2019-06-05 14:02:31 -06:00
nathangray
99a223a5ad Calendar - Only send update notifications if the event is in the future 2019-06-03 11:28:39 -06:00
Ralf Becker
75403eea94 * CalDAV/CardDAV: allow removing categories 2019-05-28 18:48:14 +02:00
Ralf Becker
5b7281ed5c Revert "some chars also require encoding for iCal 2+ or vCard 3+"
This reverts commit f75b9e93f4.
2019-05-28 16:27:50 +02:00
nathangray
a5b18a8c7b Pass ignore_acl parameter onto event read, to properly find previous event when ignoring acl 2019-05-27 16:17:53 -06:00
Ralf Becker
038caabd72 some chars also require encoding for iCal 2+ or vCard 3+ 2019-05-27 17:00:40 +02:00
Ralf Becker
1338090a84 * CalDAV/CardDAV: encoding VT (vertical tab) as it stalls Outlook (CalDav Synchronizer) 2019-05-24 15:11:07 +02:00
nathangray
c8589b6439 Avoid type error while updating events if old_event is not found 2019-05-02 09:24:49 -06:00
Ralf Becker
0121d50c30 * Calendar: fix alarms on recurring events got lost after 1st ocurrence 2019-04-26 15:13:44 +02:00
Ralf Becker
9bd4ccde4c * iMip/Mail/Calendar: fix event-doublication on accepting, if the event was deleted once
caused by the deleted event was returned first and then ignored by calendar_ui::meeting
2019-04-25 16:22:34 +02:00
nathangray
f44a26432c Some changes to tests, maybe they pass
Mostly about getting a session for Sharing, even though we're on the command line
2019-04-24 14:14:35 -06:00
Hadi Nategh
36ca3dd024 Fix calendar report not taking all categories into account 2019-04-15 12:12:20 +02:00
Hadi Nategh
bf309755ef Fix calendar report not taking Day Light Saving into account 2019-04-10 09:07:06 +02:00
Ralf Becker
4e9c648c6a some missing translations incl. not commited EN ones 2019-03-29 15:50:37 +01:00
nathangray
484ec5aaa7 Calendar - import ical Add additional option to select category for iCal import.
iCal.
2019-03-27 10:27:24 -06:00
Ralf Becker
bf51083891 * ActiveDirectory: fix "not a valid GUID" error, when getting an avatar of a group 2019-03-09 12:38:15 +01:00
Ralf Becker
6e6137cdcb fix not working Export from calendar edit popup's actions 2019-02-25 09:44:31 +01:00
Ralf Becker
1246d77e28 fix Lightning work-around for %40 2019-02-21 17:49:54 +01:00
Ralf Becker
8670036af6 * CalDAV: work around Lighning not having synced event before accepting 2019-02-21 17:00:00 +01:00
Ralf Becker
7e79088191 * Calendar/Email: multiple users of external meeting request no longer overwrite each other status when accepting 2019-02-21 15:06:26 +01:00
Ralf Becker
5086e6cca3 * All apps: improved speed when searching with (many) custom-fields 2019-02-18 19:23:13 +01:00
nathangray
d805e9f467 Stop using deprecated each(), using foreach(), key() or current() instead 2019-02-12 14:13:45 -07:00
Ralf Becker
7ab0d0b6d2 * Calendar/CalDAV: fix yearly recurring events stalling sync
also fixed PHP Warning about array_intersect parameter 2 not being an array
2019-01-21 12:57:52 +01:00
nathangray
c535708332 Calendar - Fix context menu copy & print actions 2019-01-17 09:21:19 -07:00
nathangray
f328b82972 Calendar - New event in top bar now sets time to start of next hour 2019-01-14 11:07:34 -07:00
nathangray
ac3656d85d Avoid JS error if account selection is turned off 2019-01-11 11:50:55 -07:00
nathangray
03aa34460a Change calendar link registry's add to use javascript so we can open client side 2019-01-10 15:01:05 -07:00
Ralf Becker
c560fe084e * Calendar/Mail: tell user if an event has been already already deleted when viewing a meeting request 2019-01-10 18:59:29 +01:00
Ralf Becker
8d4c7cc906 disable "warning" that we have no rights to store any modification
if user accept or reject a meeting invitation displayed in email
2019-01-10 17:34:33 +01:00
nathangray
00ea499559 Calendar - open add into a dialog widget 2019-01-09 16:48:04 -07:00
nathangray
1fe784ad3c Calendar - Move quick add preference to configuration tab
- Fix wrong preference name in add dialog checkbox
- Translations from Birgit
2019-01-07 09:23:49 -07:00
Nathan Gray
a4872300b4
Merge pull request #51 from nicorac/master
Bug in free/busy request handling (master)
2018-12-19 15:33:43 -07:00
nathangray
fa928efc57 Calendar - Pass group members on load to save some user data lookups 2018-12-19 15:31:44 -07:00
nicorac
cb106cf4f9 Fixed attributes cleanup in calendar_groupdav.post() and calendar_groupdav.put() 2018-12-19 21:50:13 +01:00
nicorac
64c1c126c0 Function calendar_ical.aggregate_periods() returns only the last event 2018-12-19 21:49:48 +01:00
nathangray
6bf8f6bb26 Fix some more PHP 7.2 warnings
Remove some calls to deprecated each()
2018-12-18 10:20:23 -07:00
nathangray
e525f7d5e3 Calendar - Allow to save alarms for all participants 2018-12-14 11:51:46 -07:00
nathangray
6a760e193d Calendar - Allow event owner to save alarms for all participants 2018-12-14 11:50:15 -07:00
Hadi Nategh
e52f3493f1 Prevent select widget from loading when running setup-cli. Fixes travis failure. 2018-12-14 11:15:28 +01:00
nathangray
5e9cace2bc * Calendar - Quick add dialog for new events 2018-12-13 14:35:26 -07:00
Ralf Becker
01bd78e34a fix PHP 7.3 Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2" 2018-12-11 12:45:50 +01:00
Ralf Becker
c3b518b7d5 fix typo 2018-12-10 14:14:26 +01:00
Ralf Becker
d65194fce3 * Calendar/CalDAV: store huge iCal attributes compressed to fix stalled sync of Outlook/Exchange events
X-ALT-DESC from Outlook/Exchange gets easy over 16k of our table, but it's nicely compressable ;)
2018-12-09 13:54:35 +01:00
nathangray
15c94135bc - Add participant filter
- Change event status filter to one only, since multiple doesn't work
- Allow overriding of label, tag & multiple in filter
2018-12-06 11:41:31 -07:00
nathangray
e05ab4e7b7 * Calendar - add filters to iCal export definitions 2018-12-05 11:13:47 -07:00
nathangray
87ea099f05 Calendar - fix selecting 'Select all' did not consistently set select_all in calendar listview 2018-12-03 15:31:12 -07:00
nathangray
8451836a92 Import/Export - change signature of method that gets options to allow definition-specific values
Do export too, for consistency
2018-11-29 10:32:42 -07:00
nathangray
dba9a76246 Import/Export - change signature of method that gets options to allow definition-specific values 2018-11-29 09:35:35 -07:00
nathangray
e10905988a - Change resources preference option back
- Fix default to be resources with conflicts
2018-11-28 09:40:09 -07:00
nathangray
0c5d8a5784 * Calendar - Allow specifying the charset when importing ical 2018-11-27 15:56:40 -07:00
nathangray
ab2b00cd13 Calendar - fix empty history logs after drag and drop 2018-11-27 11:01:11 -07:00
nathangray
a999e6e94f * Calendar - Remove option to skip resource detection, we always do it now. 2018-11-23 10:01:58 -07:00
nathangray
5e48cbe78c * Calendar - fix alarm removed if user is only participant because of group invitation 2018-11-22 11:35:35 -07:00
nathangray
e9910345dc Calendar - fix missing history in a way that doesn't fail every test 2018-11-21 13:50:29 -07:00
nathangray
cbaf7e7062 Calendar - fix missing history 2018-11-21 13:24:49 -07:00
Hadi Nategh
2690ec5053 Introduces avatar.php and replaces all addressbook.photo urls accordingly 2018-10-31 13:49:51 +01:00
nathangray
78ddd31b71 * Calendar - fix recurring events were left out of merge from list 2018-10-25 10:09:46 -06:00
nathangray
24b869d61a * Calendar - Add checkbox to turn on or off emptying calendar before iCal import 2018-10-22 09:25:28 -06:00
Ralf Becker
83417962e9 release session to allow parallel requests to run 2018-10-19 11:48:53 +02:00
nathangray
5b14dc2f1a Show category name instead of ID in link title 2018-10-10 10:35:31 -06:00
Ralf Becker
9f6a7e3187 fixing no grant required for inviting contacts 2018-10-09 18:59:56 +02:00
Hadi Nategh
8808f15934 No grant required for inviting a contact 2018-10-09 18:09:34 +02:00
Ralf Becker
364305ed64 fix PHP Warning: Illegal string offset 'owner' 2018-10-09 13:57:15 +02:00
Ralf Becker
cc22e89242 * CalDAV: CalDAVSynchronizer: only allow owner/organizer to update or delete an event (not users with edit/delete rights) 2018-10-09 13:15:11 +02:00
nathangray
eb7ea6bfab Fix resource invite permission was checked for every resource type 2018-10-01 10:26:06 -06:00
Ralf Becker
d9e2d991e1 fix not working CalDAV PUT of recurring event 2018-09-24 15:51:03 +02:00
Ralf Becker
f7d09e9ec0 * CalDAV: work around problems with Outlook CalDAV Synchroniser (https://caldavsynchronizer.org/)
- sends a DELETE to reject a meeting request --> deletes event for all participants, if user has delete rights on the calendar
- always sends all participants back with status NEEDS-ACTION --> resets status of all participant, if user has edit rights
--> remove all add, edit, delete rights from other users
2018-09-20 15:58:00 +02:00
Ralf Becker
c1316beda5 WIP: periodic running admin-commands 2018-09-18 16:27:40 +02:00
Ralf Becker
a495e167fd * CalDAV/Calendar: iOS sometimes created a new event when confirming a deleted one 2018-09-13 15:35:56 +02:00
nathangray
28781956fe Calendar - Fix bug exporting list to iCal with no end date gave empty file 2018-08-22 10:00:40 -06:00
nathangray
4d8fbf8b28 Disable unsupported definition filter option for iCal export 2018-08-14 11:18:39 -06:00
nathangray
8f7cf3541b * Calendar - Fix CSV export search results did not work (gave error) 2018-08-14 10:04:27 -06:00
Ralf Becker
d2b2924638 fix wrongly displayed time in alarms 2018-08-13 15:26:50 +02:00
Ralf Becker
e88450037a fix wrong time for past alarms and added nicer working for alarm "at start of the event" 2018-08-10 11:32:35 +02:00
Ralf Becker
af6c2a0f25 * CalDAV/Calendar: fix not working snozzing of alarms in Thunderbird
Caused by triggered alarms were - so far - immediatly deleted, now we keep them around for an other day, so TB get them in the update iCal after PUTing its X-MOZ-SNOOZE-TIME-<timestampt>
2018-08-07 15:03:59 +02:00
Ralf Becker
a2758c4319 * CalDAV/Calendar/Resources: do not allow to change resource quantity via CalDAV
Resource quantity is restored from existing event, as neither iOS nor Thunderbird returns our X-EGROUPWARE-QUANTITY attribute on the attendee. Also display quantity > 1 in brackets after resource name.
2018-08-06 19:04:41 +02:00
Ralf Becker
17f8e3016b * CalDAV/Calendar: fix accepting invitations with an not attending organizer adds organizer as attendee
Before we added a not attending organizer as attendee with status DELEGATED, now we no longer add him as attendee at all.
2018-08-06 18:21:45 +02:00
Ralf Becker
42736c833c * CalDAV/Calendar: dealing with Thunderbird setting partipant status on organizer
If secritary creates an event in the owners calendar the owner/organizer is on status NEEDS-ACTION.
Accepting that event in Thunderbird set PARTSTAT=ACCEPTED on ORGANIZER, while ATTENDEE is still on PARTSTAT=NEEDS-ACTION. In that case prefer the PARTSTAT from ORGANIZER over ATTENDEE. 
In my opionion Thunderbird behavior is wrong, thought that fix does not do any other harm,
as no other client sets PARTSTAT in ORGANIZER.
2018-08-06 18:21:45 +02:00
Ralf Becker
e8f067097b fix PHP Warning: Invalid argument supplied for foreach() 2018-07-30 09:51:44 +02:00
Hadi Nategh
10a4662d07 * Notifications: fix some calendar notifications event can not be opened, error: "egw.open() app is not in registery!" 2018-07-27 11:13:07 +02:00
nathangray
a75272b1bc * Calendar - merge placeholder {{participant_emails}} now includes group members for group invitations 2018-07-24 13:34:49 -06:00
Hadi Nategh
c5e902926b Fix notifications with same id but no links are not getting grouped together 2018-07-23 16:25:07 +02:00
nathangray
1c2466334e * Calendar - Fix participant quantity lost when changing status 2018-07-19 13:38:24 -06:00
Ralf Becker
b4012e34f4 * Calendar: fix EGroupware users were notified even if they choose not to in their preferences 2018-07-17 16:03:38 +02:00
Hadi Nategh
eb5652dc20 * Api: get avatar showing up for taglist accounts and calendar owner 2018-06-29 10:12:59 +02:00
Ralf Becker
f6a6412d25 also show external organiser in textual replies and remove him from participants 2018-06-27 20:22:04 +02:00
Ralf Becker
8e419f1c1a * Calendar/Mail: handle meeting requests for single recurrences and exceptions 2018-06-27 18:28:20 +02:00
Hadi Nategh
b64d96f3de * Calendar: Fix notifications show actions for alarm notify messages 2018-06-27 16:25:29 +02:00
Marcel Klehr
75572b64c8 Fix calendar invitations of resources
Used to prevent anyone from inviting when general access was disabled
now it only prevents users who don't have direct booking permission.

see #38
2018-06-27 15:44:47 +02:00
Ralf Becker
8d253de6f6 fix IDE warnings 2018-06-27 10:59:31 +02:00
Ralf Becker
c4e4eb45a4 * Calendar/CalDAV: sending correct iMip REPLY to mail invitations and only reply to external chair 2018-06-26 15:58:44 +02:00
Hadi Nategh
32999ee231 Set notify priority to high only for alarms 2018-06-21 17:29:39 +02:00
nathangray
6fab7bfc91 Calendar - reset meeting request to send using TO, email all participants uses BCC 2018-06-20 13:32:47 -06:00
nathangray
6baad3bee1 * Calendar - add context menu actions for email & documents to non-list views 2018-06-19 14:35:08 -06:00