Commit Graph

83 Commits

Author SHA1 Message Date
Ralf Becker
f9225d6aec fixed an other sql error when creating distribution lists 2013-08-06 10:15:27 +00:00
Ralf Becker
9c94034e87 * 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 19:26:24 +00:00
Ralf Becker
3e7651060c fixed CardDAV for accounts in ADS 2013-06-29 11:42:27 +00:00
Ralf Becker
d2a9dc85e0 fixing etag for lists to 2013-06-23 08:58:32 +00:00
Ralf Becker
bcdcf31a15 * Addressbook/CardDAV: PUT returned empty ETag, proably causing unnecessary reloads of contacts 2013-06-23 08:43:57 +00:00
Ralf Becker
a6a17ecc37 * Addressbook/ActiveDirectory: accounts addressbook was empty, if not explicit context was set 2013-06-20 07:48:03 +00:00
Jörg Lehrke
83ede51156 Fix vCard field mapping during import (cummunity bug #3208) 2013-02-19 20:00:32 +00:00
Ralf Becker
342c393f96 reverting r40983 and r41202, as we can not reproduce the problem causing the fix, afaik distribution-lists work in 11.1, thought they only make sense with Apple devices 2013-01-24 10:45:32 +00:00
Ralf Becker
a9093afe47 * 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:27 +00:00
Ralf Becker
637bc916af * CardDAV: fixed wrong privileges for accounts addressbook, causing clients to report it read-only even for admins 2013-01-22 08:39:42 +00:00
Klaus Leithoff
4f8f729307 actively disable distributionslist for carddav (possibly selected) for 11.1, as database schema is not supporting it 2013-01-10 12:10:05 +00:00
Klaus Leithoff
8136c246c1 * addressbook/carddav: disable not supported distribution list capability (due to missing table schema) 2012-11-29 14:26:06 +00:00
Ralf Becker
dcb99a352f * 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-10-16 12:17:32 +00:00
Ralf Becker
138d16cfa3 * CalDAV/Calendar/Resources: calendars of resources can now be accessed or subscribed via CalDAV, to subscribe use CalDAV preferences 2012-10-16 11:30:35 +00:00
Ralf Becker
a735c5886b * CalDAV/CardDAV: sync-collection report for calendar allowing a more efficient sync 2012-10-16 11:11:29 +00:00
Ralf Becker
28f8d4e2b7 * InfoLog/CalDAV: sync-collection report, 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-10-16 11:08:33 +00:00
Ralf Becker
39012f847b * CardDAV: rfc 6578 sync-collection report (more efficient way to sync contacts) 2012-10-16 11:04:27 +00:00
Ralf Becker
6feeba00ab fixed wrong status-code for CardDAV DELETE 2012-10-01 17:26:05 +00:00
Ralf Becker
0fa472164e * CardDAV: disable category and class (public/private) for iOS, because they are not displayed and get messed up 2012-07-31 16:18:46 +00:00
Ralf Becker
47e6f766ff * Addressbook/CardDAV: fixed lost cell-phone numbers, caused by SyncML update 2012-07-31 14:59:05 +00:00
Jörg Lehrke
20ad9de419 * Fix Funambol vCard issues (community bug #1999) 2012-07-22 10:15:43 +00:00
Ralf Becker
476dc6ad93 * CalDAV: expand-property reports queried by iCal from OS X 10.7.4
- expanded-group-member-set
- expanded-group-membership
- calendar-proxy-read-for
- calendar-proxy-write-for
Both calendar-proxy reports can be combined in one request, which is now also handled correct.
2012-07-15 09:15:57 +00:00
Ralf Becker
762b892e7d * CardDAV/GroupDAV/Addressbook: works now with LDAP backend (account only or all contacts), fixed not working update of accounts (SQL and LDAP), changed ctag generation to work with LDAP too 2012-02-29 10:04:41 +00:00
Ralf Becker
587c2cf595 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:05:35 +00:00
Ralf Becker
a479b59858 * CardDAV/Addressbook: storing Apple AB type company (X-ABShowAs:COMPANY) as EGroupware fileAs company 2012-02-21 08:58:22 +00:00
Ralf Becker
f9a8f55065 fixed missing owner 2012-02-20 11:22:33 +00:00
Ralf Becker
bfd50d213e fixed not working PUT of groups/lists 2012-02-18 10:18:14 +00:00
Ralf Becker
e9502eda30 * Addressbook/CardDAV: fixed sync all in one addressbook changed AB to personal, use default addressbook for new contacts if synced, otherwise use always synced personal AB 2012-02-15 13:04:57 +00:00
Ralf Becker
34393ca041 propagate data from settings hook to handlers, to fix failed installs because setup was not detected 2012-02-14 17:39:40 +00:00
Ralf Becker
8b0cb9cfb7 added user-agent detection for Snow Leopard (OS X 10.6) addressbook, to stop it from messing up categories and photo, Lion (10.7) addressbook works find 2012-02-14 15:15:26 +00:00
Ralf Becker
ab84acc81f fixed several small issues around CardDAV and history logging in addressbook (dont log not set custom fields as there are not stored and therefore not changed) 2012-02-10 21:30:48 +00:00
Ralf Becker
e789762727 resurrect preference to sync all ABs into one (allways implied for OS X) and new pref to "Distributionlists as groups", plus explenation of the prefs
r37966: many bugfixes around distribution-lists/groups and some code restructuring
2012-02-10 11:44:52 +00:00
Ralf Becker
21dfe8ac02 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-10 11:28:56 +00:00
Ralf Becker
9d85196706 move logic of which addressbook/calendars are shared into app-handler
move app-specific settings to app-handler
2012-02-10 11:27:26 +00:00
Ralf Becker
ed2b6f99dc * Addressbook/CardDAV: fixed Apple iOS and OS X addressbook messed up phone numbers (Mobile is now mobile for both and iPhone is matched to EGroupware private cell)
also removed copy of supportedFields and using again default ones from addressbook_vcal, with Apple specific fixes in _get_handler()
2012-02-10 11:16:44 +00:00
Ralf Becker
6a8ef0cc35 first try to export distribution lists via CardDAV as vCard with "X-CALENDARSERVER-KIND:group", we might need a user-agent whitelist, as not all clients will understand that
fixed typo
fixed many issues with distribution lists as vCard groups, also adding/removing contacts from a list in web-GUI is working again
extend ctag to lists
limit groupVCard to contacts of same addressbook, as OS X and iOS only allows that and PUTs would remove contacts from other ABs, also fixed not working multiget report of lists/groups
fixed not working update of members
2012-02-10 11:11:38 +00:00
Ralf Becker
fcf6fa3aab fill displayname for contacts and task to easier identify it in autoindex 2012-02-10 11:02:01 +00:00
Ralf Becker
693a819d57 setting CardDAV:max-image-size on addressbook collections, so iOS scales it down before sending 2012-02-10 09:06:25 +00:00
Ralf Becker
83653c362f * CalDAV/CardDAV: /addressbook-accounts/ and PROPPATCH for addressbooks/calendars for every namespace but CalDAV, CardDAV or Calendarserver (displayname or *-describtion are ok) 2012-02-10 08:58:08 +00:00
Ralf Becker
0609f0a430 * CardDAV: fixed sometimes not working creation of new contacts from the device, if accounts are stored in LDAP
not sure why I used $this->bo->account_repository != "ldap", it makes no sense, as we specify the column explicitly, no idea if CardDAV works for an addressbook in LDAP, but now it works for accounts in LDAP too
2012-01-20 06:46:26 +00:00
Ralf Becker
296aefe51d skip "unknown xml" warning in addressbook-multiget report 2011-11-10 06:58:30 +00:00
Ralf Becker
80510b5412 * CalDAV/CardDAV: major rework fixing lots of bugs/incompatibilites and adding new features: eg. autocompletion of accounts and resources under iCal, searchable addressbook gateway for all addressbooks available
merged changes from Trunk up to r37094 from addressbook, calendar, infolog, phpgwapi, egw-pear and resources (only CalDAV/CardDAV related stuff of cause)
2011-11-06 09:40:33 +00:00
Ralf Becker
40dd19fd3e * CardDAV/GroupDAV: handle deleted contacts, as not existing (404 Not Found) 2011-06-19 09:01:15 +00:00
Ralf Becker
87ee0f0088 * CardDAV: store name part of URL from client PUT request, to fully comply with CardDAV spec 2011-04-05 20:39:13 +00:00
Ralf Becker
01d1b16b6e * GroupDAV/CardDAV: fixed empty addressbooks issue (url in PROPFIND contained empty id --> "/.vcf" instead "/123.vcf")
caused by not longer necessary special handling of contact_id in addressbook_sql, which is handled now in so_sql(_cf)
fix for PostgreSQL to NOT get SQL error ORDER BY must be in column list for GroupDAV/CardDAV propfinds
2011-03-23 09:37:19 +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
Ralf Becker
44bc1a28c8 - moved ctag generation to addressbook_bo
- include deleted contacts in ctag generation, as otherwise deleting entries does NOT change ctag
- implemented AlterPingChanges using ctag for ActiveSync
2010-12-02 19:42:03 +00:00
Jörg Lehrke
d3532ed7a1 Fix Apple CardDAV issue 2010-10-29 08:45:40 +00:00
Ralf Becker
c67a61b692 returning "403 Forbidden" if addressbook_bo->save() fails, happens when writing new entries in ABs without ADD rights 2010-10-20 16:16:03 +00:00
Ralf Becker
e86f5fb663 fixed bug: GroupDAV/CardDAV PUT request to /addressbook/ changes owner, also checking now required ACL for moving contacts between addressbooks 2010-10-20 15:47:30 +00:00