233 Commits

Author SHA1 Message Date
Andrew McMillan
3f4108094d Various bits of unused code (from an earlier project) were cleaned out. 2007-04-13 18:15:28 +12:00
Andrew McMillan
3a227fd75a Enforce ordering of response. 2007-04-04 21:54:28 +12:00
Andrew McMillan
77f0d797fc Add support for MKCALENDAR with XML. 2007-04-03 10:05:24 +12:00
Andrew McMillan
1740c66491 Test whether a URL without a trailing '/' is actually a collection. 2007-03-19 12:10:03 +12:00
Andrew McMillan
0fb06ec977 Another catch for PRIVATE events. 2007-03-13 13:53:56 +13:00
Andrew McMillan
51b45e71c8 Fix bug identified by PHP5. 2007-03-08 11:02:02 +13:00
Andrew McMillan
7ec3ae5d93 Session needs to be global here. 2007-03-08 09:18:36 +13:00
Andrew McMillan
48f43b18b3 Final tweaks to RRule, removing debugging and with tests that are now better. 2007-03-07 22:12:39 +13:00
Andrew McMillan
bc15ec03e6 Many fixes to the RRule handling both for correctness and PHP5. 2007-03-07 12:39:38 +13:00
Andrew McMillan
37b754f073 Lots of fixes for PHP5 and correctness. Nearly done... 2007-03-07 09:17:08 +13:00
Andrew McMillan
a5203098c5 Hide PRIVATE events if the person enquiring has no rights to see them. 2007-03-06 17:03:20 +13:00
Andrew McMillan
ddfbd624a7 Add handling of PRIVATE events to GET. 2007-03-06 14:59:18 +13:00
Andrew McMillan
c8bbcc1df6 Sunbird is now requesting VTODO and VEVENT correctly in REPORTs. This fixes
the handling of those cases.
2007-03-06 14:58:45 +13:00
Andrew McMillan
f058968e87 Fix typo which becomes obvious when this is run under PHP5. 2007-03-05 14:39:13 +13:00
Andrew McMillan
aa0a2867bc Response code for a successful PUT should be 204 No Content rather than 200 OK. 2007-03-02 11:48:36 +13:00
Andrew McMillan
811a0e660c Add meta tag for content type. 2007-02-20 10:17:41 +13:00
Andrew McMillan
c22318578f Allow someone with freebusy permissions to see the hierarchy of collections
but not the items within them.
2007-02-16 11:35:24 +13:00
Andrew McMillan
8e90d1af97 Some tidying of the freebusy report. Allow specification of start/finish
range on the freebusy GET query particularly to enable reliable regression
test results.
2007-02-13 14:51:54 +13:00
Andrew McMillan
f94558832e Ensure the Etag is provided for GET requests. 2007-02-13 11:38:09 +13:00
Andrew McMillan
c89d724058 Add a 'status' column to the calendar_item table which gets the STATUS property. 2007-02-13 11:37:25 +13:00
Andrew McMillan
d276b1006d A somewhat unsatisfactory hack, so that I can import a calendar from
Evolution.  It does work, but it is not the final answer.
2007-01-08 17:43:05 +13:00
Andrew McMillan
5ddf4daefa More nearly working, but not handling missing VTIMEZONE which Evolution does
not provide on export :-(
2007-01-05 15:32:24 +13:00
Andrew McMillan
5a347b629b Initial (untested) support for PUT of an entire collection. 2007-01-05 14:41:04 +13:00
Andrew McMillan
3bc5cf584b Send correct list of timezones with calendar export of collection. 2007-01-04 09:46:34 +13:00
Andrew McMillan
feec3a0f7a Get a whole calendar when requested against a collection. 2007-01-04 08:35:20 +13:00
Andrew McMillan
7c56e10f76 There are no situations where If-Match or If-None-Match is applied for a GET. 2007-01-04 08:08:04 +13:00
Andrew McMillan
9a15ec0e15 Only indicate that it is truncated if we actually did truncate it! 2006-12-28 13:09:48 +13:00
Andrew McMillan
89bae63b1c Indicate the message has been truncated when we log it. 2006-12-28 13:08:41 +13:00
Andrew McMillan
402ed54bfb More translatability. 2006-12-28 13:08:14 +13:00
Andrew McMillan
9102509d1a Improve translatability and understanding for non-geeks. 2006-12-28 13:07:39 +13:00
Andrew McMillan
f8aecfc746 PRIVATE is more private than CONFIDENTIAL after discussion... 2006-12-28 13:05:56 +13:00
Andrew McMillan
ce59b88168 Fix handling of update for internationalisation (MDelorme). 2006-12-28 13:04:41 +13:00
Andrew McMillan
11f3455e27 Remove the fromgroup / togroup entirely from relationship types and go for
a much simpler model entirely.
2006-12-27 15:20:23 +13:00
Andrew McMillan
7a1b2a0dd0 The prefix_match field and rt_inverse field are removed from relationship_type
because that model was too complex to be useful.  We also explicitly indicate
whether the relationship source or destination are groups separately.
2006-12-27 14:29:19 +13:00
Andrew McMillan
46f26926c4 Fixed handling of TENTATIVE. 2006-12-27 14:01:19 +13:00
Andrew McMillan
1d7fbb4bee Changes to privacy model for freebusy. 2006-12-25 22:14:50 +13:00
Andrew McMillan
de3f11b695 Allow PROPFIND to find arbitrary properties. 2006-12-23 20:58:39 +13:00
Andrew McMillan
441ec448fe Change freebusy to use the code we wrote for the free busy REPORT. 2006-12-22 09:02:51 +13:00
Andrew McMillan
2a5ed9d45a Allow for user URL to be specified by email address. 2006-12-22 07:51:47 +13:00
Andrew McMillan
47de71b965 Touch up the list of read-only properties. 2006-12-21 22:26:23 +13:00
Andrew McMillan
58675d4982 Ensure full response in error. 2006-12-21 20:10:16 +13:00
Andrew McMillan
0b476f608d The PROPPATCH method now works for setting displayname and resourcetype
on collections, within reason, and for setting arbitrary properties in
the database.
2006-12-21 18:48:01 +13:00
Andrew McMillan
d83a03b37c Partially working PROPPATCH. 2006-12-21 01:01:48 +13:00
Andrew McMillan
076b480d90 Ensure the header is quiet even when we output something early. 2006-12-21 00:59:39 +13:00
Andrew McMillan
a347233cab Much simpler start, using new XML structure framework. 2006-12-19 16:52:24 +13:00
Andrew McMillan
3d7fd51319 Commit a non-working checkpoint. 2006-12-18 18:41:18 +13:00
Andrew McMillan
f1222eca26 FREEBUSY query now working correctly. It should follow specification
fairly closely.
2006-12-17 21:37:43 +13:00
Andrew McMillan
cea76a8fbb An hour is >= 60 minutes, not just > ... and so on. 2006-12-17 21:37:05 +13:00
Andrew McMillan
2e50a0721a Allow first parameter to RRule constructor to be an iCalDate. 2006-12-17 21:36:26 +13:00
Andrew McMillan
530409877f An RRule library that seems to cover most of the basic and some of the not
so basic use of RRULE in iCalendar.  And a few test cases.
2006-12-17 18:59:31 +13:00