From 05e4795683c436264fe497b7f98c4f93b990881a Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Fri, 23 Apr 2021 18:11:31 +1000 Subject: Remove additional mentions of persona in templates and docs. --- mediagoblin/plugins/basic_auth/README.rst | 3 +-- mediagoblin/plugins/openid/README.rst | 3 +-- mediagoblin/templates/mediagoblin/base.html | 27 ++++------------------ .../templates/mediagoblin/bits/body_end.html | 2 -- .../mediagoblin/bits/frontpage_welcome.html | 6 +---- 5 files changed, 7 insertions(+), 34 deletions(-) diff --git a/mediagoblin/plugins/basic_auth/README.rst b/mediagoblin/plugins/basic_auth/README.rst index 87a7b16f..04bfafa0 100644 --- a/mediagoblin/plugins/basic_auth/README.rst +++ b/mediagoblin/plugins/basic_auth/README.rst @@ -7,8 +7,7 @@ The basic_auth plugin is enabled by default in mediagoblin.ini. This plugin provides basic username and password authentication for GNU MediaGoblin. -This plugin can be enabled alongside :ref:`openid-chapter` and -:ref:`persona-chapter`. +This plugin can be enabled alongside :ref:`openid-chapter`. Set up the basic_auth plugin ============================ diff --git a/mediagoblin/plugins/openid/README.rst b/mediagoblin/plugins/openid/README.rst index e2792d9a..b6368db3 100644 --- a/mediagoblin/plugins/openid/README.rst +++ b/mediagoblin/plugins/openid/README.rst @@ -7,8 +7,7 @@ The OpenID plugin allows user to login to your GNU MediaGoblin instance using their OpenID URL. -This plugin can be enabled alongside :ref:`basic_auth-chapter` and -:ref:`persona-chapter`. +This plugin can be enabled alongside :ref:`basic_auth-chapter`. .. note:: When :ref:`basic_auth-chapter` is enabled alongside this OpenID plugin, and diff --git a/mediagoblin/templates/mediagoblin/base.html b/mediagoblin/templates/mediagoblin/base.html index 9b0b7168..4753f6cf 100644 --- a/mediagoblin/templates/mediagoblin/base.html +++ b/mediagoblin/templates/mediagoblin/base.html @@ -102,28 +102,16 @@ class="button_action_highlight"> {% trans %}Verify your email!{% endtrans %} or {% trans %}log out{% endtrans %} {% elif request.user and request.user.is_banned() %} {% trans %}log out{% endtrans %} {% endif %} {%- elif auth %} {%- trans %}Log in{% endtrans -%} @@ -150,11 +138,7 @@ · {% template_hook("blog_dashboard_home") %} {% trans %}Log out{% endtrans %}

@@ -194,9 +178,6 @@ {% include "mediagoblin/utils/messages.html" %} {% block mediagoblin_content %} {% endblock mediagoblin_content %} - {% if csrf_token is defined %} - {% template_hook("persona_form") %} - {% endif %} diff --git a/mediagoblin/templates/mediagoblin/bits/body_end.html b/mediagoblin/templates/mediagoblin/bits/body_end.html index c8f5e2d6..bb7b9762 100644 --- a/mediagoblin/templates/mediagoblin/bits/body_end.html +++ b/mediagoblin/templates/mediagoblin/bits/body_end.html @@ -15,5 +15,3 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -#} - -{% template_hook("persona_end") %} diff --git a/mediagoblin/templates/mediagoblin/bits/frontpage_welcome.html b/mediagoblin/templates/mediagoblin/bits/frontpage_welcome.html index ec53159f..b3333e47 100644 --- a/mediagoblin/templates/mediagoblin/bits/frontpage_welcome.html +++ b/mediagoblin/templates/mediagoblin/bits/frontpage_welcome.html @@ -28,11 +28,7 @@ {% if allow_registration %}

{% trans %}Don't have one yet? It's easy!{% endtrans %}

Create an account at this site or -- cgit v1.2.3