1330 Commits

Author SHA1 Message Date
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
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
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
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
55398e3540 PROPPATCH is allowed on binds. 2011-08-25 14:15:37 +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
Andrew McMillan
4bba200385 Add first cut implementation of principal-match report. 2011-05-18 23:39:46 +12:00
Andrew McMillan
17104fc027 The correct fix: refer to static class variables with the correct syntax :-) 2011-05-18 23:36:39 +12:00
Andrew McMillan
03c1cb7cc7 Try and workaround some PHP versions not initialising static instance
vars.
2011-05-18 23:19:47 +12:00
Andrew McMillan
4a72ff16a3 Respond with 5.3; no Scheduling Support for user rather than 3.7
Also allow for this response when someone manually disables
the scheduling extensions support.
2011-05-17 00:21:08 +12:00
Andrew McMillan
b301a36aca When sync-collection is asked for data, only return it if < 50 rows.
The resource data element is not *actually* allowed, per the spec, but
some clients do use it, and some servers do support it.  In the case
of an initial sync which requests it we don't want to send down a huge
response to an ill-considered client.
2011-05-13 14:54:28 +12:00
Andrew McMillan
54bc63e90f caldav-client fix from Jorge. 2011-05-13 14:54:28 +12:00
Andrew McMillan
086c7e5f12 Debugging, but commented out in case it's needed in the future. 2011-05-13 14:54:28 +12:00
DAViCal Administrator
13fa85d8ab Only rollback if we are in a transaction. 2011-05-12 17:44:52 -04:00
Andrew McMillan
d6916b205c Add another search path for Fedora. 2011-04-07 23:33:44 +12:00
Andrew McMillan
72baec50a7 Handle triggers that are after the thing they are related to.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-04-04 18:02:42 +12:00
Andrew McMillan
48f83e7c92 Reinstate Basic Auth fallback disabled for testing.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-04-03 21:36:13 +12:00
Andrew McMillan
d83d7a0ef2 Fix raw_post handling for other front-ends.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-04-03 21:34:59 +12:00
Andrew McMillan
ba1e80d185 Add support for Digest authentication.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-04-03 20:38:46 +12:00
Andrew McMillan
1816d313bd Move header logging from CalDAVRequest to caldav.php
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-04-03 20:38:23 +12:00
Andrew McMillan
0f8f221788 Cosmetic.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-04-01 18:02:01 +13:00
Andrew McMillan
0f7e48ea17 When an import event has no UID we reluctantly assign one.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-04-01 18:01:46 +13:00
Andrew McMillan
1a9d06b470 Move functions to somewhere that it's reasonable to define them!
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-03-31 13:36:46 +13:00
Andrew McMillan
db079408d7 Add __get()/__isset() so private/protected properties are read-only.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-03-31 11:42:05 +13:00
Andrew McMillan
42690f8b5c A more complete fix for weird passwords with LDAP.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-03-13 05:05:19 +13:00
Andrew McMillan
ad061af4ed Apparently an attempt to bind with an empty password will return TRUE!
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-03-13 04:28:14 +13:00
Andrew McMillan
ea42dac661 Fix bug in schedule status response where there is no authority.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-03-02 15:26:54 +01:00
Andrew McMillan
62d5881bd0 Fix sort order of members listed in a group.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-02-23 12:16:16 +13:00
Andrew McMillan
441a0318bd Add support for locking with memcached during delete to avoid deadlocks.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-02-23 11:31:21 +13:00
Andrew McMillan
a7563ddaba Correct end-of-line replacement in GET.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-02-22 15:41:11 +13:00
Andrew McMillan
5debe92237 Move from extract.pl to standard xgettext
So far we have used extract.pl which originated in Horde to generate the
PO files. This process took a long time to run.

But xgettext is able to handle PHP by itself.

In the source translate() and i18n() are used instead of _() therefore
we have to pass a keyword parameter.

From now on Translators: is the keyword to provide content to the
translators on Transifex.

Conflicts:

	scripts/po/extract.pl
2011-02-21 22:39:40 +13:00
Felix Möller
a9231717c9 Removing the last traces of RSCDS and renaming it to DAViCal. 2011-02-21 22:31:46 +13:00
Felix Möller
9bfb7116eb Correct a small typo.
Correcting the typo in the source not in the docs as they are auto generated.
2011-02-21 22:31:03 +13:00
Andrew McMillan
d15a190134 Correct error message for unsupported report request.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-02-20 10:16:58 +13:00
Andrew McMillan
586a506d9b Ensure resources are always returned with CRLF rather than just LF.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-21 13:42:50 +13:00
Andrew McMillan
f59e109ace Correct references to rscds & other old URLs.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-20 23:33:50 +13:00