Skip to content

Commit 3209434

Browse files
marianaballabramleymichieldrysiek_dcflores
authored
Release 3.6.13 (#960)
* Avoid php 8.2 warnings (#930) * Avoid php warnings when run from command line * Avoid php warning when template does not exist * Avoid php 8 deprecation regarding string interpolation * Improve handling of unknown admin to avoid php warnings and deprecations * Avoid php 8.2 warning about dynamic properties * Make the results of the timer class use period as the decimal point (#931) * set DEFAULT_MESSAGE to 8 days (#932) * Tidy-up output of processqueue (#935) * Correct parameters to processQueueOutput() * Replace $GLOBALS['I18N']->get() by s() * Replace sprintf(s()) calls with simply s() * remove obsolete files (#936) * Allow gap between async requests (#937) * Allow gap between async requests * Include explanation of ASYNC_REQUEST_INTERVAL in config_extended.php * When including a message in a template use the content of the body element if it is present instead of the complete message. (#938) * Allow a plugin to update phplist (#946) * Allow a plugin to update the phplist code * When a new release is available link to a plugin if available in preference to the updater * Revert "Use <wbr> element instead of zero-width space character to allow wrapping of an email address or URL (#926)" (#949) This reverts commit 74682b0. * Use <wbr> element instead of zero-width space character to allow wrapping of an email address or URL (#952) Co-authored-by: Duncan Cameron <[email protected]> * Update the Common, CKEditor, and Segment plugins (#951) * fix bash issue * Translations for 3.6.13 (#947) * Translated using Weblate (English) Currently translated at 91.2% (1944 of 2131 strings) Translation: phpList/phpList3 Translate-URL: http://translate.phplist.org/projects/phplist/phplist3/en/ * Translated using Weblate (Polish) Currently translated at 99.5% (2121 of 2131 strings) Translation: phpList/phpList3 Translate-URL: http://translate.phplist.org/projects/phplist/phplist3/pl/ * Translated using Weblate (Portuguese) Currently translated at 100.0% (2131 of 2131 strings) Translation: phpList/phpList3 Translate-URL: http://translate.phplist.org/projects/phplist/phplist3/pt/ * Translated using Weblate (French) Currently translated at 99.9% (2129 of 2131 strings) Translation: phpList/phpList3 Translate-URL: http://translate.phplist.org/projects/phplist/phplist3/fr/ * Translated using Weblate (French) Currently translated at 100.0% (2131 of 2131 strings) Translation: phpList/phpList3 Translate-URL: http://translate.phplist.org/projects/phplist/phplist3/fr/ * Translated using Weblate (French) Currently translated at 100.0% (2131 of 2131 strings) Translation: phpList/phpList3 Translate-URL: http://translate.phplist.org/projects/phplist/phplist3/fr/ * Translated using Weblate (French) Currently translated at 100.0% (2131 of 2131 strings) Translation: phpList/phpList3 Translate-URL: http://translate.phplist.org/projects/phplist/phplist3/fr/ * Translated using Weblate (French) Currently translated at 100.0% (2131 of 2131 strings) Translation: phpList/phpList3 Translate-URL: http://translate.phplist.org/projects/phplist/phplist3/fr/ * Translated using Weblate (French) Currently translated at 100.0% (2131 of 2131 strings) Translation: phpList/phpList3 Translate-URL: http://translate.phplist.org/projects/phplist/phplist3/fr/ * Translated using Weblate (Galician) Currently translated at 15.8% (338 of 2131 strings) Translation: phpList/phpList3 Translate-URL: http://translate.phplist.org/projects/phplist/phplist3/gl/ * Translated using Weblate (Galician) Currently translated at 20.7% (442 of 2131 strings) Translation: phpList/phpList3 Translate-URL: http://translate.phplist.org/projects/phplist/phplist3/gl/ * Translated using Weblate (Galician) Currently translated at 24.8% (530 of 2131 strings) Translation: phpList/phpList3 Translate-URL: http://translate.phplist.org/projects/phplist/phplist3/gl/ * Translated using Weblate (Galician) Currently translated at 25.8% (551 of 2131 strings) Translation: phpList/phpList3 Translate-URL: http://translate.phplist.org/projects/phplist/phplist3/gl/ * Translated using Weblate (Galician) Currently translated at 36.7% (784 of 2131 strings) Translation: phpList/phpList3 Translate-URL: http://translate.phplist.org/projects/phplist/phplist3/gl/ * Translated using Weblate (Spanish) Currently translated at 98.9% (2108 of 2131 strings) Translation: phpList/phpList3 Translate-URL: http://translate.phplist.org/projects/phplist/phplist3/es/ * Translated using Weblate (Galician) Currently translated at 41.3% (882 of 2131 strings) Translation: phpList/phpList3 Translate-URL: http://translate.phplist.org/projects/phplist/phplist3/gl/ * Translated using Weblate (Galician) Currently translated at 44.5% (949 of 2131 strings) Translation: phpList/phpList3 Translate-URL: http://translate.phplist.org/projects/phplist/phplist3/gl/ * Translated using Weblate (Galician) Currently translated at 47.3% (1008 of 2131 strings) Translation: phpList/phpList3 Translate-URL: http://translate.phplist.org/projects/phplist/phplist3/gl/ * Translated using Weblate (Galician) Currently translated at 49.6% (1059 of 2131 strings) Translation: phpList/phpList3 Translate-URL: http://translate.phplist.org/projects/phplist/phplist3/gl/ * Translated using Weblate (Galician) Currently translated at 72.6% (1549 of 2131 strings) Translation: phpList/phpList3 Translate-URL: http://translate.phplist.org/projects/phplist/phplist3/gl/ * Translated using Weblate (Galician) Currently translated at 75.1% (1601 of 2131 strings) Translation: phpList/phpList3 Translate-URL: http://translate.phplist.org/projects/phplist/phplist3/gl/ * Translated using Weblate (Galician) Currently translated at 76.4% (1630 of 2131 strings) Translation: phpList/phpList3 Translate-URL: http://translate.phplist.org/projects/phplist/phplist3/gl/ * Translated using Weblate (Galician) Currently translated at 92.9% (1980 of 2131 strings) Translation: phpList/phpList3 Translate-URL: http://translate.phplist.org/projects/phplist/phplist3/gl/ * Translated using Weblate (Galician) Currently translated at 97.1% (2070 of 2131 strings) Translation: phpList/phpList3 Translate-URL: http://translate.phplist.org/projects/phplist/phplist3/gl/ * Translated using Weblate (Galician) Currently translated at 97.1% (2071 of 2131 strings) Translation: phpList/phpList3 Translate-URL: http://translate.phplist.org/projects/phplist/phplist3/gl/ * Translated using Weblate (Galician) Currently translated at 97.2% (2072 of 2131 strings) Translation: phpList/phpList3 Translate-URL: http://translate.phplist.org/projects/phplist/phplist3/gl/ * Translated using Weblate (Galician) Currently translated at 100.0% (2131 of 2131 strings) Translation: phpList/phpList3 Translate-URL: http://translate.phplist.org/projects/phplist/phplist3/gl/ * Translated using Weblate (English) Currently translated at 91.2% (1945 of 2131 strings) Translation: phpList/phpList3 Translate-URL: http://translate.phplist.org/projects/phplist/phplist3/en/ * Update dependencies (#895) * Translated using Weblate (English) Currently translated at 91.2% (1946 of 2132 strings) Translation: phpList/phpList3 Translate-URL: http://translate.phplist.org/projects/phplist/phplist3/en/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 38.9% (830 of 2132 strings) Translation: phpList/phpList3 Translate-URL: http://translate.phplist.org/projects/phplist/phplist3/zh_Hans/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 39.7% (848 of 2132 strings) Translation: phpList/phpList3 Translate-URL: http://translate.phplist.org/projects/phplist/phplist3/zh_Hans/ * Translated using Weblate (Chinese (Traditional)) Currently translated at 53.7% (1146 of 2132 strings) Translation: phpList/phpList3 Translate-URL: http://translate.phplist.org/projects/phplist/phplist3/zh_Hant/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 81.0% (1727 of 2132 strings) Translation: phpList/phpList3 Translate-URL: http://translate.phplist.org/projects/phplist/phplist3/zh_Hans/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 82.1% (1751 of 2132 strings) Translation: phpList/phpList3 Translate-URL: http://translate.phplist.org/projects/phplist/phplist3/zh_Hans/ * Translated using Weblate (Dutch) Currently translated at 99.2% (2116 of 2132 strings) Translation: phpList/phpList3 Translate-URL: http://translate.phplist.org/projects/phplist/phplist3/nl/ * Translated using Weblate (French) Currently translated at 100.0% (2132 of 2132 strings) Translation: phpList/phpList3 Translate-URL: http://translate.phplist.org/projects/phplist/phplist3/fr/ * Translated using Weblate (English) Currently translated at 91.3% (1948 of 2132 strings) Translation: phpList/phpList3 Translate-URL: http://translate.phplist.org/projects/phplist/phplist3/en/ * Translated using Weblate (German) Currently translated at 95.2% (2030 of 2132 strings) Translation: phpList/phpList3 Translate-URL: http://translate.phplist.org/projects/phplist/phplist3/de/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 82.0% (1749 of 2132 strings) Translation: phpList/phpList3 Translate-URL: http://translate.phplist.org/projects/phplist/phplist3/zh_Hans/ --------- Co-authored-by: Duncan Cameron <[email protected]> Co-authored-by: rysiek_d <[email protected]> Co-authored-by: cflores <[email protected]> Co-authored-by: Alain Rihs <[email protected]> Co-authored-by: dinahosting <[email protected]> Co-authored-by: Michiel <[email protected]> Co-authored-by: Duncan Cameron <[email protected]> Co-authored-by: dayadiguo <[email protected]> * update version * update to use the updater plugin --------- Co-authored-by: Duncan Cameron <[email protected]> Co-authored-by: Michiel Dethmers <[email protected]> Co-authored-by: Duncan Cameron <[email protected]> Co-authored-by: rysiek_d <[email protected]> Co-authored-by: cflores <[email protected]> Co-authored-by: Alain Rihs <[email protected]> Co-authored-by: dinahosting <[email protected]> Co-authored-by: dayadiguo <[email protected]>
1 parent a638455 commit 3209434

28 files changed

+417
-484
lines changed

.github/workflows/build-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
- name: Show the discovered version
2727
run: |
28-
if [[ ${{ secrets.BUILD_TEST }} ]]; then
28+
if [[ ! -z "${{ secrets.BUILD_TEST }}" ]]; then
2929
echo "RELEASE_VERSION=build-testing-RC1" >> $GITHUB_ENV
3030
fi
3131
echo \$RELEASE_VERSION = $RELEASE_VERSION

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# file that keeps track of the latest tag in cvs and the corresponding version
22
# this automates publishing a new version, when it's tagged
33
# if you don't understand this, don't worry. You don't need this file
4-
VERSION=3.6.6-RC2
4+
VERSION=3.6.13

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
},
8989
{
9090
"type": "vcs",
91-
"url": "https://github.com/michield/phplist-plugin-addons.git"
91+
"url": "https://github.com/bramley/phplist-plugin-updater.git"
9292
}
9393
],
9494
"extra": {
@@ -128,7 +128,7 @@
128128
"bramley/phplist-plugin-ckeditor": "dev-master",
129129
"bramley/phplist-plugin-segment": "dev-master",
130130
"phplist/phplist-plugin-subjectlineplaceholders": "dev-master",
131-
"michield/phplist-plugin-addons": "dev-master"
131+
"bramley/phplist-plugin-updater": "dev-main"
132132
},
133133
"require-dev": {
134134
"behat/behat": "@stable",

composer.lock

Lines changed: 146 additions & 149 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docker/docker-phplist-config-dev.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,7 @@
2323

2424
$addonsUpdater = [
2525
'work' => '/var/tmp/phplistupdate',
26+
];
27+
$updaterConfig = [
28+
'work' => '/var/tmp/phplistupdate',
2629
];

docker/docker-phplist-config-live.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,7 @@
1717

1818
$addonsUpdater = [
1919
'work' => '/var/tmp/phplistupdate',
20+
];
21+
$updaterConfig = [
22+
'work' => '/var/tmp/phplistupdate',
2023
];
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?php
2+
/**
3+
* A plugin should implement this interface if it wants to be responsible for updating phpList.
4+
* It should implement an admin page with the name "update".
5+
*/
6+
interface Updater
7+
{
8+
}

public_html/lists/admin/actions/processqueue.php

Lines changed: 54 additions & 54 deletions
Large diffs are not rendered by default.

public_html/lists/admin/connect.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2416,9 +2416,9 @@ public function elapsed($seconds = 0)
24162416
$end = $now['sec'] * 1000000 + $now['usec'];
24172417
$elapsed = $end - $this->start;
24182418
if ($seconds) {
2419-
return sprintf('%0.10f', $elapsed / 1000000);
2419+
return sprintf('%0.10F', $elapsed / 1000000);
24202420
} else {
2421-
return sprintf('%0.10f', $elapsed);
2421+
return sprintf('%0.10F', $elapsed);
24222422
}
24232423
}
24242424

@@ -2434,9 +2434,9 @@ public function interval($seconds = 0)
24342434
$this->previous = $end;
24352435

24362436
if ($seconds) {
2437-
return sprintf('%0.10f', $elapsed / 1000000);
2437+
return sprintf('%0.10F', $elapsed / 1000000);
24382438
} else {
2439-
return sprintf('%0.10f', $elapsed);
2439+
return sprintf('%0.10F', $elapsed);
24402440
}
24412441
}
24422442
}

public_html/lists/admin/defaultplugin.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ class phplistPlugin
2020
public $documentationUrl = ''; //# link to documentation for this plugin (eg https://resources.phplist.com/plugin/pluginname
2121
public $enabled = 1; // use directly, can be privitsed later and calculated with __get and __set
2222
public $system_root = ''; //# root dir of the phpList admin directory
23+
public $dependencyFailure;
2324

2425
//@@Some ideas to implement this:
2526
// * Start each method with if (!$this->enabled) return parent :: parentMethod($args);

0 commit comments

Comments
 (0)