Andrew McMillan
595e724426
Fix bug in handling bound resources with DAVResource changes.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-04 18:46:51 +13:00
Andrew McMillan
ac190c7277
Fix bugs in previous commit. Plus regression tests for it.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-07 09:39:16 +13:00
Andrew McMillan
9b079d7549
Handle empty PROPFIND, don't blow up on invalid XML.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-07 09:28:12 +13:00
Andrew McMillan
76768719c9
Handle a level of indirection in Binds of binds.
2010-09-02 23:04:35 +12:00
Andrew McMillan
83059270d9
Wrap calendar-specific things for PROPFIND in an IsCalendar() test.
2010-08-31 19:22:32 +12:00
Andrew McMillan
e4e2a1fd47
Explicitly specify permissions matching.
2010-06-29 23:51:17 +12:00
Andrew McMillan
adb1f949ac
Check for existence of target resource before we check for READ perm.
2010-06-28 08:41:46 +12:00
Andrew McMillan
b55e69399f
Switch to put caldav_data.* in result list after calendar_item.*
2010-04-16 12:47:18 +12:00
Andrew McMillan
cd154199b8
Initialise the parent_container when constructing from a row.
2010-03-24 23:41:23 +13:00
Andrew McMillan
4d674c4f92
Getting bindings to work as seamlessly as possible.
2010-03-15 00:31:16 +13:00
Andrew McMillan
0a1b3c2d59
All regression tests passing again with BIND for PROPFIND.
2010-03-14 12:16:12 +13:00
Andrew McMillan
ed055722e9
Working BIND and PROPFIND of bound resources.
2010-03-14 00:22:43 +13:00
Andrew McMillan
57920da746
Switch from AllowedTo() to HavePrivilegeTo() to support tickets.
2010-03-12 18:29:46 +13:00
Andrew McMillan
2255e1fa6a
Use NeedPrivilege() method to check privileges.
2010-03-06 23:27:49 +13:00
Andrew McMillan
9460803f71
Add an option to restrict visible contents to a limited date range.
...
This patch adds ability to hide old events from Caldav clients. New
configuration option $c->hide_older_than accepts an integer number
of days. For example, setting $c->hide_older_than=90 hides all
events with "end date" older than 90 days. The main purpose of this
patch is allowing to use Sunbird with more than 500 Caldav events
without removing these events from calendar. Without this patch
the Sunbird slows down and load calendars extremely slowly (up to
10 min. for 1800 events).
2010-02-28 11:19:36 +13:00
Andrew McMillan
429940f4d9
The <allprop> can be at the top level, not within the <prop>.
2010-02-26 13:45:30 +13:00
Andrew McMillan
1eb677de16
Make some of those unused functions really not be used!
2009-12-21 21:41:37 +13:00
Andrew McMillan
19199d5f86
Replaced the old get_permissions() call with the new permissions model.
2009-12-21 13:04:25 +13:00
Andrew McMillan
e5b1139d86
New PROPFIND implementation.
2009-11-12 00:43:09 +13:00
Andrew McMillan
c83873c32a
Tidying up the corpse...
2009-11-12 00:36:16 +13:00
Andrew McMillan
dd0d152cb4
Correct <creationdate> format & group-member* responses.
2009-11-12 00:17:45 +13:00
Andrew McMillan
4aced6ff32
Move proxy tests to use accessors.
2009-11-08 20:30:26 +13:00
Andrew McMillan
e957d07927
Be as lazy as possible about doing that horrible proxy query.
2009-11-07 21:53:23 +13:00
Andrew McMillan
1ad6713dfc
Correct response for schedule-inbox.
2009-11-02 14:23:22 +13:00
Andrew McMillan
5b99bb68e0
Improving response on non-existent resources.
2009-11-02 11:47:50 +13:00
Andrew McMillan
871e6841f1
We will only return supported-calendar-component-set on a calendar for now.
2009-11-02 10:02:50 +13:00
Andrew McMillan
379747180a
Add support for supported-method-set & supported-report-set.
2009-11-02 10:02:18 +13:00
Andrew McMillan
9e1b4170a7
Only return an ordered set if so configured.
2009-10-06 14:37:58 +13:00
Andrew McMillan
f2bb76091a
Don't return scheduling inbox/outbox in Depth 1 propfind on principal.
2009-09-25 22:14:45 +12:00
Andrew McMillan
b78c4d6d12
Allow for namespaced properties. Not all are in the DAV space.
2009-09-11 23:45:45 +12:00
Andrew McMillan
48eb93eaec
Restyle to use ' where possible as performance tweak.
2009-09-11 11:04:59 +12:00
Andrew McMillan
36ef7160f5
Make the base URL in a PROPFIND reflect the actual requested URL.
2009-09-10 23:19:53 +12:00
Andrew McMillan
9f4f31473d
Fix call time pass by reference warnings.
2009-09-05 12:03:58 +12:00
Andrew McMillan
fc06ef8868
Correct comment.
2009-06-27 20:36:28 +12:00
Andrew McMillan
45072cbe6d
Undo adding of notifications-URL until we actually support something there.
2009-06-18 17:19:19 +12:00
Andrew McMillan
1f8b3a2af9
Move principal rendering into principal.
2009-06-14 21:20:36 +12:00
Andrew McMillan
70b760fbea
Simplify logic slightly.
2009-06-14 11:24:23 +12:00
Andrew McMillan
35a9d326ab
Properly move rendering of Principal into CalDAVPrincipal... almost.
2009-06-14 00:26:42 +12:00
Andrew McMillan
3b5962c112
Tidy up Wolfgang's caldav proxy patch.
2009-06-13 13:44:14 +12:00
Wolfgang Herget
4bb248786b
Calendar Proxy implementation.
2009-06-13 13:40:08 +12:00
Andrew McMillan
eccffa0502
Fix sort ordering. Ensure collection_id is available for next change.
2009-05-12 14:45:56 +12:00
Andrew McMillan
a1aa782c17
Limit scope of collections_always_exist to user's own folders.
2008-11-26 14:38:18 +13:00
Andrew McMillan
2d6fa8369a
Construct URL through the function.
2008-11-18 18:16:57 +13:00
Andrew McMillan
964d0a1224
Fix brokenness after getting rid of crappy halfway namespaced tag handling.
2008-11-12 22:55:53 +13:00
Andrew McMillan
c53ee7e240
More betterer namespace handling in the XML processing.
2008-11-12 22:16:20 +13:00
Andrew McMillan
066ae3f4e3
Release 0.9.6
2008-11-01 23:08:41 +13:00
Andrew McMillan
ff87efdc1d
Use @todo: everywhere for phpdocumentor syntax.
2008-11-01 19:27:33 +13:00
Andrew McMillan
0132e8195e
Fix uninitialised variable warnings.
2008-10-27 15:10:43 +13:00
Andrew McMillan
79bd7e2097
Allow response to current-user-principal and calendar-free-busy-set.
2008-10-26 01:49:31 +13:00
Andrew McMillan
e1e5ccbdd8
Add support for draft DAV:current-user-principal property.
2008-10-25 20:37:05 +13:00