Florian Schlichting
63c4de9f34
do not advertise ?add_member on a principal
...
We wouldn't know what to do with that anyway...
Fixes the CalDAV/add-member.xml test.
2017-09-19 21:16:43 +02:00
Florian Schlichting
ad763744f1
fix a typo, add a debug statement
...
WriteAddressbookMember doesn't exist, but as far as I can see it is only
referenced from WriteMember, which itself isn't used anywhere...
2017-01-06 15:04:59 +01:00
Florian Schlichting
e7c43a0689
fix infinite loop when finding delegates ( closes #48 )
2017-01-04 20:52:03 +01:00
Florian Schlichting
1393c30390
migrate away from deprecated auth functions, warn more aggressively
2016-12-30 08:53:51 +01:00
Florian Schlichting
8d06163ddf
less "global $foo"
2016-12-30 08:53:04 +01:00
Florian Schlichting
eb7f2edc0c
eliminate trailing whitespace, expand tabs
2016-12-30 08:52:44 +01:00
Florian Schlichting
c510a48aaa
allow BuildDeadPropertyXML to continue on namespace errors ( #9 )
2016-01-11 23:38:54 +01:00
Florian Schlichting
144a938923
demote stack trace to regular debug logging (cf. #42 )
...
This code produced a stack trace every time an attendee deleted an
event from his calendar. It is not clear what bug this was meant to shed
light on.
2016-01-08 13:35:51 +01:00
Andrew Ruthven
3ca7960746
Merge branch 'fix-add-member' into 'master'
...
Fix add-member support for calendars
Change the add-member parameter to add_member to match the name of the global variable name. Otherwise the global variable was always unset and the generic POST handler handled the request instead of the PUT handler for vcalendars.
Make sure to return a Location header when adding a vcalendar using add-member POST.
See merge request !14
2015-05-28 10:26:18 +00:00
Marten Gajda
f5dc6c669f
Add component parameter to content-types headers and getcontenttype properties
...
This allows clients to filter the results quickly by just looking at the content-type without having to parse the calendar data.
2015-05-27 19:49:27 +02:00
Marten Gajda
d99a082c24
Change the add-member parameter to add_member to match the name of the global variable name. Otherwise the global variable was always unset and the generic POST handler handled the request instead of the PUT handler for vcalendars.
...
Make sure to return a Location header when adding a vcalendar using add-member POST.
2015-05-27 14:32:32 +02:00
Jorge López Pérez
5d6f6b8575
Fix current-user-principal
...
current-user-principal should always return the principal URL for the
currently authenticated user, not the accessed resource one.
2014-11-10 14:49:32 +01:00
Ján Máté
7a05f2b7d7
fixed uninitialized principal object for calendar-proxy-* queries
2014-04-27 17:26:35 +02:00
Ján Máté
6b37b2b422
fixed masking of confidential event components
2014-03-24 01:52:52 +01:00
Andrew McMillan
04ad1ac742
Fix typo.
2013-05-28 12:54:44 +12:00
Andrew McMillan
115676613d
Only certain specific namespaces actually have database columns.
2013-05-23 13:28:54 +12:00
Andrew McMillan
584a52cb70
Quick workaround for iOS6 supported-calendar-component-set issue.
...
Adds a $c->default_calendar_components array of (VEVENT,VTODO,...)
2012-09-20 23:37:22 +12:00
Andrew McMillan
0a435d4f22
Fix debugging to error log.
2012-09-20 23:33:52 +12:00
Andrew McMillan
274f8dfa74
Sometimes we want to retrieve the sync-token as a result of a change we just made.
...
This allows a (default true) flag to indicate whether it's OK to use
a previously cached value.
2012-07-29 23:17:28 +12:00
Andrew McMillan
d2513bddd5
Add workaround for Apple's POST add-member trainwreck.
2012-07-13 21:54:29 +12:00
Andrew McMillan
8fb0479015
supported-calendar-component-set uses dead properties too...
2012-07-13 12:30:34 +12:00
Andrew McMillan
b4fd9e2ed2
Don't just return the first element in a dead property - there might be multiple!
2012-07-13 10:45:08 +12:00
Andrew McMillan
4f81556586
Use DeconstructURL rather than rawurldecode since it strips base_name components as well.
2012-07-09 01:17:46 +12:00
Andrew McMillan
1be5cd808a
Another double-encoded field...
2012-07-09 01:17:21 +12:00
Andrew McMillan
2e19bbb535
Avoid double-encoding URLs.
2012-07-09 01:17:11 +12:00
Andrew McMillan
ab95a487ea
Correct current-user-principal reference.
2012-07-09 01:16:37 +12:00
Andrew McMillan
c09ee6ff91
Some hrefs were not properly calling ConstructURL.
2012-07-08 11:59:02 +12:00
Andrew McMillan
2c12586a42
Ensure collection_id is set after we read the row.
2012-07-08 11:58:49 +12:00
Andrew McMillan
d1c2179bbb
Allow a user delegated write access to the principal to maintain it.
2012-06-11 19:43:05 +12:00
Andrew McMillan
b32e2cc452
Fix storing / regurgitating of XML fragments in dead properties.
...
Requires updated AWL to match.
2012-05-20 21:41:32 +12:00
Andrew McMillan
a32d1f2ac2
Avoid unassigned variable warning.
2012-05-14 23:26:30 +12:00
Andrew McMillan
58fe06586e
When matching a URL and we have something without a trailing slash, it could also be a binding.
2012-05-05 17:01:40 +12:00
Andrew McMillan
155c70bba5
Changes to the way XML is created, and (to a lesser extent) parsed.
2012-05-03 19:11:28 +12:00
Andrew McMillan
7c15051f84
Further fixes to WebDAV synchronization.
...
This should be fully reliable now and also cleans out all sync
changes more than one week old. update-database is needed to pull
the new function.
2012-04-17 15:44:09 +12:00
Andrew McMillan
f55f8fbee3
Allow complete disabling of handling for Apple's old calendar-proxy.
...
We'll make this a default behaviour after 2012 is over and remove it
sometime after that.
2012-03-22 13:52:20 +13:00
Andrew McMillan
85017681d0
More comprehensive fix for collections where sync_token does not compute.
2012-03-19 12:33:45 +13:00
Andrew McMillan
f32ec4b704
Don't try and produce a sync_token for the root collection.
2012-03-19 12:31:54 +13:00
Andrew McMillan
2c40db7d7e
Fix reference to collection->dav_name.
2012-03-19 12:23:12 +13:00
Andrew McMillan
dfb82f9c81
Principals don't (yet) have a sync-token.
2012-03-17 21:49:28 +13:00
Andrew McMillan
a96c609cb4
We should respond with sync-token if PROPFIND asks too.
2012-03-17 21:33:41 +13:00
Andrew McMillan
34cff0d299
Fix resource fetch from database.
2012-03-17 21:33:16 +13:00
Andrew McMillan
e9e5073eb5
Implement support for 'Brief' header.
...
Also add VPOLL and VAVAILABILITY to list of supported components.
2012-01-31 09:23:59 -08:00
Andrew McMillan
7332b7820d
Note in phpdoc that this is deprecated and what to use instead.
2011-12-03 14:20:12 +13:00
Rob Ostensen
f7420b1a9b
fix propfind depth:1 on bind to external url
2011-11-09 09:17:22 +13:00
Andrew McMillan
d8d16c8ee9
Checkpoint the current code for scheduling on DELETE .
2011-11-02 01:30:45 +13:00
Andrew McMillan
10afabbeb9
Rationalise confidential event rewriting and fix $c->hide_alarm function.
2011-10-31 13:15:49 +13:00
Andrew McMillan
02b6d47082
Add the $c->hide_alarms functionality into DAVResource class.
2011-10-30 16:05:14 +13:00
Andrew McMillan
9e6c3cffe7
We need the DAVPrincipal module here in some situations.
2011-10-27 08:47:19 +13:00
Andrew McMillan
2fd4a95285
Force casting to text in case someone is using integer usernames.
2011-10-14 11:07:33 +13:00
Andrew McMillan
8e18449096
Updated MKCOL/MKCALENDAR to support setting a supported-calendar-component-set
2011-10-03 17:57:28 +02:00