Andrew McMillan
d419e50465
Fully switched DELETE to AwlQuery now.
2010-03-09 09:19:45 +13:00
Andrew McMillan
20a47c5fb2
Rewrite OPTIONS response to use DAVResource.
2010-03-08 17:46:24 +13:00
Andrew McMillan
dd21172c69
AwlQuery::QDo() method for quick queries where we don't parse the resultset.
2010-03-08 17:44:56 +13:00
Andrew McMillan
4db6703c05
Support for DELTICKET completed.
2010-03-08 16:44:55 +13:00
Andrew McMillan
bd875029a1
Changes for ticketdiscovery.
2010-03-08 16:44:06 +13:00
Andrew McMillan
fd1a940237
Implementation of DELTICKET method.
2010-03-07 23:24:05 +13:00
Andrew McMillan
aeaf09a2d4
Check precondition to disallow creating collections in a schedule-inbox.
2010-03-07 20:59:08 +13:00
Andrew McMillan
606e7d6338
Move PreconditionFailed and MalformedRequest into $request methods.
2010-03-07 20:58:31 +13:00
Andrew McMillan
70c853df6c
Correct misspelled __LINE__ references.
2010-03-07 20:56:49 +13:00
Andrew McMillan
c6745c97b0
Tickets now working for PROPFIND requests, and maybe more...
2010-03-06 23:30:12 +13:00
Andrew McMillan
2255e1fa6a
Use NeedPrivilege() method to check privileges.
2010-03-06 23:27:49 +13:00
Andrew McMillan
ef77bc3d39
Fix namespacing.
2010-03-06 23:26:58 +13:00
Andrew McMillan
c8fc9f128a
Fix order of parameters in Exec() calls.
2010-03-06 23:26:06 +13:00
Andrew McMillan
6560ea47a0
Check permission on move destination.
2010-03-06 23:25:30 +13:00
Andrew McMillan
2abf646429
Also send a Ticket: header in response to a MKTICKET.
2010-03-06 00:53:01 +13:00
Andrew McMillan
3320ec9a17
Start adding ticket support into request processing.
2010-03-06 00:22:09 +13:00
Andrew McMillan
c3cfc97fff
Add an empty response to the DAV::group property.
2010-03-06 00:21:01 +13:00
Andrew McMillan
371666f04e
All schedule-deliver privileges should be included in default.
2010-03-06 00:19:49 +13:00
Andrew McMillan
ecdf44ddd9
Use NeedPrivilege to respond to access denied.
2010-03-06 00:19:09 +13:00
Andrew McMillan
03ff39fa33
With readonly_webdav_collections set we should write nothing!
...
We were writing collection records to the database when the
configuration setting readonly_webdav_collections was set, even
though the actual events would not be written.
2010-03-05 14:26:58 +13:00
Andrew McMillan
31f8c6b17f
MKTICKET handling is now working.
2010-03-05 12:29:54 +13:00
Andrew McMillan
1e717bf1fe
Check we have actually got an XML body if we got a content-type XML.
2010-03-05 12:25:09 +13:00
Andrew McMillan
da6e9a07e2
Check XML is present, and also do need-privileges response.
2010-03-05 12:18:09 +13:00
Andrew McMillan
dc72ddf3a8
Correct setup of locale.
2010-03-05 11:00:55 +13:00
Andrew McMillan
0fffd0e417
First (untested) cut at MKTICKET implementation.
2010-03-05 00:02:26 +13:00
Andrew McMillan
567ff944a0
Properly respond with <error> elements inside <responsedescription>
...
As specified in RFC3253 (WebDAV Versioning), section 1.6
2010-03-04 16:52:21 +13:00
Andrew McMillan
1959c30eed
Validating user/collection names. Updating fullname/displayname.
2010-03-04 01:41:11 +13:00
Andrew McMillan
a6d692cde9
Switch always.php over to AwlQuery.
2010-03-04 01:39:40 +13:00
Andrew McMillan
4a0c65735e
Migrate MKCOL script to AwlQuery wrapper.
2010-03-03 14:31:11 +13:00
Andrew McMillan
e2ff9b575b
Add transaction helpers to query class.
2010-03-03 14:29:47 +13:00
Andrew McMillan
ecf57ce54e
Updated collection / principal edit, with better l10n.
2010-03-02 14:39:57 +13:00
Andrew McMillan
0e1df68878
Correct allprop/include processing.
2010-02-28 22:39:02 +13:00
Andrew McMillan
d763312279
Use 'Revoke' rather than 'Delete' for grants, and 'Remove' for group members.
2010-02-28 20:13:10 +13:00
Andrew McMillan
d3c4d9d2de
Hook the expansion code into the calendar query report.
2010-02-28 11:38:18 +13:00
Andrew McMillan
3cefbf9894
Tweaking the date expansion functions. Need to test this soon.
2010-02-28 11:35:01 +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
22e39493e7
Tweak 'we don't support this' response to scheduling requests.
2010-02-26 18:45:18 +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
1711fb68aa
Modification of protected properties should be a 403.
...
We might as well send an error response along with that, too.
2010-02-26 13:29:11 +13:00
Andrew McMillan
03df4635e4
Strip slashes from collection names. They're too confusing.
2010-02-25 23:28:54 +13:00
Andrew McMillan
ef4ef353b5
Allow anything to be a collection name, but urlencode it.
2010-02-25 21:20:54 +13:00
Andrew McMillan
41766218a5
Add a config item to exclude some users from LDAP sync.
2010-02-25 21:19:08 +13:00
Andrew McMillan
f1510c7670
Assign correct resourcetype on collection maintenance.
2010-02-25 09:40:55 +13:00
Andrew McMillan
f63d6d082a
Nearly released.
2010-02-24 16:51:03 +13:00
Andrew McMillan
4e7ad35dfb
Apparently CentOS 5 doesn't have DateTime class in it's PHP :-(
2010-02-24 16:41:31 +13:00
Andrew McMillan
459c50c9f9
Allow active/inactive setting. Hide irrelevant stuff on create.
2010-02-24 16:28:53 +13:00
Andrew McMillan
15b8d658b3
Add a link to list inactive principals.
2010-02-24 16:28:15 +13:00
Andrew McMillan
3c90dc23ed
Add support for listing inactive principals.
2010-02-24 16:26:12 +13:00
Andrew McMillan
544a3949fc
Minor formatting tweak.
2010-02-24 16:25:50 +13:00
Andrew McMillan
87bb578cdf
Fix the 'all' button action in grants update.
2010-02-24 14:00:33 +13:00