-
Type:
Story
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.11 Larks
-
Fix Version/s: None
-
Labels:None
-
Sprint:3.12 Larks
As Admin i want to be able to manage filters for restricted mail domains and ip-addresses
- There is new item "Spam protection" in administration menu.
- After clicking it page with spam protection settings is opened
- Page contains:
- "Spam protection setting" title
- "Add rule" button
- Table with available rules:
- Rule column
- Description column
- Enabled column
- If Administartor wants to add new rule - she presses "Add rule" button. Popup with "Rule regex" and "Rule description" inputs, "Save" and "Cancel" buttons is displayed. Validation rules for:
- "Rule regex" input - 1..255 characters
- "Rule description" - 0..255 characters
- Table with already created rules doesn't have pagination. All rules should be displayed.
- When administrator hovers row "Edit" and "Remove" icons are displayed (same as for user groups).
- When user clicks "Edit" icon - same popup as for adding rule is displayed, fields are filled with values from selected rule. If admin saves rule - changes are applying for selected rule.
- When administrator clicks on "Remove" icon confirmation popup is displayed. If user clicks on "OK" in popup - rule is deleted.
- If email from user registration matches any rule - user should not be registered and pop up with error message for email field is shown. User registration data should be logged.
Localization:
| Item | EN | RU | UA |
|---|---|---|---|
| Menu item | Spam protection | Защита от спама | Захист від спаму |
| Enabled column | Enabled | Включено | Ввімкнено |
| Rules column | Rules | Правила | Правила |
| Description columns | Descriptions | Описания | Описи |
| Add rule popup title | New rule | Новое правило | Нове правило |
| Add rule popup button text | Add rule | Добавить правило | Додати правило |
| Edit rule popup title | Edit rule | Редактировать правило | Редагувати правило |
| Regex placeholder | Rule regex | Регулярное выражение для правила | Регулярний вираз для правила |
| Description placeholder | Rule description | Описание правила | Опис правила |
| Remove rule confirmation | Are you sure you want to delete this rule? | Вы уверены, что хотите удалить это правило? | Ви впевнені, що бажаєте видалити це правило? |
| Matching block rule message | Sorry, you use restricted email. If you are not a bot - write to administrator (email at the bottom of every page). | Простите, вы используете запрещенный адрес электронной почты. Если вы не бот - напишите администратору (адрес почты внизу каждой страницы). | Вибачте, ви використовуєте заборонену адресу електронної пошти. Якщо ви не бот - напишіть адміністратору (адреса пошти внизу кожної сторінки). |
| Empty/too long Rule regex error message | Rule regex length must be between 1 and 255 characters | Длина регулярного выражения должна быть между 1 и 255 символами | Довжина регулярного виразу повинна бути від 1 до 255 символів |
| Too long Rule description error message | Rule description length must be between 1 and 255 characters | Длина описания правила должна быть между 0 и 255 символами | Довжина опису правила повинна бути від 0 до 255 символів |
| Invalid regex error message | Error_message near index Index_number | Error_message near index Index_number | Error_message near index Index_number |
Found bugs
| Description | Status for Build 3163 | Status for Build 3169 | Status for Build 3171 | Link |
|---|---|---|---|---|
| Wrong title for Edit Rule pop up | |
link | ||
| Grammar mistake in New Rule pop up title(EN) | |
link | ||
| Grammar mistake in remove rule confirmation pop up (RU) | |
link | ||
| Change error message for Rule regex field and rule description field | |
link | ||
| Possible to save Rule with only spaces entered into regex column | |
link | ||
| TAB doesn't move focus to New Rule pop up x button | |
link | ||
| Wrong focus order for Remove rule confirmation pop up | |
link | ||
| When focus is on x button on Remove rule confirmation pop up and ENTER is pressed rule is deleted | |
link | ||
| Checkbox and icon are not on the same line | |
link | ||
| Long rule/description leads to horizontal scroll | |
link | ||
| Remove tooltips for Enabled checkbox activation/deactivation | |
link | ||
| Spaces are not completely trimmed after text in "Rule regex" and "Rule description" fields. | |
link | ||
| Spaces are not completely trimmed before text in "Rule regex" and "Rule description" fields. | |
link | ||
| Not possible to focus Edit rule and Delete rule icons with TAB | Won't fix | link | ||
| Wrong error message when trying to activate/deactivate Enabled checkbox by Anonymous user | |
link | ||
| Wrong error message when trying to add New rule by Anonymous user | |
link | ||
| Unexpected error during registration instead of per-field validation | |
link | ||
| Index number in regex pattern error message starts not from zero | Won't fix: link | link | ||
| Html validation errors on Spam protection page | |
link |
- Testing discovered
-
JC-2404 Html validation errors on Spam protection page
-
- Open
-