about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-07-23 16:48:08 -0500
committermultiple creatures <dev@multiple-creature.party>2019-07-23 16:48:08 -0500
commit3862f48c34a00691a12c6002abd88b088cf7c13e (patch)
treef1d5d2299de3d470816300221d3dba6ac8ecc30c /config
parent2a6ccce070277c8c278a2e8403f45394eec06f91 (diff)
add self-destructing roars & `live`/`lifespan` bangtags
Diffstat (limited to 'config')
-rw-r--r--config/locales/en.yml4
-rw-r--r--config/locales/simple_form.en.yml29
-rw-r--r--config/sidekiq.yml3
3 files changed, 22 insertions, 14 deletions
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 050806939..8210ef70d 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -858,7 +858,9 @@ en:
   scheduled_statuses:
     over_daily_limit: You have exceeded the limit of %{limit} scheduled roars for that day
     over_total_limit: You have exceeded the limit of %{limit} scheduled roars
-    too_soon: The scheduled date must be in the future
+    too_soon: The scheduled timeframe must be at least 5 minutes into the future
+  destructing_statuses:
+    too_soon: The destruction timeframe must be at least 5 minutes into the future
   sessions:
     activity: Last activity
     browser: Browser
diff --git a/config/locales/simple_form.en.yml b/config/locales/simple_form.en.yml
index 21b0cd39a..544b1a03e 100644
--- a/config/locales/simple_form.en.yml
+++ b/config/locales/simple_form.en.yml
@@ -118,6 +118,7 @@ en:
         setting_default_content_type_x_bbcode_markdown: BBdown
         setting_default_language: Posting language
         setting_default_privacy: Post privacy
+        setting_roar_lifespan: Auto-delete new roars after
         setting_default_local: Default to Monsterpit-only roars (in Glitch flavour)
         setting_always_local: Don't send your roars outside Monsterpit
         setting_rawr_federated: Show raw world timeline (may contain offensive content!)
@@ -156,19 +157,6 @@ en:
         setting_hide_public_profile: Hide your public profile from anonymous viewers
         setting_hide_public_outbox: Hide your public ActivityPub outbox (affects discoverability)
         setting_max_public_history: Limit history of roars on public profile to
-        setting_max_public_history_1: 1 day
-        setting_max_public_history_3: 3 days
-        setting_max_public_history_6: 6 days
-        setting_max_public_history_7: 1 week
-        setting_max_public_history_14: 2 weeks
-        setting_max_public_history_30: 6 weeks
-        setting_max_public_history_60: 2 months
-        setting_max_public_history_90: 3 months
-        setting_max_public_history_180: 6 months
-        setting_max_public_history_365: 1 year
-        setting_max_public_history_730: 2 years
-        setting_max_public_history_1095: 3 years
-        setting_max_public_history_2190: 6 years
         setting_noindex: Opt-out of search engine indexing
         setting_reduce_motion: Reduce motion in animations
         setting_show_application: Disclose application used to send roars
@@ -180,6 +168,21 @@ en:
         username: Username
         username_or_email: Username or Email
         whole_word: Whole word
+      lifespan:
+        '0': No limit
+        1: 1 day
+        3: 3 days
+        6: 6 days
+        7: 1 week
+        14: 2 weeks
+        30: 6 weeks
+        60: 2 months
+        90: 3 months
+        180: 6 months
+        365: 1 year
+        730: 2 years
+        1095: 3 years
+        2190: 6 years
       featured_tag:
         name: Hashtag
       interactions:
diff --git a/config/sidekiq.yml b/config/sidekiq.yml
index 6ebe450b0..1ab523efb 100644
--- a/config/sidekiq.yml
+++ b/config/sidekiq.yml
@@ -9,6 +9,9 @@
   scheduled_statuses_scheduler:
     every: '5m'
     class: Scheduler::ScheduledStatusesScheduler
+  destructing_statuses_scheduler:
+    every: '1m'
+    class: Scheduler::DestructingStatusesScheduler
   media_cleanup_scheduler:
     cron: '<%= Random.rand(0..59) %> <%= Random.rand(3..5) %> * * *'
     class: Scheduler::MediaCleanupScheduler