Skip to content

Commit d819394

Browse files
author
Marius Burkard
committed
Merge remote-tracking branch 'ispconfig3.official/master'
2 parents 1e232ff + ea9f8ef commit d819394

File tree

855 files changed

+8267
-2481
lines changed

Some content is hidden

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

855 files changed

+8267
-2481
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
.DS_Store
2-
/nbproject/private/
2+
/nbproject/private/
3+
.phplint-cache

.gitlab-ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Defines stages which are to be executed
2+
stages:
3+
- syntax
4+
5+
#
6+
### Stage syntax
7+
#
8+
9+
syntax:lint:
10+
stage: syntax
11+
image: bobey/docker-gitlab-ci-runner-php7
12+
allow_failure: false
13+
only:
14+
- schedules
15+
- web
16+
17+
script:
18+
- composer require overtrue/phplint
19+
- echo "Syntax checking PHP files"
20+
- echo "For more information http://www.icosaedro.it/phplint/"
21+
- vendor/bin/phplint

.phplint.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
path: ./
2+
jobs: 10
3+
cache: .phplint-cache
4+
extensions:
5+
- php
6+
- lng
7+
exclude:
8+
- vendor
9+

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# ISPConfig - Hosting Control Panel
22

3+
Nightly (master): [![pipeline status](https://git.ispconfig.org/ispconfig/ispconfig3/badges/master/pipeline.svg)](https://git.ispconfig.org/ispconfig/ispconfig3/commits/master)
4+
Stable branch: [![pipeline status](https://git.ispconfig.org/ispconfig/ispconfig3/badges/stable-3.1/pipeline.svg)](https://git.ispconfig.org/ispconfig/ispconfig3/commits/stable-3.1)
5+
6+
37
- Manage multiple servers from one control panel
48
- Web server management (Apache2 and nginx)
59
- Mail server management (with virtual mail users)
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
--- amavisd-new.orig 2017-11-16 11:51:19.000000000 +0100
2+
+++ amavisd-new 2018-05-25 16:53:45.623398108 +0200
3+
@@ -22829,6 +22829,7 @@
4+
}
5+
# load policy banks from the 'client_ipaddr_policy' lookup
6+
Amavis::load_policy_bank($_,$msginfo) for @bank_names_cl;
7+
+ $msginfo->originating(c('originating'));
8+
9+
$msginfo->client_addr($cl_ip); # ADDR
10+
$msginfo->client_port($cl_port); # PORT
11+
@@ -34361,6 +34362,7 @@
12+
$sig_ind++;
13+
}
14+
Amavis::load_policy_bank($_,$msginfo) for @bank_names;
15+
+ $msginfo->originating(c('originating'));
16+
$msginfo->dkim_signatures_valid(\@signatures_valid) if @signatures_valid;
17+
# if (ll(5) && $sig_ind > 0) {
18+
# # show which header fields are covered by which signature

helper_scripts/utils.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
#!/bin/bash
2+
3+
# this is a bash script library to be called by other scripts,
4+
# but not to be run directly
5+
26
# Copyright (c) 2009, Scott Barr <gsbarr@gmail.com>
37
# All rights reserved.
48
#
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
#!/bin/bash
2+
3+
IFS=":"
4+
AUTH_OK=1
5+
AUTH_FAILED=0
6+
LOGFILE="/var/log/prosody/auth.log"
7+
USELOG=true
8+
9+
while read ACTION USER HOST PASS ; do
10+
11+
[ $USELOG == true ] && { echo "Date: $(date) Action: $ACTION User: $USER Host: $HOST" >> $LOGFILE; }
12+
13+
case $ACTION in
14+
"auth")
15+
if [ `/usr/bin/php /usr/local/lib/prosody/auth/db_auth.php $USER $HOST $PASS 2>/dev/null` == 1 ] ; then
16+
echo $AUTH_OK
17+
[ $USELOG == true ] && { echo "AUTH OK" >> $LOGFILE; }
18+
else
19+
echo $AUTH_FAILED
20+
[ $USELOG == true ] && { echo "AUTH FAILED" >> $LOGFILE; }
21+
fi
22+
;;
23+
"isuser")
24+
if [ `/usr/bin/php /usr/local/lib/prosody/auth/db_isuser.php $USER $HOST 2>/dev/null` == 1 ] ; then
25+
echo $AUTH_OK
26+
[ $USELOG == true ] && { echo "ISUSER OK" >> $LOGFILE; }
27+
else
28+
echo $AUTH_FAILED
29+
[ $USELOG == true ] && { echo "ISUSER FAILED" >> $LOGFILE; }
30+
fi
31+
;;
32+
*)
33+
echo $AUTH_FAILED
34+
[ $USELOG == true ] && { echo "UNKNOWN ACTION GIVEN: $ACTION" >> $LOGFILE; }
35+
;;
36+
esac
37+
38+
done
File renamed without changes.

install/apps/metronome_libs/mod_auth_external/db_conf.inc.php renamed to install/apps/xmpp_libs/auth_prosody/db_conf.inc.php

File renamed without changes.

install/apps/metronome_libs/mod_auth_external/db_isuser.php renamed to install/apps/xmpp_libs/auth_prosody/db_isuser.php

File renamed without changes.

0 commit comments

Comments
 (0)