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
Ralf Becker
550daca48f
fixed warning reported by Anthony Messina on developers list
2013-09-02 06:49:10 +00:00
Ralf Becker
fe2438cc53
* Calendar: automatic cancel alarms from removed or rejected participants
2013-08-15 14:56:34 +00:00
Ralf Becker
012e2e4763
* Calendar: when moving a series exceptions where lost (regular recurrences shown again) and exceptions where moved too
2013-08-15 12:23:38 +00:00
Ralf Becker
5cbeafec1d
switching permanent error_log off
2013-05-16 16:02:18 +00:00
Ralf Becker
0ab1a14036
* Calendar/CalDAV: reduced memory foot-print by caching alarms, calendars with lots of alarms and recurring events sync now with 128MB memory_limit
2013-05-16 15:59:25 +00:00
Ralf Becker
32751c69b6
no more querying of recurrences for etag of series master, as all update methods now update modification time of series master for recurrenc-exceptions
2013-02-26 08:48:50 +00:00
Ralf Becker
84ed911c97
* CalDAV/CardDAV: removed unnecessary (double) etag generation and improved calendar etag generation for recurring events
2013-02-25 11:17:59 +00:00
Ralf Becker
2d503a7089
fixed backend returning all events for freebusy query with just email addresses
2013-01-29 14:56:03 +00:00
Klaus Leithoff
0be74c9b87
different method to read the next occourrence of a series; (as old method also fetched deleted exeptions as next occurrence)
2012-12-07 14:10:51 +00:00
Nathan Gray
a0a6e14154
Revert changes to delete view - exceptions no longer shown
2012-11-14 16:25:21 +00:00
Nathan Gray
a6de0724bb
Deleted recurrences (exceptions) now show when using deleted filter
2012-10-31 22:48:12 +00:00
Ralf Becker
7b32964069
* Calendar: fixed not working extending of an event series (latter recurrence end-date), after schema update in last package
2012-10-23 14:55:41 +00:00
Ralf Becker
53229ef57d
* Calendar/CalDAV/eSync: fixed truncating an existing daily event left it one day to long
2012-10-23 10:55:54 +00:00
Ralf Becker
d5af9a5e2c
* Calendar/CalDAV: fixed not working update/delete of recurring event containing exceptions (always gave 412 Precondition Failed)
...
because recur_exceptions were not read on search
2012-10-07 17:10:36 +00:00
Ralf Becker
49f1d43ad1
* Calendar: fixed recuring event lost start-date, if single recurrence got deleted, also installed save-guard in case other code triggers that too
...
caused by storing an event with unset start- or end-date, to not write it
2012-10-02 16:43:49 +00:00
Ralf Becker
fba3bda918
* Calendar/CalDAV/eSync: fixed recuring events were returned in sync, even if user rejected (after recent database schema changes)
2012-10-02 12:56:17 +00:00
Ralf Becker
bf66b8348f
* Calendar/eMail: fixed sql error when clicking on iCal attachment and probably other iCal imports
2012-09-28 09:31:41 +00:00
Ralf Becker
034c431974
if event is an exception: update modified of master, to force etag, ctag and sync-token change
2012-09-28 08:07:12 +00:00
Ralf Becker
21f9f684cf
if event is an exception: update modified of master, to force etag, ctag and sync-token change
2012-09-28 07:53:14 +00:00
Ralf Becker
db4bdb7f74
* CalDAV/Calendar/Resources: calendars of resources can now be accessed or subscribed via CalDAV, to subscribe use CalDAV preferences
2012-09-27 15:46:08 +00:00
Ralf Becker
52675388a3
* CalDAV/CardDAV: sync-collection report for all apps allowing a more efficient sync
2012-09-26 14:30:47 +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
f3ae8cec81
fixed new unlimited recuring events get not synced (range_end == 0 instead of NULL)
2012-09-19 13:37:09 +00:00
Ralf Becker
e56aa30134
fixed some sql errors because of no longer existing egw_cal_repeats.recur_enddate column
2012-09-19 10:27:28 +00:00
Ralf Becker
65bf21742a
only users can be owners, no need to add groups
2012-09-18 11:40:08 +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
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
5aa9b3cfc7
added missing assignment
2012-07-18 09:13:59 +00:00
Ralf Becker
5bab15b433
patch from Achim Koenigs <achim-at-tratschtante.de> to shift alarms of recurring events to first future recurrent, so they get stored, modified to not doublicate code
2012-07-18 06:45:09 +00:00
Ralf Becker
c593286260
fixed SQL error reported on developer list: nothing known about column "recur_date"!
2012-03-20 07:18:44 +00:00
Ralf Becker
21c49b0b26
* Calendar/CalDAV/eSync: fixed etag generation to NOT query maximum user-modification date for each entry, fixed etag and ctag for eSync to only use recurance master, as ActiveSync event does not contain extra participant data for exceptions (virtual and real)
2012-03-12 08:20:36 +00:00
Ralf Becker
8514dd5d64
DB-model uses now egw_cal_user.cal_status="X" for participants who got deleted. They never get returned by read or search methods, but influence the ctag of the deleted users calendar!
2012-01-23 07:41:29 +00:00
Klaus Leithoff
3d3f0724df
* calendar/esync: do not allow a minimum length of less then 1 for uid; esync: if no UID given, do not even try to fetch exceptions.
2011-12-22 14:03:12 +00:00
Ralf Becker
4703ccbcb3
always return an array, if an array is given as argument
2011-11-10 06:40:55 +00:00
Ralf Becker
cf1eee2818
max_user_modified for recurring events has to include all recurrences, otherwise we get a "412 Precondition Failed" in CalDAV, as it is part of the ETag
2011-11-09 17:53:42 +00:00
Ralf Becker
b599d4a4e2
using maximum of cal_modified and cal_user_modified for iCal LAST-MODIFIED too
2011-10-23 08:31:44 +00:00
Ralf Becker
77fb521ccd
fixed not exported participants via CalDAV
2011-10-17 14:06:21 +00:00
Ralf Becker
0b96631cd4
Do NOT move start- and end-date, to the earliest exception, as they will NOT be found in CalDAV or ActiveSync, because
...
we only recognice recuring events which start before or in the current timerange and end in or after it or have no end-date.
--> give an error message, as it is a debuging/support nightmare, if this gets silently fixed when reading events.
No idea how this situation (exceptions before startdate) can be created anyway.
2011-09-12 11:04:48 +00:00
Ralf Becker
8996f45e9e
* Calendar: not using freebusy rights for searching calendar, as it would allow to probe for event contents
...
- optimised private event filter for searching to not query private grants (again) from database
2011-08-16 10:20:40 +00:00
Ralf Becker
17f6dad7eb
* CalDAV: fixed and enabled iterator again, to minimize resource usage, fix for mystylite bug #1942
...
it was disabled because sql query was broken, because we did not use MIN(cal_end) multiple events per cal_id were returned
2011-08-03 16:13:56 +00:00
Ralf Becker
9b8921116b
* Calendar: show status set for the whole series at recurrences too, unless they have an individual status
...
removed previous participants call now completly, as the above changes archive the same thing, without enumerating all recurrences to the database
2011-08-03 12:35:42 +00:00
Klaus Leithoff
5529618ba1
fix broken category search, selected cat=1 always, when only one category wasselected, as (int) of an array does not give the required/expected result
2011-07-19 07:32:28 +00:00
Ralf Becker
678d0ed937
AS supports now two types of meeting requests:
...
a) meeting request arriving per mail via felamimail_activesync::GetMessage(List)
b) EGw internal meeting requests via calendar_activesync::GetMeetingRequest(s)
EGw backend returns both via INBOX to the client device (b) with negative id's to not conflict with mail uid's)
MettingResponse method in EGw backend calls calendar or fmail depending on id
Unfortunately this is NOT yet completly working:
- could not test with fmail, as I have no permanent internet access
- MeetingResponse method of calendar get never called, in fact client never sends one :-(
- meeting requests via calendar a now displayed double:
a) via calendar_activesync::GetMessage(List), which could be switched off easily
b) via calendar_activesync::GetMeetingRequest(s)
client sends no MeetingResponse on either of them, for a) it displays buttons to accept, tentative or decline, but only calls SendMail and ChangeMessage (without status)
--> do NOT update if you already use AS!!!!!!!!!!!!!!!!!!!!!!!!!!
2011-05-15 18:25:16 +00:00
Klaus Leithoff
59a0fc75ad
temporary fix for array passed as custom-field-link
2011-05-12 15:03:26 +00:00
Ralf Becker
9e141e72e0
patch #2952 : typo in class.calendar_so.inc.php
2011-05-03 17:28:54 +00:00
Ralf Becker
51c365d572
deal with cols parameter to search() being an array
2011-04-10 13:52:35 +00:00
Ralf Becker
1b8654b57f
fixed PostgreSQL error on CalDAV PROPFIND: not all selected columns where in GROUP BY clause
2011-04-10 13:11:33 +00:00
Ralf Becker
da95032505
fixed some problems with r34529: move all filtering into SQL query
...
- group-calendar empty
- owner-too filter fixed
- events with multiple users with differnt status and group invitation fixed
2011-04-09 14:41:15 +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
be3dd73dcf
quietened permanent error_log
2011-04-06 12:56:40 +00:00
Ralf Becker
bef80c1f7f
improved performance of ctag generation (using only a single and quick DB query, compared to multiple queries plus one for each recurring event
2011-04-06 12:46:21 +00:00
Ralf Becker
1df79639b9
quieten permanent error_log
2011-04-06 08:03:32 +00:00
Ralf Becker
66c61cb74e
- move all filtering into SQL query in calendar_so, to be able to correctly return N rows starting from row M
...
- re-enabling propfind iterator again for calendar (fetching events in chunks of 500), to lower memory footprint
Please note: changed SQL queries used for CalDAV do not take changed participants (or status) in exceptions into account
2011-04-05 15:32:20 +00:00
Ralf Becker
c0b4f3b4c6
* Calendar: store async job of alarm with alarm owner as owner to get eg. the correct from address
2011-03-21 14:13:42 +00:00
Ralf Becker
246f13ff6a
* Calendar: fixed PostgreSQL error on transfering records of a delted user to an other one
2011-03-11 07:37:34 +00:00
Ralf Becker
d7356a350f
* Calendar: fixed SQL error on search: Argument of OR must be of type boolean, not of type smallint
2011-03-10 17:56:13 +00:00
Ralf Becker
3bb9e89bcf
* CalDAV/Lightning: fixed under some conditions infinit poping up alarms and user not able to add alarms
...
- Lightning pops up alarm, until Sequence/etag get updated: if user has no edit rights on an other users calendar, etag never got updated, now we update it
- fixed user was not able to add alarms via CalDAV, if he had no edit rights for event (was always possible in web UI)
- alarms from other users calendars are not included any more, as they make no sense but a lot of trouble
- fixed wrong condition on adding alarms, causing some alarms no being saved
2011-03-05 10:21:32 +00:00
Nathan Gray
b2bea332b1
Do private filtering on DB level
2011-02-28 23:43:34 +00:00
Ralf Becker
3c469c8392
fixed status of all recurrences get set to "unknown", if status of a single recurrence get changed
2011-01-06 05:19:10 +00:00
Ralf Becker
b19c4b3030
* fixed conflict check of resource quantity and storage of changed quantity in existing events
...
(changed quantity was used for conflict check, but not stored!)
There is still a bug with multiple non-overlapping events overlapping the checked event: check is against quantity sum, not the maximum
2010-11-11 08:51:13 +00:00
Ralf Becker
abb976d0cf
fixed typo
2010-10-28 09:43:40 +00:00
Ralf Becker
0a35a4a7c2
an other PostgreSQL compatibility problem: cast to varchar necessary
2010-10-28 09:22:01 +00:00
Ralf Becker
ddcc0e1f75
removed never implemented cats_no_subs common pref and always include sub-cats (no change as currently only one was selectable)
2010-10-14 16:16:02 +00:00
Nathan Gray
7c55020318
Use just set cal_id variable instead of potentially not set event['cal_id']
2010-10-13 17:24:32 +00:00
Jörg Lehrke
07063ebf7a
Update cal_modified for all required cases; adjust CalDAV ctag function
2010-09-11 18:08:48 +00:00
Ralf Becker
ce35264ed9
fix for postgreSQL bug reported by Anthony Messina (amessina-at-messinet.com): sync_contentid is varchar(60) and needs explicit cast, fixed by letting egw_db do the quoting, which is more save anyway
2010-09-10 07:01:41 +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
Jörg Lehrke
f90e1da24f
Fix alarm handling for recurring events starting in the past
2010-08-10 21:21:18 +00:00
Klaus Leithoff
f2bc58898f
rework of calendar purge function
2010-07-06 08:20:53 +00:00
Ralf Becker
419516c011
removed columns from DELETE statement
2010-07-02 06:00:25 +00:00
Nathan Gray
f8431b00a7
- Fix purging of old events so it doesn't delete everything
...
- Trick config into calling the hook when purging is turned off so cron job is cancelled
2010-07-01 15:27:37 +00:00
Jörg Lehrke
c6b0f825d9
Fix SyncML replace and recur_enddate issue
2010-06-26 15:58:33 +00:00
Ralf Becker
a4ae9df347
searching case insensitive for PostgreSQL too
2010-06-22 16:59:04 +00:00
Jörg Lehrke
ae1807c571
Fix recurring event alarm issue
2010-06-18 13:37:42 +00:00
Nathan Gray
61099d4a89
Move purging of old calendar events to use less API and do more with the DB directly. Hopefully will be a little easier on the DB.
2010-06-14 11:45:00 +00:00
Jörg Lehrke
f6eb00e6a1
Allow alarms for recurring events starting in the past
2010-06-08 16:36:55 +00:00