Skip to content

Commit aa1a288

Browse files
committed
Merge branch 'release-3.6.13' into translations
# Conflicts: # public_html/lists/admin/locale/en/phplist.po # public_html/lists/admin/locale/zh_CN/phplist.po
2 parents fa5c200 + 0dd2632 commit aa1a288

30 files changed

+1445
-1618
lines changed

.github/workflows/build-release.yml

+27-26
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ on:
55
push:
66
tags: v[1-9]+.[0-9]+.*
77

8+
89
jobs:
910
test:
10-
runs-on: ubuntu-18.04
11+
runs-on: ubuntu-22.04
1112
continue-on-error: ${{ matrix.experimental }}
1213

1314
strategy:
@@ -24,8 +25,8 @@ jobs:
2425

2526
- name: Show the discovered version
2627
run: |
27-
if [[ $RELEASE_VERSION = "refs/heads/master" ]]; then
28-
echo "RELEASE_VERSION=testing-RC1" >> $GITHUB_ENV
28+
if [[ ${{ secrets.BUILD_TEST }} ]]; then
29+
echo "RELEASE_VERSION=build-testing-RC1" >> $GITHUB_ENV
2930
fi
3031
echo \$RELEASE_VERSION = $RELEASE_VERSION
3132
echo \$\{\{ env.RELEASE_VERSION \}\} = ${{ env.RELEASE_VERSION }}
@@ -66,7 +67,7 @@ jobs:
6667
run: |
6768
cd $GITHUB_WORKSPACE
6869
cd public_html/lists
69-
wget https://github.com/phpList/base-distribution/archive/phplist3.zip
70+
wget https://github.com/phpList/base-distribution/archive/refs/heads/phplist3.zip
7071
unzip phplist3.zip
7172
rm phplist3.zip
7273
mv base-distribution-phplist3 base
@@ -78,7 +79,7 @@ jobs:
7879
sudo systemctl start mysql.service
7980
sudo mysql -proot -e 'drop database if exists phplistdb'
8081
sudo mysqladmin -proot create phplistdb
81-
sudo mysql -proot -e 'grant all on phplistdb.* to phplist@localhost identified by "phplist"'
82+
sudo mysql -proot -e 'create user phplist@"%" identified by "phplist"; grant all on phplistdb.* to phplist@"%"'
8283
8384
- name: Start Test Server
8485
run: |
@@ -225,27 +226,6 @@ jobs:
225226
name: "phpList Release File"
226227
retention-days: 3
227228

228-
- name: Upload the files to SF
229-
run: |
230-
export SSHPASS=${{ secrets.SF_PASS }}
231-
if [[ $RELEASE_VERSION =~ "-RC" ]]; then
232-
RELEASE_FOLDER=phplist-development
233-
else
234-
RELEASE_FOLDER=phplist
235-
fi
236-
echo "${{ secrets.SF_HOSTKEY }}" >> ~/.ssh/known_hosts
237-
cd $GITHUB_WORKSPACE
238-
cd ..
239-
240-
sshpass -e sftp -oBatchMode=no -b - ${{ secrets.SF_USERNAME }}@${{ secrets.SF_HOST }} << EOF
241-
cd /home/frs/project/phplist/$RELEASE_FOLDER
242-
mkdir $RELEASE_VERSION
243-
cd $RELEASE_VERSION
244-
put phplist-${RELEASE_VERSION}.*
245-
ls -l
246-
bye
247-
EOF
248-
249229
- name: Set up Docker Buildx
250230
uses: docker/setup-buildx-action@v1
251231

@@ -266,3 +246,24 @@ jobs:
266246
tags: ${{ secrets.DOCKERHUB_REPO }}/${{ secrets.DOCKERHUB_IMAGE }}:${{ env.RELEASE_VERSION }}
267247
build-args: |
268248
VERSION=${{ env.RELEASE_VERSION }}
249+
250+
- name: Upload the files to SF
251+
run: |
252+
export SSHPASS=${{ secrets.SF_PASS }}
253+
if [[ $RELEASE_VERSION =~ "-RC" ]]; then
254+
RELEASE_FOLDER=phplist-development
255+
else
256+
RELEASE_FOLDER=phplist
257+
fi
258+
echo "${{ secrets.SF_HOSTKEY }}" >> ~/.ssh/known_hosts
259+
cd $GITHUB_WORKSPACE
260+
cd ..
261+
262+
sshpass -e sftp -oBatchMode=no -b - ${{ secrets.SF_USERNAME }}@${{ secrets.SF_HOST }} << EOF
263+
cd /home/frs/project/phplist/$RELEASE_FOLDER
264+
mkdir $RELEASE_VERSION
265+
cd $RELEASE_VERSION
266+
put phplist-${RELEASE_VERSION}.*
267+
ls -l
268+
bye
269+
EOF

.github/workflows/main.yml

+14-11
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,20 @@ jobs:
5252
php_extensions: xml
5353
version: 2
5454

55+
- name: Report Versions
56+
run: |
57+
google-chrome --version
58+
lsb_release -a
59+
php -v
60+
chromedriver -v
61+
geckodriver -V
62+
which geckodriver
63+
which chromedriver
64+
firefox -v
65+
vendor/bin/behat -V
66+
mysql --version
67+
mysqladmin --version
68+
5569
- name: Create Database
5670
run: |
5771
sudo systemctl start mysql.service
@@ -84,17 +98,6 @@ jobs:
8498
with:
8599
path: ./public_html
86100

87-
- name: Report Versions
88-
run: |
89-
google-chrome --version
90-
php -v
91-
chromedriver -v
92-
geckodriver -V
93-
which geckodriver
94-
which chromedriver
95-
firefox -v
96-
vendor/bin/behat -V
97-
98101
- name: Run BDD Tests UI
99102
run: |
100103
cd $GITHUB_WORKSPACE/tests

Dockerfile.release

+2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ RUN tar zxf phplist-$VERSION.tgz
3737
RUN mv phplist-$VERSION/* /var/www/phpList3/
3838
RUN rm -rf /phplist-$VERSION*
3939

40+
RUN mkdir -p /var/tmp/phplistupdate && chown www-data /var/tmp/phplistupdate
41+
4042
RUN rm -f /etc/apache2/sites-enabled/000-default.conf && \
4143
cd /var/www/ && find . -type d -name .git -print0 | xargs -0 rm -rf && \
4244
find . -type d -print0 | xargs -0 chmod 755 && \

README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,19 @@
1111
<img src="https://translate.phplist.org/widgets/phplist/-/svg-badge.svg" alt="Translation status" />
1212
</a>
1313
<a href="https://hub.docker.com/r/phplist/phplist/tags"><img alt="Docker Image Version (latest semver)" src="https://img.shields.io/docker/v/phplist/phplist?label=docker&sort=semver"></a>
14+
<img alt="Docker Pulls" src="https://img.shields.io/docker/pulls/phplist/phplist?label=docker%20pulls&logo=docker%20pulls">
1415

1516
<br/>
1617

1718
Fully functional Open Source email marketing manager for creating, sending, integrating, and analysing email campaigns and newsletters: [https://www.phplist.org](https://www.phplist.org)
1819

1920
phpList includes analytics, segmentation, content personalisation, bounce processing, plugin-based architecture, and multiple APIs. Used in 95 countries, available in 20 languages, and used to send more than 25 billion campaign messages in 2018.
2021

21-
Deploy it on your own server, or get a hosted account at http://phplist.com.
22+
Deploy it on your own server, or get a hosted account at https://phplist.com.
2223

2324
<div align="center" width="100%">
24-
<a href="http://phplist.org/">Community</a> |
25-
<a href="http://phplist.com/">Hosted</a> |
25+
<a href="https://phplist.org/">Community</a> |
26+
<a href="https://phplist.com/">Hosted</a> |
2627
<a href="https://demo.phplist.org">Demo</a>
2728
<br>
2829
<img src="https://www.phplist.com/site/images/readme-images/panel.png" align="center" width="100%">

composer.json

+12-9
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@
8585
{
8686
"type": "vcs",
8787
"url": "https://github.com/phplist/phplist-plugin-subjectLinePlaceholdersPlugin.git"
88+
},
89+
{
90+
"type": "vcs",
91+
"url": "https://github.com/michield/phplist-plugin-addons.git"
8892
}
8993
],
9094
"extra": {
@@ -106,7 +110,7 @@
106110
]
107111
},
108112
"require": {
109-
"php": ">=7.0",
113+
"php": ">=7.3",
110114
"davidbarratt/custom-installer": "@stable",
111115
"phplist/phplist-ui-bootlist": "@stable",
112116
"phplist/phplist-lan-help": "@stable",
@@ -123,16 +127,15 @@
123127
"bramley/phplist-plugin-captcha": "dev-master",
124128
"bramley/phplist-plugin-ckeditor": "dev-master",
125129
"bramley/phplist-plugin-segment": "dev-master",
126-
"phplist/phplist-plugin-subjectlineplaceholders": "dev-master"
130+
"phplist/phplist-plugin-subjectlineplaceholders": "dev-master",
131+
"michield/phplist-plugin-addons": "dev-master"
127132
},
128133
"require-dev": {
129-
"behat/mink": "@stable",
130-
"behat/mink-goutte-driver": "@stable",
131-
"behat/mink-selenium2-driver": "^1.3",
132-
"behat/behat": "3.5.0",
133-
"behat/mink-extension": "^2.2",
134-
"fabpot/goutte": "@stable",
135-
"symfony/config": "3.0",
134+
"behat/behat": "@stable",
135+
"behat/mink-selenium2-driver": "@stable",
136+
"friends-of-behat/mink": "@stable",
137+
"friends-of-behat/mink-extension": "^2.7",
138+
"symfony/config": "@stable",
136139
"se/selenium-server-standalone": "^2.52",
137140
"bex/behat-screenshot": "^1.2",
138141
"zbateson/mail-mime-parser": "^1.1",

0 commit comments

Comments
 (0)