Commit Graph

129 Commits

Author SHA1 Message Date
Ralf Becker
0cd7f6c6a8 do NOT use xml CDATA for vCards to ensure correct replacement of control chars like VT 2019-05-28 16:28:54 +02:00
Ralf Becker
eff2444deb * CalDAV: CalDAVSynchronizer: only allow owner/organizer to update or delete an event (not users with edit/delete rights) 2018-10-09 13:14:36 +02:00
Ralf Becker
29d9a20140 * CardDAV: photo was not saved/changed in PUT requests 2018-08-24 14:09:18 +02:00
Ralf Becker
56d60ed64f fixing a couple more PHP Warning count(): Parameter must be an array or an object that implements Countable 2018-04-13 09:14:29 +02:00
Ralf Becker
2d0f9342f6 * CardDAV/addresbook: fixed not working distribution-lists as groups in Mac addressbook 2018-04-12 13:05:14 +02:00
Ralf Becker
9c377e1f26 * CardDAV/Addressbook: fix can NOT create new entries on a minimal (non-compat) install
Caused by version-check agains not installed phpgwapi fails and causes new name-parts of url starting with a number to clash with existing contacts and therefore give a "412 Precondition failed"
2018-03-23 20:01:25 +01:00
Hadi Nategh
2b72f759ff * Addressbook: fix bug setting Hide User Account in preferences into Show all accounts breaks show accounts 2017-12-01 17:07:42 +01:00
Ralf Becker
e57c5832a6 * Adressbook/CardDAV/PostgreSQL: fix SQL error stalling sync of eg. eMClient with preference "Distributionlists as groups" enabled 2016-11-09 17:46:37 +01:00
Ralf Becker
7b95aa73b4 * CardDAV/Addressbook/PostgreSQL: fix SQL error, remove MySQL only FROM_UNIXTIME with our db abstration version 2016-11-02 09:40:16 +01:00
Ralf Becker
248fde6fef converted addressbook to use new api 2016-04-29 10:41:53 +00:00
Ralf Becker
dbb998de96 also add "principal-address" (URL of vCard of principal), as on pricipal itself 2016-04-27 13:45:46 +00:00
Ralf Becker
0e6fd77ffe * CardDAV: fix not working creation of new CardDAV account with OS X 10.11.4 addressbook (it stays empty)
OS X 10.11.4 addressbook does a propfind for "addressbook-home-set" and "directory-gateway" in the root and does not continue without it
2016-04-27 13:27:22 +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
7ada2354d3 move addresbook_bo to Api\Contacts, ldap to Api\Ldap, ldapserverinfo to Api\Ldap\ServerInfo, bo_tracking to Api\Storage\Tracking, historylog to Api\Storage\History, Api\Customfields to Api\Storage\Customfields 2016-03-06 13:45:15 +00:00
Ralf Becker
c33b041d23 * Addressbook/CardDAV: fix not working import / PUT of birthday in vCard
and prefer=representation on a "412 Precondition Failed" for a group
2015-10-16 07:50:43 +00:00
Ralf Becker
f1ba35613c * CardDAV/Addressbook: fix iOS 8.4 problem allways creating new contacts for admins in accounts addressbook, using now default or personal addressbook 2015-07-23 17:40:48 +00:00
Ralf Becker
40c9fb0adb fixed after r52504 empty PROPFIND in CardDAV 2015-04-18 13:20:56 +00:00
Ralf Becker
ef40fa8ae7 * CardDAV: fixed not working MULTIGET report, if more then 500 contacts requested 2015-04-15 10:00:25 +00:00
Ralf Becker
8da2d2a0ab fixed wrong (just the collection) Location header on POST to ?add-member url 2014-11-30 09:24:23 +00:00
Ralf Becker
40da5672bb * CardDAV/Addressbook/Preferences: accounts, primary group, all, ... were not selectable in personal preferences 2014-09-18 09:05:06 +00:00
Ralf Becker
fbf05c95f4 show addressbooks for user whos preferences are displayed, for "default" and "forced" only show acl independent settings 2014-07-23 14:00:20 +00:00
Ralf Becker
8c6ac14093 fixed typo 2014-07-13 09:01:09 +00:00
Ralf Becker
5090a02892 fixed sql error in carddav caused by sync-collection flag interpreted as filter 2014-02-20 19:38:21 +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
e0e4dfc55a * CardDAV/Addressbook: add "None" to forced preferences of addressbooks to sync in addition to personal one 2014-02-20 13:53:05 +00:00
Ralf Becker
43f558830c * Adressbook/CardDAV: changed (down-)scaling of images to width of 240px (was 60px) to cater for higher screen resolutions 2014-01-28 11:24:47 +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
52b4fd8654 * CardDAV/Addressbook: fixed all contacts were reported as NOT found and therefore not synchronised 2013-10-08 07:41:11 +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
7535f4c9f9 * CardDAV/Addressbook/LDAP/ADS: syncing all addressbooks into one now also allows to include accounts not stored like contacts 2013-08-22 16:39:21 +00:00
Ralf Becker
2526840c2c fixed an other sql error when creating distribution lists 2013-08-06 10:18:12 +00:00
Ralf Becker
afd034aca6 * CardDAV/Addressbook: fixed various issues with groups/distribution lists as supported by Apple and eMclient (groups need to be enabled in CalDAV/CardDAV preferences!) 2013-08-02 16:31:54 +00:00
Ralf Becker
5e153a1a48 fixed CardDAV for accounts in ADS 2013-06-29 11:41:55 +00:00
Ralf Becker
c55d30dd07 fixing etag for lists to 2013-06-23 08:57:21 +00:00
Ralf Becker
df2847f67d * Addressbook/CardDAV: PUT returned empty ETag, proably causing unnecessary reloads of contacts 2013-06-23 08:43:35 +00:00
Ralf Becker
618c70a45d docu update 2013-06-20 07:50:12 +00:00
Jörg Lehrke
3bce17e854 Fix vCard field mapping during import (cummunity bug #3208) 2013-02-19 19:53:20 +00:00
Ralf Becker
4f16b71ea5 * CardDAV/Addressbook: do NOT allow to delete accounts via CardDAV, was never intended, but as it is allowed in addressbook, it was possible via CardDAV 2013-01-22 13:19:07 +00:00
Ralf Becker
0f76ff5ab5 * CardDAV: fixed wrong privileges for accounts addressbook, causing clients to report it read-only even for admins 2013-01-22 08:37:58 +00:00
Ralf Becker
4e2a7dab80 * CardDAV/Addressbook: fixed not working delete of contacts 2012-10-01 17:23:44 +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
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
e69918f583 * CalDAV/CardDAV: return urn:uuid as last record in calendar-user-address-set, as according to iCal4OL developer, some clients might have problems with it, also adding both full uri and just path of principal url, as calendarserver does it 2012-09-24 07:07:57 +00:00
Ralf Becker
a6f541edba * CardDAV: rfc 6578 sync-collection report (more efficient way to sync contacts) 2012-09-23 20:19:35 +00:00
Ralf Becker
082372881d * CardDAV: disable category and class (public/private) for iOS, because they are not displayed and get messed up 2012-07-31 16:18:26 +00:00