Commit Graph
2277 Commits
Author SHA1 Message Date
Andrew McMillan 82265620ed Fix test to match what Mozilla sends. 2010-08-13 11:44:03 +12:00
Andrew McMillan f816c6b56a Fix default locale. 2010-08-13 11:42:16 +12:00
Andrew McMillan d07b16bc87 Results of returning applicable permissions by resourcetype. 2010-06-29 23:52:02 +12:00
Andrew McMillan 8aa84f9e6c Add option for explicit permission matching. 2010-06-29 23:51:42 +12:00
Andrew McMillan e4e2a1fd47 Explicitly specify permissions matching. 2010-06-29 23:51:17 +12:00
Andrew McMillan e3babd9845 Respond with supported-report error if the report is unsupported. 2010-06-29 23:50:41 +12:00
Andrew McMillan 0c64725ba2 Move to GPL v2 or later. 2010-06-29 23:50:11 +12:00
Andrew McMillan 4065f26da2 Default type to 'resource' for privileges display. 2010-06-29 23:49:16 +12:00
Andrew McMillan 22755fc766 Remove uninitialised variable possibility. 2010-06-29 23:48:43 +12:00
Andrew McMillan f2ebbda855 Add parameter for masking privilege output to only applicable set. 2010-06-28 09:31:35 +12:00
Andrew McMillan adb1f949ac Check for existence of target resource before we check for READ perm. 2010-06-28 08:41:46 +12:00
Andrew McMillan 766e825f99 Forece content-type in some circumstances.
If the method is REPORT or PROPFIND it won't be valid if they
didn't send XML, so assume they did, with a warning.

Otherwise, if the content-type is XML, but they sent less than
7 bytes, assume that it has no content-type.
2010-06-28 08:39:39 +12:00
Andrew McMillan efd40937fe Rewrite the way the DAV header is produced. 2010-06-28 08:39:03 +12:00
Andrew McMillan baa4438c82 Updated tests for various CardDAV functionality. 2010-06-28 08:38:15 +12:00
Andrew McMillan b6eaefae2e Remove photo which iCal was identifying as corrupt. 2010-06-28 08:35:06 +12:00
Andrew McMillan 6b09880ee1 Current set of tests for CardDAV. 2010-06-28 00:02:40 +12:00
Andrew McMillan 69b79f90fd New VCARD tests from various people. 2010-06-27 19:28:55 +12:00
Andrew McMillan f644a31f9b Avoid potential unassigned variable warning. 2010-06-27 19:06:27 +12:00
Andrew McMillan e7ad2ab06d Switch to 412 precondition failed in line with CardDAV RFC. 2010-06-27 19:03:56 +12:00
Andrew McMillan 2f38cf077b Don't allow PUT of non-calendar/address resources into calendars/addressbooks. 2010-06-27 18:56:17 +12:00
Andrew McMillan 5d14ab0fe0 Add support for carddav / caldav well-known URLs. Fix short open tag. 2010-06-27 18:55:13 +12:00
Andrew McMillan eb4193dc0d Update regression tests for DAV support header change. 2010-06-27 18:54:29 +12:00
Andrew McMillan dfa78960a0 Add indication of support for addressbook. 2010-06-27 18:47:19 +12:00
Andrew McMillan 50fca47f06 Correct return code on PUT modified. 2010-06-23 22:36:14 +12:00
Andrew McMillan 1c54c5b410 Regression testing for CardDAV so far. 2010-06-23 22:10:32 +12:00
Andrew McMillan 2643a1a34c Correct content-type. 2010-06-23 22:09:14 +12:00
Andrew McMillan 252dac585c Send a correct content-type on GET. 2010-06-23 22:08:57 +12:00
Andrew McMillan 60d7780b1d Rename the event() function to resource() since it might not be an event. 2010-06-23 22:08:19 +12:00
Andrew McMillan 2a18bb3b37 Rename variable since it is no longer just a calendar. 2010-06-23 14:38:56 +12:00
Andrew McMillan f71bba3747 Work on making this work for CardDAV. 2010-06-23 14:22:26 +12:00
Andrew McMillan 5a708c5462 When we PUT a vcard set the caldav_type to VCARD. 2010-06-23 14:21:55 +12:00
Andrew McMillan 4e1852aee2 Try and read dav_principal since the remote usr record no longer suffices. 2010-06-23 14:15:57 +12:00
Andrew McMillan b296151724 Re-read local database record if the remote auth did not supply principal_id 2010-06-21 10:56:01 +12:00
Andrew McMillan 28af315848 A fix for problems with character output in the user configuration. 2010-06-17 23:27:22 +12:00
Andrew McMillan a6fbd99f90 Allow for the send_page_header() function to be overridden. 2010-06-17 23:05:30 +12:00
Andrew McMillan 51700a4ee4 Also remove '/' from potential ticket charset. 2010-06-17 23:04:52 +12:00
Andrew McMillan 2fcbf413b7 Updated Deutsch translation. 2010-06-17 23:04:15 +12:00
Andrew McMillan 1fbf1be670 Add a weak_etag field to the calendar_attendee table. 2010-05-30 11:31:14 +12:00
Andrew McMillan e37bbd9030 Updated results with fixed RFC5545 wrapping/escaping. 2010-05-27 23:49:16 +12:00
Andrew McMillan 1688ea0df2 Remove reference to RSCDS. 2010-05-26 11:50:25 +12:00
Andrew McMillan 870b8b56f4 First swathe of regression tests for CardDAV stuff. 2010-05-20 00:11:17 +12:00
Andrew McMillan 8fd7253e8b Use dbdump rather than pgdump to get around .gitignore. 2010-05-19 23:57:22 +12:00
Andrew McMillan a5e6e9113c Handle VCARD on PUT. 2010-05-19 23:53:36 +12:00
Andrew McMillan 17940a11a8 Add ability to start a regression suite from a DB dump. 2010-05-19 23:50:24 +12:00
Andrew McMillan 06abe8bd2e New patches for next upgrade. 2010-05-19 23:49:50 +12:00
Andrew McMillan 9002e974fc Add a hack so older Mozilla calendar versions don't see auto-schedule. 2010-05-19 23:48:45 +12:00
Andrew McMillan f5ee8da945 Add a hack to work around Lightning/Sunbird bug #463392 2010-05-17 22:50:40 +12:00
Andrew McMillan 737aa5e228 These AwlQuery classes are ow thoroughly migrated into AWL. 2010-05-17 22:43:29 +12:00
Michael Trausch f3a6cb59f6 A module for authorization by way of the "pwauth" program
This commit adds support for using the 'pwauth' program for
authentication to the system.  It detects all of the documented return
codes for pwauth.  The pwauth program can perform system
authentication with or without PAM or login.conf.
2010-05-14 22:16:13 +12:00
Andrew McMillan a5d162ccfa Fix typo. 2010-05-14 22:14:20 +12:00