Ralf Becker
7a6959ca3f
many bugfixes around distribution-lists/groups and some code restructuring
2012-02-09 20:09:49 +00:00
Ralf Becker
d7fca17d6e
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
2012-02-04 21:47:28 +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
d21be8d871
move logic of which addressbook/calendars are shared into app-handler
2012-02-04 01:03:56 +00:00
Ralf Becker
902d569026
* 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-01 19:52:19 +00:00
Ralf Becker
625a125e83
fixed not working update of members
2012-02-01 00:59:25 +00:00
Ralf Becker
f5cb740795
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
2012-02-01 00:31:24 +00:00
Ralf Becker
6f1c2eacac
extend ctag to lists
2012-01-31 20:06:27 +00:00
Ralf Becker
5c020ac87d
fixed many issues with distribution lists as vCard groups, also adding/removing contacts from a list in web-GUI is working again
2012-01-31 19:47:52 +00:00
Ralf Becker
41eaebde79
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
2012-01-31 09:57:59 +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
3db7b2f5c2
setting CardDAV:max-image-size on addressbook collections, so iOS scales it down before sending
2012-01-30 19:47:34 +00:00
Ralf Becker
01ce3bd88d
* CalDAV/CardDAV: /addressbook-accounts/ and PROPPATCH for addressbooks/calendars for every namespace but CalDAV, CardDAV or Calendarserver (displayname or *-describtion are ok)
2012-01-30 05:11:05 +00:00
Ralf Becker
7f14a2a196
* 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:44:40 +00:00
Ralf Becker
d9a824efa2
skip "unknown xml" warning in addressbook-multiget report
2011-11-10 06:57:54 +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
e05ce4d614
enclosing etag in quotes, as most servers do
2011-10-05 08:15:24 +00:00
Ralf Becker
3f564ac5aa
enhanced addressbook-query report filter to parse filter given by Mac OS Addressbook directory gateway query
2011-10-05 06:50:26 +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
b44e108cea
* CardDAV/GroupDAV/Addressbook: do NOT check for api version, as it caused accounts created during setup to have no carddav_name and therefore fail in CardDAV/GroupDAV (shown as "/addressbook/" in collection list!)
2011-09-28 09:47:47 +00:00
Ralf Becker
1f39e5c562
- added WebDAV ACL props supported-privilege-set and current-user-privilege-set
...
+ currently only standard WebDAV privileges: read, read-current-user-privilege-set, write-content, bind and unbind used
+ they get only queried for collections, thought we dont report any write* on collections, as we dont allow to create calendars or change properties
- new groupdav::add_resource() method used to add all resources (incl. collections) to propfind or report requests
- improved autoindex to show nicely indented hierarchical properties
2011-09-21 20:08:21 +00:00
Ralf Becker
03ed1d3ddb
- refactored code to use a single add_collection method in groupdav class
...
--> app groupdav classes now get calling groupdav object as parameter
Had a quick test with iOS & OS X addressbook, calendar and with Lightning
2011-09-18 10:56:56 +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
Jörg Lehrke
33bd0fed50
Announce all available addressbooks and calendars of the current user with GroupDAV
2010-10-09 22:49:10 +00:00
Jörg Lehrke
40d786871e
Improve Mac OS Addressbook.App CardDAV support as far as reasonable
2010-09-25 15:19:48 +00:00
Ralf Becker
ed733eef42
* iPhone and Mac Addressbook support aka Apple CalDAV/CardDAV autodetection
...
Addressbook does NOT allow to specify the URL, unlike iCal which allows it after autodetection fails.
This, some XML specifics set now for Apple addressbook user-agents and etags for addressbook collection itself
allow now to use EGroupware with iPhone or Mac addressbook. The later was working before, if you edited the URL
into a decompiled plist file, but failed now because of a new REPORT it tries on the principal, to find out shared
addessbooks, which we not yet support, but failed to tell in the correct way (501 Not Implemented).
Addressbook sync now the personal addressbook, because that is what we tell it as addressbook-home-set.
We should add some configuration so user can choose what addressbook to set as addressbook-home-set, or to set
the "all" addressbook (/addressbook). For the later we could add some prefs like SyncML to specify filters or
eg. a distribution list.
2010-09-25 09:08:37 +00:00
Jörg Lehrke
901f5873bc
Fix GroupDAV ctag issues
2010-09-18 11:28:12 +00:00
Jörg Lehrke
37fed34972
Allow moving of existing cantacts between adressbooks
2010-07-23 18:06:18 +00:00
Jörg Lehrke
75b25bb796
Fix FroupDAV report issue
2010-07-02 05:01:15 +00:00
Jörg Lehrke
09bc2c09cd
Fix CTag issues for GroupDAV
2010-06-29 13:52:56 +00:00
Jörg Lehrke
bce68a9e82
Fix CalDAV group attendee issue; various GroupDAV improvements
2010-06-27 22:16:22 +00:00
Jörg Lehrke
1431f149e2
Fix GroupDAV/Addressbook categories issue
2010-06-14 07:45:25 +00:00
Jörg Lehrke
30a3296c8e
Optimze and clean up GroupDAV
2010-04-13 15:31:59 +00:00
Jörg Lehrke
7220d96847
Use iterator approach in GroupDAV; fix various issues
2010-03-15 09:55:16 +00:00
Jörg Lehrke
a8804a44ef
GroupDAV updates
2010-03-06 23:06:43 +00:00
Ralf Becker
8d55e4800e
fixed supported-report-set according to a calendarserver example and reorganized HTTP_WebDAV_Server to generally support hierachical properties
2010-01-07 04:24:45 +00:00
Ralf Becker
b446f6de4e
supported-report-set as required for CardDAV and Sogo connector
2010-01-07 02:04:09 +00:00
Ralf Becker
2e99a3fb20
ctag for addressbook, sogo connector seem to require it, thought it should be optional, anyway ctag makes sense
2010-01-05 23:27:28 +00:00
Ralf Becker
d53f0c91bf
ctag for addressbook, sogo connector seem to require it, thought it should be optional, anyway ctag makes sense
2010-01-05 23:25:17 +00:00