snapshot of https://github.com/zulip/zulip.git @ 48c69911c7dd4e03b20552eb3bd77ad8151c1357 (2026-09-15)
Some checks failed
Code scanning / CodeQL (push) Failing after 15s
Zulip production suite / Ubuntu 22.04 production build (push) Failing after 26s
Zulip production suite / Debian 12 production install with custom db name and user (push) Has been skipped
Zulip production suite / Ubuntu 22.04 production install and PostgreSQL upgrade with pgroonga (push) Has been skipped
Zulip production suite / Ubuntu 24.04 production install (push) Has been skipped
Zulip production suite / Ubuntu 26.04 production install (push) Has been skipped
Zulip production suite / Debian 13 production install (push) Has been skipped
Zulip production suite / 7.0 Version Upgrade (push) Has been skipped
Zulip production suite / 8.0 Version Upgrade (push) Has been skipped
Zulip production suite / 6.0 Version Upgrade (push) Has been skipped
Zulip production suite / 10.0 Version Upgrade (push) Has been skipped
Zulip production suite / 9.0 Version Upgrade (push) Has been skipped
Zulip production suite / 12.0 Version Upgrade (push) Has been skipped
Zulip production suite / 11.0 Version Upgrade (push) Has been skipped
GitHub Actions Security Analysis with zizmor / zizmor (push) Failing after 3s
Zulip CI / Debian 12 (Python 3.11, backend + documentation) (push) Failing after 26s
Zulip CI / Ubuntu 22.04 (Python 3.10, backend + frontend) (push) Failing after 3s
Zulip CI / Ubuntu 24.04 (Python 3.12, backend) (push) Failing after 25s
Zulip CI / Ubuntu 26.04 (Python 3.14, backend) (push) Failing after 25s
Zulip CI / Debian 13 (Python 3.13, backend) (push) Failing after 28s
Zulip production suite / Required jobs (push) Has been cancelled
Zulip CI / Required jobs (push) Has been cancelled
API Documentation Update Check / check-feature-level-updated (push) Has been cancelled
API Documentation Update Check / notify-if-api-docs-changed (push) Has been cancelled
Some checks failed
Code scanning / CodeQL (push) Failing after 15s
Zulip production suite / Ubuntu 22.04 production build (push) Failing after 26s
Zulip production suite / Debian 12 production install with custom db name and user (push) Has been skipped
Zulip production suite / Ubuntu 22.04 production install and PostgreSQL upgrade with pgroonga (push) Has been skipped
Zulip production suite / Ubuntu 24.04 production install (push) Has been skipped
Zulip production suite / Ubuntu 26.04 production install (push) Has been skipped
Zulip production suite / Debian 13 production install (push) Has been skipped
Zulip production suite / 7.0 Version Upgrade (push) Has been skipped
Zulip production suite / 8.0 Version Upgrade (push) Has been skipped
Zulip production suite / 6.0 Version Upgrade (push) Has been skipped
Zulip production suite / 10.0 Version Upgrade (push) Has been skipped
Zulip production suite / 9.0 Version Upgrade (push) Has been skipped
Zulip production suite / 12.0 Version Upgrade (push) Has been skipped
Zulip production suite / 11.0 Version Upgrade (push) Has been skipped
GitHub Actions Security Analysis with zizmor / zizmor (push) Failing after 3s
Zulip CI / Debian 12 (Python 3.11, backend + documentation) (push) Failing after 26s
Zulip CI / Ubuntu 22.04 (Python 3.10, backend + frontend) (push) Failing after 3s
Zulip CI / Ubuntu 24.04 (Python 3.12, backend) (push) Failing after 25s
Zulip CI / Ubuntu 26.04 (Python 3.14, backend) (push) Failing after 25s
Zulip CI / Debian 13 (Python 3.13, backend) (push) Failing after 28s
Zulip production suite / Required jobs (push) Has been cancelled
Zulip CI / Required jobs (push) Has been cancelled
API Documentation Update Check / check-feature-level-updated (push) Has been cancelled
API Documentation Update Check / notify-if-api-docs-changed (push) Has been cancelled
This commit is contained in:
24
templates/confirmation/confirm_email_change.html
Normal file
24
templates/confirmation/confirm_email_change.html
Normal file
@@ -0,0 +1,24 @@
|
||||
{% extends "zerver/portico.html" %}
|
||||
|
||||
{% block title %}
|
||||
<title>{{ _("Email changed") }} | Zulip</title>
|
||||
{% endblock %}
|
||||
|
||||
{% block portico_content %}
|
||||
|
||||
<div class="app confirm-email-change-page flex full-page">
|
||||
<div class="inline-block new-style">
|
||||
<div class="lead">
|
||||
<h1 class="get-started">{{ _('Email changed!') }}</h1>
|
||||
</div>
|
||||
|
||||
<div class="app-main white-box">
|
||||
{% trans %}
|
||||
This confirms that the email address for your Zulip account has changed
|
||||
from {{ old_email_html_tag }} to {{ new_email_html_tag }}
|
||||
{% endtrans %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
26
templates/confirmation/confirm_preregistrationuser.html
Normal file
26
templates/confirmation/confirm_preregistrationuser.html
Normal file
@@ -0,0 +1,26 @@
|
||||
{% extends "zerver/base.html" %}
|
||||
{% set entrypoint = "redirect-to-post" %}
|
||||
|
||||
{% block title %}
|
||||
<title>{{ _("Confirming your email address") }} | Zulip</title>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
{#
|
||||
This template is referenced by the confirmation code and does not have the
|
||||
requisite context to make a useful signup form. Therefore, we immediately
|
||||
post to another view which executes in our code to produce the desired form.
|
||||
#}
|
||||
|
||||
<form id="register" class="redirect-to-post-form" action="{{ registration_url }}" method="post">
|
||||
{{ csrf_input }}
|
||||
<input type="hidden" value="{{ key }}" name="key"/>
|
||||
<input type="hidden" value="1" name="from_confirmation"/>
|
||||
<input type="hidden" value="{% if full_name %}{{ full_name }}{% endif %}" name="full_name"/>
|
||||
{% if next %}
|
||||
<input type="hidden" value="{{ next }}" name="next"/>
|
||||
{% endif %}
|
||||
</form>
|
||||
|
||||
{% endblock %}
|
||||
19
templates/confirmation/link_does_not_exist.html
Normal file
19
templates/confirmation/link_does_not_exist.html
Normal file
@@ -0,0 +1,19 @@
|
||||
{% extends "zerver/portico_error_pages/portico_error_page.html" %}
|
||||
|
||||
{% block title %}
|
||||
<title>{{ _("Confirmation link does not exist") }} | Zulip</title>
|
||||
{% endblock %}
|
||||
|
||||
{% block error_page_content %}
|
||||
<img src="{{ static('images/errors/400art.svg') }}" alt=""/>
|
||||
<div class="errorbox">
|
||||
<div class="errorcontent">
|
||||
<h1 class="lead">{{ _("Whoops. We couldn't find your confirmation link in the system.") }}</h1>
|
||||
<p>
|
||||
{% trans %}
|
||||
Anyway, shoot us a line at {{ support_email_html_tag }} and we'll get this resolved shortly.
|
||||
{% endtrans %}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
15
templates/confirmation/link_expired.html
Normal file
15
templates/confirmation/link_expired.html
Normal file
@@ -0,0 +1,15 @@
|
||||
{% extends "zerver/portico_error_pages/portico_error_page.html" %}
|
||||
|
||||
{% block title %}
|
||||
<title>{{ _("Confirmation link expired or deactivated") }} | Zulip</title>
|
||||
{% endblock %}
|
||||
|
||||
{% block error_page_content %}
|
||||
<img class="hourglass-img" src="{{ static('images/errors/timeout_hourglass.png') }}" alt=""/>
|
||||
<div class="errorbox">
|
||||
<div class="errorcontent">
|
||||
<h1 class="lead">{{ _("Whoops. The confirmation link has expired or been deactivated.") }}</h1>
|
||||
<p>{{ _("Please contact your organization administrator for a new link.") }}</p>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
20
templates/confirmation/link_malformed.html
Normal file
20
templates/confirmation/link_malformed.html
Normal file
@@ -0,0 +1,20 @@
|
||||
{% extends "zerver/portico_error_pages/portico_error_page.html" %}
|
||||
|
||||
{% block title %}
|
||||
<title>{{ _("Confirmation link malformed") }} | Zulip</title>
|
||||
{% endblock %}
|
||||
|
||||
{% block error_page_content %}
|
||||
<img src="{{ static('images/errors/500art.svg') }}" alt=""/>
|
||||
<div class="errorbox">
|
||||
<div class="errorcontent">
|
||||
<h1 class="lead">{{ _("Whoops. The confirmation link is malformed.") }}</h1>
|
||||
<p>{{ _("Make sure you copied the link correctly in to your browser. If you're still encountering this page, it's probably our fault. We're sorry.") }}</p>
|
||||
<p>
|
||||
{% trans %}
|
||||
Anyway, shoot us a line at {{ support_email_html_tag }} and we'll get this resolved shortly.
|
||||
{% endtrans %}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
28
templates/confirmation/redirect_to_post.html
Normal file
28
templates/confirmation/redirect_to_post.html
Normal file
@@ -0,0 +1,28 @@
|
||||
{% extends "zerver/base.html" %}
|
||||
{% set entrypoint = "redirect-to-post" %}
|
||||
|
||||
{% block title %}
|
||||
<title>{{ _("Confirming your email address") }} | Zulip</title>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
{#
|
||||
The purpose of this is to be an intermediate page, served upon GET requests
|
||||
to confirmation links. We simply serve a form which combined with some automatically
|
||||
executed JavaScript code will immediately POST the confirmation key to the intended
|
||||
endpoint.
|
||||
|
||||
This allows us to avoid triggering the action which is being confirmed via a mere
|
||||
GET request.
|
||||
|
||||
This largely duplicates functionality and code with confirm_preregistrationuser.html.
|
||||
We should find a way to unify these.
|
||||
#}
|
||||
|
||||
<form id="redirect-to-post-form" class="redirect-to-post-form" action="{{ target_url }}" method="post">
|
||||
{{ csrf_input }}
|
||||
<input type="hidden" value="{{ key }}" name="key"/>
|
||||
</form>
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user