Commit Graph

1181 Commits

Author SHA1 Message Date
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