From e122088a0eea47ea96719a7d28aae616b29d2bd7 Mon Sep 17 00:00:00 2001 From: Herman van Rink Date: Fri, 25 Jan 2019 21:39:27 +0100 Subject: [PATCH 01/28] Add a friendly note when the wizzard is finished --- lib/lang/en_new_service.lng | 1 + new_service.php | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/lang/en_new_service.lng b/lib/lang/en_new_service.lng index d7ce19f..fe8d003 100644 --- a/lib/lang/en_new_service.lng +++ b/lib/lang/en_new_service.lng @@ -27,6 +27,7 @@ $wb['ns1_txt'] = 'NS 1'; $wb['ns2_txt'] = 'NS 2'; $wb['ip_txt'] = 'IP Address'; $wb['ipv6_txt'] = 'IPv6 Address'; +$wb['new_service_txt'] = 'Your new service is now being created. Please take note of these credentials, ISPconfig will not display them again.'; $wb['error_origin_empty'] = 'Origin empty.'; $wb['error_ns_empty'] = 'NS empty.'; $wb['error_mbox_empty'] = 'Mbox empty.'; diff --git a/new_service.php b/new_service.php index 701f850..8ac4b03 100644 --- a/new_service.php +++ b/new_service.php @@ -510,6 +510,7 @@ class page_action extends tform_actions {

New service

+

' . $app->tform->wordbook["new_service_txt"] . '

-- GitLab From 7eeba192a1c697fb7a45b09615d3995d2483efb9 Mon Sep 17 00:00:00 2001 From: Herman van Rink Date: Sat, 26 Jan 2019 15:01:30 +0100 Subject: [PATCH 02/28] Default uncheck DNS --- form/new_service.tform.php | 2 +- templates/new_service.htm | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/form/new_service.tform.php b/form/new_service.tform.php index 21b9614..3738198 100644 --- a/form/new_service.tform.php +++ b/form/new_service.tform.php @@ -243,7 +243,7 @@ $form["tabs"]['client'] = array( 'dns' => array ( 'datatype' => 'VARCHAR', 'formtype' => 'CHECKBOX', - 'default' => 'y', + 'default' => 'n', 'value' => array(0 => 'n', 1 => 'y') ), 'dns_template_id' => array( diff --git a/templates/new_service.htm b/templates/new_service.htm index 4c64065..0a9173c 100644 --- a/templates/new_service.htm +++ b/templates/new_service.htm @@ -177,6 +177,7 @@ \ No newline at end of file + -- GitLab From 6524923660a51328da023a6bd7e70ae943b768aa Mon Sep 17 00:00:00 2001 From: Rimas Kudelis Date: Fri, 22 Sep 2023 18:23:44 +0300 Subject: [PATCH 28/28] Update README for 3.2 --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 85a239b..b739b83 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ This module allows you to create DNS Zone, Site, Database User, Database, FTP User, SSH User, Mail Domain and Mailboxes in one form. You just define domain name and using checkboxes decide which services you want to create. Services are created using user defined templates. -This module is compatible with ISPConfig version 3.1 +This module is compatible with ISPConfig version 3.2 ## Installation @@ -10,12 +10,20 @@ This module has to be installed on master node in multiserver setup. - Download this repo as archive, unpack it to `/usr/local/ispconfig/interface/web/` and rename forlder to `wizard` OR clone repo using git `git clone https://git.ispconfig.org/ispconfig/module-wizard.git /usr/local/ispconfig/interface/web/wizard` -- Create DB table provided in db.sql file `mysql -u root -p < db.sql` +- Create the database table provided in `db.sql` file: `mysql -u root -p < db.sql` - Enable module in user interface System -> CP Users -> Admin user -> Check "wizard" and save. - If it doesn't work, enable module manually by editing admin user in DB table `sys_user` column `modules` On a slave server you only have to create the database table using the instructions above. +## Upgrade + +When upgrading from an older version: + +- Replace existing files of the module with new ones (this doesn't apply to slave servers in multiserver setup) +- Make sure that the database schema is up to date. Apply `db_update_3.2.sql`, or, should that fail, execute relevant statements from it manually +- Please note that in the database, `fastcgi_php_version` string column has been replaced with `server_php_id`, which is an integer. This means you will have to modify all your saved wizard configuration templates after the update to make sure that they use the correct PHP version + ## Planned features - Export results as PDF -- GitLab