Skip to content

Commit

Permalink
Prerelease
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronef committed Jul 15, 2024
1 parent d9fa1e8 commit 0dbf2cc
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# (MODX)EvolutionCMS.snippets.ddSendFeedback changelog


## Version 2.9 (2024-07-15)
* \+ SenderEmail → Parameters → `senders->email->to`: Addresses validation has been added. So if you specify only invalid emails, you will receive an error in the CMS log that not all required parameters have been set.
* \+ Sender → Parameters → `senders->{$senderName}->isFailRequiredParamsDisplayedToLog`: The new optional parameter. Allows you do disable a failure message to the CMS log when required parameters are not set.


## Version 2.8 (2024-07-13)

* \* Sender:
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG_ru.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# (MODX)EvolutionCMS.snippets.ddSendFeedback changelog


## Версия 2.9 (2024-07-15)
* \+ СендерEmail → Параметры → `senders->email->to`: Добавлена валидация адресов. Таким образом, если вы укажете только недействительные ящики, в логе CMS появится ошибка, что заданы не все необходимые параметры.
* \+ Сендер → Параметры → `senders->{$senderName}->isFailRequiredParamsDisplayedToLog`: Новый необязательный параметр. Позволяет отключить отправку сообщения об ошибке в лог CMS, когда обязательные параметры не заданы.


## Версия 2.8 (2024-07-13)

* \* Сендер:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ require_once(
#### 1. Elements → Snippets: Create a new snippet with the following data

1. Snippet name: `ddSendFeedback`.
2. Description: `<b>2.8</b> A snippet for sending users' feedback messages to you. It is very useful along with ajax technology.`.
2. Description: `<b>2.9</b> A snippet for sending users' feedback messages to you. It is very useful along with ajax technology.`.
3. Category: `Core`.
4. Parse DocBlock: `no`.
5. Snippet code (php): Insert content of the `ddSendFeedback_snippet.php` file from the archive.
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "dd/evolutioncms-snippets-ddsendfeedback",
"type": "modxevo-snippet",
"version": "2.8.0",
"version": "2.9.0",
"description": "A snippet for sending users' feedback messages to a required email, slack and telegram chats or SMS through sms.ru. It is very useful along with ajax technology.",
"keywords": [
"modx",
Expand Down
2 changes: 1 addition & 1 deletion ddSendFeedback_snippet.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* ddSendFeedback
* @version 2.8 (2024-07-13)
* @version 2.9 (2024-07-15)
*
* @see README.md
*
Expand Down
2 changes: 1 addition & 1 deletion src/Snippet.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

class Snippet extends \DDTools\Snippet {
protected
$version = '2.8.0',
$version = '2.9.0',

$params = [
//Defaults
Expand Down

0 comments on commit 0dbf2cc

Please sign in to comment.