summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2013-04-30 16:42:44 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2013-05-06 14:41:37 +0100
commit1ae33d76b8eaea3509d04fda08b05c4c7c757588 (patch)
tree0c5fa605b165db67f61c761ad506a9b78208a44d
parentf804fb79958caea1c1bc13585b76608e0cca398d (diff)
downloadpykolab-1ae33d76b8eaea3509d04fda08b05c4c7c757588.tar.gz
These files can go too
-rw-r--r--share/templates/freebusy/config.php.tpl212
-rw-r--r--share/templates/zpush/config.php.tpl106
2 files changed, 0 insertions, 318 deletions
diff --git a/share/templates/freebusy/config.php.tpl b/share/templates/freebusy/config.php.tpl
deleted file mode 100644
index f41195a..0000000
--- a/share/templates/freebusy/config.php.tpl
+++ /dev/null
@@ -1,212 +0,0 @@
-<?php
-/**
- * This file provides configuration settings for both the freebusy.php
- * and the pfb.php scripts.
- *
- * \$Horde: framework/Kolab_FreeBusy/www/Horde/Kolab/FreeBusy/config.php,v 1.4.2.2 2010/07/22 13:55:30 wrobel Exp \$
- *
- * Copyright 2008-2009 The Horde Project (http://www.horde.org/)
- *
- * @author Steffen Hansen <steffen@klaralvdalens-datakonsult.se>
- * @author Gunnar Wrobel <p@rdus.de>
- * @author Thomas Arendsen Hein <thomas@intevation.de>
- * @package Kolab_FreeBusy
- */
-
-\$conf = array();
-
-/* Horde::Log configuration */
-\$conf['log']['enabled'] = true;
-\$conf['log']['priority'] = PEAR_LOG_DEBUG;
-\$conf['log']['type'] = 'file';
-\$conf['log']['name'] = '/var/log/kolab/freebusy/freebusy.log';
-\$conf['log']['ident'] = 'Kolab Free/Busy';
-\$conf['log']['params']['append'] = true;
-
-/* PHP error logging */
-ini_set('error_log', '/var/log/kolab/freebusy/php.log');
-
-/* Horde::Kolab::LDAP configuration */
-\$conf['kolab']['ldap']['server'] = 'localhost';
-\$conf['kolab']['ldap']['basedn'] = '$ldap_base_dn';
-\$conf['kolab']['ldap']['phpdn'] = '$ldap_service_bind_dn';
-\$conf['kolab']['ldap']['phppw'] = '$ldap_service_bind_pw';
-
-/* Horde::Kolab::IMAP configuration */
-\$conf['kolab']['imap']['server'] = 'localhost';
-\$conf['kolab']['imap']['port'] = 143;
-\$conf['kolab']['imap']['protocol'] = 'imap/tls/novalidate-cert/readonly';
-\$conf['kolab']['imap']['namespaces'] = array(
- array('type' => 'personal', 'name' => '', 'delimiter' => '/'),
- array('type' => 'other', 'name' => 'Other Users', 'delimiter' => '/'),
- array('type' => 'shared', 'name' => 'Shared Folders', 'delimiter' => '/'),
-);
-
-/* Horde::Auth configuration */
-\$conf['auth']['params']['login_block'] = 0;
-\$conf['auth']['checkbrowser'] = false;
-\$conf['auth']['checkip'] = false;
-\$conf['umask'] = false;
-
-\$conf['auth']['driver'] = 'imap';
-\$conf['auth']['params']['hostspec'] = 'localhost';
-\$conf['auth']['params']['protocol'] = 'imap/tls/novalidate-cert';
-
-/* Allow special users to log into the system */
-\$conf['kolab']['imap']['allow_special_users'] = true;
-
-/* Do not record login attempts */
-\$conf['auth']['params']['login_block'] = false;
-
-/* Kolab::Freebusy configuration */
-
-/* Should we redirect using a Location header, if the user is not local? If this
- * is false we silently download the file ourselves and output it so that it
- * looks as though the free/busy information is coming from us.
- */
-\$conf['fb']['redirect'] = false;
-
-/* What is the address of the current server where the calendar data is stored?
- * This is also used as the LDAP server address where user objects reside.
- */
-\$conf['kolab']['freebusy']['server'] = 'http://' . \$_SERVER["HTTP_HOST"] . '/freebusy';
-
-/* What is our default mail domain? This is used if any users do not have
- * '@domain' specified after their username as part of their email address.
- */
-\$conf['fb']['email_domain'] = '$primary_domain';
-
-/* Location of the cache files */
-\$conf['fb']['cache_dir'] = '/tmp';
-\$conf['fb']['cache']['driver'] = 'sql';
-\$conf['fb']['cache']['params']['phptype'] = 'mysql';
-\$conf['fb']['cache']['params']['username'] = 'roundcube';
-\$conf['fb']['cache']['params']['password'] = '$mysql_roundcube_password';
-\$conf['fb']['cache']['params']['hostspec'] = 'localhost';
-\$conf['fb']['cache']['params']['database'] = 'roundcube';
-\$conf['fb']['cache']['params']['charset'] = 'utf-8';
-
-/* What db type to use for the freebusy caches */
-\$conf['fb']['dbformat'] = 'db4';
-
-/* Should we send a Content-Type header, indicating what the mime type of the
- * resulting VFB file is?
- */
-\$conf['fb']['send_content_type'] = false;
-
-/* Should we send a Content-Length header, indicating how large the resulting
- * VFB file is?
- */
-\$conf['fb']['send_content_length'] = false;
-
-/* Should we send a Content-Disposition header, indicating what the name of the
- * resulting VFB file should be?
- */
-\$conf['fb']['send_content_disposition'] = false;
-
-/* Should we use ACLs or does everybody get full rights? DO NOT set
- * this to false if you don't know what you are doing. Your free/busy
- * service should not be visible to any outside networks when
- * disabling the use of ACL settings.
- */
-\$conf['fb']['use_acls'] = true;
-
-/* How many days in advance should the free/busy information be calculated? This
- * is the default value that can be overwritten by the kolabFreeBusyFuture
- * attribute of the users LDAP account.
- */
-\$conf['fb']['future_days'] = 180;
-
-/* The resulting vCalendar file is being cached. The following setting
- * determines how many seconds it will be delivered without checking if
- * the contents of the file might have changed. A negative setting disables
- * caching (which is currently required for the resource management to work).
- */
-\$conf['fb']['vcal_cache']['min_age'] = -1;
-
-/* The resulting vCalendar file is being cached. The following setting
- * determines after how many seconds it will be considered too old for
- * delivery and a refresh of its contents will be enforced.
- */
-\$conf['fb']['vcal_cache']['max_age'] = 259200;
-
-/* The IMAP namespaces on the server. @TODO: Should obviously be
- * auto-detected.
- */
-\$conf['fb']['namespace']['personal'] = '';
-\$conf['fb']['namespace']['other'] = 'Other Users';
-
-/* In most cases you can rely on the standard event status to free/busy status
- * mapping. For the default kolab server this will mean that only the event
- * status "free" will be mapped to the free/busy status "FREE". All other event
- * status ("tentative", "busy", "outofoffice") will be mapped to "BUSY".
- *
- * If this mapping should be modified you can define it like this:
- *
- * \$conf['fb']['status_map'] = array(
- * Horde_Kolab_FreeBusy_Object_Event::STATUS_TENTATIVE =>
- * Horde_Kolab_FreeBusy_Helper_Freebusy_StatusMap::STATUS_BUSY_TENTATIVE,
- * Horde_Kolab_FreeBusy_Object_Event::STATUS_OUTOFOFFICE =>
- * 'X-OUT-OF-OFFICE',
- * );
- */
-require_once 'Horde/Kolab/FreeBusy/Object/Event.php';
-require_once 'Horde/Kolab/FreeBusy/Helper/Freebusy/StatusMap.php';
-\$conf['fb']['status_map'] = array(
- Horde_Kolab_FreeBusy_Object_Event::STATUS_TENTATIVE =>
- Horde_Kolab_FreeBusy_Helper_Freebusy_StatusMap::STATUS_BUSY_TENTATIVE,
- Horde_Kolab_FreeBusy_Object_Event::STATUS_OUTOFOFFICE =>
- 'X-OUT-OF-OFFICE',
-);
-
-/* Are there remote servers on which users have additional (shared)
- * folders? In that case free/busy information should also be fetched
- * from these servers.
- *
- * Add them like this:
- *
- * array('remote1.example.com', 'remote2.example.com')
- */
-\$conf['fb']['remote_servers'] = array();
-
-/* Is there an exchange server that you want to relay through this free/busy
- * application?
- *
- * Configure it like this:
- *
- * \$conf['fb']['exchange_server'] = array(
- * 'url' => 'https://example.com',
- * 'interval' => 30,
- * );
- */
-#\$conf['fb']['exchange_server'] = array(
-# 'url' => 'http://test90-9.test90.kolabsys.com',
-# 'interval' => 30,
-# 'username' => 'kolabservice',
-# 'password' => 'SomePass',
-#);
-
-/**
- * Ensure we use the Kolab group driver when handling groups.
- */
-\$conf['group']['driver'] = 'kolab';
-\$conf['group']['cache'] = false;
-
-//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-//
-// If you modify this file, please do not forget to also modify the
-// template in kolabd!
-//
-//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-
-// DEBUGGING
-// =========
-//
-// Activate this to see the log messages on the screen
-// \$conf['log']['type'] = 'display';
-//
-// Activate this to see the php messages on the screen
-// ini_set('display_errors', 1);
-//
-// Both settings will disrupt header delivery (which should not cause a
-// problem).
diff --git a/share/templates/zpush/config.php.tpl b/share/templates/zpush/config.php.tpl
deleted file mode 100644
index 9480ae4..0000000
--- a/share/templates/zpush/config.php.tpl
+++ /dev/null
@@ -1,106 +0,0 @@
-<?php
- /***********************************************
- * File : config.php
- * Project : Z-Push
- * Descr : Main configuration file
- *
- */
-
- define('KOLAB_SERVER', "$ldap_ldap_uri");
- define('KOLAB_LDAP_BASE',"$ldap_base_dn");
- define('KOLAB_BIND_DN',"$ldap_service_bind_dn");
- define('KOLAB_BIND_PW',"$ldap_service_bind_pw");
- define("KOLAB_LDAP_ACL","");
- define('KOLAB_IMAP_SERVER', "$imap_server");
-
- // Defines the default time zone
- if (function_exists("date_default_timezone_set")){
- date_default_timezone_set(date_default_timezone_get());
- }
-
- // Defines the base path on the server, terminated by a slash
- define('BASE_PATH', dirname(\$_SERVER['SCRIPT_FILENAME']) . "/");
-
- // Define the include paths
- ini_set(
- 'include_path',
- BASE_PATH . "include/" . PATH_SEPARATOR .
- BASE_PATH . PATH_SEPARATOR .
- ini_get('include_path') . PATH_SEPARATOR .
- "/usr/share/php/" . PATH_SEPARATOR .
- "/usr/share/php5/" . PATH_SEPARATOR .
- "/usr/share/pear/"
- );
-
- define('STATE_DIR', 'state');
-
- // Try to set unlimited timeout
- define('SCRIPT_TIMEOUT', 0);
-
- //Max size of attachments to display inline. Default is 1MB
- define('MAX_EMBEDDED_SIZE', 1048576);
-
- // Device Provisioning
- define('PROVISIONING', true);
-
- // This option allows the 'loose enforcement' of the provisioning policies for older
- // devices which don't support provisioning (like WM 5 and HTC Android Mail) - dw2412 contribution
- // false (default) - Enforce provisioning for all devices
- // true - allow older devices, but enforce policies on devices which support it
- define('LOOSE_PROVISIONING', false);
- // Default conflict preference
- // Some devices allow to set if the server or PIM (mobile)
- // should win in case of a synchronization conflict
- // SYNC_CONFLICT_OVERWRITE_SERVER - Server is overwritten, PIM wins
- // SYNC_CONFLICT_OVERWRITE_PIM - PIM is overwritten, Server wins (default)
- define('SYNC_CONFLICT_DEFAULT', SYNC_CONFLICT_OVERWRITE_PIM);
-
- // The data providers that we are using (see configuration below
- \$BACKEND_PROVIDER = "BackendKolab";
-
- define("KOLAB_LDAP_ACL","");
- define('KOLAB_IMAP_NAMESPACES', Array(
- 'personal' => "",
- 'shared' => "Shared Folders",
- 'users' => "Other Users"
- )
- );
-
- define('KOLAB_IMAP_PORT', 143);
- define('KOLAB_IMAP_OPTIONS', "/tls/novalidate-cert");
-
- define('KOLAB_INDEX',"/var/cache/kolab/z-push/kolabindex");
-
- //KolabMode
- // 0 = FlatMode
- // 1 = FolderMode
- // 2 = try to determine the mode
- define("KOLAB_MODE",2);
- // define which mobile support foldermode
- // this list is checked if KOLAB_MODE is set to 2
- define("KOLAB_MOBILES_FOLDERMODE","iphone:ipod:ipad");
- // folders by default if annotation is not found
- // possiblename1:possiblename2: ......
- // if no folders found the last found will be the default
- define('KOLAB_DEFAULTFOLDER_DIARY',"calendar:kalender:calendrier:agenda");
- define('KOLAB_DEFAULTFOLDER_CONTACT',"contacts:kontact");
- define('KOLAB_DEFAULTFOLDER_TASK',"task:taske");
- // If 1: shared folders will be read-only, even if the user have rights on it
- define('KOLAB_SHAREDFOLDERS_RO',"1");
-
- // Logfile
- define('KOLAB_LOGFILE',"/var/log/z-push/access.log");
- //For Gal
- define('SYNC_GAL_DISPLAYNAME','cn');
- define('SYNC_GAL_PHONE','telephonenumber');
- define('SYNC_GAL_OFFICE', '');
- define('SYNC_GAL_TITLE','title');
- define('SYNC_GAL_COMPANY','o');
- define('SYNC_GAL_ALIAS','uid');
- define('SYNC_GAL_FIRSTNAME','givenname');
- define('SYNC_GAL_LASTNAME','sn');
- define('SYNC_GAL_HOMEPHONE','homephone');
- define('SYNC_GAL_MOBILEPHONE','mobile');
- define('SYNC_GAL_EMAILADDRESS','mail');
-
-?>