Florian Schlichting
eba26021c7
update doc and fix a warning
2018-01-08 22:43:27 +01:00
Florian Schlichting
eb7f2edc0c
eliminate trailing whitespace, expand tabs
2016-12-30 08:52:44 +01:00
Andrew McMillan
083fc6dd3b
getCacheInstance() is the canonical way to get a reference to the cache.
2016-06-22 23:22:26 +01:00
Andrew McMillan
8e899ff0e0
Sometimes principal_id can be false.
2013-05-31 09:34:24 +12:00
Andrew McMillan
4f81556586
Use DeconstructURL rather than rawurldecode since it strips base_name components as well.
2012-07-09 01:17:46 +12:00
Andrew McMillan
fed84f8daf
Fix URLencoding & location.
2012-07-09 01:17:37 +12:00
Andrew McMillan
c70c4e40a5
Fix timestamp matching regex.
2012-07-02 21:11:59 +12:00
Andrew McMillan
012a98282f
Fix call to BuildDeadPropertyXML.
2012-06-19 10:26:53 +12:00
Andrew McMillan
b32e2cc452
Fix storing / regurgitating of XML fragments in dead properties.
...
Requires updated AWL to match.
2012-05-20 21:41:32 +12:00
Andrew McMillan
64cc138bc4
Handle modified which is just YYYYMMDDHHMMSS with no indication of datedness.
2012-04-18 23:49:59 +12:00
Andrew McMillan
7140963e49
Allow user_no, created and modified to be set on create.
2012-01-15 20:44:10 +13:00
Andrew McMillan
edc075a54a
Get rid of unnecessary decbin.
2012-01-13 11:27:32 +13:00
Andrew McMillan
90a34a78ec
Finally really fix that permissions issue in Principal.
2012-01-12 10:26:53 +13:00
Andrew McMillan
6915ef3d49
Fix Principal::Create() for default_privileges.
2012-01-09 23:32:50 +13:00
Andrew McMillan
a4ddc7a6c9
Another small fix for BIT24 casting for the LDAP driver...
2011-11-26 17:27:13 +13:00
Andrew McMillan
abbae2b13b
Fix LDAP user creation where memcached support is off.
...
In the event we aren't using memcached we can still initialize at
least the value we were supplied to find the Principal with.
2011-10-28 10:53:27 +13:00
Andrew McMillan
326b67bc26
A couple more places restricting numeric usernames.
2011-10-25 08:14:25 +13:00
Andrew McMillan
97eb7ec6b8
Further fix for BIT(24) handling. Also add some phpdoc.
2011-10-10 13:47:30 +02:00
Andrew McMillan
c747319ab0
Try to fix PostgreSQL 9.x cast issue.
2011-10-07 21:47:22 +02:00
Andrew McMillan
c4f8ec2b15
Fix the way default privileges are set for the SQL.
2011-09-30 15:16:08 +02:00
Andrew McMillan
963f23110d
Hopefully nail that last LDAP niggle.
2011-09-24 12:57:14 +12:00
Andrew McMillan
b3758feb2b
Forgot to declare use of $c
2011-09-22 09:42:59 +12:00
Andrew McMillan
df3a901c91
Rather than fixing in drivers_ldap, fix properly in Principal class.
...
This fixes a bug in the Principal class when updating where
fields are set on the principal, but are not being updated and
end up getting set to NULL as a result.
2011-09-22 09:40:10 +12:00
Andrew McMillan
ca6b47abe2
Ensure type_id has a reasonable default value.
2011-09-12 19:27:59 +12:00
Andrew McMillan
26ce3a83f4
Fix reference to private static variable.
2011-09-12 18:58:28 +12:00
Andrew McMillan
bdb360f082
Add support for the schedule-default-calendar-URL property.
2011-09-09 22:54:38 +12:00
Andrew McMillan
f4be0d071e
Add support for the CalDAV:schedule-default-calendar-URL property.
2011-09-09 10:27:38 +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
17104fc027
The correct fix: refer to static class variables with the correct syntax :-)
2011-05-18 23:36:39 +12:00
Andrew McMillan
03c1cb7cc7
Try and workaround some PHP versions not initialising static instance
...
vars.
2011-05-18 23:19:47 +12:00
Andrew McMillan
1a9d06b470
Move functions to somewhere that it's reasonable to define them!
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-03-31 13:36:46 +13:00
Andrew McMillan
db079408d7
Add __get()/__isset() so private/protected properties are read-only.
...
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-03-31 11:42:05 +13: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