From 55cbac553cdf4c44977f15a66cc9e2243cbd990e Mon Sep 17 00:00:00 2001
From: Andrew McMillan The RSCDS client setup page on sourceforge has information on how
+ The DAViCal client setup page on sourceforge has information on how
to configure Evolution, Mozilla Calendar (Sunbird & Lightning) and Mulberry to use remotely hosted calendars. The administrative interface has no facility for viewing or modifying calendar data. If you can read this then things must be mostly working already. The RSCDS installation page on sourceforge has
+ The DAViCal installation page on sourceforge has
some further information on how to install and configure this application.Configuring Calendar Clients for RSCDS
-Configuring Calendar Clients for DAViCal
+Configuring RSCDS
+Configuring DAViCal
Operation with RSCDS is not yet perfect but basic operation is satisfactory. I will be -concentrating on making RSCDS interoperate with Chandler over coming releases.
+Operation with DAViCal is not yet perfect but basic operation is satisfactory. I will be +concentrating on making DAViCal interoperate with Chandler over coming releases.
diff --git a/docs/website/clients/Interoperability-details.php b/docs/website/clients/Interoperability-details.php index 96c9834a..98676127 100644 --- a/docs/website/clients/Interoperability-details.php +++ b/docs/website/clients/Interoperability-details.php @@ -11,7 +11,7 @@ that Mulberry does it.The host name is, of course, up to you. The 'root path' should be /caldav.php/ and anything following that is the calendar namespace.
Within the calendar namespace RSCDS uses the first element of the path as the user or resource name, so that a client connecting at the root path +
Within the calendar namespace DAViCal uses the first element of the path as the user or resource name, so that a client connecting at the root path can see all of the (accessible) users and resources available to them (Mulberry displays this hierarchy) with any calendars below that.
Effectively this means that in Evolution, Sunbird and Lightning you should really specify a calendar URL which is something like:
diff --git a/docs/website/clients/Mozilla-details.php b/docs/website/clients/Mozilla-details.php index a3c35da0..915afd7e 100644 --- a/docs/website/clients/Mozilla-details.php +++ b/docs/website/clients/Mozilla-details.php @@ -2,7 +2,7 @@The Mozilla Calendar project offers their calendar under two different names: Sunbird is a standalone calendar application, and Lightning is a Thunderbird extension. - The two are essentially the same, as far as RSCDS is + The two are essentially the same, as far as DAViCal is concerned, and these instructions should work for either of them.
diff --git a/docs/website/clients/Mulberry-details.php b/docs/website/clients/Mulberry-details.php index 55a3a49e..af58256b 100644 --- a/docs/website/clients/Mulberry-details.php +++ b/docs/website/clients/Mulberry-details.php @@ -23,7 +23,7 @@ PROPFIND requests.
Unfortunately Mulberry is not (yet) open-source, though it is free, so we must wait on the developer to fix the user interface niggles when he gets around to it.
Note that Mulberry has a complex user interface. When I wrote this I went back into Mulberry and initially -thought that RSCDS had regressed somewhat and that these instructions didn't exactly work... :-) It turned out +thought that DAViCal had regressed somewhat and that these instructions didn't exactly work... :-) It turned out that these instructions worked just fine when I followed them to the letter the next day. Go figure. I think I need to record some screenshots of this one...
diff --git a/docs/website/clients/Other-details.php b/docs/website/clients/Other-details.php index c4474d62..0ca4ca8e 100644 --- a/docs/website/clients/Other-details.php +++ b/docs/website/clients/Other-details.php @@ -1,8 +1,8 @@Other Client Software
-I would love to have more client software available to test RSCDS +
I would love to have more client software available to test DAViCal against, but so far these are the only ones I have access to.
If you want to point me at more free software that supports CalDAV, or send me free copies of such proprietary software, then I will add it to -the list as well as make RSCDS work with it.
+the list as well as make DAViCal work with it. diff --git a/docs/website/inc/page-footer.php b/docs/website/inc/page-footer.php index 74ef0a7e..c06b77c5 100644 --- a/docs/website/inc/page-footer.php +++ b/docs/website/inc/page-footer.php @@ -14,7 +14,7 @@ echo $tags_to_be_closed; Copyright 2006 | Andrew McMillan diff --git a/docs/website/inc/page-header.php b/docs/website/inc/page-header.php index 42aec5ea..b82207e7 100644 --- a/docs/website/inc/page-header.php +++ b/docs/website/inc/page-header.php @@ -2,7 +2,7 @@ -Really Simple CalDAV StoreDAViCal - Really Simple CalDAV Store+A CalDAV StoreHome | Installation | Client Config | Administration | -RSCDS Wiki | +DAViCal Wiki | Blog | -RSCDS on Sourceforge +DAViCal on Sourceforgediff --git a/docs/website/index.php b/docs/website/index.php index d19bc67e..0a3e45d9 100644 --- a/docs/website/index.php +++ b/docs/website/index.php @@ -1,5 +1,5 @@Background
@@ -30,14 +30,14 @@ but no testing has been undertaken in other PHP environments to date. operating environments, and which is fully ACID compliant.Simplicity of Setup
-For the greatest ease use you should consider installing RSCDS on the Debian GNU/Linux +
For the greatest ease use you should consider installing DAViCal on the Debian GNU/Linux distribution from the readily available, signed packages.
We expect to increase the level of automation and simplicity for the Debian target release in particular, although other distributions might also become easier at the same time. We do expect slightly greater installation complexity in the first few releases as we come to understand the particular problems people experience.
Simplicity of Operation
-In general RSCDS should not need significant maintenance to keep it operating.
+In general DAViCal should not need significant maintenance to keep it operating.
Administrative functionality will be kept as simple as possible, within the target of supporting organisations of up to several hundred staff.
This is called a Store rather than a Server because the server-side smarts are intended to be @@ -56,7 +56,7 @@ works using the CalDAV protocol.
@@ -68,7 +68,6 @@ works using the CalDAV protocol.
- Lorena Paoletti (Spanish)
- Cristina Radalescu (German)
-- Guillaume Rosquin (French)
+- Guillaume Rosquin & Maxime Delorme (French)
- Nick Khazov (Russian)
- Eelco Maljaars (Dutch)
Your Name Here!
If you are interested in helping, there are several areas where I need help at the moment:
-- The project needs a better name - feel free to suggest one!
- We need more documentation
- We need to find more CalDAV-capable calendar clients to interoperate with
- We would love you to write about your experiences in the project Wiki.
diff --git a/docs/website/installation.php b/docs/website/installation.php index 03d40892..39534283 100644 --- a/docs/website/installation.php +++ b/docs/website/installation.php @@ -12,7 +12,7 @@ deb http://debian.mcmillan.net.nz/debian unstable awmto your
+manager to fetch and install/etc/apt/sources.list. Once you have done that you can useapt-getorsynapticor some other equivalent package -manager to fetch and installrscdsand all the dependencies.DAViCaland all the dependencies.This repository is signed by Andrew McMillan's public key, which you can install so that you don't get asked for confirmation all the time:
@@ -29,18 +29,18 @@ sudo apt-key advanced --keyserver subkeys.pgp.net --recv-keys CCA377BD77494424B0 notes to pages somewhere under here: http://rscds.sourceforge.net/moin/InstallationStuff -RPM Packages of RSCDS
-We have created RPM packages of RSCDS and libawl-php from the .deb packages -using "alien". I don't know how well these work, so would appreciate feedback -about your success with them.
+RPM Packages of DAViCal
+We have created RPM packages of DAViCal and libawl-php from the .deb packages +using "alien". These are reported to work fine, so use them and then proceed to the +Pre-requisites section below.
SuSE Linux
On SuSE Linux you may need to look in /var/lib/pgsql/data/ for the pg_hba.conf file.
Gentoo, Slackware, BSD and the rest
-You will need to download the latest versions of the
+rscdsandawlpackages -from the sourceforge download page for rscds.You will need to download the latest versions of the
DAViCalandawlpackages +from the sourceforge download page for DAViCal.You will need to untar these. Preferably you will untar them from within the "
@@ -60,7 +60,7 @@ the database creation scripts are likely to need love./usr/share" directory and everything will be in it's expected location (well, except the docs, but it will at least be tidy and everything will be in one place).Pre-requisites
-RSCDS depends on a number of things. Firstly, it depends +
DAViCal depends on a number of things. Firstly, it depends on Andrew's Web Libraries (AWL) which is a set of useful PHP functions and objects written by Andrew McMillan over a number of years.
@@ -68,8 +68,8 @@ a number of years.The following other software is also needed:
- Apache: 1.3.x or 2.x.x
-- PHP: 4.3 or greater, including PHP5
-- PostgreSQL: 7.4 or greater (8.1 or better recommended)
+- PHP: 5.0 or greater
+- PostgreSQL: 8.1 or greater
The PostgreSQL database may be installed on a server other @@ -78,10 +78,11 @@ if you want to increase the security or scalability of your installation.
Since the CalDAV store takes over a significant amount of path -hierarchy, it is designed to be installed in it's own virtual +hierarchy, it can be easier in it's own virtual host. If you want it to operate within the web root of some other application there are instructions on the Wiki about doing this, -and other fancy tricks such as URL rewriting to shorten the path.
+as well as other fancy tricks such as configuring URL rewriting in +order to shorten the path.Database Setup
@@ -124,7 +125,7 @@ have put them. running as a user who has rights to create a new database, so you may need to do this as the "postgres" user, for example:-su postgres -c /usr/share/rscds/dba/create-database.sh +su postgres -c /usr/share/davical/dba/create-database.shConnecting to the Database
@@ -139,11 +140,11 @@ computer as the web server, the following line (near the top of the pg_hba.conf file) should be enough:-local rscds general trust +local davical general trustThis means that anyone on the local computer (including the -web application) will have rights to connect to the RSCDS +web application) will have rights to connect to the DAViCal database as the 'general' user. It will not allow remote access, or access as any user other than 'general'.
@@ -152,7 +153,7 @@ unix sockets, the line in the pg_hba.conf file should look something like:-host rscds general 127.0.0.1/32 trust +host davical general 127.0.0.1/32 trustIf the webserver is on a different machine to the database, that @@ -163,24 +164,42 @@ database on a different server, you should read the PostgreSQL documentation on pg_hba.conf for the version you are using.
-Apache VHost Configuration
+Apache Configuration
+ +Relative to an existing DocumentRoot
+ +You can create a symlink from an existing web root directory to the +/usr/share/rscds/htdocs directory, such as:
+ ++cd /my/apache/docroot +ln -s /usr/share/davical/htdocs davical ++ +You will need to change your global PHP configuration to include the +directory '/usr/share/awl/inc' in the 'include_path' setting, along with +any other directories already needed by other applications. + +You will also need to ensure that 'magic_quotes_gpc' is off. + +Using a Virtual Host
Your Apache instance needs to be configured for Virtual Hosts. If this is not already the case you may want to read some documentation about that, and you most likely will want to ensure that any existing -site becomes the **default** virtual host, with RSCDS only being a +site becomes the **default** virtual host, with DAViCal only being a single virtual host.
I use a Virtual Host stanza like this:
# -# Virtual Host def for Debian packaged RSCDS +# Virtual Host def for Debian packaged DAViCal <VirtualHost 123.4.56.78 > - DocumentRoot /usr/share/rscds/htdocs + DocumentRoot /usr/share/davical/htdocs DirectoryIndex index.php index.html - ServerName rscds.example.net + ServerName davical.example.net ServerAlias calendar.example.net - Alias /images/ /usr/share/rscds/htdocs/images/ + Alias /images/ /usr/share/davical/htdocs/images/ php_value include_path /usr/share/awl/inc php_value magic_quotes_gpc 0 php_value register_globals 0 @@ -199,30 +218,30 @@ installed from a package.Once your VHost is installed an working correctly, you should be able to browse to that address and see a page telling you that -you need to configure RSCDS.
+you need to configure DAViCal.On Debian systems (or derivatives such as Ubuntu), when you are using Apache 2, you should put this definition in the /etc/apache2/sites-available directory and you can use the 'a2ensite' command to enable it.
-RSCDS Configuration
+DAViCal Configuration
-The RSCDS configuration generally resides in /etc/rscds/<domain>-conf.php +
The DAViCal configuration generally resides in /etc/davical/<domain>-conf.php and is a regular PHP file which sets (or overrides) some specific variables.
<?php // $c->domain_name = "calendar.example.net"; -// $c->sysabbr = 'rscds'; +// $c->sysabbr = 'DAViCal'; // $c->admin_email = 'admin@example.net'; -// $c->system_name = "Really Simple CalDAV Store"; +// $c->system_name = "DAViCal Server Administration"; // $c->collections_always_exist = true; // $c->enable_row_linking = true; // $c->default_locale = en_NZ.UTF-8; -// $c->pg_connect[] = 'dbname=rscds port=5433 user=general'; - $c->pg_connect[] = 'dbname=rscds port=5432 user=general'; + $c->pg_connect[] = 'dbname=davical port=5433 user=general'; + $c->pg_connect[] = 'dbname=davical port=5432 user=general'; ?>@@ -241,7 +260,7 @@ creation of calendar collections.The "enable_row_linking" option controls whether javascript is used to make the entire row clickable in browse lists in the administration pages. Since this doesn't work in Konqueror you may want to set this -to false if you expect people to be using Konqueror with the RSCDS +to false if you expect people to be using Konqueror with the DAViCal administration pages.
You should set the 'domain_name' and 'admin_email' as they are used @@ -278,7 +297,7 @@ are supported on your system.
pages and log in as 'admin' (the password is the bit after the '**' in the 'password' field of the 'usr' table so:-psql rscds -c 'select username, password from usr;' +psql davical -c 'select username, password from usr;'should show you a list. Note that once you change a password it @@ -296,8 +315,8 @@ about your experiences in the Wiki, including distribution specific notes, to pa
Upgrades
-Whenever you upgrade the RSCDS application to a new version you will need to -run dba/update-rscds-database which will apply any pending database patches, as well as +
Whenever you upgrade the DAViCal application to a new version you will need to +run dba/update-davical-database which will apply any pending database patches, as well as enabling any new translations.
In due course the running of this script will be able to be handled by