Commit Graph

38 Commits

Author SHA1 Message Date
Ralf Becker
6ca9cecf01 making the event cache static, to use it in all instances of the bocal class, otherwise different instances use old etags 2008-05-10 20:10:45 +00:00
Ralf Becker
cb9212e691 Calendar can now store participants which are no accounts or contacts.
- as required by iCal/CalDAV/GroupDAV/SyncML
- this also fixes problems with LDAP contacts, which have non-numeric
  ids
- iCal code now converts to and from all participant types supported by
  eGroupWare: some types (eg. ressources) require that the clients keeps
  the new X-EGROUPWARE-UID attribute
- calendar UI allows to enter email addresses via the addressbook search
  box (dont type search, but direct add)
2008-05-08 15:02:35 +00:00
Ralf Becker
5d50d41004 - modified etag/optimistic locking, to always increment the etag, was before only via the GUI
- replaced own "locks" via egw_cal.cal_edit_user/time with the new egw_vfs::lock() methods
2008-05-07 22:12:25 +00:00
Klaus Leithoff
ff0c609b7f try to resolve the icalsrv calendar update problem regarding the etag 2008-04-03 11:55:07 +00:00
Ralf Becker
ae735c80af removed unnecessary instancations and using static methods of html and egw_link class 2008-03-25 15:33:10 +00:00
Christian Binder
5b699573e4 enabled class autoloading for notifications, let admins enable or disable notification backends, security fixes for email and egwpopup backend, unified link arrays used for notifications 2008-01-30 18:58:00 +00:00
Klaus Leithoff
3f5045485a rework, for the handling of new events, and events that get deleted while opened by another user 2008-01-17 15:39:22 +00:00
Klaus Leithoff
573f7f2470 Feature to control the concurrent opening of calendar events.
If an entry which is opened by another user, gets saved by another user before the former commits its changes, the former user is notified at the
time saving the event and asked to reload the event and reedit. A link to reedit is provided.
Additionally there is a feature to inform a user that a given entry is opened by another user within a configurable timespan.
This feature was developed by Stefan Becker
2008-01-15 08:21:25 +00:00
Patrick Bihan-Faou
d97f1eed5e Extend the patch to get_categories in infolog submitted by matthias to the other classes as well.
Added a hack that allows one to search for the categories' names prefixed by X-
Sony Ericsson phones (and possibly others) systematically prepend a X- to the 
category names, so with this patch we match X-CatName just like CatName

This is only done for SyncML obviously.
2007-12-11 09:29:50 +00:00
Ralf Becker
4baff7907b "Fixed problem reported by Eval Plantec on the developers list: no conflict of a group invitation with events of its members" 2007-12-03 17:06:42 +00:00
Christian Binder
895dfe26c6 make calendar aware of possibly missing notification app. if notification app is missing, print an error to php log. 2007-11-29 18:31:24 +00:00
Christian Binder
e72ec7185e Extended notification-app and egwpopup. Added winpopup-backend and email-backend. PHP5.1+ is now mandatory in trunk. For more infos look at the egw-developers list. 2007-11-22 08:29:16 +00:00
Ralf Becker
7b6a1013fc SyncML patches from patrick.bihan-faou-AT-mindstep.com (without
logout+mbstring stuff), small modification to use the already exiting
methodes to generate full name and fileas)
The code is commited to trunk only at the moment to allow testing of it.
If everything goes well, we intend to commit it to 1.4 branch too.
Here's the original description of the patch by Patrick:
- handles the default config for current versions of funambol (i.e. the
scard/stask/snote/scal locations)
- tries to be a bit smarter on how the data content should be encoded
based on what the client specified (sif+base64/vcard, / fragmented or
not, etc.)
- workaround a bug in some versions of funambol, where funambol does not
specify the proper sif type for the type of requested data
- imported patch #117 from egw's tracker
- make sure that the logs generated by the horde code go to stderr so
they can be view in the webserver's logs
- as much as possible reduce code duplication. For example, the
categories are handled in the parent classes for both the SIF avn VCAL
formats for each type of data (addressbook,infolog,calendar).
- make sure the code can handle more than one categories in each
  direction
- treat the 'sony ericsson' vendor string just like 'sonyericsson', the
newer phones apparently have a space in the vendor string... (this
touches some files in the icalsrv as well)
- handle notes: these should now work with everything (funambol or
  other)
- remove more code duplication: the syncml "api" for the various data
types (calendar, contacts, infolog) is now common for both the vcard and
sif data formats (cf the files that need to be removed)
- handle the "privat" filter in infolog like the "private" filter (some
part of the code use the name without the trailing e)
- imported patch # 267 from egw's tracker
2007-09-29 10:29:48 +00:00
Ralf Becker
ba1a1c3e69 changed case to uppercase of the method part of the mime-type of calendar invitations, as lightning ignores lowercase methods 2007-08-27 17:17:36 +00:00
Ralf Becker
09f556d5d4 worked around stupid php5.2 empty haystack warnings 2007-04-29 14:33:17 +00:00
Ralf Becker
c973715bc4 phpDoc compatible headers 2007-03-09 11:39:47 +00:00
Christian Binder
d391c01c42 fix for bug #351 "Mail notification contains invalid link (to non-existant view)" and additionally added "date" to the link to pick the correct state for particpants in recurring events 2007-02-10 18:49:55 +00:00
Christian Binder
15280f17a0 fix for bug #304: Notification for participants sends wrong date for recurring events 2007-02-07 13:51:07 +00:00
Ralf Becker
e1c2f9e639 "fixed bug add rights were not enough to create new events" 2007-01-20 07:11:06 +00:00
Ralf Becker
d5b6efc7f1 several big changes in calendar:
- contacts as participants
- new participants view
- no more explicit view mode, event opens editable, if one has enough rights
--> if one is using trunk on a productive system, better wait 'til this had some testing
2006-12-22 19:51:56 +00:00
Christian Binder
11db342084 give bocalupdate alarms a tolerance of 10seconds to make alarms possible that happen directly on the event start time 2006-10-16 19:50:22 +00:00
Ralf Becker
b71ad4baed fixed "notification link is not working" bug, as pointed out by Bacoverro <Antoni.Matamalas-AT-upcnet.es> 2006-10-02 05:36:55 +00:00
Cornelius Weiß
5f0a31826d php4 temporary workaround for notifications for 1.4 release 2006-09-27 10:03:34 +00:00
Cornelius Weiß
241c1d04cd use new notification app for calendar 2006-09-25 10:29:03 +00:00
Ralf Becker
448a819cb6 fixed 2 errors with the notifications mentioned on the lists:
- the old boicalendar class was tried to call to create ical attachments for meating requests
- the generated link in "extended" notifications was sometimes wrong
2006-07-28 16:30:16 +00:00
Cornelius Weiß
995cc939e9 enable URL pointing to the event in the notification message 2006-03-21 11:25:31 +00:00
Cornelius Weiß
e5c5848f4b notify resource responsible if resource gets inveted 2006-03-19 12:41:01 +00:00
Ralf Becker
6ca6cdcfa9 fixed bug: no conflict with events with group-invitations 2006-03-16 18:03:43 +00:00
Ralf Becker
ff8612fbca fixed problem with SyncML update of recuring events 2006-03-09 21:40:35 +00:00
Ralf Becker
cac3a768eb fix for send_alarm: creating a new alarm for the next recurance 2006-03-07 19:18:15 +00:00
Ralf Becker
0497afc3df - fixed serveral bugs in the conflict checking for resources (with quantity)
- centralized all calls for resource-infos into new method bocal::resource_info, which also caches the data, as the resource app always queries DB
- bocal::search() returns now false, if you have no rights to any of the given users
2006-03-05 10:26:03 +00:00
Ralf Becker
99bfc937e1 rejected Patch from Benjamin Donnachie, which claims copyright on the calendar code and removed the old statement myself! 2006-03-03 09:25:31 +00:00
Lars Kneschke
1b03623316 two patches from Benjamin Donnachie to fix
- async service
- make calendar notifications working again
2006-01-22 19:24:00 +00:00
Ralf Becker
618c554c2f fixed bugs with recuring events in listview:
- opened as their first recurance not the one you clicked on
- recure-information is not shown
2005-12-02 15:34:45 +00:00
Ralf Becker
27c3c7ecb3 - fixed bug in creation of recur-exception for the first recurence
- recuring events: instead of edit+edit-series / delete/delete-series buttons use just edit/delete and a new exception button
2005-11-23 21:39:37 +00:00
Ralf Becker
b111419c1b fixed handling of groups:
- groups can now be selected as participants again
- groups need to have calendar run-rights, to be selectable in the calendar (as it was in 1.0)
- groups will NOT be enumerated as users anymore
--> new or removed members are taken into account as participants
- error messages: if no participant selected or startdate behind enddate (no more automatic swapping)
- pushing the version to 1.2
2005-11-23 14:21:20 +00:00
Ralf Becker
439d23490d merged contacts_and_resources branch again with HEAD
all further development will be in HEAD now
everyone using the contacts_and_resources branch, update again to HEAD with: cvs update -dPA calendar
2005-11-08 23:15:14 +00:00
Ralf Becker
c7c6404500 next step:
- view & edit is now integrated in the views
- view has now buttons to edit, edit-series, copy, delete and delete-series
- add: participants/resources can now be set via the url
- conflict check is coded, but need testing and a conflict display
2005-06-14 21:54:17 +00:00