Skip to content
This repository was archived by the owner on Jun 10, 2020. It is now read-only.

Commit df640bd

Browse files
committed
v2.0.0
- Removed support for phpMussel v0.x.x major branch. - Synced L10N with main package. - Added proper integration and configurability with the front-end. - Adjusted composer metadata.
1 parent 8cee73e commit df640bd

28 files changed

+434
-192
lines changed

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
2-
"name": "maikuolan/phpmussel-plugin-notifications",
2+
"name": "phpmussel/plugin-notifications",
33
"description": "A phpMussel plugin to receive email notifications from phpMussel whenever a file upload is blocked.",
44
"keywords": ["anti-virus","anti-trojan","anti-malware","anti-exploit","anti-spam","antivirus","uploads","security","protection"],
55
"homepage": "http://maikuolan.github.io/phpMussel/",
66
"license": "GPL-2.0+",
77
"support": {
8-
"issues": "https://github.com/Maikuolan/phpMussel-plugin-notifications/issues",
8+
"issues": "https://github.com/phpMussel/plugin-notifications/issues",
99
"forum": "http://www.spambotsecurity.com/forum/viewforum.php?f=55",
10-
"wiki": "https://github.com/Maikuolan/phpMussel-plugin-notifications/wiki",
11-
"source": "https://github.com/Maikuolan/phpMussel-plugin-notifications"
10+
"wiki": "https://github.com/phpMussel/plugin-notifications/wiki",
11+
"source": "https://github.com/phpMussel/plugin-notifications"
1212
},
1313
"require": {
1414
"php": ">=5.4.0",
15-
"maikuolan/phpmussel": ">=0.9.0"
15+
"maikuolan/phpmussel": ">=1.0.0-DEV"
1616
}
1717
}

notifications/lang.ar.php

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?php
2+
/**
3+
* This file is a part of the phpMussel notifications plugin package.
4+
* - https://github.com/phpMussel/plugin-notifications
5+
*
6+
* This file: Arabic language data (last modified: 2017.04.03).
7+
*/
8+
9+
/** Prevents execution from outside of phpMussel. */
10+
if (!defined('phpMussel')) {
11+
die('[phpMussel] This should not be accessed directly.');
12+
}
13+
14+
$phpMussel['lang']['config_notifications_to_addr'] = 'عنوان البريد الإلكتروني لإرسال الإشعارات إلى.';
15+
$phpMussel['lang']['config_notifications_from_addr'] = 'عنوان البريد الإلكتروني لإرسال الإشعارات من.';
16+
17+
$phpMussel['lang']['notifications_template'] = 'مرحبا،
18+
19+
هذه رسالة إلكترونية تلقائية من phpMussel لإعلامك بأنه تم حظر عملية تحميل.
20+
21+
الوقت/التاريخ: {time}
22+
عنوان IP المنشأ: {ipaddr}
23+
السبب المحظور: {whyflagged}
24+
25+
';

notifications/lang.de.php

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?php
2+
/**
3+
* This file is a part of the phpMussel notifications plugin package.
4+
* - https://github.com/phpMussel/plugin-notifications
5+
*
6+
* This file: German language data (last modified: 2017.04.03).
7+
*/
8+
9+
/** Prevents execution from outside of phpMussel. */
10+
if (!defined('phpMussel')) {
11+
die('[phpMussel] This should not be accessed directly.');
12+
}
13+
14+
$phpMussel['lang']['config_notifications_to_addr'] = 'Die E-Mail-Adresse um Benachrichtigungen zu senden an.';
15+
$phpMussel['lang']['config_notifications_from_addr'] = 'Die E-Mail-Adresse um Benachrichtigungen zu senden von.';
16+
17+
$phpMussel['lang']['notifications_template'] = 'Hallo,
18+
19+
Dies ist eine automatisch erstelle Email von phpMussel um dich zu informieren, dass ein versuchter Dateiupload blockiert wurde.
20+
21+
Zeit/Datum: {time}
22+
Ursprungs-IP-Adresse: {ipaddr}
23+
Grund der Blockierung: {whyflagged}
24+
25+
';

notifications/lang.en.php

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?php
2+
/**
3+
* This file is a part of the phpMussel notifications plugin package.
4+
* - https://github.com/phpMussel/plugin-notifications
5+
*
6+
* This file: English language data (last modified: 2017.04.03).
7+
*/
8+
9+
/** Prevents execution from outside of phpMussel. */
10+
if (!defined('phpMussel')) {
11+
die('[phpMussel] This should not be accessed directly.');
12+
}
13+
14+
$phpMussel['lang']['config_notifications_to_addr'] = 'The email address for sending notifications to.';
15+
$phpMussel['lang']['config_notifications_from_addr'] = 'The email address for sending notifications from.';
16+
17+
$phpMussel['lang']['notifications_template'] = 'Hi,
18+
19+
This is an automated email from phpMussel to notify you that an attempted file upload has been blocked.
20+
21+
Time/Date: {time}
22+
Originating IP Address: {ipaddr}
23+
Reason Blocked: {whyflagged}
24+
25+
';

notifications/lang.es.php

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?php
2+
/**
3+
* This file is a part of the phpMussel notifications plugin package.
4+
* - https://github.com/phpMussel/plugin-notifications
5+
*
6+
* This file: Spanish language data (last modified: 2017.04.03).
7+
*/
8+
9+
/** Prevents execution from outside of phpMussel. */
10+
if (!defined('phpMussel')) {
11+
die('[phpMussel] This should not be accessed directly.');
12+
}
13+
14+
$phpMussel['lang']['config_notifications_to_addr'] = 'La dirección de email para la recepción de notificaciones.';
15+
$phpMussel['lang']['config_notifications_from_addr'] = 'La dirección de email para el envío de notificaciones.';
16+
17+
$phpMussel['lang']['notifications_template'] = 'Hola,
18+
19+
Este es un email automático de phpMussel para notificar que una intentado subir de archivos ha sido bloqueado.
20+
21+
Hora/Fecha: {time}
22+
Originario IP Dirección: {ipaddr}
23+
Razón Bloqueado: {whyflagged}
24+
25+
';

notifications/lang.fr.php

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?php
2+
/**
3+
* This file is a part of the phpMussel notifications plugin package.
4+
* - https://github.com/phpMussel/plugin-notifications
5+
*
6+
* This file: French language data (last modified: 2017.04.03).
7+
*/
8+
9+
/** Prevents execution from outside of phpMussel. */
10+
if (!defined('phpMussel')) {
11+
die('[phpMussel] This should not be accessed directly.');
12+
}
13+
14+
$phpMussel['lang']['config_notifications_to_addr'] = 'L\'adresse électronique pour recevoir les notifications.';
15+
$phpMussel['lang']['config_notifications_from_addr'] = 'L\'adresse email pour envoyer les notifications.';
16+
17+
$phpMussel['lang']['notifications_template'] = 'Salut,
18+
19+
Ceci est un message automatique de phpMussel pour vous informer qu\'un tentative de téléchargement d\'un fichier a été bloquée.
20+
21+
Temps/Date: {time}
22+
Adresse IP d\'Origine: {ipaddr}
23+
Raison Bloquée: {whyflagged}
24+
25+
';

notifications/lang.id.php

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?php
2+
/**
3+
* This file is a part of the phpMussel notifications plugin package.
4+
* - https://github.com/phpMussel/plugin-notifications
5+
*
6+
* This file: Indonesian language data (last modified: 2017.04.03).
7+
*/
8+
9+
/** Prevents execution from outside of phpMussel. */
10+
if (!defined('phpMussel')) {
11+
die('[phpMussel] This should not be accessed directly.');
12+
}
13+
14+
$phpMussel['lang']['config_notifications_to_addr'] = 'Alamat email untuk mengirim pemberitahuan ke.';
15+
$phpMussel['lang']['config_notifications_from_addr'] = 'Alamat email untuk mengirim pemberitahuan dari.';
16+
17+
$phpMussel['lang']['notifications_template'] = 'Hai,
18+
19+
Ini adalah email otomatis dari phpMussel untuk memberitahu Anda bahwa file upload adalah diblokir.
20+
21+
Waktu/Tanggal: {time}
22+
IP Address Berasal: {ipaddr}
23+
Alasan Diblokir: {whyflagged}
24+
25+
';

notifications/lang.it.php

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?php
2+
/**
3+
* This file is a part of the phpMussel notifications plugin package.
4+
* - https://github.com/phpMussel/plugin-notifications
5+
*
6+
* This file: Italian language data (last modified: 2017.04.03).
7+
*/
8+
9+
/** Prevents execution from outside of phpMussel. */
10+
if (!defined('phpMussel')) {
11+
die('[phpMussel] This should not be accessed directly.');
12+
}
13+
14+
$phpMussel['lang']['config_notifications_to_addr'] = 'L\'indirizzo e-mail per l\'invio di notifiche a.';
15+
$phpMussel['lang']['config_notifications_from_addr'] = 'L\'indirizzo e-mail per l\'invio di notifiche da.';
16+
17+
$phpMussel['lang']['notifications_template'] = 'Salve,
18+
19+
Questa è un\'email automatica da phpMussel per informare l\'utente che un caricamento di file tentativo è stato bloccato.
20+
21+
Tempo/Data: {time}
22+
IP Indirizzo di Origine: {ipaddr}
23+
Motivo Bloccati: {whyflagged}
24+
25+
';

notifications/lang.ja.php

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?php
2+
/**
3+
* This file is a part of the phpMussel notifications plugin package.
4+
* - https://github.com/phpMussel/plugin-notifications
5+
*
6+
* This file: Japanese language data (last modified: 2017.04.03).
7+
*/
8+
9+
/** Prevents execution from outside of phpMussel. */
10+
if (!defined('phpMussel')) {
11+
die('[phpMussel] This should not be accessed directly.');
12+
}
13+
14+
$phpMussel['lang']['config_notifications_to_addr'] = '通知を受信人のEメールアドレス。';
15+
$phpMussel['lang']['config_notifications_from_addr'] = '通知を差出人のEメールアドレス。';
16+
17+
$phpMussel['lang']['notifications_template'] = 'こんにちは、
18+
19+
これはphpMusselからの自動通知です。 ファイルのアップロードがブロックされました。
20+
21+
時間/日/月/年: {time}
22+
発信元IPアドレス: {ipaddr}
23+
ブロックされた理由: {whyflagged}
24+
25+
';

notifications/lang.ko.php

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?php
2+
/**
3+
* This file is a part of the phpMussel notifications plugin package.
4+
* - https://github.com/phpMussel/plugin-notifications
5+
*
6+
* This file: Korean language data (last modified: 2017.04.03).
7+
*/
8+
9+
/** Prevents execution from outside of phpMussel. */
10+
if (!defined('phpMussel')) {
11+
die('[phpMussel] This should not be accessed directly.');
12+
}
13+
14+
$phpMussel['lang']['config_notifications_to_addr'] = '알림을 받을 사람의 이메일 주소입니다.';
15+
$phpMussel['lang']['config_notifications_from_addr'] = '알림을 보낸 사람의 이메일 주소입니다.';
16+
17+
$phpMussel['lang']['notifications_template'] = '안녕하세요,
18+
19+
이것은 phpMussel에서 자동 통지입니다. 파일 업로드를 차단했습니다.
20+
21+
시간/일/월/년: {time}
22+
원본 IP 주소: {ipaddr}
23+
차단 된 이유: {whyflagged}
24+
25+
';

0 commit comments

Comments
 (0)