Commit Graph

107 Commits

Author SHA1 Message Date
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
Miles Lott
8911a39448 php3 array fixes in baseline, remove double global in 1st update function 2001-09-03 03:31:13 +00:00
skeeter
a08d84199c Changed the category field to a nullable field. 2001-08-30 16:07:09 +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
Miles Lott
8895d619f5 Add bogus version upgrade 2001-06-18 00:39:38 +00:00
Miles Lott
5a3e19e6ab Add missing versions, increment version to current api version 2001-06-17 16:35:49 +00:00
Miles Lott
de09cdc60d Now seems to be a working upgrade 2001-06-11 17:09:16 +00:00
Miles Lott
bee1d3fa6f Using db wrappers in schema_proc, add missing function 2001-06-11 01:55:38 +00:00
Miles Lott
5b411bcd9f Fix general syntax problems, will be moving to different return style soon 2001-06-06 00:13:50 +00:00
Miles Lott
640bb0b773 Add missing ';' 2001-06-05 21:18:57 +00:00
Miles Lott
4b9c00c914 Using new method of global phpgw_setup, then setting oProc. Most of these work now 2001-06-05 20:11:40 +00:00
skeeter
bd705eef8c Fixed the setup_info variable and now returns True ALWAYS. This is at least for testing... 2001-06-04 03:46:31 +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
ed13906357 Update calendar ver not api 2001-05-18 03:33:49 +00:00
Miles Lott
604c3b5292 Mkae function names unique 2001-05-18 03:28:54 +00:00
Miles Lott
822602403a New files for setup3 import 2001-05-18 03:19:49 +00:00