Skip to content
Snippets Groups Projects
Commit 94545ece authored by Till Brehm's avatar Till Brehm
Browse files

Merge branch '6497_php_sort_version_3' into 'develop'

6497 sorting for php versions

See merge request ispconfig/ispconfig3!1725
parents cc77c338 1d7c7ebe
No related branches found
No related tags found
No related merge requests found
Showing
with 56 additions and 2 deletions
ALTER TABLE `mail_user` CHANGE `quota` `quota` BIGINT(20) NOT NULL DEFAULT '0'; ALTER TABLE `mail_user` CHANGE `quota` `quota` BIGINT(20) NOT NULL DEFAULT '0';
-- 5918 add imap_prefix column to mail_user table ALTER TABLE `server_php` ADD `sortprio` INT(20) NOT NULL DEFAULT '100' AFTER `active`;
ALTER TABLE `mail_user` ADD COLUMN `imap_prefix` varchar(255) NULL default NULL AFTER `backup_copies`; ALTER TABLE `mail_user` ADD COLUMN `imap_prefix` varchar(255) NULL default NULL AFTER `backup_copies`;
-- #6456 comodoca.com needs to become sectigo.com -- #6456 comodoca.com needs to become sectigo.com
UPDATE `dns_ssl_ca` SET `ca_issue` = 'sectigo.com' WHERE `ca_issue` = 'comodo.com'; UPDATE `dns_ssl_ca` SET `ca_issue` = 'sectigo.com' WHERE `ca_issue` = 'comodo.com';
UPDATE `dns_ssl_ca` SET `ca_issue` = 'sectigo.com' WHERE `ca_issue` = 'comodoca.com'; UPDATE `dns_ssl_ca` SET `ca_issue` = 'sectigo.com' WHERE `ca_issue` = 'comodoca.com';
UPDATE `dns_ssl_ca` SET `ca_name` = 'Sectigo (formerly Comodo CA)' WHERE `ca_issue` = 'sectigo.com'; UPDATE `dns_ssl_ca` SET `ca_name` = 'Sectigo (formerly Comodo CA)' WHERE `ca_issue` = 'sectigo.com';
-- not updating the dns_rr table to change all CAA records that have comodo.com / comodoca.com - we should not touch users records imo - TP -- not updating the dns_rr table to change all CAA records that have comodo.com / comodoca.com - we should not touch users records imo - TP
\ No newline at end of file
...@@ -1461,6 +1461,7 @@ CREATE TABLE `server_php` ( ...@@ -1461,6 +1461,7 @@ CREATE TABLE `server_php` (
`php_fpm_pool_dir` varchar(255) DEFAULT NULL, `php_fpm_pool_dir` varchar(255) DEFAULT NULL,
`php_fpm_socket_dir` varchar(255) DEFAULT NULL, `php_fpm_socket_dir` varchar(255) DEFAULT NULL,
`active` enum('n','y') NOT NULL DEFAULT 'y', `active` enum('n','y') NOT NULL DEFAULT 'y',
`sortprio` int(20) NOT NULL DEFAULT 100,
PRIMARY KEY (`server_php_id`) PRIMARY KEY (`server_php_id`)
) DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; ) DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
......
...@@ -248,4 +248,20 @@ $form["tabs"]['php_fpm'] = array( ...@@ -248,4 +248,20 @@ $form["tabs"]['php_fpm'] = array(
//################################# //#################################
) )
); );
$form["tabs"]['php_sort'] = array (
'title' => "PHP Sort Priority",
'width' => 80,
'template' => "templates/server_php_sort_edit.htm",
'fields' => array(
'sortprio' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
'default' => '100',
'value' => '',
'separator' => '',
'width' => '10',
'maxlength' => '20'
),
)
);
?> ?>
...@@ -17,4 +17,7 @@ $wb['php_fpm_socket_dir_txt'] = 'PHP-FPM socket directory'; ...@@ -17,4 +17,7 @@ $wb['php_fpm_socket_dir_txt'] = 'PHP-FPM socket directory';
$wb['active_txt'] = 'Active'; $wb['active_txt'] = 'Active';
$wb['php_in_use_error'] = 'This PHP-Version is in use.'; $wb['php_in_use_error'] = 'This PHP-Version is in use.';
$wb['php_name_in_use_error'] = 'The name can not be changed.'; $wb['php_name_in_use_error'] = 'The name can not be changed.';
$wb['PHP Sort Priority'] = 'Priority';
$wb['sortprio_txt'] = 'Priority';
$wb['sortprio_long_txt'] = 'Priority of PHP version in the PHP version select box<br>Default PHP has prio 0 if enabled<br>Lower value is higher priority';
?> ?>
...@@ -6,4 +6,5 @@ $wb['client_id_txt'] = 'Client'; ...@@ -6,4 +6,5 @@ $wb['client_id_txt'] = 'Client';
$wb['name_txt'] = 'PHP Name'; $wb['name_txt'] = 'PHP Name';
$wb['active_txt'] = 'Active'; $wb['active_txt'] = 'Active';
$wb['usage_txt'] = 'Usage count'; $wb['usage_txt'] = 'Usage count';
$wb['sortprio_txt'] = 'Priority';
?> ?>
...@@ -17,4 +17,7 @@ $wb['php_fpm_socket_dir_txt'] = 'PHP-FPM socket directory'; ...@@ -17,4 +17,7 @@ $wb['php_fpm_socket_dir_txt'] = 'PHP-FPM socket directory';
$wb['active_txt'] = 'Active'; $wb['active_txt'] = 'Active';
$wb['php_in_use_error'] = 'This PHP-Version is in use.'; $wb['php_in_use_error'] = 'This PHP-Version is in use.';
$wb['php_name_in_use_error'] = 'The name can not be changed.'; $wb['php_name_in_use_error'] = 'The name can not be changed.';
$wb['PHP Sort Priority'] = 'Priority';
$wb['sortprio_txt'] = 'Priority';
$wb['sortprio_long_txt'] = 'Priority of PHP version in the PHP version select box<br>Default PHP has prio 0 if enabled<br>Lower value is higher priority';
?> ?>
...@@ -6,4 +6,5 @@ $wb['client_id_txt'] = 'Client'; ...@@ -6,4 +6,5 @@ $wb['client_id_txt'] = 'Client';
$wb['name_txt'] = 'PHP Name'; $wb['name_txt'] = 'PHP Name';
$wb['active_txt'] = 'Active'; $wb['active_txt'] = 'Active';
$wb['usage_txt'] = 'Usage count'; $wb['usage_txt'] = 'Usage count';
$wb['sortprio_txt'] = 'Priority';
?> ?>
...@@ -17,4 +17,7 @@ $wb['php_fpm_socket_dir_txt'] = 'PHP-FPM socket directory'; ...@@ -17,4 +17,7 @@ $wb['php_fpm_socket_dir_txt'] = 'PHP-FPM socket directory';
$wb['active_txt'] = 'Ativo'; $wb['active_txt'] = 'Ativo';
$wb['php_in_use_error'] = 'Esta versão PHP está em uso.'; $wb['php_in_use_error'] = 'Esta versão PHP está em uso.';
$wb['php_name_in_use_error'] = 'O nome não pode ser modificado.'; $wb['php_name_in_use_error'] = 'O nome não pode ser modificado.';
$wb['PHP Sort Priority'] = 'Priority';
$wb['sortprio_txt'] = 'Priority';
$wb['sortprio_long_txt'] = 'Priority of PHP version in the PHP version select box<br>Default PHP has prio 0 if enabled<br>Lower value is higher priority';
?> ?>
...@@ -17,4 +17,7 @@ $wb['php_fpm_socket_dir_txt'] = 'PHP-FPM socket directory'; ...@@ -17,4 +17,7 @@ $wb['php_fpm_socket_dir_txt'] = 'PHP-FPM socket directory';
$wb['active_txt'] = 'Active'; $wb['active_txt'] = 'Active';
$wb['php_in_use_error'] = 'This PHP-Version is in use.'; $wb['php_in_use_error'] = 'This PHP-Version is in use.';
$wb['php_name_in_use_error'] = 'The name can not be changed.'; $wb['php_name_in_use_error'] = 'The name can not be changed.';
$wb['PHP Sort Priority'] = 'Priority';
$wb['sortprio_txt'] = 'Priority';
$wb['sortprio_long_txt'] = 'Priority of PHP version in the PHP version select box<br>Default PHP has prio 0 if enabled<br>Lower value is higher priority';
?> ?>
...@@ -6,4 +6,5 @@ $wb['client_id_txt'] = 'Client'; ...@@ -6,4 +6,5 @@ $wb['client_id_txt'] = 'Client';
$wb['name_txt'] = 'PHP Name'; $wb['name_txt'] = 'PHP Name';
$wb['active_txt'] = 'Active'; $wb['active_txt'] = 'Active';
$wb['usage_txt'] = 'Usage count'; $wb['usage_txt'] = 'Usage count';
$wb['sortprio_txt'] = 'Priority';
?> ?>
...@@ -17,4 +17,7 @@ $wb['php_fpm_socket_dir_txt'] = 'PHP-FPM socket directory'; ...@@ -17,4 +17,7 @@ $wb['php_fpm_socket_dir_txt'] = 'PHP-FPM socket directory';
$wb['active_txt'] = 'Aktivní'; $wb['active_txt'] = 'Aktivní';
$wb['php_in_use_error'] = 'This PHP-Version is in use.'; $wb['php_in_use_error'] = 'This PHP-Version is in use.';
$wb['php_name_in_use_error'] = 'The name can not be changed.'; $wb['php_name_in_use_error'] = 'The name can not be changed.';
$wb['PHP Sort Priority'] = 'Priority';
$wb['sortprio_txt'] = 'Priority';
$wb['sortprio_long_txt'] = 'Priority of PHP version in the PHP version select box<br>Default PHP has prio 0 if enabled<br>Lower value is higher priority';
?> ?>
...@@ -17,4 +17,7 @@ $wb['php_fpm_socket_dir_txt'] = 'PHP-FPM socket directory'; ...@@ -17,4 +17,7 @@ $wb['php_fpm_socket_dir_txt'] = 'PHP-FPM socket directory';
$wb['active_txt'] = 'Aktiv'; $wb['active_txt'] = 'Aktiv';
$wb['php_in_use_error'] = 'Diese PHP-Version wird noch benutzt.'; $wb['php_in_use_error'] = 'Diese PHP-Version wird noch benutzt.';
$wb['php_name_in_use_error'] = 'Der Name kann nicht geändert werden.'; $wb['php_name_in_use_error'] = 'Der Name kann nicht geändert werden.';
$wb['PHP Sort Priority'] = 'Priorität';
$wb['sortprio_txt'] = 'Sorting Priority';
$wb['sortprio_long_txt'] = 'Priority of PHP Version in the PHP version select box<br>Default PHP has prio 0 if enabled<br>Lower value is higher priority';
?> ?>
...@@ -6,4 +6,5 @@ $wb['client_id_txt'] = 'Kunde'; ...@@ -6,4 +6,5 @@ $wb['client_id_txt'] = 'Kunde';
$wb['name_txt'] = 'PHP Name'; $wb['name_txt'] = 'PHP Name';
$wb['active_txt'] = 'Aktiv'; $wb['active_txt'] = 'Aktiv';
$wb['usage_txt'] = 'Usage count'; $wb['usage_txt'] = 'Usage count';
$wb['sortprio_txt'] = 'Priority';
?> ?>
...@@ -17,4 +17,7 @@ $wb['php_fpm_socket_dir_txt'] = 'PHP-FPM socket directory'; ...@@ -17,4 +17,7 @@ $wb['php_fpm_socket_dir_txt'] = 'PHP-FPM socket directory';
$wb['active_txt'] = 'Active'; $wb['active_txt'] = 'Active';
$wb['php_in_use_error'] = 'This PHP-Version is in use.'; $wb['php_in_use_error'] = 'This PHP-Version is in use.';
$wb['php_name_in_use_error'] = 'The name can not be changed.'; $wb['php_name_in_use_error'] = 'The name can not be changed.';
$wb['PHP Sort Priority'] = 'Priority';
$wb['sortprio_txt'] = 'Priority';
$wb['sortprio_long_txt'] = 'Priority of PHP version in the PHP version select box<br>Default PHP has prio 0 if enabled<br>Lower value is higher priority';
?> ?>
...@@ -6,4 +6,5 @@ $wb['client_id_txt'] = 'Kunde'; ...@@ -6,4 +6,5 @@ $wb['client_id_txt'] = 'Kunde';
$wb['name_txt'] = 'PHP Navn'; $wb['name_txt'] = 'PHP Navn';
$wb['active_txt'] = 'Active'; $wb['active_txt'] = 'Active';
$wb['usage_txt'] = 'Usage count'; $wb['usage_txt'] = 'Usage count';
$wb['sortprio_txt'] = 'Priority';
?> ?>
...@@ -17,4 +17,7 @@ $wb['php_fpm_socket_dir_txt'] = 'PHP-FPM socket directory'; ...@@ -17,4 +17,7 @@ $wb['php_fpm_socket_dir_txt'] = 'PHP-FPM socket directory';
$wb['active_txt'] = 'Active'; $wb['active_txt'] = 'Active';
$wb['php_in_use_error'] = 'This PHP-Version is in use.'; $wb['php_in_use_error'] = 'This PHP-Version is in use.';
$wb['php_name_in_use_error'] = 'The name can not be changed.'; $wb['php_name_in_use_error'] = 'The name can not be changed.';
$wb['PHP Sort Priority'] = 'Priority';
$wb['sortprio_txt'] = 'Priority';
$wb['sortprio_long_txt'] = 'Priority of PHP version in the PHP version select box<br>Default PHP has prio 0 if enabled<br>Lower value is higher priority';
?> ?>
...@@ -6,4 +6,5 @@ $wb['client_id_txt'] = 'Client'; ...@@ -6,4 +6,5 @@ $wb['client_id_txt'] = 'Client';
$wb['name_txt'] = 'PHP Name'; $wb['name_txt'] = 'PHP Name';
$wb['active_txt'] = 'Active'; $wb['active_txt'] = 'Active';
$wb['usage_txt'] = 'Usage count'; $wb['usage_txt'] = 'Usage count';
$wb['sortprio_txt'] = 'Priority';
?> ?>
...@@ -17,4 +17,7 @@ $wb['php_fpm_socket_dir_txt'] = 'PHP-FPM socket directory'; ...@@ -17,4 +17,7 @@ $wb['php_fpm_socket_dir_txt'] = 'PHP-FPM socket directory';
$wb['active_txt'] = 'Active'; $wb['active_txt'] = 'Active';
$wb['php_in_use_error'] = 'This PHP-Version is in use.'; $wb['php_in_use_error'] = 'This PHP-Version is in use.';
$wb['php_name_in_use_error'] = 'The name can not be changed.'; $wb['php_name_in_use_error'] = 'The name can not be changed.';
$wb['PHP Sort Priority'] = 'Priority';
$wb['sortprio_txt'] = 'Priority';
$wb['sortprio_long_txt'] = 'Priority of PHP version in the PHP version select box<br>Default PHP has prio 0 if enabled<br>Lower value is higher priority';
?> ?>
...@@ -6,4 +6,5 @@ $wb['client_id_txt'] = 'Client'; ...@@ -6,4 +6,5 @@ $wb['client_id_txt'] = 'Client';
$wb['name_txt'] = 'PHP Name'; $wb['name_txt'] = 'PHP Name';
$wb['active_txt'] = 'Active'; $wb['active_txt'] = 'Active';
$wb['usage_txt'] = 'Usage count'; $wb['usage_txt'] = 'Usage count';
$wb['sortprio_txt'] = 'Priority';
?> ?>
...@@ -17,4 +17,7 @@ $wb['php_fpm_socket_dir_txt'] = 'PHP-FPM socket directory'; ...@@ -17,4 +17,7 @@ $wb['php_fpm_socket_dir_txt'] = 'PHP-FPM socket directory';
$wb['active_txt'] = 'Active'; $wb['active_txt'] = 'Active';
$wb['php_in_use_error'] = 'This PHP-Version is in use.'; $wb['php_in_use_error'] = 'This PHP-Version is in use.';
$wb['php_name_in_use_error'] = 'The name can not be changed.'; $wb['php_name_in_use_error'] = 'The name can not be changed.';
$wb['PHP Sort Priority'] = 'Priority';
$wb['sortprio_txt'] = 'Priority';
$wb['sortprio_long_txt'] = 'Priority of PHP version in the PHP version select box<br>Default PHP has prio 0 if enabled<br>Lower value is higher priority';
?> ?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment