21 Commits

Author SHA1 Message Date
Florian Schlichting
eb7f2edc0c eliminate trailing whitespace, expand tabs 2016-12-30 08:52:44 +01:00
Andrew McMillan
5df8e7c0b5 Fix missing braces around admin restriction. 2012-01-05 11:26:58 +13:00
Andrew McMillan
b50b2d82ea Force output buffers to be flushed, if they're turned on.
If output buffering is turned on, PHP can be a bit slack about sending
the data to the client before closing the connection with exit(). These
changes ensure we call ob_flush() before we leave.  We call @ob_flush()
so we don't get noisy warnings when output buffering is off...
2011-11-02 18:43:10 +13:00
Andrew McMillan
d8f920fb13 Is this possibly the last RSCDS -> DAViCal name change commi? 2011-10-19 07:39:39 +13:00
Andrew McMillan
4d1f936a8b Fix tools.php to allow importing of a directory of calendars again. 2011-10-14 11:08:17 +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
1688ea0df2 Remove reference to RSCDS. 2010-05-26 11:50:25 +12:00
Andrew McMillan
f0964f7583 Move always.php into the webroot for easier setup.
Also add some 'search for the AWL includes' code into it for
even more easier setup.
2010-03-23 21:52:00 +13:00
Rob Ostensen
34c1fee3c6 first run at ldap group support 2010-03-21 20:42:03 +13:00
Andrew McMillan
280c4d1d78 If I put that string on one line I lose a warning from xgettext. 2010-03-07 23:22:43 +13:00
Andrew McMillan
03ff39fa33 With readonly_webdav_collections set we should write nothing!
We were writing collection records to the database when the
configuration setting readonly_webdav_collections was set, even
though the actual events would not be written.
2010-03-05 14:26:58 +13:00
Andrew McMillan
a7316a1135 Use htmlspecialchars rather than htmlentities. 2010-02-23 22:59:36 +13:00
Andrew McMillan
ade450f765 Correct logic when processing directory of files. 2009-12-23 15:22:48 +13:00
Matthias Mohr
526d4dce6f Translatability improvements from Matthias Mohr. 2009-10-30 09:00:41 +13:00
Andrew McMillan
97d034552d Rename RSCDSSession(.php) to DAViCalSession(.php) 2009-06-30 15:31:04 +12:00
Andrew McMillan
3ae03f33d9 Remove uninitialised variable warning. 2008-10-27 17:02:28 +13:00
Andrew McMillan
018b4fea10 Translate more things. 2008-02-29 07:53:24 +13:00
Andrew McMillan
e8c826524e Minor sanity checking for enabling LDAP options. 2007-11-05 14:59:07 +13:00
Andrew McMillan
39700005f4 Some random renaming of RSCDS to DAViCal. 2007-11-01 14:54:59 +13:00
Maxime Delorme
97aff18dbe Import patch from Maxime. 2007-05-30 23:29:54 +12:00
Maxime Delorme
f00f07eb8f Changes to allow processing of a server-based directory of calendars to
load for many people.  Moving this away from the user maintenance screen.
2007-05-19 11:40:37 +12:00