Commit Graph

105 Commits

Author SHA1 Message Date
Ralf Becker
a40581843f fix PHP Warning: Missing argument 3&4 for EGroupware\\Api\\Db::delete() in calendar/setup/tables_update.inc.php line 2590 2017-01-31 13:43:52 +01:00
Ralf Becker
76f5a91c75 fix PHP fatal when updating from before 1.8 2016-11-15 22:10:07 +01:00
Ralf Becker
893773275b fixed stall in calendar update from 1.8: remove deleting from egw_api_content_history, which will be droped by 16.1 update, before calendar update is running 2016-11-03 13:44:10 +01:00
Ralf Becker
16e048e665 fix broken recurrence end-dates stalling updates 2016-11-02 19:59:27 +01:00
Ralf Becker
bc9f3701c2 fix update from 14.2.002 failing, because there's no more egw_cal_holidays definition in 16.1 2016-06-03 17:35:58 +02:00
Nathan Gray
d321f78eb1 Directly set default resource selection preference 2016-05-09 20:18:10 +00:00
Ralf Becker
19501960e1 fix wrong case in "AsyncService" to "Asyncservice" 2016-05-09 09:15:48 +00:00
Ralf Becker
20331879b1 change max size for calendar customfields to 16k, as we use it for addressbook and infolog too (was only 255) 2016-05-06 12:40:10 +00:00
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
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