Commit Graph

96 Commits

Author SHA1 Message Date
Ralf Becker
dcc003cedf move calendar to new api 2016-05-01 17:47:59 +00:00
Nathan Gray
15dd34edcb Re-enable/implement preference for showing events as a per-day list 2016-01-12 23:55:59 +00:00
Hadi Nategh
cbfb44e551 Make sure the state is an array
- Fix not working update script from commit 54367
2015-11-25 09:01:14 +00:00
Nathan Gray
f4fc9a464e Remove some more dates from favorites 2015-11-24 17:55:11 +00:00
Nathan Gray
e9e6d8f5ab Remove dates stored in favorites 2015-11-24 16:38:04 +00:00
Ralf Becker
a025f88732 * PostgreSQL/Calendar: fix SQL error on update, caused by using reserved word "user" as alias 2015-11-13 08:30:20 +00:00
Ralf Becker
810755de12 remove all category values, which are not comma-separated nummerical ids, as they might give an SQL error and wont work anyway 2015-11-10 10:57:51 +00:00
Ralf Becker
8c9f704444 * Calendar/CalDAV: recurring events with non-EGroupware participants (specified by email) were showing additional participants with cryptic mailto addresses (DB update required!)
because egw_cal_user.cal_user_attendee in recurrences was lost due a typo, includes update script to fix existing entries
2015-11-03 13:41:16 +00:00
Ralf Becker
1f099b9d81 setting index url from setup containing ajax=true 2015-08-31 15:50:10 +00:00
Ralf Becker
c3ce6bdbcc fix typo 2015-08-17 15:31:02 +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
810c201018 fixed wrong date for Fronleichnam 2016 for existing instances via DB update script 2015-06-13 06:54:59 +00:00
Ralf Becker
f7de88e39c Grr PostgreSQL has a different syntax for UPDATE with a JOIN then MySQL, they dont share a syntax working for both 2015-04-29 14:20:44 +00:00
Ralf Becker
17b804695a * Calendar: update to remove with 14.2.001 updated set end-date for yearly recuring events (other recurrence-types can not be changed) 2015-04-28 17:04:35 +00:00
Ralf Becker
965e56e02e * Calendar: fix not shown last recurrence of limited recurring event in day-view (requires database update for existing events) 2015-03-09 18:56:17 +00:00
Ralf Becker
e8b3a3635c * Calendar/CalDAV/eSync: fixed not synced events constructed from exceptions
removed cal_recurrence filter in read, as cal_reference and cal_recurence is always used together for exceptions, but cal_recurrence was not allways reset to 0
2015-01-20 13:49:18 +00:00
Ralf Becker
f9dd84adb5 fix sql error on update 2014-10-28 22:09:12 +00:00
Ralf Becker
ab9865803d also update etag and modified, to change ctag and sync-tags 2014-10-28 16:29:08 +00:00
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