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
78 lines
4.1 KiB
HTML
78 lines
4.1 KiB
HTML
{% extends "zerver/base.html" %}
|
|
{% set entrypoint = "dev-email-log" %}
|
|
|
|
{% block title %}
|
|
<title>Email log | Zulip Dev</title>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="container" id="dev-email-log-container">
|
|
<div class="dev-email-log-header">
|
|
<div class="dev-email-log-actions">
|
|
All emails sent in the Zulip development environment are logged here. <a href="/emails/clear">Clear this log</a>
|
|
| <a href="/emails/generate">Manually generate most emails</a>
|
|
| <a href="#" class="open-forward-email-modal">Forward emails to an email account</a>
|
|
</div>
|
|
<div class="dev-email-log-text-only">
|
|
<label>
|
|
<input type="checkbox" autocomplete="off" id="toggle"/>
|
|
<strong>Show text only version</strong>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
<div class="dev-email-log-content">
|
|
{{ log |safe }}
|
|
</div>
|
|
<div id="forward_email_modal" class="micromodal" aria-hidden="true">
|
|
<div class="modal__overlay" tabindex="-1">
|
|
<div class="modal__container" role="dialog" aria-modal="true" aria-labelledby="forward_email_modal_label">
|
|
<header class="modal__header">
|
|
<div class="modal__header-content">
|
|
<h1 id="forward_email_modal_label" class="modal__title dialog_heading">
|
|
{{ _('Forward emails to an email account') }}
|
|
</h1>
|
|
</div>
|
|
<button type="button" class="modal__close" aria-label="{{ _('Close modal') }}" tabindex="0" data-micromodal-close>
|
|
<i class="zulip-icon zulip-icon-close" aria-hidden="true"></i>
|
|
</button>
|
|
</header>
|
|
<main class="modal__content">
|
|
<div class="input-group">
|
|
<form id="smtp_form">
|
|
{{ csrf_input }}
|
|
<div class="dev-forward-email-alert" id="smtp_form_status">
|
|
Updated successfully.
|
|
</div>
|
|
<label for="forward">
|
|
Forwards all emails sent in the development environment to an external mail account.
|
|
</label>
|
|
<label class="radio">
|
|
<input name="forward" type="radio" value="enabled" {% if forward_address %}checked{% endif %}/>Yes
|
|
</label>
|
|
<label class="radio">
|
|
<input name="forward" type="radio" value="disabled" {% if not forward_address %}checked{% endif %}/>No
|
|
</label>
|
|
<div id="forward_address_sections" {% if not forward_address %}class="hide"{% endif %} >
|
|
<label for="forward_address"><strong>Address to which emails should be forwarded</strong></label>
|
|
<input type="text" id="address" name="forward_address" placeholder="eg: your-email@example.com" value="{{forward_address}}"/>
|
|
</div>
|
|
<div class="dev-forward-email-alert">
|
|
You must set up SMTP as described
|
|
<a target="_blank" rel="noopener noreferrer" href="https://zulip.readthedocs.io/en/latest/subsystems/email.html#development-and-testing"> here</a>
|
|
first before enabling this.
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</main>
|
|
<footer class="modal__footer">
|
|
<button class="modal__button dialog_exit_button" aria-label="{{ '(Close this dialog window)' }}" data-micromodal-close>{{ _('Close') }}</button>
|
|
<button class="modal__button dialog_submit_button">
|
|
<span>{{ _('Update') }}</span>
|
|
</button>
|
|
</footer>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|