Andrew McMillan
44ba4443f6
Move well-known.php into the include directory.
...
Also start to add some basic support for autodiscover.xml handling.
2011-10-07 09:58:20 +02:00
Andrew McMillan
0db1fed1de
Fix handling where supplied content-type header is busted.
2011-10-06 11:05:15 +02:00
Andrew McMillan
fde9af2a07
The changedsince or changesince parameter has an uncertain name.
2011-10-05 11:42:40 +02:00
Andrew McMillan
46f0bd289a
Errors in timezone protocol should be in timezone xmlns
2011-10-05 09:41:33 +02:00
Andrew McMillan
6500f73133
Add protocol://hostname onto location header per spec.
2011-10-05 09:40:24 +02:00
Andrew McMillan
72c25cf799
Pass through any GET parameters on the .well-known/timezone URL.
2011-10-05 08:53:32 +02:00
Andrew McMillan
f01e6f5eb5
If we didn't actually GET an action, don't have an ugly PHP error.
2011-10-05 08:41:27 +02:00
Andrew McMillan
f3cf86741c
Fix handling of .well-known where the base handler is not caldav.php
2011-10-05 08:41:00 +02:00
Andrew McMillan
2127c294a3
Various small fixes preparing for release.
...
Correct logic for auto-creating addressbook for new user.
Fix non-creation of default addressbook.
Fix principal/collection edit to allow write of no privileges.
Fix collection edit timezone list to use new table.
Update davical & libawl version in always.php.
Regression test changes with update to davical.sql.
2011-09-25 22:29:31 +13:00
Andrew McMillan
d4e29a91b6
$_SERVERS['SERVER_PORT'] might not be set in some circumstances.
2011-09-22 13:46:26 +12:00
Andrew McMillan
b160ead5a0
Basic 'capabilities' response for timezone protocol.
2011-09-17 17:59:36 +12:00
Andrew McMillan
731677d623
Roughing out implementation of timezone server.
2011-09-14 23:02:34 +12:00
Rob Ostensen
9dcda2abe4
add a check to the setup page for the php calendar extension
...
Signed-off-by: Rob Ostensen <rob@boxacle.net>
2011-09-14 11:25:54 +12:00
Andrew McMillan
6ea5e782c7
Update the DAViCal version number. D'oh!
2011-09-12 14:54:49 +12:00
Andrew McMillan
9743c72c05
Fix DB version number and function mistakenly coded in always.php.
2011-09-12 14:36:56 +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
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
b4dfa9c1bf
Rewriting some TODO comments as @todo
2011-08-26 01:03:13 +12:00
Andrew McMillan
310933231a
Setup test should recognise "Off" as well as "0"
2011-05-22 18:04:51 +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
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
Felix Möller
dd44b3a3a7
Add explaination for translators.
...
We are hit by a Transifex issue here:
http://getsatisfaction.com/indifex/topics/number_of_arguments_check_must_be_forcable
2011-03-02 23:15:24 +01:00
Andrew McMillan
7515f607c6
Check for LDAP module, but only if LDAP is configured.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-02-22 11:00:43 +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
0ce2dfa421
Checking for the DateTime class, for extended date support.
...
Correcting a spelling mistake in the class name to check for the correct one.
2011-02-21 22:30:17 +13:00
Andrew McMillan
0de150ed74
Build AWL desired version string as quoted value.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-02-21 22:07:31 +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
Andrew McMillan
422144b68a
Fix that last fix... :-)
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-15 17:02:50 +13:00
Andrew McMillan
8f25a8a393
Block invalid tickets from having access.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-15 16:42:59 +13:00
Andrew McMillan
5e5fa2d44e
Display status of DateTime support.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-08 13:29:36 +13:00
Andrew McMillan
cc941a500e
Fix broken last commit.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-05 22:07:32 +13:00
Andrew McMillan
f30c0b84c9
Remove attempts to translate early error messages.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-05 21:42:49 +13:00
Andrew McMillan
b2afb747da
Add early check for iconv
...
Also, we're doing this before we load translation code so
we really can't translate it...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-05 21:21:55 +13:00
Andrew McMillan
20ee255898
Refactor fetching of Principal records from database.
...
This is a significant refactoring, replacing the old getUserBy*()
functions with a new Principal class, and replacing the old
CalDAVPrincipal class with a new DAVPrincipal class which extends
the Principal class.
At this point all regression tests pass (again) but there could
well be issues for people who use alternative authenticators
such as LDAP, although I have endeavoured to resolve those
potential issues.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-03 10:16:43 +13:00
Andrew McMillan
fe095d009d
Refactored to provide clearer display of issues.
2011-01-01 21:23:25 +13:00
Andrew McMillan
fbd28407ea
Fix cache storing.
2011-01-01 21:22:42 +13:00
Andrew McMillan
5ff2f052c6
Add support for caching of feed, and uncaching on collection change.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-31 20:29:30 +13:00
Andrew McMillan
b2f35df817
Just use the fields straight from the database.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-27 21:30:34 +13:00
Andrew McMillan
c3fab4dcd0
Correct feed modification time using collection modified property.
...
Also switch to using the caldav_data (modified/created) fields from
the database.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-27 18:54:31 +13:00
Andrew McMillan
5ad371a910
Don't allow feed access unless user has at least freebusy privileges.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-27 17:13:43 +13:00
Andrew McMillan
520077a9a5
Add categories to the Atom content.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-27 13:03:26 +13:00
Andrew McMillan
18e58fa796
Reinstate the summary field in the Atom.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-27 13:03:03 +13:00
Leho Kraav
6e1a6f3381
feed.php: add support for displaying event categories
2010-12-27 12:37:34 +13:00
Leho Kraav
2b19868bf3
feed.php: migrate from no-locale-supporting DateTime->format() -> strftime()
2010-12-27 12:37:23 +13:00
Leho Kraav
338cb7f35d
feed.php: hyperlink urls in description and remove an erroneous setDescription
2010-12-27 12:37:03 +13:00
Leho Kraav
4b4b21ee45
feed.php: fix adding $p_time to itself one too many times in our funky ? :
2010-12-27 12:36:43 +13:00
Leho Kraav
81eba961c8
feed.php: let's dbg_error_log peculiar VCALENDAR component instead of echo
2010-12-27 12:36:15 +13:00
Leho Kraav
37cf2f618d
feed.php: make sure we do htmlspecialchars on most to-be-xml content
2010-12-27 12:35:52 +13:00
Leho Kraav
2ebaecd3e3
feed.php: remove hardcoded LIMIT ALL
2010-12-27 12:35:35 +13:00
Leho Kraav
c3828f491c
feed.php: make a string translatable
2010-12-27 12:35:28 +13:00