Skip to content

Commit 1b440ab

Browse files
committed
Merge branch 'develop' into 'add_noquota'
# Conflicts: # server/lib/classes/cron.d/100-monitor_hd_quota.inc.php
2 parents c26a9f6 + 35d9790 commit 1b440ab

File tree

690 files changed

+7474
-3812
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

690 files changed

+7474
-3812
lines changed

.gitignore

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,39 @@
1-
.DS_Store
21
.idea
32
/nbproject/private/
43
.phplint-cache
54
*.swp
5+
6+
# macOS-specific things to exclude
7+
8+
# General
9+
.DS_Store
10+
.AppleDouble
11+
.LSOverride
12+
13+
# Icon must end with two \r
14+
Icon
15+
16+
17+
Icon?
18+
19+
# Thumbnails
20+
._*
21+
22+
# Files that might appear in the root of a volume
23+
.DocumentRevisions-V100
24+
.fseventsd
25+
.Spotlight-V100
26+
.TemporaryItems
27+
.Trashes
28+
.VolumeIcon.icns
29+
.com.apple.timemachine.donotpresent
30+
31+
# Directories potentially created on remote AFP share
32+
.AppleDB
33+
.AppleDesktop
34+
Network Trash Folder
35+
Temporary Items
36+
.apdisk
37+
38+
# Configuration for the Nova editor
39+
.nova

.gitlab-ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ syntax:lint:
1717
- schedules
1818
- web
1919
- merge_requests
20-
- /^\d+\.\d+\.\d+(p\d+)?$/
20+
- /^\d+\.\d+\.\d+([p|b]\d+)?$/
2121

2222
script:
2323
- echo "Syntax checking PHP files"
@@ -37,7 +37,7 @@ syntax_diff:lint:
3737
- schedules
3838
- web
3939
- merge_requests
40-
- /^\d+\.\d+\.\d+(p\d+)?$/
40+
- /^\d+\.\d+\.\d+([p|b]\d+)?$/
4141

4242
script:
4343
- echo "Syntax checking PHP files"
@@ -81,7 +81,7 @@ build:package:
8181
image: edbizarro/gitlab-ci-pipeline-php:7.2
8282
only:
8383
refs:
84-
- /^\d+\.\d+\.\d+(p\d+)?$/
84+
- /^\d+\.\d+\.\d+([p|b]\d+)?$/
8585
- web
8686

8787
script:
@@ -90,7 +90,7 @@ build:package:
9090
- if [[ "$VER" == "" ]] ; then VER="3.2dev"$(date +%s) ; fi
9191
- if [[ "$VER" != "" ]] ; then echo "Replacing 3.2dev by $VER" ; sed -i -r 's/3\.2dev/'${VER}'/g' install/tpl/config.inc.php.master install/sql/ispconfig3.sql ; fi
9292
- RET=0
93-
- tar -cpzf ISPConfig-${VER}.tar.gz --exclude "ISPConfig-${VER}.tar.gz" --exclude ".git*" --exclude ".phplint.yml" --transform 's,^\./,ispconfig3_install/,' . || RET=$?
93+
- tar -cpzf ISPConfig-${VER}.tar.gz --exclude "ISPConfig-${VER}.tar.gz" --exclude ".git*" --exclude ".phplint.yml" --transform 's,^\./,ispconfig3_install/,' --mode='0775' ./* || RET=$?
9494
- if [[ $RET > 1 ]] ; then exit $RET ; fi
9595
- echo "Listing tar contents for verification"
9696
- tar -tvf ISPConfig-${VER}.tar.gz
@@ -101,4 +101,4 @@ build:package:
101101
- echo "Download url is https://download.ispconfig.org/ISPConfig-${VER}.tar.gz"
102102

103103
needs: ["syntax:lint"]
104-
allow_failure: false
104+
allow_failure: false

docs/autoinstall_samples/autoinstall.conf_sample.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
/* optional expert mode settings, needed only for expert mode */
3131
$autoinstall['mysql_ispconfig_user'] = 'ispconfig'; // default: ispconfig
32-
$autoinstall['mysql_ispconfig_password'] = md5(uniqid(rand()));
32+
$autoinstall['mysql_ispconfig_password'] = bin2hex(random_bytes(20));
3333
$autoinstall['join_multiserver_setup'] = 'n'; // y, n (default)
3434
$autoinstall['mysql_master_hostname'] = 'master.example.com';
3535
$autoinstall['mysql_master_root_user'] = 'root';
@@ -70,4 +70,4 @@
7070
$autoupdate['svc_detect_change_vserver_server'] = 'yes'; // yes (default), no
7171
$autoupdate['svc_detect_change_db_server'] = 'yes'; // yes (default), no
7272

73-
?>
73+
?>

install/dist/conf/centos52.conf.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
$conf['mysql']['ispconfig_password'] = md5(uniqid(rand()));
6767
$conf['mysql']['master_slave_setup'] = 'n';
6868
$conf['mysql']['master_host'] = '';
69+
$conf['mysql']['master_port'] = '3306';
6970
$conf['mysql']['master_database'] = 'dbispconfig';
7071
$conf['mysql']['master_admin_user'] = 'root';
7172
$conf['mysql']['master_admin_password'] = '';
@@ -221,4 +222,7 @@
221222
//* OpenVZ
222223
$conf['openvz']['installed'] = false;
223224

225+
// AppArmor
226+
$conf['apparmor']['installed'] = false;
227+
224228
?>

install/dist/conf/centos53.conf.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
$conf['mysql']['ispconfig_password'] = md5(uniqid(rand()));
6767
$conf['mysql']['master_slave_setup'] = 'n';
6868
$conf['mysql']['master_host'] = '';
69+
$conf['mysql']['master_port'] = '3306';
6970
$conf['mysql']['master_database'] = 'dbispconfig';
7071
$conf['mysql']['master_admin_user'] = 'root';
7172
$conf['mysql']['master_admin_password'] = '';
@@ -221,4 +222,7 @@
221222
//* OpenVZ
222223
$conf['openvz']['installed'] = false;
223224

225+
// AppArmor
226+
$conf['apparmor']['installed'] = false;
227+
224228
?>

install/dist/conf/centos70.conf.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
$conf['runlevel'] = '/etc';
4444
$conf['shells'] = '/etc/shells';
4545
$conf['pam'] = '/etc/pam.d';
46+
$conf['default_php'] = "5.4";
4647

4748
//* Services provided by this server, this selection will be overridden by the expert mode
4849
$conf['services']['mail'] = true;
@@ -66,6 +67,7 @@
6667
$conf['mysql']['ispconfig_password'] = md5(uniqid(rand()));
6768
$conf['mysql']['master_slave_setup'] = 'n';
6869
$conf['mysql']['master_host'] = '';
70+
$conf['mysql']['master_port'] = '3306';
6971
$conf['mysql']['master_database'] = 'dbispconfig';
7072
$conf['mysql']['master_admin_user'] = 'root';
7173
$conf['mysql']['master_admin_password'] = '';
@@ -221,4 +223,7 @@
221223
//* OpenVZ
222224
$conf['openvz']['installed'] = false;
223225

226+
// AppArmor
227+
$conf['apparmor']['installed'] = false;
228+
224229
?>

install/dist/conf/centos72.conf.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2929
*/
3030

31-
//*** Fedora 9 default settings
31+
//*** RHEL 7 derivatives default settings
3232

3333
//* Main
3434
$conf['language'] = 'en';
@@ -43,6 +43,7 @@
4343
$conf['runlevel'] = '/etc';
4444
$conf['shells'] = '/etc/shells';
4545
$conf['pam'] = '/etc/pam.d';
46+
$conf['default_php'] = "5.4";
4647

4748
//* Services provided by this server, this selection will be overridden by the expert mode
4849
$conf['services']['mail'] = true;
@@ -66,6 +67,7 @@
6667
$conf['mysql']['ispconfig_password'] = md5(uniqid(rand()));
6768
$conf['mysql']['master_slave_setup'] = 'n';
6869
$conf['mysql']['master_host'] = '';
70+
$conf['mysql']['master_port'] = '3306';
6971
$conf['mysql']['master_database'] = 'dbispconfig';
7072
$conf['mysql']['master_admin_user'] = 'root';
7173
$conf['mysql']['master_admin_password'] = '';
@@ -224,4 +226,7 @@
224226
//* OpenVZ
225227
$conf['openvz']['installed'] = false;
226228

229+
// AppArmor
230+
$conf['apparmor']['installed'] = false;
231+
227232
?>

install/dist/conf/centos80.conf.php

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2929
*/
3030

31-
//*** Fedora 9 default settings
31+
//*** RHEL 8 derivatives default settings
3232

3333
//* Main
3434
$conf['language'] = 'en';
@@ -43,6 +43,7 @@
4343
$conf['runlevel'] = '/etc';
4444
$conf['shells'] = '/etc/shells';
4545
$conf['pam'] = '/etc/pam.d';
46+
$conf['default_php'] = "7.2";
4647

4748
//* Services provided by this server, this selection will be overridden by the expert mode
4849
$conf['services']['mail'] = true;
@@ -63,14 +64,15 @@
6364
$conf['mysql']['admin_password'] = '';
6465
$conf['mysql']['charset'] = 'utf8';
6566
$conf['mysql']['ispconfig_user'] = 'ispconfig';
66-
$conf['mysql']['ispconfig_password'] = md5(uniqid(rand()));
67+
$conf['mysql']['ispconfig_password'] = md5(random_bytes(20));
6768
$conf['mysql']['master_slave_setup'] = 'n';
6869
$conf['mysql']['master_host'] = '';
70+
$conf['mysql']['master_port'] = '3306';
6971
$conf['mysql']['master_database'] = 'dbispconfig';
7072
$conf['mysql']['master_admin_user'] = 'root';
7173
$conf['mysql']['master_admin_password'] = '';
7274
$conf['mysql']['master_ispconfig_user'] = '';
73-
$conf['mysql']['master_ispconfig_password'] = md5(uniqid(rand()));
75+
$conf['mysql']['master_ispconfig_password'] = md5(random_bytes(20));
7476

7577
//* Apache
7678
$conf['apache']['installed'] = false; // will be detected automatically during installation
@@ -224,4 +226,7 @@
224226
//* OpenVZ
225227
$conf['openvz']['installed'] = false;
226228

229+
// AppArmor
230+
$conf['apparmor']['installed'] = false;
231+
227232
?>

0 commit comments

Comments
 (0)