Commit Graph

202 Commits

Author SHA1 Message Date
nathangray
45b4c2112c Calendar - cast cal_id to varchar in sort too to avoid PostgreSQL error 2019-06-05 14:34:42 -06:00
Ralf Becker
9bd4ccde4c * iMip/Mail/Calendar: fix event-doublication on accepting, if the event was deleted once
caused by the deleted event was returned first and then ignored by calendar_ui::meeting
2019-04-25 16:22:34 +02:00
Ralf Becker
5086e6cca3 * All apps: improved speed when searching with (many) custom-fields 2019-02-18 19:23:13 +01:00
nathangray
d805e9f467 Stop using deprecated each(), using foreach(), key() or current() instead 2019-02-12 14:13:45 -07:00
Ralf Becker
c560fe084e * Calendar/Mail: tell user if an event has been already already deleted when viewing a meeting request 2019-01-10 18:59:29 +01:00
Ralf Becker
01bd78e34a fix PHP 7.3 Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2" 2018-12-11 12:45:50 +01:00
Ralf Becker
af6c2a0f25 * CalDAV/Calendar: fix not working snozzing of alarms in Thunderbird
Caused by triggered alarms were - so far - immediatly deleted, now we keep them around for an other day, so TB get them in the update iCal after PUTing its X-MOZ-SNOOZE-TIME-<timestampt>
2018-08-07 15:03:59 +02:00
Ralf Becker
8e419f1c1a * Calendar/Mail: handle meeting requests for single recurrences and exceptions 2018-06-27 18:28:20 +02:00
Ralf Becker
ba55ea67cc * Calendar: fix SQL error during purge caused by droped SyncML support 2018-06-14 10:39:13 +02:00
nathangray
083255601a Calendar - extend standard searching to include custom fields 2017-11-14 09:56:07 -07:00
nathangray
f33ce2d9f5 * Calendar - use same search as the rest of EGroupware (supports quotes, boolean, #<id> to search for id) 2017-11-07 09:55:12 -07:00
Ralf Becker
feec899337 fix (unexplained) infinit loop in phpUnit tests under PHP 5.6 2017-10-17 16:13:02 +02:00
Ralf Becker
c4f048bbae fix new events were created with cal_etag=NULL, which would then also never incremented on update
(because cal_etag=cal_etag+1 for NULL stays NULL). The later is fixed now by using cal_etag=COALESCE(cal_etag,0)+1.
2017-09-21 14:02:13 +02:00
Ralf Becker
9f28be8f75 * Calendar: fix SQL error when automatic purge of older events is configured 2017-06-12 13:41:04 +02:00
nathangray
9cf6685a77 Calendar - all day recurring events would extend one day longer for some timezone combinations 2017-05-23 13:37:34 -06:00
nathangray
8d7a9b7284 Move VFS widget file handling from Etemplate/Widget/Customfields to Storage/Customfields, to avoid errors with CalDAV/CardDAV not being able to find Etemplate/Widget/Customfields 2017-04-17 09:48:45 -06:00
nathangray
9eaf1f20ef Thumbnails (and handling) of uploaded files on new entries that have not yet been saved 2017-04-10 11:21:03 -06:00
Ralf Becker
9810077eab * Calendar/CalDAV: fix wrong end-date of recurring events incl. whole-day events 2017-03-29 19:32:49 +02:00
Hadi Nategh
ab787243b9 Satisfy postgres about integer not comparable to varchar 2017-03-20 18:06:23 +01:00
nathangray
3aef0fe1a6 Add sorting to match planner view grouping, so pagination gets the top rows first 2017-02-24 10:33:02 -07:00
Ralf Becker
afaa722c47 modifications to allow exporting of all calendar entries via stylite/migrate.php script, added cal_deleted as timestamp and support again setting $updateTS=false in calendar_boupdate::save() 2017-01-18 18:31:47 +01:00
Ralf Becker
d43be3afc2 fix PHP Warning (Invalid argument supplied for foreach() in calendar/inc/class.calendar_boupdate.inc.php on line 1915), if moved event has no alarms 2016-12-07 14:17:53 +01:00
nathangray
d02d3b8d50 Handle searching for a single integer as looking for a specific event by ID, similar to infolog 2016-10-20 09:49:39 -06:00
Ralf Becker
26dbe74328 * Calendar: fix SQL error in eSync with double DISTINCT happening under some conditions 2016-08-17 09:26:01 +02:00
Ralf Becker
0b71dd2756 replace (slower and ugly) create_function with closures 2016-07-10 11:09:21 +02:00
Ralf Becker
19501960e1 fix wrong case in "AsyncService" to "Asyncservice" 2016-05-09 09:15:48 +00:00
Klaus Leithoff
7ab832fe9f set a default in paramslist for shift_alarm parm 3 (timestamp) to avoid php-warning and comply to the function description 2016-05-06 13:54:08 +00:00
Ralf Becker
dcc003cedf move calendar to new api 2016-05-01 17:47:59 +00:00
Ralf Becker
1da38599b2 change ctag timeout to 29sec to get z-push ping with 30sec to request a new ctag 2016-02-23 15:02:40 +00:00
Nathan Gray
f438940598 Fix alarms not updated when event is moved 2016-01-18 17:45:25 +00:00
Nathan Gray
b034eeac92 Fix changing recurring end date to earlier always gave one extra recurrence 2015-11-24 18:15:11 +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
59ca017000 allow to use nextmatch filters in calendar list-view 2015-08-18 09:07:12 +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
6d2ef17b0f * CalDAV/Calendar: storing now all properties send by client and not known to EGroupware and fixed acknowledging and snoozing of alarms 2015-06-25 20:39:53 +00:00
Ralf Becker
69dc97f8b2 * Calendar: added configuration "Use range-views to optimise calendar queries?", to go back to algorithm before 14.2.20150121 2015-03-31 14:28: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
3a06bcb285 disabling dates_range_view in favor of using dates-table direct, as it appears 1.5-3 times quicker in two big installations I tested with 2015-02-18 08:15:54 +00:00
Ralf Becker
b15029a0fc * Calendar/CalDAV: fixed synced events still contained deleted exceptions 2015-01-29 13:31:43 +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
de4d246726 * Calendar: speed improvments for huge calendar databases
by using time-range views instead of whole calendar and dates table
Also got old, much simpler non-union code working again, but union is still slightly quicker for huge databases (not at all for small ones!)
2015-01-19 19:32:26 +00:00
Ralf Becker
4e27f324c9 improved method to query events with performance gains of a factor 10 on huge databases, currently only used in conflict check 2015-01-14 19:41:01 +00:00
Ralf Becker
83ca579700 fixing IDE warnings 2015-01-14 13:52:34 +00:00
Ralf Becker
dd7daa8dad comment permanent error_log 2014-11-07 12:33:56 +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
Klaus Leithoff
00881d1c94 silence some warnings on mail-to-all-participants 2014-03-20 16:10:52 +00:00
Ralf Becker
a9b6c6e9b4 * CalDAV/CardDAV: fixed support for limited sync-collection report used eg. by Marten Gajdas Android apps 2014-02-20 17:46:15 +00:00
Ralf Becker
a8e8f33ff4 * Calendar/eSync: fixed caching causing new events on EGroupware side not to appear on device (withing time of a running ping-request) 2014-01-28 16:27:01 +00:00
Ralf Becker
00cc28506c for new or changed group-invitations, remove previously deleted members, so they show up again 2013-10-17 12:02:24 +00:00
Ralf Becker
345a9bdc52 * PostgreSQL/Calendar: clicking on InfoLog entries opened new calendar entry instead of existing InfoLog 2013-10-15 11:30:01 +00:00