mirror of
https://github.com/discourse/discourse.git
synced 2026-08-11 13:35:20 -05:00
FEATURE: Add 'Advanced Test' for admin panel.
This commit is contained in:
committed by
Régis Hanol
parent
1a4f592749
commit
56890efd7a
@@ -3413,6 +3413,13 @@ en:
|
||||
settings: "Settings"
|
||||
templates: "Templates"
|
||||
preview_digest: "Preview Summary"
|
||||
advanced_test:
|
||||
title: "Advanced Test"
|
||||
desc: "See how Discourse processes recieved emails. To be able to correctly process the email, please paste below the whole original email message."
|
||||
email: "Original message"
|
||||
run: "Run Test"
|
||||
text: "Selected Text Body"
|
||||
elided: "Elided Text"
|
||||
sending_test: "Sending test Email..."
|
||||
error: "<b>ERROR</b> - %{server_error}"
|
||||
test_error: "There was a problem sending the test email. Please double-check your mail settings, verify that your host is not blocking mail connections, and try again."
|
||||
|
||||
@@ -159,6 +159,8 @@ Discourse::Application.routes.draw do
|
||||
get "send-digest" => "email#send_digest"
|
||||
get "smtp_should_reject"
|
||||
post "handle_mail"
|
||||
get "advanced-test"
|
||||
post "advanced-test" => "email#advanced_test"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user