Commit Graph

77 Commits

Author SHA1 Message Date
Ralf Becker
f0252c1b74 * Calendar/CalDAV/eSync: exceptions show up in calendars of participants only participating in exceptions not whole recuring event (requires a DB update for existing events!) 2014-10-28 16:01:55 +00:00
Ralf Becker
d6ce36d735 bump versions to 14.1 2014-06-24 10:00:50 +00:00
Ralf Becker
74d6ab3251 fix "Doublicate key" error on update 2014-05-08 12:27:24 +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
ec2f7879d4 * Calendar: fix for failed 1.9.006 update: PostgreSQL needs temporary a nullable range_start column, to not stall on broken events without dates 2012-11-09 09:33:22 +00:00
Ralf Becker
7bf5b90739 * Calendar/CalDAV/eSync: tracking participant status changes now in modified date and user of calendar entry (main table), fixes sometimes not synced status changes and simplifies code a lot 2012-09-25 11:54:41 +00:00
Ralf Becker
bb8fe486ca improved 1.9.006/7 update-scripts for PostgreSQL: removed stray bracket and drop NULL and default at the end, thanks to feedback from Anthony Messina 2012-09-25 07:14:45 +00:00
Ralf Becker
f9ff1e2a5f improved 1.9.006/7 update-scripts for PostgreSQL: removed stray bracket and drop NULL and default at the end, thanks to feedback from Anthony Messina 2012-09-25 07:12:52 +00:00
Ralf Becker
cb824beff3 fix 1.9.007 update to work with PostgreSQL, deleting all broken events having range_start=0 (not a single recurrence or a broken one with cal_start=0), they are not displayed in regular calendar anyway, but might be synced to CalDAV or eSync clients 2012-09-20 12:10:15 +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
1d519c4834 MAX(CHAR_LENGTH(cal_description)) returns NULL, if there are no rows --> casting to int 2012-08-13 13:13:57 +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
588950ae29 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:53:44 +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
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