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
b1919850a1
Switch to HavePrivilegeTo() to ensure we catch tickets.
2010-03-07 20:57:33 +13:00
Andrew McMillan
70c853df6c
Correct misspelled __LINE__ references.
2010-03-07 20:56:49 +13:00
Andrew McMillan
f4416f84e9
Add a primary key.
2010-03-06 23:32:59 +13:00
Andrew McMillan
c37df9a88e
Corrected ticekt-related regression tests.
2010-03-06 23:31:48 +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
2e14fda7c1
Provide some rudimentary statistics about the setup.
2010-03-05 22:14:00 +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
231e3fda8a
Detecting no XML in the REPORT request is improved.
2010-03-05 12:28:46 +13:00
Andrew McMillan
b12bf600c1
Update to current 1.2.8 patch.
2010-03-05 12:25:56 +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
dd8b44e379
Result adds MKTICKET to supported method set.
2010-03-05 00:10:23 +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
bb6f174202
Remove irrelevant trailling ; from SQL statement.
2010-03-04 01:41:59 +13:00
Andrew McMillan
1959c30eed
Validating user/collection names. Updating fullname/displayname.
2010-03-04 01:41:11 +13:00
Andrew McMillan
78f5026b30
Ooh look: 2010!
2010-03-04 01:40:48 +13:00
Andrew McMillan
7430378be0
Some long overdue updates to the installation docs.
2010-03-04 01:40:25 +13:00
Andrew McMillan
a6d692cde9
Switch always.php over to AwlQuery.
2010-03-04 01:39:40 +13:00
Andrew McMillan
4e86c56a14
Current plans for rev 1.2.8 data structure changes.
2010-03-03 14:36:35 +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
555ed3bc4e
Add a weak_etag field for use with scheduling.
...
The weak_etag will be assigned from the etag only when
normal changes are made to an event. A subset of the
changes involved in automatic scheduling will not change it.
2010-03-02 14:16:13 +13:00
Andrew McMillan
16f70a9bdb
More work on database patch.
2010-02-28 22:39:42 +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
242ebdcf31
Adding tables for holding addressbook data and split out alarms/attendees.
2010-02-28 20:12:40 +13:00
Andrew McMillan
d3c4d9d2de
Hook the expansion code into the calendar query report.
2010-02-28 11:38:18 +13:00
Andrew McMillan
899337a679
Database changes which actually work, for the moment.
2010-02-28 11:35:52 +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
0492cb38bb
Tweak privileges_list() to work in older Pg versions.
2010-02-27 15:21:33 +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
7a3adb6764
Stop these regression tests prompting me when they haven't really changed.
2010-02-26 13:39:05 +13:00
Andrew McMillan
4f5badd549
Starting to think about tickets for granting permissions.
2010-02-26 13:30:55 +13:00