17 Commits

Author SHA1 Message Date
Andrew Ruthven
1fec8fd111 Add debug logging for ACE changes 2025-01-27 23:27:45 +13:00
Florian Schlichting
effc004741 use "." to concatenate strings, not "+" (fixes #288)
Unsupported operand types: string + string at /usr/share/davical/inc/caldav-ACL.php:146
2023-03-23 22:17:23 +01:00
Florian Schlichting
4b7abbbd83 drop default $position argument from BuildXMLTree everywhere (awl!22) 2023-02-26 22:10:34 +01:00
Andrew Ruthven
02af0c58ee Further fixes for PHP 8.1
I don't know why this only show up in the gitlab runners. I have PHP 8.1
locally.
2022-02-13 01:04:47 +13:00
Florian Schlichting
44bb5cf7b6 fix to more uses of continue inside switch discovered by CI
I wonder why I saw the first few, but not these?
2018-12-22 19:56:25 +01:00
Florian Schlichting
eb7f2edc0c eliminate trailing whitespace, expand tabs 2016-12-30 08:52:44 +01:00
Christoph Anton Mitterer
c092a6153e make debug files pathnames more FHS compliant
* Changed the pathnames of the debug files to be a bit more FHS compliant.
2013-09-02 14:40:46 +12:00
Andrew McMillan
acc6c719f7 Simple changes for new XML processing. 2012-04-30 14:13:03 +12:00
Andrew McMillan
d2d12bbe04 Need $request globally in this function 2012-04-19 18:01:04 +12:00
Andrew McMillan
e70bcd80d1 Fix caching problems.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-04 17:00:03 +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
606e7d6338 Move PreconditionFailed and MalformedRequest into $request methods. 2010-03-07 20:58:31 +13:00
Andrew McMillan
c8fc9f128a Fix order of parameters in Exec() calls. 2010-03-06 23:26:06 +13:00
Andrew McMillan
d718e818dc Basic support for the ACL method. Working, but needs work. 2009-12-28 23:40:13 +13:00
Andrew McMillan
ebbec96269 Add NeedPrivilege() method to DAVResource and simplify request method. 2009-12-26 11:19:21 +13:00
Andrew McMillan
633da890d7 Work in progress. 2009-12-24 20:38:20 +13:00
Andrew McMillan
2f621b23d1 Basic framework for starting on ACL method handler. 2009-12-23 18:54:12 +13:00