- Step 2: Enter the six-digit code generated in the authenticator app and your Drama account password.
+ Step 2: Enter the six-digit code generated in the authenticator app and your {{"SITE_NAME" | app_config}} account password.
@@ -47,7 +47,7 @@
- To disable two-step login, please enter your Drama account password and the 6-digit code generated in your authentication app. If you no longer have your two-step device, click here.
+ To disable two-step login, please enter your {{"SITE_NAME" | app_config}} account password and the 6-digit code generated in your authentication app. If you no longer have your two-step device, click here.
diff --git a/drama/templates/admin/admin_home.html b/drama/templates/admin/admin_home.html
index 72ac852ac..09358d5c8 100644
--- a/drama/templates/admin/admin_home.html
+++ b/drama/templates/admin/admin_home.html
@@ -1,8 +1,8 @@
{% extends "default.html" %}
{% block title %}
-Drama
-
+{{"SITE_NAME" | app_config}}
+
{% endblock %}
{% block content %}
diff --git a/drama/templates/admin/alt_votes.html b/drama/templates/admin/alt_votes.html
index bcbae9b4d..f3fac13dd 100644
--- a/drama/templates/admin/alt_votes.html
+++ b/drama/templates/admin/alt_votes.html
@@ -1,8 +1,8 @@
{% extends "default.html" %}
{% block title %}
-Drama
-
+{{"SITE_NAME" | app_config}}
+
{% endblock %}
{% block content %}
diff --git a/drama/templates/admin/app.html b/drama/templates/admin/app.html
index ff521ec0c..d08b27b97 100644
--- a/drama/templates/admin/app.html
+++ b/drama/templates/admin/app.html
@@ -2,7 +2,7 @@
{% block title %}
API App Administration
-
+
{% endblock %}
{% block content %}
diff --git a/drama/templates/admin/app_data.html b/drama/templates/admin/app_data.html
index 891fa917e..5ca4fba17 100644
--- a/drama/templates/admin/app_data.html
+++ b/drama/templates/admin/app_data.html
@@ -1,8 +1,8 @@
{% extends "default.html" %}
{% block title %}
-Drama
-
+{{"SITE_NAME" | app_config}}
+
{% endblock %}
{% block content %}
diff --git a/drama/templates/admin/apps.html b/drama/templates/admin/apps.html
index 8afaac3fc..10340e793 100644
--- a/drama/templates/admin/apps.html
+++ b/drama/templates/admin/apps.html
@@ -2,7 +2,7 @@
{% block title %}
API App Administration
-
+
{% endblock %}
{% block content %}
diff --git a/drama/templates/admin/content_stats.html b/drama/templates/admin/content_stats.html
index bf3104a8e..af11e57eb 100644
--- a/drama/templates/admin/content_stats.html
+++ b/drama/templates/admin/content_stats.html
@@ -1,8 +1,8 @@
{% extends "default.html" %}
{% block title %}
-Drama
-
+{{"SITE_NAME" | app_config}}
+
{% endblock %}
{% block content %}
diff --git a/drama/templates/admin/flagged_posts.html b/drama/templates/admin/flagged_posts.html
index ecd1eb5d7..7c5040fa6 100644
--- a/drama/templates/admin/flagged_posts.html
+++ b/drama/templates/admin/flagged_posts.html
@@ -64,7 +64,7 @@
{% block title %}
Flagged Posts
-
+
{% endblock %}
{% block content %}
diff --git a/drama/templates/admin/image_posts.html b/drama/templates/admin/image_posts.html
index 57a60be1f..f633ad0ab 100644
--- a/drama/templates/admin/image_posts.html
+++ b/drama/templates/admin/image_posts.html
@@ -36,7 +36,7 @@
{% block title %}
Image feed
-
+
{% endblock %}
diff --git a/drama/templates/admin/manage_domain.html b/drama/templates/admin/manage_domain.html
index 2f679f732..6b1aae07d 100644
--- a/drama/templates/admin/manage_domain.html
+++ b/drama/templates/admin/manage_domain.html
@@ -1,8 +1,8 @@
{% extends "default.html" %}
{% block title %}
-Drama
-
+{{"SITE_NAME" | app_config}}
+
{% endblock %}
{% block content %}
diff --git a/drama/templates/admin/removed_posts.html b/drama/templates/admin/removed_posts.html
index dd550af72..62eb6b449 100644
--- a/drama/templates/admin/removed_posts.html
+++ b/drama/templates/admin/removed_posts.html
@@ -3,7 +3,7 @@
{% block title %}
Removed Content
-
+
{% endblock %}
{% block content %}
diff --git a/drama/templates/api.html b/drama/templates/api.html
index f0deca5b7..ced2dff51 100644
--- a/drama/templates/api.html
+++ b/drama/templates/api.html
@@ -1,22 +1,23 @@
{% extends "default.html" %}
{% block title %}
-Drama - API
-
+{{"SITE_NAME" | app_config}} - API
+
{% endblock %}
{% block content %}
+{{"SITE_NAME" | app_config}}
{% filter markdown %}
# OAuth2
-The OAuth2 authorization flow is used to enable users to authorize third-party applications to access their Drama account without having to provide their login information to the application.
+The OAuth2 authorization flow is used to enable users to authorize third-party applications to access their {{"SITE_NAME" | app_config}} account without having to provide their login information to the application.
This page explains how to obtain API application keys, how to prompt a user for authorization, and how to obtain and use access tokens.
## Step 1: Create your Application
-In the [apps tab of Drama settings](/settings/apps), fill in and submit the form to request new API keys. You will need:
+In the [apps tab of {{"SITE_NAME" | app_config}} settings](/settings/apps), fill in and submit the form to request new API keys. You will need:
* an application name
* a Redirect URI, or a comma-separated list of redirect URIs. May not use HTTP unless using localhost (use HTTPS instead).
@@ -24,7 +25,7 @@ In the [apps tab of Drama settings](/settings/apps), fill in and submit the form
Don't worry too much about accuracy; you will be able to change all of these later.
-Drama administrators will review and approve or deny your request for API keys. You'll know when your request has been approved when a client ID and secret appear in your application information.
+{{"SITE_NAME" | app_config}} administrators will review and approve or deny your request for API keys. You'll know when your request has been approved when a client ID and secret appear in your application information.
DO NOT reveal your Client Secret. Anyone with your Client Secret will be able to pretend to be you. You are responsible for keeping your Client Secret a secret!
@@ -38,11 +39,11 @@ Send your user to `https://rdrama.net/oauth/authorize`, with the following URL p
* `scope` - A comma-separated list of permission scopes that you are requesting. Valid scopes are: `identity`, `create`, `read`, `update`, `delete` and `vote`.
* `permanent` - optional. Set to `true` if you are requesting indefinite access. Omit if not.
-If done correctly, the user will see that your application wants to access their Drama account, and be prompted to approve or deny the request.
+If done correctly, the user will see that your application wants to access their {{"SITE_NAME" | app_config}} account, and be prompted to approve or deny the request.
## Step 3: Catch the redirect
-The user clicks "Authorize". Drama will redirect the user's browser to GET the designated redirect URI. The following URL parameters will be included, which your server should process:
+The user clicks "Authorize". {{"SITE_NAME" | app_config}} will redirect the user's browser to GET the designated redirect URI. The following URL parameters will be included, which your server should process:
* `code` - a **single-use** authorization code.
* `state` - The state token from earlier.
@@ -89,11 +90,11 @@ If everything is good, we will respond with the following (example) JSON body:
}
-Store the access and refresh tokens. You should also store expiration timestamp and the scopes list, so that you pre-emptively avoid sending requests to Drama that won't be accepted.
+Store the access and refresh tokens. You should also store expiration timestamp and the scopes list, so that you pre-emptively avoid sending requests to {{"SITE_NAME" | app_config}} that won't be accepted.
## Step 5: Using the Access Token
-To use the access token, include the following header in subsequent API requests to Drama: `Authorization: Bearer access_token_goes_here`
+To use the access token, include the following header in subsequent API requests to {{"SITE_NAME" | app_config}}: `Authorization: Bearer access_token_goes_here`
Python example, presuming that the application has obtained a valid `read` authorization:
@@ -101,7 +102,7 @@ Python example, presuming that the application has obtained a valid `read` autho
import requests
headers={"Authorization": "Bearer " + access_token,
- "User-Agent": "Drama Reader v1 by @carpathianflorist"}
+ "User-Agent": "{{"SITE_NAME" | app_config}} Reader v1 by @carpathianflorist"}
url="/"
r=requests.get(url, headers=headers)
diff --git a/drama/templates/authforms.html b/drama/templates/authforms.html
index 24f87bc8b..0bc0c834c 100644
--- a/drama/templates/authforms.html
+++ b/drama/templates/authforms.html
@@ -5,10 +5,10 @@
-
+
- {% block pagetitle %}Drama - the open, free-speech social platform{% endblock %}
+ {% block pagetitle %}{{"SITE_NAME" | app_config}} - the open, free-speech social platform{% endblock %}
@@ -23,7 +23,7 @@
integrity="sha384-L469/ELG4Bg9sDQbl0hvjMq8pOcqFgkSpwhwnslzvVVGpDjYJ6wJJyYjvG3u8XW7"
crossorigin="anonymous">
-
+
{% if v %}
{% if v.agendaposter %}{% elif v.css %}{% endif %}
@@ -57,7 +57,7 @@
Your comment will be removed everywhere on Drama. This action cannot be undone.
+
Your comment will be removed everywhere on {{"SITE_NAME" | app_config}}. This action cannot be undone.
-
Please note that Drama will never ask you for your email, password, or two-factor token via email, text, or phone.
+
Please note that {{"SITE_NAME" | app_config}} will never ask you for your email, password, or two-factor token via email, text, or phone.
diff --git a/drama/templates/email/default.html b/drama/templates/email/default.html
index be965acb4..ca3c5bf0a 100644
--- a/drama/templates/email/default.html
+++ b/drama/templates/email/default.html
@@ -433,7 +433,7 @@
- {% block preheader %}Thanks for joining Drama! Please take a sec to verify the email you used to sign up.{% endblock %}
+ {% block preheader %}Thanks for joining {{"SITE_NAME" | app_config}}! Please take a sec to verify the email you used to sign up.{% endblock %}
diff --git a/drama/templates/email/email_change.html b/drama/templates/email/email_change.html
index 2a36d3161..fa4da193e 100644
--- a/drama/templates/email/email_change.html
+++ b/drama/templates/email/email_change.html
@@ -2,10 +2,10 @@
{% block title %}Verify Your Email{% endblock %}
-{% block preheader %}Verify your new Drama email.{% endblock %}
+{% block preheader %}Verify your new {{"SITE_NAME" | app_config}} email.{% endblock %}
{% block content %}
-
You told us you wanted to change your Drama account email. To finish this process, please verify your new email address:
+
You told us you wanted to change your {{"SITE_NAME" | app_config}} account email. To finish this process, please verify your new email address:
@@ -45,7 +45,7 @@
-
Please note that Drama will never ask you for your email, password, or two-factor token via email, text, or phone.
+
Please note that {{"SITE_NAME" | app_config}} will never ask you for your email, password, or two-factor token via email, text, or phone.
diff --git a/drama/templates/email/email_verify.html b/drama/templates/email/email_verify.html
index d7410ca62..cf1ccc720 100644
--- a/drama/templates/email/email_verify.html
+++ b/drama/templates/email/email_verify.html
@@ -1,9 +1,9 @@
{% extends "email/default.html" %}
-{% block title %}Welcome to Drama!{% endblock %}
+{% block title %}Welcome to {{"SITE_NAME" | app_config}}!{% endblock %}
{% block content %}
-
Thanks for joining Drama. We’re happy to have you on board. To get the most out of Drama, please verify your account email:
+
Thanks for joining {{"SITE_NAME" | app_config}}. We’re happy to have you on board. To get the most out of {{"SITE_NAME" | app_config}}, please verify your account email:
@@ -43,7 +43,7 @@
-
Please note that Drama will never ask you for your email, password, or two-factor token via email, text, or phone.
+
Please note that {{"SITE_NAME" | app_config}} will never ask you for your email, password, or two-factor token via email, text, or phone.
diff --git a/drama/templates/email/password_reset.html b/drama/templates/email/password_reset.html
index 4d8e58b1c..8e7d10e72 100644
--- a/drama/templates/email/password_reset.html
+++ b/drama/templates/email/password_reset.html
@@ -1,7 +1,7 @@
{% extends "email/default.html" %}
{% block title %}Reset Your Password{% endblock %}
-{% block preheader %}Reset your Drama password.{% endblock %}
+{% block preheader %}Reset your {{"SITE_NAME" | app_config}} password.{% endblock %}
{% block content %}
HI IT'S CARP AGAIN I'm like 95% sure this error means Aevann is restarting the server to apply a change. But I think that's also 520/521? What causes a 503? No one knows. Wait like a minute (maybe two) and see if it's still happening. It shouldn't. Good luck!
The username @{{u.username}} has been pre-emptively reserved for: {{u.reserved}}
-
If that's you, or if you are their authorized representative, please contact Drama staff in order to obtain access to this account.
+
If that's you, or if you are their authorized representative, please contact {{"SITE_NAME" | app_config}} staff in order to obtain access to this account.