-
AddDays
-
Add some integer number of days to a date
-
AddDuration
-
Add duration
-
AddMonths
-
Add some number of months to a date
-
add_namespace
-
-
add_principal_properties
-
Handles any properties related to the DAV::PRINCIPAL in the request
-
AllowedTo
-
Extend parent definition of what the current user is allowed to do
-
AllowedTo
-
Checks whether a user is allowed to do something.
-
AllowedTo
-
Are we allowed to do the requested activity
-
ApplyBySetPos
-
Given set position descriptions like '1', '3', '11', '-3' or '-1' and a set, return the subset matching the list of set positions.
-
apply_filter
-
While we can construct our SQL to apply some filters in the query, other filters need to be checked against the retrieved record. This is for handling those ones.
-
AssignSessionDetails
-
Internal function used to assign the session details to a user's new session.
-
AssignSessionDetails
-
Internal function used to assign the session details to a user's new session.
-
AuthExternalAWL
-
Authenticate against a different PostgreSQL database which contains a usr table in the AWL format.
-
AuthFailedResponse
-
Authorisation failed, so we send some headers to say so.
-
always.php
-
-
auth-functions.php
-
-
$calendar
-
-
$calendar_home_set
-
-
$collection_id
-
The ID of the collection containing this path, or of this path if it is a collection
-
$collection_path
-
The path corresponding to the collection_id
-
$curl
-
Our cURL connection
-
CalDAVClient
-
Constructor, initialises the class
-
CalDAVClient
-
A class for accessing DAViCal via CalDAV, as a client
-
CalDAVPrincipal
-
Constructor
-
CalDAVPrincipal
-
A class for things to do with a DAV Principal
-
CalDAVRequest
-
A class for collecting things to do with this request.
-
CalDAVRequest
-
Create a new CalDAVRequest object.
-
caldav_tag
-
-
calendar_server_tag
-
-
calendar_to_xml
-
Return XML for a single calendar (or todo) entry from the DB
-
CheckPassword
-
CheckPassword does all of the password checking and returns a user record object, or false if it all ends in tears.
-
check_string
-
-
collection_to_xml
-
Returns an XML sub-tree for a single collection record from the DB
-
ConstructURL
-
Construct a URL from the supplied dav_name
-
controlRequestContainer
-
Work out the location we are doing the PUT to, and check that we have the rights to do the needful.
-
CreateDefaultRelationships
-
Create default relationships
-
CreateHomeCalendar
-
Create a default home calendar for the user.
-
caldav.php
-
-
collection.php
-
-
caldav-client.php
-
-
caldav-DELETE.php
-
-
caldav-GET.php
-
-
caldav-LOCK.php
-
-
caldav-MKCALENDAR.php
-
-
caldav-OPTIONS.php
-
-
caldav-PROPFIND.php
-
-
caldav-PROPPATCH.php
-
-
caldav-PUT-functions.php
-
-
caldav-PUT.php
-
-
caldav-REPORT-calquery.php
-
-
caldav-REPORT-freebusy.php
-
-
caldav-REPORT-multiget.php
-
-
caldav-REPORT-principal.php
-
-
caldav-REPORT.php
-
-
CalDAVPrincipal.php
-
-
CalDAVRequest.php
-
-
check_UTF8.php
-
-
$depth
-
The depth parameter from the request headers, coerced into a valid integer: 0, 1 or DEPTH_INFINITY which is defined above. The default is set per various RFCs.
-
DateDifference
-
Produce an iCalendar format DURATION for the difference between this an another iCalDate
-
DaysInMonth
-
No of days in a month 1(Jan) - 12(Dec)
-
DepthRegexTail
-
Returns the tail of a Regex appropriate for this Depth, when appended to
-
DEPTH_INFINITY
-
-
DigestAuthSession
-
Handle Digest HTTP Authentication (no passwords were harmed in this transaction!)
-
DoCalendarQuery
-
Given XML for a calendar query, return an array of the events (/todos) in the response. Each event in the array will have a 'href', 'etag' and '$response_type' part, where the 'href' is relative to the calendar and the '$response_type' contains the definition of the calendar data in iCalendar format.
-
DoDELETERequest
-
DELETE a text/icalendar resource
-
DoGETRequest
-
Get a single item from the server.
-
DoOptionsRequest
-
Send an OPTIONS request to the server
-
DoPUTRequest
-
PUT a text/icalendar resource, returning the etag
-
DoRequest
-
Send a request to the server
-
DoResponse
-
Utility function we call when we have a simple status-based response to return to the client. Possibly
-
DoXMLRequest
-
Send an XML request to the server (e.g. PROPFIND, REPORT, MKCALENDAR)
-
davical_configuration_missing.php
-
-
drivers_ldap.php
-
-
drivers_squid_pam.php
-
-
getAllUsers
-
Retrieve all users from the LDAP directory
-
GetDepthName
-
Returns the name for this depth: 0, 1, infinity
-
GetEntryByHref
-
Get the calendar entry by HREF
-
GetEntryByUid
-
Get the calendar entry by UID
-
GetEvents
-
Get the events in a range from $start to $finish. The dates should be in the
-
GetLockDetails
-
Returns the DB object associated with a lock token, or false.
-
GetLockRow
-
Returns the locked row, either from the cache or from the database
-
GetMonthByDay
-
Applies any BYDAY to the month to return a set of days
-
GetMonthByMonthDay
-
Applies any BYMONTHDAY to the month to return a set of days
-
GetNext
-
This is most of the meat of the RRULE processing, where we find the next date.
-
GetRelationships
-
Method used to get the user's relationships
-
GetRoles
-
Internal function used to get the user's roles from the database.
-
GetRoles
-
Method used to get the user's roles
-
getStaticLdap
-
A generic function to create and fetch static objects
-
getStatusMessage
-
Return the HTTP status code description for a given code. Hopefully this is an efficient way to code this.
-
GetTodos
-
Get the todo's in a range from $start to $finish. The dates should be in the
-
getUserByID
-
Return a user record identified by a user_no, caching it for any subsequent lookup
-
getUserByName
-
Return a user record identified by a username, caching it for any subsequent lookup
-
GetWeekByDay
-
Applies any BYDAY to the week to return a set of days
-
get_arbitrary_properties
-
Fetches any arbitrary properties that were requested by the PROPFIND into an array, which we return.
-
get_collection
-
Get XML response for a single collection. If Depth is >0 then
-
get_collection_contents
-
Get XML response for items in the collection If '/' is requested, a list of visible users is given, otherwise a list of calendars for the user which are parented by this path.
-
get_item
-
Get XML response for a single item. Depth is irrelevant for this.
-
GreaterThan
-
Test if $this is greater than the date parameter
-
index.php
-
-
iCalDate
-
The constructor takes either an iCalendar date, a text string formatted as an iCalendar date, or epoch seconds.
-
iCalDate
-
A Class for handling dates in iCalendar format. We do make the simplifying assumption that all date handling in here is normalised to GMT. One day we might provide some functions to do that, but for now it is done externally.
-
importFromDirectory
-
-
import_collection
-
This function will import a whole calendar
-
interactive-page.php
-
-
InitialiseRecord
-
Initialise the Principal object from a $usr record from the DB.
-
IsCollection
-
Returns true if the URL referenced by this request points at a collection.
-
IsInfiniteDepth
-
Returns true if the request asked for infinite depth
-
IsLocked
-
Checks whether the resource is locked, returning any lock token, or false
-
IsPrincipal
-
Returns true if the URL referenced by this request points at a principal.
-
item_to_xml
-
Return XML for a single data item from the DB
-
$raw_post
-
The raw data sent along with the request
-
relationship_types.php
-
-
roles.php
-
-
RRule.php
-
-
RSCDSSession.php
-
-
RSCDSUser.php
-
-
render
-
-
Render
-
Render the form / viewer as HTML to show the user
-
Render
-
Set the day of week used for calculation of week starts
-
RenderCollections
-
Render the user's collections
-
renderImportFromDirectory
-
-
RenderImportIcs
-
Render input file to import ics in calendar user
-
RenderRelationshipsFrom
-
Render the user's relationships to other users & resources
-
RenderRelationshipsTo
-
Render the user's relationships to other users & resources
-
renderSyncLDAP
-
-
requestUser
-
Returns the result of the LDAP query
-
rollback_on_error
-
This function launches an error
-
RRule
-
A Class for handling Events on a calendar which repeat
-
RRule
-
The constructor takes a start date and an RRULE definition. Both of these follow the iCalendar standard.
-
RSCDSSession
-
A class for creating and holding session information.
-
RSCDSSession
-
Create a new RSCDSSession object.
-
RSCDSUser
-
Constructor - nothing fancy as yet.
-
RSCDSUser
-
A class for viewing and maintaining DAViCal User records
-
$schedule_inbox_url
-
-
$schedule_outbox_url
-
-
$session
The session object is global.
-
-
send_page_header
-
-
SetContentType
-
Add a Content-type: header.
-
SetDepth
-
Add a Depth: header. Valid values are 1 or infinity
-
SetEpochDate
-
Set the date from an epoch
-
SetGMTDate
-
Set the date from a text string
-
SetLocalDate
-
Set the date from a text string
-
SetMatch
-
Adds an If-Match or If-None-Match header
-
SetMonthDay
-
Set the day in the month to what we have been given
-
setPermissions
-
Permissions are controlled as follows:
-
SetUserAgent
-
Add a Depth: header. Valid values are 1 or infinity
-
SetWeekStart
-
Set the day of week used for calculation of week starts
-
SqlFilterFragment
-
Process a filter fragment returning an SQL fragment
-
squidPamDrivers
-
Constructor.
-
squidPamDrivers
-
-
SQUID_PAM_check
-
Check the username / password against the PAM system
-
SupportedPrivileges
-
Return an array of what the DAV privileges are that are supported
-
sync_LDAP
-
sync LDAP against the DB
-
sync_user_from_LDAP
-
Synchronise a cached user with one from LDAP