2659 Commits

Author SHA1 Message Date
Andrew McMillan
91f5ea62e0 These error messages should be the same. Let's not confuse the translators! 2011-09-11 00:55:23 +12:00
Andrew McMillan
6793ad7cbb Ignore these files. Failure to remove them is not a failure to clean. 2011-09-11 00:54:53 +12:00
Andrew McMillan
7f44fedf70 Changelogs for 0.9.9.5 2011-09-11 00:47:32 +12:00
Andrew McMillan
d453cc20ba Add a default target which omits building the docs. 2011-09-11 00:47:10 +12:00
Andrew McMillan
27177c4e4c We build-depend on gettext now. 2011-09-11 00:46:24 +12:00
Andrew McMillan
8ed17e2329 Calculate the DAViCal source files we need to process for translations. 2011-09-11 00:46:07 +12:00
Andrew McMillan
6f8e2b1d6e Strip any protocol/host/port part from a MOVE Destination. 2011-09-11 00:45:29 +12:00
Rob Ostensen
a4523dc7dd don't deliver to the current user when scheduling 2011-09-10 11:22:11 +12:00
Andrew McMillan
9a5f021173 To better represent the line where errors occurred... 2011-09-10 09:09:14 +12:00
Andrew McMillan
4f01fe0a17 Add items to attendee's calendars as well as to their inboxes on PUT. 2011-09-10 00:17:27 +12:00
Andrew McMillan
bdb360f082 Add support for the schedule-default-calendar-URL property. 2011-09-09 22:54:38 +12:00
Andrew McMillan
8b77885cac Add test of error response for a REPORT which is not supported. 2011-09-09 22:53:52 +12:00
Andrew McMillan
c6a1451f14 Fix unassigned variable warning. 2011-09-09 22:53:03 +12:00
Andrew McMillan
f4be0d071e Add support for the CalDAV:schedule-default-calendar-URL property. 2011-09-09 10:27:38 +12:00
Andrew McMillan
14e59fa781 Changing signatures of the write_resource() function. 2011-09-08 23:27:44 +12:00
Andrew McMillan
3b76856b44 Refactor write_resource to accept a DAVResource rather than just a path. 2011-09-08 13:51:31 +12:00
Andrew McMillan
1cf247cf39 Rename caldav-PUT.php to reflect it's calendaring association. 2011-09-08 13:45:15 +12:00
Andrew McMillan
7e0b88ed77 Decruftify, and allow the squid pam to use 'path' instead of 'script' in it's config. 2011-09-08 11:34:52 +12:00
Andrew McMillan
d78620398c Fix METHOD on scheduling request. 2011-09-08 09:40:47 +12:00
Andrew McMillan
7a37beff80 Fix PROPPATCH behaviour on bound resources.
It is OK to modify dead properties on a bound resource as long as you
have permission on the folder containing the binding.  For active
properties we have special logic for modifying the displayname but all
others are refused.
2011-09-08 08:42:18 +12:00
Andrew McMillan
5665f5b2e8 Treat empty string as null in this case. 2011-09-07 23:56:34 +12:00
Andrew McMillan
376c03c81a Correct handling of PUT with unreferenced VTIMEZONE 2011-09-07 23:55:49 +12:00
Andrew McMillan
d75f7c2b77 Changes to the format of dates in the <creationdate> tag. 2011-09-07 23:55:19 +12:00
Andrew McMillan
fa48854fbe Changes to the number of rows in the test DB. 2011-09-07 23:54:38 +12:00
Andrew McMillan
13ce4c147a Add support for writing local scheduling requests on PUT.
In the new Scheduling Extensions for CalDAV the server is expected
to construct iCalendar METHOD:REQUEST invitations and put them into
the scheduling inbox for each (local) attendee.  This patch does
that, and hopefully breaks the back of implementing the full
scheduling extensions.
2011-09-07 23:40:28 +12:00
Andrew McMillan
7ab6326341 Add back default relationships, which still have some utility in complex environments. 2011-08-29 09:03:10 +12:00
Andrew McMillan
b4364fb999 Fix for the following error:
davical: LOG: principals/users/cars/hilux/: Query: QF: SQL error "42804" - ERROR: column "changed_by" is of type integer but expression is of type name LINE 1: ...on, property_name, property_value ) VALUES( path, user, curr... ^ HINT: You will need to rewrite or cast the expression. QUERY: INSE
davical: LOG: principals/users/cars/hilux/: Query: QF: RT INTO property ( dav_name, changed_by, changed_on, property_name, property_value ) VALUES( path, user, current_timestamp, key, value ) CONTEXT: PL/pgSQL function "set_dav_property" line 16 at SQL statement"
davical: LOG: principals/users/cars/hilux/: Query: QF: SELECT set_dav_property( :dav_name, :user_no, :tag::text, :value::text)
davical: LOG: principals/users/cars/hilux/: Query: QF:     ":dav_name" => "/cars/hilux/"
davical: LOG: principals/users/cars/hilux/: Query: QF:     ":user_no" => "1023"
davical: LOG: principals/users/cars/hilux/: Query: QF:     ":tag" => "http://apple.com/ns/ical/:calendar-color"
davical: LOG: principals/users/cars/hilux/: Query: QF:     ":value" => "#711A76"

From 'mate' on IRC.
2011-08-28 16:38:14 +12:00
Andrew McMillan
c0a64931a2 When email addresses are used as user names in Davical, the
MacOS X 10.6 Addressbook cannot login to CardDav account. This
is caused by a bug in Addressbook URL parsing and cannot be
fixed on the client side. To allow "user@domainname" users to
login as "user" I created a patch which solves this problem
on server side.

There is a new configuration option:

$c->login_append_domain_if_missing

and if it is set to 1, then the "@$c->domain_name" is appended
to user login (before the authentication) if it not
contains @ character.

From 'mate' on IRC.
2011-08-28 16:35:42 +12:00
Andrew McMillan
4edb01930f Only include override components if they happen within the period. 2011-08-26 02:20:12 +12:00
Andrew McMillan
7214c586ae Logging here should be as 'PUT', in general. 2011-08-26 01:03:53 +12:00
Andrew McMillan
b4dfa9c1bf Rewriting some TODO comments as @todo 2011-08-26 01:03:13 +12:00
Andrew McMillan
6cdd4bc398 Change to depend on postgresql-client >= 8.1 and AWL = 0.47-1 2011-08-26 01:02:16 +12:00
Andrew McMillan
a6c23f3e1a [Incomplete] Add overridden components into event expansion.
We need to make sure this only inserts overrides that are within
the expansion period, or which override events within the expansion
period, but this quick hack is better than not doing it at all!
2011-08-25 15:07:04 +12:00
Andrew McMillan
05badd4d3a New SQL patch file, and fix comment in the last one also. 2011-08-25 15:05:28 +12:00
Rob Ostensen
a6ff1760f2 make refreshing actually work 2011-08-25 14:17:36 +12:00
Rob Ostensen
b2ef0b0bf2 Add the required fields to dav_binding and clean up the SQL to better match the rest of the source.
Add a header/last-modified check to skip the import on calendars that haven't changed.
2011-08-25 14:17:28 +12:00
Rob Ostensen
6331c50003 initial support for remote url BINDing 2011-08-25 14:17:15 +12:00
Andrew McMillan
40b4bdfd7f Ignore any 'jq' folder in the root which might hold a jqcaldav install. 2011-08-25 14:16:54 +12:00
Andrew McMillan
55398e3540 PROPPATCH is allowed on binds. 2011-08-25 14:15:37 +12:00
Andrew McMillan
504651a3f5 Add new locales and restructure how they are handled.
We now build the dba/supported_locales.sql file from po/locale.values
files for each locale, and we are also fetching the translations from
transifex.net in order to build them.

This commit also adds support for some new locales, especially
Brazilian Portuguese and Mexican Spanish.
2011-08-25 12:45:33 +12:00
Andrew McMillan
27deec06ac Test results including calendar-auto-schedule header as default. 2011-08-24 20:39:58 +12:00
Andrew McMillan
b901981c7c Fix calendar-query handling of properties. 2011-08-24 20:38:32 +12:00
Andrew McMillan
a8024d2633 Fix XML output of <error> block. 2011-08-23 10:47:00 +12:00
Andrew McMillan
452cd69100 Handle <prop> following <filter> & a single-ended time filter. 2011-08-23 10:44:37 +12:00
Andrew McMillan
db9083b587 Include tablename qualifier. 2011-06-03 14:46:33 -07:00
Andrew McMillan
2a1af89c77 Fix further issues with prop-filter handling. 2011-06-03 13:59:35 -07:00
Andrew McMillan
5e3ed8dedc Fix bug handling multiple prop-filter clauses. 2011-06-03 13:43:25 -07:00
Andrew McMillan
06dcb0b166 Tidy up formatting. 2011-06-03 13:41:53 -07:00
Andrew McMillan
71831f8e5f This is not a todo item, it's a comment. 2011-06-03 13:39:20 -07:00
Andrew McMillan
996bbedab2 Allow the calendar-query expansion to return all events in floating time. 2011-05-31 23:08:32 -07:00