462 Commits

Author SHA1 Message Date
Andrew Ruthven
3c0cb7a264 Allow multiple trees for baseDN (closes 1876287). 2008-02-15 13:57:05 +13:00
Aiko Barz
a4df7abe9f Add Active Directory support (closes 1876288).
This is slightly modified from Aiko's patch to apply cleanly and add
a few more comments to the example config.
2008-02-15 13:57:04 +13:00
Jeroen van Disseldorp
afef5f231d Only set timezone if we have a reasonable looking one. 2008-02-15 07:02:30 +13:00
Andrew McMillan
99ff2e5f4a Fall back to /etc/davical/config.php for a whole-of-site configuration. 2008-02-14 13:33:03 +13:00
Andrew Ruthven
256bf9d328 Handle the case where sync_LDAP doesn't find any users in LDAP. 2008-02-13 12:46:20 +13:00
Andrew Ruthven
0bc51a9e39 Work on "Sync LDAP with RSCDS" feature.
* Use an ugly hack so that users that are updated using the Sync
  LDAP feature retain their user_no.  Otherwise a new user_no
  was selected, and the insert failed since the username already
  existed.
* Tidy up the output messages to be more consistent.
* Only display "updating user records" if users were updated.
2008-02-13 12:33:27 +13:00
Andrew Ruthven
de50126b6e Fix the deferencing of the query variables for LDAP scope to work. 2008-02-13 11:28:40 +13:00
Andrew Ruthven
7147b5a054 Make sure that the scope config variable is set. 2008-02-13 11:01:50 +13:00
Andrew Ruthven
c4200203ca Allow specifying the search scope to use. 2008-02-13 10:35:16 +13:00
Andrew Ruthven
280e78a461 Tidy up the TLS bits a little bit. 2008-02-13 09:17:01 +13:00
Christian Kier
66114ee754 Allow LDAP drviver to use TLS (closes 1873513) 2008-02-13 09:08:45 +13:00
Andrew McMillan
d1796135a1 Those error messages should be translatable. 2008-02-09 22:57:49 +13:00
Andrew McMillan
9a51be75be Recognise and error when the request says it has XML, but it
has errors.
2008-02-09 21:21:49 +13:00
Andrew McMillan
c7c6a0a62c When creating a fake event, don't create a blank RRULE. 2008-02-09 21:20:55 +13:00
Andrew McMillan
12035ab7e5 Actually retrieve the collection_id correctly, and document it too. 2008-01-26 22:30:31 +13:00
Andrew McMillan
875673dd27 Ensure newly created events get a collection_id on them. 2008-01-26 22:17:58 +13:00
Andrew McMillan
ae4768bdc3 Formatting. 2008-01-26 21:59:34 +13:00
Andrew McMillan
fd007a4ca7 Get the collection_id into the request variable. 2008-01-26 21:59:02 +13:00
Andrew McMillan
89df8d8881 Cope with noisy file access denial such as open_basedir. 2008-01-26 16:16:28 +13:00
Andrew McMillan
8a6c502d9b Performance improvement. 2008-01-25 22:10:01 +13:00
Andrew McMillan
60d980041f Fix parsing of incoming VCALENDAR to correctly preserve timezone info. 2008-01-25 22:09:03 +13:00
Andrew McMillan
2423eda8ef Performance change applied to PROPFIND. 2008-01-25 08:06:33 +13:00
Andrew McMillan
1cdb78e92e Enforce permissions on multiget, which might conceivably be retrieving events
from multiple calendars in one pass.
2008-01-25 07:59:45 +13:00
Andrew McMillan
7b04617c37 Performance fixes to freebusy and results ordering change. 2008-01-25 07:58:30 +13:00
Andrew McMillan
569021aa2a Performance improvement and resultant reordering of freebusy query results. 2008-01-24 22:36:13 +13:00
Andrew McMillan
85ca442c59 Allow for persistent connections to the auth DB also. 2008-01-24 22:35:00 +13:00
Andrew McMillan
fdd484dd37 Improve performance, with resulting ordering change. 2008-01-24 21:57:26 +13:00
Andrew McMillan
b317369e9c Paranoia sprinkles. 2008-01-24 07:50:08 +13:00
Andrew McMillan
bf996862a8 Correct comments to reflect reality. 2008-01-24 07:49:44 +13:00
Andrew McMillan
589c0db1bd Efficiency improvements from bypassing get_permissions() call in query. 2008-01-23 18:41:11 +13:00
Andrew McMillan
095476223b Efficiency improvements from bypassing get_permissions() call in query. 2008-01-23 18:20:15 +13:00
Andrew McMillan
615c53d3f8 Efficiency improvements from bypassing get_permissions() call in query. 2008-01-23 18:03:28 +13:00
Andrew McMillan
228de176b2 Fix for when open_basedir is in force. 2008-01-22 22:14:01 +13:00
Andrew McMillan
949d28a5c1 Fix debugging code so this doesn't break a server with open_basedir
enabled.  Not that I in any way endorse the use of open_basedir...
2008-01-21 17:30:31 +13:00
Andrew McMillan
83cabf87ce Fix to work with FastCGI installation. 2008-01-21 16:01:32 +13:00
Andrew McMillan
4fba80a1c7 Release 0.9.3 2008-01-16 22:31:51 +13:00
Andrew McMillan
6346ae5966 Remove some bugs in timezone handling on WebDAV presentation of folders. 2007-12-14 23:45:36 +13:00
Andrew McMillan
045b369c69 Note TODO item regarding refactoring this into CalDAVPrincipal 2007-11-27 18:03:47 +13:00
Andrew McMillan
1390626449 Get rid of the last URLs containing protocol://host:port part. 2007-11-25 23:08:17 +13:00
Andrew McMillan
e589d2ed5c Remove protocol://host:port from principal report and be consistent with
calendar-home-set response in other places also.
2007-11-25 13:43:25 +13:00
Andrew McMillan
2cacc8aa1c Almost entirely switched to root-relative URLs now. 2007-11-25 13:31:35 +13:00
Andrew McMillan
96e579910b Use URL construction in PROPPATCH handling. 2007-11-25 13:03:41 +13:00
Andrew McMillan
6d3a0abd4c Write & use utility function for URL construction. 2007-11-25 12:57:54 +13:00
Andrew McMillan
89c7a33694 Change REPORT to omit protocol://host:port from URLs also. 2007-11-25 12:47:41 +13:00
Andrew McMillan
78ce98b8de Consistently use URL without protocol://host:port prefix. 2007-11-25 12:42:40 +13:00
Andrew McMillan
75ef6cc105 Remove iCal hack to escape displaynames with spaces. iCal 3.0.1 doesn't need this. 2007-11-25 00:41:28 +13:00
Andrew McMillan
2667580a25 Better regex to match SOHO Organizer . 2007-11-24 23:40:42 +13:00
Andrew McMillan
522852d4f5 Ensure that mkcalendar will fail at / or /username/ locations. 2007-11-24 23:39:56 +13:00
Andrew McMillan
9a32c2c806 Fix a bug in addition of durations. 2007-11-24 23:06:36 +13:00
Andrew McMillan
114b4a1f26 Tweaks to MKCALENDAR to make it work with iCal. 2007-11-24 21:34:29 +13:00