2167 Commits

Author SHA1 Message Date
Andrew McMillan
3b7de13dbf Cope with Google occasionally setting the CREATED date to 0000 year.
Also set is_public explicitlt 't' or 'f'.
2010-04-03 17:31:06 +13:00
Andrew McMillan
c0f7949ec4 Don't query the entries unless we actually have a collection. 2010-04-03 17:30:41 +13:00
Andrew McMillan
b806fa8305 A new trigger allowing calendar_alarm.component to be edited.
The trigger will then cause the caldav_data record to be
updated with the new alarm component, and the etag is changed.
2010-04-03 17:28:01 +13:00
Andrew McMillan
a364cbf5c8 Force ticket_id to be cast to text, even if it looks like a number. 2010-04-03 17:27:27 +13:00
Andrew McMillan
3564645227 Force casting to text on setting DAV properties. 2010-04-03 10:55:47 +13:00
Andrew McMillan
6cca907ecf Pretend exponents are simple text since hex strings can also be. 2010-04-03 10:54:35 +13:00
Andrew McMillan
cbfaf84f45 Add facility to GET on collection of collections.
Including bound collections into the resultset.
2010-04-03 09:21:50 +13:00
Andrew McMillan
be3870fc36 Tidy logging. 2010-04-01 22:24:35 +13:00
Andrew McMillan
e2868c93ea Only log start of script if that specific debug is configured. 2010-04-01 22:23:55 +13:00
Andrew McMillan
421e594a4e Support statistics logging for interactive pages too. 2010-04-01 22:23:30 +13:00
Andrew McMillan
ca674d1cec Changes to repeat rule testing calendar (user2). 2010-03-31 23:03:32 +13:00
Andrew McMillan
80b7afb8d3 Assign the event we got into the events array - not the whole response. 2010-03-31 23:03:04 +13:00
Andrew McMillan
92abec52b6 If the multiget report fails, fall back to individual GET requests. 2010-03-31 22:59:57 +13:00
Andrew McMillan
0fee4d44bf Don't request supported-report-set on every event in the calendar. 2010-03-31 22:59:21 +13:00
Andrew McMillan
ea4c40114c Switch recommended source to pgp.net.nz for the repository key. 2010-03-31 13:51:54 +13:00
Andrew McMillan
ac2faa8b9a Not every Apache returns the version number in the header. 2010-03-31 13:51:25 +13:00
Andrew McMillan
da4ef89032 Correct response code for create vs update. 2010-03-30 10:44:47 +13:00
Andrew McMillan
b1913f780a Remember a script start time. 2010-03-30 10:44:20 +13:00
Andrew McMillan
860a3098ea Add some statistical logging for script/database execution times. 2010-03-30 10:43:22 +13:00
Andrew McMillan
a2c3c4a620 Add support for arbitray text objects in collections. 2010-03-29 22:38:45 +13:00
Andrew McMillan
e2f8ff8b0a Reorder if statement for better readability. 2010-03-29 21:54:04 +13:00
Andrew McMillan
92e0144666 Fix logging type on MOVE and remove redundant code. 2010-03-29 12:38:37 +13:00
Andrew McMillan
fdfb20b14b Remove any expired locks before testing if a lock is active. 2010-03-29 12:37:58 +13:00
Andrew McMillan
88c57486d9 Load the content_type into an internal variable. 2010-03-29 12:37:32 +13:00
Andrew McMillan
69ca0e3d01 Add a repeating event with a day long characteristic. 2010-03-27 17:02:24 +13:00
Andrew McMillan
dd425fadc2 Add some support for VALUE=DATE in our DateTime wrapper. 2010-03-27 17:01:57 +13:00
Andrew McMillan
13fddbade8 Fix display of ~username path in response. 2010-03-27 17:01:12 +13:00
Andrew McMillan
3074d04916 Apply offset from UTC in the right direction :-) 2010-03-27 12:56:17 +13:00
Andrew McMillan
f59b0a84e8 Fix timezone handling in RRULE expansion. 2010-03-27 11:45:51 +13:00
Andrew McMillan
1e3dbd208d Parse out those silly timezone names better. 2010-03-25 18:48:29 -07:00
Andrew McMillan
061944f2c7 Need a space after each duration element for PostgreSQL. 2010-03-25 15:19:58 +13:00
Andrew McMillan
491772b066 New regression tests for MKTICKET/BIND/PROPPATCH/DELETE as admin. 2010-03-25 15:02:33 +13:00
Andrew McMillan
36d564452e Check for unbind permission on container before DELETE. 2010-03-25 14:59:40 +13:00
Andrew McMillan
541525919f Logging addition, comment removal. 2010-03-25 14:59:10 +13:00
Andrew McMillan
e01215c5c4 Now PROPPATCH works on bindings. 2010-03-24 23:52:49 +13:00
Andrew McMillan
7cdd7ce0ef Teach set_dav_property() about dav_bindings. 2010-03-24 23:52:07 +13:00
Andrew McMillan
df0e579a94 Updated results for DAVResource & MOVE changes. 2010-03-24 23:46:14 +13:00
Andrew McMillan
c3237407df Error correctly when the destination parent collection does not exist. 2010-03-24 23:42:28 +13:00
Andrew McMillan
184666892c Improved approach for reading parent collection. 2010-03-24 23:41:56 +13:00
Andrew McMillan
cd154199b8 Initialise the parent_container when constructing from a row. 2010-03-24 23:41:23 +13:00
Andrew McMillan
141f2da550 Improved AsCollection() method. 2010-03-24 23:40:58 +13:00
Andrew McMillan
05c0f95e69 Avoid unassigned warning. 2010-03-24 22:14:39 +13:00
Andrew McMillan
985338a1b6 Correct typo in attendee change to PUT-functions. 2010-03-24 12:55:28 +13:00
Andrew McMillan
92e106653b Fix include path for new always.php location. 2010-03-24 12:55:08 +13:00
Andrew McMillan
9b3fb58b9f Handle duplicate attendee lines in one VEVENT. 2010-03-24 12:15:53 +13:00
Andrew McMillan
d4f1279007 Add configurable locale directory from Aurelien. Nuke ancient compat code. 2010-03-24 08:15:55 +13:00
Andrew McMillan
ded19c24d8 Add configurable locale directory from Aurelien. Nuke ancient compat code. 2010-03-24 08:13:46 +13:00
Andrew McMillan
c080c8bc5e Fix untested scheduling code from Rob. New regression test results. 2010-03-24 08:12:58 +13:00
Andrew McMillan
898d9a456a Ignore sync-cache droppings from sync script testing. 2010-03-23 22:05:39 +13:00
Rob Ostensen
a2438cef3d actually follow draft spec section 6.4, deliver event with scheduling status to users inbox 2010-03-23 22:05:03 +13:00