Commit Graph

65 Commits

Author SHA1 Message Date
Ralf Becker
acf3e9edbe * Calendar/CalDAV/eSync: tremendious speed improvment for sync-queries on huge installations (few milisecs instead of more then 2 minutes) *** REQUIRES SCHEMA UPDATE *** 2012-09-18 11:40:32 +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
cd65835d47 fixed PHP Strict Standards: config::save_value must be declared static to be used static (no longer allowing non-static usage!) 2012-07-14 08:57:29 +00:00
Ralf Becker
cec9e39582 * Calendar/CalDAV: Add index for cal_modified and cal_user_modified to improve performance of ctag and etag generation on big installtions
Running this update is NOT required, calendar and CalDAV will continue working without, therefore I backported it to 11.1
2012-01-04 21:46:09 +00:00
Ralf Becker
196f461de7 * Calendar: added windows timezones to all installations (was added in calendar update 1.7.005, but not to new installs) 2011-10-07 05:08:33 +00:00
Ralf Becker
c13c463143 Using cal_modified as deleted-timestamp, as querying it from SyncML tables creates too many problems (refresh table stops before copying all rows!) 2011-07-01 08:30:51 +00:00
Ralf Becker
0f2983a504 delete in the past wrongly created entries for a singel recurrence, which mess up the update, beside being wrong anyway 2011-06-21 07:48:16 +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
Ralf Becker
7f29cd8530 fix for postgreSQL bug reported by Anthony Messina (amessina-at-messinet.com): sync_contentid is varchar(60) and need explicit cast: added egw_db->to_int($expr) 2010-09-10 07:11:22 +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
Ralf Becker
50c43deec9 updating verson to 1.8 2010-09-05 15:24:34 +00:00
Nathan Gray
074b893e37 Change preserving deleted events. For speed improvements, use an extra column instead of joining to the sync tables 2010-04-22 16:09:36 +00:00
Ralf Becker
a1332b56cc two more indexes to speed up sync 2010-04-14 12:19:02 +00:00
Ralf Becker
50ae17055f Create an index over egw_cal_user.cal_user_type and cal_user_id, to speed up calendar queries 2010-03-04 15:39:52 +00:00
Christian Binder
ad47ebfafc adjust calendar db to have correct UIDs and RECURRENCE-IDs. PLEASE READ THE NOTES in the forum before you update (Subject: IMPORTANT NOTE FOR ALL SYNCML USERS) 2010-02-03 18:17:39 +00:00
Christian Binder
2e71e7e80f database updates: fix whole day event cal_end times and fix wrong recur_interval values. The first fix reduces duplicates on SyncML slowsyncs. The second fix prevents event series from being destroyed when a new exception was created on series created on previous EGw versions. Please update your databases. 2010-01-14 17:12:11 +00:00
Ralf Becker
4865854281 Added aliases for Windows timezone to standard TZID's 2009-11-10 19:37:27 +00:00
Ralf Becker
4e9120ecf0 New tz_id column in egw_cal storing id into egw_cal_timezones
Please note: timestamps in egw_cal* tables are in server-time,
tz_id / timezone is only used to (re-)calculate recurrences and to
export in iCals (NOT yet implemented)
2009-11-04 15:00:08 +00:00
Ralf Becker
867636861e Added calendar table for timezones:
- timezone data is imported from SQLite DB from Thunderbird Lighting 1.0pre
- contains iCal VTIMEZONE component
- also contains not yet used latitude and longitude for timezone
- methods to convert between TZID string, nummeric tz_id and VTIMEZONE
  iCal component
--> preparation to store timezone information for each events
    (using tz_id as foreing key into egw_cal_timezones table)
2009-10-31 14:47:16 +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
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
Ralf Becker
42824ef687 "reworked calendar update 1.5.002 --> 1.6, to fix the method names in alarms
If you have alarms set and your calendar is already updated to 1.6, you have to rerun that update by setting the calendar version again to '1.5.002' and visit setup again:
UPDATE egw_applications SET app_version='1.5.002' WHERE app_name='calendar' AND app_version='1.5.002'"
2008-06-10 04:48:19 +00:00
Ralf Becker
ef700b0061 new class naming schema 2008-06-07 17:45:33 +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
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
14fc433fcf updated application versions 1.4 and dependencies accordingly (API is still 1.3.xxx 'til the first RC) 2007-04-30 09:10:36 +00:00
Ralf Becker
a92c5ea81a new egw_cal.cal_special integer column, to flag calendar entries as eg. birthdays/aniversaries (1). Plans are to use this to store the holidays and and linked entries of timed infolog (eg. phonecalls) too. 2006-08-21 08:15:14 +00:00
Ralf Becker
e644513233 fix to get old alarms (saved before 1.2) working again 2006-04-30 12:52:14 +00:00
Carsten Wolff
99cb0bd567 fixed a handfull of bugs that broke setup/update from 1.0 to 1.2 2006-01-06 16:21:51 +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
67ed35e6ea fix for bug [ 1106014 ] Problems with recurring events (several bugs) 2005-02-10 00:13:37 +00:00
Ralf Becker
d582d8b68f changed calendar schema, title to varchar(255) as requested by Matthew Galgoci 2004-10-18 21:29:11 +00:00
Ralf Becker
ff84561c98 removed unnecessary RefreshTable 2004-08-13 20:36:28 +00:00
Ralf Becker
bdc3456ed6 reworked so-layer for MaxDB and new db-functions:
- added cal_ prefix to phpgw_cal
- hol_ prefix to phpgw_cal_holidays
- renamed cal_login=>cal_user_id,cal_type=>cal_user_type in phpgw_cal_user
2004-08-03 22:52:13 +00:00
Ralf Becker
2ba2d8aca1 updating the missed sequenzes (postgres) and pushing all versions to 1.0.0 2004-07-02 22:27:33 +00:00
Ralf Becker
2a1b37b6da an other uid update: very old entries had empty uid, they are update now too 2004-05-26 09:37:15 +00:00
Ralf Becker
5ec6ce4d75 fix to create uid's for the calendar and a db-update to create them for the already existing events 2004-05-23 23:46:27 +00:00
Ralf Becker
390dc7737b performance patch: indices for the calendar 2004-05-23 17:51:41 +00:00
reinerj
146d69f4db changes from phpgw to egw dev group 2004-01-27 00:31:58 +00:00
Ralf Becker
d7ecf3c26f setting the default for phpgw_cal_user.cal_type to 'u' direct on the first update from 0.9.13.007 2003-10-02 14:01:20 +00:00
Ralf Becker
bc05713de1 fixed not working empty default for phpgw_cal_user's cal_type, it's now 'u' 2003-09-25 02:00:26 +00:00
Ralf Becker
b8557e49d9 make the phpgw Version-0_9_16-branch HEAD 2003-08-28 14:31:11 +00:00
skeeter
45b31e3e14 Fix for bug #478669. 2001-11-06 23:59:27 +00:00
skeeter
1f8ae0362f This adds the bility to exclude individual events from a repeating event. 2001-11-05 02:08:31 +00:00
skeeter
2da7e41cd4 Various changes.. Too numerous to mention. Major change is a table change for having multiple categories for a sngle event. 2001-09-17 02:33:19 +00:00
skeeter
0cde39204d Backend work for processing alarms. 2001-09-08 08:48:38 +00:00
skeeter
8cfde64d54 Whole bunch of new code. Skeleton alarm management stuff. Importing of iCal file data (semi-working). New data fields (uid/location). New tables (phpgw_cal_alarm). 2001-09-07 16:37:11 +00:00
skeeter
0732fd541e Starting to add support for displaying a list of alarms. 2001-09-04 03:17:49 +00:00