2467 Commits

Author SHA1 Message Date
Andrew McMillan
f0964f7583 Move always.php into the webroot for easier setup.
Also add some 'search for the AWL includes' code into it for
even more easier setup.
2010-03-23 21:52:00 +13:00
Andrew McMillan
f3f846e47e Explode out Attendees and Alarms on PUT/import collection too. 2010-03-23 21:10:37 +13:00
Andrew McMillan
d57c2f3f96 Updated dav_test now looks for DATA= as simple filename. 2010-03-22 17:32:16 -07:00
Andrew McMillan
c68c8f1047 Don't moan if we use DATA= without having suite set. 2010-03-22 17:01:19 -07:00
Andrew McMillan
9a0a2c0e91 OK, finally nailed the quoting of wierd strings issue. 2010-03-22 17:00:42 -07:00
Andrew McMillan
4b7ba370ad Set PGTZ variable so tests default to Pacific/Auckland. 2010-03-22 03:16:54 -07:00
Andrew McMillan
1c58ac1478 We don't actually Accept-encoding: gzip in regression tests :-) 2010-03-22 02:56:28 -07:00
Andrew McMillan
222454e786 Enforce Pacific/Auckland timezone when running regression tests. 2010-03-22 20:11:39 +13:00
Andrew McMillan
7a883ffa63 Fix incorrect parameter names in SQL query. 2010-03-22 17:23:59 +13:00
Andrew McMillan
7ae6678106 Add usage() function. 2010-03-22 17:23:36 +13:00
Andrew McMillan
f70eb487c4 Fix minor unassigned value warning. 2010-03-22 17:23:09 +13:00
Andrew McMillan
0b3040e907 Default to internal expansion of :name SQL parameters. 2010-03-22 17:22:18 +13:00
Andrew McMillan
5fafce0f0c Now parsing out VALARM components on PUT. 2010-03-22 17:21:33 +13:00
Andrew McMillan
09b36a6c54 AwlQuery restructuring for wider use and easier PgQuery transition. 2010-03-22 17:19:53 +13:00
Andrew McMillan
0ed1213ab8 Slightly better logic for processing ? parameters. 2010-03-22 17:18:53 +13:00
Andrew McMillan
3072947a68 Add permissions for new tables in DB 1.2.8 2010-03-22 17:18:24 +13:00
Andrew McMillan
65e26e3a4b Fix support for ? parameters as well as named ones. 2010-03-21 23:28:29 +13:00
Andrew McMillan
028481d917 Query order enforcement & other minor checks. 2010-03-21 22:01:09 +13:00
Andrew McMillan
75ebf3649d Convert to named parameters. 2010-03-21 22:01:09 +13:00
Andrew McMillan
c62dd43a30 Explicit typecast since values may not be text. 2010-03-21 22:01:09 +13:00
Andrew McMillan
cc244e0c5d Switch to 't' & 'f' to workaround driver issues. 2010-03-21 22:01:09 +13:00
Andrew McMillan
e30d10ae67 Refactor AwlQuery to allow parameter replacement to be handled internally. 2010-03-21 22:01:09 +13:00
Andrew McMillan
2b6cce5a87 Fix the Quote() method. Add a ReplaceNamedParameters() method. 2010-03-21 22:01:09 +13:00
Rob Ostensen
34c1fee3c6 first run at ldap group support 2010-03-21 20:42:03 +13:00
Rob Ostensen
d8e34dd211 include number of items in dav collection on collection edit page 2010-03-21 20:42:03 +13:00
Andrew McMillan
8c9b00fbc5 Improved logging of failed queries. 2010-03-19 18:29:12 -07:00
Andrew McMillan
0623418207 Regression test example configuration, with comments. 2010-03-20 11:46:58 +13:00
Andrew McMillan
ce9954d7d3 Update DAV header. 2010-03-20 08:41:54 +13:00
Andrew McMillan
a9b1aca73f Log parameters on QF, unless we already have. 2010-03-20 08:37:46 +13:00
Andrew McMillan
94446f98ca Current regression tests. 2010-03-20 01:09:22 +13:00
Andrew McMillan
8811f48388 Correctly check ETags. 2010-03-20 01:08:05 +13:00
Andrew McMillan
f50d6d7170 Don't exclude NULL DTSTART if reporting on scheduling collection. 2010-03-20 01:07:23 +13:00
Andrew McMillan
40dd74447b Support schedule-calendar-transp property. 2010-03-20 01:06:48 +13:00
Andrew McMillan
d92361cb0d Properly insert resourcetypes on MKCOL. 2010-03-20 01:06:07 +13:00
Andrew McMillan
8db20b966f Handle resourcetypes regardless of XML format. 2010-03-20 01:05:05 +13:00
Andrew McMillan
83e0324d96 Provide a more useful error output on an XML parser failure. 2010-03-20 01:04:30 +13:00
Andrew McMillan
7fee05b143 Split out home & freebusy sets into their own functions. 2010-03-20 01:03:52 +13:00
Andrew McMillan
5311d3a68a Remove the freebusy_set from the collection. 2010-03-20 00:31:06 +13:00
Andrew McMillan
00cce278ef Fix parent-set response on collections. 2010-03-19 10:31:55 +13:00
Andrew McMillan
8a26fa4b82 These should not be sending an XML content-type with no content. 2010-03-18 23:53:28 +13:00
Andrew McMillan
e82c5c70d4 We don't need that duration function any longer. 2010-03-18 23:53:15 +13:00
Rob Ostensen
ca04a4a42e warn if there are no active admin users 2010-03-18 23:52:40 +13:00
Andrew McMillan
be7e713c69 Fix deactivation of users no longer in LDAP. 2010-03-18 23:12:31 +13:00
Andrew McMillan
a577a44a51 Siwtch to use an object for the updated users row. 2010-03-18 23:08:00 +13:00
Andrew McMillan
4e9c3dedc5 Fix some screwy logic in AwlQuery for statements with no parameters. 2010-03-18 22:46:01 +13:00
Andrew McMillan
c4917a7e6e A more readable fix that might even be faster... 2010-03-18 22:45:30 +13:00
Andrew McMillan
2acf525a33 That request doesn't send any XML so should not set that content-type. 2010-03-18 22:41:44 +13:00
Andrew McMillan
5122c95e1c Correct fix for privileges INSERT. 2010-03-18 22:40:44 +13:00
Andrew McMillan
eb77858c5b D'oh! 2010-03-18 22:30:56 +13:00
Andrew McMillan
3075fddd70 Correct query parameters. 2010-03-18 22:27:19 +13:00