Commit Graph
2336 Commits
Author SHA1 Message Date
Andrew McMillan be02f3cd1f [sync-remote-caldav] Handle case where remote server renames on PUT
Some servers rename the event when we PUT it, so in this case we
rename our local copy to match.
2010-09-14 14:00:00 +12:00
Andrew McMillan 7edefc3b15 [sync-caldav] When we PUT the request, save the request/response headers.
We do a HEAD if we didn't get the ETag back from the PUT, but the server
at the other end may have sent us a new location for the resource and
we'll need to handle that at a higher level, so we make sure to preserve
the original response from the PUT.
2010-09-14 13:52:27 +12:00
Andrew McMillan 7ab8a3a3bb Uncomment the addressbook-query report. 2010-09-14 13:51:28 +12:00
Andrew McMillan e87ae9ac63 Release 0.9.9.1 for testing. r0.9.9.1 2010-09-14 13:50:27 +12:00
Andrew McMillan 593f49c06c Preparing to release 0.9.9.1 2010-09-13 14:20:35 +12:00
Andrew McMillan 74943cd243 Warn if we're being expected to log actions, but have no function. 2010-09-13 14:00:03 +12:00
Andrew McMillan ef3978d27c Regression result changes. 2010-09-12 16:31:05 +12:00
Andrew McMillan ed9b3ae693 Tweaking OPTIONS output. 2010-09-12 16:22:58 +12:00
Andrew McMillan 0d9edf6632 Making regression tests work on Lenny. 2010-09-12 14:47:26 +12:00
Andrew McMillan a0ca0e27c7 Whoops: we weren't sending an ETag on PUT for non-Calendar resources. 2010-09-12 13:13:27 +12:00
Andrew McMillan a96fc08016 Current regression test results. Mainly due to wrapping changes. 2010-09-12 11:56:29 +12:00
Andrew McMillan c7b647a919 Add a regression test for initial sync-report on a bound collection. 2010-09-12 11:55:56 +12:00
Andrew McMillan 8afb4676fa [regression tests] Use tar mode for dumps rather than -Fc
The tar mode will be more reliable for restore on older systems
I hope.
2010-09-12 11:54:32 +12:00
Andrew McMillan 937c212b1a [regression tests] Result changes due to UTF8 wrapping fixes in AWL. 2010-09-11 23:13:43 +12:00
Andrew McMillan e6803496cd Ignore eclipse & other droppings. 2010-09-11 23:12:35 +12:00
Andrew McMillan 9758f417c2 [Cosmetic] Eclipse wants all these turned into > and who am I to argue. 2010-09-11 23:10:15 +12:00
Andrew McMillan 645b9196fc [setup] Detect whether suhosin.server.strip is set and discourage it.
I sanitise the path just fine and I like being able to have arbitrary
paths, and don't want non-alphabetic stuff turned into a question mark.
2010-09-11 23:07:29 +12:00
Andrew McMillan bc88301a4f [index] Allow for a HEAD request on / to be served here too. 2010-09-11 22:52:00 +12:00
Andrew McMillan 6115d90cbf [principal edit] Ensure the id is > 0 for us to fetch the record.
As well as causing an unsightly SQL error in the logs this was
actually crashing PHP in some cases.  Also we don't delete the
row unless the ID is > 1, to avoid deleting the admin user by
accident.
2010-09-11 22:50:29 +12:00
Andrew McMillan 19de9d3b01 [sync-collection report] Fix to work with bound collections.
The sync-collection report was looking for $request->CollectionID()
but this is not set for bound collections and we have to use
DAVResource methods to retrieve it.
2010-09-11 22:48:36 +12:00
Andrew McMillan 52695d86ec More binding tests. 2010-09-02 23:06:09 +12:00
Andrew McMillan b673ec32e6 Ensure we get a duration, and default to 1 day if not. 2010-09-02 23:05:30 +12:00
Andrew McMillan 76768719c9 Handle a level of indirection in Binds of binds. 2010-09-02 23:04:35 +12:00
Andrew McMillan c452f07e73 Try harder to get the right duration for an event. 2010-09-02 23:03:57 +12:00
Andrew McMillan 1cfec15233 Allow setting of the bound location of this resource. 2010-09-02 22:19:49 +12:00
Andrew McMillan 6e9cc9dcfd Moving regression tests for WebDAV Bindings. 2010-09-02 21:06:58 +12:00
Andrew McMillan 36dd272d9a Renumber binding regression tests. 2010-09-01 20:54:09 +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 6791421e67 New 'binding' regression test set. 2010-08-31 14:40:41 +12:00
Andrew McMillan 3ee95b4c5d Move the WebDAV BIND tests to another location. 2010-08-31 14:37:03 +12:00
Andrew McMillan 9812e69807 Replaced by inc/freebusy-functions.php which is used everywhere. 2010-08-30 20:10:51 +12:00
Andrew McMillan 50fccc73d8 Working freebusy refactored to use a single core routine. 2010-08-30 18:55:23 +12:00
Andrew McMillan 3503f2f0fa Add support for weeks in durations.
Possibly weeks aren't standard, but I use one in my regression
tests historically.
2010-08-30 18:54:38 +12:00
Andrew McMillan 969a7b15e9 Add nominally redundant specification for AcceptPathInfo.
It could potentially be turned off by someone or something
so if we mark it as "On" for sure it might help.
2010-08-30 17:03:29 +12:00
Andrew McMillan 845db16c55 Switch event expansion to use vComponent.php rather than iCalendar. 2010-08-30 17:02:17 +12:00
Andrew McMillan 31400d3d7e Not the whole solution, but this is more correct than the other. 2010-08-30 17:00:26 +12:00
Andrew McMillan a38c0e33cb Comments only. 2010-08-30 16:59:52 +12:00
Andrew McMillan 3300404912 Add a getUserByEMail() function. 2010-08-30 16:59:08 +12:00
Andrew McMillan 36dcdabcc6 New/updated freebusy regression tests & results. 2010-08-30 16:58:37 +12:00
Andrew McMillan fa67ef987e Refactoring free/busy handling to a single core routine with RRule-2 2010-08-30 09:08:17 +12:00
Andrew McMillan 64f20edaab Coerce the content-type on PUT.
It seems that failing to correctly set the content-type header
on PUT is a common error.
2010-08-29 13:01:56 +12:00
Andrew McMillan f0f708ec38 Add initial support for addressbook-query REPORT. 2010-08-28 22:17:06 +12:00
Andrew McMillan 4b37c632f6 Updated regression test results. 2010-08-26 08:59:47 +12:00
Andrew McMillan 7eaf94753c SQL style should not include a ';' on the end of the statement. 2010-08-24 14:45:16 +12:00
Andrew McMillan 25e8519b4b OPTIONS should be available to someone with any of the read permissions. 2010-08-24 14:44:41 +12:00
Andrew McMillan 0a7fcee0f0 Updated results with null assignment warnings suppressed. 2010-08-24 14:43:16 +12:00
Andrew McMillan cf15bf57e1 Suppress null value warnings. 2010-08-24 14:42:43 +12:00
Andrew McMillan 8534e03317 Updated test results. 2010-08-18 21:41:27 +12:00
Andrew McMillan a1a0eb2aa2 Print stage of processing for diagnostic reasons. 2010-08-18 21:38:34 +12:00
Andrew McMillan effd9b91ff New sync responses which aren't sync-response. 2010-08-18 21:37:38 +12:00