Commit Graph

47 Commits

Author SHA1 Message Date
Ralf Becker
8c7c0c1eb2 reading holidays now from Mozilla holiday calendars, or a custom iCal URL 2016-05-04 17:15:18 +00:00
Ralf Becker
82ca78d378 * Calendar: fix SQL error on storing events containing rfc822 email addresses with non-ascii characters eg. "Hugo Müller <hm@test.org>"
egw_cal_user.cal_user_id is now an md5 hash of lowercased raw email address (eg. "hm@test.org" in above example). Full attendee information is now stored in egw_cal_user.cal_user_attendee.
Will allow in a further step also to store attendee information for accounts to eg. answer with correct email to external organizers
2015-08-17 14:07:25 +00:00
Ralf Becker
bba3fa804a some database optimizing: changing columns with no user-input to CHARACTER SET ascii (instead of utf8), shorten indexes and add additional autoincrement columns where primary key contained varchars 2015-07-11 13:56:50 +00:00
Ralf Becker
066ffc2c25 refactored account_id change script to use information from app-specific tables_current.inc.php instead of a fixed list 2013-06-12 16:57:44 +00:00
Ralf Becker
410abc5fb7 * CalDAV/CardDAV/Calendar/InfoLog/Addressbook: changed database schema to allow for up to 200 char name-part in url to support eg. Bynari WebDAV Collaborator Outlook client 2013-05-13 09:35:51 +00:00
Ralf Becker
ec40a3e6bd * Calendar: create index on egw_cal.cal_reference to speed up etag generation of recuring events 2013-02-25 12:05:36 +00:00
Ralf Becker
1c72e5fffa docu update 2012-09-21 13:13:48 +00:00
Ralf Becker
1eca8a8fa8 * 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 08:02:56 +00:00
Ralf Becker
7eec30c57a * Calendar: Try alter description to varchar(16384), to not force temp. tables to disk on MySQL (because of text columns) 2012-08-12 09:49:54 +00:00
Ralf Becker
56a4bdfbbe * 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)! 2012-08-11 10:01:02 +00:00
Ralf Becker
fc799e99a7 *Calendar/CalDAV: Add index for cal_modified and cal_user_modified to improve performance of ctag and etag generation on big installtions 2012-01-04 21:42:46 +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
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
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
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
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
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
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
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
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
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
f0f283669c Missed a comma at the end of the previous column. 2001-11-05 18:17:41 +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
skeeter
3bf1728dc6 Feature Request #229502 - Allow editing of a single occurence of a repeating event. 2001-08-27 01:30:40 +00:00
skeeter
7506365417 Non-detrimental change. According to jengo, this will allow pgsql to have an easier chance of installing. 2001-08-04 20:48:07 +00:00
Miles Lott
8eacdb5cbb Remove spaces in = >, remove '' from int default values (not sure that is req.) 2001-06-04 14:37:40 +00:00
skeeter
1ce692b36a Should be up-to-date. Still need one upgrade path from 0.9.10pre4. 2001-06-04 03:29:26 +00:00
Miles Lott
7827d25bfe Updates to some tables_current and setup_inc files 2001-05-29 14:13:03 +00:00
Miles Lott
ab460baab1 Correct cal_type default, should be undefined 2001-05-25 03:45:27 +00:00
Miles Lott
329a51bf2b Add tables_current, update setup.inc.php 2001-05-25 03:28:42 +00:00