Commit Graph
23 Commits
Author SHA1 Message Date
Andrew Ruthven 0a0c0a77cc Explicitly declare all class properties
PHP 8.2.0 has deprecated dynamic creation of properties.

This kind of warning message is displayed:

Deprecated:  Creation of dynamic property DAViCalSession::$login_failed is
  deprecated in /usr/share/awl/inc/Session.php on line 153
2024-02-29 00:43:50 +13:00
Paul Waite dd5bd9c282 Provide a facility for setting an override URL which will replace the Change Password UI, and the Forgotten Password UI with a clickable link. 2022-02-12 14:02:54 +00:00
Florian Schlichting de1e994cab make the Admin role inheritable (fix #140) 2019-01-30 21:12:06 +01:00
Florian Schlichting 40e2714adf use new AWL class constructor (fixes: #119) 2017-05-29 23:04:30 +02:00
Florian Schlichting eb7f2edc0c eliminate trailing whitespace, expand tabs 2016-12-30 08:52:44 +01:00
Christoph Anton Mitterer 8e60bb3124 set line endings of most text files to LF
* Changed the end-of-line encodings of all non-Windows-related and non-autogenerated text files to use UNIX LF (lots of them had mixed LF/CRLF).

Conflicts:
	inc/caldav-PUT-functions.php
2013-09-02 14:37:23 +12:00
Andrew McMillan 622512e156 Fix handling of Basic Auth headers. 2012-07-08 11:58:12 +12:00
Andrew McMillan d1c2179bbb Allow a user delegated write access to the principal to maintain it. 2012-06-11 19:43:05 +12:00
Andrew McMillan 9ee6f37d77 Make it possible to see output from /setup.php when DB is unavailable.
Also depends on some changes to AwlDbDialect/AwlQuery.
2012-04-22 10:01:40 +12: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
Felix Möller a9231717c9 Removing the last traces of RSCDS and renaming it to DAViCal. 2011-02-21 22:31:46 +13:00
Andrew McMillan 7a39329472 Fix warning when using basic authentication fallback. 2010-10-07 15:20:57 -04:00
Andrew McMillan 5ebbb198e9 Allow basic auth to supply credentials as well. 2010-09-24 23:33:43 +12:00
Andrew McMillan b296151724 Re-read local database record if the remote auth did not supply principal_id 2010-06-21 10:56:01 +12:00
Andrew McMillan 8223e2e9f7 Replace deprecated split() calls. 2010-04-26 19:46:23 +12:00
Andrew McMillan 7644206a24 Allow configuration of $c->restrict_admin_roles. 2010-04-13 11:51:49 +12:00
Andrew McMillan 587ecf5b34 Migrate DAViCalSession to AwlQuery. 2010-03-16 11:10:31 +13:00
Andrew McMillan 33a1a78490 Remove reference to relationships, which are so passe now. 2010-02-18 13:28:34 +13:00
Andrew McMillan d72002ff42 Get relationships correctly now relationship_type also has a confers column. 2009-11-21 20:59:09 +13:00
Andrew McMillan cf6224374e Also collect the current user principal record into $session. 2009-10-27 09:37:22 +13:00
Andrew McMillan 02a1e6efb8 Allow admin to be enabled only when accessed at a particular domain. 2009-09-14 21:12:49 +12:00
Andrew McMillan f5eb6f99a3 Convert " to ' 2009-09-14 21:12:26 +12:00
Andrew McMillan 97d034552d Rename RSCDSSession(.php) to DAViCalSession(.php) 2009-06-30 15:31:04 +12:00