Skip to content

Commit 881e127

Browse files
committed
Hardened some configuration constraints.
1 parent 355c7fa commit 881e127

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

Changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,7 @@ __*Why "v3.0.0" instead of "v1.0.0?"*__ Because the linker is intended for use w
3333
[2022.07.28; Maikuolan]: Added L10N for Malay.
3434

3535
[2022.09.01; Maikuolan]: Added L10N for Persian/Farsi, Hebrew, and Ukrainian.
36+
37+
### v3.1.6
38+
39+
[2022.10.25; Maikuolan]: Hardened some configuration constraints.

assets/config.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# License: GNU/GPLv2
88
# @see LICENSE.txt
99
#
10-
# This file: Configuration defaults file (last modified: 2020.07.13).
10+
# This file: Configuration defaults file (last modified: 2022.10.25).
1111
##/
1212

1313
phpmailer:
@@ -29,6 +29,8 @@ phpmailer:
2929
port:
3030
type: "int"
3131
default: 587
32+
min: 1
33+
max: 65535
3234
smtp_secure:
3335
type: "string"
3436
default: "default"

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
"phpmailer/phpmailer": "^6.5"
1717
},
1818
"suggest": {
19-
"phpmussel/frontend": "^3.2",
20-
"phpmussel/web": "^3.2"
19+
"phpmussel/frontend": "^3.3",
20+
"phpmussel/web": "^3.3"
2121
},
2222
"autoload": {
2323
"psr-4": {

l10n/fa.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# License: GNU/GPLv2
88
# @see LICENSE.txt
99
#
10-
# This file: Farsi language data (last modified: 2022.09.01).
10+
# This file: Farsi language data (last modified: 2022.10.05).
1111
#
1212
# Regarding translations: My native language is English. Because this is a free
1313
# and open-source hobby project which generates zero income, and translatable
@@ -28,7 +28,7 @@ config_phpmailer: "پیکربندی برای PHPMailer (برای احراز هو
2828
config_phpmailer_add_reply_to_address: "آدرس پاسخی که هنگام ارسال ایمیل از طریق SMTP ذکر شود."
2929
config_phpmailer_add_reply_to_name: "نام پاسخی که باید هنگام ارسال ایمیل از طریق SMTP ذکر شود."
3030
config_phpmailer_enable_notifications: "اگر می‌خواهید هنگام مسدود شدن آپلود از طریق ایمیل مطلع شوید، آدرس ایمیل گیرنده را در اینجا مشخص کنید."
31-
config_phpmailer_enable_two_factor: "این دستورالعمل تعیین می‌کند که آیا از 2FA برای حساب‌های فرانت‌اند استفاده شود یا خیر."
31+
config_phpmailer_enable_two_factor: "این دستورالعمل تعیین می کند که آیا از 2FA برای حساب های جلویی استفاده شود یا خیر."
3232
config_phpmailer_event_log: "فایلی برای ثبت همه رویدادها در رابطه با PHPMailer. نام فایل را مشخص کنید، یا برای غیرفعال کردن آن را خالی بگذارید."
3333
config_phpmailer_host: "میزبان SMTP برای استفاده برای ایمیل های خروجی."
3434
config_phpmailer_password: "رمز عبور برای استفاده هنگام ارسال ایمیل از طریق SMTP."

0 commit comments

Comments
 (0)