2109 Commits

Author SHA1 Message Date
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
Andrew McMillan
71cd6486ed Standardise on the double-cast for getting decimal -> privilege bits. 2010-03-18 22:06:47 +13:00
Andrew McMillan
466bffa73d Fix privileges insert. 2010-03-18 22:01:38 +13:00
Andrew McMillan
abdfad3193 Don't need :user_no set on INSERT. 2010-03-18 21:51:44 +13:00
Andrew McMillan
c4541c56f0 Updated / new regression tests. 2010-03-18 20:28:49 +13:00
Andrew McMillan
005c7a2773 Fix PROPPATCH handling of CardDAV addressbook setting. 2010-03-18 20:27:56 +13:00
Andrew McMillan
394f5d488f Updated DELETE results after earlier fixes to DELETE. 2010-03-18 20:04:42 +13:00
Andrew McMillan
3421272f7c Confirm lock is removed by DELETE. 2010-03-18 20:04:02 +13:00
Andrew McMillan
fa865570a0 Test failure to remove a lock due to wrong lock token. 2010-03-18 20:03:31 +13:00