mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
Merge branch 'ent-8161-deshabilitar-reglas-de-autoconfiguracion-en-nodos-a-demanda' into 'develop'
Schema, allow certain autoconfigurations being disabled on MC environments See merge request artica/pandorafms!4682
This commit is contained in:
commit
720c9be40f
@ -3,4 +3,5 @@ variables:
|
|||||||
|
|
||||||
test:
|
test:
|
||||||
script:
|
script:
|
||||||
- docker run --rm -h pandorafms -t -v "$CI_PROJECT_DIR:/tmp/pandorafms" pandorafms/pandorafms-base /tmp/pandorafms/tests/test.sh
|
- docker pull pandorafms/pandorafms-base:centos6
|
||||||
|
- docker run --rm -h pandorafms -t -v "$CI_PROJECT_DIR:/tmp/pandorafms" pandorafms/pandorafms-base:centos6 /tmp/pandorafms/tests/test.sh
|
||||||
|
@ -14,4 +14,6 @@ SOURCE procedures/alertEvents.sql;
|
|||||||
CALL `migrateEventRanges`();
|
CALL `migrateEventRanges`();
|
||||||
DROP PROCEDURE `migrateEventRanges`;
|
DROP PROCEDURE `migrateEventRanges`;
|
||||||
|
|
||||||
COMMIT;
|
ALTER TABLE `tautoconfig` ADD COLUMN `disabled` TINYINT DEFAULT 0;
|
||||||
|
|
||||||
|
COMMIT;
|
||||||
|
@ -2187,6 +2187,7 @@ CREATE TABLE IF NOT EXISTS `tautoconfig` (
|
|||||||
`name` varchar(100) NOT NULL,
|
`name` varchar(100) NOT NULL,
|
||||||
`order` int(11) NOT NULL DEFAULT '0',
|
`order` int(11) NOT NULL DEFAULT '0',
|
||||||
`description` text,
|
`description` text,
|
||||||
|
`disabled` TINYINT,
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
|
@ -639,20 +639,20 @@ $table->data[5][1] = "
|
|||||||
<tr><td>".ui_get_using_system_timezone_warning().'</td></tr>
|
<tr><td>".ui_get_using_system_timezone_warning().'</td></tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>'.__('Type Periodicity:').' '.html_print_select(
|
<td>'.__('Type Periodicity:').' '.html_print_select(
|
||||||
[
|
[
|
||||||
'weekly' => __('Weekly'),
|
'weekly' => __('Weekly'),
|
||||||
'monthly' => __('Monthly'),
|
'monthly' => __('Monthly'),
|
||||||
],
|
],
|
||||||
'type_periodicity',
|
'type_periodicity',
|
||||||
$type_periodicity,
|
$type_periodicity,
|
||||||
'change_type_periodicity();',
|
'change_type_periodicity();',
|
||||||
'',
|
'',
|
||||||
0,
|
0,
|
||||||
true,
|
true,
|
||||||
false,
|
false,
|
||||||
true,
|
true,
|
||||||
'',
|
'',
|
||||||
$disabled_in_execution
|
$disabled_in_execution
|
||||||
)."</td>
|
)."</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@ -672,31 +672,31 @@ $table->data[5][1] = "
|
|||||||
<tr>
|
<tr>
|
||||||
<td>".__('From day:').'</td>
|
<td>".__('From day:').'</td>
|
||||||
<td>'.html_print_select(
|
<td>'.html_print_select(
|
||||||
$days,
|
$days,
|
||||||
'periodically_day_from',
|
'periodically_day_from',
|
||||||
$periodically_day_from,
|
$periodically_day_from,
|
||||||
'',
|
'',
|
||||||
'',
|
'',
|
||||||
0,
|
0,
|
||||||
true,
|
true,
|
||||||
false,
|
false,
|
||||||
true,
|
true,
|
||||||
'',
|
'',
|
||||||
$disabled_in_execution
|
$disabled_in_execution
|
||||||
).'</td>
|
).'</td>
|
||||||
<td>'.__('To day:').'</td>
|
<td>'.__('To day:').'</td>
|
||||||
<td>'.html_print_select(
|
<td>'.html_print_select(
|
||||||
$days,
|
$days,
|
||||||
'periodically_day_to',
|
'periodically_day_to',
|
||||||
$periodically_day_to,
|
$periodically_day_to,
|
||||||
'',
|
'',
|
||||||
'',
|
'',
|
||||||
0,
|
0,
|
||||||
true,
|
true,
|
||||||
false,
|
false,
|
||||||
true,
|
true,
|
||||||
'',
|
'',
|
||||||
$disabled_in_execution
|
$disabled_in_execution
|
||||||
).'</td>
|
).'</td>
|
||||||
<td>'.ui_print_help_tip(__('The end day must be higher than the start day'), true).'</td>
|
<td>'.ui_print_help_tip(__('The end day must be higher than the start day'), true).'</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -705,26 +705,26 @@ $table->data[5][1] = "
|
|||||||
<tr>
|
<tr>
|
||||||
<td>'.__('From hour:').'</td>
|
<td>'.__('From hour:').'</td>
|
||||||
<td>'.html_print_input_text(
|
<td>'.html_print_input_text(
|
||||||
'periodically_time_from',
|
'periodically_time_from',
|
||||||
$periodically_time_from,
|
$periodically_time_from,
|
||||||
'',
|
'',
|
||||||
7,
|
7,
|
||||||
7,
|
7,
|
||||||
true,
|
true,
|
||||||
$disabled_in_execution
|
$disabled_in_execution
|
||||||
).ui_print_help_tip(
|
).ui_print_help_tip(
|
||||||
__('The end time must be higher than the start time'),
|
__('The end time must be higher than the start time'),
|
||||||
true
|
true
|
||||||
).'</td>
|
).'</td>
|
||||||
<td>'.__('To hour:').'</td>
|
<td>'.__('To hour:').'</td>
|
||||||
<td>'.html_print_input_text(
|
<td>'.html_print_input_text(
|
||||||
'periodically_time_to',
|
'periodically_time_to',
|
||||||
$periodically_time_to,
|
$periodically_time_to,
|
||||||
'',
|
'',
|
||||||
7,
|
7,
|
||||||
7,
|
7,
|
||||||
true,
|
true,
|
||||||
$disabled_in_execution
|
$disabled_in_execution
|
||||||
).ui_print_help_tip(
|
).ui_print_help_tip(
|
||||||
__('The end time must be higher than the start time'),
|
__('The end time must be higher than the start time'),
|
||||||
true
|
true
|
||||||
@ -1008,13 +1008,13 @@ $table->data['module'][1] = "
|
|||||||
<td class='cell_delete_button' style='text-align: right; width:10%;' id=''>".'<a class="link_delete"
|
<td class='cell_delete_button' style='text-align: right; width:10%;' id=''>".'<a class="link_delete"
|
||||||
onclick="if(!confirm(\''.__('Are you sure?').'\')) return false;"
|
onclick="if(!confirm(\''.__('Are you sure?').'\')) return false;"
|
||||||
href="">'.html_print_image(
|
href="">'.html_print_image(
|
||||||
'images/cross.png',
|
'images/cross.png',
|
||||||
true,
|
true,
|
||||||
[
|
[
|
||||||
'border' => '0',
|
'border' => '0',
|
||||||
'alt' => __('Delete'),
|
'alt' => __('Delete'),
|
||||||
'class' => 'invert_filter',
|
'class' => 'invert_filter',
|
||||||
]
|
]
|
||||||
).'</a>'."</td>
|
).'</a>'."</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class='datos2' id='add_modules_row'>
|
<tr class='datos2' id='add_modules_row'>
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -2249,7 +2249,8 @@ var FullCalendar = (function(exports) {
|
|||||||
return currentRes;
|
return currentRes;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
function memoizeArraylike(workerFunc, resEquality, teardownFunc) { // used at all?
|
function memoizeArraylike(workerFunc, resEquality, teardownFunc) {
|
||||||
|
// used at all?
|
||||||
var _this = this;
|
var _this = this;
|
||||||
var currentArgSets = [];
|
var currentArgSets = [];
|
||||||
var currentResults = [];
|
var currentResults = [];
|
||||||
@ -2281,7 +2282,8 @@ var FullCalendar = (function(exports) {
|
|||||||
return currentResults;
|
return currentResults;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
function memoizeHashlike(workerFunc, resEquality, teardownFunc) { // used?
|
function memoizeHashlike(workerFunc, resEquality, teardownFunc) {
|
||||||
|
// used?
|
||||||
var _this = this;
|
var _this = this;
|
||||||
var currentArgHash = {};
|
var currentArgHash = {};
|
||||||
var currentResHash = {};
|
var currentResHash = {};
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user