about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-08-01 21:28:23 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:45:17 -0500
commit041243a3c94c0bb72e3dfccd98e16ab5de9ec2f1 (patch)
tree1bc00183df2347f24e81e83edb494680fc0955e2 /config
parent3e57d03573d267e54da66effdd502b3372f4bbd9 (diff)
[Feature, Partial] Add backend support for additional publishing and customization options
Diffstat (limited to 'config')
-rw-r--r--config/locales/en-MP.yml16
-rw-r--r--config/locales/simple_form.en-MP.yml8
-rw-r--r--config/routes.rb3
3 files changed, 27 insertions, 0 deletions
diff --git a/config/locales/en-MP.yml b/config/locales/en-MP.yml
index b7532435f..be4be53e2 100644
--- a/config/locales/en-MP.yml
+++ b/config/locales/en-MP.yml
@@ -64,6 +64,8 @@ en-MP:
         desc_html: Display staff badges on profiles
   appearance:
     toot_layout: Roar layout
+    custom_css: Custom CSS
+    custom_css_error: "There are problems with the above CSS that must be fixed before it can be applied:"    
   auth:
     description:
       prefix_invited_by_user: "@%{name} invites you to join Monsterpit!"
@@ -91,6 +93,8 @@ en-MP:
       body: 'Your roar was boosted by %{name}:'
       subject: "%{name} boosted your roar"
       title: New roar
+  preferences:
+    advanced_publishing: Advanced publishing options
   remote_interaction:
     favourite:
       proceed: Proceed to admire
@@ -117,6 +121,18 @@ en-MP:
       privacy_html: These options allow you to adjust how much information is visible on your public profile on Monsterpit.  <strong>Be aware that other servers you send your roars to have their own profile systems and may not honor these options.  You will need to use <em>followers-only</em> or <em>direct</em> privacy for roars you do not want displayed in other servers' public profiles.</strong>
       advanced_privacy: Advanced privacy
       advanced_privacy_html: These options can increase your privacy at the expense of compatability with other servers. <strong>They can potentially cause roars to not be delivered to some of your followers.  Only enable them if you're fully aware of their side effects.</strong>
+  timer:
+    '0': Never
+    5: 5 minutes
+    10: 10 minutes
+    15: 15 minutes
+    30: 30 minutes
+    60: 1 hour
+    120: 2 hours
+    180: 3 hours
+    360: 6 hours
+    720: 12 hours
+    1440: 1 day
   user_mailer:
     warning:
       explanation:
diff --git a/config/locales/simple_form.en-MP.yml b/config/locales/simple_form.en-MP.yml
index 71f498c68..dc06e9fb3 100644
--- a/config/locales/simple_form.en-MP.yml
+++ b/config/locales/simple_form.en-MP.yml
@@ -52,9 +52,17 @@ en-MP:
         setting_expand_spoilers: Always expand roars marked with content warnings
         setting_favourite_modal: Show confirmation dialog before admiring (applies to Glitch flavour only)
         setting_manual_publish: Manually publish roars
+        setting_publish_in: Auto-publish
         setting_show_application: Disclose application used to send roars
+        setting_style_css_profile: Custom CSS for profile page
+        setting_style_css_webapp: Custom CSS for web interface
         setting_style_dashed_nest: Use dashed nest level indicators
         setting_style_underline_a: Underline hyperlinks
+        setting_boost_every: Automatically queue and space out boosts
+        setting_boost_jitter: Add a random delay up to
+        setting_boost_random: In random order
+        setting_unpublish_delete: Delete after unpublishing
+        setting_unpublish_in: Then unpublish after
         setting_use_pending_items: Relax mode
         show_replies: Show replies on profile
         show_unlisted: Show unlisted roars to anonymous visitors
diff --git a/config/routes.rb b/config/routes.rb
index fd43f9c8c..4702e766b 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -35,6 +35,9 @@ Rails.application.routes.draw do
   get 'intent', to: 'intents#show'
   get 'custom.css', to: 'custom_css#show', as: :custom_css
 
+  get '/custom/:id/profile.css', to: 'user_profile_css#show', as: :user_profile_css
+  get '/custom/:id/webapp.css', to: 'user_webapp_css#show', as: :user_webapp_css
+
   resource :instance_actor, path: 'actor', only: [:show] do
     resource :inbox, only: [:create], module: :activitypub
   end