about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2020-02-17 02:26:52 -0600
committermultiple creatures <dev@multiple-creature.party>2020-02-17 02:26:52 -0600
commit2427cced78580da729a0ac6a1dc52b2d206aa11c (patch)
treee0b703674d3a1fb523b447eb512ff0b2ac6ddd65 /config
parent8bf7e00362b4e5bf29e3841bd871590871b5257d (diff)
add a `manual_only` (manual trust only) moderation option + handle more `reject_unknown`/graylist mode caveats
Diffstat (limited to 'config')
-rw-r--r--config/locales/en.yml6
-rw-r--r--config/routes.rb2
2 files changed, 8 insertions, 0 deletions
diff --git a/config/locales/en.yml b/config/locales/en.yml
index b19150699..87deaf6e4 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -204,6 +204,8 @@ en:
       warn: Warn
       known: Mark known
       unknown: Mark unknown
+      manual_only: Manual trust
+      auto_trust: Auto trust
       web: Web
     action_logs:
       actions:
@@ -245,6 +247,8 @@ en:
         update_status: "%{name} updated roar by %{target}"
         mark_known_account: "%{name} marked %{target}'s account known"
         mark_unknown_account: "%{name} marked %{target}'s account unknown"
+        manual_only_account: "%{name} marked %{target}'s account manual trust only"
+        auto_trust_account: "%{name} marked %{target}'s account auto-trustable"
       deleted_status: "(deleted roar)"
       title: Audit log
     custom_emojis:
@@ -318,6 +322,8 @@ en:
       force_sensitive_hint: Forces all media from this domain to be marked sensitive.
       reject_unknown: Reject unknown accounts
       reject_unknown_hint: Rejects content and requests from accounts that haven't been interacted with by the community or immediate packmates.
+      manual_only: Manual trust only
+      manual_only_hint: Never automatically trust accounts from this server.
       reason: Add notes here.
       reject_media: Reject media files
       reject_media_hint: Removes locally stored media files and refuses to download any in the future. Irrelevant for suspensions
diff --git a/config/routes.rb b/config/routes.rb
index 65acaeae9..aae7e8767 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -187,6 +187,8 @@ Rails.application.routes.draw do
         post :enable
         post :mark_known
         post :mark_unknown
+        post :manual_only
+        post :auto_trust
         post :force_sensitive
         post :force_unlisted
         post :allow_public