Commit Graph

81 Commits

Author SHA1 Message Date
ralf
053503bd74 * CalDAV/InfoLog: fix infinit loop causing high database load, if sync-collection report did not query calendar-data 2023-04-24 12:15:14 +02:00
ralf
4731128d50 fix not working REPORT or PROPFIND
PHP runs out of memory, as bo->search($query) increments $query['start'] itself, so we need to check and break after total is reached
2023-02-16 09:21:18 +01:00
ralf
c3e53c9d86 replaced ProfindIterator now in Calendar and InfoLog too with a generator 2023-02-15 19:50:44 +01:00
ralf
27bd803e84 fix empty collection in PROPFIND/REPORT after last commit caused by creating a reference / NULL value in filter for path-attr/caldav_name 2023-02-15 08:45:28 +01:00
ralf
5e0fd45173 fix found URL in multiget REPORT where reported as NOT found too, if number of URLs exceeds chunk-size of 500 2023-02-13 23:16:43 +01:00
nathangray
2e3f163e60 * Infolog: Add 'None' option for Infolog types to sync preference 2020-05-20 11:40:08 -06:00
Ralf Becker
cc22e89242 * CalDAV: CalDAVSynchronizer: only allow owner/organizer to update or delete an event (not users with edit/delete rights) 2018-10-09 13:15:11 +02:00
Ralf Becker
cd3e58f506 Fix InfoLog entries without explicit responsible where removed from CalDAV clients when editied.
Caused by not requested info_owner column.
2016-09-19 10:54:53 +02:00
Ralf Becker
1861a9de22 no need to report VCALENDAR in supported-calendar-component-set 2016-09-12 11:20:15 +02:00
Ralf Becker
dfb260d809 * InfoLog/CalDAV: removed delegation now removes event in sync-report eg. in Smooth-Sync 2016-09-12 10:55:39 +02:00
Ralf Becker
7f3038f07e fix Scrutinizer "bugs" 2016-06-29 10:52:27 +02:00
Ralf Becker
29d34bcc6c fix PHP Fatal in 16.1 minimal install caused by usage of old categories:: constants 2016-06-27 18:38:04 +02:00
Ralf Becker
f94aa623db using new api for InfoLog 2016-04-30 17:05:23 +00:00
Ralf Becker
682fd42a26 move CalDAV/CardDAV server to api 2016-04-02 10:44:17 +00:00
Ralf Becker
9eb1ecbd36 fix all IDE warnings, before moving classes to api, in case we want to merge it back to 14.x 2016-04-02 08:40:34 +00:00
Ralf Becker
3b4708f9ea using new Horde code in vendor for CalDAV/CardDAV, moved all old Horde and SyncML code to syncml app, not sure it is still functional 2015-06-22 15:36:23 +00:00
Ralf Becker
1d1dbd252c fixed missing sorting in inital sync-collection report with empty sync-token 2014-02-20 19:26:02 +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
94af139465 * CalDAV/CardDAV: entries with urls containing url-encoded chars, eg. from Google calendar, were not send to clients (missing urldecoding in multiget report) 2014-02-20 15:11:27 +00:00
Ralf Becker
6fd7ed4b2d * CalDAV/CardDAV: only advertice sync-collection report, if we track deleted entries (history-logging enabled, not working otherwise) 2014-01-07 11:10:51 +00:00
Ralf Becker
f3cb31ccf5 * CalDAV/InfoLog: fixed not working sync-collection report, eg. used by eM client 2013-12-12 01:54:16 +00:00
Ralf Becker
18285429e9 * CalDAV/CardDAV: fixed not working propfind-request to single resource in calendar/addressbook collection 2013-10-01 11:38:34 +00:00
Ralf Becker
a79192cc63 fixed not found multiget-report urls where not reported (worked for calendar only before sync-report was introduced) 2013-09-25 10:27:41 +00:00
Ralf Becker
1752f7defd basic managed attachment support, tested with iCal from OS X mountain lion 2013-09-23 10:21:31 +00:00
Ralf Becker
051c724e37 * InfoLog/CalDAV: fixed initial sync of more then 60 contacts created doublicates (no REPORT filters were used) 2013-04-04 15:12:33 +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
f224fe5852 sync-collection report for InfoLog, thought reminder app on OS X 10.8.2 does not use it, moved logic for sync-token to baseclass and determine availablity on supported-report-set 2012-09-24 10:26:29 +00:00
Ralf Becker
3918f2606c * InfoLog/CalDAV: preference allowing to modify responsible user from devices not supporting them by setting EMail address as category 2012-07-20 13:06:47 +00:00
Ralf Becker
b025809df1 * CalDAV/CardDAV expand-property report for principals used in iCal on OS X 10.7 2012-06-27 20:08:56 +00:00
Ralf Becker
76d566d137 * InfoLog/CalDAV: fixed not working toggeling of completed from iOS reminder app (only sets COMPLETED, but never STATUS or PERCENT-COMPLETED)
not returning etag for modified entries, as client then keeps not updated X-INFOLOG-STATUS, sending no etag we force him to update from server
2012-03-22 12:15:18 +00:00
Ralf Becker
1b345bbf36 * InfoLog/CalDAV: fixed wrong timezone used for iCal generation
times where read in server-time, but infolog_ical was told it is user-time, now set to server-time in infolog_groupdav::get_handler()
2012-03-08 16:23:43 +00:00
Ralf Becker
2bc821f428 use groupdav->log() for all permanent error-messages, to log the into request-log too, if both If-Match and If-Schdule-Tag-Match given use If-Match for organiser/owner and If-Schedule-Tag-Match for attendees/participants 2012-02-21 20:04:45 +00:00
Ralf Becker
2939d7bbf3 propagate data from settings hook to handlers, to fix failed installs because setup was not detected 2012-02-14 17:38:45 +00:00
Ralf Becker
d89f48d9c1 implement RFC 5995 add member to collection via POST, but not yet set DAV:add-member due to problems with OS X clients 2012-02-04 20:24:01 +00:00
Ralf Becker
c5ca42a4b1 move app-specific settings to app-handler 2012-02-04 01:24:34 +00:00
Ralf Becker
ca28153b25 need to load custom fields now allways, as x-props and unsupported components are stored there 2012-01-31 18:00:57 +00:00
Ralf Becker
1f93855172 fill displayname for contacts and task to easier identify it in autoindex 2012-01-31 00:37:01 +00:00
Ralf Becker
fb16ff842d InfoLog/CalDAV: store unsupported iCal properties like custom fields incl. history logging, thought they are not displayed unless you explicitly add a custom field from them (prefixed with one #) 2012-01-29 22:34:43 +00:00
Ralf Becker
d401bcc3ad * InfoLog/CalDAV: allow updates with implicite rights of responsible user, InfoLog type is kept on update, deduct not set status of client from completed(-percent) 2012-01-26 01:49:56 +00:00
Ralf Becker
d898e6c627 calendar-timezone needs full vcalendar component, not just a vtimezone 2011-10-20 14:01:16 +00:00
Ralf Becker
ceaec3d3c1 added calendar-timezone property, changed groupdav_handler::extra_properties signature (removed static and added $user parameter), removed calendar-user-address-set property belonging only to principal 2011-10-20 13:35:01 +00:00
Ralf Becker
b2fa12eb3e remove unusual and unnecessary "EGw-...-wGE" prefix/postfix from etag and ctag 2011-10-08 11:34:55 +00:00
Ralf Becker
e9f4f4f3b3 if client set an own filter, reset the open-standard filter 2011-10-07 09:05:11 +00:00
Ralf Becker
8f0abbe004 implemented rfc4791#section-9.9 complient time-range filter 2011-10-06 10:29:01 +00:00
Ralf Becker
e05ce4d614 enclosing etag in quotes, as most servers do 2011-10-05 08:15:24 +00:00
Ralf Becker
23584253fd not returning deleted entries for read, as they might have identical UID for caldav_name as a non-deleted entry and would therefore block access to these 2011-10-04 14:18:35 +00:00
Ralf Becker
0de2f3c527 fixed profind depth 0 directly on a resource contains name-part twice 2011-10-04 12:16:03 +00:00
Ralf Becker
288a88239b we should not return an etag here, as we never store the PUT ical byte-by-byte 2011-10-03 15:48:24 +00:00
Ralf Becker
175197d7c0 * CalDAV: no METHOD:PUBLISH for CalDAV outside the inbox 2011-10-03 12:53:28 +00:00
Ralf Becker
b11fa0302f * CalDAV/GroupDAV: return empty collection, as iCal under iOS 5 had problems with returning "404 Not found" status 2011-09-30 12:52:40 +00:00