2005-06-19 21:00:58 +02:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* registry.php -- Horde application registry.
|
|
|
|
*
|
|
|
|
* $Horde: horde/config/registry.php.dist,v 1.243 2004/10/05 20:08:13 chuck Exp $
|
|
|
|
*
|
|
|
|
* This configuration file is used by Horde to determine which Horde
|
|
|
|
* applications are installed and where, as well as how they interact.
|
|
|
|
*
|
|
|
|
* Application registry
|
|
|
|
* --------------------
|
|
|
|
* The following settings register installed Horde applications.
|
|
|
|
* By default, Horde assumes that the application directories live
|
|
|
|
* inside the horde directory.
|
|
|
|
*
|
|
|
|
* Attribute Type Description
|
|
|
|
* --------- ---- -----------
|
|
|
|
* fileroot string The base filesystem path for the module's files
|
|
|
|
* webroot string The base URI for the module
|
|
|
|
* graphics string The base URI for the module images
|
|
|
|
* icon string The URI for an icon to show in menus for the module
|
|
|
|
* name string The name used in menus and descriptions for a module
|
|
|
|
* status string 'inactive', 'hidden', 'notoolbar', 'heading',
|
|
|
|
* 'block', 'admin', or 'active'.
|
|
|
|
* provides string Service types the module provides.
|
|
|
|
* initial_page string The initial (default) page (filename) for the module
|
|
|
|
* templates string The filesystem path to the templates directory
|
|
|
|
* menu_parent string The name of the 'heading' group that this app should
|
|
|
|
* show up under.
|
|
|
|
* target string The (optional) target frame for the link.
|
|
|
|
*/
|
|
|
|
|
|
|
|
// We try to automatically determine the proper webroot for Horde
|
|
|
|
// here. This still assumes that applications live under horde/. If
|
|
|
|
// this results in incorrect results for you, simply change the two
|
|
|
|
// uses of the $webroot variable in the 'horde' stanza below.
|
|
|
|
//
|
|
|
|
// Note for Windows users: the below assumes that your PHP_SELF
|
|
|
|
// variable uses forward slashes. If it does not, you'll have to tweak
|
|
|
|
// this.
|
|
|
|
if (isset($_SERVER['PHP_SELF'])) {
|
2005-12-20 18:45:47 +01:00
|
|
|
$parts = preg_split(';/;', $_SERVER['PHP_SELF'], 2, PREG_SPLIT_NO_EMPTY);
|
|
|
|
$webroot = strstr(dirname(__FILE__), '/' . array_shift($parts));
|
2005-06-19 21:00:58 +02:00
|
|
|
if ($webroot !== false) {
|
|
|
|
$webroot = preg_replace(';/config$;', '', $webroot);
|
|
|
|
} else {
|
|
|
|
$webroot = '/horde';
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
$webroot = '/horde';
|
|
|
|
}
|
|
|
|
|
|
|
|
$this->applications['horde'] = array(
|
|
|
|
'fileroot' => dirname(__FILE__) . '/..',
|
|
|
|
'webroot' => $webroot,
|
|
|
|
'initial_page' => 'login.php',
|
|
|
|
'icon' => $webroot . '/graphics/horde.png',
|
|
|
|
'name' => _("Horde"),
|
|
|
|
'status' => 'active',
|
|
|
|
'templates' => dirname(__FILE__) . '/../templates',
|
|
|
|
'provides' => 'horde'
|
|
|
|
);
|
|
|
|
|
|
|
|
#$this->applications['mnemo'] = array(
|
|
|
|
# 'fileroot' => dirname(__FILE__) . '/../mnemo',
|
|
|
|
# 'webroot' => $this->applications['horde']['webroot'] . '/mnemo',
|
|
|
|
# 'icon' => $this->applications['horde']['webroot'] . '/mnemo/graphics/mnemo.gif',
|
|
|
|
# 'name' => _("Notes"),
|
|
|
|
# 'status' => 'active',
|
|
|
|
# 'provides' => 'notes',
|
|
|
|
# 'menu_parent' => 'organizing'
|
|
|
|
#);
|
|
|
|
|
|
|
|
$this->applications['egwnotessync'] = array(
|
|
|
|
'fileroot' => EGW_SERVER_ROOT.'/syncml/notes',
|
|
|
|
'webroot' => $this->applications['horde']['webroot'] . '/mnemo',
|
|
|
|
'icon' => $this->applications['horde']['webroot'] . '/mnemo/graphics/mnemo.gif',
|
|
|
|
'name' => _("Notes"),
|
|
|
|
'status' => 'active',
|
SyncML patches from patrick.bihan-faou-AT-mindstep.com (without
logout+mbstring stuff), small modification to use the already exiting
methodes to generate full name and fileas)
The code is commited to trunk only at the moment to allow testing of it.
If everything goes well, we intend to commit it to 1.4 branch too.
Here's the original description of the patch by Patrick:
- handles the default config for current versions of funambol (i.e. the
scard/stask/snote/scal locations)
- tries to be a bit smarter on how the data content should be encoded
based on what the client specified (sif+base64/vcard, / fragmented or
not, etc.)
- workaround a bug in some versions of funambol, where funambol does not
specify the proper sif type for the type of requested data
- imported patch #117 from egw's tracker
- make sure that the logs generated by the horde code go to stderr so
they can be view in the webserver's logs
- as much as possible reduce code duplication. For example, the
categories are handled in the parent classes for both the SIF avn VCAL
formats for each type of data (addressbook,infolog,calendar).
- make sure the code can handle more than one categories in each
direction
- treat the 'sony ericsson' vendor string just like 'sonyericsson', the
newer phones apparently have a space in the vendor string... (this
touches some files in the icalsrv as well)
- handle notes: these should now work with everything (funambol or
other)
- remove more code duplication: the syncml "api" for the various data
types (calendar, contacts, infolog) is now common for both the vcard and
sif data formats (cf the files that need to be removed)
- handle the "privat" filter in infolog like the "private" filter (some
part of the code use the name without the trailing e)
- imported patch # 267 from egw's tracker
2007-09-29 12:29:48 +02:00
|
|
|
'provides' => array('notes', 'sifnotes', 'snote'),
|
2005-06-19 21:00:58 +02:00
|
|
|
'menu_parent' => 'organizing'
|
|
|
|
);
|
|
|
|
|
|
|
|
$this->applications['egwcontactssync'] = array(
|
|
|
|
'fileroot' => EGW_SERVER_ROOT.'/syncml/contacts',
|
|
|
|
'webroot' => $this->applications['horde']['webroot'] . '/mnemo',
|
|
|
|
'icon' => $this->applications['horde']['webroot'] . '/mnemo/graphics/mnemo.gif',
|
|
|
|
'name' => _("Contacts"),
|
|
|
|
'status' => 'active',
|
2009-11-22 18:50:16 +01:00
|
|
|
'provides' => array('contacts', 'sifcontacts', 'scard', 'card'),
|
2005-06-19 21:00:58 +02:00
|
|
|
'menu_parent' => 'organizing'
|
|
|
|
);
|
|
|
|
|
SyncML patches from patrick.bihan-faou-AT-mindstep.com (without
logout+mbstring stuff), small modification to use the already exiting
methodes to generate full name and fileas)
The code is commited to trunk only at the moment to allow testing of it.
If everything goes well, we intend to commit it to 1.4 branch too.
Here's the original description of the patch by Patrick:
- handles the default config for current versions of funambol (i.e. the
scard/stask/snote/scal locations)
- tries to be a bit smarter on how the data content should be encoded
based on what the client specified (sif+base64/vcard, / fragmented or
not, etc.)
- workaround a bug in some versions of funambol, where funambol does not
specify the proper sif type for the type of requested data
- imported patch #117 from egw's tracker
- make sure that the logs generated by the horde code go to stderr so
they can be view in the webserver's logs
- as much as possible reduce code duplication. For example, the
categories are handled in the parent classes for both the SIF avn VCAL
formats for each type of data (addressbook,infolog,calendar).
- make sure the code can handle more than one categories in each
direction
- treat the 'sony ericsson' vendor string just like 'sonyericsson', the
newer phones apparently have a space in the vendor string... (this
touches some files in the icalsrv as well)
- handle notes: these should now work with everything (funambol or
other)
- remove more code duplication: the syncml "api" for the various data
types (calendar, contacts, infolog) is now common for both the vcard and
sif data formats (cf the files that need to be removed)
- handle the "privat" filter in infolog like the "private" filter (some
part of the code use the name without the trailing e)
- imported patch # 267 from egw's tracker
2007-09-29 12:29:48 +02:00
|
|
|
#$this->applications['egwsifcontactssync'] = array(
|
|
|
|
# 'fileroot' => EGW_SERVER_ROOT.'/syncml/sifcontacts',
|
|
|
|
# 'webroot' => $this->applications['horde']['webroot'] . '/mnemo',
|
|
|
|
# 'icon' => $this->applications['horde']['webroot'] . '/mnemo/graphics/mnemo.gif',
|
|
|
|
# 'name' => _("SIF Contacts"),
|
|
|
|
# 'status' => 'active',
|
|
|
|
# 'provides' => 'sifcontacts',
|
|
|
|
# 'menu_parent' => 'organizing'
|
|
|
|
#);
|
2006-03-21 14:49:13 +01:00
|
|
|
|
2005-06-19 21:00:58 +02:00
|
|
|
$this->applications['egwcalendarsync'] = array(
|
|
|
|
'fileroot' => EGW_SERVER_ROOT.'/syncml/calendar',
|
|
|
|
'webroot' => $this->applications['horde']['webroot'] . '/mnemo',
|
|
|
|
'icon' => $this->applications['horde']['webroot'] . '/mnemo/graphics/mnemo.gif',
|
|
|
|
'name' => _("Calendar"),
|
|
|
|
'status' => 'active',
|
2009-11-22 18:50:16 +01:00
|
|
|
'provides' => array('calendar', 'sifcalendar', 'scal', 'events'),
|
2005-06-19 21:00:58 +02:00
|
|
|
'menu_parent' => 'organizing'
|
|
|
|
);
|
|
|
|
|
SyncML patches from patrick.bihan-faou-AT-mindstep.com (without
logout+mbstring stuff), small modification to use the already exiting
methodes to generate full name and fileas)
The code is commited to trunk only at the moment to allow testing of it.
If everything goes well, we intend to commit it to 1.4 branch too.
Here's the original description of the patch by Patrick:
- handles the default config for current versions of funambol (i.e. the
scard/stask/snote/scal locations)
- tries to be a bit smarter on how the data content should be encoded
based on what the client specified (sif+base64/vcard, / fragmented or
not, etc.)
- workaround a bug in some versions of funambol, where funambol does not
specify the proper sif type for the type of requested data
- imported patch #117 from egw's tracker
- make sure that the logs generated by the horde code go to stderr so
they can be view in the webserver's logs
- as much as possible reduce code duplication. For example, the
categories are handled in the parent classes for both the SIF avn VCAL
formats for each type of data (addressbook,infolog,calendar).
- make sure the code can handle more than one categories in each
direction
- treat the 'sony ericsson' vendor string just like 'sonyericsson', the
newer phones apparently have a space in the vendor string... (this
touches some files in the icalsrv as well)
- handle notes: these should now work with everything (funambol or
other)
- remove more code duplication: the syncml "api" for the various data
types (calendar, contacts, infolog) is now common for both the vcard and
sif data formats (cf the files that need to be removed)
- handle the "privat" filter in infolog like the "private" filter (some
part of the code use the name without the trailing e)
- imported patch # 267 from egw's tracker
2007-09-29 12:29:48 +02:00
|
|
|
#$this->applications['egwsifcalendarsync'] = array(
|
|
|
|
# 'fileroot' => EGW_SERVER_ROOT.'/syncml/sifcalendar',
|
|
|
|
# 'webroot' => $this->applications['horde']['webroot'] . '/mnemo',
|
|
|
|
# 'icon' => $this->applications['horde']['webroot'] . '/mnemo/graphics/mnemo.gif',
|
|
|
|
# 'name' => _("Calendar"),
|
|
|
|
# 'status' => 'active',
|
|
|
|
# 'provides' => 'sifcalendar',
|
|
|
|
# 'menu_parent' => 'organizing'
|
|
|
|
#);
|
2006-04-24 10:25:53 +02:00
|
|
|
|
2005-07-20 14:09:32 +02:00
|
|
|
$this->applications['egwtaskssync'] = array(
|
|
|
|
'fileroot' => EGW_SERVER_ROOT.'/syncml/tasks',
|
|
|
|
'webroot' => $this->applications['horde']['webroot'] . '/mnemo',
|
|
|
|
'icon' => $this->applications['horde']['webroot'] . '/mnemo/graphics/mnemo.gif',
|
|
|
|
'name' => _("Tasks"),
|
|
|
|
'status' => 'active',
|
2009-11-22 18:50:16 +01:00
|
|
|
'provides' => array('tasks', 'siftasks', 'stask', 'jobs'),
|
2005-07-20 14:09:32 +02:00
|
|
|
'menu_parent' => 'organizing'
|
|
|
|
);
|
|
|
|
|
SyncML patches from patrick.bihan-faou-AT-mindstep.com (without
logout+mbstring stuff), small modification to use the already exiting
methodes to generate full name and fileas)
The code is commited to trunk only at the moment to allow testing of it.
If everything goes well, we intend to commit it to 1.4 branch too.
Here's the original description of the patch by Patrick:
- handles the default config for current versions of funambol (i.e. the
scard/stask/snote/scal locations)
- tries to be a bit smarter on how the data content should be encoded
based on what the client specified (sif+base64/vcard, / fragmented or
not, etc.)
- workaround a bug in some versions of funambol, where funambol does not
specify the proper sif type for the type of requested data
- imported patch #117 from egw's tracker
- make sure that the logs generated by the horde code go to stderr so
they can be view in the webserver's logs
- as much as possible reduce code duplication. For example, the
categories are handled in the parent classes for both the SIF avn VCAL
formats for each type of data (addressbook,infolog,calendar).
- make sure the code can handle more than one categories in each
direction
- treat the 'sony ericsson' vendor string just like 'sonyericsson', the
newer phones apparently have a space in the vendor string... (this
touches some files in the icalsrv as well)
- handle notes: these should now work with everything (funambol or
other)
- remove more code duplication: the syncml "api" for the various data
types (calendar, contacts, infolog) is now common for both the vcard and
sif data formats (cf the files that need to be removed)
- handle the "privat" filter in infolog like the "private" filter (some
part of the code use the name without the trailing e)
- imported patch # 267 from egw's tracker
2007-09-29 12:29:48 +02:00
|
|
|
#$this->applications['egwsiftaskssync'] = array(
|
|
|
|
# 'fileroot' => EGW_SERVER_ROOT.'/syncml/siftasks',
|
|
|
|
# 'webroot' => $this->applications['horde']['webroot'] . '/mnemo',
|
|
|
|
# 'icon' => $this->applications['horde']['webroot'] . '/mnemo/graphics/mnemo.gif',
|
|
|
|
# 'name' => _("SIFTasks"),
|
|
|
|
# 'status' => 'active',
|
|
|
|
# 'provides' => array('siftasks', 'stask'),
|
|
|
|
# 'menu_parent' => 'organizing'
|
|
|
|
#);
|
2006-03-21 14:49:13 +01:00
|
|
|
|
2006-08-16 05:31:06 +02:00
|
|
|
$this->applications['egwcaltaskssync'] = array(
|
|
|
|
'fileroot' => EGW_SERVER_ROOT.'/syncml/caltasks',
|
|
|
|
'webroot' => $this->applications['horde']['webroot'] . '/mnemo',
|
|
|
|
'icon' => $this->applications['horde']['webroot'] . '/mnemo/graphics/mnemo.gif',
|
|
|
|
'name' => _("Calendar and Tasks"),
|
|
|
|
'status' => 'active',
|
|
|
|
'provides' => 'caltasks',
|
|
|
|
'menu_parent' => 'organizing'
|
|
|
|
);
|
|
|
|
|
2010-06-25 19:17:37 +02:00
|
|
|
$this->applications['egwconfigurationsync'] = array(
|
|
|
|
'fileroot' => EGW_SERVER_ROOT.'/syncml/configuration',
|
|
|
|
'webroot' => $this->applications['horde']['webroot'] . '/mnemo',
|
|
|
|
'icon' => $this->applications['horde']['webroot'] . '/mnemo/graphics/mnemo.gif',
|
|
|
|
'name' => _("Funambol Configurations"),
|
|
|
|
'status' => 'active',
|
|
|
|
'provides' => array('configuration'),
|
|
|
|
'menu_parent' => 'organizing'
|
|
|
|
);
|
|
|
|
|