--- config/registry.php.dist.orig Mon Dec 30 02:26:06 2002 +++ config/registry.php.dist Thu Jan 16 23:02:48 2003 @@ -20,8 +20,8 @@ * IMP handle the authentication for Horde. This avoids the * "double login" while accessing IMP. */ -// $this->registry['auth']['login'] = 'imp'; -// $this->registry['auth']['logout'] = 'imp'; +//UNCOMMENTWHENINSTIMP$this->registry['auth']['login'] = 'imp'; +//UNCOMMENTWHENINSTIMP$this->registry['auth']['logout'] = 'imp'; /* mail: Handler for sending mail. */ $this->registry['mail']['compose'] = 'imp'; @@ -45,12 +45,29 @@ $this->registry['memos']['show'] = 'mnemo'; $this->registry['memos']['add'] = 'mnemo'; +//$this->registry['publickey']['add'] = 'turba'; +//$this->registry['publickey']['delete'] = 'turba'; +//$this->registry['publickey']['get'] = 'turba'; +//$this->registry['publickey']['list'] = 'turba'; + +/* memos: Handler for memos/notepad. */ +$this->registry['memos']['search'] = 'mnemo'; +$this->registry['memos']['list'] = 'mnemo'; +$this->registry['memos']['show'] = 'mnemo'; +$this->registry['memos']['add'] = 'mnemo'; + +/* nic: network utilities */ +$this->registry['net']['finger'] = 'nic'; + /* tasks: Handler for todo lists. */ $this->registry['tasks']['search'] = 'nag'; $this->registry['tasks']['list'] = 'nag'; $this->registry['tasks']['show'] = 'nag'; $this->registry['tasks']['add'] = 'nag'; +/* whups: bugs reports */ +$this->registry['projects']['list'] = 'whups'; +$this->registry['projects']['add'] = 'whups'; /** * Application registry @@ -100,68 +117,122 @@ 'status' => 'notoolbar' ); -$this->applications['imp'] = array( - 'fileroot' => dirname(__FILE__) . '/../imp', - 'webroot' => $this->applications['horde']['webroot'] . '/imp', - 'icon' => $this->applications['horde']['webroot'] . '/imp/graphics/imp.gif', - 'name' => _("Mail"), - 'allow_guests' => false, - 'status' => 'inactive' -); - -$this->applications['turba'] = array( - 'fileroot' => dirname(__FILE__) . '/../turba', - 'webroot' => $this->applications['horde']['webroot'] . '/turba', - 'icon' => $this->applications['horde']['webroot'] . '/turba/graphics/turba.gif', - 'name' => _("Address Book"), - 'allow_guests' => false, - 'status' => 'inactive' -); - -$this->applications['kronolith'] = array( - 'fileroot' => dirname(__FILE__) . '/../kronolith', - 'webroot' => $this->applications['horde']['webroot'] . '/kronolith', - 'icon' => $this->applications['horde']['webroot'] . '/kronolith/graphics/kronolith.gif', - 'name' => _("Calendar"), - 'allow_guests' => false, - 'status' => 'inactive' -); - -$this->applications['mnemo'] = array( - 'fileroot' => dirname(__FILE__) . '/../mnemo', - 'webroot' => $this->applications['horde']['webroot'] . '/mnemo', - 'icon' => $this->applications['horde']['webroot'] . '/mnemo/graphics/mnemo.gif', - 'name' => _("Memos"), - 'allow_guests' => false, - 'status' => 'inactive' -); - -$this->applications['nag'] = array( - 'fileroot' => dirname(__FILE__) . '/../nag', - 'webroot' => $this->applications['horde']['webroot'] . '/nag', - 'icon' => $this->applications['horde']['webroot'] . '/nag/graphics/nag.gif', - 'name' => _("Tasks"), - 'allow_guests' => false, - 'status' => 'inactive' -); - -$this->applications['chora'] = array( - 'fileroot' => dirname(__FILE__) . '/../chora', - 'webroot' => $this->applications['horde']['webroot'] . '/chora', - 'icon' => $this->applications['horde']['webroot'] . '/chora/graphics/chora.gif', - 'name' => _("CVS"), - 'allow_guests' => false, - 'status' => 'inactive' -); - -$this->applications['klutz'] = array( - 'fileroot' => dirname(__FILE__) . '/../klutz', - 'webroot' => $this->applications['horde']['webroot'] . '/klutz', - 'icon' => $this->applications['horde']['webroot'] . '/klutz/graphics/klutz.gif', - 'name' => _("Comics"), - 'allow_guests' => false, - 'status' => 'inactive' -); +//UNCOMMENTWHENINSTIMP$this->applications['imp'] = array( +//UNCOMMENTWHENINSTIMP 'fileroot' => dirname(__FILE__) . '/../imp', +//UNCOMMENTWHENINSTIMP 'webroot' => $this->applications['horde']['webroot'] . '/imp', +//UNCOMMENTWHENINSTIMP 'icon' => $this->applications['horde']['webroot'] . '/imp/graphics/imp.gif', +//UNCOMMENTWHENINSTIMP 'name' => _("Mail"), +//UNCOMMENTWHENINSTIMP 'allow_guests' => false, +//UNCOMMENTWHENINSTIMP 'status' => 'active' +//UNCOMMENTWHENINSTIMP); + +//UNCOMMENTWHENINSTTURBA$this->applications['turba'] = array( +//UNCOMMENTWHENINSTTURBA 'fileroot' => dirname(__FILE__) . '/../turba', +//UNCOMMENTWHENINSTTURBA 'webroot' => $this->applications['horde']['webroot'] . '/turba', +//UNCOMMENTWHENINSTTURBA 'icon' => $this->applications['horde']['webroot'] . '/turba/graphics/turba.gif', +//UNCOMMENTWHENINSTTURBA 'name' => _("Address Book"), +//UNCOMMENTWHENINSTTURBA 'allow_guests' => false, +//UNCOMMENTWHENINSTTURBA 'status' => 'active' +//UNCOMMENTWHENINSTTURBA); + +//UNCOMMENTWHENINSTKRONOLITH$this->applications['kronolith'] = array( +//UNCOMMENTWHENINSTKRONOLITH 'fileroot' => dirname(__FILE__) . '/../kronolith', +//UNCOMMENTWHENINSTKRONOLITH 'webroot' => $this->applications['horde']['webroot'] . '/kronolith', +//UNCOMMENTWHENINSTKRONOLITH 'icon' => $this->applications['horde']['webroot'] . '/kronolith/graphics/kronolith.gif', +//UNCOMMENTWHENINSTKRONOLITH 'name' => _("Calendar"), +//UNCOMMENTWHENINSTKRONOLITH 'allow_guests' => false, +//UNCOMMENTWHENINSTKRONOLITH 'status' => 'active' +//UNCOMMENTWHENINSTKRONOLITH); + +//UNCOMMENTWHENINSTMNEMO$this->applications['mnemo'] = array( +//UNCOMMENTWHENINSTMNEMO 'fileroot' => dirname(__FILE__) . '/../mnemo', +//UNCOMMENTWHENINSTMNEMO 'webroot' => $this->applications['horde']['webroot'] . '/mnemo', +//UNCOMMENTWHENINSTMNEMO 'icon' => $this->applications['horde']['webroot'] . '/mnemo/graphics/mnemo.gif', +//UNCOMMENTWHENINSTMNEMO 'name' => _("Memos"), +//UNCOMMENTWHENINSTMNEMO 'allow_guests' => false, +//UNCOMMENTWHENINSTMNEMO 'status' => 'active' +//UNCOMMENTWHENINSTMNEMO); + +//UNCOMMENTWHENINSTNAG$this->applications['nag'] = array( +//UNCOMMENTWHENINSTNAG 'fileroot' => dirname(__FILE__) . '/../nag', +//UNCOMMENTWHENINSTNAG 'webroot' => $this->applications['horde']['webroot'] . '/nag', +//UNCOMMENTWHENINSTNAG 'icon' => $this->applications['horde']['webroot'] . '/nag/graphics/nag.gif', +//UNCOMMENTWHENINSTNAG 'name' => _("Tasks"), +//UNCOMMENTWHENINSTNAG 'allow_guests' => false, +//UNCOMMENTWHENINSTNAG 'status' => 'active' +//UNCOMMENTWHENINSTNAG); + +//UNCOMMENTWHENINSTCHORA$this->applications['chora'] = array( +//UNCOMMENTWHENINSTCHORA 'fileroot' => dirname(__FILE__) . '/../chora', +//UNCOMMENTWHENINSTCHORA 'webroot' => $this->applications['horde']['webroot'] . '/chora', +//UNCOMMENTWHENINSTCHORA 'icon' => $this->applications['horde']['webroot'] . '/chora/graphics/chora.gif', +//UNCOMMENTWHENINSTCHORA 'name' => _("CVS"), +//UNCOMMENTWHENINSTCHORA 'allow_guests' => false, +//UNCOMMENTWHENINSTCHORA 'status' => 'active' +//UNCOMMENTWHENINSTCHORA); + +//UNCOMMENTWHENINSTKLUTZ$this->applications['klutz'] = array( +//UNCOMMENTWHENINSTKLUTZ 'fileroot' => dirname(__FILE__) . '/../klutz', +//UNCOMMENTWHENINSTKLUTZ 'webroot' => $this->applications['horde']['webroot'] . '/klutz', +//UNCOMMENTWHENINSTKLUTZ 'icon' => $this->applications['horde']['webroot'] . '/klutz/graphics/klutz.gif', +//UNCOMMENTWHENINSTKLUTZ 'name' => _("Comics"), +//UNCOMMENTWHENINSTKLUTZ 'allow_guests' => false, +//UNCOMMENTWHENINSTKLUTZ 'status' => 'active' +//UNCOMMENTWHENINSTKLUTZ); + +//UNCOMMENTWHENINSTGOLLEM$this->applications['gollem'] = array( +//UNCOMMENTWHENINSTGOLLEM 'fileroot' => dirname(__FILE__) . '/../gollem', +//UNCOMMENTWHENINSTGOLLEM 'webroot' => '/horde/gollem', +//UNCOMMENTWHENINSTGOLLEM 'icon' => '/horde/gollem/graphics/gollem.gif', +//UNCOMMENTWHENINSTGOLLEM 'name' => _("FTP"), +//UNCOMMENTWHENINSTGOLLEM 'allow_guests' => false, +//UNCOMMENTWHENINSTGOLLEM 'status' => 'active' +//UNCOMMENTWHENINSTGOLLEM); + +//UNCOMMENTWHENINSTNIC$this->applications['nic'] = array( +//UNCOMMENTWHENINSTNIC 'fileroot' => dirname(__FILE__) . '/../nic', +//UNCOMMENTWHENINSTNIC 'webroot' => '/horde/nic', +//UNCOMMENTWHENINSTNIC 'icon' => '/horde/nic/graphics/nic.gif', +//UNCOMMENTWHENINSTNIC 'name' => _("Network"), +//UNCOMMENTWHENINSTNIC 'allow_guests' => false, +//UNCOMMENTWHENINSTNIC 'status' => 'active' +//UNCOMMENTWHENINSTNIC); + +//UNCOMMENTWHENINSTJONAH$this->applications['jonah'] = array( +//UNCOMMENTWHENINSTJONAH 'fileroot' => dirname(__FILE__) . '/../jonah', +//UNCOMMENTWHENINSTJONAH 'webroot' => '/horde/jonah', +//UNCOMMENTWHENINSTJONAH 'icon' => '/horde/jonah/graphics/jonah.gif', +//UNCOMMENTWHENINSTJONAH 'name' => _("Headlines"), +//UNCOMMENTWHENINSTJONAH 'allow_guests' => true, +//UNCOMMENTWHENINSTJONAH 'status' => 'active' +//UNCOMMENTWHENINSTJONAH); + +//UNCOMMENTWHENINSTTROLL$this->applications['troll'] = array( +//UNCOMMENTWHENINSTTROLL 'fileroot' => dirname(__FILE__) . '/../troll', +//UNCOMMENTWHENINSTTROLL 'webroot' => '/horde/troll', +//UNCOMMENTWHENINSTTROLL 'icon' => '/horde/troll/graphics/troll.gif', +//UNCOMMENTWHENINSTTROLL 'name' => _("News"), +//UNCOMMENTWHENINSTTROLL 'allow_guests' => false, +//UNCOMMENTWHENINSTTROLL 'status' => 'active' +//UNCOMMENTWHENINSTTROLL); + +//UNCOMMENTWHENINSTBABEL$this->applications['babel'] = array( +//UNCOMMENTWHENINSTBABEL 'fileroot' => dirname(__FILE__) . '/../babel', +//UNCOMMENTWHENINSTBABEL 'webroot' => $this->applications['horde']['webroot'] . '/babel', +//UNCOMMENTWHENINSTBABEL 'icon' => $this->applications['horde']['webroot'] . '/babel/graphics/babel.gif', +//UNCOMMENTWHENINSTBABEL 'name' => _("i18n"), +//UNCOMMENTWHENINSTBABEL 'allow_guests' => false, +//UNCOMMENTWHENINSTBABEL 'status' => 'active' +//UNCOMMENTWHENINSTBABEL); + +//UNCOMMENTWHENINSTWHUPS$this->applications['whups'] = array( +//UNCOMMENTWHENINSTWHUPS 'fileroot' => dirname(__FILE__) . '/../whups', +//UNCOMMENTWHENINSTWHUPS 'webroot' => '/horde/whups', +//UNCOMMENTWHENINSTWHUPS 'icon' => '/horde/whups/graphics/whups.gif', +//UNCOMMENTWHENINSTWHUPS 'name' => _("Bugs"), +//UNCOMMENTWHENINSTWHUPS 'allow_guests' => false, +//UNCOMMENTWHENINSTWHUPS 'status' => 'active' +//UNCOMMENTWHENINSTWHUPS); /** @@ -303,6 +374,29 @@ $this->services['nag']['horde']['summary'] = array( 'file' => '%application%/lib/api.php', 'function' => 'nagSummary', + 'args' => array(), + 'type' => 'string' +); +$this->services['nic']['net']['finger'] = array( + 'link' => "%application%/finger.php?address=|address|" +); + + +$this->services['whups']['projects']['list'] = array( + 'file' => '%application%/lib/api.php', + 'function' => 'whupsListModules', + 'args' => array(), + 'type' => 'array' +); +$this->services['whups']['projects']['add'] = array( + 'file' => '%application%/lib/api.php', + 'function' => 'whupsAddModule', + 'args' => array('name'), + 'type' => 'integer' +); +$this->services['whups']['horde']['summary'] = array( + 'file' => '%application%/lib/api.php', + 'function' => 'whupsSummary', 'args' => array(), 'type' => 'string' );