2013-02-08 20:11:44 +01:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* EGroupware - Mail - setup
|
|
|
|
*
|
|
|
|
* @link http://www.egroupware.org
|
|
|
|
* @package mail
|
|
|
|
* @subpackage setup
|
2016-10-08 14:32:58 +02:00
|
|
|
* @author EGroupware GmbH [info@egroupware.org]
|
2019-07-16 10:46:59 +02:00
|
|
|
* @copyright (c) 2013-19 by EGroupware GmbH <info-AT-egroupware.org>
|
2013-02-08 20:11:44 +01:00
|
|
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
|
|
|
*/
|
|
|
|
|
|
|
|
$setup_info['mail']['name'] = 'mail';
|
|
|
|
$setup_info['mail']['title'] = 'mail';
|
2023-02-28 08:49:36 +01:00
|
|
|
$setup_info['mail']['version'] = '23.1';
|
2013-02-08 20:11:44 +01:00
|
|
|
$setup_info['mail']['app_order'] = 2;
|
|
|
|
$setup_info['mail']['enable'] = 1;
|
|
|
|
$setup_info['mail']['index'] = 'mail.mail_ui.index&ajax=true';
|
2014-01-14 10:31:14 +01:00
|
|
|
$setup_info['mail']['autoinstall'] = true; // install automatically on update
|
2013-02-08 20:11:44 +01:00
|
|
|
|
2016-10-08 14:32:58 +02:00
|
|
|
$setup_info['mail']['author'] = 'EGroupware GmbH';
|
2013-02-08 20:11:44 +01:00
|
|
|
$setup_info['mail']['license'] = 'GPL';
|
2014-05-24 19:55:38 +02:00
|
|
|
$setup_info['mail']['description'] = 'IMAP client for EGroupware';
|
2016-10-08 14:32:58 +02:00
|
|
|
$setup_info['mail']['maintainer'] = 'EGroupware GmbH';
|
|
|
|
$setup_info['mail']['maintainer_email'] = 'info@egroupware.org';
|
2013-02-08 20:11:44 +01:00
|
|
|
|
|
|
|
$setup_info['mail']['tables'] = array(); // former felamimail tables are used by mail_sopreferences
|
|
|
|
|
|
|
|
/* The hooks this app includes, needed for hooks registration */
|
|
|
|
$setup_info['mail']['hooks']['search_link'] = 'mail_hooks::search_link';
|
|
|
|
$setup_info['mail']['hooks']['admin'] = 'mail_hooks::admin';
|
|
|
|
$setup_info['mail']['hooks']['settings'] = 'mail_hooks::settings';
|
|
|
|
$setup_info['mail']['hooks']['sidebox_menu'] = 'mail_hooks::sidebox_menu';
|
2016-03-28 20:51:38 +02:00
|
|
|
$setup_info['mail']['hooks']['session_creation'] = 'EGroupware\\Api\\Mail::resetConnectionErrorCache';
|
|
|
|
$setup_info['mail']['hooks']['verify_settings'] = 'EGroupware\\Api\\Mail::forcePrefReload';
|
|
|
|
$setup_info['mail']['hooks']['clear_cache'] = 'EGroupware\\Api\\Mail::unsetCachedObjects';
|
2014-01-10 10:19:07 +01:00
|
|
|
$setup_info['mail']['hooks']['check_notify'] = 'mail_hooks::notification_check_mailbox';
|
2014-09-24 12:03:00 +02:00
|
|
|
$setup_info['mail']['hooks']['emailadmin_edit'] = 'mail_hooks::emailadmin_edit';
|
2019-05-07 11:17:26 +02:00
|
|
|
$setup_info['mail']['hooks']['status-get_actions'] = 'mail_hooks::get_status_actions';
|
2020-09-25 14:17:29 +02:00
|
|
|
$setup_info['mail']['hooks']['config'] = 'mail_hooks::config';
|
2013-02-11 18:05:29 +01:00
|
|
|
|
2013-02-08 20:11:44 +01:00
|
|
|
/* Dependencies for this app to work */
|
2014-06-24 12:00:50 +02:00
|
|
|
$setup_info['mail']['depends'][] = array(
|
2016-04-02 21:55:08 +02:00
|
|
|
'appname' => 'api',
|
2023-02-28 08:49:36 +01:00
|
|
|
'versions' => Array('23.1')
|
2013-02-08 20:11:44 +01:00
|
|
|
);
|
|
|
|
// installation checks for mail
|
|
|
|
$setup_info['mail']['check_install'] = array(
|
|
|
|
'' => array(
|
|
|
|
'func' => 'pear_check',
|
|
|
|
'version' => '1.6.0', // otherwise install of Mail_Mime fails!
|
|
|
|
),
|
|
|
|
'magic_quotes_gpc' => array(
|
|
|
|
'func' => 'php_ini_check',
|
|
|
|
'value' => 0,
|
|
|
|
'verbose_value' => 'Off',
|
|
|
|
),
|
2014-02-22 18:12:24 +01:00
|
|
|
'mbstring.func_overload' => array(
|
|
|
|
'func' => 'php_ini_check',
|
|
|
|
'value' => 0,
|
|
|
|
'warning' => '<div class="setup_info">' . lang('mbstring.func_overload=0 is required for correct mail processing!') . "</div>",
|
2014-04-17 16:38:54 +02:00
|
|
|
'change' => 'mbstring.func_overload = 0',
|
2014-02-22 18:12:24 +01:00
|
|
|
),
|
2023-02-28 08:49:36 +01:00
|
|
|
);
|