mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
462719d45e
- all commands get loged and optional documented with requesting person and a comment - all commands can be run immediatly or scheduled for a later execusion - all commands can be run either from a command line (admin-cli), from the web GUI or via a remore administration from a different instance current status: - command queue / history table created (need to be installed) - base class for all comments - one exemplary command to change application rights of users or groups - admin-cli used the above comment and has additional parameters to set the requesting person, scheduled execution time and comment - GUI to watch the queue / history - URL to excute/schedule commands remote More to come now on a daily basis
42 lines
1.7 KiB
PHP
42 lines
1.7 KiB
PHP
<?php
|
|
/**
|
|
* eGroupWare - Setup
|
|
*
|
|
* Created by eTemplates DB-Tools written by ralfbecker@outdoor-training.de
|
|
*
|
|
* @link http://www.egroupware.org
|
|
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
|
* @package admin
|
|
* @subpackage setup
|
|
* @version $Id$
|
|
*/
|
|
|
|
$phpgw_baseline = array(
|
|
'egw_admin_queue' => array(
|
|
'fd' => array(
|
|
'cmd_id' => array('type' => 'auto'),
|
|
'cmd_uid' => array('type' => 'varchar','precision' => '255','nullable' => False),
|
|
'cmd_creator' => array('type' => 'int','precision' => '4','nullable' => False),
|
|
'cmd_creator_email' => array('type' => 'varchar','precision' => '128','nullable' => False),
|
|
'cmd_created' => array('type' => 'int','precision' => '8','nullable' => False),
|
|
'cmd_type' => array('type' => 'varchar','precision' => '32','nullable' => False,'default' => 'admin_cmd'),
|
|
'cmd_status' => array('type' => 'int','precision' => '1'),
|
|
'cmd_scheduled' => array('type' => 'int','precision' => '8'),
|
|
'cmd_modified' => array('type' => 'int','precision' => '8'),
|
|
'cmd_modifier' => array('type' => 'int','precision' => '4'),
|
|
'cmd_modifier_email' => array('type' => 'varchar','precision' => '128'),
|
|
'cmd_error' => array('type' => 'varchar','precision' => '255'),
|
|
'cmd_errno' => array('type' => 'int','precision' => '4'),
|
|
'cmd_requested' => array('type' => 'int','precision' => '4'),
|
|
'cmd_requested_email' => array('type' => 'varchar','precision' => '128'),
|
|
'cmd_comment' => array('type' => 'varchar','precision' => '255'),
|
|
'cmd_data' => array('type' => 'blob')
|
|
),
|
|
'pk' => array('cmd_id'),
|
|
'fk' => array(),
|
|
'ix' => array('cmd_status','cmd_scheduled'),
|
|
'uc' => array('cmd_uid')
|
|
)
|
|
);
|