Commit Graph

112 Commits

Author SHA1 Message Date
Ralf Becker
75a41ddd9e * Calendar: fixed since last update missing event details, notification iCal adds description with (required) *~*~*~*~*~*~*~*~*~* separator, extended has description before event details and links 2012-08-21 14:50:47 +00:00
Ralf Becker
c6756a4aea * Calendar: if deleting next recurrance of an event series containing alarms, move alarms to next recurrance, to not alarm for deleted recurance 2012-08-14 17:02:54 +00:00
Ralf Becker
18bdcacf0d fixed some more "Illegal string offset" 2012-08-14 07:55:57 +00:00
Ralf Becker
9898162a65 * Calendar: fixed issue of deleted first recurrence shortens event and causes it not to be find in CalDAV or eSync ("event has exceptions before startdate"), REQUIRES SCHEMA UPDATE (visit setup)!
r40103: * Calendar: Try alter description to varchar(16384), to not force temp. tables to disk on MySQL (because of text columns)
r40112: MAX(CHAR_LENGTH(cal_description)) returns NULL, if there are no rows --> casting to int
2012-08-13 13:27:14 +00:00
Ralf Becker
ed403f5301 cast accounts->members(hips) to array, to cope without PHP warnings for not (longer) existing accounts 2012-08-09 08:41:54 +00:00
Ralf Becker
a15fc1457b * Calendar/eSync/CalDAV: meeting requests contain again nice body followed by a separator and describtion, ignore empty description in eSync ChangeMessage 2012-07-24 22:23:54 +00:00
Ralf Becker
8251977fed * Calendar: fixed EGroupware owner got notified about status changes, even if email-notification preference was "never", now only external chairs get always notified 2012-07-17 12:37:14 +00:00
Ralf Becker
f82147a464 as we want ical body to be just describtion, we can NOT set links, as they get appended to body 2012-07-17 09:49:12 +00:00
Ralf Becker
fcf313e900 fixed 5.4 PHP Warning: Illegal string offset 'start' or 'end' 2012-07-02 08:14:46 +00:00
Klaus Leithoff
407397a81c improve notification by allowing to set up specific popup notification messages and subjects; this is used for calendar notification to give worthwile information in popup and meet expectations for ical/rfc type notification 2012-06-13 14:54:54 +00:00
Klaus Leithoff
ea157ce34d fix of typos 2012-06-12 16:18:34 +00:00
Ralf Becker
037ccb85a6 bocalendar_update::email_update_requested() allowing eSync to check if calendar will send a notification according to preferences 2012-06-12 15:44:04 +00:00
Ralf Becker
f5517a1ff8 fixed only partially translated alarms 2012-05-15 14:42:02 +00:00
Ralf Becker
85e1ec131a * Calendar: notification always use language of current user, not of user to notify 2012-05-15 12:51:16 +00:00
Ralf Becker
9d6bce8ed2 * Calendar/EMail: when accepting email invitation from organizer who is an EGroupware user but created invitation outside: if no access to organizers calendar, make organizer a participant with role CHAIR
- show errors from calendar_boupdate::update()
2012-04-24 14:39:55 +00:00
Ralf Becker
24be2fa21d * Calendar: fixed wrong time in iCal of notification, if notifying user is not in server TZ
we need to pass $event[id] so iCal class reads event again, as event is in user TZ, but iCal class expects server TZ!
2012-01-23 02:53:25 +00:00
Ralf Becker
cbf2807997 * Calendar: new (forcable) user preference to notify external participants (non-EGroupware users), event owner has to set it, it is off by default, to keep the current behavior of not notifying externals 2012-01-09 21:53:48 +00:00
Ralf Becker
7efd0f6ff0 * Calendar: fixed groupmembers cant accept/reject group-invitations in listview via context-menu (error: failed because of insufficient rights!) 2011-11-21 14:26:16 +00:00
Ralf Becker
92a1cf4354 fixed alarm on series got lost, if creating an exception 2011-11-11 12:47:04 +00:00
Ralf Becker
fa7a8c5bf1 * Calendar: fixed MyStylite bug #2434: context menu could be used to invite yourself to any event you can read 2011-11-09 09:45:14 +00:00
Ralf Becker
09b4ba803f * Calendar: fixed various issues with history in calendar: id display, unecessary stuff loged, ... 2011-08-04 14:03:43 +00:00
Ralf Becker
f65fd9129f * Calendar: added purge interval of half a year 2011-06-14 18:16:08 +00:00
Ralf Becker
145cf9ce68 New method to display meeting-requests for fmail and allow to (tentativ) accept or reject them 2011-05-27 20:32:46 +00:00
Ralf Becker
30259bfd4c * Calendar: fixed not included organizer in meeting request 2011-05-26 10:48:57 +00:00
Ralf Becker
678d0ed937 AS supports now two types of meeting requests:
a) meeting request arriving per mail via felamimail_activesync::GetMessage(List)
b) EGw internal meeting requests via calendar_activesync::GetMeetingRequest(s)
EGw backend returns both via INBOX to the client device (b) with negative id's to not conflict with mail uid's)
MettingResponse method in EGw backend calls calendar or fmail depending on id
Unfortunately this is NOT yet completly working:
- could not test with fmail, as I have no permanent internet access
- MeetingResponse method of calendar get never called, in fact client never sends one :-(
- meeting requests via calendar a now displayed double:
  a) via calendar_activesync::GetMessage(List), which could be switched off easily
  b) via calendar_activesync::GetMeetingRequest(s)
  client sends no MeetingResponse on either of them, for a) it displays buttons to accept, tentative or decline, but only calls SendMail and ChangeMessage (without status)
--> do NOT update if you already use AS!!!!!!!!!!!!!!!!!!!!!!!!!!
2011-05-15 18:25:16 +00:00
Klaus Leithoff
11411abef5 fix for 'cf_link_fields do not create link on inital save' in calendar: reason no id passed when called tracking for new events 2011-05-11 15:09:16 +00:00
Ralf Becker
440bcb1235 * Calendar: fixed not working "use event TZ" pref for iCal exports and allways use event TZ for calendar notifications (NOT use file export pref.) 2011-04-11 10:59:59 +00:00
Ralf Becker
f4e372747a allways update modified TS and modifier in save(), removed code to only conditionally update in update()
fixes bug that ctag got not updated when eg. a recurrence got deleted
2011-04-07 08:01:48 +00:00
Ralf Becker
0bfd238e3f * CalDAV: store name part of URL from client PUT request, to fully comply with CalDAV spec 2011-04-06 19:26:10 +00:00
Nathan Gray
bc39d9ab5b Add 'Do not notify of these changes' checkbox to list 2011-03-09 17:42:52 +00:00
Nathan Gray
f28fb14572 Add 'Do not notify of these changes' checkbox to edit dialog 2011-03-09 17:26:20 +00:00
Ralf Becker
63e61442c9 * Calendar: fixed in some cases not updated alarms, if event got moved
- sending alarms to CalDAV/GroupDAV clients as offset, not fixed time like before
- only exception to the above are alarms for recuring events to Lightning, which must be absolute, as offset lead to infinit poping up alarms in Lightning
- update all alarm times of other users alarms too, when storing events, as they might not be included in the stored event
2011-03-07 13:49:08 +00:00
Klaus Leithoff
4e07a37116 quieten warning when no participants in function remove_no_acl_invite 2011-02-01 14:28:56 +00:00
Ralf Becker
c9e5921ff1 fixed typo causing $$enddate$$ in notifcation message to show startdate 2010-11-16 13:39:19 +00:00
Ralf Becker
b19c4b3030 * fixed conflict check of resource quantity and storage of changed quantity in existing events
(changed quantity was used for conflict check, but not stored!)
There is still a bug with multiple non-overlapping events overlapping the checked event: check is against quantity sum, not the maximum
2010-11-11 08:51:13 +00:00
Jörg Lehrke
b3e551e74b * Calendar: Fix notification timezone issues (#2746) 2010-11-01 19:17:57 +00:00
Nathan Gray
7ae20bcf12 Update modified time when deleting 2010-10-04 15:09:15 +00:00
Nathan Gray
2b13b73b60 When deleting but keeping events, hold on to links as well so they can be restored if event is restored 2010-09-27 18:03:46 +00:00
Jörg Lehrke
bb9190a669 New content_history approach for calendar synchronization; fix various Sync issues 2010-09-12 20:14:46 +00:00
Jörg Lehrke
13cf31924f Fix find_event() issue 2010-09-11 23:15:05 +00:00
Jörg Lehrke
07063ebf7a Update cal_modified for all required cases; adjust CalDAV ctag function 2010-09-11 18:08:48 +00:00
Ralf Becker
8241be4091 storing deleted timestamp instead of a deleted flag, to allow to use calendar table instead of egw_api_content_history later on 2010-09-09 09:11:57 +00:00
Nathan Gray
db9bbc8460 Don't delete links until purge, same as addressbook 2010-09-02 20:55:37 +00:00
Ralf Becker
be91330030 fixed not working notifications for types:
- responses: on participant responses too (everytime)
- modifications: on all modification, but responses
2010-08-02 14:15:05 +00:00
Nathan Gray
cb3590ebab Do not send notification when a deleted event is purged 2010-06-28 11:15:25 +00:00
Jörg Lehrke
7b850eabb6 Fix recurring event issues for vCal 1.0 imports; fix bug Stylite #646 2010-06-23 14:52:55 +00:00
Nathan Gray
61099d4a89 Move purging of old calendar events to use less API and do more with the DB directly. Hopefully will be a little easier on the DB. 2010-06-14 11:45:00 +00:00
Jörg Lehrke
015245d235 Improved alarm handling 2010-06-07 17:54:29 +00:00
Ralf Becker
22406f6885 fixing call to calendar_so::search() to use new parameters, causing CalDAV to fail 2010-06-01 09:26:00 +00:00
Nathan Gray
586a58a4e7 Fix purging old events to get rid of events for all users, not just the admin that set it. 2010-06-01 07:36:14 +00:00