FEATURE: Anonymize User. A way to remove a user but keep their topics and posts.

This commit is contained in:
Neil Lalonde
2015-03-06 16:44:54 -05:00
parent a68512bebf
commit 608647d02f
16 changed files with 401 additions and 100 deletions

View File

@@ -1912,6 +1912,7 @@ en:
delete_topic: "delete topic"
delete_post: "delete post"
impersonate: "impersonate"
anonymize_user: "anonymize user"
screened_emails:
title: "Screened Emails"
description: "When someone tries to create a new account, the following email addresses will be checked and the registration will be blocked, or some other action performed."
@@ -2048,6 +2049,11 @@ en:
approve_success: "User approved and email sent with activation instructions."
approve_bulk_success: "Success! All selected users have been approved and notified."
time_read: "Read Time"
anonymize: "Anonymize User"
anonymize_confirm: "Are you SURE you want to anonymize this account? This will change the username and email, and reset all profile information."
anonymize_yes: "Yes, anonymize this account"
anonymize_successful: "The user was anonymized successfully."
anonymize_failed: "There was a problem anonymizing the account."
delete: "Delete User"
delete_forbidden_because_staff: "Admins and moderators can't be deleted."
delete_posts_forbidden_because_staff: "Can't delete all posts of admins and moderators."

View File

@@ -96,6 +96,7 @@ Discourse::Application.routes.draw do
get "badges"
get "leader_requirements" => "users#tl3_requirements"
get "tl3_requirements"
put "anonymize"
end