Commit Graph

1296 Commits

Author SHA1 Message Date
Jörg Lehrke
7f07102630 Fix participants() deleted attendee issue 2009-10-06 23:30:05 +00:00
Christian Binder
49de506d6f also export servertime if event has no recur_enddate - it could be a weekly or monthly recurring event 2009-10-06 14:29:46 +00:00
Christian Binder
68dc2e4f47 also set date_format if servertime gets set - just for the case that it is used later 2009-10-06 13:20:41 +00:00
Christian Binder
14d4f08b36 added missing param date_format 2009-10-06 12:41:08 +00:00
Jörg Lehrke
1353ae511a Adds TZID/VTIMEZONE support for server timezone entries 2009-10-05 21:00:08 +00:00
Ralf Becker
04d48a677a Implemented display of custom fields in list-view
ToDo: implement search, sort and filtering by them
2009-10-03 07:32:05 +00:00
Ralf Becker
cc91687826 "fixed print without edit rights" 2009-10-01 19:21:37 +00:00
Ralf Becker
d77f7998af "added missing check if recur-endtime is before start, thanks to Hans-Juergen" 2009-10-01 19:16:38 +00:00
Christian Binder
9621d17f28 make ical class ready to propagate a status only exception to a real exception. this is just successful if the user has ACL edit rights on the event - otherwise the propagation attempt gets ignored. additionaly added some logical fixes 2009-10-01 13:30:18 +00:00
Ralf Becker
c38acb88d5 New filter for calendar based on participant status:
- Not rejected
- Accepted
- Invitations
- Tentative
- Rejected
- Owner too: display also events you own, not only ones you participate
- All incl. rejected
- Hide private infos: as usual
--> filter is stored in the user prefs (survives logouts)
--> old "show events you rejected" preference got removed
Also added a hook allowing applications supplying resources to modify
calendar search with SQL.
2009-09-29 19:58:51 +00:00
Ralf Becker
f855b57683 "make storing of cf's aware of arrays
Thanks to Hans-Jürgen Tappe"
2009-09-27 07:59:01 +00:00
Jörg Lehrke
327bd79662 Improved find_event() for propper pseudo recurrence exception handling during Slow Syncs 2009-09-24 22:29:22 +00:00
Christian Binder
bbe301095e fixed alarm handling: dont touch / ignore alarms being set for all users or alarms of other users since most clients do not know specific owners for alarms 2009-09-23 08:08:37 +00:00
Christian Binder
5602cac698 complete rework of the ical import part: removed unclear 1:N relations, introduced get_event_info method which completely classifies incoming events first, removed code duplicates, re-organized importVCal() to have a more linear code structure and to make debugging easier in future. -- please forgive me if i may have introduced some bugs with that but its a huge change --" 2009-09-22 13:43:55 +00:00
Ralf Becker
ff0f2dcbbe run wrong values in error message through htmlspecialchars() 2009-09-21 06:51:05 +00:00
Christian Binder
b3f5fc282b removed init of unused var minimum_uid_lenght in importVCal() 2009-08-26 12:14:41 +00:00
Jörg Lehrke
c902314499 Fixes user status update issue 2009-08-24 17:22:05 +00:00
Jörg Lehrke
babe8f056c * Adapted to new database schema with reference/recurrence
* Group invitation handling
* Fixes for pseudo recurrences
2009-08-23 19:26:14 +00:00
Christian Binder
faa51609ae user messages adjusted again. another attempt to make it clear for the user whats happening with event series and single occurrences of the event - if someone finds a better solution please edit 2009-08-17 21:15:40 +00:00
Christian Binder
1d5b6b6828 prevent privileged user from pressing "save" or "apply" if just a status of a single recurrence was changed - otherwise a real exception will be created 2009-08-17 20:05:46 +00:00
Christian Binder
2db8bd6c9c complete rework of participants() method. The only purpose of this method is now to add or delete participants - NOT to overwrite stati. Added a new param "add_only" to have the possibility to check for the existence of a single participant in the egw_cal_user db and add this participant if needed. This is used for e.g. group invitations where a default set of stati does no primary exist for the user. 2009-08-17 14:45:42 +00:00
Christian Binder
1793a546e3 give a response to the user on how many occurrences have been changed. Display the correct participant status depending if a single occurrence or a whole event series is displayed. 2009-08-17 14:38:18 +00:00
Christian Binder
45dfa1ab0d fix: new supported field "recurrence" was named "reference" 2009-08-17 10:34:22 +00:00
Christian Binder
77de24e563 manually insert or truncate the recurrences when changing enddate. recurrences rebuild (and stati reset) is now minimized to the following cases: move startdate/enddate, change recur_type, change recur_interval 2009-08-10 09:24:39 +00:00
Ralf Becker
da981bb02f "fixed problem reported in bug #2202 and on the devel list: Database Error when modifying the time of a calendar event
wrong SQL (UPDATE with ORDER BY) was introduce in SyncML-1.2 patch, no idea what the idea behind was ..."
2009-08-09 07:51:27 +00:00
Ralf Becker
0a1a7f4637 some more role related fixes: updating participants, if quantity or role changes 2009-08-07 10:20:58 +00:00
Christian Binder
a41aceaaae fixing wrong recurrence value: value should always be set to the effective date of the recurrence 2009-08-07 09:26:11 +00:00
Ralf Becker
bb5511cc9f - methods to combine and split status, quantity and role
- $ignore_acl parameter for calendar_boupdate::delete()
- removed setting owner always as participant: owner is allowed to
  remove himself as participant from an event
  (owner only get's set, if there are no other participants in BO)
2009-08-06 11:29:05 +00:00
Ralf Becker
7742b606f8 "- storing and setting ROLE
- storing and setting resource quantity as X-EGROUPWARE-QUANTITY"
2009-08-04 17:37:49 +00:00
Ralf Becker
c29ab01e8d - added ability to store participant roles to calendar backend,
currently not settable via GUI, but GUI leaves them untouched
- showing quantity for resources in brackets behind resource name
- docu and formatting updates all over the place
2009-08-04 17:14:16 +00:00
Klaus Leithoff
4a7c8737bb calendar integration from H.J.Tappe Listview/Multiple Weekview, to show Calendar events in sitemanager sites. Simple Demo http://213.183.76.121/TrunkWebSeite/?category_id=45; Some documentation of abilities and howto available with egroupware.org Tracker Patches Sitemgr #1991, 1993 and 1994 2009-08-03 09:51:35 +00:00
Jörg Lehrke
79b1279028 Fixes Export of Yearly Recurring Events and eGW Coding Standards 2009-07-30 20:52:13 +00:00
Ralf Becker
5aa62b71b9 "- first step of using new recurrence field
- fixed some wrong idention"
2009-07-28 08:58:39 +00:00
Nigel Vickers
7d2308bedf add switch based logging to default file /tmp/log-vcal or if set ['server']['temp_dir']./log-vcal 2009-07-24 14:18:57 +00:00
Ralf Becker
841aef5769 "fixed typo (in commented code) phpgwpai" 2009-07-24 10:34:20 +00:00
Ralf Becker
560f18bacd - added new colums cal_creator, cal_created for easier deleting of
doublicates from failed sync
- added cal_recurrences timestamp for exceptions (ts of original
  recurrence), for existing exceptions update script uses
  the closest recur_exception date/time for it
- using uid of original series for new recurrence exceptions,
  update script does NOT update the uid's of existing exceptions
- displaying (maybe temporary) these data in the recurrence tab
2009-07-23 16:14:22 +00:00
Christian Binder
5b263e23eb removed the "all future" field from participants states. Instead added uniform behaviour with existing event handling when editing a single recurrence or all recurrences. The message being displayed when editing a single recurrence read only is just meant as a proposal. Stylite usability PROs, please adjust this to whatever you want to. 2009-07-22 15:38:58 +00:00
Jörg Lehrke
7b6da8320a Fix SIF Parser again 2009-07-20 19:38:12 +00:00
Jörg Lehrke
71dfd3b2bb Fix SIF Parser 2009-07-18 22:36:44 +00:00
Jörg Lehrke
3fdb693e35 Fix whole day events 2009-07-18 12:40:58 +00:00
Christian Binder
3d1cb839ce so class STEP2: re-insert recurrences for deleted exceptions manually to avoid the forced rebuild of all recurrences and states 2009-07-17 17:16:34 +00:00
Christian Binder
e77ed49566 so class STEP1: reverted wrong recurrence rebuild with $max. fixed not working move() method for egw_cal_user. fixed participant status orphans 2009-07-17 14:49:19 +00:00
Ralf Becker
86db825cbf "more RECURRENCE-ID stuff:
- disabling it on import, as we cant overwrite a cal_id with a timestamp
- fixing it on export, finding the closest exception to return it
- using array_merge to merge virtual and real exceptions, as + overwrites numeric keys"
2009-07-17 12:08:45 +00:00
Ralf Becker
81a4097818 removed depricated assignment by reference 2009-07-17 11:29:45 +00:00
Ralf Becker
d3e2130c25 removed depricated assignment by reference 2009-07-17 11:29:15 +00:00
Ralf Becker
0e3f456fe1 "RECURRENCE-ID: $event['reference'] is a calendar_id, not a timestamp" 2009-07-17 10:15:22 +00:00
Jörg Lehrke
9f377914c9 fix recurrence exception issue 2009-07-16 19:42:50 +00:00
Ralf Becker
cb0fc5db82 - merged SyncML-1.2 branch with trunk:
svn merge -r 26935:HEAD ^/branches/SyncML-1.2/calendar .
- with the exception of class.calendar_uiforms.inc.php,
  as it was not updated with the latest changes from trunk
  and I'm not sure about the changes
--> needs further discussion, sorry :-(
svn revert inc/class.calendar_uiforms.inc.php
2009-07-15 20:35:56 +00:00
Ralf Becker
8dc163f04f some modifications to get iPhone working with EGroupware 2009-07-14 19:51:03 +00:00
Klaus Leithoff
1ac7c459c3 fix for lost owner selection in manage_states 2009-07-09 09:50:47 +00:00
Klaus Leithoff
00c55151e3 fix for "Column 'account_id' in field list is ambiguous" ERROR while importing events 2nd.go 2009-07-09 08:32:18 +00:00
Klaus Leithoff
7edb16d35a fix for "Column 'account_id' in field list is ambiguous" ERROR while importing events 2009-07-09 08:10:29 +00:00
Ralf Becker
8f4960f9b4 "fixed messed up indention" 2009-07-08 10:29:06 +00:00
Ralf Becker
1e58b525d1 "fixed messed up indention" 2009-07-08 10:22:11 +00:00
Klaus Leithoff
234bd6dba6 fixing calender empty resource problem (add event, edit participants) 2009-07-02 11:26:52 +00:00
Ralf Becker
53e7c66f51 "fixed group invitations got changed to regular invitations, after inviting a second group" 2009-06-18 13:21:05 +00:00
Stefan Becker
ca6164f5ce fixed with klaus the Group initation behavior, Readaccess you can also invite participants, but you can only change the status, if you have edit rights 2009-06-18 12:08:37 +00:00
Stefan Becker
78ce775f17 freebussy ACL added into calender. Now if you only give that right, you will see, that the time is blocked without a read right of user or group. But will see everything as private 2009-06-09 12:16:15 +00:00
Ralf Becker
232252475f patch fixing many depricated functions (eg. posix regular expressions) and features, which fill up the error_log under php5.3 (and will no longer be available under php6).
Patch is mostly created by script in egroupware/doc/fix_depricated.php in separate commit.
I do NOT advice to apply this patch to a production system (it's commited to trunk!), as the automatic modified regular expressions have a good change to break something ...
2009-06-08 16:21:14 +00:00
Ralf Becker
772c9e57e8 "docu update" 2009-05-06 09:11:37 +00:00
Ralf Becker
272817b1c7 "added cols and append parameter from calendar_so::search to calendar_bo::search too" 2009-05-04 22:52:48 +00:00
Ralf Becker
2845873bae - docu update
- 2 new (optional) parameters for calendar_so::search()
2009-05-04 22:39:27 +00:00
Ralf Becker
0275b183dd "small fix of last commit for new (not already saved) events" 2009-04-29 14:31:58 +00:00
Ralf Becker
a3adbcecd6 fixed freetimesearch, which failed to work with new default etemplate requests stored directly in the form, using the new ajax_submit() function of etemplate 2009-04-29 14:17:46 +00:00
Ralf Becker
b31aa4ae62 need to include API's common_functions to use check_load_extension 2009-04-28 12:48:27 +00:00
Ralf Becker
9e3c1df37a "bugfixes for sidebox menu under prefs or admin:
- do NOT process the $_REQUEST vars
- if user changes selectboxes, go to default calendar view"
2009-04-20 15:44:24 +00:00
Ralf Becker
aca05a32e3 using new check_load_extension function 2009-04-20 12:43:44 +00:00
Ralf Becker
bbcb856b77 "fixed not correctly translated holidays downloaded from egroupware.org
(charset was not recogniced because of HTTP headers before charset line)"
2009-04-09 07:13:01 +00:00
Klaus Leithoff
085961d7e1 njv: calendar/groupdav work to improve groupdav compatibility and various sync proplems connected 2009-04-02 12:35:26 +00:00
Ralf Becker
9d55dfa69e "fixed not working status change of participants of type email ('e')" 2009-03-24 08:06:05 +00:00
Ralf Becker
18372ab45e "fixed not working multiget report (caused by .ics extension of calendar ressources)" 2009-03-20 08:57:17 +00:00
Ralf Becker
b587bab7d1 "other docu update and removed an unnecessary (doublicate) condition" 2009-03-20 08:17:54 +00:00
Ralf Becker
f5015cf6e8 "fixed wrong class-name for $this->so" 2009-03-20 07:55:22 +00:00
Klaus Leithoff
38bf424a25 speeding up search, by using a view to retrieve the participants 2009-03-16 13:50:03 +00:00
Klaus Leithoff
29a622e641 handling mailing events: dont add groupmembers if they already rejected the event, or are the current user 2009-03-05 15:52:57 +00:00
Klaus Leithoff
6e0d963eb7 handling double-mailing to participants by checking the mailadress list before adding 2009-03-05 15:18:40 +00:00
Klaus Leithoff
7f49b31963 fixing a misplaced . that prevented the creating of new events 2009-02-25 12:25:10 +00:00
Klaus Leithoff
8b4932dd11 handling/improving bookability of resources and their availability 2009-02-25 10:55:38 +00:00
Stefan Becker
e7f82e886c Add a print template to print a single calender event 2008-12-18 14:47:21 +00:00
Klaus Leithoff
632003f9fe buffer and provide debug on missing participants to an event 2008-12-11 13:44:47 +00:00
Klaus Leithoff
96491ed272 more debug for calendar notification 2008-12-09 14:02:10 +00:00
Ralf Becker
bc59bd9fb8 fixed missing .ics extension in Location header after PUT 2008-11-18 06:11:12 +00:00
Ralf Becker
bf8bae23e7 patch #1455: alarms for recuring events originating in past 2008-11-17 19:06:27 +00:00
Ralf Becker
fbf5586ce3 "fixed bug reported by Peter Goerzen: UID was not exported (which caused some automatic uid-generation in horde to kick in and messes up CalDAV/GroupDAV)" 2008-11-17 16:31:59 +00:00
Ralf Becker
1baa158195 Big SyncML patch from Philip Herbert <pherbert(at)knauber.de>:
- change the processing of slowsync, to use the content_map instead of
  trying to build a new one. This caused duplication issues on the
  client if multiple similar records where stored, because only the first
  one found in the server-db was matched, These duplicate entries at client
  side had no entry at serverside, so deleting the wrong one
  on the client (the content with a valid map entry) could cause
  unwanted data loss at server side, because it is impossible for the
  user to see what is a duplicate, and what is not.

see also: 
http://www.nabble.com/again---syncml-duplication-issue-to20333619s3741.html

- reenabled UID from syncml clients, because it was partly used this caused
  issues during SlowSync if the content was changed. 

- infolog, calendar if a uid is found in the provided data, allway try to
  find the corresponding content first   using only the UID, instead of
  using the content-id taken from content_map.

also fixed:

- a few fixes in ./notes
- creating an entry on the client that can not be imported,
  (Example, Nokia E Series Appointment without a Title)
  will no longer create an invalid content-map entry
  However, at client side this is still counted in the Protocol as
  Server-Add
2008-11-16 10:42:29 +00:00
Ralf Becker
6498abb3e3 "adding importing user to an event newly imported via iCal: without that an iCal which did not contain the eGroupware mail address of the user will be inaccessible" 2008-11-14 07:39:36 +00:00
Ralf Becker
8991124ced "fixed sql error reported by Hans-Juergen Tappe on the developers list" 2008-11-14 07:25:09 +00:00
Ralf Becker
19342d9119 "enclosing ATTENDEE CN parameter in double quotes, as it seems to be required by Outlook to correctly use non-ascii chars in attendee CN" 2008-11-12 15:21:21 +00:00
Ralf Becker
bc1b45f873 "fixed missing CHARSET for CN in ATTENDEE, reported by Hans-Juergen Tappe <tappe(at)hek.uni-karlsruhe.de> on the German list" 2008-11-12 13:52:38 +00:00
Ralf Becker
dd5c9728d7 "- fix inspired by Moe's patch on the German list: dont add users selected in calendar, if booking a ressource
- fixed not added ressources, if booking is done in the calendar of a ressource"
2008-11-12 09:22:45 +00:00
Ralf Becker
46943b0200 "fixed not working import of multiple iCals in one file" 2008-11-07 13:57:32 +00:00
Ralf Becker
43f860ba8f Reworked GroupDAV and iCal/vCard handler to set 'GroupDAV' as product
manufacturer and the recogniced GroupDAV client as product name.
This way we are able to handle different GroupDAV clients, as we
allready do with different SyncML clients.
Also removed the no longer needed code enabling the use of the real UID, 
as SyncML does no longer misuse the UID for it's GUID.
2008-11-03 09:36:20 +00:00
Ralf Becker
71edd1c938 Big patch from Philip Herbert (Knauber) modifying the SyncML code to no
longer use GUIDs containing eGW's install_id, as the information is
irrellevant for SyncML and cause doublications of entries if the
install_id changes.
I plan to have a new rc4 Wednesday or Thursday containing these changes.
2008-11-03 07:44:02 +00:00
Ralf Becker
3f760048c6 "fixed SQL error \"unknown column 'id'\" in CalDAV reported by Christoph Kaulich on the German list" 2008-11-01 10:37:53 +00:00
Ralf Becker
7e74bf28f0 "fixed problem reported by Moe on the German list: if a ressource category is displayed, all displayed ressources are add to the event (eg. all meeting rooms)" 2008-10-25 06:43:15 +00:00
Ralf Becker
d76143310e "improved import of iCal, specially participants" 2008-10-22 09:32:14 +00:00
Ralf Becker
6777a093bf "removed postfix from etag, was there only for some testing, but was forgotten" 2008-10-20 17:36:03 +00:00
Ralf Becker
6ae2813e65 patch #1624 from Regis Leroy: check resource availablity on search and config to deny resource reservation on private events, plus German translation 2008-10-10 10:24:31 +00:00
Ralf Becker
9fd543d8c6 file_access hook for attachments 2008-10-07 09:03:01 +00:00
Christian Binder
72115c0ae4 added saving states to user prefs in calendar. the only saved state until now is owner, but this can be simply extended in future. 2008-10-07 08:57:09 +00:00
Ralf Becker
dab4aa74b6 use the client UID for all iCal exports, but SyncML 2008-10-05 09:22:45 +00:00
Ralf Becker
4a6dbe37fd "exporting whole day events with dates instead of times for DT{START|END}, as other clients fail to recognice them as such otherwise" 2008-10-05 07:56:50 +00:00
Ralf Becker
64e992ff79 "fixed not working multiple week view on home" 2008-09-25 05:54:40 +00:00
Ralf Becker
6a8e9471b6 make color of writing in event headers depending on the brightness of the choosen category color, fix for bug #1717 2008-09-13 12:43:14 +00:00
Ralf Becker
13bb027ab9 "fix for bug #1710: email detection when adding participants cause false 'email search' records" 2008-09-10 05:44:29 +00:00
Ralf Becker
93ec854bf6 "Patch from Phillip Herbert from Knauber to support Nokia X-EPOCAGENDAENTRYTYPE' = 'EVENT'" 2008-09-03 17:13:54 +00:00
Ralf Becker
c1e057feb5 "fixed bug reported by Hans-Juergen Tappe <tappe(at)hek.uni-karlsruhe.de>: list view not working on home page" 2008-08-15 05:09:05 +00:00
Ralf Becker
7ce97ba699 - .ics extension for todos and events
- new GroupDAV v2 component-set attribute for collections
- getlastmodified & getcontentlength properties for infolog propfind
- fixed propfind on a single infolog entry to return just that entry
- getcontenttype of vevent and vtodo collection returns extra component
2008-08-04 19:08:09 +00:00
Ralf Becker
57293bca75 "fixed wrong display of email-type participants (caused by class rename)" 2008-07-29 05:13:45 +00:00
Stefan Becker
49897197c0 "hack to display the js calendar under IE 6 and PNGfix" 2008-07-24 08:48:50 +00:00
Stefan Becker
3e758e812c "Patch for IE 6/7 and Listview custom search for selected range" 2008-07-22 08:54:40 +00:00
Ralf Becker
667eb5eb82 "order participants addtionally by status: unknow first, then tentative, accepted and last declined" 2008-07-18 11:36:09 +00:00
Régis Leroy
23f038f74a some comments 2008-07-11 08:17:22 +00:00
Ralf Becker
fa140e80ee "fixed not working change to planner group" 2008-06-12 08:25:57 +00:00
Ralf Becker
f30dc25a71 "an other fix for the cal prefs menu in prefs" 2008-06-12 08:03:29 +00:00
Ralf Becker
589d2be6b8 "typo preventing the cal prefs to be displayed" 2008-06-12 08:00:02 +00:00
Ralf Becker
7d2cc04b6c an other missing rename: boical --> calendar_ical 2008-06-12 07:33:44 +00:00
Ralf Becker
952ce04f03 "missing rename boical --> calendar_ical, uiforms --> calendar_uiforms" 2008-06-12 07:06:29 +00:00
Ralf Becker
c86025cae3 formatting 2008-06-12 07:03:23 +00:00
Ralf Becker
56c4f47c30 wrong weekdays after autoloading of so class (happens after using the constants) 2008-06-12 07:03:06 +00:00
Ralf Becker
bc6f5c6a21 missing rename boical --> calendar_ical 2008-06-12 07:02:18 +00:00
Ralf Becker
26b9126bf6 "missing rename to store alarms correct" 2008-06-10 04:22:37 +00:00
Ralf Becker
9bd973dbb9 "fixed not displayed calendar home page" 2008-06-08 12:37:13 +00:00
Ralf Becker
c6b267758f "fixed not displayed calenar properties" 2008-06-08 12:33:07 +00:00
Ralf Becker
3ed18683a3 propset svn:keywords Id 2008-06-07 18:11:56 +00:00
Ralf Becker
ef1db01306 "new calendar hooks class" 2008-06-07 18:06:36 +00:00
Ralf Becker
25b1924665 no extra charset attributes in iCal for GroupDAV/CalDAV 2008-06-07 17:54:40 +00:00
Ralf Becker
f11875aad9 new class naming schema 2008-06-07 17:49:16 +00:00
Ralf Becker
ef700b0061 new class naming schema 2008-06-07 17:45:33 +00:00
Ralf Becker
ab8a36cede seems not to be used (anymore) 2008-06-07 09:50:41 +00:00
Ralf Becker
f4dc91428b not used anymore 2008-06-07 09:47:16 +00:00
Ralf Becker
e2f749c86b "taking into account timezone of iso8601 date in bocal::date2ts(), eg. used in time-range filters in CalDAV" 2008-06-04 13:22:11 +00:00
Ralf Becker
ea6f443858 "fixed default timerange allways overriding the given time-range in REPORT" 2008-06-04 11:07:45 +00:00
Ralf Becker
e035498517 "fixed warning if only an allprop is present" 2008-06-03 17:22:59 +00:00
Klaus Leithoff
ead39f58a6 commented out the error_log -ing in socal 2008-05-28 08:40:38 +00:00
Ralf Becker
7ba02f326a "UPPS typo" 2008-05-20 10:23:23 +00:00
Ralf Becker
b07dd8ef9e "cadaver reports entires as not found, because modified and contentlength were not set" 2008-05-20 09:07:03 +00:00
Ralf Becker
9f30e824b0 enforce a certain strength of uid, as some clients set quite weak ones) 2008-05-20 04:59:26 +00:00
Ralf Becker
17ce8469fe "fixed problem with Lighting: a weekly repeating event of a single weekday does not set BYDAY" 2008-05-17 14:34:23 +00:00
Ralf Becker
89eba8038d allow status update via CalDAV/GroupDAV PUT and DELETE for attendees (with no other rights on the event), moved that code from bocalupdate (wasnt working because of wrong param code) to boical, this should work for SyncML and CalDAV/GroupDAV - thought SyncML does not handle the delete to reject an event so far 2008-05-17 13:00:34 +00:00
Ralf Becker
d884a13521 "fixed problem reported by Peter Goerzen: sql error creating an exception" 2008-05-16 11:02:46 +00:00
Ralf Becker
ce59f97204 using / as calendar-home-set and fixed return code for PUT requests on the UID 2008-05-10 20:12:20 +00:00
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
415527b677 using renamed addressbook_bo 2008-05-10 20:07:50 +00:00
Ralf Becker
974faa7483 "using renamed addressbook_bo" 2008-05-10 20:06:39 +00:00
Ralf Becker
d2e9143213 First version of new CalDav/CardDAV/GroupDAV access for calendar and
addressbook (infolog will follow).
CalDAV is tested so far with lightning 0.8 and Apple's iCal. Please note
that both distinguish between iCalServer and CalDAV!
The URL is currently http://domain.com/egroupware/groupdav.php/calendar/
2008-05-08 20:31:32 +00:00
Ralf Becker
9d7e48fcaa use a cn given+family name, instead of link title for contacts 2008-05-08 20:19:20 +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
Ralf Becker
121752ed72 "MAILTO href in ATTENDEE, is just the email address, NO cn" 2008-05-07 09:09:33 +00:00
Ralf Becker
faae1ce6b6 "allow to (optionally) pass etag to importVCal, to check and fail if event is changed (needed by GroupDAV/CalDAV)" 2008-05-06 21:57:32 +00:00
Ralf Becker
36858cf2c2 "new parameter for exportVCal to export the UID the client sent and not the calendar-id-installid one, that's required by many GroupDAV/CalDAV clients and also the recommend behavior according to the RFC, it's off by default to not break SyncML" 2008-05-06 21:05:56 +00:00
Klaus Leithoff
62c3d6c967 try to resolve the icalsrv calendar update problem regarding the etag 2008-04-03 11:57:12 +00:00
Klaus Leithoff
ff0c609b7f try to resolve the icalsrv calendar update problem regarding the etag 2008-04-03 11:55:07 +00:00
Patrick Bihan-Faou
fb32ab9d01 Add support for vcalendar 2.0 valarm elements
tracker #1480, thanks for the patch
2008-03-27 08:29:54 +00:00
Patrick Bihan-Faou
2b1ee9c0ef Recognize 'nexthaus corp' just like 'nexthaus corporation' for blackberry users.
Fixes tracker #1478, thanks for the patch.
2008-03-27 07:50:35 +00:00
Ralf Becker
f35e97af13 "fixed halfway transformed link class" 2008-03-26 12:23:26 +00:00
Ralf Becker
5aa6c90625 removed unnecessary instancations and using static methods of html and egw_link class 2008-03-25 15:38:52 +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
Ralf Becker
8a6d33744a "fixed typo: datatime --> datetime" 2008-03-22 09:23:14 +00:00
Ralf Becker
30ede51997 using static html methods and autoloaded $egw->objects 2008-03-21 20:30:19 +00:00
Ralf Becker
066578711f "fixed recuring events (only one event was displayed)" 2008-03-20 12:49:34 +00:00
Ralf Becker
0544890713 Multiple week view and fix for daylight saving time change problem reported by Manfred on the german list 2008-03-20 08:54:18 +00:00
Ralf Becker
97c5b06441 "fixed problem of last commit (creating new dates dont work), reported by Uwe Redecker on the German list" 2008-03-17 09:06:08 +00:00
Ralf Becker
65541b4a33 using the global db object 2008-03-15 14:10:20 +00:00
Klaus Leithoff
ce1afa2ce8 attempt to fix a sync problem regarding recurring events: append T and the (End)time, since the RRULE seems not to be understood by the client
without the THHMMSS tail (Where HHMMSS is something like 211465, a time with hour minute seconds appended)
2008-02-28 11:11:34 +00:00
Klaus Leithoff
5fc31705b2 fixed a bug/typo reported by stefan becker 2008-02-11 07:53:54 +00:00
Klaus Leithoff
fb1608b8b0 and corrected som spelling problems 2008-02-07 14:48:26 +00:00
Klaus Leithoff
f994b17b3e Added the needed languagefiles and translated some more lines 2008-02-07 14:31:14 +00:00
Klaus Leithoff
d57e906f65 feature regarding recuring events. ask user to edit either an exeption or the series. this was sponsored (together with the listview features) by
Verwaltung UNI-MAINZ, and developed by S.Becker.
2008-02-07 13:59:34 +00:00
Ralf Becker
e7a3f37f06 fix for bug reported by audiohazard-at-gmx.de on the devel list 2008-02-07 04:35:12 +00:00
Ralf Becker
0a716b3342 _GET parameter to directly create an exception (for Stefan to add Outlook like questions "Do you want to edit the serie or just this event?"), parameter is exception=1 and works only for recuring events 2008-02-07 02:38:55 +00:00
Klaus Leithoff
1163804989 feature to have a bit more possibilities to set your own calendar listview, by offering title,description,owner,location and recure as single column,
and offer to display start and enddate as date with either dow,weekday or both prefixed before the date
2008-02-05 15:50:54 +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
50ff47def7 fixing a possible Problem in save_edit_user. This should be it now 2008-01-24 10:13:00 +00:00
Klaus Leithoff
fc6216fd78 problems with the egw_cal update in save, causes a lot of trouble. 2008-01-23 10:58:16 +00:00
Klaus Leithoff
d204144ea3 old dates could not be updated, so we fixed that. 2008-01-23 07:40:09 +00:00
Klaus Leithoff
043930cfb9 listview, small bugfix for the weekview dayrange. 2008-01-21 13:22:47 +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
Ralf Becker
b274e9ce22 new calendar config to not display birthdays, or to remove the year 2008-01-17 05:58:10 +00:00
Klaus Leithoff
1812979a6b missing language entrys and setting the referer to the uical->view_menuaction value. this way after save/apply/cancel you get back to the choosen
view
2008-01-16 14:49:02 +00:00
Klaus Leithoff
086783e462 small bugfix for the referer for the reload link, if the edited entry was changed before the commiting of the changes 2008-01-16 12:25:35 +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
Ralf Becker
c44e546285 "Fixed problem created by viewing calendars in the far future.
The calendar horizont, responsible for how far in the future unlimited repeating events get rendered, 
would previously be moved to that date, even if it was far in the future like 2030.
Now all requests for more then 1000 days in the future get simply ignored."
2007-12-20 19:53:06 +00:00
Ralf Becker
483aa9a343 "fix for postgres problem reported by Hertell <nabble.com-at-hertell.com>, sql error when you filter by a category with sub-cats" 2007-12-13 16:04:34 +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
810aa25ebd "fixed for bug #1011: Mail all participants -dosen't fill in members of groups" 2007-12-11 07:13:08 +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
c9432e9b81 "Patch from Nigel to support participants on Windows Mobile/PocketPC Synthesis clients" 2007-11-11 10:37:52 +00:00
Ralf Becker
257aa829a3 "fixed typo reported by Thomas Hoth on the developer list, causing calendar sync in trunk to fail if the clients wants categories" 2007-10-20 06:05:24 +00:00
Ralf Becker
5c4ae9329c "reverted patch from Patrick, as setting an exception is not longer working" 2007-10-12 17:41:40 +00:00
Ralf Becker
1d7cb251f2 patch #1035 from Ulrich Spoerlein: Wrong single icon even if there are (external) participants 2007-10-12 06:42:55 +00:00
Ralf Becker
628f9e1e0b removed daylight saving fix, as it caused what it is suppost to fix: exported events with a different daylight saving are wrong by one hour 2007-10-10 15:10:34 +00:00
Christian Binder
ebcb1ba793 convert old eGW whole day events enddate to correct ical value 2007-10-10 07:03:58 +00:00
Ralf Becker
f0a2cd141e removed files used by the removed idots2 template set 2007-10-09 08:50:06 +00:00
Ralf Becker
49ed423e86 fixed wrong total in search, if there are not to show rejected events 2007-10-09 08:00:42 +00:00
Ralf Becker
c89a55fb10 "fix for bug #1245: Export ical dont work: Call to undefined function is_nummeric()" 2007-10-02 12:01:35 +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