Andrew McMillan
be5227f0ca
Add support by Ján Máté for arbitrary collections to create on user creation.
2012-05-15 08:19:58 +12:00
Andrew McMillan
f9998cb782
If an external source can supply a useful timezone name, we can use that.
2012-01-15 20:44:46 +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
326b67bc26
A couple more places restricting numeric usernames.
2011-10-25 08:14:25 +13:00
Andrew McMillan
31ed1a4188
Correctly create the addressbook collection as an addressbook.
2011-10-03 13:46:06 +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
7ab6326341
Add back default relationships, which still have some utility in complex environments.
2011-08-29 09:03:10 +12: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
9470f0b9e0
Also update displayname if fullname is changed.
2010-11-20 22:13:28 +13:00
Andrew McMillan
0915a78784
Don't let auth functions created duplicate home calendars.
2010-11-09 00:21:35 +13:00
Andrew McMillan
517b8d8d0f
Correct parameter naming.
2010-08-18 21:33:32 +12:00
Andrew McMillan
4e1852aee2
Try and read dav_principal since the remote usr record no longer suffices.
2010-06-23 14:15:57 +12:00
Andrew McMillan
3075fddd70
Correct query parameters.
2010-03-18 22:27:19 +13:00
Andrew McMillan
466bffa73d
Fix privileges insert.
2010-03-18 22:01:38 +13:00
Andrew McMillan
abdfad3193
Don't need :user_no set on INSERT.
2010-03-18 21:51:44 +13:00
Andrew McMillan
93e3c4338e
Migrate to AwlQuery. Also fix sf.net #2970729 in passing.
2010-03-16 10:12:07 +13:00
Andrew McMillan
70c853df6c
Correct misspelled __LINE__ references.
2010-03-07 20:56:49 +13:00
Andrew McMillan
a9d95014a2
Remove irrlevant functionality to CreateDefaultRelationships.
...
A stub is retained in case external organisations have written
some auth plugin which does use it.
2009-12-23 15:23:50 +13:00
Andrew McMillan
bff7a9930c
We now need to create a principal record along with a usr one.
2009-12-11 12:13:13 +13:00
Andrew McMillan
4dcbcfadad
Ensure we still get active if we got a real boolean.
2009-11-27 13:14:31 +13:00
Andrew McMillan
42b2d7e74c
No need to specify the AWLUtilities include here.
2009-10-27 09:21:58 +13:00
Andrew McMillan
2f1bb34bfa
Create calendars with the new resourcetype column.
2009-10-16 10:22:26 +13:00
Andrew McMillan
185aeb06bb
Don't write the user record every time a user connects via external auth.
2009-09-26 21:48:58 +12:00
Andrew McMillan
d901225813
Fix updating using AuthExternalAWL.
2009-09-11 19:19:48 +12:00
Andrew McMillan
85ca442c59
Allow for persistent connections to the auth DB also.
2008-01-24 22:35:00 +13:00
Andrew McMillan
13e9f6f4b5
Fix cut and paste error. currval => nextval
2007-11-03 20:43:56 +13:00
Andrew McMillan
5e47b74ccf
Provide example config snippet for docs.
2007-11-01 22:29:08 +13:00
Andrew McMillan
b373f73ca1
Add a 'where' clause to the auth_other_awl method.
2007-11-01 22:21:33 +13:00
Andrew McMillan
7c05f9c189
Pulling out the User create/update so other drivers can use it as well.
2007-10-30 14:48:46 +13:00
Andrew McMillan
973a8235b4
Remove extraneous bracket.
2007-10-29 18:12:20 +13:00
Andrew McMillan
b27b0d4c7b
Added auth functions to implement creation of home calendar and
...
addition of default relationships, and write replacement for
auth_other_awl which uses these.
2007-10-28 10:27:16 +13:00