:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
chore(templates): format Django templates with djlint (#91076)
Rafael Audibertd1589aec1756
diff --git a/.github/workflows/ci-python.yml b/.github/workflows/ci-python.ymlindex d3a82c8a0624..4499561c0210 100644--- a/.github/workflows/ci-python.yml+++ b/.github/workflows/ci-python.yml@@ -72,6 +72,9 @@ jobs:- 'tools/owners/**'- 'hogli.yaml'- 'bin/**'+ # Django templates live outside posthog/ for products, and the+ # code-quality job formats them with djlint+ - 'products/**/backend/templates/**'# Dev tools with dedicated pytest steps below- 'tools/pr-approval-agent/**'- 'products/stamphog/packages/pr-approval-agent/**'@@ -192,6 +195,14 @@ jobs:shell: bashrun: ruff format --check --diff .+ - name: Check Django template formatting+ shell: bash+ run: ./bin/hogli format:html:check++ - name: Lint Django templates+ shell: bash+ run: ./bin/hogli lint:html+- name: Check hogli manifest completenessshell: bashrun: ./bin/hogli meta:checkdiff --git a/bin/djlint.sh b/bin/djlint.shnew file mode 100644index 000000000000..5812a8340357--- /dev/null+++ b/bin/djlint.sh@@ -0,0 +1,69 @@+#!/bin/bash+# djlint runs isolated through `uv tool run` instead of from the project venv, because+# two separate things stop it being a normal dependency:+#+# * djlint >= 1.40 needs click >= 8.2, and dagster caps click below 8.2. uv resolves+# that conflict by silently picking djlint 1.39.5, which then dies at runtime on a+# click 8.2 API it expects to exist.+# * An older djlint does install, but pathspec then selects its re2 backend (google-re2+# is a posthog dependency) and djlint cannot pickle that to its worker processes, so+# any run touching more than one file dies with "cannot pickle 're2._re2.Set' object".+#+# Running the tool isolated sidesteps both and keeps the version pinned in one place.+# Everything else (profile, indent, ignored rules) lives in [tool.djlint] in pyproject.toml.+#+# hogli calls this through `bash`, so it does not depend on the executable bit.++set -uo pipefail++DJLINT_VERSION="1.44.2"++usage() {+ echo "usage: ${0##*/} (--reformat|--check|--lint) [paths...]" >&2+ exit 2+}++[ "$#" -ge 1 ] || usage+mode="$1"+shift++shopt -s nullglob+format_paths=(posthog/templates products/*/backend/templates)+shopt -u nullglob++case "$mode" in+ --reformat | --check) default_paths=("${format_paths[@]}") ;;+ # Linting is scoped to the email templates, the only tree currently clean against the+ # rule set. The rest carry pre-existing findings (hardcoded admin URLs, single-quoted+ # attributes) that want fixing on their own, not as a side effect of a formatting run.+ --lint) default_paths=(posthog/templates/email) ;;+ *) usage ;;+esac++if [ "$#" -gt 0 ]; then+ paths=("$@")+else+ paths=("${default_paths[@]}")+fi++djlint() {+ uv tool run --from "djlint==$DJLINT_VERSION" djlint "${paths[@]}" "$@"+}++if [ "$mode" != "--reformat" ]; then+ djlint "$mode"+ exit $?+fi++# A few templates need a second pass before djlint settles, so one run can leave behind+# files that --check still flags. Reformat until it reports nothing left to change, which+# keeps `format:html` and `format:html:check` in agreement. Exit 1 means "rewrote a file",+# which is success for a formatter; 2 and up are real errors.+for _ in 1 2 3; do+ djlint --reformat+ status=$?+ [ "$status" -le 1 ] || exit "$status"+ [ "$status" -eq 1 ] || break+done++exit 0diff --git a/hogli.yaml b/hogli.yamlindex d3a32e0c37ce..3db0562c725d 100644--- a/hogli.yaml+++ b/hogli.yaml@@ -19,6 +19,9 @@ config:# regenerating a stub entry on every hogli run.- phrocs- start-local-ngrok+ # Helper behind format:html / lint:html, called as `bash ./bin/djlint.sh` rather+ # than run directly, so it is not a command of its own.+ - djlint.shenv:files:- .env.development@@ -837,6 +840,15 @@ quality:lint:python:fix:cmd: ./bin/ruff.sh check --fixdescription: Fix Python code quality issues+ format:html:+ cmd: bash ./bin/djlint.sh --reformat "$@"+ description: Format Django templates+ format:html:check:+ cmd: bash ./bin/djlint.sh --check "$@"+ description: Check Django template formatting without writing+ lint:html:+ cmd: bash ./bin/djlint.sh --lint "$@"+ description: Lint Django templatesformat:markdown:cmd: pnpm exec markdownlint-cli2 --config .config/.markdownlint-cli2.jsonc --fix"$@" && pnpm exec oxfmt --no-error-on-unmatched-pattern "$@"diff --git a/package.json b/package.jsonindex 67337dcc0dab..e4d74eb80b4e 100644--- a/package.json+++ b/package.json@@ -108,6 +108,7 @@"bin/hogli format:python","uv run --no-sync ty check"],+ "{posthog/templates,products/*/backend/templates}/**/*.html": "bin/hogli format:html","*.{md,mdx}": "bin/hogli format:markdown"},"browserslist": {diff --git a/posthog/templates/500.html b/posthog/templates/500.htmlindex 7c7d05edcd52..8a843109f434 100644--- a/posthog/templates/500.html+++ b/posthog/templates/500.html@@ -1,8 +1,6 @@<!DOCTYPE html><html lang="en">- <head>- {% include "head.html" %}- </head>+ <head>{% include "head.html" %}</head><style>html, body, iframe {width: 100%;@@ -17,6 +15,6 @@}</style><body>- <iframe src="https://posthog.com/service-error"/>+ <iframe src="https://posthog.com/service-error" /></body></html>diff --git a/posthog/templates/admin/base_site.html b/posthog/templates/admin/base_site.htmlindex 3d6ef506fd1d..43a0feb99014 100644--- a/posthog/templates/admin/base_site.html+++ b/posthog/templates/admin/base_site.html@@ -5,7 +5,7 @@{% block extrastyle %}{{ block.super }}{% if is_impersonated_session %}- <style>+ <style>.impersonation-banner {background: #fff3cd;border-bottom: 2px solid #f0c000;@@ -25,16 +25,16 @@.impersonation-banner a.impersonation-stop:hover {color: #000 !important;}- </style>+ </style>{% endif %}{% endblock %}{% block header %}{% if is_impersonated_session and impersonated_user %}- <div class="impersonation-banner">- Acting as <strong>{{ user.email }}</strong> in admin while impersonating- <strong>{{ impersonated_user.email }}</strong>.- <a class="impersonation-stop" href="/admin/logout/">Stop impersonating</a>- </div>+ <div class="impersonation-banner">+ Acting as <strong>{{ user.email }}</strong> in admin while impersonating+ <strong>{{ impersonated_user.email }}</strong>.+ <a class="impersonation-stop" href="/admin/logout/">Stop impersonating</a>+ </div>{% endif %}{{ block.super }}{% endblock %}diff --git a/posthog/templates/admin/cdp/hogfunction/change_list.html b/posthog/templates/admin/cdp/hogfunction/change_list.htmlindex cf29e2c5a56a..daf271e7cf60 100644--- a/posthog/templates/admin/cdp/hogfunction/change_list.html+++ b/posthog/templates/admin/cdp/hogfunction/change_list.html@@ -1,6 +1,5 @@{% extends "admin/change_list.html" %}{% load i18n admin_urls %}-{% block object-tools-items %}{% if show_rerun_google_ads_button %}<li>diff --git a/posthog/templates/admin/cdp/hogfunction/rerun_google_ads.html b/posthog/templates/admin/cdp/hogfunction/rerun_google_ads.htmlindex 36a1fe568fd1..399987ecc689 100644--- a/posthog/templates/admin/cdp/hogfunction/rerun_google_ads.html+++ b/posthog/templates/admin/cdp/hogfunction/rerun_google_ads.html@@ -1,40 +1,43 @@{% extends "admin/base_site.html" %}{% load i18n admin_urls %}-{% block content %}-<div id="content-main">- <p>- Triggers reruns of failed invocations for every active- <code>template-google-ads</code> destination in the database. The- rerun runs asynchronously on <code>cdp-rerun-worker</code>; this form- only enqueues one wrapper job per hog function and reports which- teams they were enqueued for.- </p>- <p>- Leave <em>Dry run</em> checked for the first submission to preview- the target set. Uncheck to actually fire the reruns.- </p>- <form method="post">- {% csrf_token %}- <fieldset class="module aligned">- {% for field in form %}- <div class="form-row">- {{ field.errors }}- {{ field.label_tag }} {{ field }}- {% if field.help_text %}- <div class="help">{{ field.help_text }}</div>- {% endif %}- </div>- {% endfor %}- </fieldset>- <div class="submit-row">- <input type="submit" value="Run" class="default" name="_run">- </div>- </form>-- {% if output %}- <h2>Output</h2>- <pre style="background:#f8f8f8;border:1px solid #ddd;padding:12px;overflow:auto;max-height:600px;white-space:pre-wrap;">{{ output }}</pre>- {% endif %}-</div>+ <div id="content-main">+ <p>+ Triggers reruns of failed invocations for every active+ <code>template-google-ads</code> destination in the database. The+ rerun runs asynchronously on <code>cdp-rerun-worker</code>; this form+ only enqueues one wrapper job per hog function and reports which+ teams they were enqueued for.+ </p>+ <p>+ Leave <em>Dry run</em> checked for the first submission to preview+ the target set. Uncheck to actually fire the reruns.+ </p>+ <form method="post">+ {% csrf_token %}+ <fieldset class="module aligned">+ {% for field in form %}+ <div class="form-row">+ {{ field.errors }}+ {{ field.label_tag }} {{ field }}+ {% if field.help_text %}+ <div class="help">{{ field.help_text }}</div>+ {% endif %}+ </div>+ {% endfor %}+ </fieldset>+ <div class="submit-row">+ <input type="submit" value="Run" class="default" name="_run">+ </div>+ </form>+ {% if output %}+ <h2>Output</h2>+ <pre style="background:#f8f8f8;+ border:1px solid #ddd;+ padding:12px;+ overflow:auto;+ max-height:600px;+ white-space:pre-wrap">{{ output }}</pre>+ {% endif %}+ </div>{% endblock %}diff --git a/posthog/templates/admin/code_based_verification_bypass.html b/posthog/templates/admin/code_based_verification_bypass.htmlindex a0136ce486a3..5f0b3c941260 100644--- a/posthog/templates/admin/code_based_verification_bypass.html+++ b/posthog/templates/admin/code_based_verification_bypass.html@@ -1,9 +1,8 @@{% extends "admin/base_site.html" %}{% load i18n admin_urls static %}-{% block extrastyle %}-{{ block.super }}-<style nonce="{{ request.csp_nonce }}">+ {{ block.super }}+ <style nonce="{{ request.csp_nonce }}">.form-row { margin-bottom: 15px; margin-top: 15px; }.help { font-size: 11px; color: #666; }.submit-row { margin-top: 20px; }@@ -16,99 +15,101 @@.empty-state { color: #666; font-style: italic; padding: 12px 0; }.msg-success { background: #dfd; padding: 8px 12px; margin-bottom: 10px; border-radius: 4px; }.msg-error { background: #fdd; padding: 8px 12px; margin-bottom: 10px; border-radius: 4px; }-</style>+ </style>{% endblock %}-{% block content %}--<div id="messages"></div>--<div id="global-disable" style="margin-bottom: 30px;">- <fieldset class="module aligned">- <h2>Global email MFA disable</h2>- {% if global_disable %}- <div class="msg-error">- <strong>Email MFA is currently DISABLED for all users.</strong><br/>- Reason: {{ global_disable.reason }}<br/>- Disabled by: {{ global_disable.disabled_by }}<br/>- Disabled at: {{ global_disable.disabled_at }}<br/>- {% if global_disable.expires_in_seconds %}Auto re-enables in ~{{ global_disable.expires_in_seconds }} seconds.{% endif %}- </div>- <div class="submit-row">- <button type="button" id="reenable-btn" class="default">Re-enable email MFA now</button>- </div>- {% else %}- <p class="empty-state">Email MFA is currently enabled for all users.</p>-- <form id="disable-form">- {% csrf_token %}- <div class="form-row">- <label for="id_reason">Reason:</label>- <input type="text" name="reason" id="id_reason" required />- <p class="help">Why email MFA is being disabled. Required and stored for audit.</p>- </div>+ <div id="messages"></div>+ <div id="global-disable" style="margin-bottom: 30px;">+ <fieldset class="module aligned">+ <h2>Global email MFA disable</h2>+ {% if global_disable %}+ <div class="msg-error">+ <strong>Email MFA is currently DISABLED for all users.</strong>+ <br />+ Reason: {{ global_disable.reason }}+ <br />+ Disabled by: {{ global_disable.disabled_by }}+ <br />+ Disabled at: {{ global_disable.disabled_at }}+ <br />+ {% if global_disable.expires_in_seconds %}Auto re-enables in ~{{ global_disable.expires_in_seconds }} seconds.{% endif %}+ </div>+ <div class="submit-row">+ <button type="button" id="reenable-btn" class="default">Re-enable email MFA now</button>+ </div>+ {% else %}+ <p class="empty-state">Email MFA is currently enabled for all users.</p>+ <form id="disable-form">+ {% csrf_token %}+ <div class="form-row">+ <label for="id_reason">Reason:</label>+ <input type="text" name="reason" id="id_reason" required />+ <p class="help">Why email MFA is being disabled. Required and stored for audit.</p>+ </div>+ <div class="form-row">+ <label for="id_duration">Duration:</label>+ <input type="number"+ id="id_duration"+ min="1"+ value="6"+ style="width: 80px"+ required />+ <select id="id_duration_unit">+ <option value="60">minutes</option>+ <option value="3600" selected>hours</option>+ <option value="86400">days</option>+ </select>+ <p class="help">Auto re-enables after this. Maximum 7 days.</p>+ </div>+ <div class="submit-row">+ <input type="submit" value="Disable email MFA for all users" class="default" />+ </div>+ </form>+ {% endif %}+ </fieldset>+ </div>+ <div class="email-list">+ <fieldset class="module aligned">+ <h2>Bypassed emails (<span id="email-count">{{ bypass_emails|length }}</span>)</h2>+ <table id="email-table"+ {% if not bypass_emails %}style="display:none"{% endif %}>+ <thead>+ <tr>+ <th>Email</th>+ <th>Actions</th>+ </tr>+ </thead>+ <tbody id="email-list-body">+ {% for email in bypass_emails %}+ <tr data-email="{{ email }}">+ <td>{{ email }}</td>+ <td>+ <button type="button" class="remove-btn">Remove</button>+ </td>+ </tr>+ {% endfor %}+ </tbody>+ </table>+ <p id="empty-state"+ class="empty-state"+ {% if bypass_emails %}style="display:none"{% endif %}>No emails are currently bypassed.</p>+ </fieldset>+ </div>+ <form id="add-form" style="margin-top: 30px;">+ {% csrf_token %}+ <fieldset class="module aligned">+ <h2>Add email</h2><div class="form-row">- <label for="id_duration">Duration:</label>- <input type="number" id="id_duration" min="1" value="6" style="width: 80px;" required />- <select id="id_duration_unit">- <option value="60">minutes</option>- <option value="3600" selected>hours</option>- <option value="86400">days</option>- </select>- <p class="help">Auto re-enables after this. Maximum 7 days.</p>- </div>- <div class="submit-row">- <input type="submit" value="Disable email MFA for all users" class="default" />+ <label for="id_email">Email:</label>+ <input type="email" name="email" id="id_email" required />+ <p class="help">Email address to bypass email MFA verification</p></div>- </form>- {% endif %}- </fieldset>-</div>--<div class="email-list">- <fieldset class="module aligned">- <h2>Bypassed emails (<span id="email-count">{{ bypass_emails|length }}</span>)</h2>-- <table id="email-table" {% if not bypass_emails %}style="display:none"{% endif %}>- <thead>- <tr>- <th>Email</th>- <th>Actions</th>- </tr>- </thead>- <tbody id="email-list-body">- {% for email in bypass_emails %}- <tr data-email="{{ email }}">- <td>{{ email }}</td>- <td>- <button type="button" class="remove-btn">Remove</button>- </td>- </tr>- {% endfor %}- </tbody>- </table>- <p id="empty-state" class="empty-state" {% if bypass_emails %}style="display:none"{% endif %}>No emails are currently bypassed.</p>- </fieldset>-</div>--<form id="add-form" style="margin-top: 30px;">- {% csrf_token %}- <fieldset class="module aligned">- <h2>Add email</h2>-- <div class="form-row">- <label for="id_email">Email:</label>- <input type="email" name="email" id="id_email" required />- <p class="help">Email address to bypass email MFA verification</p>+ </fieldset>+ <div class="submit-row">+ <input type="submit" value="Add to bypass list" class="default" /></div>- </fieldset>-- <div class="submit-row">- <input type="submit" value="Add to bypass list" class="default" />- </div>-</form>--<script nonce="{{ request.csp_nonce }}">+ </form>+ <script nonce="{{ request.csp_nonce }}">const API_BASE = '/admin/api/code-based-verification-bypass/';function getCSRFToken() {@@ -263,5 +264,5 @@ if (reenableBtn) {});});}-</script>+ </script>{% endblock %}diff --git a/posthog/templates/admin/data_warehouse/externaldataschema/change_form.html b/posthog/templates/admin/data_warehouse/externaldataschema/change_form.htmlindex 3b59a01e5294..39ffc0ab4a25 100644--- a/posthog/templates/admin/data_warehouse/externaldataschema/change_form.html+++ b/posthog/templates/admin/data_warehouse/externaldataschema/change_form.html@@ -1,6 +1,5 @@{% extends "admin/change_form.html" %}{% load i18n admin_modify %}-{% block extrastyle %}{{ block.super }}<style>@@ -72,45 +71,52 @@}</style>{% endblock %}-{% block object-tools %}{{ block.super }}{# Hidden sibling forms for the partitioning + sync POST actions. They live #}{# outside the main admin <form> so they don't nest (HTML5 disallows it — #}{# nesting silently submits the outer form). The visible inputs/buttons #}{# below target these via the HTML5 `form="..."` attribute. #}- <form id="repartition-action-form" method="post" action="{{ repartition_url }}" style="display:none;">+ <form id="repartition-action-form"+ method="post"+ action="{{ repartition_url }}"+ style="display:none">{% csrf_token %}</form>- <form id="trigger-sync-action-form" method="post" action="{{ trigger_sync_url }}" style="display:none;">+ <form id="trigger-sync-action-form"+ method="post"+ action="{{ trigger_sync_url }}"+ style="display:none">{% csrf_token %}</form>- <form id="pause-schedule-action-form" method="post" action="{{ pause_schedule_url }}" style="display:none;">+ <form id="pause-schedule-action-form"+ method="post"+ action="{{ pause_schedule_url }}"+ style="display:none">{% csrf_token %}</form>- <form id="unpause-schedule-action-form" method="post" action="{{ unpause_schedule_url }}" style="display:none;">+ <form id="unpause-schedule-action-form"+ method="post"+ action="{{ unpause_schedule_url }}"+ style="display:none">{% csrf_token %}</form>- <form id="recreate-schedule-action-form" method="post" action="{{ recreate_schedule_url }}" style="display:none;">+ <form id="recreate-schedule-action-form"+ method="post"+ action="{{ recreate_schedule_url }}"+ style="display:none">{% csrf_token %}</form>{% endblock %}-{# Suppress the default bottom submit_row — we render it inside `after_field_sets` #}{# below, immediately above Partitioning & sync, so save/delete sit close to the #}{# field sets instead of below the operator panel. #}{% block submit_buttons_bottom %}{% endblock %}-{% block after_field_sets %}{{ block.super }}-- <div style="margin: 12px 0;">- {% submit_row %}- </div>-+ <div style="margin: 12px 0;">{% submit_row %}</div><fieldset class="module aligned partitioning-and-sync"><h2>Partitioning & sync</h2>-<div class="form-row partitioning-section"><h3>Current settings</h3><table class="partitioning-info">@@ -135,28 +141,28 @@<td>{{ current_partition_count|default:"None" }}</td></tr>{% if current_partition_count_override is not None %}- <tr>- <th>partition_count_override</th>- <td>{{ current_partition_count_override }} (pinned, applies on next reset)</td>- </tr>+ <tr>+ <th>partition_count_override</th>+ <td>{{ current_partition_count_override }} (pinned, applies on next reset)</td>+ </tr>{% endif %}{% if current_partition_size_override is not None %}- <tr>- <th>partition_size_override</th>- <td>{{ current_partition_size_override }} (pinned, applies on next reset)</td>- </tr>+ <tr>+ <th>partition_size_override</th>+ <td>{{ current_partition_size_override }} (pinned, applies on next reset)</td>+ </tr>{% endif %}{% if current_partition_mode_override is not None %}- <tr>- <th>partition_mode_override</th>- <td>{{ current_partition_mode_override }} (pinned, applies on next reset)</td>- </tr>+ <tr>+ <th>partition_mode_override</th>+ <td>{{ current_partition_mode_override }} (pinned, applies on next reset)</td>+ </tr>{% endif %}{% if current_partitioning_keys_override is not None %}- <tr>- <th>partitioning_keys_override</th>- <td>{{ current_partitioning_keys_override }} (pinned, applies on next reset)</td>- </tr>+ <tr>+ <th>partitioning_keys_override</th>+ <td>{{ current_partitioning_keys_override }} (pinned, applies on next reset)</td>+ </tr>{% endif %}<tr><th>partitioning_keys</th>@@ -164,7 +170,6 @@</tr></table></div>-<div class="form-row partitioning-section"><h3>Repartition & resync</h3><p class="help">@@ -183,42 +188,68 @@</p><div class="partitioning-controls"><label for="partition_mode_select">Partition mode:</label>- <select id="partition_mode_select" name="partition_mode" form="repartition-action-form" required>+ <select id="partition_mode_select"+ name="partition_mode"+ form="repartition-action-form"+ required>{% for choice in partition_mode_choices %}- <option value="{{ choice }}" {% if choice == effective_partition_mode %}selected{% endif %}>{{ choice }}</option>+ <option value="{{ choice }}"+ {% if choice == effective_partition_mode %}selected{% endif %}>{{ choice }}</option>{% endfor %}</select></div><div class="partitioning-controls" id="repartition_keys_row"><label for="repartition_keys">Partitioning key(s):</label>{% if available_columns %}- <select id="repartition_keys" name="partitioning_keys" form="repartition-action-form" multiple size="6">+ <select id="repartition_keys"+ name="partitioning_keys"+ form="repartition-action-form"+ multiple+ size="6">{% for col in available_columns %}- <option value="{{ col }}" {% if current_partition_keys and col in current_partition_keys %}selected{% endif %}>{{ col }}</option>+ <option value="{{ col }}"+ {% if current_partition_keys and col in current_partition_keys %}selected{% endif %}>{{ col }}</option>{% endfor %}</select>{% else %}- <input id="repartition_keys" name="partitioning_keys" form="repartition-action-form"- type="text" value="{% if current_partition_keys %}{{ current_partition_keys|join:',' }}{% endif %}"+ <input id="repartition_keys"+ name="partitioning_keys"+ form="repartition-action-form"+ type="text"+ value="{% if current_partition_keys %}{{ current_partition_keys|join:',' }}{% endif %}"placeholder="comma-separated column names (table not synced yet)">{% endif %}<span class="help" id="repartition_keys_hint">md5 hashes one or more keys together; datetime/numerical use a single column. Leave blank for md5 to use the table's primary keys.</span></div>- <div class="partitioning-controls" id="repartition_format_row"{% if effective_partition_mode != "datetime" %} style="display: none"{% endif %}>+ <div class="partitioning-controls"+ id="repartition_format_row"+ {% if effective_partition_mode != "datetime" %} style="display: none"{% endif %}><label for="repartition_format">Partition format:</label>- <select id="repartition_format" name="partition_format" form="repartition-action-form">+ <select id="repartition_format"+ name="partition_format"+ form="repartition-action-form">{% for choice in partition_format_choices %}- <option value="{{ choice }}" {% if choice == current_partition_format %}selected{% endif %}>{{ choice }}</option>+ <option value="{{ choice }}"+ {% if choice == current_partition_format %}selected{% endif %}>{{ choice }}</option>{% endfor %}</select></div>- <div class="partitioning-controls" id="repartition_count_row"{% if effective_partition_mode != "md5" %} style="display: none"{% endif %}>+ <div class="partitioning-controls"+ id="repartition_count_row"+ {% if effective_partition_mode != "md5" %} style="display: none"{% endif %}><label for="repartition_count">Partition count:</label>- <input id="repartition_count" name="partition_count" form="repartition-action-form"- type="number" min="1" step="1" value="{{ current_partition_count|default_if_none:'' }}"+ <input id="repartition_count"+ name="partition_count"+ form="repartition-action-form"+ type="number"+ min="1"+ step="1"+ value="{{ current_partition_count|default_if_none:'' }}"placeholder="number of buckets"></div>- <p class="help" id="repartition_md5_help"{% if effective_partition_mode != "md5" %} style="display: none"{% endif %}>+ <p class="help"+ id="repartition_md5_help"+ {% if effective_partition_mode != "md5" %} style="display: none"{% endif %}>md5 hashes the primary key into <code>partition_count</code> buckets.<strong>Sizing:</strong> the pipeline targets ~200 MB per partition, so a goodstart is <code>partition_count ≈ ceil(table size / 200 MB)</code> (2 GB → ~10,@@ -226,18 +257,29 @@rows across all buckets, so every incremental sync rewrites every changed partition —don't over-partition a small or low-churn table.</p>- <div class="partitioning-controls" id="repartition_size_row"{% if effective_partition_mode != "numerical" %} style="display: none"{% endif %}>+ <div class="partitioning-controls"+ id="repartition_size_row"+ {% if effective_partition_mode != "numerical" %} style="display: none"{% endif %}><label for="repartition_size">Partition size:</label>- <input id="repartition_size" name="partition_size" form="repartition-action-form"- type="number" min="1" step="1" value="{{ current_partition_size|default_if_none:'' }}"+ <input id="repartition_size"+ name="partition_size"+ form="repartition-action-form"+ type="number"+ min="1"+ step="1"+ value="{{ current_partition_size|default_if_none:'' }}"placeholder="rows per bucket"></div>- <p class="help" id="repartition_numerical_help"{% if effective_partition_mode != "numerical" %} style="display: none"{% endif %}>+ <p class="help"+ id="repartition_numerical_help"+ {% if effective_partition_mode != "numerical" %} style="display: none"{% endif %}>Numerical mode buckets by an integer id, <code>partition_size</code> rows per bucket(typical 1,000,000–10,000,000).</p><div class="partitioning-controls">- <button type="submit" form="repartition-action-form" class="default"+ <button type="submit"+ form="repartition-action-form"+ class="default"onclick="return confirm('Repartition + reset resync (non-billable) for this schema?');">Repartition & resync</button>@@ -310,7 +352,6 @@})();</script></div>-<div class="form-row partitioning-section"><h3>Schedule</h3><p class="help">@@ -319,11 +360,15 @@before doing repartition or trigger-sync work, then unpause when finished.</p><div class="partitioning-controls">- <button type="submit" form="pause-schedule-action-form" class="default"+ <button type="submit"+ form="pause-schedule-action-form"+ class="default"onclick="return confirm('Pause the Temporal schedule for this schema?');">Pause schedule</button>- <button type="submit" form="unpause-schedule-action-form" class="default"+ <button type="submit"+ form="unpause-schedule-action-form"+ class="default"onclick="return confirm('Unpause the Temporal schedule for this schema?');">Unpause schedule</button>@@ -335,13 +380,14 @@off with "Trigger sync" below, which is non-billable by default.</p><div class="partitioning-controls">- <button type="submit" form="recreate-schedule-action-form" class="default"+ <button type="submit"+ form="recreate-schedule-action-form"+ class="default"onclick="return confirm('Recreate the Temporal schedule for this schema? No sync run is triggered.');">Recreate schedule</button></div></div>-<div class="form-row partitioning-section"><h3>Trigger ad-hoc sync</h3><p class="help">@@ -359,14 +405,13 @@<input type="checkbox" name="billable" form="trigger-sync-action-form">Billable</label>- <button type="submit" form="trigger-sync-action-form" class="default"- onclick="return confirm('Trigger a sync for this schema?');">- Trigger sync- </button>+ <button type="submit"+ form="trigger-sync-action-form"+ class="default"+ onclick="return confirm('Trigger a sync for this schema?');">Trigger sync</button></div></div></fieldset>-<fieldset class="module aligned"><h2>Temporal schedule</h2><div class="form-row" style="padding: 10px;">@@ -374,106 +419,104 @@target="_blank">View schedule in Temporal</a></div>{% if cdc_extraction_schedule_id %}- <div class="form-row" style="padding: 10px;">- <a href="{{ temporal_ui_host }}/namespaces/{{ temporal_namespace }}/schedules/{{ cdc_extraction_schedule_id }}"- target="_blank">View CDC extraction schedule in Temporal</a>- <p class="help">- For CDC schemas, the per-schema schedule above is paused once streaming starts.- This source-level schedule is what drives the actual change capture.- </p>- </div>+ <div class="form-row" style="padding: 10px;">+ <a href="{{ temporal_ui_host }}/namespaces/{{ temporal_namespace }}/schedules/{{ cdc_extraction_schedule_id }}"+ target="_blank">View CDC extraction schedule in Temporal</a>+ <p class="help">+ For CDC schemas, the per-schema schedule above is paused once streaming starts.+ This source-level schedule is what drives the actual change capture.+ </p>+ </div>{% endif %}</fieldset>-<fieldset class="module aligned"><h2>Jobs{% if page_obj %} ({{ page_obj.paginator.count }} total){% endif %}</h2>{% if page_obj and page_obj.object_list %}- <table style="width: 100%; border-collapse: collapse;">- <thead>- <tr style="background: #f5f5f5;">- <th style="padding: 8px; text-align: left; border-bottom: 2px solid #ddd;">Job ID</th>- <th style="padding: 8px; text-align: left; border-bottom: 2px solid #ddd;">Status</th>- <th style="padding: 8px; text-align: left; border-bottom: 2px solid #ddd;">Created at</th>- <th style="padding: 8px; text-align: left; border-bottom: 2px solid #ddd;">Finished at</th>- <th style="padding: 8px; text-align: right; border-bottom: 2px solid #ddd;">Rows synced</th>- <th style="padding: 8px; text-align: left; border-bottom: 2px solid #ddd;">Temporal workflow</th>- <th style="padding: 8px; text-align: left; border-bottom: 2px solid #ddd;">Logs</th>- <th style="padding: 8px; text-align: left; border-bottom: 2px solid #ddd;">Error</th>- </tr>- </thead>- <tbody>- {% for job in page_obj %}- <tr style="border-bottom: 1px solid #eee;">- <td style="padding: 8px; font-family: monospace; font-size: 12px;">{{ job.id }}</td>- <td style="padding: 8px;">- {% if job.status == "Running" %}- <span class="status-badge status-running" style="color: blue;">Running</span>- {% elif job.status == "Completed" %}- <span class="status-badge status-completed" style="color: green;">Completed</span>- {% elif job.status == "Failed" %}- <span class="status-badge status-failed" style="color: red;">Failed</span>- {% elif job.status == "BillingLimitReached" %}- <span style="color: orange;">Billing limit reached</span>- {% elif job.status == "BillingLimitTooLow" %}- <span style="color: orange;">Billing limit too low</span>- {% else %}- <span>{{ job.status }}</span>- {% endif %}- </td>- <td style="padding: 8px;">{{ job.created_at|date:"Y-m-d H:i:s" }}</td>- <td style="padding: 8px;">{% if job.finished_at %}{{ job.finished_at|date:"Y-m-d H:i:s" }}{% else %}—{% endif %}</td>- <td style="padding: 8px; text-align: right;">{% if job.rows_synced is not None %}{{ job.rows_synced }}{% else %}—{% endif %}</td>- <td style="padding: 8px;">- {% if job.workflow_id and job.workflow_run_id %}- <a href="{{ temporal_ui_host }}/namespaces/{{ temporal_namespace }}/workflows/{{ job.workflow_id }}/{{ job.workflow_run_id }}"- target="_blank">View workflow</a>- {% else %}- —- {% endif %}- </td>- <td style="padding: 8px;">- {% if job.workflow_id %}- <a href="{{ site_url }}/project/{{ team_id }}/logs?searchTerm={{ job.workflow_id }}"- target="_blank">View logs</a>- {% else %}- —- {% endif %}- </td>- <td style="padding: 8px;">- {% if job.latest_error %}- <span style="color: red; font-size: 12px;" title="{{ job.latest_error }}">- {{ job.latest_error|truncatechars:80 }}- </span>- <br>- <a href="{{ site_url }}/project/{{ team_id }}/error_tracking?searchQuery={{ job.latest_error|truncatechars:200|urlencode }}"- target="_blank" style="font-size: 11px;">View in error tracking</a>- {% else %}- —- {% endif %}- </td>- </tr>- {% endfor %}- </tbody>- </table>-- {% if page_obj.paginator.num_pages > 1 %}- <div style="padding: 10px; text-align: center; border-top: 1px solid #ddd;">- {% if page_obj.has_previous %}- <a href="?page=1">« First</a>- <a href="?page={{ page_obj.previous_page_number }}" style="margin-left: 8px;">‹ Previous</a>- {% endif %}-- <span style="margin: 0 12px;">- Page {{ page_obj.number }} of {{ page_obj.paginator.num_pages }}- </span>-- {% if page_obj.has_next %}- <a href="?page={{ page_obj.next_page_number }}">Next ›</a>- <a href="?page={{ page_obj.paginator.num_pages }}" style="margin-left: 8px;">Last »</a>+ <table style="width: 100%; border-collapse: collapse;">+ <thead>+ <tr style="background: #f5f5f5;">+ <th style="padding: 8px; text-align: left; border-bottom: 2px solid #ddd">Job ID</th>+ <th style="padding: 8px; text-align: left; border-bottom: 2px solid #ddd">Status</th>+ <th style="padding: 8px; text-align: left; border-bottom: 2px solid #ddd">Created at</th>+ <th style="padding: 8px; text-align: left; border-bottom: 2px solid #ddd">Finished at</th>+ <th style="padding: 8px;+ text-align: right;+ border-bottom: 2px solid #ddd">Rows synced</th>+ <th style="padding: 8px; text-align: left; border-bottom: 2px solid #ddd">Temporal workflow</th>+ <th style="padding: 8px; text-align: left; border-bottom: 2px solid #ddd">Logs</th>+ <th style="padding: 8px; text-align: left; border-bottom: 2px solid #ddd">Error</th>+ </tr>+ </thead>+ <tbody>+ {% for job in page_obj %}+ <tr style="border-bottom: 1px solid #eee;">+ <td style="padding: 8px; font-family: monospace; font-size: 12px;">{{ job.id }}</td>+ <td style="padding: 8px;">+ {% if job.status == "Running" %}+ <span class="status-badge status-running" style="color: blue;">Running</span>+ {% elif job.status == "Completed" %}+ <span class="status-badge status-completed" style="color: green;">Completed</span>+ {% elif job.status == "Failed" %}+ <span class="status-badge status-failed" style="color: red;">Failed</span>+ {% elif job.status == "BillingLimitReached" %}+ <span style="color: orange;">Billing limit reached</span>+ {% elif job.status == "BillingLimitTooLow" %}+ <span style="color: orange;">Billing limit too low</span>+ {% else %}+ <span>{{ job.status }}</span>+ {% endif %}+ </td>+ <td style="padding: 8px;">{{ job.created_at|date:"Y-m-d H:i:s" }}</td>+ <td style="padding: 8px;">{% if job.finished_at %}{{ job.finished_at|date:"Y-m-d H:i:s" }}{% else %}—{% endif %}</td>+ <td style="padding: 8px; text-align: right;">{% if job.rows_synced is not None %}{{ job.rows_synced }}{% else %}—{% endif %}</td>+ <td style="padding: 8px;">+ {% if job.workflow_id and job.workflow_run_id %}+ <a href="{{ temporal_ui_host }}/namespaces/{{ temporal_namespace }}/workflows/{{ job.workflow_id }}/{{ job.workflow_run_id }}"+ target="_blank">View workflow</a>+ {% else %}+ —+ {% endif %}+ </td>+ <td style="padding: 8px;">+ {% if job.workflow_id %}+ <a href="{{ site_url }}/project/{{ team_id }}/logs?searchTerm={{ job.workflow_id }}"+ target="_blank">View logs</a>+ {% else %}+ —+ {% endif %}+ </td>+ <td style="padding: 8px;">+ {% if job.latest_error %}+ <span style="color: red; font-size: 12px;" title="{{ job.latest_error }}">+ {{ job.latest_error|truncatechars:80 }}+ </span>+ <br>+ <a href="{{ site_url }}/project/{{ team_id }}/error_tracking?searchQuery={{ job.latest_error|truncatechars:200|urlencode }}"+ target="_blank"+ style="font-size: 11px">View in error tracking</a>+ {% else %}+ —+ {% endif %}+ </td>+ </tr>+ {% endfor %}+ </tbody>+ </table>+ {% if page_obj.paginator.num_pages > 1 %}+ <div style="padding: 10px; text-align: center; border-top: 1px solid #ddd">+ {% if page_obj.has_previous %}+ <a href="?page=1">« First</a>+ <a href="?page={{ page_obj.previous_page_number }}"+ style="margin-left: 8px">‹ Previous</a>+ {% endif %}+ <span style="margin: 0 12px;">Page {{ page_obj.number }} of {{ page_obj.paginator.num_pages }}</span>+ {% if page_obj.has_next %}+ <a href="?page={{ page_obj.next_page_number }}">Next ›</a>+ <a href="?page={{ page_obj.paginator.num_pages }}"+ style="margin-left: 8px">Last »</a>+ {% endif %}+ </div>{% endif %}- </div>- {% endif %}-{% else %}<div class="form-row" style="padding: 10px; color: #666;">No jobs found for this schema.</div>{% endif %}diff --git a/posthog/templates/admin/data_warehouse/externaldatasource/change_form.html b/posthog/templates/admin/data_warehouse/externaldatasource/change_form.htmlindex 3f02b0eadc72..3a0b089d14aa 100644--- a/posthog/templates/admin/data_warehouse/externaldatasource/change_form.html+++ b/posthog/templates/admin/data_warehouse/externaldatasource/change_form.html@@ -1,96 +1,93 @@{% extends "admin/change_form.html" %}-{% block after_field_sets %}{{ block.super }}<fieldset class="module aligned"><h2>Schemas{% if schema_page %} ({{ schema_page.paginator.count }} total){% endif %}</h2>{% if schema_page and schema_page.object_list %}- <table style="width: 100%; border-collapse: collapse;">- <thead>- <tr style="background: #f5f5f5;">- <th style="padding: 8px; text-align: left; border-bottom: 2px solid #ddd;">Schema ID</th>- <th style="padding: 8px; text-align: left; border-bottom: 2px solid #ddd;">Name</th>- <th style="padding: 8px; text-align: left; border-bottom: 2px solid #ddd;">Status</th>- <th style="padding: 8px; text-align: left; border-bottom: 2px solid #ddd;">Sync enabled</th>- <th style="padding: 8px; text-align: left; border-bottom: 2px solid #ddd;">Sync type</th>- <th style="padding: 8px; text-align: left; border-bottom: 2px solid #ddd;">Frequency</th>- <th style="padding: 8px; text-align: left; border-bottom: 2px solid #ddd;">Last synced at</th>- <th style="padding: 8px; text-align: right; border-bottom: 2px solid #ddd;">Table rows</th>- <th style="padding: 8px; text-align: left; border-bottom: 2px solid #ddd;">Table</th>- <th style="padding: 8px; text-align: left; border-bottom: 2px solid #ddd;">Latest error</th>- </tr>- </thead>- <tbody>- {% for schema in schema_page %}- <tr style="border-bottom: 1px solid #eee;">- <td style="padding: 8px; font-family: monospace; font-size: 12px;">- <a href="{% url 'admin:warehouse_sources_externaldataschema_change' schema.pk %}">{{ schema.id }}</a>- </td>- <td style="padding: 8px;">- {{ schema.name }}- {% if schema.deleted %}<span style="color: red; font-size: 11px;">(deleted)</span>{% endif %}- </td>- <td style="padding: 8px;">- {% if schema.status == "Running" %}- <span style="color: blue;">Running</span>- {% elif schema.status == "Completed" %}- <span style="color: green;">Completed</span>- {% elif schema.status == "Failed" %}- <span style="color: red;">Failed</span>- {% elif schema.status == "BillingLimitReached" %}- <span style="color: orange;">Billing limit reached</span>- {% elif schema.status == "BillingLimitTooLow" %}- <span style="color: orange;">Billing limit too low</span>- {% elif schema.status %}- <span>{{ schema.status }}</span>- {% else %}- —- {% endif %}- </td>- <td style="padding: 8px;">{% if schema.should_sync %}Yes{% else %}No{% endif %}</td>- <td style="padding: 8px;">{{ schema.sync_type|default:"—" }}</td>- <td style="padding: 8px;">{{ schema.sync_frequency_interval|default:"—" }}</td>- <td style="padding: 8px;">{% if schema.last_synced_at %}{{ schema.last_synced_at|date:"Y-m-d H:i:s" }}{% else %}—{% endif %}</td>- <td style="padding: 8px; text-align: right;">{% if schema.table and schema.table.row_count is not None %}{{ schema.table.row_count }}{% else %}—{% endif %}</td>- <td style="padding: 8px;">- {% if schema.table %}- <a href="{% url 'admin:warehouse_sources_datawarehousetable_change' schema.table.pk %}">{{ schema.table.name }}</a>- {% else %}- —- {% endif %}- </td>- <td style="padding: 8px;">- {% if schema.latest_error %}- <span style="color: red; font-size: 12px;" title="{{ schema.latest_error }}">- {{ schema.latest_error|truncatechars:80 }}- </span>- {% else %}- —- {% endif %}- </td>- </tr>- {% endfor %}- </tbody>- </table>-- {% if schema_page.paginator.num_pages > 1 %}- <div style="padding: 10px; text-align: center; border-top: 1px solid #ddd;">- {% if schema_page.has_previous %}- <a href="{{ page_link_prefix }}1">« First</a>- <a href="{{ page_link_prefix }}{{ schema_page.previous_page_number }}" style="margin-left: 8px;">‹ Previous</a>+ <table style="width: 100%; border-collapse: collapse;">+ <thead>+ <tr style="background: #f5f5f5;">+ <th style="padding: 8px; text-align: left; border-bottom: 2px solid #ddd">Schema ID</th>+ <th style="padding: 8px; text-align: left; border-bottom: 2px solid #ddd">Name</th>+ <th style="padding: 8px; text-align: left; border-bottom: 2px solid #ddd">Status</th>+ <th style="padding: 8px; text-align: left; border-bottom: 2px solid #ddd">Sync enabled</th>+ <th style="padding: 8px; text-align: left; border-bottom: 2px solid #ddd">Sync type</th>+ <th style="padding: 8px; text-align: left; border-bottom: 2px solid #ddd">Frequency</th>+ <th style="padding: 8px; text-align: left; border-bottom: 2px solid #ddd">Last synced at</th>+ <th style="padding: 8px;+ text-align: right;+ border-bottom: 2px solid #ddd">Table rows</th>+ <th style="padding: 8px; text-align: left; border-bottom: 2px solid #ddd">Table</th>+ <th style="padding: 8px; text-align: left; border-bottom: 2px solid #ddd">Latest error</th>+ </tr>+ </thead>+ <tbody>+ {% for schema in schema_page %}+ <tr style="border-bottom: 1px solid #eee;">+ <td style="padding: 8px; font-family: monospace; font-size: 12px;">+ <a href="{% url 'admin:warehouse_sources_externaldataschema_change' schema.pk %}">{{ schema.id }}</a>+ </td>+ <td style="padding: 8px;">+ {{ schema.name }}+ {% if schema.deleted %}<span style="color: red; font-size: 11px;">(deleted)</span>{% endif %}+ </td>+ <td style="padding: 8px;">+ {% if schema.status == "Running" %}+ <span style="color: blue;">Running</span>+ {% elif schema.status == "Completed" %}+ <span style="color: green;">Completed</span>+ {% elif schema.status == "Failed" %}+ <span style="color: red;">Failed</span>+ {% elif schema.status == "BillingLimitReached" %}+ <span style="color: orange;">Billing limit reached</span>+ {% elif schema.status == "BillingLimitTooLow" %}+ <span style="color: orange;">Billing limit too low</span>+ {% elif schema.status %}+ <span>{{ schema.status }}</span>+ {% else %}+ —+ {% endif %}+ </td>+ <td style="padding: 8px;">{% if schema.should_sync %}Yes{% else %}No{% endif %}</td>+ <td style="padding: 8px;">{{ schema.sync_type|default:"—" }}</td>+ <td style="padding: 8px;">{{ schema.sync_frequency_interval|default:"—" }}</td>+ <td style="padding: 8px;">{% if schema.last_synced_at %}{{ schema.last_synced_at|date:"Y-m-d H:i:s" }}{% else %}—{% endif %}</td>+ <td style="padding: 8px; text-align: right;">{% if schema.table and schema.table.row_count is not None %}{{ schema.table.row_count }}{% else %}—{% endif %}</td>+ <td style="padding: 8px;">+ {% if schema.table %}+ <a href="{% url 'admin:warehouse_sources_datawarehousetable_change' schema.table.pk %}">{{ schema.table.name }}</a>+ {% else %}+ —+ {% endif %}+ </td>+ <td style="padding: 8px;">+ {% if schema.latest_error %}+ <span style="color: red; font-size: 12px" title="{{ schema.latest_error }}">+ {{ schema.latest_error|truncatechars:80 }}+ </span>+ {% else %}+ —+ {% endif %}+ </td>+ </tr>+ {% endfor %}+ </tbody>+ </table>+ {% if schema_page.paginator.num_pages > 1 %}+ <div style="padding: 10px; text-align: center; border-top: 1px solid #ddd">+ {% if schema_page.has_previous %}+ <a href="{{ page_link_prefix }}1">« First</a>+ <a href="{{ page_link_prefix }}{{ schema_page.previous_page_number }}"+ style="margin-left: 8px">‹ Previous</a>+ {% endif %}+ <span style="margin: 0 12px;">Page {{ schema_page.number }} of {{ schema_page.paginator.num_pages }}</span>+ {% if schema_page.has_next %}+ <a href="{{ page_link_prefix }}{{ schema_page.next_page_number }}">Next ›</a>+ <a href="{{ page_link_prefix }}{{ schema_page.paginator.num_pages }}"+ style="margin-left: 8px">Last »</a>+ {% endif %}+ </div>{% endif %}-- <span style="margin: 0 12px;">- Page {{ schema_page.number }} of {{ schema_page.paginator.num_pages }}- </span>-- {% if schema_page.has_next %}- <a href="{{ page_link_prefix }}{{ schema_page.next_page_number }}">Next ›</a>- <a href="{{ page_link_prefix }}{{ schema_page.paginator.num_pages }}" style="margin-left: 8px;">Last »</a>- {% endif %}- </div>- {% endif %}-{% else %}<div class="form-row" style="padding: 10px; color: #666;">No schemas found for this source.</div>{% endif %}diff --git a/posthog/templates/admin/deletion_button.html b/posthog/templates/admin/deletion_button.htmlindex da6a339e2530..b52efc092f1d 100644--- a/posthog/templates/admin/deletion_button.html+++ b/posthog/templates/admin/deletion_button.html@@ -11,24 +11,19 @@ notice in context, and pass request=request to render_to_string so {{ request.csresolves.{% endcomment %}<div class="deletion-button-widget">- <button type="button" class="button deletion-trigger-button" style="background: #ba2121; color: #fff;">- {{ button_label }}- </button>- <dialog class="deletion-confirm-dialog" style="max-width: 32em; padding: 16px; border: 1px solid #ba2121; border-radius: 4px;">- <p>{{ confirm_message }}</p>- <p class="help" style="color: #ba2121;">{{ notice }}</p>- <div style="display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px;">- <button type="button" class="deletion-cancel-button">Cancel</button>- <button type="submit"- formaction="{{ action_url }}"- formmethod="post"- formnovalidate- class="button"- style="background: #ba2121; color: #fff;">- Confirm deletion- </button>- </div>- </dialog>+<button type="button" class="button deletion-trigger-button" style="background: #ba2121; color: #fff;">+{{ button_label }}+</button>+<dialog class="deletion-confirm-dialog" style="max-width: 32em; padding: 16px; border: 1px solid #ba2121; border-radius: 4px;">+<p>{{ confirm_message }}</p>+<p class="help" style="color: #ba2121;">{{ notice }}</p>+<div style="display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px;">+<button type="button" class="deletion-cancel-button">Cancel</button>+<button type="submit" formaction="{{ action_url }}" formmethod="post" formnovalidate class="button" style="background: #ba2121; color: #fff;">+Confirm deletion+</button>+</div>+</dialog></div><script nonce="{{ request.csp_nonce }}">(function () {diff --git a/posthog/templates/admin/distinct_id_usage.html b/posthog/templates/admin/distinct_id_usage.htmlindex 67f4aa4b12a0..08e75d0d1f43 100644--- a/posthog/templates/admin/distinct_id_usage.html+++ b/posthog/templates/admin/distinct_id_usage.html@@ -1,11 +1,10 @@{% extends "admin/base_site.html" %}{% load i18n admin_urls static %}-{% block extrastyle %}-{{ block.super }}-<link rel="stylesheet" href="{% static 'admin/css/changelists.css' %}" />-<link rel="stylesheet" href="{% static 'admin/css/forms.css' %}" />-<style>+ {{ block.super }}+ <link rel="stylesheet" href="{% static 'admin/css/changelists.css' %}" />+ <link rel="stylesheet" href="{% static 'admin/css/forms.css' %}" />+ <style>.distinct-id-cell { max-width: 300px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.action-buttons form { display: inline; }.action-buttons button { font-size: 11px; padding: 2px 6px; cursor: pointer; margin-right: 4px; }@@ -32,8 +31,8 @@margin-left: 4px; opacity: 0; transition: opacity 0.2s;}.copy-feedback.visible { opacity: 1; }-</style>-<script>+ </style>+ <script>document.addEventListener('click', function(e) {var el = e.target.closest('.copyable');if (!el) return;@@ -47,303 +46,348 @@ document.addEventListener('click', function(e) {}});});-</script>+ </script>{% endblock %}-{% if not is_popup %}-{% block breadcrumbs %}-<div class="breadcrumbs">- <a href="{% url 'admin:index' %}">{% translate 'Home' %}</a>- › Distinct ID usage-</div>-{% endblock %}+ {% block breadcrumbs %}+ <div class="breadcrumbs">+ <a href="{% url 'admin:index' %}">{% translate 'Home' %}</a>+ › Distinct ID usage+ </div>+ {% endblock %}{% endif %}-{% block content %}-<div id="content-main">--{% if errors %}- {% for error in errors %}- <p class="errornote">{{ error }}</p>- {% endfor %}-{% endif %}--<form method="get" id="distinct-id-usage-form">- <fieldset class="module aligned">- <h2>Configuration</h2>- <div class="form-row" style="display: flex; align-items: center; gap: 12px; flex-wrap: wrap;">- <label for="{{ form.datetime_from.id_for_label }}">{{ form.datetime_from.label }}:</label>- {{ form.datetime_from }}- <label for="{{ form.datetime_to.id_for_label }}">{{ form.datetime_to.label }}:</label>- {{ form.datetime_to }}- </div>- {{ form.non_field_errors }}- <h3>Thresholds</h3>- <div class="threshold-fields">- {% for field in form %}- {% if field.name != "datetime_from" and field.name != "datetime_to" %}- <div class="form-row">- <label for="{{ field.id_for_label }}">{{ field.label }}:</label>- {{ field }}- {% if field.help_text %}<p class="help">{{ field.help_text }}</p>{% endif %}- {{ field.errors }}- </div>- {% endif %}+ <div id="content-main">+ {% if errors %}+ {% for error in errors %}+ <p class="errornote">{{ error }}</p>{% endfor %}- </div>- </fieldset>- <div class="submit-row">- <input type="submit" value="Run queries" class="default" />- </div>-</form>--{% if queried %}--<!-- High usage distinct IDs -->-<div class="module" style="margin-top: 20px;">- <table style="width: 100%;">- <caption>High usage distinct IDs <span class="count-badge">{{ high_usage_rows|length }}</span></caption>- {% if high_usage_rows %}- <thead>- <tr>- <th scope="col">Team ID</th>- <th scope="col">Token</th>- <th scope="col">Distinct ID</th>- <th scope="col">Restrictions</th>- <th scope="col">Event count</th>- <th scope="col">Team total</th>- <th scope="col">%</th>- <th scope="col">Actions</th>- </tr>- </thead>- <tbody>- {% for row in high_usage_rows %}- <tr>- <td>{{ row.team_id }}</td>- <td class="token-cell copyable" data-copy="{{ row.token }}" title="Click to copy: {{ row.token }}">{{ row.token|truncatechars:16 }}<span class="copy-feedback">Copied</span></td>- <td class="distinct-id-cell copyable" data-copy="{{ row.distinct_id }}" title="Click to copy: {{ row.distinct_id }}">{{ row.distinct_id|truncatechars:40 }}<span class="copy-feedback">Copied</span></td>- <td class="restriction-cell">- {% if row.restriction_status == "covered" %}- <span class="status-applied">✓ Applied</span> ({{ row.restriction_type }}) <a href="{{ row.restriction_edit_url }}">Edit</a>- {% elif row.restriction_status == "covered_all" %}- <span class="status-applied">✓ Applied (all)</span> ({{ row.restriction_type }}) <a href="{{ row.restriction_edit_url }}">Edit</a>- {% elif row.restriction_status == "not_covered" %}- <span class="status-not-covered">✗ Not in list</span> ({{ row.restriction_type }})- <form method="post">- {% csrf_token %}- <input type="hidden" name="action" value="add_to_restriction">- <input type="hidden" name="restriction_id" value="{{ row.restriction_id }}">- <input type="hidden" name="distinct_id" value="{{ row.distinct_id }}">- <input type="hidden" name="return_querystring" value="{{ return_querystring }}">- <button type="submit" title="Add this distinct_id to the restriction's list">Add</button>- </form>- {% else %}- —- {% endif %}- </td>- <td>{{ row.event_count }}</td>- <td>{{ row.total_team_events }}</td>- <td>{{ row.percentage }}%</td>- <td class="action-buttons">- {% if row.token %}- <form method="post">- {% csrf_token %}- <input type="hidden" name="action" value="create_or_update_restriction">- <input type="hidden" name="token" value="{{ row.token }}">- <input type="hidden" name="restriction_type" value="skip_person_processing">- <input type="hidden" name="distinct_id" value="{{ row.distinct_id }}">- <input type="hidden" name="return_querystring" value="{{ return_querystring }}">- <button type="submit">Skip person</button>- </form>- <form method="post">- {% csrf_token %}- <input type="hidden" name="action" value="create_or_update_restriction">- <input type="hidden" name="token" value="{{ row.token }}">- <input type="hidden" name="restriction_type" value="drop_event_from_ingestion">- <input type="hidden" name="distinct_id" value="{{ row.distinct_id }}">- <input type="hidden" name="return_querystring" value="{{ return_querystring }}">- <button type="submit">Drop events</button>- </form>- <form method="post">- {% csrf_token %}- <input type="hidden" name="action" value="create_or_update_restriction">- <input type="hidden" name="token" value="{{ row.token }}">- <input type="hidden" name="restriction_type" value="force_overflow_from_ingestion">- <input type="hidden" name="distinct_id" value="{{ row.distinct_id }}">- <input type="hidden" name="return_querystring" value="{{ return_querystring }}">- <button type="submit">Force overflow</button>- </form>- {% else %}- <em>No token</em>- {% endif %}- </td>- </tr>- {% endfor %}- </tbody>- {% else %}- <tbody><tr><td colspan="8"><em>No high usage distinct IDs found with current thresholds.</em></td></tr></tbody>{% endif %}- </table>-</div>--<!-- High cardinality teams -->-<div class="module" style="margin-top: 20px;">- <table style="width: 100%;">- <caption>High cardinality teams <span class="count-badge">{{ high_cardinality_rows|length }}</span></caption>- {% if high_cardinality_rows %}- <thead>- <tr>- <th scope="col">Team ID</th>- <th scope="col">Token</th>- <th scope="col">Restrictions</th>- <th scope="col">Unique distinct IDs</th>- </tr>- </thead>- <tbody>- {% for row in high_cardinality_rows %}- <tr>- <td>{{ row.team_id }}</td>- <td class="token-cell copyable" data-copy="{{ row.token }}" title="Click to copy: {{ row.token }}">{{ row.token|truncatechars:16 }}<span class="copy-feedback">Copied</span></td>- <td class="restriction-cell">- {% if row.restriction_status == "exists" %}- {{ row.restriction_type }}{% if row.restriction_count > 1 %} (+{{ row.restriction_count|add:"-1" }}){% endif %} <a href="{{ row.restriction_edit_url }}">Edit</a>+ <form method="get" id="distinct-id-usage-form">+ <fieldset class="module aligned">+ <h2>Configuration</h2>+ <div class="form-row"+ style="display: flex;+ align-items: center;+ gap: 12px;+ flex-wrap: wrap">+ <label for="{{ form.datetime_from.id_for_label }}">{{ form.datetime_from.label }}:</label>+ {{ form.datetime_from }}+ <label for="{{ form.datetime_to.id_for_label }}">{{ form.datetime_to.label }}:</label>+ {{ form.datetime_to }}+ </div>+ {{ form.non_field_errors }}+ <h3>Thresholds</h3>+ <div class="threshold-fields">+ {% for field in form %}+ {% if field.name != "datetime_from" and field.name != "datetime_to" %}+ <div class="form-row">+ <label for="{{ field.id_for_label }}">{{ field.label }}:</label>+ {{ field }}+ {% if field.help_text %}<p class="help">{{ field.help_text }}</p>{% endif %}+ {{ field.errors }}+ </div>+ {% endif %}+ {% endfor %}+ </div>+ </fieldset>+ <div class="submit-row">+ <input type="submit" value="Run queries" class="default" />+ </div>+ </form>+ {% if queried %}+ <!-- High usage distinct IDs -->+ <div class="module" style="margin-top: 20px;">+ <table style="width: 100%;">+ <caption>High usage distinct IDs <span class="count-badge">{{ high_usage_rows|length }}</span></caption>+ {% if high_usage_rows %}+ <thead>+ <tr>+ <th scope="col">Team ID</th>+ <th scope="col">Token</th>+ <th scope="col">Distinct ID</th>+ <th scope="col">Restrictions</th>+ <th scope="col">Event count</th>+ <th scope="col">Team total</th>+ <th scope="col">%</th>+ <th scope="col">Actions</th>+ </tr>+ </thead>+ <tbody>+ {% for row in high_usage_rows %}+ <tr>+ <td>{{ row.team_id }}</td>+ <td class="token-cell copyable"+ data-copy="{{ row.token }}"+ title="Click to copy: {{ row.token }}">{{ row.token|truncatechars:16 }}<span class="copy-feedback">Copied</span></td>+ <td class="distinct-id-cell copyable"+ data-copy="{{ row.distinct_id }}"+ title="Click to copy: {{ row.distinct_id }}">{{ row.distinct_id|truncatechars:40 }}<span class="copy-feedback">Copied</span></td>+ <td class="restriction-cell">+ {% if row.restriction_status == "covered" %}+ <span class="status-applied">✓ Applied</span> ({{ row.restriction_type }}) <a href="{{ row.restriction_edit_url }}">Edit</a>+ {% elif row.restriction_status == "covered_all" %}+ <span class="status-applied">✓ Applied (all)</span> ({{ row.restriction_type }}) <a href="{{ row.restriction_edit_url }}">Edit</a>+ {% elif row.restriction_status == "not_covered" %}+ <span class="status-not-covered">✗ Not in list</span> ({{ row.restriction_type }})+ <form method="post">+ {% csrf_token %}+ <input type="hidden" name="action" value="add_to_restriction">+ <input type="hidden" name="restriction_id" value="{{ row.restriction_id }}">+ <input type="hidden" name="distinct_id" value="{{ row.distinct_id }}">+ <input type="hidden"+ name="return_querystring"+ value="{{ return_querystring }}">+ <button type="submit" title="Add this distinct_id to the restriction's list">Add</button>+ </form>+ {% else %}+ —+ {% endif %}+ </td>+ <td>{{ row.event_count }}</td>+ <td>{{ row.total_team_events }}</td>+ <td>{{ row.percentage }}%</td>+ <td class="action-buttons">+ {% if row.token %}+ <form method="post">+ {% csrf_token %}+ <input type="hidden" name="action" value="create_or_update_restriction">+ <input type="hidden" name="token" value="{{ row.token }}">+ <input type="hidden" name="restriction_type" value="skip_person_processing">+ <input type="hidden" name="distinct_id" value="{{ row.distinct_id }}">+ <input type="hidden"+ name="return_querystring"+ value="{{ return_querystring }}">+ <button type="submit">Skip person</button>+ </form>+ <form method="post">+ {% csrf_token %}+ <input type="hidden" name="action" value="create_or_update_restriction">+ <input type="hidden" name="token" value="{{ row.token }}">+ <input type="hidden"+ name="restriction_type"+ value="drop_event_from_ingestion">+ <input type="hidden" name="distinct_id" value="{{ row.distinct_id }}">+ <input type="hidden"+ name="return_querystring"+ value="{{ return_querystring }}">+ <button type="submit">Drop events</button>+ </form>+ <form method="post">+ {% csrf_token %}+ <input type="hidden" name="action" value="create_or_update_restriction">+ <input type="hidden" name="token" value="{{ row.token }}">+ <input type="hidden"+ name="restriction_type"+ value="force_overflow_from_ingestion">+ <input type="hidden" name="distinct_id" value="{{ row.distinct_id }}">+ <input type="hidden"+ name="return_querystring"+ value="{{ return_querystring }}">+ <button type="submit">Force overflow</button>+ </form>+ {% else %}+ <em>No token</em>+ {% endif %}+ </td>+ </tr>+ {% endfor %}+ </tbody>{% else %}- —+ <tbody>+ <tr>+ <td colspan="8"><em>No high usage distinct IDs found with current thresholds.</em></td>+ </tr>+ </tbody>{% endif %}- </td>- <td>{{ row.distinct_id_count }}</td>- </tr>- {% endfor %}- </tbody>- {% else %}- <tbody><tr><td colspan="4"><em>No high cardinality teams found with current thresholds.</em></td></tr></tbody>- {% endif %}- </table>-</div>--<!-- Burst events by distinct ID -->-<div class="module" style="margin-top: 20px;">- <table style="width: 100%;">- <caption>Burst events by distinct ID <span class="count-badge">{{ burst_distinct_id_rows|length }}</span></caption>- {% if burst_distinct_id_rows %}- <thead>- <tr>- <th scope="col">Team ID</th>- <th scope="col">Token</th>- <th scope="col">Distinct ID</th>- <th scope="col">Restrictions</th>- <th scope="col">Minute</th>- <th scope="col">Events/min</th>- <th scope="col">Actions</th>- </tr>- </thead>- <tbody>- {% for row in burst_distinct_id_rows %}- <tr>- <td>{{ row.team_id }}</td>- <td class="token-cell copyable" data-copy="{{ row.token }}" title="Click to copy: {{ row.token }}">{{ row.token|truncatechars:16 }}<span class="copy-feedback">Copied</span></td>- <td class="distinct-id-cell copyable" data-copy="{{ row.distinct_id }}" title="Click to copy: {{ row.distinct_id }}">{{ row.distinct_id|truncatechars:40 }}<span class="copy-feedback">Copied</span></td>- <td class="restriction-cell">- {% if row.restriction_status == "covered" %}- <span class="status-applied">✓ Applied</span> ({{ row.restriction_type }}) <a href="{{ row.restriction_edit_url }}">Edit</a>- {% elif row.restriction_status == "covered_all" %}- <span class="status-applied">✓ Applied (all)</span> ({{ row.restriction_type }}) <a href="{{ row.restriction_edit_url }}">Edit</a>- {% elif row.restriction_status == "not_covered" %}- <span class="status-not-covered">✗ Not in list</span> ({{ row.restriction_type }})- <form method="post">- {% csrf_token %}- <input type="hidden" name="action" value="add_to_restriction">- <input type="hidden" name="restriction_id" value="{{ row.restriction_id }}">- <input type="hidden" name="distinct_id" value="{{ row.distinct_id }}">- <input type="hidden" name="return_querystring" value="{{ return_querystring }}">- <button type="submit" title="Add this distinct_id to the restriction's list">Add</button>- </form>+ </table>+ </div>+ <!-- High cardinality teams -->+ <div class="module" style="margin-top: 20px;">+ <table style="width: 100%;">+ <caption>High cardinality teams <span class="count-badge">{{ high_cardinality_rows|length }}</span></caption>+ {% if high_cardinality_rows %}+ <thead>+ <tr>+ <th scope="col">Team ID</th>+ <th scope="col">Token</th>+ <th scope="col">Restrictions</th>+ <th scope="col">Unique distinct IDs</th>+ </tr>+ </thead>+ <tbody>+ {% for row in high_cardinality_rows %}+ <tr>+ <td>{{ row.team_id }}</td>+ <td class="token-cell copyable"+ data-copy="{{ row.token }}"+ title="Click to copy: {{ row.token }}">{{ row.token|truncatechars:16 }}<span class="copy-feedback">Copied</span></td>+ <td class="restriction-cell">+ {% if row.restriction_status == "exists" %}+ {{ row.restriction_type }}{% if row.restriction_count > 1 %} (+{{ row.restriction_count|add:"-1" }}){% endif %} <a href="{{ row.restriction_edit_url }}">Edit</a>+ {% else %}+ —+ {% endif %}+ </td>+ <td>{{ row.distinct_id_count }}</td>+ </tr>+ {% endfor %}+ </tbody>{% else %}- —+ <tbody>+ <tr>+ <td colspan="4"><em>No high cardinality teams found with current thresholds.</em></td>+ </tr>+ </tbody>{% endif %}- </td>- <td>{{ row.minute }}</td>- <td>{{ row.event_count }}</td>- <td class="action-buttons">- {% if row.token %}- <form method="post">- {% csrf_token %}- <input type="hidden" name="action" value="create_or_update_restriction">- <input type="hidden" name="token" value="{{ row.token }}">- <input type="hidden" name="restriction_type" value="skip_person_processing">- <input type="hidden" name="distinct_id" value="{{ row.distinct_id }}">- <input type="hidden" name="return_querystring" value="{{ return_querystring }}">- <button type="submit">Skip person</button>- </form>- <form method="post">- {% csrf_token %}- <input type="hidden" name="action" value="create_or_update_restriction">- <input type="hidden" name="token" value="{{ row.token }}">- <input type="hidden" name="restriction_type" value="drop_event_from_ingestion">- <input type="hidden" name="distinct_id" value="{{ row.distinct_id }}">- <input type="hidden" name="return_querystring" value="{{ return_querystring }}">- <button type="submit">Drop events</button>- </form>- <form method="post">- {% csrf_token %}- <input type="hidden" name="action" value="create_or_update_restriction">- <input type="hidden" name="token" value="{{ row.token }}">- <input type="hidden" name="restriction_type" value="force_overflow_from_ingestion">- <input type="hidden" name="distinct_id" value="{{ row.distinct_id }}">- <input type="hidden" name="return_querystring" value="{{ return_querystring }}">- <button type="submit">Force overflow</button>- </form>+ </table>+ </div>+ <!-- Burst events by distinct ID -->+ <div class="module" style="margin-top: 20px;">+ <table style="width: 100%;">+ <caption>Burst events by distinct ID <span class="count-badge">{{ burst_distinct_id_rows|length }}</span></caption>+ {% if burst_distinct_id_rows %}+ <thead>+ <tr>+ <th scope="col">Team ID</th>+ <th scope="col">Token</th>+ <th scope="col">Distinct ID</th>+ <th scope="col">Restrictions</th>+ <th scope="col">Minute</th>+ <th scope="col">Events/min</th>+ <th scope="col">Actions</th>+ </tr>+ </thead>+ <tbody>+ {% for row in burst_distinct_id_rows %}+ <tr>+ <td>{{ row.team_id }}</td>+ <td class="token-cell copyable"+ data-copy="{{ row.token }}"+ title="Click to copy: {{ row.token }}">{{ row.token|truncatechars:16 }}<span class="copy-feedback">Copied</span></td>+ <td class="distinct-id-cell copyable"+ data-copy="{{ row.distinct_id }}"+ title="Click to copy: {{ row.distinct_id }}">{{ row.distinct_id|truncatechars:40 }}<span class="copy-feedback">Copied</span></td>+ <td class="restriction-cell">+ {% if row.restriction_status == "covered" %}+ <span class="status-applied">✓ Applied</span> ({{ row.restriction_type }}) <a href="{{ row.restriction_edit_url }}">Edit</a>+ {% elif row.restriction_status == "covered_all" %}+ <span class="status-applied">✓ Applied (all)</span> ({{ row.restriction_type }}) <a href="{{ row.restriction_edit_url }}">Edit</a>+ {% elif row.restriction_status == "not_covered" %}+ <span class="status-not-covered">✗ Not in list</span> ({{ row.restriction_type }})+ <form method="post">+ {% csrf_token %}+ <input type="hidden" name="action" value="add_to_restriction">+ <input type="hidden" name="restriction_id" value="{{ row.restriction_id }}">+ <input type="hidden" name="distinct_id" value="{{ row.distinct_id }}">+ <input type="hidden"+ name="return_querystring"+ value="{{ return_querystring }}">+ <button type="submit" title="Add this distinct_id to the restriction's list">Add</button>+ </form>+ {% else %}+ —+ {% endif %}+ </td>+ <td>{{ row.minute }}</td>+ <td>{{ row.event_count }}</td>+ <td class="action-buttons">+ {% if row.token %}+ <form method="post">+ {% csrf_token %}+ <input type="hidden" name="action" value="create_or_update_restriction">+ <input type="hidden" name="token" value="{{ row.token }}">+ <input type="hidden" name="restriction_type" value="skip_person_processing">+ <input type="hidden" name="distinct_id" value="{{ row.distinct_id }}">+ <input type="hidden"+ name="return_querystring"+ value="{{ return_querystring }}">+ <button type="submit">Skip person</button>+ </form>+ <form method="post">+ {% csrf_token %}+ <input type="hidden" name="action" value="create_or_update_restriction">+ <input type="hidden" name="token" value="{{ row.token }}">+ <input type="hidden"+ name="restriction_type"+ value="drop_event_from_ingestion">+ <input type="hidden" name="distinct_id" value="{{ row.distinct_id }}">+ <input type="hidden"+ name="return_querystring"+ value="{{ return_querystring }}">+ <button type="submit">Drop events</button>+ </form>+ <form method="post">+ {% csrf_token %}+ <input type="hidden" name="action" value="create_or_update_restriction">+ <input type="hidden" name="token" value="{{ row.token }}">+ <input type="hidden"+ name="restriction_type"+ value="force_overflow_from_ingestion">+ <input type="hidden" name="distinct_id" value="{{ row.distinct_id }}">+ <input type="hidden"+ name="return_querystring"+ value="{{ return_querystring }}">+ <button type="submit">Force overflow</button>+ </form>+ {% else %}+ <em>No token</em>+ {% endif %}+ </td>+ </tr>+ {% endfor %}+ </tbody>{% else %}- <em>No token</em>+ <tbody>+ <tr>+ <td colspan="7"><em>No burst events by distinct ID found with current thresholds.</em></td>+ </tr>+ </tbody>{% endif %}- </td>- </tr>- {% endfor %}- </tbody>- {% else %}- <tbody><tr><td colspan="7"><em>No burst events by distinct ID found with current thresholds.</em></td></tr></tbody>- {% endif %}- </table>-</div>--<!-- Burst events by team -->-<div class="module" style="margin-top: 20px;">- <table style="width: 100%;">- <caption>Burst events by team <span class="count-badge">{{ burst_team_rows|length }}</span></caption>- {% if burst_team_rows %}- <thead>- <tr>- <th scope="col">Team ID</th>- <th scope="col">Token</th>- <th scope="col">Restrictions</th>- <th scope="col">Minute</th>- <th scope="col">Events/min</th>- </tr>- </thead>- <tbody>- {% for row in burst_team_rows %}- <tr>- <td>{{ row.team_id }}</td>- <td class="token-cell copyable" data-copy="{{ row.token }}" title="Click to copy: {{ row.token }}">{{ row.token|truncatechars:16 }}<span class="copy-feedback">Copied</span></td>- <td class="restriction-cell">- {% if row.restriction_status == "exists" %}- {{ row.restriction_type }}{% if row.restriction_count > 1 %} (+{{ row.restriction_count|add:"-1" }}){% endif %} <a href="{{ row.restriction_edit_url }}">Edit</a>+ </table>+ </div>+ <!-- Burst events by team -->+ <div class="module" style="margin-top: 20px;">+ <table style="width: 100%;">+ <caption>Burst events by team <span class="count-badge">{{ burst_team_rows|length }}</span></caption>+ {% if burst_team_rows %}+ <thead>+ <tr>+ <th scope="col">Team ID</th>+ <th scope="col">Token</th>+ <th scope="col">Restrictions</th>+ <th scope="col">Minute</th>+ <th scope="col">Events/min</th>+ </tr>+ </thead>+ <tbody>+ {% for row in burst_team_rows %}+ <tr>+ <td>{{ row.team_id }}</td>+ <td class="token-cell copyable"+ data-copy="{{ row.token }}"+ title="Click to copy: {{ row.token }}">{{ row.token|truncatechars:16 }}<span class="copy-feedback">Copied</span></td>+ <td class="restriction-cell">+ {% if row.restriction_status == "exists" %}+ {{ row.restriction_type }}{% if row.restriction_count > 1 %} (+{{ row.restriction_count|add:"-1" }}){% endif %} <a href="{{ row.restriction_edit_url }}">Edit</a>+ {% else %}+ —+ {% endif %}+ </td>+ <td>{{ row.minute }}</td>+ <td>{{ row.event_count }}</td>+ </tr>+ {% endfor %}+ </tbody>{% else %}- —+ <tbody>+ <tr>+ <td colspan="5"><em>No burst events by team found with current thresholds.</em></td>+ </tr>+ </tbody>{% endif %}- </td>- <td>{{ row.minute }}</td>- <td>{{ row.event_count }}</td>- </tr>- {% endfor %}- </tbody>- {% else %}- <tbody><tr><td colspan="5"><em>No burst events by team found with current thresholds.</em></td></tr></tbody>+ </table>+ </div>{% endif %}- </table>-</div>--{% endif %}--</div>+ </div>{% endblock %}diff --git a/posthog/templates/admin/edit_inline/readonly_tabular.html b/posthog/templates/admin/edit_inline/readonly_tabular.htmlindex b10cc454364d..d9cca0cb6732 100644--- a/posthog/templates/admin/edit_inline/readonly_tabular.html+++ b/posthog/templates/admin/edit_inline/readonly_tabular.html@@ -1,50 +1,63 @@{% load i18n admin_urls static admin_modify %}-<div class="inline-group" id="{{ inline_admin_formset.formset.prefix }}-group">- <div class="tabular inline-related {% if forloop.last %}last-related{% endif %}">-{{ inline_admin_formset.formset.management_form }}-<fieldset class="module {{ inline_admin_formset.classes }}">- {% if inline_admin_formset.formset.max_num == 1 %}- <h2>{{ inline_admin_formset.opts.verbose_name|capfirst }}</h2>- {% else %}- <h2>{{ inline_admin_formset.opts.verbose_name_plural|capfirst }}</h2>- {% endif %}- {{ inline_admin_formset.formset.non_form_errors }}- <table>- <thead><tr>- {% for field in inline_admin_formset.fields %}- {% if not field.widget.is_hidden %}- <th class="column-{{ field.name }}">{{ field.label|capfirst }}- {% if field.help_text %}<img src="{% static "admin/img/icon-unknown.svg" %}" class="help help-tooltip" width="10" height="10" alt="({{ field.help_text|striptags }})" title="{{ field.help_text|striptags }}">{% endif %}- </th>- {% endif %}- {% endfor %}- </tr></thead>-- <tbody>- {% for inline_admin_form in inline_admin_formset %}- {% if inline_admin_form.form.non_field_errors %}- <tr class="row-form-errors"><td colspan="{{ inline_admin_form|cell_count }}">{{ inline_admin_form.form.non_field_errors }}</td></tr>- {% endif %}- <tr class="form-row" id="{{ inline_admin_formset.formset.prefix }}-{{ forloop.counter0 }}">- {% for fieldset in inline_admin_form %}- {% for line in fieldset %}- {% for field in line %}- {% if not field.field.is_hidden %}- <td class="{% if field.field.name %}field-{{ field.field.name }}{% endif %}">- {% if field.is_readonly %}- <p>{{ field.contents }}</p>- {% else %}- {{ field.field }}- {% endif %}- </td>- {% endif %}- {% endfor %}- {% endfor %}- {% endfor %}- </tr>- {% endfor %}- </tbody>- </table>-</fieldset>- </div>+<div class="inline-group"+ id="{{ inline_admin_formset.formset.prefix }}-group">+ <div class="tabular inline-related {% if forloop.last %}last-related{% endif %}">+ {{ inline_admin_formset.formset.management_form }}+ <fieldset class="module {{ inline_admin_formset.classes }}">+ {% if inline_admin_formset.formset.max_num == 1 %}+ <h2>{{ inline_admin_formset.opts.verbose_name|capfirst }}</h2>+ {% else %}+ <h2>{{ inline_admin_formset.opts.verbose_name_plural|capfirst }}</h2>+ {% endif %}+ {{ inline_admin_formset.formset.non_form_errors }}+ <table>+ <thead>+ <tr>+ {% for field in inline_admin_formset.fields %}+ {% if not field.widget.is_hidden %}+ <th class="column-{{ field.name }}">+ {{ field.label|capfirst }}+ {% if field.help_text %}+ <img src="{% static "admin/img/icon-unknown.svg" %}"+ class="help help-tooltip"+ width="10"+ height="10"+ alt="({{ field.help_text|striptags }})"+ title="{{ field.help_text|striptags }}">+ {% endif %}+ </th>+ {% endif %}+ {% endfor %}+ </tr>+ </thead>+ <tbody>+ {% for inline_admin_form in inline_admin_formset %}+ {% if inline_admin_form.form.non_field_errors %}+ <tr class="row-form-errors">+ <td colspan="{{ inline_admin_form|cell_count }}">{{ inline_admin_form.form.non_field_errors }}</td>+ </tr>+ {% endif %}+ <tr class="form-row"+ id="{{ inline_admin_formset.formset.prefix }}-{{ forloop.counter0 }}">+ {% for fieldset in inline_admin_form %}+ {% for line in fieldset %}+ {% for field in line %}+ {% if not field.field.is_hidden %}+ <td class="{% if field.field.name %}field-{{ field.field.name }}{% endif %}">+ {% if field.is_readonly %}+ <p>{{ field.contents }}</p>+ {% else %}+ {{ field.field }}+ {% endif %}+ </td>+ {% endif %}+ {% endfor %}+ {% endfor %}+ {% endfor %}+ </tr>+ {% endfor %}+ </tbody>+ </table>+ </fieldset>+ </div></div>diff --git a/posthog/templates/admin/health_checks/_run_history.html b/posthog/templates/admin/health_checks/_run_history.htmlindex 214a84365fa8..37d9bf3869fa 100644--- a/posthog/templates/admin/health_checks/_run_history.html+++ b/posthog/templates/admin/health_checks/_run_history.html@@ -1,47 +1,47 @@{% if workflows %}-<table class="workflow-table">- <thead>- <tr>- <th>Workflow ID</th>- <th>Source</th>- <th>Status</th>- <th>Started</th>- <th>Completed</th>- </tr>- </thead>- <tbody>- {% for wf in workflows %}- <tr>- <td class="workflow-id">- <a href="{{ temporal_ui_host }}/namespaces/{{ temporal_namespace }}/workflows/{{ wf.id }}/{{ wf.run_id }}"- target="_blank">{{ wf.id }}</a>- </td>- <td>{{ wf.source }}</td>- <td>- {% if wf.status == "RUNNING" %}- <span class="status-badge status-running">Running</span>- {% elif wf.status == "COMPLETED" %}- <span class="status-badge status-completed">Completed</span>- {% elif wf.status == "FAILED" %}- <span class="status-badge status-failed">Failed</span>- {% elif wf.status == "CANCELED" %}- <span class="status-badge status-canceled">Canceled</span>- {% elif wf.status == "CONTINUED_AS_NEW" %}- <span class="status-badge status-running">Continued</span>- {% elif wf.status == "TERMINATED" %}- <span class="status-badge status-failed">Terminated</span>- {% elif wf.status == "TIMED_OUT" %}- <span class="status-badge status-failed">Timed out</span>- {% else %}- <span class="status-badge">{{ wf.status }}</span>- {% endif %}- </td>- <td>{{ wf.start_time|date:"Y-m-d H:i:s" }}</td>- <td>{% if wf.close_time %}{{ wf.close_time|date:"Y-m-d H:i:s" }}{% else %}—{% endif %}</td>- </tr>- {% endfor %}- </tbody>-</table>+ <table class="workflow-table">+ <thead>+ <tr>+ <th>Workflow ID</th>+ <th>Source</th>+ <th>Status</th>+ <th>Started</th>+ <th>Completed</th>+ </tr>+ </thead>+ <tbody>+ {% for wf in workflows %}+ <tr>+ <td class="workflow-id">+ <a href="{{ temporal_ui_host }}/namespaces/{{ temporal_namespace }}/workflows/{{ wf.id }}/{{ wf.run_id }}"+ target="_blank">{{ wf.id }}</a>+ </td>+ <td>{{ wf.source }}</td>+ <td>+ {% if wf.status == "RUNNING" %}+ <span class="status-badge status-running">Running</span>+ {% elif wf.status == "COMPLETED" %}+ <span class="status-badge status-completed">Completed</span>+ {% elif wf.status == "FAILED" %}+ <span class="status-badge status-failed">Failed</span>+ {% elif wf.status == "CANCELED" %}+ <span class="status-badge status-canceled">Canceled</span>+ {% elif wf.status == "CONTINUED_AS_NEW" %}+ <span class="status-badge status-running">Continued</span>+ {% elif wf.status == "TERMINATED" %}+ <span class="status-badge status-failed">Terminated</span>+ {% elif wf.status == "TIMED_OUT" %}+ <span class="status-badge status-failed">Timed out</span>+ {% else %}+ <span class="status-badge">{{ wf.status }}</span>+ {% endif %}+ </td>+ <td>{{ wf.start_time|date:"Y-m-d H:i:s" }}</td>+ <td>{% if wf.close_time %}{{ wf.close_time|date:"Y-m-d H:i:s" }}{% else %}—{% endif %}</td>+ </tr>+ {% endfor %}+ </tbody>+ </table>{% else %}-<p class="empty-state">No health check workflows have been run yet.</p>+ <p class="empty-state">No health check workflows have been run yet.</p>{% endif %}diff --git a/posthog/templates/admin/health_checks/list.html b/posthog/templates/admin/health_checks/list.htmlindex 78a479bd0829..b5d20f46844e 100644--- a/posthog/templates/admin/health_checks/list.html+++ b/posthog/templates/admin/health_checks/list.html@@ -1,9 +1,8 @@{% extends "admin/base_site.html" %}{% load i18n %}-{% block extrastyle %}-{{ block.super }}-<style>+ {{ block.super }}+ <style>.checks-table {width: 100%;border-collapse: collapse;@@ -48,46 +47,45 @@}.badge-yes { color: #166534; }.badge-no { color: #6b7280; }-</style>+ </style>{% endblock %}-{% block content %}-<p><a href="/admin/">← Back to admin</a></p>--{% if checks %}-<table class="checks-table">- <thead>- <tr>- <th>Name</th>- <th>Kind</th>- <th>Owner</th>- <th>Schedule</th>- <th>Batch size</th>- <th>Max concurrent</th>- <th>Rollout %</th>- <th>Active since</th>- <th>Dry run</th>- <th>Actions</th>- </tr>- </thead>- <tbody>- {% for check in checks %}- <tr>- <td><strong>{{ check.name }}</strong></td>- <td><code>{{ check.kind }}</code></td>- <td>{{ check.owner }}</td>- <td>{% if check.schedule %}<code>{{ check.schedule }}</code>{% else %}<span class="badge-no">Manual only</span>{% endif %}</td>- <td>{{ check.batch_size }}</td>- <td>{{ check.max_concurrent }}</td>- <td>{{ check.rollout_percentage|floatformat:2 }}</td>- <td>{% if check.active_since_days %}{{ check.active_since_days }}d{% else %}All teams{% endif %}</td>- <td>{% if check.dry_run %}<span class="badge-yes">Yes</span>{% else %}<span class="badge-no">No</span>{% endif %}</td>- <td><a class="trigger-link" href="{% url 'health-check-trigger' check.kind %}">Trigger</a></td>- </tr>- {% endfor %}- </tbody>-</table>-{% else %}-<p>No health checks registered. Ensure product health check modules are listed in the registry.</p>-{% endif %}+ <p><a href="/admin/">← Back to admin</a></p>+ {% if checks %}+ <table class="checks-table">+ <thead>+ <tr>+ <th>Name</th>+ <th>Kind</th>+ <th>Owner</th>+ <th>Schedule</th>+ <th>Batch size</th>+ <th>Max concurrent</th>+ <th>Rollout %</th>+ <th>Active since</th>+ <th>Dry run</th>+ <th>Actions</th>+ </tr>+ </thead>+ <tbody>+ {% for check in checks %}+ <tr>+ <td><strong>{{ check.name }}</strong></td>+ <td><code>{{ check.kind }}</code></td>+ <td>{{ check.owner }}</td>+ <td>{% if check.schedule %}<code>{{ check.schedule }}</code>{% else %}<span class="badge-no">Manual only</span>{% endif %}</td>+ <td>{{ check.batch_size }}</td>+ <td>{{ check.max_concurrent }}</td>+ <td>{{ check.rollout_percentage|floatformat:2 }}</td>+ <td>{% if check.active_since_days %}{{ check.active_since_days }}d{% else %}All teams{% endif %}</td>+ <td>{% if check.dry_run %}<span class="badge-yes">Yes</span>{% else %}<span class="badge-no">No</span>{% endif %}</td>+ <td><a class="trigger-link"+ href="{% url 'health-check-trigger' check.kind %}">Trigger</a></td>+ </tr>+ {% endfor %}+ </tbody>+ </table>+ {% else %}+ <p>No health checks registered. Ensure product health check modules are listed in the registry.</p>+ {% endif %}{% endblock %}diff --git a/posthog/templates/admin/health_checks/trigger.html b/posthog/templates/admin/health_checks/trigger.htmlindex 24df709351e7..10db04c5101e 100644--- a/posthog/templates/admin/health_checks/trigger.html+++ b/posthog/templates/admin/health_checks/trigger.html@@ -1,9 +1,8 @@{% extends "admin/base_site.html" %}{% load i18n %}-{% block extrastyle %}-{{ block.super }}-<style>+ {{ block.super }}+ <style>.config-card {border: 1px solid #e5e7eb;padding: 16px 20px;@@ -191,94 +190,88 @@.alert { padding: 10px 14px; margin: 16px 0; border-radius: 6px; font-size: 14px; }.alert-success { background: #dcfce7; border: 1px solid #86efac; color: #166534; }.alert-error { background: #fee2e2; border: 1px solid #fca5a5; color: #991b1b; }-</style>+ </style>{% endblock %}-{% block content %}-<p><a href="{% url 'health-checks' %}">← Back to health checks</a></p>--{% if messages %}- {% for message in messages %}- <div class="alert alert-{{ message.tags }}">{{ message }}</div>- {% endfor %}-{% endif %}--<div class="config-card">- <dl>- <dt>Kind</dt>- <dd><code>{{ config.kind }}</code></dd>- <dt>Name</dt>- <dd><code>{{ config.name }}</code></dd>- <dt>Owner</dt>- <dd>{{ config.owner }}</dd>- <dt>Schedule</dt>- <dd>{% if config.schedule %}<code>{{ config.schedule }}</code>{% else %}Manual only{% endif %}</dd>- </dl>-</div>--<div class="workflow-section">- <h3>Trigger workflow</h3>- <form method="post">- {% csrf_token %}-- <div class="checkbox-row">- <label>{{ form.dry_run }} Dry run</label>- {% if form.dry_run.help_text %}<p class="help-text">{{ form.dry_run.help_text }}</p>{% endif %}- {{ form.dry_run.errors }}- </div>-- <div class="form-row">- <label for="{{ form.batch_size.id_for_label }}">Batch size</label>- {{ form.batch_size }}- {% if form.batch_size.help_text %}<p class="help-text">{{ form.batch_size.help_text }}</p>{% endif %}- {{ form.batch_size.errors }}- </div>-- <div class="form-row">- <label for="{{ form.max_concurrent.id_for_label }}">Max concurrent</label>- {{ form.max_concurrent }}- {% if form.max_concurrent.help_text %}<p class="help-text">{{ form.max_concurrent.help_text }}</p>{% endif %}- {{ form.max_concurrent.errors }}- </div>-- <div class="form-row">- <label for="{{ form.rollout_percentage.id_for_label }}">Rollout percentage</label>- {{ form.rollout_percentage }}- {% if form.rollout_percentage.help_text %}<p class="help-text">{{ form.rollout_percentage.help_text }}</p>{% endif %}- {{ form.rollout_percentage.errors }}- </div>-- <div class="form-row">- <label for="{{ form.active_since_days.id_for_label }}">Active since (days)</label>- {{ form.active_since_days }}- {% if form.active_since_days.help_text %}<p class="help-text">{{ form.active_since_days.help_text }}</p>{% endif %}- {{ form.active_since_days.errors }}- </div>-- <div class="form-row">- <label for="{{ form.team_ids.id_for_label }}">Team IDs</label>- {{ form.team_ids }}- {% if form.team_ids.help_text %}<p class="help-text">{{ form.team_ids.help_text }}</p>{% endif %}- {{ form.team_ids.errors }}- </div>-- <div class="submit-row">- <input type="submit" value="Trigger workflow" class="btn-primary" />- </div>- </form>-</div>--<div class="workflow-section">- <div class="section-header">- <h3>Recent runs</h3>- <button id="poll-toggle" class="refresh-btn" type="button" title="Start auto-refresh">▶</button>+ <p><a href="{% url 'health-checks' %}">← Back to health checks</a></p>+ {% if messages %}+ {% for message in messages %}+ <div class="alert alert-{{ message.tags }}">{{ message }}</div>+ {% endfor %}+ {% endif %}+ <div class="config-card">+ <dl>+ <dt>Kind</dt>+ <dd>+ <code>{{ config.kind }}</code>+ </dd>+ <dt>Name</dt>+ <dd>+ <code>{{ config.name }}</code>+ </dd>+ <dt>Owner</dt>+ <dd>+ {{ config.owner }}+ </dd>+ <dt>Schedule</dt>+ <dd>{% if config.schedule %}<code>{{ config.schedule }}</code>{% else %}Manual only{% endif %}</dd>+ </dl></div>- <div id="runs-container">- {% include "admin/health_checks/_run_history.html" %}+ <div class="workflow-section">+ <h3>Trigger workflow</h3>+ <form method="post">+ {% csrf_token %}+ <div class="checkbox-row">+ <label>{{ form.dry_run }} Dry run</label>+ {% if form.dry_run.help_text %}<p class="help-text">{{ form.dry_run.help_text }}</p>{% endif %}+ {{ form.dry_run.errors }}+ </div>+ <div class="form-row">+ <label for="{{ form.batch_size.id_for_label }}">Batch size</label>+ {{ form.batch_size }}+ {% if form.batch_size.help_text %}<p class="help-text">{{ form.batch_size.help_text }}</p>{% endif %}+ {{ form.batch_size.errors }}+ </div>+ <div class="form-row">+ <label for="{{ form.max_concurrent.id_for_label }}">Max concurrent</label>+ {{ form.max_concurrent }}+ {% if form.max_concurrent.help_text %}<p class="help-text">{{ form.max_concurrent.help_text }}</p>{% endif %}+ {{ form.max_concurrent.errors }}+ </div>+ <div class="form-row">+ <label for="{{ form.rollout_percentage.id_for_label }}">Rollout percentage</label>+ {{ form.rollout_percentage }}+ {% if form.rollout_percentage.help_text %}<p class="help-text">{{ form.rollout_percentage.help_text }}</p>{% endif %}+ {{ form.rollout_percentage.errors }}+ </div>+ <div class="form-row">+ <label for="{{ form.active_since_days.id_for_label }}">Active since (days)</label>+ {{ form.active_since_days }}+ {% if form.active_since_days.help_text %}<p class="help-text">{{ form.active_since_days.help_text }}</p>{% endif %}+ {{ form.active_since_days.errors }}+ </div>+ <div class="form-row">+ <label for="{{ form.team_ids.id_for_label }}">Team IDs</label>+ {{ form.team_ids }}+ {% if form.team_ids.help_text %}<p class="help-text">{{ form.team_ids.help_text }}</p>{% endif %}+ {{ form.team_ids.errors }}+ </div>+ <div class="submit-row">+ <input type="submit" value="Trigger workflow" class="btn-primary" />+ </div>+ </form></div>-</div>--<script nonce="{{ request.csp_nonce }}">+ <div class="workflow-section">+ <div class="section-header">+ <h3>Recent runs</h3>+ <button id="poll-toggle"+ class="refresh-btn"+ type="button"+ title="Start auto-refresh">▶</button>+ </div>+ <div id="runs-container">{% include "admin/health_checks/_run_history.html" %}</div>+ </div>+ <script nonce="{{ request.csp_nonce }}">(function() {var container = document.getElementById("runs-container");var pollUrl = "{% url 'health-check-runs' config.kind %}";@@ -314,5 +307,5 @@});start();})();-</script>+ </script>{% endblock %}diff --git a/posthog/templates/admin/index.html b/posthog/templates/admin/index.htmlindex 758cec299451..4d640b4f6252 100644--- a/posthog/templates/admin/index.html+++ b/posthog/templates/admin/index.html@@ -1,10 +1,10 @@{% extends "admin/index.html" %}{% block content %}-<div id="content-main">- {% include "admin/app_list.html" with app_list=app_list show_changelinks=True %}- {% include "organization_tools/app.html" %}- {% include "redis/app.html" with app_list=app_list %}- {% include "api_key_search/app.html" with app_list=app_list %}- {% include "custom_tools/app.html" with app_list=app_list %}-</div>+ <div id="content-main">+ {% include "admin/app_list.html" with app_list=app_list show_changelinks=True %}+ {% include "organization_tools/app.html" %}+ {% include "redis/app.html" with app_list=app_list %}+ {% include "api_key_search/app.html" with app_list=app_list %}+ {% include "custom_tools/app.html" with app_list=app_list %}+ </div>{% endblock %}diff --git a/posthog/templates/admin/notebook_markdown_migration.html b/posthog/templates/admin/notebook_markdown_migration.htmlindex 3d79f5e9d405..218793330e39 100644--- a/posthog/templates/admin/notebook_markdown_migration.html+++ b/posthog/templates/admin/notebook_markdown_migration.html@@ -1,9 +1,8 @@{% extends "admin/base_site.html" %}{% load i18n admin_urls static %}-{% block extrastyle %}-{{ block.super }}-<style>+ {{ block.super }}+ <style>.notebook-migration-layout {display: grid;gap: 16px;@@ -82,72 +81,67 @@overflow: auto;white-space: pre-wrap;}-</style>+ </style>{% endblock %}-{% block content %}-<div class="notebook-migration-layout">- <div class="notebook-migration-card">- <h2>Migration status</h2>- <p>- Counts include every notebook row in scope, including internal, account-linked, and deleted notebooks.- </p>- <div class="notebook-migration-actions">- <button type="button" class="button" id="notebook-migration-refresh">Refresh</button>- <span id="notebook-migration-status">Loading…</span>- </div>- <div class="notebook-migration-stats">- <div class="notebook-migration-stat">- <span>Total notebooks</span>- <strong id="notebook-migration-total">-</strong>- </div>- <div class="notebook-migration-stat">- <span>Converted</span>- <strong id="notebook-migration-converted">-</strong>+ <div class="notebook-migration-layout">+ <div class="notebook-migration-card">+ <h2>Migration status</h2>+ <p>Counts include every notebook row in scope, including internal, account-linked, and deleted notebooks.</p>+ <div class="notebook-migration-actions">+ <button type="button" class="button" id="notebook-migration-refresh">Refresh</button>+ <span id="notebook-migration-status">Loading…</span></div>- <div class="notebook-migration-stat">- <span>Pending</span>- <strong id="notebook-migration-pending">-</strong>+ <div class="notebook-migration-stats">+ <div class="notebook-migration-stat">+ <span>Total notebooks</span>+ <strong id="notebook-migration-total">-</strong>+ </div>+ <div class="notebook-migration-stat">+ <span>Converted</span>+ <strong id="notebook-migration-converted">-</strong>+ </div>+ <div class="notebook-migration-stat">+ <span>Pending</span>+ <strong id="notebook-migration-pending">-</strong>+ </div></div></div>+ <div class="notebook-migration-card">+ <h2>Run migration</h2>+ <p>+ This rewrites rich notebooks into the markdown notebook format using the backend converter,+ increments the notebook version, publishes an update event, and writes a notebook history entry+ with the before/after content diff.+ </p>+ <form id="notebook-migration-form">+ {% csrf_token %}+ <div class="notebook-migration-row">+ <label for="{{ form.team_id.id_for_label }}">{{ form.team_id.label }}</label>+ {{ form.team_id }}+ <p class="notebook-migration-help">{{ form.team_id.help_text }}</p>+ </div>+ <div class="notebook-migration-row">+ <label for="{{ form.dry_run.id_for_label }}">+ {{ form.dry_run }}+ {{ form.dry_run.label }}+ </label>+ <p class="notebook-migration-help">{{ form.dry_run.help_text }}</p>+ </div>+ <div class="notebook-migration-row">+ <label for="{{ form.batch_size.id_for_label }}">{{ form.batch_size.label }}</label>+ {{ form.batch_size }}+ <p class="notebook-migration-help">{{ form.batch_size.help_text }}</p>+ </div>+ <div class="notebook-migration-actions">+ <button type="submit" class="default" id="notebook-migration-submit">Run batch</button>+ </div>+ </form>+ <div id="notebook-migration-message" class="notebook-migration-message"></div>+ <div id="notebook-migration-previews" class="notebook-migration-previews"></div>+ </div></div>-- <div class="notebook-migration-card">- <h2>Run migration</h2>- <p>- This rewrites rich notebooks into the markdown notebook format using the backend converter,- increments the notebook version, publishes an update event, and writes a notebook history entry- with the before/after content diff.- </p>- <form id="notebook-migration-form">- {% csrf_token %}- <div class="notebook-migration-row">- <label for="{{ form.team_id.id_for_label }}">{{ form.team_id.label }}</label>- {{ form.team_id }}- <p class="notebook-migration-help">{{ form.team_id.help_text }}</p>- </div>- <div class="notebook-migration-row">- <label for="{{ form.dry_run.id_for_label }}">- {{ form.dry_run }}- {{ form.dry_run.label }}- </label>- <p class="notebook-migration-help">{{ form.dry_run.help_text }}</p>- </div>- <div class="notebook-migration-row">- <label for="{{ form.batch_size.id_for_label }}">{{ form.batch_size.label }}</label>- {{ form.batch_size }}- <p class="notebook-migration-help">{{ form.batch_size.help_text }}</p>- </div>- <div class="notebook-migration-actions">- <button type="submit" class="default" id="notebook-migration-submit">Run batch</button>- </div>- </form>- <div id="notebook-migration-message" class="notebook-migration-message"></div>- <div id="notebook-migration-previews" class="notebook-migration-previews"></div>- </div>-</div>--<script nonce="{{ request.csp_nonce }}">+ <script nonce="{{ request.csp_nonce }}">(function () {const statsUrl = "{% url 'notebook-markdown-migration-stats' %}"const runUrl = "{% url 'notebook-markdown-migration-run' %}"@@ -288,5 +282,5 @@refreshStats()})()-</script>+ </script>{% endblock %}diff --git a/posthog/templates/admin/organization/ai_training_opt_in_history.html b/posthog/templates/admin/organization/ai_training_opt_in_history.htmlindex b014b1b0d17d..5e4bc09addeb 100644--- a/posthog/templates/admin/organization/ai_training_opt_in_history.html+++ b/posthog/templates/admin/organization/ai_training_opt_in_history.html@@ -1,44 +1,43 @@{% if history.error %}-<div style="padding: 8px; border-left: 3px solid #dc3545;">- <strong>{{ history.headline }}</strong>- <p style="margin: 4px 0 0;">Reload the page. If it keeps failing, read the organization's activity log directly.</p>- <p style="margin: 4px 0 0;">Error: {{ history.error }}</p>-</div>+ <div style="padding: 8px; border-left: 3px solid #dc3545;">+ <strong>{{ history.headline }}</strong>+ <p style="margin: 4px 0 0;">Reload the page. If it keeps failing, read the organization's activity log directly.</p>+ <p style="margin: 4px 0 0;">Error: {{ history.error }}</p>+ </div>{% else %}-{% if history.warning %}-<div style="margin-bottom: 12px; padding: 8px; border-left: 3px solid #dc3545;">- {{ history.warning }}-</div>-{% endif %}-<strong>{{ history.headline }}</strong>--{% if history.changes %}-{% if history.truncated %}-<p>Showing the most recent {{ history.changes|length }} changes only. There are more in the activity log.</p>-{% endif %}-<table style="border-collapse: collapse; width: 100%; margin-top: 12px;">- <thead>- <tr>- <th style="padding: 6px; text-align: left;">When</th>- <th style="padding: 6px; text-align: left;">Change</th>- <th style="padding: 6px; text-align: left;">Origin</th>- <th style="padding: 6px; text-align: left;">Actor</th>- <th style="padding: 6px; text-align: left;">Client</th>- <th style="padding: 6px; text-align: left;">IP</th>- </tr>- </thead>- <tbody>- {% for change in history.changes %}- <tr style="border-top: 1px solid;">- <td style="padding: 6px; white-space: nowrap;">{{ change.changed_at_display }}</td>- <td style="padding: 6px;">{{ change.transition_display }}</td>- <td style="padding: 6px;">{{ change.origin }}</td>- <td style="padding: 6px;">{{ change.actor }}</td>- <td style="padding: 6px;">{{ change.client|default_if_none:"-" }}</td>- <td style="padding: 6px;">{{ change.ip_address|default_if_none:"-" }}</td>- </tr>- {% endfor %}- </tbody>-</table>-{% endif %}+ {% if history.warning %}+ <div style="margin-bottom: 12px;+ padding: 8px;+ border-left: 3px solid #dc3545">{{ history.warning }}</div>+ {% endif %}+ <strong>{{ history.headline }}</strong>+ {% if history.changes %}+ {% if history.truncated %}+ <p>Showing the most recent {{ history.changes|length }} changes only. There are more in the activity log.</p>+ {% endif %}+ <table style="border-collapse: collapse; width: 100%; margin-top: 12px;">+ <thead>+ <tr>+ <th style="padding: 6px; text-align: left;">When</th>+ <th style="padding: 6px; text-align: left;">Change</th>+ <th style="padding: 6px; text-align: left;">Origin</th>+ <th style="padding: 6px; text-align: left;">Actor</th>+ <th style="padding: 6px; text-align: left;">Client</th>+ <th style="padding: 6px; text-align: left;">IP</th>+ </tr>+ </thead>+ <tbody>+ {% for change in history.changes %}+ <tr style="border-top: 1px solid;">+ <td style="padding: 6px; white-space: nowrap;">{{ change.changed_at_display }}</td>+ <td style="padding: 6px;">{{ change.transition_display }}</td>+ <td style="padding: 6px;">{{ change.origin }}</td>+ <td style="padding: 6px;">{{ change.actor }}</td>+ <td style="padding: 6px;">{{ change.client|default_if_none:"-" }}</td>+ <td style="padding: 6px;">{{ change.ip_address|default_if_none:"-" }}</td>+ </tr>+ {% endfor %}+ </tbody>+ </table>+ {% endif %}{% endif %}diff --git a/posthog/templates/admin/organization/limited_products.html b/posthog/templates/admin/organization/limited_products.htmlindex e460ca6312bc..426a8775c2dc 100644--- a/posthog/templates/admin/organization/limited_products.html+++ b/posthog/templates/admin/organization/limited_products.html@@ -11,31 +11,40 @@</thead><tbody>{% for resource, info in limited.items %}- <tr style="border-top: 1px solid #ddd;">- <td style="padding: 8px;">{{ resource }}</td>- <td style="padding: 8px; color: {% if info.is_limited_in_redis %}red{% else %}green{% endif %}; font-weight: bold;">- {% if info.is_limited_in_redis %}🔒 Limited{% else %}✓ OK{% endif %}- </td>- <td style="padding: 8px;">{{ info.limited_teams|length }}<span style="color: #888">/{{ total_teams }}</span></td>- <td style="padding: 8px;">{{ info.redis_quota_limited_until_formatted }}</td>- <td style="padding: 8px;">{{ info.usage_quota_limited_until_formatted }}</td>- <td style="padding: 8px;">- <form method="post" action="{% url 'admin:limit_product' organization_id %}" style="display: inline-block; margin-right: 4px;">- {% csrf_token %}- <input type="hidden" name="resource" value="{{ resource }}">- <button type="submit" class="button" style="padding: 2px 8px; font-size: 11px;" {% if info.is_limited_in_redis %}disabled{% endif %}>- Limit- </button>- </form>- <form method="post" action="{% url 'admin:unlimit_product' organization_id %}" style="display: inline-block;">- {% csrf_token %}- <input type="hidden" name="resource" value="{{ resource }}">- <button type="submit" class="button" style="padding: 2px 8px; font-size: 11px;" {% if not info.is_limited_in_redis %}disabled{% endif %}>- Unlimit- </button>- </form>- </td>- </tr>+ <tr style="border-top: 1px solid #ddd;">+ <td style="padding: 8px;">{{ resource }}</td>+ <td style="padding: 8px;+ color: {% if info.is_limited_in_redis %}red{% else %}green{% endif %};+ font-weight: bold">{% if info.is_limited_in_redis %}🔒 Limited{% else %}✓ OK{% endif %}</td>+ <td style="padding: 8px;">{{ info.limited_teams|length }}<span style="color: #888">/{{ total_teams }}</span></td>+ <td style="padding: 8px;">{{ info.redis_quota_limited_until_formatted }}</td>+ <td style="padding: 8px;">{{ info.usage_quota_limited_until_formatted }}</td>+ <td style="padding: 8px;">+ <form method="post"+ action="{% url 'admin:limit_product' organization_id %}"+ style="display: inline-block;+ margin-right: 4px">+ {% csrf_token %}+ <input type="hidden" name="resource" value="{{ resource }}">+ <button type="submit"+ class="button"+ style="padding: 2px 8px;+ font-size: 11px"+ {% if info.is_limited_in_redis %}disabled{% endif %}>Limit</button>+ </form>+ <form method="post"+ action="{% url 'admin:unlimit_product' organization_id %}"+ style="display: inline-block">+ {% csrf_token %}+ <input type="hidden" name="resource" value="{{ resource }}">+ <button type="submit"+ class="button"+ style="padding: 2px 8px;+ font-size: 11px"+ {% if not info.is_limited_in_redis %}disabled{% endif %}>Unlimit</button>+ </form>+ </td>+ </tr>{% endfor %}</tbody></table>diff --git a/posthog/templates/admin/organization/model_counts.html b/posthog/templates/admin/organization/model_counts.htmlindex 4eb56fac3dfb..35111922e79e 100644--- a/posthog/templates/admin/organization/model_counts.html+++ b/posthog/templates/admin/organization/model_counts.html@@ -1,50 +1,46 @@{% extends "admin/base_site.html" %}{% load i18n admin_urls %}-{% block content %}-<h1>Model Counts for {{ organization.name }}</h1>-<p><strong>Organization ID:</strong> {{ organization.id }}</p>-<p>These are the Postgres models that would be deleted during organization bulk-delete.</p>--<table style="width: 100%; border-collapse: collapse; margin: 20px 0;">- <thead>- <tr style="background: #f5f5f5;">- <th style="text-align: left; padding: 10px; border: 1px solid #ddd;">Model</th>- <th style="text-align: right; padding: 10px; border: 1px solid #ddd;">Count</th>- </tr>- </thead>- <tbody>- {% for item in counts %}- <tr>- <td style="padding: 10px; border: 1px solid #ddd;">{{ item.name }}</td>- <td style="text-align: right; padding: 10px; border: 1px solid #ddd;">- {% if item.persons_db %}- <em style="color: #888;">Persons database — count unavailable</em>- {% elif item.count is not None %}- {{ item.count|default:0 }}- {% else %}- -- {% endif %}- </td>- </tr>- {% endfor %}- </tbody>- <tfoot>- <tr style="background: #f5f5f5; font-weight: bold;">- <td style="padding: 10px; border: 1px solid #ddd;">Total Records (default database only)</td>- <td style="text-align: right; padding: 10px; border: 1px solid #ddd;">{{ total|default:0 }}</td>- </tr>- </tfoot>-</table>--{% if has_persons_db_models %}-<p style="color: #888; font-style: italic;">- Some models live in the persons database and cannot be counted from this admin view.- These models will still be deleted as part of organization deletion.-</p>-{% endif %}--<p style="margin-top: 20px;">- <a href="{% url 'admin:posthog_organization_change' organization.id %}">← Back to Organization</a>-</p>+ <h1>Model Counts for {{ organization.name }}</h1>+ <p><strong>Organization ID:</strong> {{ organization.id }}</p>+ <p>These are the Postgres models that would be deleted during organization bulk-delete.</p>+ <table style="width: 100%; border-collapse: collapse; margin: 20px 0;">+ <thead>+ <tr style="background: #f5f5f5;">+ <th style="text-align: left; padding: 10px; border: 1px solid #ddd;">Model</th>+ <th style="text-align: right; padding: 10px; border: 1px solid #ddd;">Count</th>+ </tr>+ </thead>+ <tbody>+ {% for item in counts %}+ <tr>+ <td style="padding: 10px; border: 1px solid #ddd;">{{ item.name }}</td>+ <td style="text-align: right; padding: 10px; border: 1px solid #ddd;">+ {% if item.persons_db %}+ <em style="color: #888;">Persons database — count unavailable</em>+ {% elif item.count is not None %}+ {{ item.count|default:0 }}+ {% else %}+ -+ {% endif %}+ </td>+ </tr>+ {% endfor %}+ </tbody>+ <tfoot>+ <tr style="background: #f5f5f5; font-weight: bold;">+ <td style="padding: 10px; border: 1px solid #ddd;">Total Records (default database only)</td>+ <td style="text-align: right; padding: 10px; border: 1px solid #ddd;">{{ total|default:0 }}</td>+ </tr>+ </tfoot>+ </table>+ {% if has_persons_db_models %}+ <p style="color: #888; font-style: italic;">+ Some models live in the persons database and cannot be counted from this admin view.+ These models will still be deleted as part of organization deletion.+ </p>+ {% endif %}+ <p style="margin-top: 20px;">+ <a href="{% url 'admin:posthog_organization_change' organization.id %}">← Back to Organization</a>+ </p>{% endblock %}diff --git a/posthog/templates/admin/organization/sync_to_billing.html b/posthog/templates/admin/organization/sync_to_billing.htmlindex 4b3bc0fa1668..2fea63b541a1 100644--- a/posthog/templates/admin/organization/sync_to_billing.html+++ b/posthog/templates/admin/organization/sync_to_billing.html@@ -1,4 +1,6 @@-<form method="post" action="{% url 'admin:organization_sync_to_billing' organization_id %}" style="display: inline-block;">+<form method="post"+ action="{% url 'admin:organization_sync_to_billing' organization_id %}"+ style="display: inline-block">{% csrf_token %}<button type="submit" class="button">Sync to billing</button></form>diff --git a/posthog/templates/admin/organization/usage_display.html b/posthog/templates/admin/organization/usage_display.htmlindex b5f3dab737e0..5b066d68323f 100644--- a/posthog/templates/admin/organization/usage_display.html+++ b/posthog/templates/admin/organization/usage_display.html@@ -1,10 +1,11 @@{% if period_info %}-<div style="margin-bottom: 12px; padding: 8px; border-left: 3px solid #007bff;">- <strong>Billing Period:</strong> {{ period_info.start }} to {{ period_info.end }}- <span style="margin-left: 12px;">({{ period_info.days_remaining }} days remaining)</span>-</div>+ <div style="margin-bottom: 12px;+ padding: 8px;+ border-left: 3px solid #007bff">+ <strong>Billing Period:</strong> {{ period_info.start }} to {{ period_info.end }}+ <span style="margin-left: 12px;">({{ period_info.days_remaining }} days remaining)</span>+ </div>{% endif %}-<table style="border-collapse: collapse; width: 100%;"><thead><tr>@@ -17,28 +18,28 @@</thead><tbody>{% for product, data in usage_data.items %}- <tr style="border-top: 1px solid;">- <td style="padding: 8px;">{{ product }}</td>- <td style="padding: 8px; text-align: right;">{{ data.usage }}</td>- <td style="padding: 8px; text-align: right;">- {% if data.limit %}- {{ data.limit }}- {% else %}- <span style="color: #28a745;">∞ Unlimited</span>- {% endif %}- </td>- <td style="padding: 8px; text-align: right;">{{ data.todays_usage }}</td>- <td style="padding: 8px; text-align: center;">- {% if data.limit_raw and data.usage_raw is not None %}- {% widthratio data.usage_raw data.limit_raw 100 as percentage %}- <span style="color: {% if percentage >= 90 %}#dc3545{% elif percentage >= 75 %}#fd7e14{% else %}#28a745{% endif %};">- {{ percentage }}%- </span>- {% else %}- -- {% endif %}- </td>- </tr>+ <tr style="border-top: 1px solid;">+ <td style="padding: 8px;">{{ product }}</td>+ <td style="padding: 8px; text-align: right;">{{ data.usage }}</td>+ <td style="padding: 8px; text-align: right;">+ {% if data.limit %}+ {{ data.limit }}+ {% else %}+ <span style="color: #28a745;">∞ Unlimited</span>+ {% endif %}+ </td>+ <td style="padding: 8px; text-align: right;">{{ data.todays_usage }}</td>+ <td style="padding: 8px; text-align: center;">+ {% if data.limit_raw and data.usage_raw is not None %}+ {% widthratio data.usage_raw data.limit_raw 100 as percentage %}+ <span style="color: {% if percentage >= 90 %}#dc3545{% elif percentage >= 75 %}#fd7e14{% else %}#28a745{% endif %}">+ {{ percentage }}%+ </span>+ {% else %}+ -+ {% endif %}+ </td>+ </tr>{% endfor %}</tbody></table>diff --git a/posthog/templates/admin/posthog/api_key/change_form.html b/posthog/templates/admin/posthog/api_key/change_form.htmlindex c92f43d7c818..2f36e977055f 100644--- a/posthog/templates/admin/posthog/api_key/change_form.html+++ b/posthog/templates/admin/posthog/api_key/change_form.html@@ -1,10 +1,8 @@{% extends "admin/change_form.html" %}{% load i18n %}-{% block extrahead %}- {{ block.super }}-- <script nonce="{{ request.csp_nonce }}">+ {{ block.super }}+ <script nonce="{{ request.csp_nonce }}">window.addEventListener("DOMContentLoaded", () => {document.getElementById("roll_key_button")?.addEventListener("click", (event) => {const url = window.prompt("Enter the URL where the key was exposed (optional). This will be included in the notification email.");@@ -19,5 +17,5 @@urlField.value = url;});});- </script>+ </script>{% endblock %}diff --git a/posthog/templates/admin/posthog/datadeletionrequest/approve.html b/posthog/templates/admin/posthog/datadeletionrequest/approve.htmlindex 85544d8c70a3..663f5bd9bf54 100644--- a/posthog/templates/admin/posthog/datadeletionrequest/approve.html+++ b/posthog/templates/admin/posthog/datadeletionrequest/approve.html@@ -1,82 +1,112 @@{% extends "admin/base_site.html" %}{% load i18n %}-{% block title %}Approve deletion request{% endblock %}-{% block content %}-<h1>Approve deletion request</h1>--<table style="margin: 20px 0; border-collapse: collapse; width: 100%;">- <tr><th style="text-align: left; padding: 8px; border-bottom: 1px solid #ddd;">Team ID</th><td style="padding: 8px; border-bottom: 1px solid #ddd;">{{ obj.team_id }}</td></tr>- <tr><th style="text-align: left; padding: 8px; border-bottom: 1px solid #ddd;">Request type</th><td style="padding: 8px; border-bottom: 1px solid #ddd;">{{ obj.get_request_type_display }}</td></tr>- <tr><th style="text-align: left; padding: 8px; border-bottom: 1px solid #ddd;">Time range</th><td style="padding: 8px; border-bottom: 1px solid #ddd;">{{ obj.start_time }} – {{ obj.end_time }}</td></tr>- <tr>- <th style="text-align: left; padding: 8px; border-bottom: 1px solid #ddd; vertical-align: top;">Events</th>- <td style="padding: 8px; border-bottom: 1px solid #ddd;">- <ul style="margin: 0; padding-left: 20px;">- {% for event in obj.events %}- <li><code>{{ event }}</code></li>- {% empty %}- <li><em>None</em></li>- {% endfor %}- </ul>- </td>- </tr>- {% if obj.properties %}- <tr>- <th style="text-align: left; padding: 8px; border-bottom: 1px solid #ddd; vertical-align: top;">Properties</th>- <td style="padding: 8px; border-bottom: 1px solid #ddd;">- <ul style="margin: 0; padding-left: 20px;">- {% for prop in obj.properties %}- <li><code>{{ prop }}</code></li>- {% endfor %}- </ul>- </td>- </tr>- {% endif %}- <tr><th style="text-align: left; padding: 8px; border-bottom: 1px solid #ddd;">Matching events</th><td style="padding: 8px; border-bottom: 1px solid #ddd;">{{ obj.count|default:"—" }}</td></tr>- <tr><th style="text-align: left; padding: 8px;">Created by</th><td style="padding: 8px;">{{ obj.created_by|default:"—" }}</td></tr>-</table>--<form method="post">- {% csrf_token %}- <fieldset style="margin: 20px 0; padding: 16px; border: 1px solid #ccc; border-radius: 4px;">- <legend style="font-weight: bold; padding: 0 8px;">Execution mode</legend>- {% if supports_deferred %}- <p style="color: #555; margin: 4px 0 12px 0;">Pick how this deletion should execute.</p>- {% for value, label in execution_mode_choices %}- <div style="margin: 8px 0;">- <label style="cursor: pointer;">- <input type="radio" name="execution_mode" value="{{ value }}"- {% if value == default_execution_mode %}checked{% endif %} />- <strong>{{ label }}</strong>- {% if value == "immediate" %}- — Dispatch a dedicated lightweight-delete mutation now on each shard. Events gone when the job finishes.- {% elif value == "deferred" %}- — Queue matching event UUIDs into <code>adhoc_events_deletion</code>. The scheduled <code>deletes_job</code> drains them alongside other batched deletes. Request lands in <code>queued</code> and transitions to <code>completed</code> once the events are gone.- {% endif %}- </label>- </div>- {% endfor %}- {% elif is_person_removal %}- <p style="color: #555; margin: 4px 0;">- Person removal requests always execute immediately — deferred mode is only supported for event removal.- </p>- <select disabled style="opacity: 0.6;">- <option selected>Immediate</option>- </select>- <input type="hidden" name="execution_mode" value="immediate" />- {% else %}- <p style="color: #555; margin: 4px 0;">- Property removal requests always execute immediately — deferred mode is only supported for event removal.- </p>- <input type="hidden" name="execution_mode" value="immediate" />+ <h1>Approve deletion request</h1>+ <table style="margin: 20px 0; border-collapse: collapse; width: 100%;">+ <tr>+ <th style="text-align: left; padding: 8px; border-bottom: 1px solid #ddd">Team ID</th>+ <td style="padding: 8px; border-bottom: 1px solid #ddd;">{{ obj.team_id }}</td>+ </tr>+ <tr>+ <th style="text-align: left; padding: 8px; border-bottom: 1px solid #ddd">Request type</th>+ <td style="padding: 8px; border-bottom: 1px solid #ddd;">{{ obj.get_request_type_display }}</td>+ </tr>+ <tr>+ <th style="text-align: left; padding: 8px; border-bottom: 1px solid #ddd">Time range</th>+ <td style="padding: 8px; border-bottom: 1px solid #ddd;">{{ obj.start_time }} – {{ obj.end_time }}</td>+ </tr>+ <tr>+ <th style="text-align: left;+ padding: 8px;+ border-bottom: 1px solid #ddd;+ vertical-align: top">Events</th>+ <td style="padding: 8px; border-bottom: 1px solid #ddd;">+ <ul style="margin: 0; padding-left: 20px;">+ {% for event in obj.events %}+ <li><code>{{ event }}</code></li>+ {% empty %}+ <li><em>None</em></li>+ {% endfor %}+ </ul>+ </td>+ </tr>+ {% if obj.properties %}+ <tr>+ <th style="text-align: left;+ padding: 8px;+ border-bottom: 1px solid #ddd;+ vertical-align: top">Properties</th>+ <td style="padding: 8px; border-bottom: 1px solid #ddd;">+ <ul style="margin: 0; padding-left: 20px;">+ {% for prop in obj.properties %}+ <li><code>{{ prop }}</code></li>+ {% endfor %}+ </ul>+ </td>+ </tr>{% endif %}- </fieldset>-- <div style="margin-top: 20px; display: flex; gap: 10px; align-items: center;">- <input type="submit" value="Confirm & Approve" class="default" style="padding: 10px 15px; background: #5cb85c; color: white;" />- <a href="{% url 'admin:posthog_datadeletionrequest_change' obj.pk %}" style="padding: 10px 15px;">Back</a>- </div>-</form>+ <tr>+ <th style="text-align: left; padding: 8px; border-bottom: 1px solid #ddd">Matching events</th>+ <td style="padding: 8px; border-bottom: 1px solid #ddd;">{{ obj.count|default:"—" }}</td>+ </tr>+ <tr>+ <th style="text-align: left; padding: 8px;">Created by</th>+ <td style="padding: 8px;">{{ obj.created_by|default:"—" }}</td>+ </tr>+ </table>+ <form method="post">+ {% csrf_token %}+ <fieldset style="margin: 20px 0;+ padding: 16px;+ border: 1px solid #ccc;+ border-radius: 4px">+ <legend style="font-weight: bold; padding: 0 8px;">Execution mode</legend>+ {% if supports_deferred %}+ <p style="color: #555; margin: 4px 0 12px 0;">Pick how this deletion should execute.</p>+ {% for value, label in execution_mode_choices %}+ <div style="margin: 8px 0;">+ <label style="cursor: pointer;">+ <input type="radio"+ name="execution_mode"+ value="{{ value }}"+ {% if value == default_execution_mode %}checked{% endif %} />+ <strong>{{ label }}</strong>+ {% if value == "immediate" %}+ — Dispatch a dedicated lightweight-delete mutation now on each shard. Events gone when the job finishes.+ {% elif value == "deferred" %}+ — Queue matching event UUIDs into <code>adhoc_events_deletion</code>. The scheduled <code>deletes_job</code> drains them alongside other batched deletes. Request lands in <code>queued</code> and transitions to <code>completed</code> once the events are gone.+ {% endif %}+ </label>+ </div>+ {% endfor %}+ {% elif is_person_removal %}+ <p style="color: #555; margin: 4px 0;">+ Person removal requests always execute immediately — deferred mode is only supported for event removal.+ </p>+ <select disabled style="opacity: 0.6;">+ <option selected>Immediate</option>+ </select>+ <input type="hidden" name="execution_mode" value="immediate" />+ {% else %}+ <p style="color: #555; margin: 4px 0;">+ Property removal requests always execute immediately — deferred mode is only supported for event removal.+ </p>+ <input type="hidden" name="execution_mode" value="immediate" />+ {% endif %}+ </fieldset>+ <div style="margin-top: 20px;+ display: flex;+ gap: 10px;+ align-items: center">+ <input type="submit"+ value="Confirm & Approve"+ class="default"+ style="padding: 10px 15px;+ background: #5cb85c;+ color: white" />+ <a href="{% url 'admin:posthog_datadeletionrequest_change' obj.pk %}"+ style="padding: 10px 15px">Back</a>+ </div>+ </form>{% endblock %}diff --git a/posthog/templates/admin/posthog/datadeletionrequest/change_form.html b/posthog/templates/admin/posthog/datadeletionrequest/change_form.htmlindex fae21792cbbb..809f8fc31ece 100644--- a/posthog/templates/admin/posthog/datadeletionrequest/change_form.html+++ b/posthog/templates/admin/posthog/datadeletionrequest/change_form.html@@ -1,31 +1,27 @@{% extends "admin/change_form.html" %}{% load i18n %}-{% block after_field_sets %}{{ block.super }}-{% if original.events %}- <fieldset>- <h2>Events list</h2>- <ul style="margin: 8px 0 8px 20px;">- {% for event in original.events %}- <li><code>{{ event }}</code></li>- {% endfor %}- </ul>- </fieldset>+ <fieldset>+ <h2>Events list</h2>+ <ul style="margin: 8px 0 8px 20px;">+ {% for event in original.events %}+ <li><code>{{ event }}</code></li>+ {% endfor %}+ </ul>+ </fieldset>{% endif %}-{% if original.properties %}- <fieldset>- <h2>Properties list</h2>- <ul style="margin: 8px 0 8px 20px;">- {% for prop in original.properties %}- <li><code>{{ prop }}</code></li>- {% endfor %}- </ul>- </fieldset>+ <fieldset>+ <h2>Properties list</h2>+ <ul style="margin: 8px 0 8px 20px;">+ {% for prop in original.properties %}+ <li><code>{{ prop }}</code></li>+ {% endfor %}+ </ul>+ </fieldset>{% endif %}-{% comment %}Stats are calculated from this page (works for any status). These buttons useformaction= to post the surrounding admin <form> to the stats views.@@ -33,92 +29,231 @@add view an empty formaction would post back and create a record.{% endcomment %}{% if original %}- <fieldset style="margin: 20px 0; padding: 16px; border: 1px solid #ccc; border-radius: 4px;">- <h2>ClickHouse stats</h2>- {% if original.stats_calculated_at %}- <table style="border-collapse: collapse; width: 100%;">- <tr><th style="text-align: left; padding: 6px 8px; border-bottom: 1px solid #eee;">Matching events</th><td style="padding: 6px 8px; border-bottom: 1px solid #eee;">{{ original.count|default:"0" }}</td></tr>- <tr><th style="text-align: left; padding: 6px 8px; border-bottom: 1px solid #eee;">Min timestamp</th><td style="padding: 6px 8px; border-bottom: 1px solid #eee;">{{ original.min_timestamp|default:"—" }}</td></tr>- <tr><th style="text-align: left; padding: 6px 8px; border-bottom: 1px solid #eee;">Max timestamp</th><td style="padding: 6px 8px; border-bottom: 1px solid #eee;">{{ original.max_timestamp|default:"—" }}</td></tr>- <tr><th style="text-align: left; padding: 6px 8px; border-bottom: 1px solid #eee;">Part count</th><td style="padding: 6px 8px; border-bottom: 1px solid #eee;">{{ original.part_count|default:"0" }}</td></tr>- <tr><th style="text-align: left; padding: 6px 8px; border-bottom: 1px solid #eee;">Parts size</th><td style="padding: 6px 8px; border-bottom: 1px solid #eee;">{{ original.parts_size|default:"0" }} bytes</td></tr>- <tr><th style="text-align: left; padding: 6px 8px; border-bottom: 1px solid #eee;">Total rows in affected parts</th><td style="padding: 6px 8px; border-bottom: 1px solid #eee;">{{ original.parts_row_count|default:"0" }}</td></tr>- <tr><th style="text-align: left; padding: 6px 8px;">Calculated at</th><td style="padding: 6px 8px;">{{ original.stats_calculated_at }}</td></tr>- </table>- {% else %}- <p style="color: #666; margin: 4px 0;">No stats have been fetched yet.</p>- {% endif %}- <div style="margin-top: 12px; display: flex; gap: 8px; align-items: center;">- <button type="submit" formaction="{{ fetch_stats_url }}" formmethod="post" formnovalidate class="button" style="padding: 8px 14px;">{% if original.stats_calculated_at %}Refresh stats{% else %}Fetch stats{% endif %}</button>- {% if is_clickhouse_team %}- <button type="submit" formaction="{{ preview_stats_url }}" formmethod="post" formnovalidate class="button" style="padding: 8px 14px;">Show stats now (don't save)</button>+ <fieldset style="margin: 20px 0;+ padding: 16px;+ border: 1px solid #ccc;+ border-radius: 4px">+ <h2>ClickHouse stats</h2>+ {% if original.stats_calculated_at %}+ <table style="border-collapse: collapse; width: 100%;">+ <tr>+ <th style="text-align: left;+ padding: 6px 8px;+ border-bottom: 1px solid #eee">Matching events</th>+ <td style="padding: 6px 8px; border-bottom: 1px solid #eee;">{{ original.count|default:"0" }}</td>+ </tr>+ <tr>+ <th style="text-align: left;+ padding: 6px 8px;+ border-bottom: 1px solid #eee">Min timestamp</th>+ <td style="padding: 6px 8px; border-bottom: 1px solid #eee;">{{ original.min_timestamp|default:"—" }}</td>+ </tr>+ <tr>+ <th style="text-align: left;+ padding: 6px 8px;+ border-bottom: 1px solid #eee">Max timestamp</th>+ <td style="padding: 6px 8px; border-bottom: 1px solid #eee;">{{ original.max_timestamp|default:"—" }}</td>+ </tr>+ <tr>+ <th style="text-align: left;+ padding: 6px 8px;+ border-bottom: 1px solid #eee">Part count</th>+ <td style="padding: 6px 8px; border-bottom: 1px solid #eee;">{{ original.part_count|default:"0" }}</td>+ </tr>+ <tr>+ <th style="text-align: left;+ padding: 6px 8px;+ border-bottom: 1px solid #eee">Parts size</th>+ <td style="padding: 6px 8px; border-bottom: 1px solid #eee;">{{ original.parts_size|default:"0" }} bytes</td>+ </tr>+ <tr>+ <th style="text-align: left;+ padding: 6px 8px;+ border-bottom: 1px solid #eee">Total rows in affected parts</th>+ <td style="padding: 6px 8px; border-bottom: 1px solid #eee;">{{ original.parts_row_count|default:"0" }}</td>+ </tr>+ <tr>+ <th style="text-align: left; padding: 6px 8px;">Calculated at</th>+ <td style="padding: 6px 8px;">{{ original.stats_calculated_at }}</td>+ </tr>+ </table>+ {% else %}+ <p style="color: #666; margin: 4px 0;">No stats have been fetched yet.</p>{% endif %}- </div>- </fieldset>+ <div style="margin-top: 12px;+ display: flex;+ gap: 8px;+ align-items: center">+ <button type="submit"+ formaction="{{ fetch_stats_url }}"+ formmethod="post"+ formnovalidate+ class="button"+ style="padding: 8px 14px">{% if original.stats_calculated_at %}Refresh stats{% else %}Fetch stats{% endif %}</button>+ {% if is_clickhouse_team %}+ <button type="submit"+ formaction="{{ preview_stats_url }}"+ formmethod="post"+ formnovalidate+ class="button"+ style="padding: 8px 14px">Show stats now (don't save)</button>+ {% endif %}+ </div>+ </fieldset>{% endif %}-{% if preview_stats %}- <fieldset style="margin: 20px 0; padding: 16px; border: 1px dashed #0c5460; border-radius: 4px; background: #d1ecf1; color: #0c5460;">- <h2 style="color: #0c5460;">Preview (not saved)</h2>- <table style="border-collapse: collapse; width: 100%;">- <tr><th style="text-align: left; padding: 6px 8px; border-bottom: 1px solid #bee5eb;">Matching events</th><td style="padding: 6px 8px; border-bottom: 1px solid #bee5eb;">{{ preview_stats.count|default:"0" }}</td></tr>- {% if preview_stats.min_timestamp is not None %}- <tr><th style="text-align: left; padding: 6px 8px; border-bottom: 1px solid #bee5eb;">Min timestamp</th><td style="padding: 6px 8px; border-bottom: 1px solid #bee5eb;">{{ preview_stats.min_timestamp|default:"—" }}</td></tr>- <tr><th style="text-align: left; padding: 6px 8px; border-bottom: 1px solid #bee5eb;">Max timestamp</th><td style="padding: 6px 8px; border-bottom: 1px solid #bee5eb;">{{ preview_stats.max_timestamp|default:"—" }}</td></tr>- <tr><th style="text-align: left; padding: 6px 8px; border-bottom: 1px solid #bee5eb;">Part count</th><td style="padding: 6px 8px; border-bottom: 1px solid #bee5eb;">{{ preview_stats.part_count|default:"0" }}</td></tr>- <tr><th style="text-align: left; padding: 6px 8px; border-bottom: 1px solid #bee5eb;">Parts size</th><td style="padding: 6px 8px; border-bottom: 1px solid #bee5eb;">{{ preview_stats.parts_size|default:"0" }} bytes</td></tr>- <tr><th style="text-align: left; padding: 6px 8px; border-bottom: 1px solid #bee5eb;">Total rows in affected parts</th><td style="padding: 6px 8px; border-bottom: 1px solid #bee5eb;">{{ preview_stats.parts_row_count|default:"0" }}</td></tr>- {% endif %}- <tr><th style="text-align: left; padding: 6px 8px;">Previewed at</th><td style="padding: 6px 8px;">{{ preview_stats.calculated_at }}</td></tr>- </table>- </fieldset>+ <fieldset style="margin: 20px 0;+ padding: 16px;+ border: 1px dashed #0c5460;+ border-radius: 4px;+ background: #d1ecf1;+ color: #0c5460">+ <h2 style="color: #0c5460;">Preview (not saved)</h2>+ <table style="border-collapse: collapse; width: 100%;">+ <tr>+ <th style="text-align: left;+ padding: 6px 8px;+ border-bottom: 1px solid #bee5eb">Matching events</th>+ <td style="padding: 6px 8px; border-bottom: 1px solid #bee5eb;">{{ preview_stats.count|default:"0" }}</td>+ </tr>+ {% if preview_stats.min_timestamp is not None %}+ <tr>+ <th style="text-align: left;+ padding: 6px 8px;+ border-bottom: 1px solid #bee5eb">Min timestamp</th>+ <td style="padding: 6px 8px; border-bottom: 1px solid #bee5eb;">{{ preview_stats.min_timestamp|default:"—" }}</td>+ </tr>+ <tr>+ <th style="text-align: left;+ padding: 6px 8px;+ border-bottom: 1px solid #bee5eb">Max timestamp</th>+ <td style="padding: 6px 8px; border-bottom: 1px solid #bee5eb;">{{ preview_stats.max_timestamp|default:"—" }}</td>+ </tr>+ <tr>+ <th style="text-align: left;+ padding: 6px 8px;+ border-bottom: 1px solid #bee5eb">Part count</th>+ <td style="padding: 6px 8px; border-bottom: 1px solid #bee5eb;">{{ preview_stats.part_count|default:"0" }}</td>+ </tr>+ <tr>+ <th style="text-align: left;+ padding: 6px 8px;+ border-bottom: 1px solid #bee5eb">Parts size</th>+ <td style="padding: 6px 8px; border-bottom: 1px solid #bee5eb;">{{ preview_stats.parts_size|default:"0" }} bytes</td>+ </tr>+ <tr>+ <th style="text-align: left;+ padding: 6px 8px;+ border-bottom: 1px solid #bee5eb">Total rows in affected parts</th>+ <td style="padding: 6px 8px; border-bottom: 1px solid #bee5eb;">{{ preview_stats.parts_row_count|default:"0" }}</td>+ </tr>+ {% endif %}+ <tr>+ <th style="text-align: left; padding: 6px 8px;">Previewed at</th>+ <td style="padding: 6px 8px;">{{ preview_stats.calculated_at }}</td>+ </tr>+ </table>+ </fieldset>{% endif %}-{% if is_draft %}- <div class="submit-row" style="margin-top: 20px; padding: 20px; border-radius: 5px; border: 1px solid #417690; display: flex; align-items: center; gap: 10px;">- <div class="info">This request is a <strong>draft</strong>. When ready, submit it for review.</div>- <a class="button" style="padding: 10px 15px;" href="{{ submit_url }}">- Review & Submit- </a>- </div>+ <div class="submit-row"+ style="margin-top: 20px;+ padding: 20px;+ border-radius: 5px;+ border: 1px solid #417690;+ display: flex;+ align-items: center;+ gap: 10px">+ <div class="info">This request is a <strong>draft</strong>. When ready, submit it for review.</div>+ <a class="button" style="padding: 10px 15px;" href="{{ submit_url }}">Review & Submit</a>+ </div>{% endif %}-{# NOTE: These submit buttons use formaction= to bypass the surrounding admin <form>, since browsers collapse nested <form> elements. #}{% if can_approve %}- <div class="submit-row" style="margin-top: 20px; padding: 20px; border-radius: 5px; border: 1px solid #5cb85c; display: flex; align-items: center; gap: 10px;">- <div class="info">This request is <strong>pending</strong> and awaiting approval.</div>- <a class="button" style="padding: 10px 15px; background: #5cb85c; color: white;" href="{{ approve_url }}">Review & Approve</a>- </div>+ <div class="submit-row"+ style="margin-top: 20px;+ padding: 20px;+ border-radius: 5px;+ border: 1px solid #5cb85c;+ display: flex;+ align-items: center;+ gap: 10px">+ <div class="info">This request is <strong>pending</strong> and awaiting approval.</div>+ <a class="button"+ style="padding: 10px 15px;+ background: #5cb85c;+ color: white"+ href="{{ approve_url }}">Review & Approve</a>+ </div>{% endif %}-{% if can_revert_to_draft %}- <div class="submit-row" style="margin-top: 20px; padding: 20px; border-radius: 5px; border: 1px solid #f0ad4e; display: flex; align-items: center; gap: 10px;">- <div class="info">This request is <strong>{{ original.get_status_display|lower }}</strong>. Moving it back to draft will clear the approval.</div>- <button type="submit" formaction="{{ revert_to_draft_url }}" formmethod="post" formnovalidate class="button" style="padding: 10px 15px;">Move to draft</button>- </div>+ <div class="submit-row"+ style="margin-top: 20px;+ padding: 20px;+ border-radius: 5px;+ border: 1px solid #f0ad4e;+ display: flex;+ align-items: center;+ gap: 10px">+ <div class="info">This request is <strong>{{ original.get_status_display|lower }}</strong>. Moving it back to draft will clear the approval.</div>+ <button type="submit"+ formaction="{{ revert_to_draft_url }}"+ formmethod="post"+ formnovalidate+ class="button"+ style="padding: 10px 15px">Move to draft</button>+ </div>{% endif %}-{% if can_retry %}- <div class="submit-row" style="margin-top: 20px; padding: 20px; border-radius: 5px; border: 1px solid #d9534f; display: flex; align-items: center; gap: 10px;">- <div class="info">- This request <strong>failed</strong> after {{ original.attempt_count }} attempt{{ original.attempt_count|pluralize }}.- Retry to re-queue it for execution — the original approval is preserved.+ <div class="submit-row"+ style="margin-top: 20px;+ padding: 20px;+ border-radius: 5px;+ border: 1px solid #d9534f;+ display: flex;+ align-items: center;+ gap: 10px">+ <div class="info">+ This request <strong>failed</strong> after {{ original.attempt_count }} attempt{{ original.attempt_count|pluralize }}.+ Retry to re-queue it for execution — the original approval is preserved.+ </div>+ <button type="submit"+ formaction="{{ retry_url }}"+ formmethod="post"+ formnovalidate+ class="button"+ style="padding: 10px 15px;+ background: #d9534f;+ color: white"+ onclick="return confirm('Retry this failed request? It will be re-queued for execution.');">Retry execution</button></div>- <button type="submit" formaction="{{ retry_url }}" formmethod="post" formnovalidate class="button" style="padding: 10px 15px; background: #d9534f; color: white;" onclick="return confirm('Retry this failed request? It will be re-queued for execution.');">Retry execution</button>- </div>{% endif %}-{% if can_verify %}- <div class="submit-row" style="margin-top: 20px; padding: 20px; border-radius: 5px; border: 1px solid #417690; display: flex; align-items: center; gap: 10px;">- <div class="info">- This request is <strong>{{ original.get_status_display|lower }}</strong>.- {% if original.request_type == "person_removal" %}- Automated verification isn't available for person removal requests — verifying will report that a manual check is required.- {% else %}- Verify to re-check ClickHouse now — if no matching rows remain, it will be marked completed{% if original.status == "failed" %} (use this when the job errored after the data was already deleted){% endif %}.- {% endif %}+ <div class="submit-row"+ style="margin-top: 20px;+ padding: 20px;+ border-radius: 5px;+ border: 1px solid #417690;+ display: flex;+ align-items: center;+ gap: 10px">+ <div class="info">+ This request is <strong>{{ original.get_status_display|lower }}</strong>.+ {% if original.request_type == "person_removal" %}+ Automated verification isn't available for person removal requests — verifying will report that a manual check is required.+ {% else %}+ Verify to re-check ClickHouse now — if no matching rows remain, it will be marked completed{% if original.status == "failed" %} (use this when the job errored after the data was already deleted){% endif %}.+ {% endif %}+ </div>+ <button type="submit"+ formaction="{{ verify_url }}"+ formmethod="post"+ formnovalidate+ class="button"+ style="padding: 10px 15px;+ background: #417690;+ color: white"+ onclick="return confirm('Verify this request against ClickHouse now?');">Verify deletion</button></div>- <button type="submit" formaction="{{ verify_url }}" formmethod="post" formnovalidate class="button" style="padding: 10px 15px; background: #417690; color: white;" onclick="return confirm('Verify this request against ClickHouse now?');">Verify deletion</button>- </div>{% endif %}{% endblock %}diff --git a/posthog/templates/admin/posthog/datadeletionrequest/submit.html b/posthog/templates/admin/posthog/datadeletionrequest/submit.htmlindex 224dd9d231fd..4e09bd5ab1b9 100644--- a/posthog/templates/admin/posthog/datadeletionrequest/submit.html+++ b/posthog/templates/admin/posthog/datadeletionrequest/submit.html@@ -1,130 +1,185 @@{% extends "admin/base_site.html" %}{% load i18n %}-{% block title %}Submit deletion request{% endblock %}-{% block content %}-<h1>Submit deletion request</h1>--<table style="margin: 20px 0; border-collapse: collapse; width: 100%;">- <tr><th style="text-align: left; padding: 8px; border-bottom: 1px solid #ddd;">Team ID</th><td style="padding: 8px; border-bottom: 1px solid #ddd;">{{ obj.team_id }}</td></tr>- <tr><th style="text-align: left; padding: 8px; border-bottom: 1px solid #ddd;">Request type</th><td style="padding: 8px; border-bottom: 1px solid #ddd;">{{ obj.get_request_type_display }}</td></tr>- <tr><th style="text-align: left; padding: 8px; border-bottom: 1px solid #ddd;">Time range</th><td style="padding: 8px; border-bottom: 1px solid #ddd;">{{ obj.start_time }} – {{ obj.end_time }}</td></tr>- <tr>- <th style="text-align: left; padding: 8px; border-bottom: 1px solid #ddd; vertical-align: top;">Events</th>- <td style="padding: 8px; border-bottom: 1px solid #ddd;">- <ul style="margin: 0; padding-left: 20px;">- {% for event in obj.events %}- <li><code>{{ event }}</code></li>- {% empty %}- <li><em>None</em></li>- {% endfor %}- </ul>- </td>- </tr>- <tr>- <th style="text-align: left; padding: 8px; border-bottom: 1px solid #ddd; vertical-align: top;">Properties</th>- <td style="padding: 8px; border-bottom: 1px solid #ddd;">- {% if obj.properties %}+ <h1>Submit deletion request</h1>+ <table style="margin: 20px 0; border-collapse: collapse; width: 100%;">+ <tr>+ <th style="text-align: left; padding: 8px; border-bottom: 1px solid #ddd">Team ID</th>+ <td style="padding: 8px; border-bottom: 1px solid #ddd;">{{ obj.team_id }}</td>+ </tr>+ <tr>+ <th style="text-align: left; padding: 8px; border-bottom: 1px solid #ddd">Request type</th>+ <td style="padding: 8px; border-bottom: 1px solid #ddd;">{{ obj.get_request_type_display }}</td>+ </tr>+ <tr>+ <th style="text-align: left; padding: 8px; border-bottom: 1px solid #ddd">Time range</th>+ <td style="padding: 8px; border-bottom: 1px solid #ddd;">{{ obj.start_time }} – {{ obj.end_time }}</td>+ </tr>+ <tr>+ <th style="text-align: left;+ padding: 8px;+ border-bottom: 1px solid #ddd;+ vertical-align: top">Events</th>+ <td style="padding: 8px; border-bottom: 1px solid #ddd;"><ul style="margin: 0; padding-left: 20px;">- {% for prop in obj.properties %}- <li><code>{{ prop }}</code></li>+ {% for event in obj.events %}+ <li><code>{{ event }}</code></li>+ {% empty %}+ <li><em>None</em></li>{% endfor %}</ul>- {% else %}- <em>None</em>- {% endif %}- </td>- </tr>- {% if is_person_removal %}- <tr>- <th style="text-align: left; padding: 8px; border-bottom: 1px solid #ddd; vertical-align: top;">Person UUIDs</th>- <td style="padding: 8px; border-bottom: 1px solid #ddd;">- {% if obj.person_uuids %}- <ul style="margin: 0; padding-left: 20px;">- {% for uuid in obj.person_uuids %}<li><code>{{ uuid }}</code></li>{% endfor %}- </ul>- {% else %}- <em>None</em>- {% endif %}- </td>- </tr>- <tr>- <th style="text-align: left; padding: 8px; border-bottom: 1px solid #ddd; vertical-align: top;">Person distinct IDs</th>- <td style="padding: 8px; border-bottom: 1px solid #ddd;">- {% if obj.person_distinct_ids %}- <ul style="margin: 0; padding-left: 20px;">- {% for did in obj.person_distinct_ids %}<li><code>{{ did }}</code></li>{% endfor %}- </ul>- {% else %}- <em>None</em>- {% endif %}- </td>- </tr>- <tr>- <th style="text-align: left; padding: 8px; border-bottom: 1px solid #ddd;">Drop flags</th>- <td style="padding: 8px; border-bottom: 1px solid #ddd;">- profiles: <strong>{{ obj.person_drop_profiles|yesno:"yes,no" }}</strong>,- events: <strong>{{ obj.person_drop_events|yesno:"yes,no" }}</strong>,- recordings: <strong>{{ obj.person_drop_recordings|yesno:"yes,no" }}</strong>- </td>- </tr>+ </td>+ </tr>+ <tr>+ <th style="text-align: left;+ padding: 8px;+ border-bottom: 1px solid #ddd;+ vertical-align: top">Properties</th>+ <td style="padding: 8px; border-bottom: 1px solid #ddd;">+ {% if obj.properties %}+ <ul style="margin: 0; padding-left: 20px;">+ {% for prop in obj.properties %}+ <li><code>{{ prop }}</code></li>+ {% endfor %}+ </ul>+ {% else %}+ <em>None</em>+ {% endif %}+ </td>+ </tr>+ {% if is_person_removal %}+ <tr>+ <th style="text-align: left;+ padding: 8px;+ border-bottom: 1px solid #ddd;+ vertical-align: top">Person UUIDs</th>+ <td style="padding: 8px; border-bottom: 1px solid #ddd;">+ {% if obj.person_uuids %}+ <ul style="margin: 0; padding-left: 20px;">+ {% for uuid in obj.person_uuids %}<li><code>{{ uuid }}</code></li>{% endfor %}+ </ul>+ {% else %}+ <em>None</em>+ {% endif %}+ </td>+ </tr>+ <tr>+ <th style="text-align: left;+ padding: 8px;+ border-bottom: 1px solid #ddd;+ vertical-align: top">Person distinct IDs</th>+ <td style="padding: 8px; border-bottom: 1px solid #ddd;">+ {% if obj.person_distinct_ids %}+ <ul style="margin: 0; padding-left: 20px;">+ {% for did in obj.person_distinct_ids %}<li><code>{{ did }}</code></li>{% endfor %}+ </ul>+ {% else %}+ <em>None</em>+ {% endif %}+ </td>+ </tr>+ <tr>+ <th style="text-align: left; padding: 8px; border-bottom: 1px solid #ddd">Drop flags</th>+ <td style="padding: 8px; border-bottom: 1px solid #ddd;">+ profiles: <strong>{{ obj.person_drop_profiles|yesno:"yes,no" }}</strong>,+ events: <strong>{{ obj.person_drop_events|yesno:"yes,no" }}</strong>,+ recordings: <strong>{{ obj.person_drop_recordings|yesno:"yes,no" }}</strong>+ </td>+ </tr>+ {% endif %}+ {% if obj.notes %}+ <tr>+ <th style="text-align: left;+ padding: 8px;+ border-bottom: 1px solid #ddd;+ vertical-align: top">Notes</th>+ <td style="padding: 8px; border-bottom: 1px solid #ddd;">{{ obj.notes }}</td>+ </tr>+ {% endif %}+ <tr>+ <th style="text-align: left; padding: 8px; border-bottom: 1px solid #ddd">Created by</th>+ <td style="padding: 8px; border-bottom: 1px solid #ddd;">{{ obj.created_by|default:"—" }}</td>+ </tr>+ <tr>+ <th style="text-align: left; padding: 8px;">Created at</th>+ <td style="padding: 8px;">{{ obj.created_at }}</td>+ </tr>+ </table>+ {% if missing_properties %}+ <div style="margin: 16px 0;+ padding: 12px 16px;+ border: 1px solid #dc3545;+ border-radius: 4px;+ background: #f8d7da;+ color: #721c24">+ <strong>Cannot submit:</strong> This is a property removal request but no properties are specified. Go back and add properties before submitting.+ </div>{% endif %}- {% if obj.notes %}- <tr><th style="text-align: left; padding: 8px; border-bottom: 1px solid #ddd; vertical-align: top;">Notes</th><td style="padding: 8px; border-bottom: 1px solid #ddd;">{{ obj.notes }}</td></tr>+ {% if missing_person_selectors %}+ <div style="margin: 16px 0;+ padding: 12px 16px;+ border: 1px solid #dc3545;+ border-radius: 4px;+ background: #f8d7da;+ color: #721c24">+ <strong>Cannot submit:</strong> This is a person removal request but no person UUIDs or distinct IDs are specified.+ </div>{% endif %}- <tr><th style="text-align: left; padding: 8px; border-bottom: 1px solid #ddd;">Created by</th><td style="padding: 8px; border-bottom: 1px solid #ddd;">{{ obj.created_by|default:"—" }}</td></tr>- <tr><th style="text-align: left; padding: 8px;">Created at</th><td style="padding: 8px;">{{ obj.created_at }}</td></tr>-</table>--{% if missing_properties %}-<div style="margin: 16px 0; padding: 12px 16px; border: 1px solid #dc3545; border-radius: 4px; background: #f8d7da; color: #721c24;">- <strong>Cannot submit:</strong> This is a property removal request but no properties are specified. Go back and add properties before submitting.-</div>-{% endif %}-{% if missing_person_selectors %}-<div style="margin: 16px 0; padding: 12px 16px; border: 1px solid #dc3545; border-radius: 4px; background: #f8d7da; color: #721c24;">- <strong>Cannot submit:</strong> This is a person removal request but no person UUIDs or distinct IDs are specified.-</div>-{% endif %}-{% if missing_person_drop_flag %}-<div style="margin: 16px 0; padding: 12px 16px; border: 1px solid #dc3545; border-radius: 4px; background: #f8d7da; color: #721c24;">- <strong>Cannot submit:</strong> Person removal needs at least one drop flag (profiles/events/recordings).-</div>-{% endif %}--{% if can_submit %}- {% if auto_approve_candidate %}- <div style="margin: 16px 0; padding: 12px 16px; border: 1px solid #f0ad4e; border-radius: 4px; background: #fcf8e3; color: #8a6d3b;">- <strong>This request may be approved automatically.</strong>- A job checks pending event removals every {{ auto_approve_interval_minutes }} minutes. It refreshes the- ClickHouse stats, and if the request- matches fewer than {{ auto_approve_max_events }} events and its time range has already ended, it approves the- request and queues it for the scheduled deletes job. Anything larger, or still collecting events, waits for the- ClickHouse Team.- </div>- {% else %}- <p style="margin: 16px 0; color: #666;">- Only event removal requests can be approved automatically. This is a- {{ obj.get_request_type_display|lower }} request, so submitting sends it to the ClickHouse Team for manual- approval.- </p>+ {% if missing_person_drop_flag %}+ <div style="margin: 16px 0;+ padding: 12px 16px;+ border: 1px solid #dc3545;+ border-radius: 4px;+ background: #f8d7da;+ color: #721c24">+ <strong>Cannot submit:</strong> Person removal needs at least one drop flag (profiles/events/recordings).+ </div>{% endif %}-{% endif %}--<form method="post">- {% csrf_token %}- {% if can_submit and auto_approve_candidate %}- <div style="margin-top: 16px;">- <label>- <input type="checkbox" name="requires_approval" />- Do not auto-approve. Send this to the ClickHouse Team for manual review instead.- </label>- </div>+ {% if can_submit %}+ {% if auto_approve_candidate %}+ <div style="margin: 16px 0;+ padding: 12px 16px;+ border: 1px solid #f0ad4e;+ border-radius: 4px;+ background: #fcf8e3;+ color: #8a6d3b">+ <strong>This request may be approved automatically.</strong>+ A job checks pending event removals every {{ auto_approve_interval_minutes }} minutes. It refreshes the+ ClickHouse stats, and if the request+ matches fewer than {{ auto_approve_max_events }} events and its time range has already ended, it approves the+ request and queues it for the scheduled deletes job. Anything larger, or still collecting events, waits for the+ ClickHouse Team.+ </div>+ {% else %}+ <p style="margin: 16px 0; color: #666;">+ Only event removal requests can be approved automatically. This is a+ {{ obj.get_request_type_display|lower }} request, so submitting sends it to the ClickHouse Team for manual+ approval.+ </p>+ {% endif %}{% endif %}- <div style="margin-top: 20px; display: flex; gap: 10px; align-items: center;">- <input type="submit" value="Confirm & Submit" class="default" style="padding: 10px 15px;"{% if not can_submit %} disabled{% endif %} />- <a href="{% url 'admin:posthog_datadeletionrequest_change' obj.pk %}" style="padding: 10px 15px;">Back</a>- </div>-</form>+ <form method="post">+ {% csrf_token %}+ {% if can_submit and auto_approve_candidate %}+ <div style="margin-top: 16px;">+ <label>+ <input type="checkbox" name="requires_approval" />+ Do not auto-approve. Send this to the ClickHouse Team for manual review instead.+ </label>+ </div>+ {% endif %}+ <div style="margin-top: 20px;+ display: flex;+ gap: 10px;+ align-items: center">+ <input type="submit"+ value="Confirm & Submit"+ class="default"+ style="padding: 10px 15px"+ {% if not can_submit %} disabled{% endif %} />+ <a href="{% url 'admin:posthog_datadeletionrequest_change' obj.pk %}"+ style="padding: 10px 15px">Back</a>+ </div>+ </form>{% endblock %}diff --git a/posthog/templates/admin/posthog/experiment/change_form.html b/posthog/templates/admin/posthog/experiment/change_form.htmlindex e31708a8a591..9d5e68a0e2bc 100644--- a/posthog/templates/admin/posthog/experiment/change_form.html+++ b/posthog/templates/admin/posthog/experiment/change_form.html@@ -1,14 +1,23 @@{% extends "admin/change_form.html" %}{% load i18n %}-{% block after_field_sets %}{{ block.super }}{% if show_fix_properties %}- <div class="submit-row" style="margin-top: 20px; padding: 20px; border-radius: 5px; border: 1px solid #dc3545; color: #dc3545; display: flex; align-items: center; gap: 10px;">+ <div class="submit-row"+ style="margin-top: 20px;+ padding: 20px;+ border-radius: 5px;+ border: 1px solid #dc3545;+ color: #dc3545;+ display: flex;+ align-items: center;+ gap: 10px"><div class="info">This experiment has malformed metric properties (dict instead of list format).</div>- <a class="button" style="padding:10px 15px; background-color: #dc3545; color: white;" href="{% url 'admin:experiment_fix_properties' object_id=original.pk %}">- Fix Properties- </a>+ <a class="button"+ style="padding:10px 15px;+ background-color: #dc3545;+ color: white"+ href="{% url 'admin:experiment_fix_properties' object_id=original.pk %}">Fix Properties</a></div>{% endif %}{% if shared_metrics_status %}@@ -23,45 +32,59 @@</tr></thead><tbody>- {% for metric in shared_metrics_status %}- <tr class="{% cycle 'row1' 'row2' %}">- <td><a href="{{ metric.migrate_url }}" target="_blank">{{ metric.name }}</a></td>- <td>- {% if metric.is_legacy %}- <span style="padding: 2px 6px; border-radius: 3px; background-color: #f7a501; color: white; font-size: 11px;">Legacy</span>- {% else %}- <span style="color: #6c757d;">Current</span>- {% endif %}- </td>- <td>- {% if metric.is_legacy %}- {% if metric.migrated %}- <a href="{{ metric.migrated_to_url }}" target="_blank">#{{ metric.migrated_to_id }}</a>+ {% for metric in shared_metrics_status %}+ <tr class="{% cycle 'row1' 'row2' %}">+ <td><a href="{{ metric.migrate_url }}" target="_blank">{{ metric.name }}</a></td>+ <td>+ {% if metric.is_legacy %}+ <span style="padding: 2px 6px;+ border-radius: 3px;+ background-color: #f7a501;+ color: white;+ font-size: 11px">Legacy</span>{% else %}- <span style="color: #dc3545;">Not migrated</span>+ <span style="color: #6c757d;">Current</span>{% endif %}- {% else %}- —- {% endif %}- </td>- </tr>- {% endfor %}+ </td>+ <td>+ {% if metric.is_legacy %}+ {% if metric.migrated %}+ <a href="{{ metric.migrated_to_url }}" target="_blank">#{{ metric.migrated_to_id }}</a>+ {% else %}+ <span style="color: #dc3545;">Not migrated</span>+ {% endif %}+ {% else %}+ —+ {% endif %}+ </td>+ </tr>+ {% endfor %}</tbody></table></div>{% endif %}{% if show_migration %}- <div class="submit-row" style="margin-top: 20px; padding: 20px; border-radius: 5px; border: 1px solid #f7a501; color: #f7a501; display: flex; align-items: center; gap: 10px;">+ <div class="submit-row"+ style="margin-top: 20px;+ padding: 20px;+ border-radius: 5px;+ border: 1px solid #f7a501;+ color: #f7a501;+ display: flex;+ align-items: center;+ gap: 10px">{% if can_migrate %}<div class="info">This experiment uses the legacy engine and can be migrated.</div>- <a class="button" style="padding:10px 15px;" href="{% url 'admin:experiment_migrate' object_id=original.pk %}">- Migrate Experiment- </a>+ <a class="button"+ style="padding:10px 15px"+ href="{% url 'admin:experiment_migrate' object_id=original.pk %}">Migrate Experiment</a>{% else %}<div class="info">This experiment cannot be migrated yet. Migrate all legacy shared metrics first.</div>- <span class="button" style="padding:10px 15px; opacity: 0.5; cursor: not-allowed;" aria-disabled="true">- Migrate Experiment- </span>+ <span class="button"+ style="padding:10px 15px;+ opacity: 0.5;+ cursor: not-allowed"+ aria-disabled="true">Migrate Experiment</span>{% endif %}</div>{% endif %}diff --git a/posthog/templates/admin/posthog/experimentsavedmetric/change_form.html b/posthog/templates/admin/posthog/experimentsavedmetric/change_form.htmlindex 58c74499e725..858999d8e6e2 100644--- a/posthog/templates/admin/posthog/experimentsavedmetric/change_form.html+++ b/posthog/templates/admin/posthog/experimentsavedmetric/change_form.html@@ -1,14 +1,21 @@{% extends "admin/change_form.html" %}{% load i18n %}-{% block after_field_sets %}{{ block.super }}{% if show_migration %}- <div class="submit-row" style="margin-top: 20px; padding: 20px; border-radius: 5px; border: 1px solid #f7a501; color: #f7a501; display: flex; align-items: center; gap: 10px;">+ <div class="submit-row"+ style="margin-top: 20px;+ padding: 20px;+ border-radius: 5px;+ border: 1px solid #f7a501;+ color: #f7a501;+ display: flex;+ align-items: center;+ gap: 10px"><div class="info">This metric uses the legacy engine and can be migrated.</div>- <a class="button" style="padding: 10px 15px;" href="{% url 'admin:experimentsavedmetric_migrate' object_id=original.pk %}">- Migrate Metric- </a>+ <a class="button"+ style="padding: 10px 15px"+ href="{% url 'admin:experimentsavedmetric_migrate' object_id=original.pk %}">Migrate Metric</a></div>{% endif %}-{% endblock %}\ No newline at end of file+{% endblock %}diff --git a/posthog/templates/admin/posthog/oauthapplication/revoke_all_sessions_confirm.html b/posthog/templates/admin/posthog/oauthapplication/revoke_all_sessions_confirm.htmlindex f560facb7a9b..54b37a3626ba 100644--- a/posthog/templates/admin/posthog/oauthapplication/revoke_all_sessions_confirm.html+++ b/posthog/templates/admin/posthog/oauthapplication/revoke_all_sessions_confirm.html@@ -1,31 +1,30 @@{% extends "admin/base_site.html" %}{% load i18n l10n admin_urls %}-{% block breadcrumbs %}-<div class="breadcrumbs">- <a href="{% url 'admin:index' %}">{% translate 'Home' %}</a>- › <a href="{% url 'admin:app_list' app_label=opts.app_label %}">{{ opts.app_config.verbose_name }}</a>- › <a href="{% url opts|admin_urlname:'changelist' %}">{{ opts.verbose_name_plural|capfirst }}</a>- › {% translate 'Revoke all sessions' %}-</div>+ <div class="breadcrumbs">+ <a href="{% url 'admin:index' %}">{% translate 'Home' %}</a>+ › <a href="{% url 'admin:app_list' app_label=opts.app_label %}">{{ opts.app_config.verbose_name }}</a>+ › <a href="{% url opts|admin_urlname:'changelist' %}">{{ opts.verbose_name_plural|capfirst }}</a>+ › {% translate 'Revoke all sessions' %}+ </div>{% endblock %}-{% block content %}-<p>Revoking all sessions immediately signs out <strong>every connection across all users</strong> (CLI, MCP, and partner integrations) for the selected applications and forces each one to re-authorize under the current scope ceiling. This cannot be undone.</p>--<p>Are you sure you want to revoke all sessions for the following {{ queryset|length }} application(s)?</p>--<ul>- {% for obj in queryset %}<li>{{ obj }}</li>{% endfor %}-</ul>--<form method="post">{% csrf_token %}- {% for obj in queryset %}- <input type="hidden" name="{{ action_checkbox_name }}" value="{{ obj.pk|unlocalize }}">- {% endfor %}- <input type="hidden" name="action" value="revoke_all_sessions">- <input type="hidden" name="confirm" value="yes">- <input type="submit" value="Yes, revoke all sessions" class="default">- <a href="{% url opts|admin_urlname:'changelist' %}" class="button cancel-link">Cancel</a>-</form>+ <p>Revoking all sessions immediately signs out <strong>every connection across all users</strong> (CLI, MCP, and partner integrations) for the selected applications and forces each one to re-authorize under the current scope ceiling. This cannot be undone.</p>+ <p>Are you sure you want to revoke all sessions for the following {{ queryset|length }} application(s)?</p>+ <ul>+ {% for obj in queryset %}<li>{{ obj }}</li>{% endfor %}+ </ul>+ <form method="post">+ {% csrf_token %}+ {% for obj in queryset %}+ <input type="hidden"+ name="{{ action_checkbox_name }}"+ value="{{ obj.pk|unlocalize }}">+ {% endfor %}+ <input type="hidden" name="action" value="revoke_all_sessions">+ <input type="hidden" name="confirm" value="yes">+ <input type="submit" value="Yes, revoke all sessions" class="default">+ <a href="{% url opts|admin_urlname:'changelist' %}"+ class="button cancel-link">Cancel</a>+ </form>{% endblock %}diff --git a/posthog/templates/admin/posthog/organization/bulk_deactivate.html b/posthog/templates/admin/posthog/organization/bulk_deactivate.htmlindex 0cd5ee9bcf28..ed497c0cc2b0 100644--- a/posthog/templates/admin/posthog/organization/bulk_deactivate.html+++ b/posthog/templates/admin/posthog/organization/bulk_deactivate.html@@ -1,6 +1,5 @@{% extends "admin/base_site.html" %}{% load i18n admin_urls %}-{% block extrahead %}{{ block.super }}<script nonce="{{ request.csp_nonce }}">@@ -24,91 +23,92 @@})</script>{% endblock %}-{% block content %}-<div id="content-main">- <h1>{{ title }}</h1>- <p>Paste organization IDs, choose the reason users will see, then review the matched organizations before deactivation.</p>- <div id="bulk-deactivate-settings" data-custom-reason-value="{{ custom_reason_value }}"></div>-- <form method="post">- {% csrf_token %}- {{ form.non_field_errors }}- <fieldset class="module aligned">- {% for field in form %}- <div class="form-row field-{{ field.name }}">- {{ field.errors }}- {{ field.label_tag }} {{ field }}- {% if field.help_text %}- <div class="help">{{ field.help_text }}</div>+ <div id="content-main">+ <h1>{{ title }}</h1>+ <p>Paste organization IDs, choose the reason users will see, then review the matched organizations before deactivation.</p>+ <div id="bulk-deactivate-settings"+ data-custom-reason-value="{{ custom_reason_value }}"></div>+ <form method="post">+ {% csrf_token %}+ {{ form.non_field_errors }}+ <fieldset class="module aligned">+ {% for field in form %}+ <div class="form-row field-{{ field.name }}">+ {{ field.errors }}+ {{ field.label_tag }} {{ field }}+ {% if field.help_text %}+ <div class="help">{{ field.help_text }}</div>+ {% endif %}+ </div>+ {% endfor %}+ </fieldset>+ {% if preview_organizations %}+ <input type="hidden" name="preview_token" value="{{ preview_token }}">+ <h2>Review organizations</h2>+ <p>This will deactivate {{ deactivation_organizations|length }} active organization{{ deactivation_organizations|length|pluralize }} with this reason:</p>+ <blockquote>+ {{ resolved_reason }}+ </blockquote>+ {% if missing_ids %}+ <p><strong>These IDs were not found and will be skipped:</strong></p>+ <ul>+ {% for organization_id in missing_ids %}+ <li><code>{{ organization_id }}</code></li>+ {% endfor %}+ </ul>+ {% endif %}+ {% if already_inactive_organizations %}+ <p><strong>These organizations are already inactive and will be skipped:</strong></p>+ <ul>+ {% for organization in already_inactive_organizations %}+ <li><code>{{ organization.id }}</code> {{ organization.name }}</li>+ {% endfor %}+ </ul>+ {% endif %}+ <table>+ <thead>+ <tr>+ <th scope="col">Organization ID</th>+ <th scope="col">Name</th>+ <th scope="col">Current status</th>+ <th scope="col">Current reason</th>+ </tr>+ </thead>+ <tbody>+ {% for organization in preview_organizations %}+ <tr>+ <td><code>{{ organization.id }}</code></td>+ <td>+ <a href="{% url 'admin:posthog_organization_change' organization.id %}">{{ organization.name }}</a>+ </td>+ <td>{% if organization.is_active %}Active{% else %}Not active{% endif %}</td>+ <td>{{ organization.is_not_active_reason|default:"-" }}</td>+ </tr>+ {% endfor %}+ </tbody>+ </table>+ <div class="submit-row">+ {% if deactivation_organizations %}+ <input type="submit"+ value="Deactivate organizations"+ class="default"+ name="confirm">{% endif %}+ <input type="submit" value="Refresh preview" name="preview">+ <a href="{% url 'admin:posthog_organization_changelist' %}"+ class="closelink">Back to organization list</a>+ </div>+ {% else %}+ <div class="submit-row">+ <input type="submit"+ value="Preview deactivation"+ class="default"+ name="preview">+ <a href="{% url 'admin:posthog_organization_changelist' %}"+ class="closelink">Back to organization list</a></div>- {% endfor %}- </fieldset>-- {% if preview_organizations %}- <input type="hidden" name="preview_token" value="{{ preview_token }}">-- <h2>Review organizations</h2>- <p>This will deactivate {{ deactivation_organizations|length }} active organization{{ deactivation_organizations|length|pluralize }} with this reason:</p>- <blockquote>{{ resolved_reason }}</blockquote>-- {% if missing_ids %}- <p><strong>These IDs were not found and will be skipped:</strong></p>- <ul>- {% for organization_id in missing_ids %}- <li><code>{{ organization_id }}</code></li>- {% endfor %}- </ul>- {% endif %}-- {% if already_inactive_organizations %}- <p><strong>These organizations are already inactive and will be skipped:</strong></p>- <ul>- {% for organization in already_inactive_organizations %}- <li><code>{{ organization.id }}</code> {{ organization.name }}</li>- {% endfor %}- </ul>{% endif %}-- <table>- <thead>- <tr>- <th scope="col">Organization ID</th>- <th scope="col">Name</th>- <th scope="col">Current status</th>- <th scope="col">Current reason</th>- </tr>- </thead>- <tbody>- {% for organization in preview_organizations %}- <tr>- <td><code>{{ organization.id }}</code></td>- <td>- <a href="{% url 'admin:posthog_organization_change' organization.id %}">- {{ organization.name }}- </a>- </td>- <td>{% if organization.is_active %}Active{% else %}Not active{% endif %}</td>- <td>{{ organization.is_not_active_reason|default:"-" }}</td>- </tr>- {% endfor %}- </tbody>- </table>-- <div class="submit-row">- {% if deactivation_organizations %}- <input type="submit" value="Deactivate organizations" class="default" name="confirm">- {% endif %}- <input type="submit" value="Refresh preview" name="preview">- <a href="{% url 'admin:posthog_organization_changelist' %}" class="closelink">Back to organization list</a>- </div>- {% else %}- <div class="submit-row">- <input type="submit" value="Preview deactivation" class="default" name="preview">- <a href="{% url 'admin:posthog_organization_changelist' %}" class="closelink">Back to organization list</a>- </div>- {% endif %}- </form>-</div>+ </form>+ </div>{% endblock %}diff --git a/posthog/templates/admin/posthog/organization/change_form.html b/posthog/templates/admin/posthog/organization/change_form.htmlindex 1efbe1b33dbd..672437c941f9 100644--- a/posthog/templates/admin/posthog/organization/change_form.html+++ b/posthog/templates/admin/posthog/organization/change_form.html@@ -1,6 +1,5 @@{% extends "admin/change_form.html" %}{% load i18n %}-{% block extrahead %}{{ block.super }}{{ deactivation_reason_presets|json_script:"organization-deactivation-reason-presets" }}@@ -94,7 +93,6 @@})</script>{% endblock %}-{% block submit_buttons_bottom %}{{ block.super }}{% endblock %}diff --git a/posthog/templates/admin/posthog/organization/change_list.html b/posthog/templates/admin/posthog/organization/change_list.htmlindex 12870f073127..5501b2558923 100644--- a/posthog/templates/admin/posthog/organization/change_list.html+++ b/posthog/templates/admin/posthog/organization/change_list.html@@ -1,6 +1,5 @@{% extends "admin/change_list.html" %}{% load i18n admin_urls %}-{% block object-tools-items %}<li><a href="{% url 'admin:index' %}#organization-tools">Organization tools</a>diff --git a/posthog/templates/admin/posthog/organization/send_ai_observability_usage_report.html b/posthog/templates/admin/posthog/organization/send_ai_observability_usage_report.htmlindex c557ce166275..6c8edaf4269c 100644--- a/posthog/templates/admin/posthog/organization/send_ai_observability_usage_report.html+++ b/posthog/templates/admin/posthog/organization/send_ai_observability_usage_report.html@@ -1,38 +1,52 @@{% extends "admin/base_site.html" %}{% load i18n admin_urls %}-{% block content %}-<div id="content-main">- <form method="post" onsubmit="this.querySelector('input[name=_send_report]').disabled = true">- <p>The date is the day the report would have run; it reports AI observability usage for the <b>previous</b> day.- <br/>If the dashboards are missing a day X, enter the day after (X+1). The report covering day X is generated and stamped on X+1.</p>- <p>Submitting the same date again while a run is still emitting is refused, so you cannot start two runs for- one date by accident.</p>- {% if can_skip_existing_reports %}- <p>Organizations that already have a report for the period are skipped, so only the organizations still- missing one get a report.- <br/>This reads back the reports that landed, so it cannot see a report emitted in the last few minutes.- If a run has just finished, give it time to be ingested before submitting the same date again.</p>- {% else %}- <p><b>This region cannot check which organizations already have a report.</b> Reports are emitted into the US- project, so a worker here cannot read them back.- <br/>Submitting a date that already emitted will double count usage in every insight built on these- events, and the duplicates cannot be removed. Check the daily <code>llm analytics usage</code> event- volume for that date in the internal usage-tracking project before submitting.</p>- {% endif %}- <p>US and EU each report their own organizations. To backfill both, run this in each region's admin separately.</p>- {% csrf_token %}- <fieldset class="module aligned">- {% for field in form %}- <div class="form-row">- {{ field.errors }}- {{ field.label_tag }} {{ field }}- </div>- {% endfor %}- </fieldset>- <div class="submit-row">- <input type="submit" value="Send AI observability usage report" class="default" name="_send_report">- </div>- </form>-</div>+ <div id="content-main">+ <form method="post"+ onsubmit="this.querySelector('input[name=_send_report]').disabled = true">+ <p>+ The date is the day the report would have run; it reports AI observability usage for the <b>previous</b> day.+ <br />+ If the dashboards are missing a day X, enter the day after (X+1). The report covering day X is generated and stamped on X+1.+ </p>+ <p>+ Submitting the same date again while a run is still emitting is refused, so you cannot start two runs for+ one date by accident.+ </p>+ {% if can_skip_existing_reports %}+ <p>+ Organizations that already have a report for the period are skipped, so only the organizations still+ missing one get a report.+ <br />+ This reads back the reports that landed, so it cannot see a report emitted in the last few minutes.+ If a run has just finished, give it time to be ingested before submitting the same date again.+ </p>+ {% else %}+ <p>+ <b>This region cannot check which organizations already have a report.</b> Reports are emitted into the US+ project, so a worker here cannot read them back.+ <br />+ Submitting a date that already emitted will double count usage in every insight built on these+ events, and the duplicates cannot be removed. Check the daily <code>llm analytics usage</code> event+ volume for that date in the internal usage-tracking project before submitting.+ </p>+ {% endif %}+ <p>US and EU each report their own organizations. To backfill both, run this in each region's admin separately.</p>+ {% csrf_token %}+ <fieldset class="module aligned">+ {% for field in form %}+ <div class="form-row">+ {{ field.errors }}+ {{ field.label_tag }} {{ field }}+ </div>+ {% endfor %}+ </fieldset>+ <div class="submit-row">+ <input type="submit"+ value="Send AI observability usage report"+ class="default"+ name="_send_report">+ </div>+ </form>+ </div>{% endblock %}diff --git a/posthog/templates/admin/posthog/organization/send_usage_report.html b/posthog/templates/admin/posthog/organization/send_usage_report.htmlindex 660808fcee18..c852b9bfed32 100644--- a/posthog/templates/admin/posthog/organization/send_usage_report.html+++ b/posthog/templates/admin/posthog/organization/send_usage_report.html@@ -1,24 +1,31 @@{% extends "admin/base_site.html" %}{% load i18n admin_urls %}-{% block content %}-<div id="content-main">- <form method="post">- <p>The date is the day that the usage report would have been run, so is one day past the date where usage reports are missing.- <br/>For instance, if we had 0 usage reports on May 11, the date you'd use is actually May 12 (because usage reports are reporting usage for the previous day).- <br/>Read more <b><a href="https://posthog.com/docs/advanced/usage-reports" target="_blank">here</a></b>.</p>- {% csrf_token %}- <fieldset class="module aligned">- {% for field in form %}- <div class="form-row">- {{ field.errors }}- {{ field.label_tag }} {{ field }}- </div>- {% endfor %}- </fieldset>- <div class="submit-row">- <input type="submit" value="Send Usage Report" class="default" name="_send_report">- </div>- </form>-</div>-{% endblock %}\ No newline at end of file+ <div id="content-main">+ <form method="post">+ <p>+ The date is the day that the usage report would have been run, so is one day past the date where usage reports are missing.+ <br />+ For instance, if we had 0 usage reports on May 11, the date you'd use is actually May 12 (because usage reports are reporting usage for the previous day).+ <br />+ Read more <b><a href="https://posthog.com/docs/advanced/usage-reports"+ target="_blank">here</a></b>.+ </p>+ {% csrf_token %}+ <fieldset class="module aligned">+ {% for field in form %}+ <div class="form-row">+ {{ field.errors }}+ {{ field.label_tag }} {{ field }}+ </div>+ {% endfor %}+ </fieldset>+ <div class="submit-row">+ <input type="submit"+ value="Send Usage Report"+ class="default"+ name="_send_report">+ </div>+ </form>+ </div>+{% endblock %}diff --git a/posthog/templates/admin/posthog/team/_delete_recordings_workflows.html b/posthog/templates/admin/posthog/team/_delete_recordings_workflows.htmlindex a64522f8b120..0063a6ca0634 100644--- a/posthog/templates/admin/posthog/team/_delete_recordings_workflows.html+++ b/posthog/templates/admin/posthog/team/_delete_recordings_workflows.html@@ -1,56 +1,56 @@{% if workflows %}-<table class="workflow-table">- <thead>- <tr>- <th>Workflow ID</th>- <th>Type</th>- <th>Status</th>- <th>Started</th>- <th>Completed</th>- <th>Certificate</th>- </tr>- </thead>- <tbody>- {% for wf in workflows %}- <tr>- <td class="workflow-id">- <a href="{{ temporal_ui_host }}/namespaces/{{ temporal_namespace }}/workflows/{{ wf.id }}/{{ wf.run_id }}"- target="_blank">{{ wf.id }}</a>- </td>- <td>{{ wf.workflow_type }}</td>- <td>- {% if wf.status == "RUNNING" %}- <span class="status-badge status-running">Running</span>- {% elif wf.status == "COMPLETED" %}- <span class="status-badge status-completed">Completed</span>- {% elif wf.status == "FAILED" %}- <span class="status-badge status-failed">Failed</span>- {% elif wf.status == "CANCELED" %}- <span class="status-badge status-canceled">Canceled</span>- {% elif wf.status == "CONTINUED_AS_NEW" %}- <span class="status-badge status-running">Continued</span>- {% elif wf.status == "TERMINATED" %}- <span class="status-badge status-failed">Terminated</span>- {% elif wf.status == "TIMED_OUT" %}- <span class="status-badge status-failed">Timed out</span>- {% else %}- <span class="status-badge">{{ wf.status }}</span>- {% endif %}- </td>- <td>{{ wf.start_time|date:"Y-m-d H:i:s" }}</td>- <td>{% if wf.close_time %}{{ wf.close_time|date:"Y-m-d H:i:s" }}{% else %}—{% endif %}</td>- <td class="cert-link">- {% if wf.status == "COMPLETED" %}- <a href="{% url 'admin:posthog_team_deletion_certificate' team.pk wf.id %}">View</a>- <a href="{% url 'admin:posthog_team_download_deletion_certificate' team.pk wf.id %}">JSON</a>- {% else %}- —- {% endif %}- </td>- </tr>- {% endfor %}- </tbody>-</table>+ <table class="workflow-table">+ <thead>+ <tr>+ <th>Workflow ID</th>+ <th>Type</th>+ <th>Status</th>+ <th>Started</th>+ <th>Completed</th>+ <th>Certificate</th>+ </tr>+ </thead>+ <tbody>+ {% for wf in workflows %}+ <tr>+ <td class="workflow-id">+ <a href="{{ temporal_ui_host }}/namespaces/{{ temporal_namespace }}/workflows/{{ wf.id }}/{{ wf.run_id }}"+ target="_blank">{{ wf.id }}</a>+ </td>+ <td>{{ wf.workflow_type }}</td>+ <td>+ {% if wf.status == "RUNNING" %}+ <span class="status-badge status-running">Running</span>+ {% elif wf.status == "COMPLETED" %}+ <span class="status-badge status-completed">Completed</span>+ {% elif wf.status == "FAILED" %}+ <span class="status-badge status-failed">Failed</span>+ {% elif wf.status == "CANCELED" %}+ <span class="status-badge status-canceled">Canceled</span>+ {% elif wf.status == "CONTINUED_AS_NEW" %}+ <span class="status-badge status-running">Continued</span>+ {% elif wf.status == "TERMINATED" %}+ <span class="status-badge status-failed">Terminated</span>+ {% elif wf.status == "TIMED_OUT" %}+ <span class="status-badge status-failed">Timed out</span>+ {% else %}+ <span class="status-badge">{{ wf.status }}</span>+ {% endif %}+ </td>+ <td>{{ wf.start_time|date:"Y-m-d H:i:s" }}</td>+ <td>{% if wf.close_time %}{{ wf.close_time|date:"Y-m-d H:i:s" }}{% else %}—{% endif %}</td>+ <td class="cert-link">+ {% if wf.status == "COMPLETED" %}+ <a href="{% url 'admin:posthog_team_deletion_certificate' team.pk wf.id %}">View</a>+ <a href="{% url 'admin:posthog_team_download_deletion_certificate' team.pk wf.id %}">JSON</a>+ {% else %}+ —+ {% endif %}+ </td>+ </tr>+ {% endfor %}+ </tbody>+ </table>{% else %}-<p class="empty-state">No deletion workflows have been run for this team yet.</p>+ <p class="empty-state">No deletion workflows have been run for this team yet.</p>{% endif %}diff --git a/posthog/templates/admin/posthog/team/add_ai_gateway_credit_form.html b/posthog/templates/admin/posthog/team/add_ai_gateway_credit_form.htmlindex a4baef910e4c..160dd984405f 100644--- a/posthog/templates/admin/posthog/team/add_ai_gateway_credit_form.html+++ b/posthog/templates/admin/posthog/team/add_ai_gateway_credit_form.html@@ -1,23 +1,43 @@{% extends "admin/base_site.html" %}{% load i18n %}-{% block content %}-<p>Add prepaid credit to <strong>{{ team.name }}</strong>'s AI gateway wallet. This appends a top-up entry to the gateway ledger and increases the team's spendable balance immediately.</p>--<form method="post" onsubmit="this.querySelector('input[type=submit]').disabled = true;">- {% csrf_token %}- <input type="hidden" name="form_nonce" value="{{ form_nonce }}" />- <div style="margin: 20px 0;">- <label for="amount_usd" style="display: block; margin-bottom: 5px; font-weight: bold;">Amount (USD):</label>- <input type="text" id="amount_usd" name="amount_usd" placeholder="e.g. 25.00" style="width: 200px; padding: 8px;" required />- </div>- <div style="margin: 20px 0;">- <label for="reason" style="display: block; margin-bottom: 5px; font-weight: bold;">Reason:</label>- <input type="text" id="reason" name="reason" style="width: 400px; padding: 8px;" required />- </div>- <div style="margin-top: 20px;">- <input type="submit" class="default" value="Add credit" style="padding: 10px 20px;" />- <a href="{% url 'admin:posthog_team_change' team.pk %}" style="margin-left: 10px;">Cancel</a>- </div>-</form>+ <p>Add prepaid credit to <strong>{{ team.name }}</strong>'s AI gateway wallet. This appends a top-up entry to the gateway ledger and increases the team's spendable balance immediately.</p>+ <form method="post"+ onsubmit="this.querySelector('input[type=submit]').disabled = true;">+ {% csrf_token %}+ <input type="hidden" name="form_nonce" value="{{ form_nonce }}" />+ <div style="margin: 20px 0;">+ <label for="amount_usd"+ style="display: block;+ margin-bottom: 5px;+ font-weight: bold">Amount (USD):</label>+ <input type="text"+ id="amount_usd"+ name="amount_usd"+ placeholder="e.g. 25.00"+ style="width: 200px;+ padding: 8px"+ required />+ </div>+ <div style="margin: 20px 0;">+ <label for="reason"+ style="display: block;+ margin-bottom: 5px;+ font-weight: bold">Reason:</label>+ <input type="text"+ id="reason"+ name="reason"+ style="width: 400px;+ padding: 8px"+ required />+ </div>+ <div style="margin-top: 20px;">+ <input type="submit"+ class="default"+ value="Add credit"+ style="padding: 10px 20px" />+ <a href="{% url 'admin:posthog_team_change' team.pk %}"+ style="margin-left: 10px">Cancel</a>+ </div>+ </form>{% endblock %}diff --git a/posthog/templates/admin/posthog/team/ai_gateway_actions.html b/posthog/templates/admin/posthog/team/ai_gateway_actions.htmlindex 4e7acff32eec..064116de0272 100644--- a/posthog/templates/admin/posthog/team/ai_gateway_actions.html+++ b/posthog/templates/admin/posthog/team/ai_gateway_actions.html@@ -1,18 +1,29 @@<div style="margin: 10px 0;">- <button type="submit" name="_enable_ai_gateway" class="button"- formmethod="post" formaction="{{ enable_url }}" formnovalidate- {% if is_enabled %}disabled title="Already enabled"{% else %}onclick="return confirm('Enable AI gateway access for {{ team_name_escaped }}?');"{% endif %}- style="margin-right: 8px;">- Enable access</button>- <button type="submit" name="_revoke_ai_gateway" class="button"- formmethod="post" formaction="{{ revoke_url }}" formnovalidate- {% if is_revoked %}disabled title="Already revoked"{% else %}onclick="return confirm('Revoke AI gateway access for {{ team_name_escaped }}?');"{% endif %}- style="margin-right: 8px;">- Revoke access</button>- <button type="submit" name="_clear_ai_gateway_revoke" class="button"- formmethod="post" formaction="{{ clear_revoke_url }}" formnovalidate- {% if not is_revoked %}disabled title="Not revoked"{% else %}onclick="return confirm('Clear AI gateway revoke for {{ team_name_escaped }}?');"{% endif %}>- Clear revoke</button>+ <button type="submit"+ name="_enable_ai_gateway"+ class="button"+ formmethod="post"+ formaction="{{ enable_url }}"+ formnovalidate+ {% if is_enabled %}disabled title="Already enabled"{% else %}onclick="return confirm('Enable AI gateway access for {{ team_name_escaped }}?');"{% endif %}+ style="margin-right: 8px">Enable access</button>+ <button type="submit"+ name="_revoke_ai_gateway"+ class="button"+ formmethod="post"+ formaction="{{ revoke_url }}"+ formnovalidate+ {% if is_revoked %}disabled title="Already revoked"{% else %}onclick="return confirm('Revoke AI gateway access for {{ team_name_escaped }}?');"{% endif %}+ style="margin-right: 8px">Revoke access</button>+ <button type="submit"+ name="_clear_ai_gateway_revoke"+ class="button"+ formmethod="post"+ formaction="{{ clear_revoke_url }}"+ formnovalidate+ {% if not is_revoked %}disabled title="Not revoked"{% else %}onclick="return confirm('Clear AI gateway revoke for {{ team_name_escaped }}?');"{% endif %}>+ Clear revoke+ </button><p style="margin-top: 8px; color: #666; font-size: 12px;">Sets <code>llm_gateway_enabled_at</code> / <code>llm_gateway_revoked_at</code> to now (or null). Per-region.</p>diff --git a/posthog/templates/admin/posthog/team/ai_gateway_wallet_actions.html b/posthog/templates/admin/posthog/team/ai_gateway_wallet_actions.htmlindex 3c495cc2fe2e..2fa5321bb6ec 100644--- a/posthog/templates/admin/posthog/team/ai_gateway_wallet_actions.html+++ b/posthog/templates/admin/posthog/team/ai_gateway_wallet_actions.html@@ -1,4 +1,7 @@<div style="margin: 10px 0;">- <a class="button" href="{{ wallet_url }}" target="_blank" style="margin-right: 10px;">View wallet (balance + recent ledger)</a>+ <a class="button"+ href="{{ wallet_url }}"+ target="_blank"+ style="margin-right: 10px">View wallet (balance + recent ledger)</a><a class="button" href="{{ add_credit_url }}">Add credit</a></div>diff --git a/posthog/templates/admin/posthog/team/ai_gateway_wallet_page.html b/posthog/templates/admin/posthog/team/ai_gateway_wallet_page.htmlindex 26d3fa4f124b..4fd6497c3ca1 100644--- a/posthog/templates/admin/posthog/team/ai_gateway_wallet_page.html+++ b/posthog/templates/admin/posthog/team/ai_gateway_wallet_page.html@@ -1,11 +1,10 @@{% extends "admin/base_site.html" %}-{% block content %}-<h2>AI gateway wallet — {{ team.name }}</h2>-{% if error %}- <p><em>({{ error }})</em></p>-{% else %}- {% include "admin/posthog/team/ai_gateway_wallet.html" %}-{% endif %}-<p style="margin-top: 16px;"><a href="{% url 'admin:posthog_team_change' team.pk %}">← Back to team</a></p>+ <h2>AI gateway wallet — {{ team.name }}</h2>+ {% if error %}+ <p><em>({{ error }})</em></p>+ {% else %}+ {% include "admin/posthog/team/ai_gateway_wallet.html" %}+ {% endif %}+ <p style="margin-top: 16px;"><a href="{% url 'admin:posthog_team_change' team.pk %}">← Back to team</a></p>{% endblock %}diff --git a/posthog/templates/admin/posthog/team/change_form.html b/posthog/templates/admin/posthog/team/change_form.htmlindex 27a27bb0a92b..71d9e8f0aabe 100644--- a/posthog/templates/admin/posthog/team/change_form.html+++ b/posthog/templates/admin/posthog/team/change_form.html@@ -1,8 +1,7 @@{% extends "admin/change_form.html" %}-{% block extrahead %}- {{ block.super }}- {# This template ensures Django admin works with CSP nonce requirements #}- {# Team admin includes inline formsets (GroupTypeMapping, TeamMarketingAnalyticsConfig) #}- {# which require this template override for CSP compliance #}+ {{ block.super }}+ {# This template ensures Django admin works with CSP nonce requirements #}+ {# Team admin includes inline formsets (GroupTypeMapping, TeamMarketingAnalyticsConfig) #}+ {# which require this template override for CSP compliance #}{% endblock %}diff --git a/posthog/templates/admin/posthog/team/delete_recordings.html b/posthog/templates/admin/posthog/team/delete_recordings.htmlindex 8a233d7706ac..e4289abd4e67 100644--- a/posthog/templates/admin/posthog/team/delete_recordings.html+++ b/posthog/templates/admin/posthog/team/delete_recordings.html@@ -1,8 +1,7 @@{% extends "admin/base_site.html" %}{% load i18n %}-{% block extrastyle %}{{ block.super }}-<style>+ <style>:root {--dr-danger-bg: #fef2f2;--dr-danger-border: #fca5a5;@@ -270,184 +269,205 @@color: var(--body-quiet-color);font-style: italic;}-</style>+ </style>{% endblock %}-{% block content %}-<span id="delete-recordings-meta" data-team-id="{{ team.pk }}" data-team-name="{{ team.name }}" hidden></span>--<p><a href="{% url 'admin:posthog_team_change' team.pk %}">← Back to team</a></p>--<h2>Delete session recordings</h2>-<p class="warning-banner">This action permanently deletes session recording data and cannot be undone.</p>--<!-- Workflow Status -->-<div class="workflow-section">- <div class="section-header">- <h3>Recent deletion workflows</h3>- <button class="refresh-btn" id="poll-toggle" title="Start auto-refresh">▶</button>+ <span id="delete-recordings-meta"+ data-team-id="{{ team.pk }}"+ data-team-name="{{ team.name }}"+ hidden></span>+ <p><a href="{% url 'admin:posthog_team_change' team.pk %}">← Back to team</a></p>+ <h2>Delete session recordings</h2>+ <p class="warning-banner">This action permanently deletes session recording data and cannot be undone.</p>+ <!-- Workflow Status -->+ <div class="workflow-section">+ <div class="section-header">+ <h3>Recent deletion workflows</h3>+ <button class="refresh-btn" id="poll-toggle" title="Start auto-refresh">▶</button>+ </div>+ <p>Previously triggered deletion workflows for this team.</p>+ <div id="workflows-container">{% include "admin/posthog/team/_delete_recordings_workflows.html" %}</div></div>- <p>Previously triggered deletion workflows for this team.</p>- <div id="workflows-container">- {% include "admin/posthog/team/_delete_recordings_workflows.html" %}+ <!-- Delete by Person -->+ <div class="workflow-section">+ <h3>Delete by person</h3>+ <p>Delete all recordings associated with one or more person distinct IDs.</p>+ <form method="post">+ {% csrf_token %}+ <input type="hidden" name="workflow_type" value="person">+ <div class="form-row">+ <label for="distinct_ids_person">Distinct IDs (one per line)</label>+ <textarea id="distinct_ids_person"+ name="distinct_ids"+ required+ placeholder="[email protected] another-user-id"></textarea>+ </div>+ <div class="checkbox-row">+ <label>+ <input type="checkbox" name="dry_run" checked>+ Dry run: preview which recordings would be deleted without actually deleting them+ </label>+ </div>+ <div class="form-row">+ <label for="reason_person">Reason</label>+ <input type="text"+ id="reason_person"+ name="reason"+ required+ placeholder="e.g. GDPR deletion request #1234">+ </div>+ <div class="submit-row">+ <input type="submit"+ class="btn-danger"+ value="Delete recordings for person(s)">+ </div>+ </form></div>-</div>--<!-- Delete by Person -->-<div class="workflow-section">- <h3>Delete by person</h3>- <p>Delete all recordings associated with one or more person distinct IDs.</p>- <form method="post">- {% csrf_token %}- <input type="hidden" name="workflow_type" value="person">-- <div class="form-row">- <label for="distinct_ids_person">Distinct IDs (one per line)</label>- <textarea id="distinct_ids_person" name="distinct_ids" required placeholder="[email protected] another-user-id"></textarea>- </div>-- <div class="checkbox-row">- <label>- <input type="checkbox" name="dry_run" checked>- Dry run: preview which recordings would be deleted without actually deleting them- </label>- </div>-- <div class="form-row">- <label for="reason_person">Reason</label>- <input type="text" id="reason_person" name="reason" required placeholder="e.g. GDPR deletion request #1234">- </div>-- <div class="submit-row">- <input type="submit" class="btn-danger" value="Delete recordings for person(s)">- </div>- </form>-</div>--<!-- Delete by Team -->-<div class="workflow-section">- <h3>Delete all recordings for team</h3>- <p class="danger-note">This will delete <strong>every</strong> recording for this team. Use with extreme caution.</p>- <form method="post">- {% csrf_token %}- <input type="hidden" name="workflow_type" value="team">-- <div class="checkbox-row">- <label>- <input type="checkbox" name="dry_run" checked>- Dry run: preview which recordings would be deleted without actually deleting them- </label>- </div>-- <div class="form-row">- <label for="reason_team">Reason</label>- <input type="text" id="reason_team" name="reason" required placeholder="e.g. Team data deletion request">- </div>-- <div class="submit-row">- <input type="submit" class="btn-danger" value="Delete all team recordings">- </div>- </form>-</div>--<!-- Delete by Filters -->-<div class="workflow-section">- <h3>Delete by filters</h3>- <p>Delete recordings matching specific criteria. At least one filter is required.</p>- <form method="post">- {% csrf_token %}- <input type="hidden" name="workflow_type" value="filters">-- <div class="filter-grid">+ <!-- Delete by Team -->+ <div class="workflow-section">+ <h3>Delete all recordings for team</h3>+ <p class="danger-note">This will delete <strong>every</strong> recording for this team. Use with extreme caution.</p>+ <form method="post">+ {% csrf_token %}+ <input type="hidden" name="workflow_type" value="team">+ <div class="checkbox-row">+ <label>+ <input type="checkbox" name="dry_run" checked>+ Dry run: preview which recordings would be deleted without actually deleting them+ </label>+ </div><div class="form-row">- <label for="date_from">Date from</label>- <input type="text" id="date_from" name="date_from" placeholder="e.g. -30d or 2024-01-01" style="max-width: none;">- <p class="help-text">Relative (-7d, -30d) or absolute (YYYY-MM-DD)</p>+ <label for="reason_team">Reason</label>+ <input type="text"+ id="reason_team"+ name="reason"+ required+ placeholder="e.g. Team data deletion request">+ </div>+ <div class="submit-row">+ <input type="submit" class="btn-danger" value="Delete all team recordings">+ </div>+ </form>+ </div>+ <!-- Delete by Filters -->+ <div class="workflow-section">+ <h3>Delete by filters</h3>+ <p>Delete recordings matching specific criteria. At least one filter is required.</p>+ <form method="post">+ {% csrf_token %}+ <input type="hidden" name="workflow_type" value="filters">+ <div class="filter-grid">+ <div class="form-row">+ <label for="date_from">Date from</label>+ <input type="text"+ id="date_from"+ name="date_from"+ placeholder="e.g. -30d or 2024-01-01"+ style="max-width: none">+ <p class="help-text">Relative (-7d, -30d) or absolute (YYYY-MM-DD)</p>+ </div>+ <div class="form-row">+ <label for="date_to">Date to</label>+ <input type="text"+ id="date_to"+ name="date_to"+ placeholder="e.g. -7d or 2024-01-31"+ style="max-width: none">+ <p class="help-text">Leave empty for "now"</p>+ </div>+ <div class="form-row">+ <label for="duration_min">Min duration (seconds)</label>+ <input type="number"+ id="duration_min"+ name="duration_min"+ min="0"+ placeholder="0"+ style="max-width: none">+ </div>+ <div class="form-row">+ <label for="duration_max">Max duration (seconds)</label>+ <input type="number"+ id="duration_max"+ name="duration_max"+ min="0"+ placeholder="5"+ style="max-width: none">+ <p class="help-text">Useful for filtering out bot sessions</p>+ </div></div>-<div class="form-row">- <label for="date_to">Date to</label>- <input type="text" id="date_to" name="date_to" placeholder="e.g. -7d or 2024-01-31" style="max-width: none;">- <p class="help-text">Leave empty for "now"</p>+ <label for="person_uuid">Person UUID</label>+ <input type="text"+ id="person_uuid"+ name="person_uuid"+ placeholder="01234567-89ab-cdef-0123-456789abcdef"+ style="max-width: 400px">+ <p class="help-text">Restrict deletion to recordings from a specific person</p></div>-<div class="form-row">- <label for="duration_min">Min duration (seconds)</label>- <input type="number" id="duration_min" name="duration_min" min="0" placeholder="0" style="max-width: none;">+ <label for="platform">Platform</label>+ <select id="platform" name="platform">+ <option value="">Any platform</option>+ <option value="web">Web</option>+ <option value="mobile">Mobile</option>+ </select>+ </div>+ <div class="checkbox-row">+ <label>+ <input type="checkbox" name="dry_run" checked>+ Dry run: preview which recordings would be deleted without actually deleting them+ </label></div>-<div class="form-row">- <label for="duration_max">Max duration (seconds)</label>- <input type="number" id="duration_max" name="duration_max" min="0" placeholder="5" style="max-width: none;">- <p class="help-text">Useful for filtering out bot sessions</p>+ <label for="reason_filters">Reason</label>+ <input type="text"+ id="reason_filters"+ name="reason"+ required+ placeholder="e.g. Cleanup old bot sessions"></div>- </div>-- <div class="form-row">- <label for="person_uuid">Person UUID</label>- <input type="text" id="person_uuid" name="person_uuid" placeholder="01234567-89ab-cdef-0123-456789abcdef" style="max-width: 400px;">- <p class="help-text">Restrict deletion to recordings from a specific person</p>- </div>-- <div class="form-row">- <label for="platform">Platform</label>- <select id="platform" name="platform">- <option value="">Any platform</option>- <option value="web">Web</option>- <option value="mobile">Mobile</option>- </select>- </div>-- <div class="checkbox-row">- <label>- <input type="checkbox" name="dry_run" checked>- Dry run: preview which recordings would be deleted without actually deleting them- </label>- </div>-- <div class="form-row">- <label for="reason_filters">Reason</label>- <input type="text" id="reason_filters" name="reason" required placeholder="e.g. Cleanup old bot sessions">- </div>-- <div class="submit-row">- <input type="submit" class="btn-danger" value="Delete recordings by filters">- </div>- </form>-</div>--<!-- Delete by Session IDs -->-<div class="workflow-section">- <h3>Delete by session IDs</h3>- <p>Upload a CSV file with session IDs to delete. The first column is used; a <code>session_id</code> header row is automatically skipped.</p>- <form method="post" enctype="multipart/form-data">- {% csrf_token %}- <input type="hidden" name="workflow_type" value="session_ids">-- <div class="form-row">- <label for="session_ids_file">CSV file</label>- <input type="file" id="session_ids_file" name="session_ids_file" accept=".csv" required>- </div>-- <div class="checkbox-row">- <label>- <input type="checkbox" name="dry_run" checked>- Dry run: preview which recordings would be deleted without actually deleting them- </label>- </div>-- <div class="form-row">- <label for="reason_session_ids">Reason</label>- <input type="text" id="reason_session_ids" name="reason" required placeholder="e.g. Targeted cleanup of bot sessions">- </div>-- <div class="submit-row">- <input type="submit" class="btn-danger" value="Delete recordings by session IDs">- </div>- </form>-</div>--<script nonce="{{ request.csp_nonce }}">+ <div class="submit-row">+ <input type="submit" class="btn-danger" value="Delete recordings by filters">+ </div>+ </form>+ </div>+ <!-- Delete by Session IDs -->+ <div class="workflow-section">+ <h3>Delete by session IDs</h3>+ <p>Upload a CSV file with session IDs to delete. The first column is used; a <code>session_id</code> header row is automatically skipped.</p>+ <form method="post" enctype="multipart/form-data">+ {% csrf_token %}+ <input type="hidden" name="workflow_type" value="session_ids">+ <div class="form-row">+ <label for="session_ids_file">CSV file</label>+ <input type="file"+ id="session_ids_file"+ name="session_ids_file"+ accept=".csv"+ required>+ </div>+ <div class="checkbox-row">+ <label>+ <input type="checkbox" name="dry_run" checked>+ Dry run: preview which recordings would be deleted without actually deleting them+ </label>+ </div>+ <div class="form-row">+ <label for="reason_session_ids">Reason</label>+ <input type="text"+ id="reason_session_ids"+ name="reason"+ required+ placeholder="e.g. Targeted cleanup of bot sessions">+ </div>+ <div class="submit-row">+ <input type="submit"+ class="btn-danger"+ value="Delete recordings by session IDs">+ </div>+ </form>+ </div>+ <script nonce="{{ request.csp_nonce }}">// Confirmation guards, in their own IIFE and first in the file so that nothing else on this page// can throw and silently leave the delete forms unguarded.(function() {@@ -598,5 +618,5 @@});start();})();-</script>+ </script>{% endblock %}diff --git a/posthog/templates/admin/posthog/team/deletion_certificate.html b/posthog/templates/admin/posthog/team/deletion_certificate.htmlindex aa065ad81f7a..bb8d0470b64a 100644--- a/posthog/templates/admin/posthog/team/deletion_certificate.html+++ b/posthog/templates/admin/posthog/team/deletion_certificate.html@@ -1,8 +1,7 @@{% extends "admin/base_site.html" %}{% load i18n %}-{% block content %}-<style>+ <style>@media print {@page {margin: 10mm;@@ -184,128 +183,127 @@color: #6b7280;font-size: 14px;}-</style>--<div class="certificate">- <div class="actions-bar no-print">- <a href="{% url 'admin:posthog_team_delete_recordings' team.pk %}">← Back to delete recordings</a>- <button id="print-btn">Print / Save as PDF</button>- <a href="{% url 'admin:posthog_team_download_deletion_certificate' team.pk certificate.workflow_id %}">Download JSON</a>- </div>-- <div class="certificate-header">- <h1>Certificate of Data Deletion</h1>- <p class="reference">Reference: {{ reference_id }}</p>- </div>-- {% if certificate.dry_run %}- <div class="dry-run-watermark">Dry Run</div>- {% endif %}-- <div class="section">- <h2>Data Subject Details</h2>- <dl class="info-grid">- <dt>Organization</dt>- <dd>{{ team.organization.name }}</dd>-- <dt>Customer ID</dt>- <dd>{{ team.organization_id }}</dd>- </dl>- </div>-- <div class="section">- <h2>Scope of Deletion</h2>- <dl class="info-grid">- <dt>Deletion type</dt>- <dd>- {% if certificate.workflow_type == "person" %}- All session recordings for specified person(s)- {% elif certificate.workflow_type == "team" %}- All session recordings for project (ID {{ certificate.team_id }})- {% elif certificate.workflow_type == "query" %}- Session recordings matching filter criteria- {% elif certificate.workflow_type == "session_ids" %}- Specified session recordings{% if certificate.source_filename %} ({{ certificate.source_filename }}){% endif %}- {% else %}- {{ certificate.workflow_type }}+ </style>+ <div class="certificate">+ <div class="actions-bar no-print">+ <a href="{% url 'admin:posthog_team_delete_recordings' team.pk %}">← Back to delete recordings</a>+ <button id="print-btn">Print / Save as PDF</button>+ <a href="{% url 'admin:posthog_team_download_deletion_certificate' team.pk certificate.workflow_id %}">Download JSON</a>+ </div>+ <div class="certificate-header">+ <h1>Certificate of Data Deletion</h1>+ <p class="reference">Reference: {{ reference_id }}</p>+ </div>+ {% if certificate.dry_run %}+ <div class="dry-run-watermark">Dry Run</div>+ {% endif %}+ <div class="section">+ <h2>Data Subject Details</h2>+ <dl class="info-grid">+ <dt>Organization</dt>+ <dd>+ {{ team.organization.name }}+ </dd>+ <dt>Customer ID</dt>+ <dd>+ {{ team.organization_id }}+ </dd>+ </dl>+ </div>+ <div class="section">+ <h2>Scope of Deletion</h2>+ <dl class="info-grid">+ <dt>Deletion type</dt>+ <dd>+ {% if certificate.workflow_type == "person" %}+ All session recordings for specified person(s)+ {% elif certificate.workflow_type == "team" %}+ All session recordings for project (ID {{ certificate.team_id }})+ {% elif certificate.workflow_type == "query" %}+ Session recordings matching filter criteria+ {% elif certificate.workflow_type == "session_ids" %}+ Specified session recordings{% if certificate.source_filename %} ({{ certificate.source_filename }}){% endif %}+ {% else %}+ {{ certificate.workflow_type }}+ {% endif %}+ </dd>+ {% if certificate.reason %}+ <dt>Reason</dt>+ <dd>+ {{ certificate.reason }}+ </dd>{% endif %}- </dd>-- {% if certificate.reason %}- <dt>Reason</dt>- <dd>{{ certificate.reason }}</dd>- {% endif %}-- {% if certificate.distinct_ids %}- <dt>Person IDs</dt>- <dd>{{ certificate.distinct_ids|join:", " }}</dd>- {% endif %}-- {% if certificate.query %}- <dt>Filter criteria</dt>- <dd>{{ certificate.query_display|default:certificate.query }}</dd>- {% endif %}- </dl>- </div>-- <div class="section">- <h2>Summary</h2>- <div class="summary-cards">- <div class="summary-card">- <div class="number">{{ certificate.total_recordings_found }}</div>- <div class="label">Recordings Found</div>- </div>- <div class="summary-card">- <div class="number">{{ certificate.total_deleted }}</div>- <div class="label">Deleted</div>+ {% if certificate.distinct_ids %}+ <dt>Person IDs</dt>+ <dd>+ {{ certificate.distinct_ids|join:", " }}+ </dd>+ {% endif %}+ {% if certificate.query %}+ <dt>Filter criteria</dt>+ <dd>+ {{ certificate.query_display|default:certificate.query }}+ </dd>+ {% endif %}+ </dl>+ </div>+ <div class="section">+ <h2>Summary</h2>+ <div class="summary-cards">+ <div class="summary-card">+ <div class="number">{{ certificate.total_recordings_found }}</div>+ <div class="label">Recordings Found</div>+ </div>+ <div class="summary-card">+ <div class="number">{{ certificate.total_deleted }}</div>+ <div class="label">Deleted</div>+ </div>+ <div class="summary-card">+ <div class="number">{{ certificate.total_failed }}</div>+ <div class="label">Failed</div>+ </div></div>- <div class="summary-card">- <div class="number">{{ certificate.total_failed }}</div>- <div class="label">Failed</div>+ </div>+ <div class="section">+ <h2>Method of Deletion</h2>+ <ul class="method-list">+ <li>+ <strong>Cryptographic erasure</strong>+ <span>Encryption keys for the affected session recordings have been permanently destroyed, rendering the encrypted recording data unrecoverable.</span>+ </li>+ <li>+ <strong>Deletion from primary database</strong>+ <span>Session recording metadata has been permanently deleted from the primary database.</span>+ </li>+ </ul>+ </div>+ <div class="section">+ <h2>Timeline</h2>+ <dl class="info-grid">+ <dt>Deletion started</dt>+ <dd>+ {{ certificate.started_at|date:"Y-m-d H:i:s T" }}+ </dd>+ <dt>Deletion completed</dt>+ <dd>+ {{ certificate.completed_at|date:"Y-m-d H:i:s T" }}+ </dd>+ </dl>+ </div>+ <div class="section">+ <h2>Data Protection Officer</h2>+ <div class="contact-info">+ <p class="name">Charles Cook, VP</p>+ <p>PostHog, Inc.</p>+ <p>[email protected]</p></div></div>- </div>-- <div class="section">- <h2>Method of Deletion</h2>- <ul class="method-list">- <li>- <strong>Cryptographic erasure</strong>- <span>Encryption keys for the affected session recordings have been permanently destroyed, rendering the encrypted recording data unrecoverable.</span>- </li>- <li>- <strong>Deletion from primary database</strong>- <span>Session recording metadata has been permanently deleted from the primary database.</span>- </li>- </ul>- </div>-- <div class="section">- <h2>Timeline</h2>- <dl class="info-grid">- <dt>Deletion started</dt>- <dd>{{ certificate.started_at|date:"Y-m-d H:i:s T" }}</dd>-- <dt>Deletion completed</dt>- <dd>{{ certificate.completed_at|date:"Y-m-d H:i:s T" }}</dd>- </dl>- </div>-- <div class="section">- <h2>Data Protection Officer</h2>- <div class="contact-info">- <p class="name">Charles Cook, VP</p>- <p>PostHog, Inc.</p>- <p>[email protected]</p>+ <div class="footer">+ <p>Certificate generated at {% now "Y-m-d H:i:s T" %}</p>+ <p>© {% now "Y" %} PostHog, Inc.</p></div></div>-- <div class="footer">- <p>Certificate generated at {% now "Y-m-d H:i:s T" %}</p>- <p>© {% now "Y" %} PostHog, Inc.</p>- </div>-</div>-<script nonce="{{ request.csp_nonce }}">+ <script nonce="{{ request.csp_nonce }}">document.getElementById("print-btn").addEventListener("click", function() { window.print(); });-</script>+ </script>{% endblock %}diff --git a/posthog/templates/admin/posthog/team/email_sending_suspension_actions.html b/posthog/templates/admin/posthog/team/email_sending_suspension_actions.htmlindex 0930bec44093..68275d4043b1 100644--- a/posthog/templates/admin/posthog/team/email_sending_suspension_actions.html+++ b/posthog/templates/admin/posthog/team/email_sending_suspension_actions.html@@ -1,11 +1,16 @@<div style="margin: 10px 0;">{% if is_suspended %}- <button type="submit" name="_unsuspend_email_sending" class="button"- formmethod="post" formaction="{{ unsuspend_url }}" formnovalidate- onclick="return confirm('Re-enable workflow email sending for {{ team_name_escaped }}? The team will be notified.');">- Re-enable email sending</button>+ <button type="submit"+ name="_unsuspend_email_sending"+ class="button"+ formmethod="post"+ formaction="{{ unsuspend_url }}"+ formnovalidate+ onclick="return confirm('Re-enable workflow email sending for {{ team_name_escaped }}? The team will be notified.');">+ Re-enable email sending+ </button>{% else %}- <a class="button" href="{{ suspend_url }}">Suspend email sending…</a>+ <a class="button" href="{{ suspend_url }}">Suspend email sending…</a>{% endif %}<p style="margin-top: 8px; color: #666; font-size: 12px;">Sets <code>email_sending_suspended_at</code> on the team's workflows config. Suspending asks for a reason and notifies the team.diff --git a/posthog/templates/admin/posthog/team/email_sending_tier_actions.html b/posthog/templates/admin/posthog/team/email_sending_tier_actions.htmlindex e4a21882f289..2268c9f8b41a 100644--- a/posthog/templates/admin/posthog/team/email_sending_tier_actions.html+++ b/posthog/templates/admin/posthog/team/email_sending_tier_actions.html@@ -6,30 +6,31 @@ drops inline onclick/onsubmit attributes, so the recompute confirmation lives in<script> block below. Include with request=request so {{ request.csp_nonce }} resolves.{% endcomment %}<div class="email-sending-tier-widget" style="margin: 10px 0;">- <div style="display: flex; align-items: center; gap: 10px; flex-wrap: wrap;">- <label for="email_sending_tier">Tier</label>- <select id="email_sending_tier" name="tier">- {% for option in tiers %}- <option value="{{ option.tier }}" {% if option.selected %}selected{% endif %}>- {{ option.tier }} — {{ option.per_hour }}/hour, {{ option.per_day }}/day- </option>- {% endfor %}- </select>- <label for="email_sending_tier_pinned">- <input type="checkbox" id="email_sending_tier_pinned" name="pinned" {% if pinned %}checked{% endif %} />- Pin (stops automatic promotion and demotion)- </label>- <button type="submit" class="default" formmethod="post" formaction="{{ set_tier_url }}" formnovalidate>Save tier</button>- </div>- <div style="margin-top: 8px;">- <button type="submit" class="button recompute-tier-button" formmethod="post" formaction="{{ recompute_url }}" formnovalidate>- Recompute now from sending history</button>- </div>- <p style="margin-top: 8px; color: #666; font-size: 12px;">- Saving a tier writes <code>email_sending_tier</code> on the team's workflows config and stamps- <code>email_sending_tier_updated_at</code>, which restarts the clock the promotion bar measures.- Recomputing applies the same rules the daily sweep uses and moves the team at most one tier.- </p>+<div style="display: flex; align-items: center; gap: 10px; flex-wrap: wrap;">+<label for="email_sending_tier">Tier</label>+<select id="email_sending_tier" name="tier">+{% for option in tiers %}+<option value="{{ option.tier }}" {% if option.selected %}selected{% endif %}>+{{ option.tier }} — {{ option.per_hour }}/hour, {{ option.per_day }}/day+</option>+{% endfor %}+</select>+<label for="email_sending_tier_pinned">+<input type="checkbox" id="email_sending_tier_pinned" name="pinned" {% if pinned %}checked{% endif %} />+Pin (stops automatic promotion and demotion)+</label>+<button type="submit" class="default" formmethod="post" formaction="{{ set_tier_url }}" formnovalidate>Save tier</button>+</div>+<div style="margin-top: 8px;">+<button type="submit" class="button recompute-tier-button" formmethod="post" formaction="{{ recompute_url }}" formnovalidate>+Recompute now from sending history+</button>+</div>+<p style="margin-top: 8px; color: #666; font-size: 12px;">+Saving a tier writes <code>email_sending_tier</code> on the team's workflows config and stamps+<code>email_sending_tier_updated_at</code>, which restarts the clock the promotion bar measures.+Recomputing applies the same rules the daily sweep uses and moves the team at most one tier.+</p></div><script nonce="{{ request.csp_nonce }}">(function () {diff --git a/posthog/templates/admin/posthog/team/group_type_mapping_edit.html b/posthog/templates/admin/posthog/team/group_type_mapping_edit.htmlindex 6e1bc60384c0..9950a2884616 100644--- a/posthog/templates/admin/posthog/team/group_type_mapping_edit.html+++ b/posthog/templates/admin/posthog/team/group_type_mapping_edit.html@@ -1,43 +1,77 @@{% extends "admin/base_site.html" %}{% load i18n %}-{% block content %}-<p>Edit group type mapping for <strong>{{ team.name }}</strong> (team {{ team.pk }}).</p>--<table style="margin-bottom: 20px; border-collapse: collapse;">- <tr>- <td style="padding: 4px 12px 4px 0; font-weight: bold;">Group type index:</td>- <td style="padding: 4px 0;">{{ mapping.group_type_index }}</td>- </tr>- <tr>- <td style="padding: 4px 12px 4px 0; font-weight: bold;">Group type:</td>- <td style="padding: 4px 0;"><code>{{ mapping.group_type }}</code></td>- </tr>-</table>--<form method="post" onsubmit="this.querySelector('input[type=submit]').disabled = true;">- {% csrf_token %}- <div style="margin: 20px 0;">- <label for="name_singular" style="display: block; margin-bottom: 5px; font-weight: bold;">Name (singular):</label>- <input type="text" id="name_singular" name="name_singular" value="{{ mapping.name_singular|default:'' }}" style="width: 400px; padding: 8px;" />- </div>- <div style="margin: 20px 0;">- <label for="name_plural" style="display: block; margin-bottom: 5px; font-weight: bold;">Name (plural):</label>- <input type="text" id="name_plural" name="name_plural" value="{{ mapping.name_plural|default:'' }}" style="width: 400px; padding: 8px;" />- </div>- <div style="margin: 20px 0;">- <label for="default_columns" style="display: block; margin-bottom: 5px; font-weight: bold;">Default columns (JSON array):</label>- <input type="text" id="default_columns" name="default_columns" value="{{ default_columns_json }}" style="width: 400px; padding: 8px;" />- <p style="margin-top: 4px; color: #666; font-size: 12px;">JSON array of column names, e.g. <code>["name", "email"]</code>. Leave blank to clear.</p>- </div>- <div style="margin: 20px 0;">- <label for="created_at" style="display: block; margin-bottom: 5px; font-weight: bold;">Created at (UTC):</label>- <input type="text" id="created_at" name="created_at" value="{{ created_at_display }}" style="width: 400px; padding: 8px;" />- <p style="margin-top: 4px; color: #666; font-size: 12px;">e.g. <code>2026-01-15 10:30:00</code>. Clear the field to unset it.</p>- </div>- <div style="margin-top: 20px;">- <input type="submit" class="default" value="Save changes" style="padding: 10px 20px;" />- <a href="{% url 'admin:posthog_team_change' team.pk %}" style="margin-left: 10px;">Cancel</a>- </div>-</form>+ <p>Edit group type mapping for <strong>{{ team.name }}</strong> (team {{ team.pk }}).</p>+ <table style="margin-bottom: 20px; border-collapse: collapse;">+ <tr>+ <td style="padding: 4px 12px 4px 0; font-weight: bold;">Group type index:</td>+ <td style="padding: 4px 0;">{{ mapping.group_type_index }}</td>+ </tr>+ <tr>+ <td style="padding: 4px 12px 4px 0; font-weight: bold;">Group type:</td>+ <td style="padding: 4px 0;"><code>{{ mapping.group_type }}</code></td>+ </tr>+ </table>+ <form method="post"+ onsubmit="this.querySelector('input[type=submit]').disabled = true;">+ {% csrf_token %}+ <div style="margin: 20px 0;">+ <label for="name_singular"+ style="display: block;+ margin-bottom: 5px;+ font-weight: bold">Name (singular):</label>+ <input type="text"+ id="name_singular"+ name="name_singular"+ value="{{ mapping.name_singular|default:'' }}"+ style="width: 400px;+ padding: 8px" />+ </div>+ <div style="margin: 20px 0;">+ <label for="name_plural"+ style="display: block;+ margin-bottom: 5px;+ font-weight: bold">Name (plural):</label>+ <input type="text"+ id="name_plural"+ name="name_plural"+ value="{{ mapping.name_plural|default:'' }}"+ style="width: 400px;+ padding: 8px" />+ </div>+ <div style="margin: 20px 0;">+ <label for="default_columns"+ style="display: block;+ margin-bottom: 5px;+ font-weight: bold">Default columns (JSON array):</label>+ <input type="text"+ id="default_columns"+ name="default_columns"+ value="{{ default_columns_json }}"+ style="width: 400px;+ padding: 8px" />+ <p style="margin-top: 4px; color: #666; font-size: 12px;">JSON array of column names, e.g. <code>["name", "email"]</code>. Leave blank to clear.</p>+ </div>+ <div style="margin: 20px 0;">+ <label for="created_at"+ style="display: block;+ margin-bottom: 5px;+ font-weight: bold">Created at (UTC):</label>+ <input type="text"+ id="created_at"+ name="created_at"+ value="{{ created_at_display }}"+ style="width: 400px;+ padding: 8px" />+ <p style="margin-top: 4px; color: #666; font-size: 12px;">e.g. <code>2026-01-15 10:30:00</code>. Clear the field to unset it.</p>+ </div>+ <div style="margin-top: 20px;">+ <input type="submit"+ class="default"+ value="Save changes"+ style="padding: 10px 20px" />+ <a href="{% url 'admin:posthog_team_change' team.pk %}"+ style="margin-left: 10px">Cancel</a>+ </div>+ </form>{% endblock %}diff --git a/posthog/templates/admin/posthog/team/group_type_mappings_display.html b/posthog/templates/admin/posthog/team/group_type_mappings_display.htmlindex fca9bd6970af..366ad8420aa5 100644--- a/posthog/templates/admin/posthog/team/group_type_mappings_display.html+++ b/posthog/templates/admin/posthog/team/group_type_mappings_display.html@@ -1,44 +1,68 @@<div style="margin: 10px 0;">-{% if mappings %}-<table style="border-collapse: collapse; width: 100%;">- <thead>- <tr>- <th style="border: 1px solid #ddd; padding: 8px; text-align: left; background: #f5f5f5;">Index</th>- <th style="border: 1px solid #ddd; padding: 8px; text-align: left; background: #f5f5f5;">Group type</th>- <th style="border: 1px solid #ddd; padding: 8px; text-align: left; background: #f5f5f5;">Name (singular)</th>- <th style="border: 1px solid #ddd; padding: 8px; text-align: left; background: #f5f5f5;">Name (plural)</th>- <th style="border: 1px solid #ddd; padding: 8px; text-align: left; background: #f5f5f5;">Detail dashboard</th>- <th style="border: 1px solid #ddd; padding: 8px; text-align: left; background: #f5f5f5;">Created at (UTC)</th>- <th style="border: 1px solid #ddd; padding: 8px; text-align: left; background: #f5f5f5;">Actions</th>- </tr>- </thead>- <tbody>- {% for m in mappings %}- <tr>- <td style="border: 1px solid #ddd; padding: 8px;">{{ m.group_type_index }}</td>- <td style="border: 1px solid #ddd; padding: 8px;"><code>{{ m.group_type }}</code></td>- <td style="border: 1px solid #ddd; padding: 8px;">{{ m.name_singular|default:"-" }}</td>- <td style="border: 1px solid #ddd; padding: 8px;">{{ m.name_plural|default:"-" }}</td>- <td style="border: 1px solid #ddd; padding: 8px;">- {% if m.detail_dashboard_id %}- {% if m.detail_dashboard_url %}- <a href="{{ m.detail_dashboard_url }}">Dashboard {{ m.detail_dashboard_id }}</a>- {% else %}- Dashboard {{ m.detail_dashboard_id }}- {% endif %}- {% else %}- -- {% endif %}- </td>- <td style="border: 1px solid #ddd; padding: 8px;"><code>{{ m.created_at_display|default:"-" }}</code></td>- <td style="border: 1px solid #ddd; padding: 8px;">- <a class="button" href="{{ m.edit_url }}" style="padding: 4px 12px; font-size: 12px;">Edit</a>- </td>- </tr>- {% endfor %}- </tbody>-</table>-{% else %}-<p style="color: #666;">No group type mappings found for this team.</p>-{% endif %}+ {% if mappings %}+ <table style="border-collapse: collapse; width: 100%;">+ <thead>+ <tr>+ <th style="border: 1px solid #ddd;+ padding: 8px;+ text-align: left;+ background: #f5f5f5">Index</th>+ <th style="border: 1px solid #ddd;+ padding: 8px;+ text-align: left;+ background: #f5f5f5">Group type</th>+ <th style="border: 1px solid #ddd;+ padding: 8px;+ text-align: left;+ background: #f5f5f5">Name (singular)</th>+ <th style="border: 1px solid #ddd;+ padding: 8px;+ text-align: left;+ background: #f5f5f5">Name (plural)</th>+ <th style="border: 1px solid #ddd;+ padding: 8px;+ text-align: left;+ background: #f5f5f5">Detail dashboard</th>+ <th style="border: 1px solid #ddd;+ padding: 8px;+ text-align: left;+ background: #f5f5f5">Created at (UTC)</th>+ <th style="border: 1px solid #ddd;+ padding: 8px;+ text-align: left;+ background: #f5f5f5">Actions</th>+ </tr>+ </thead>+ <tbody>+ {% for m in mappings %}+ <tr>+ <td style="border: 1px solid #ddd; padding: 8px;">{{ m.group_type_index }}</td>+ <td style="border: 1px solid #ddd; padding: 8px;"><code>{{ m.group_type }}</code></td>+ <td style="border: 1px solid #ddd; padding: 8px;">{{ m.name_singular|default:"-" }}</td>+ <td style="border: 1px solid #ddd; padding: 8px;">{{ m.name_plural|default:"-" }}</td>+ <td style="border: 1px solid #ddd; padding: 8px;">+ {% if m.detail_dashboard_id %}+ {% if m.detail_dashboard_url %}+ <a href="{{ m.detail_dashboard_url }}">Dashboard {{ m.detail_dashboard_id }}</a>+ {% else %}+ Dashboard {{ m.detail_dashboard_id }}+ {% endif %}+ {% else %}+ -+ {% endif %}+ </td>+ <td style="border: 1px solid #ddd; padding: 8px;"><code>{{ m.created_at_display|default:"-" }}</code></td>+ <td style="border: 1px solid #ddd; padding: 8px;">+ <a class="button"+ href="{{ m.edit_url }}"+ style="padding: 4px 12px;+ font-size: 12px">Edit</a>+ </td>+ </tr>+ {% endfor %}+ </tbody>+ </table>+ {% else %}+ <p style="color: #666;">No group type mappings found for this team.</p>+ {% endif %}</div>diff --git a/posthog/templates/admin/posthog/team/remote_config_cache_actions.html b/posthog/templates/admin/posthog/team/remote_config_cache_actions.htmlindex 1a0fa6a1afe6..181807d1db11 100644--- a/posthog/templates/admin/posthog/team/remote_config_cache_actions.html+++ b/posthog/templates/admin/posthog/team/remote_config_cache_actions.html@@ -1,9 +1,15 @@<div style="margin: 10px 0;">- <a class="button" href="{{ view_url }}" target="_blank" style="margin-right: 10px;">View cached config JSON</a>- <button type="submit" name="_rebuild_cache" class="button"- formmethod="post" formaction="{{ rebuild_url }}" formnovalidate- onclick="return confirm('Rebuild cache for team {{ team_name_escaped }}?');">- Rebuild cache</button>+ <a class="button"+ href="{{ view_url }}"+ target="_blank"+ style="margin-right: 10px">View cached config JSON</a>+ <button type="submit"+ name="_rebuild_cache"+ class="button"+ formmethod="post"+ formaction="{{ rebuild_url }}"+ formnovalidate+ onclick="return confirm('Rebuild cache for team {{ team_name_escaped }}?');">Rebuild cache</button><p style="margin-top: 8px; color: #666; font-size: 12px;">Cache key: <code>{{ cache_key }}</code></p>diff --git a/posthog/templates/admin/posthog/team/set_api_token_form.html b/posthog/templates/admin/posthog/team/set_api_token_form.htmlindex affd006c302e..153df3139e2d 100644--- a/posthog/templates/admin/posthog/team/set_api_token_form.html+++ b/posthog/templates/admin/posthog/team/set_api_token_form.html@@ -1,21 +1,30 @@{% extends "admin/base_site.html" %}{% load i18n %}-{% block content %}-<p>Set a specific value for this team's <code>api_token</code>. The old token's cache key is invalidated, the new token is cached, an activity log entry is written, and connected Vercel integrations are notified – same side effects as the in-product "Reset token" button.</p>-<p><strong>With great power comes great responsibility.</strong> All ingestion using the old token will stop working immediately.</p>--<p>Current API token: <code>{{ team.api_token }}</code></p>--<form method="post">- {% csrf_token %}- <div style="margin: 20px 0;">- <label for="new_token" style="display: block; margin-bottom: 5px; font-weight: bold;">New API token:</label>- <input type="text" id="new_token" name="new_token" style="width: 400px; padding: 8px;" required />- </div>- <div style="margin-top: 20px;">- <input type="submit" class="default" value="Set API token" style="padding: 10px 20px;" />- <a href="{% url 'admin:posthog_team_change' team.pk %}" style="margin-left: 10px;">Cancel</a>- </div>-</form>+ <p>Set a specific value for this team's <code>api_token</code>. The old token's cache key is invalidated, the new token is cached, an activity log entry is written, and connected Vercel integrations are notified – same side effects as the in-product "Reset token" button.</p>+ <p><strong>With great power comes great responsibility.</strong> All ingestion using the old token will stop working immediately.</p>+ <p>Current API token: <code>{{ team.api_token }}</code></p>+ <form method="post">+ {% csrf_token %}+ <div style="margin: 20px 0;">+ <label for="new_token"+ style="display: block;+ margin-bottom: 5px;+ font-weight: bold">New API token:</label>+ <input type="text"+ id="new_token"+ name="new_token"+ style="width: 400px;+ padding: 8px"+ required />+ </div>+ <div style="margin-top: 20px;">+ <input type="submit"+ class="default"+ value="Set API token"+ style="padding: 10px 20px" />+ <a href="{% url 'admin:posthog_team_change' team.pk %}"+ style="margin-left: 10px">Cancel</a>+ </div>+ </form>{% endblock %}diff --git a/posthog/templates/admin/posthog/team/suspend_email_sending_form.html b/posthog/templates/admin/posthog/team/suspend_email_sending_form.htmlindex 6b0d94545e7b..4f70f602326d 100644--- a/posthog/templates/admin/posthog/team/suspend_email_sending_form.html+++ b/posthog/templates/admin/posthog/team/suspend_email_sending_form.html@@ -1,18 +1,30 @@{% extends "admin/base_site.html" %}{% load i18n %}-{% block content %}-<p>Suspend ALL workflow email sending for <strong>{{ team.name }}</strong>. The CDP email worker blocks every send for this team within a few minutes, and the team is notified by email and in-app. The reason below is shown to the customer.</p>--<form method="post" onsubmit="this.querySelector('input[type=submit]').disabled = true;">- {% csrf_token %}- <div style="margin: 20px 0;">- <label for="reason" style="display: block; margin-bottom: 5px; font-weight: bold;">Reason (customer-visible):</label>- <input type="text" id="reason" name="reason" placeholder="e.g. Hard bounce rate above 5% over recent sending" style="width: 500px; padding: 8px;" required />- </div>- <div style="margin-top: 20px;">- <input type="submit" class="default" value="Suspend email sending" style="padding: 10px 20px;" />- <a href="{% url 'admin:posthog_team_change' team.pk %}" style="margin-left: 10px;">Cancel</a>- </div>-</form>+ <p>Suspend ALL workflow email sending for <strong>{{ team.name }}</strong>. The CDP email worker blocks every send for this team within a few minutes, and the team is notified by email and in-app. The reason below is shown to the customer.</p>+ <form method="post"+ onsubmit="this.querySelector('input[type=submit]').disabled = true;">+ {% csrf_token %}+ <div style="margin: 20px 0;">+ <label for="reason"+ style="display: block;+ margin-bottom: 5px;+ font-weight: bold">Reason (customer-visible):</label>+ <input type="text"+ id="reason"+ name="reason"+ placeholder="e.g. Hard bounce rate above 5% over recent sending"+ style="width: 500px;+ padding: 8px"+ required />+ </div>+ <div style="margin-top: 20px;">+ <input type="submit"+ class="default"+ value="Suspend email sending"+ style="padding: 10px 20px" />+ <a href="{% url 'admin:posthog_team_change' team.pk %}"+ style="margin-left: 10px">Cancel</a>+ </div>+ </form>{% endblock %}diff --git a/posthog/templates/admin/posthog/user/change_form.html b/posthog/templates/admin/posthog/user/change_form.htmlindex 5159d4c96248..821863d08b6c 100644--- a/posthog/templates/admin/posthog/user/change_form.html+++ b/posthog/templates/admin/posthog/user/change_form.html@@ -1,10 +1,8 @@{% extends "admin/change_form.html" %}{% load loginas_javascript %}-{% block extrahead %}- {{ block.super }}-- <style nonce="{{ request.csp_nonce }}">+ {{ block.super }}+ <style nonce="{{ request.csp_nonce }}">.loginas-disabled {opacity: 0.5;cursor: not-allowed;@@ -13,9 +11,8 @@background: var(--secondary, #205067);color: #fff;}- </style>-- <script nonce="{{ request.csp_nonce }}">+ </style>+ <script nonce="{{ request.csp_nonce }}">document.addEventListener("DOMContentLoaded", () => {document.getElementById("send_verification_email_button")?.addEventListener("click", (event) => {// prevent anchor tag from navigating@@ -71,54 +68,53 @@});}});- </script>+ </script>{% endblock %}-{% block object-tools-items %}{{ block.super }}{% if original.allow_impersonation == False %}- <li><a id="loginas-link" href="#" class="loginas-disabled" title="Disallowed by user">Log in as user</a></li>+ <li><a id="loginas-link"+ href="#"+ class="loginas-disabled"+ title="Disallowed by user">Log in as user</a></li>{% else %}<li><a id="loginas-link" href="#">Log in as user</a></li>{% endif %}{% endblock %}-{% block content %}{{ block.super }}-<form method="POST" id="send_verification">{% csrf_token %}<input type="hidden" name="send_verification" value="1" /></form>-<form method="POST" id="revoke_sessions">{% csrf_token %}<input type="hidden" name="revoke_sessions" value="1" /></form>-<form method="POST" id="send_2fa_reset">{% csrf_token %}<input type="hidden" name="send_2fa_reset" value="1" /></form>-<form method="POST" id="send_password_reset">{% csrf_token %}<input type="hidden" name="send_password_reset" value="1" /></form>-{% endblock %}-{% block footer %}{{ block.super }}-{% if original.allow_impersonation != False %}- <form method="POST" id="loginas-form" action="{% url 'loginas-user-login' object_id %}" style="display: none">+ <form method="POST"+ id="loginas-form"+ action="{% url 'loginas-user-login' object_id %}"+ style="display: none">{% csrf_token %}<input type="hidden" name="reason" id="loginas-reason-input" value="">- <input type="hidden" name="read_only" id="loginas-read-only-input" value="true">+ <input type="hidden"+ name="read_only"+ id="loginas-read-only-input"+ value="true"></form>-{% modal %}{% javascript %}- {% endif %}+{% endif %}{% endblock %}diff --git a/posthog/templates/admin/posthog/user/delete_confirmation.html b/posthog/templates/admin/posthog/user/delete_confirmation.htmlindex 2ec5fc704563..060d6ca1b020 100644--- a/posthog/templates/admin/posthog/user/delete_confirmation.html+++ b/posthog/templates/admin/posthog/user/delete_confirmation.html@@ -1,36 +1,38 @@{% extends "admin/delete_confirmation.html" %}-{% block delete_confirm %}- <p>- Deleting <strong>{{ object }}</strong> removes their account, their personal API keys, their- two-factor devices, and their membership of every organization they belong to. Insights,- dashboards, and anything else they created stays, with no creator on it. You can't undo this.- </p>- <p>- If the account is only in the way of a new one, changing its email address is usually the- better fix.- </p>-- {% include "admin/includes/object_delete_summary.html" %}- <p>- Counts stop at {{ deletion_summary_count_cap }}+, so a big account doesn't slow this page down.- Only rows attached directly to the account are counted. Rows that belong to those go too.- </p>-- <form method="post">{% csrf_token %}- <div>- <input type="hidden" name="post" value="yes">- {% if is_popup %}<input type="hidden" name="{{ is_popup_var }}" value="1">{% endif %}- {% if to_field %}<input type="hidden" name="{{ to_field_var }}" value="{{ to_field }}">{% endif %}-- <p>- <label for="deletion_reason">Why are you deleting this account? Saved to the activity log.</label><br>- <input type="text" id="deletion_reason" name="deletion_reason" size="80" maxlength="400" required- placeholder="e.g. duplicate account left over from an email change, ticket 1234">- </p>-- <input type="submit" value="Yes, delete this user">- <a href="#" class="button cancel-link">No, take me back</a>- </div>- </form>+ <p>+ Deleting <strong>{{ object }}</strong> removes their account, their personal API keys, their+ two-factor devices, and their membership of every organization they belong to. Insights,+ dashboards, and anything else they created stays, with no creator on it. You can't undo this.+ </p>+ <p>+ If the account is only in the way of a new one, changing its email address is usually the+ better fix.+ </p>+ {% include "admin/includes/object_delete_summary.html" %}+ <p>+ Counts stop at {{ deletion_summary_count_cap }}+, so a big account doesn't slow this page down.+ Only rows attached directly to the account are counted. Rows that belong to those go too.+ </p>+ <form method="post">+ {% csrf_token %}+ <div>+ <input type="hidden" name="post" value="yes">+ {% if is_popup %}<input type="hidden" name="{{ is_popup_var }}" value="1">{% endif %}+ {% if to_field %}<input type="hidden" name="{{ to_field_var }}" value="{{ to_field }}">{% endif %}+ <p>+ <label for="deletion_reason">Why are you deleting this account? Saved to the activity log.</label>+ <br>+ <input type="text"+ id="deletion_reason"+ name="deletion_reason"+ size="80"+ maxlength="400"+ required+ placeholder="e.g. duplicate account left over from an email change, ticket 1234">+ </p>+ <input type="submit" value="Yes, delete this user">+ <a href="#" class="button cancel-link">No, take me back</a>+ </div>+ </form>{% endblock %}diff --git a/posthog/templates/admin/radar_bypass.html b/posthog/templates/admin/radar_bypass.htmlindex cf2ed65310b7..b542d61f8bf9 100644--- a/posthog/templates/admin/radar_bypass.html+++ b/posthog/templates/admin/radar_bypass.html@@ -1,9 +1,8 @@{% extends "admin/base_site.html" %}{% load i18n admin_urls static %}-{% block extrastyle %}-{{ block.super }}-<style nonce="{{ request.csp_nonce }}">+ {{ block.super }}+ <style nonce="{{ request.csp_nonce }}">.form-row { margin-bottom: 15px; margin-top: 15px; }.help { font-size: 11px; color: #666; }.submit-row { margin-top: 20px; }@@ -16,57 +15,52 @@.empty-state { color: #666; font-style: italic; padding: 12px 0; }.msg-success { background: #dfd; padding: 8px 12px; margin-bottom: 10px; border-radius: 4px; }.msg-error { background: #fdd; padding: 8px 12px; margin-bottom: 10px; border-radius: 4px; }-</style>+ </style>{% endblock %}-{% block content %}--<div id="messages"></div>--<div class="email-list">- <fieldset class="module aligned">- <h2>Bypassed emails (<span id="email-count">{{ bypass_emails|length }}</span>)</h2>-- <table id="email-table" {% if not bypass_emails %}style="display:none"{% endif %}>- <thead>- <tr>- <th>Email</th>- <th>Actions</th>- </tr>- </thead>- <tbody id="email-list-body">- {% for email in bypass_emails %}- <tr data-email="{{ email }}">- <td>{{ email }}</td>- <td>- <button type="button" class="remove-btn">Remove</button>- </td>- </tr>- {% endfor %}- </tbody>- </table>- <p id="empty-state" class="empty-state" {% if bypass_emails %}style="display:none"{% endif %}>No emails are currently bypassed.</p>- </fieldset>-</div>--<form id="add-form" style="margin-top: 30px;">- {% csrf_token %}- <fieldset class="module aligned">- <h2>Add email</h2>-- <div class="form-row">- <label for="id_email">Email:</label>- <input type="email" name="email" id="id_email" required />- <p class="help">Email address to bypass suspicious signup checks</p>- </div>- </fieldset>-- <div class="submit-row">- <input type="submit" value="Add to bypass list" class="default" />+ <div id="messages"></div>+ <div class="email-list">+ <fieldset class="module aligned">+ <h2>Bypassed emails (<span id="email-count">{{ bypass_emails|length }}</span>)</h2>+ <table id="email-table"+ {% if not bypass_emails %}style="display:none"{% endif %}>+ <thead>+ <tr>+ <th>Email</th>+ <th>Actions</th>+ </tr>+ </thead>+ <tbody id="email-list-body">+ {% for email in bypass_emails %}+ <tr data-email="{{ email }}">+ <td>{{ email }}</td>+ <td>+ <button type="button" class="remove-btn">Remove</button>+ </td>+ </tr>+ {% endfor %}+ </tbody>+ </table>+ <p id="empty-state"+ class="empty-state"+ {% if bypass_emails %}style="display:none"{% endif %}>No emails are currently bypassed.</p>+ </fieldset></div>-</form>--<script nonce="{{ request.csp_nonce }}">+ <form id="add-form" style="margin-top: 30px;">+ {% csrf_token %}+ <fieldset class="module aligned">+ <h2>Add email</h2>+ <div class="form-row">+ <label for="id_email">Email:</label>+ <input type="email" name="email" id="id_email" required />+ <p class="help">Email address to bypass suspicious signup checks</p>+ </div>+ </fieldset>+ <div class="submit-row">+ <input type="submit" value="Add to bypass list" class="default" />+ </div>+ </form>+ <script nonce="{{ request.csp_nonce }}">const API_BASE = '/admin/api/radar-bypass/';function getCSRFToken() {@@ -151,5 +145,5 @@ document.getElementById('email-list-body').addEventListener('click', function(e)const row = btn.closest('tr');if (row) removeEmail(row.dataset.email);});-</script>+ </script>{% endblock %}diff --git a/posthog/templates/admin/resave_cohorts.html b/posthog/templates/admin/resave_cohorts.htmlindex 31c808bab329..41ca49e507e4 100644--- a/posthog/templates/admin/resave_cohorts.html+++ b/posthog/templates/admin/resave_cohorts.html@@ -1,66 +1,53 @@{% extends "admin/base_site.html" %}{% load i18n admin_urls static %}-{% block extrastyle %}-{{ block.super }}-<style>+ {{ block.super }}+ <style>.form-row { margin-bottom: 15px; }.help { font-size: 11px; color: #666; }.submit-row { margin-top: 30px; }.alert { padding: 10px; margin: 20px 0; border-radius: 5px; }.alert-info { background: #e3f2fd; border: 1px solid #90caf9; color: #1565c0; }-</style>+ </style>{% endblock %}-{% block content %}-<div class="alert alert-info">- <strong>Note:</strong> This tool re-saves cohorts to regenerate compiled bytecode and cohort_type using the- current backend logic. It runs in batches to avoid load. Use dry-run to preview a summary first.- Check server logs for command output.- <br />- Scope: target a single team (team id) or all teams if left blank.- </div>--{% if messages %}- {% for message in messages %}- <div class="alert alert-{{ message.tags }}">- {{ message }}- </div>- {% endfor %}-{% endif %}--<form method="post" id="resave-cohorts-form">- {% csrf_token %}-- <fieldset class="module aligned">- <h2>Configuration</h2>-- <div class="form-row">- <label for="{{ form.team_id.id_for_label }}">{{ form.team_id.label }}:</label>- {{ form.team_id }}- {% if form.team_id.help_text %}<p class="help">{{ form.team_id.help_text }}</p>{% endif %}- {{ form.team_id.errors }}- </div>-- <div class="form-row">- <label for="{{ form.batch_size.id_for_label }}" class="required">{{ form.batch_size.label }}:</label>- {{ form.batch_size }}- {% if form.batch_size.help_text %}<p class="help">{{ form.batch_size.help_text }}</p>{% endif %}- {{ form.batch_size.errors }}- </div>-- <div class="form-row">- <label for="{{ form.dry_run.id_for_label }}">{{ form.dry_run.label }}:</label>- {{ form.dry_run }}- {% if form.dry_run.help_text %}<p class="help">{{ form.dry_run.help_text }}</p>{% endif %}- {{ form.dry_run.errors }}- </div>- </fieldset>-- <div class="submit-row">- <input type="submit" value="Run Resave" class="default" />+ <div class="alert alert-info">+ <strong>Note:</strong> This tool re-saves cohorts to regenerate compiled bytecode and cohort_type using the+ current backend logic. It runs in batches to avoid load. Use dry-run to preview a summary first.+ Check server logs for command output.+ <br />+ Scope: target a single team (team id) or all teams if left blank.</div>-</form>+ {% if messages %}+ {% for message in messages %}+ <div class="alert alert-{{ message.tags }}">{{ message }}</div>+ {% endfor %}+ {% endif %}+ <form method="post" id="resave-cohorts-form">+ {% csrf_token %}+ <fieldset class="module aligned">+ <h2>Configuration</h2>+ <div class="form-row">+ <label for="{{ form.team_id.id_for_label }}">{{ form.team_id.label }}:</label>+ {{ form.team_id }}+ {% if form.team_id.help_text %}<p class="help">{{ form.team_id.help_text }}</p>{% endif %}+ {{ form.team_id.errors }}+ </div>+ <div class="form-row">+ <label for="{{ form.batch_size.id_for_label }}" class="required">{{ form.batch_size.label }}:</label>+ {{ form.batch_size }}+ {% if form.batch_size.help_text %}<p class="help">{{ form.batch_size.help_text }}</p>{% endif %}+ {{ form.batch_size.errors }}+ </div>+ <div class="form-row">+ <label for="{{ form.dry_run.id_for_label }}">{{ form.dry_run.label }}:</label>+ {{ form.dry_run }}+ {% if form.dry_run.help_text %}<p class="help">{{ form.dry_run.help_text }}</p>{% endif %}+ {{ form.dry_run.errors }}+ </div>+ </fieldset>+ <div class="submit-row">+ <input type="submit" value="Run Resave" class="default" />+ </div>+ </form>{% endblock %}--diff --git a/posthog/templates/admin/tophog.html b/posthog/templates/admin/tophog.htmlindex fa146a7919fc..b0e2c9efca07 100644--- a/posthog/templates/admin/tophog.html+++ b/posthog/templates/admin/tophog.html@@ -1,12 +1,11 @@{% extends "admin/base_site.html" %}{% load i18n static %}-{% block extrastyle %}-{{ block.super }}-<link rel="stylesheet" href="{% static 'admin/css/changelists.css' %}" />-<link rel="stylesheet" href="{% static 'admin/css/forms.css' %}" />-{% if mode == 'preset' %}<meta http-equiv="refresh" content="30">{% endif %}-<style>+ {{ block.super }}+ <link rel="stylesheet" href="{% static 'admin/css/changelists.css' %}" />+ <link rel="stylesheet" href="{% static 'admin/css/forms.css' %}" />+ {% if mode == 'preset' %}<meta http-equiv="refresh" content="30">{% endif %}+ <style>.toolbar {display: flex;align-items: center;@@ -114,115 +113,117 @@opacity: 0.85;color: var(--header-link-color, #fff);}-</style>+ </style>{% endblock %}-{% if not is_popup %}-{% block breadcrumbs %}-<div class="breadcrumbs">- <a href="{% url 'admin:index' %}">{% translate 'Home' %}</a>- › TopHog Dashboard-</div>-{% endblock %}+ {% block breadcrumbs %}+ <div class="breadcrumbs">+ <a href="{% url 'admin:index' %}">{% translate 'Home' %}</a>+ › TopHog Dashboard+ </div>+ {% endblock %}{% endif %}-{% block content %}-<div id="content-main">- <div class="toolbar">- <div class="btn-group mode-toggle">- <a href="{{ base_url }}?mode=preset&preset={{ selected_preset }}{{ filter_qs }}" class="{% if mode == 'preset' %}active{% endif %}">Relative</a>- <a href="{{ base_url }}?mode=absolute&date_from={{ date_from }}&date_to={{ date_to }}{{ filter_qs }}" class="{% if mode == 'absolute' %}active{% endif %}">Absolute</a>- </div>-- {% if mode == 'preset' %}- <div class="btn-group">- {% for p in presets %}- <a href="{{ base_url }}?preset={{ p }}{{ filter_qs }}" class="{% if p == selected_preset %}active{% endif %}">{{ p }}</a>- {% endfor %}- </div>- {% else %}- <form class="absolute-range" method="get" action="{{ base_url }}">- {% if selected_pipeline %}<input type="hidden" name="pipeline" value="{{ selected_pipeline }}">{% endif %}- {% if selected_lane %}<input type="hidden" name="lane" value="{{ selected_lane }}">{% endif %}- <label for="date_from">From:</label>- <input type="datetime-local" id="date_from" name="date_from" value="{{ date_from }}">- <label for="date_to">To:</label>- <input type="datetime-local" id="date_to" name="date_to" value="{{ date_to }}">- <button type="submit">Apply</button>- </form>- {% endif %}-- <div class="separator"></div>-- <form class="filter-form" method="get" action="{{ base_url }}">+ <div id="content-main">+ <div class="toolbar">+ <div class="btn-group mode-toggle">+ <a href="{{ base_url }}?mode=preset&preset={{ selected_preset }}{{ filter_qs }}"+ class="{% if mode == 'preset' %}active{% endif %}">Relative</a>+ <a href="{{ base_url }}?mode=absolute&date_from={{ date_from }}&date_to={{ date_to }}{{ filter_qs }}"+ class="{% if mode == 'absolute' %}active{% endif %}">Absolute</a>+ </div>{% if mode == 'preset' %}- <input type="hidden" name="preset" value="{{ selected_preset }}">+ <div class="btn-group">+ {% for p in presets %}+ <a href="{{ base_url }}?preset={{ p }}{{ filter_qs }}"+ class="{% if p == selected_preset %}active{% endif %}">{{ p }}</a>+ {% endfor %}+ </div>{% else %}- <input type="hidden" name="date_from" value="{{ date_from }}">- <input type="hidden" name="date_to" value="{{ date_to }}">+ <form class="absolute-range" method="get" action="{{ base_url }}">+ {% if selected_pipeline %}<input type="hidden" name="pipeline" value="{{ selected_pipeline }}">{% endif %}+ {% if selected_lane %}<input type="hidden" name="lane" value="{{ selected_lane }}">{% endif %}+ <label for="date_from">From:</label>+ <input type="datetime-local"+ id="date_from"+ name="date_from"+ value="{{ date_from }}">+ <label for="date_to">To:</label>+ <input type="datetime-local"+ id="date_to"+ name="date_to"+ value="{{ date_to }}">+ <button type="submit">Apply</button>+ </form>{% endif %}- <label for="pipeline">Pipeline:</label>- <select name="pipeline" id="pipeline">- <option value="">All</option>- {% for p in pipelines %}- <option value="{{ p }}" {% if p == selected_pipeline %}selected{% endif %}>{{ p }}</option>- {% endfor %}- </select>- <label for="lane">Lane:</label>- <select name="lane" id="lane">- <option value="">All</option>- {% for l in lanes %}- <option value="{{ l }}" {% if l == selected_lane %}selected{% endif %}>{{ l }}</option>- {% endfor %}- </select>- <button type="submit">Filter</button>- </form>- </div>-- {% if error %}- <p class="errornote">{{ error }}</p>- {% endif %}-- {% if metrics %}- {% for metric_name, entries in metrics.items %}- <div class="module" style="margin-bottom: 20px;">- <table style="width: 100%;">- <caption>{{ metric_name }}</caption>- <thead>- <tr>- <th scope="col">Rank</th>- <th scope="col">Key</th>- <th scope="col">Token</th>- <th scope="col">Value</th>- <th scope="col">Count</th>- <th scope="col">Pipeline</th>- <th scope="col">Lane</th>- <th scope="col"></th>- </tr>- </thead>- <tbody>- {% for entry in entries %}- <tr>- <td>{{ forloop.counter }}</td>- <td>{{ entry.key }}</td>- <td>{{ entry.token }}</td>- <td>{{ entry.value }}</td>- <td>{{ entry.count }}</td>- <td>{{ entry.pipeline }}</td>- <td>{{ entry.lane }}</td>- <td>- {% if entry.restrictions_url %}- <a href="{{ entry.restrictions_url }}" class="restriction-link">Restrictions</a>- {% endif %}- </td>- </tr>+ <div class="separator"></div>+ <form class="filter-form" method="get" action="{{ base_url }}">+ {% if mode == 'preset' %}+ <input type="hidden" name="preset" value="{{ selected_preset }}">+ {% else %}+ <input type="hidden" name="date_from" value="{{ date_from }}">+ <input type="hidden" name="date_to" value="{{ date_to }}">+ {% endif %}+ <label for="pipeline">Pipeline:</label>+ <select name="pipeline" id="pipeline">+ <option value="">All</option>+ {% for p in pipelines %}+ <option value="{{ p }}" {% if p == selected_pipeline %}selected{% endif %}>{{ p }}</option>+ {% endfor %}+ </select>+ <label for="lane">Lane:</label>+ <select name="lane" id="lane">+ <option value="">All</option>+ {% for l in lanes %}+ <option value="{{ l }}" {% if l == selected_lane %}selected{% endif %}>{{ l }}</option>{% endfor %}- </tbody>- </table>+ </select>+ <button type="submit">Filter</button>+ </form></div>- {% endfor %}- {% else %}- <p>No data in the selected time range.</p>- {% endif %}-</div>+ {% if error %}+ <p class="errornote">{{ error }}</p>+ {% endif %}+ {% if metrics %}+ {% for metric_name, entries in metrics.items %}+ <div class="module" style="margin-bottom: 20px;">+ <table style="width: 100%;">+ <caption>{{ metric_name }}</caption>+ <thead>+ <tr>+ <th scope="col">Rank</th>+ <th scope="col">Key</th>+ <th scope="col">Token</th>+ <th scope="col">Value</th>+ <th scope="col">Count</th>+ <th scope="col">Pipeline</th>+ <th scope="col">Lane</th>+ <th scope="col"></th>+ </tr>+ </thead>+ <tbody>+ {% for entry in entries %}+ <tr>+ <td>{{ forloop.counter }}</td>+ <td>{{ entry.key }}</td>+ <td>{{ entry.token }}</td>+ <td>{{ entry.value }}</td>+ <td>{{ entry.count }}</td>+ <td>{{ entry.pipeline }}</td>+ <td>{{ entry.lane }}</td>+ <td>+ {% if entry.restrictions_url %}+ <a href="{{ entry.restrictions_url }}" class="restriction-link">Restrictions</a>+ {% endif %}+ </td>+ </tr>+ {% endfor %}+ </tbody>+ </table>+ </div>+ {% endfor %}+ {% else %}+ <p>No data in the selected time range.</p>+ {% endif %}+ </div>{% endblock %}diff --git a/posthog/templates/admin/tophog_restrictions.html b/posthog/templates/admin/tophog_restrictions.htmlindex d7dabf3fde40..abd44c9fd26f 100644--- a/posthog/templates/admin/tophog_restrictions.html+++ b/posthog/templates/admin/tophog_restrictions.html@@ -1,11 +1,10 @@{% extends "admin/base_site.html" %}{% load i18n static %}-{% block extrastyle %}-{{ block.super }}-<link rel="stylesheet" href="{% static 'admin/css/changelists.css' %}" />-<link rel="stylesheet" href="{% static 'admin/css/forms.css' %}" />-<style>+ {{ block.super }}+ <link rel="stylesheet" href="{% static 'admin/css/changelists.css' %}" />+ <link rel="stylesheet" href="{% static 'admin/css/forms.css' %}" />+ <style>.entry-context {display: flex;flex-wrap: wrap;@@ -77,63 +76,58 @@font-size: 12px;color: var(--body-quiet-color);}-</style>+ </style>{% endblock %}-{% if not is_popup %}-{% block breadcrumbs %}-<div class="breadcrumbs">- <a href="{% url 'admin:index' %}">{% translate 'Home' %}</a>- › <a href="{{ dashboard_url }}">TopHog Dashboard</a>- › Restrictions-</div>-{% endblock %}+ {% block breadcrumbs %}+ <div class="breadcrumbs">+ <a href="{% url 'admin:index' %}">{% translate 'Home' %}</a>+ › <a href="{{ dashboard_url }}">TopHog Dashboard</a>+ › Restrictions+ </div>+ {% endblock %}{% endif %}-{% block content %}-<div id="content-main">- <h2>Restrictions for tophog entry</h2>-- <div class="entry-context">- <span class="chip"><b>token:</b> {{ token }}</span>- {% for k, v in key.items %}- <span class="chip"><b>{{ k }}:</b> {{ v }}</span>- {% endfor %}- {% if tophog_pipelines %}- <span class="chip"><b>pipelines:</b> {{ tophog_pipelines|join:", " }}</span>- {% endif %}- </div>-- {% if restriction_pipelines %}- <p class="pipeline-note">- Mapped to restriction pipelines: {{ restriction_pipelines|join:", " }}{% if unmapped_pipelines %}- (no restriction pipeline mapping for: {{ unmapped_pipelines|join:", " }}){% endif %}- </p>- {% elif unmapped_pipelines %}+ <div id="content-main">+ <h2>Restrictions for tophog entry</h2>+ <div class="entry-context">+ <span class="chip"><b>token:</b> {{ token }}</span>+ {% for k, v in key.items %}+ <span class="chip"><b>{{ k }}:</b> {{ v }}</span>+ {% endfor %}+ {% if tophog_pipelines %}+ <span class="chip"><b>pipelines:</b> {{ tophog_pipelines|join:", " }}</span>+ {% endif %}+ </div>+ {% if restriction_pipelines %}+ <p class="pipeline-note">+ Mapped to restriction pipelines: {{ restriction_pipelines|join:", " }}{% if unmapped_pipelines %}+ (no restriction pipeline mapping for: {{ unmapped_pipelines|join:", " }}){% endif %}+ </p>+{% elif unmapped_pipelines %}<p class="pipeline-note">No restriction pipeline mapping for: {{ unmapped_pipelines|join:", " }}</p>- {% endif %}-- {% if not token %}- <p class="errornote">No token given — cannot search restrictions.</p>- {% elif entries %}- <div class="module">- <table style="width: 100%;">- <caption>Existing restrictions for this token</caption>- <thead>- <tr>- <th scope="col">Type</th>- <th scope="col">Pipelines</th>- <th scope="col">Distinct IDs</th>- <th scope="col">Session IDs</th>- <th scope="col">Event names</th>- <th scope="col">Event UUIDs</th>- <th scope="col">Note</th>- <th scope="col">Covers this entry</th>- <th scope="col"></th>- </tr>- </thead>- <tbody>- {% for entry in entries %}+{% endif %}+{% if not token %}+ <p class="errornote">No token given — cannot search restrictions.</p>+{% elif entries %}+ <div class="module">+ <table style="width: 100%;">+ <caption>Existing restrictions for this token</caption>+ <thead>+ <tr>+ <th scope="col">Type</th>+ <th scope="col">Pipelines</th>+ <th scope="col">Distinct IDs</th>+ <th scope="col">Session IDs</th>+ <th scope="col">Event names</th>+ <th scope="col">Event UUIDs</th>+ <th scope="col">Note</th>+ <th scope="col">Covers this entry</th>+ <th scope="col"></th>+ </tr>+ </thead>+ <tbody>+ {% for entry in entries %}<tr><td>{{ entry.restriction.get_restriction_type_display }}</td><td>{{ entry.restriction.pipelines|join:", " }}</td>@@ -144,34 +138,37 @@<td>{{ entry.restriction.note|default:""|truncatechars:80 }}</td><td>{% if entry.matches %}- <span class="match-badge matches">covers</span>+ <span class="match-badge matches">covers</span>{% else %}- <span class="match-badge no-match">does not cover</span>+ <span class="match-badge no-match">does not cover</span>{% endif %}</td><td class="actions-cell">{% if entry.extendable_fields %}- <form method="post" action="">- {% csrf_token %}- <input type="hidden" name="restriction_id" value="{{ entry.restriction.pk }}">- <button type="submit" class="action-link" title="Append entry values to: {{ entry.extendable_fields|join:', ' }}">Extend</button>- </form>+ <form method="post" action="">+ {% csrf_token %}+ <input type="hidden"+ name="restriction_id"+ value="{{ entry.restriction.pk }}">+ <button type="submit"+ class="action-link"+ title="Append entry values to: {{ entry.extendable_fields|join:', ' }}">Extend</button>+ </form>{% endif %}<a href="{{ entry.edit_url }}" class="action-link">Edit</a></td></tr>- {% endfor %}- </tbody>- </table>- </div>- {% else %}- <p>No existing restrictions for this token.</p>- {% endif %}-- {% if create_url %}+ {% endfor %}+ </tbody>+ </table>+ </div>+{% else %}+ <p>No existing restrictions for this token.</p>+{% endif %}+{% if create_url %}<div class="create-bar"><a href="{{ create_url }}" class="action-link">Create new restriction</a></div>- {% endif %}+{% endif %}</div>{% endblock %}diff --git a/posthog/templates/api_key_search/app.html b/posthog/templates/api_key_search/app.htmlindex 5ea1a216c16c..2f723a2def2c 100644--- a/posthog/templates/api_key_search/app.html+++ b/posthog/templates/api_key_search/app.html@@ -1,20 +1,19 @@{% load i18n %}<!-- In case there are no apps, we also don't want to appear -->{% if app_list %}-<div class="app-redis module">- <table>- <caption>- API Key- </caption>- <tr class="model-values">- <th scope="row">- <a href="{% url 'api_key_search' %}" aria-current="page">Search</a>- </th>-- <td>- <a href="{% url 'api_key_search' %}" class="viewlink">{% translate 'View' %}</a>- </td>- </tr>- </table>-</div>+ <div class="app-redis module">+ <table>+ <caption>+ API Key+ </caption>+ <tr class="model-values">+ <th scope="row">+ <a href="{% url 'api_key_search' %}" aria-current="page">Search</a>+ </th>+ <td>+ <a href="{% url 'api_key_search' %}" class="viewlink">{% translate 'View' %}</a>+ </td>+ </tr>+ </table>+ </div>{% endif %}diff --git a/posthog/templates/api_key_search/values.html b/posthog/templates/api_key_search/values.htmlindex 9d13403ac2da..a3202bc4633f 100644--- a/posthog/templates/api_key_search/values.html+++ b/posthog/templates/api_key_search/values.html@@ -1,259 +1,265 @@{% extends "admin/base_site.html" %}{% load i18n admin_urls static admin_list %}-{% block extrastyle %}-{{ block.super }}-<link rel="stylesheet" href="{% static 'admin/css/changelists.css' %}" />-<link rel="stylesheet" href="{% static 'admin/css/forms.css' %}" />-{{ media.css }}+ {{ block.super }}+ <link rel="stylesheet" href="{% static 'admin/css/changelists.css' %}" />+ <link rel="stylesheet" href="{% static 'admin/css/forms.css' %}" />+ {{ media.css }}{% endblock %}-{% if not is_popup %}-{% block breadcrumbs %}-<div class="breadcrumbs">- <a href="{% url 'admin:index' %}">{% translate 'Home' %}</a>- › API Key search-</div>-{% endblock %}+ {% block breadcrumbs %}+ <div class="breadcrumbs">+ <a href="{% url 'admin:index' %}">{% translate 'Home' %}</a>+ › API Key search+ </div>+ {% endblock %}{% endif %}-{% block content %}-<div id="content-main">- <div class="module filtered">- <div>- {% block search %} {% load i18n static %}- <div id="toolbar">- <form method="post" role="search">- {% csrf_token %}- <div>- <!-- DIV needed for valid HTML -->- <label for="searchbar"><img src="{% static 'admin/img/search.svg' %}" alt="Search" /></label>- <input type="text" size="40" name="q" value="{{ query }}" id="searchbar" required autocomplete="off" />- <input type="submit" value="{% translate 'Search' %}" />+ <div id="content-main">+ <div class="module filtered">+ <div>+ {% block search %}+ {% load i18n static %}+ <div id="toolbar">+ <form method="post" role="search">+ {% csrf_token %}+ <div>+ <!-- DIV needed for valid HTML -->+ <label for="searchbar">+ <img src="{% static 'admin/img/search.svg' %}" alt="Search" />+ </label>+ <input type="text"+ size="40"+ name="q"+ value="{{ query }}"+ id="searchbar"+ required+ autocomplete="off" />+ <input type="submit" value="{% translate 'Search' %}" />+ </div>+ </form></div>- </form>- </div>- {% endblock %}- <div class="results">- {% if personal_api_key_object %}- <table id="results_list">- <thead>- <tr>- <th scope="col">- <div class="text"><span>{% trans "Type" %}</span></div>- </th>- <th scope="col">- <div class="text"><span>{% trans "Label" %}</span></div>- </th>- <th scope="col">- <div class="text"><span>{% trans "User" %}</span></div>- </th>- <th scope="col">- <div class="text"><span>{% trans "Scopes" %}</span></div>- </th>- <th scope="col">- <div class="text"><span>{% trans "Organization/Project scope" %}</span></div>- </th>- <th scope="col">- <div class="text"><span>{% trans "Created" %}</span></div>- </th>- <th scope="col">- <div class="text"><span>{% trans "Last Used" %}</span></div>- </th>- <th scope="col">- <div class="text"><span>{% trans "Last Rolled" %}</span></div>- </th>- </tr>- </thead>- <tbody>- <tr>- <td><a href="/admin/posthog/personalapikey/{{ personal_api_key_object.id }}/change/">Personal API key ({{ personal_api_key_hash_mode }})</a></td>- <td><a href="/admin/posthog/personalapikey/{{ personal_api_key_object.id }}/change/">{{ personal_api_key_object.label }}</a></td>- <td><a href="/admin/posthog/user/{{ personal_api_key_object.user.id }}/change/">{{ personal_api_key_object.user.email }}</a></td>- <td>{{ personal_api_key_object.scopes }}</td>- <td>- {% if personal_api_key_object.scoped_organizations %}- Organization access- {% elif personal_api_key_object.scoped_teams %}- Project access- {% else %}- All access- {% endif %}- </td>- <td>{{ personal_api_key_object.created_at }}</td>- <td>{{ personal_api_key_object.last_used_at }}</td>- <td>{{ personal_api_key_object.last_rolled_at }}</td>- </tr>- </tbody>- </table>- {% elif project_secret_api_key_object %}- <table id="results_list">- <thead>- <tr>- <th scope="col">- <div class="text"><span>{% trans "Type" %}</span></div>- </th>- <th scope="col">- <div class="text"><span>{% trans "Label" %}</span></div>- </th>- <th scope="col">- <div class="text"><span>{% trans "Team" %}</span></div>- </th>- <th scope="col">- <div class="text"><span>{% trans "Scopes" %}</span></div>- </th>- <th scope="col">- <div class="text"><span>{% trans "Created By" %}</span></div>- </th>- <th scope="col">- <div class="text"><span>{% trans "Created" %}</span></div>- </th>- <th scope="col">- <div class="text"><span>{% trans "Last Used" %}</span></div>- </th>- <th scope="col">- <div class="text"><span>{% trans "Last Rolled" %}</span></div>- </th>- </tr>- </thead>- <tbody>- <tr>- <td><a href="/admin/posthog/projectsecretapikey/{{ project_secret_api_key_object.id }}/change/">Project Secret API Key</a></td>- <td><a href="/admin/posthog/projectsecretapikey/{{ project_secret_api_key_object.id }}/change/">{{ project_secret_api_key_object.label }}</a></td>- <td><a href="/admin/posthog/team/{{ project_secret_api_key_object.team_id }}/change/">{{ project_secret_api_key_object.team.name }}</a></td>- <td>{{ project_secret_api_key_object.scopes }}</td>- <td>- {% if project_secret_api_key_object.created_by %}- <a href="/admin/posthog/user/{{ project_secret_api_key_object.created_by.id }}/change/">{{ project_secret_api_key_object.created_by.email }}</a>- {% else %}- -- {% endif %}- </td>- <td>{{ project_secret_api_key_object.created_at }}</td>- <td>{{ project_secret_api_key_object.last_used_at }}</td>- <td>{{ project_secret_api_key_object.last_rolled_at }}</td>- </tr>- </tbody>- </table>- {% elif team_object %}- <table id="results_list">- <thead>- <tr>- <th scope="col">- <div class="text"><span>{% trans "Type" %}</span></div>- </th>- <th scope="col">- <div class="text"><span>{% trans "Team" %}</span></div>- </th>- </tr>- </thead>- <tbody>- <tr>- <td>- Feature Flags Secure API Key- {% if team_object_key_type == "backup" %}- (Backup)- {% endif %}- </td>- <td><a href="/admin/posthog/team/{{ team_object.id }}/change/">{{ team_object.name }}</a></td>- </tr>- </tbody>- </table>- {% elif oauth_access_token_object %}- <table id="results_list">- <thead>- <tr>- <th scope="col">- <div class="text"><span>{% trans "Type" %}</span></div>- </th>- <th scope="col">- <div class="text"><span>{% trans "User" %}</span></div>- </th>- <th scope="col">- <div class="text"><span>{% trans "Application" %}</span></div>- </th>- <th scope="col">- <div class="text"><span>{% trans "Expires" %}</span></div>- </th>- <th scope="col">- <div class="text"><span>{% trans "Scope" %}</span></div>- </th>- <th scope="col">- <div class="text"><span>{% trans "Created" %}</span></div>- </th>- </tr>- </thead>- <tbody>- <tr>- <td><a href="/admin/posthog/oauthaccesstoken/{{ oauth_access_token_object.id }}/change/">OAuth Access Token</a></td>- <td>- {% if oauth_access_token_object.user %}- <a href="/admin/posthog/user/{{ oauth_access_token_object.user.id }}/change/">{{ oauth_access_token_object.user.email }}</a>- {% else %}- -- {% endif %}- </td>- <td>- {% if oauth_access_token_object.application %}- <a href="/admin/posthog/oauthapplication/{{ oauth_access_token_object.application.id }}/change/">{{ oauth_access_token_object.application.name }}</a>- {% else %}- -- {% endif %}- </td>- <td>{{ oauth_access_token_object.expires }}</td>- <td>{{ oauth_access_token_object.scope }}</td>- <td>{{ oauth_access_token_object.created }}</td>- </tr>- </tbody>- </table>- {% elif oauth_refresh_token_object %}- <table id="results_list">- <thead>- <tr>- <th scope="col">- <div class="text"><span>{% trans "Type" %}</span></div>- </th>- <th scope="col">- <div class="text"><span>{% trans "User" %}</span></div>- </th>- <th scope="col">- <div class="text"><span>{% trans "Application" %}</span></div>- </th>- <th scope="col">- <div class="text"><span>{% trans "Revoked" %}</span></div>- </th>- <th scope="col">- <div class="text"><span>{% trans "Created" %}</span></div>- </th>- </tr>- </thead>- <tbody>- <tr>- <td><a href="/admin/posthog/oauthrefreshtoken/{{ oauth_refresh_token_object.id }}/change/">OAuth Refresh Token</a></td>- <td>- {% if oauth_refresh_token_object.user %}- <a href="/admin/posthog/user/{{ oauth_refresh_token_object.user.id }}/change/">{{ oauth_refresh_token_object.user.email }}</a>- {% else %}- -- {% endif %}- </td>- <td>- {% if oauth_refresh_token_object.application %}- <a href="/admin/posthog/oauthapplication/{{ oauth_refresh_token_object.application.id }}/change/">{{ oauth_refresh_token_object.application.name }}</a>- {% else %}- -- {% endif %}- </td>- <td>{{ oauth_refresh_token_object.revoked|yesno:"Yes,No" }}</td>- <td>{{ oauth_refresh_token_object.created }}</td>- </tr>- </tbody>- </table>- {% elif query != "" %}- <span>No results found</span>- {% endif %}+ {% endblock %}+ <div class="results">+ {% if personal_api_key_object %}+ <table id="results_list">+ <thead>+ <tr>+ <th scope="col">+ <div class="text"><span>{% trans "Type" %}</span></div>+ </th>+ <th scope="col">+ <div class="text"><span>{% trans "Label" %}</span></div>+ </th>+ <th scope="col">+ <div class="text"><span>{% trans "User" %}</span></div>+ </th>+ <th scope="col">+ <div class="text"><span>{% trans "Scopes" %}</span></div>+ </th>+ <th scope="col">+ <div class="text"><span>{% trans "Organization/Project scope" %}</span></div>+ </th>+ <th scope="col">+ <div class="text"><span>{% trans "Created" %}</span></div>+ </th>+ <th scope="col">+ <div class="text"><span>{% trans "Last Used" %}</span></div>+ </th>+ <th scope="col">+ <div class="text"><span>{% trans "Last Rolled" %}</span></div>+ </th>+ </tr>+ </thead>+ <tbody>+ <tr>+ <td><a href="/admin/posthog/personalapikey/{{ personal_api_key_object.id }}/change/">Personal API key ({{ personal_api_key_hash_mode }})</a></td>+ <td><a href="/admin/posthog/personalapikey/{{ personal_api_key_object.id }}/change/">{{ personal_api_key_object.label }}</a></td>+ <td><a href="/admin/posthog/user/{{ personal_api_key_object.user.id }}/change/">{{ personal_api_key_object.user.email }}</a></td>+ <td>{{ personal_api_key_object.scopes }}</td>+ <td>+ {% if personal_api_key_object.scoped_organizations %}+ Organization access+ {% elif personal_api_key_object.scoped_teams %}+ Project access+ {% else %}+ All access+ {% endif %}+ </td>+ <td>{{ personal_api_key_object.created_at }}</td>+ <td>{{ personal_api_key_object.last_used_at }}</td>+ <td>{{ personal_api_key_object.last_rolled_at }}</td>+ </tr>+ </tbody>+ </table>+ {% elif project_secret_api_key_object %}+ <table id="results_list">+ <thead>+ <tr>+ <th scope="col">+ <div class="text"><span>{% trans "Type" %}</span></div>+ </th>+ <th scope="col">+ <div class="text"><span>{% trans "Label" %}</span></div>+ </th>+ <th scope="col">+ <div class="text"><span>{% trans "Team" %}</span></div>+ </th>+ <th scope="col">+ <div class="text"><span>{% trans "Scopes" %}</span></div>+ </th>+ <th scope="col">+ <div class="text"><span>{% trans "Created By" %}</span></div>+ </th>+ <th scope="col">+ <div class="text"><span>{% trans "Created" %}</span></div>+ </th>+ <th scope="col">+ <div class="text"><span>{% trans "Last Used" %}</span></div>+ </th>+ <th scope="col">+ <div class="text"><span>{% trans "Last Rolled" %}</span></div>+ </th>+ </tr>+ </thead>+ <tbody>+ <tr>+ <td><a href="/admin/posthog/projectsecretapikey/{{ project_secret_api_key_object.id }}/change/">Project Secret API Key</a></td>+ <td><a href="/admin/posthog/projectsecretapikey/{{ project_secret_api_key_object.id }}/change/">{{ project_secret_api_key_object.label }}</a></td>+ <td><a href="/admin/posthog/team/{{ project_secret_api_key_object.team_id }}/change/">{{ project_secret_api_key_object.team.name }}</a></td>+ <td>{{ project_secret_api_key_object.scopes }}</td>+ <td>+ {% if project_secret_api_key_object.created_by %}+ <a href="/admin/posthog/user/{{ project_secret_api_key_object.created_by.id }}/change/">{{ project_secret_api_key_object.created_by.email }}</a>+ {% else %}+ -+ {% endif %}+ </td>+ <td>{{ project_secret_api_key_object.created_at }}</td>+ <td>{{ project_secret_api_key_object.last_used_at }}</td>+ <td>{{ project_secret_api_key_object.last_rolled_at }}</td>+ </tr>+ </tbody>+ </table>+ {% elif team_object %}+ <table id="results_list">+ <thead>+ <tr>+ <th scope="col">+ <div class="text"><span>{% trans "Type" %}</span></div>+ </th>+ <th scope="col">+ <div class="text"><span>{% trans "Team" %}</span></div>+ </th>+ </tr>+ </thead>+ <tbody>+ <tr>+ <td>+ Feature Flags Secure API Key+ {% if team_object_key_type == "backup" %}+ (Backup)+ {% endif %}+ </td>+ <td><a href="/admin/posthog/team/{{ team_object.id }}/change/">{{ team_object.name }}</a></td>+ </tr>+ </tbody>+ </table>+ {% elif oauth_access_token_object %}+ <table id="results_list">+ <thead>+ <tr>+ <th scope="col">+ <div class="text"><span>{% trans "Type" %}</span></div>+ </th>+ <th scope="col">+ <div class="text"><span>{% trans "User" %}</span></div>+ </th>+ <th scope="col">+ <div class="text"><span>{% trans "Application" %}</span></div>+ </th>+ <th scope="col">+ <div class="text"><span>{% trans "Expires" %}</span></div>+ </th>+ <th scope="col">+ <div class="text"><span>{% trans "Scope" %}</span></div>+ </th>+ <th scope="col">+ <div class="text"><span>{% trans "Created" %}</span></div>+ </th>+ </tr>+ </thead>+ <tbody>+ <tr>+ <td><a href="/admin/posthog/oauthaccesstoken/{{ oauth_access_token_object.id }}/change/">OAuth Access Token</a></td>+ <td>+ {% if oauth_access_token_object.user %}+ <a href="/admin/posthog/user/{{ oauth_access_token_object.user.id }}/change/">{{ oauth_access_token_object.user.email }}</a>+ {% else %}+ -+ {% endif %}+ </td>+ <td>+ {% if oauth_access_token_object.application %}+ <a href="/admin/posthog/oauthapplication/{{ oauth_access_token_object.application.id }}/change/">{{ oauth_access_token_object.application.name }}</a>+ {% else %}+ -+ {% endif %}+ </td>+ <td>{{ oauth_access_token_object.expires }}</td>+ <td>{{ oauth_access_token_object.scope }}</td>+ <td>{{ oauth_access_token_object.created }}</td>+ </tr>+ </tbody>+ </table>+ {% elif oauth_refresh_token_object %}+ <table id="results_list">+ <thead>+ <tr>+ <th scope="col">+ <div class="text"><span>{% trans "Type" %}</span></div>+ </th>+ <th scope="col">+ <div class="text"><span>{% trans "User" %}</span></div>+ </th>+ <th scope="col">+ <div class="text"><span>{% trans "Application" %}</span></div>+ </th>+ <th scope="col">+ <div class="text"><span>{% trans "Revoked" %}</span></div>+ </th>+ <th scope="col">+ <div class="text"><span>{% trans "Created" %}</span></div>+ </th>+ </tr>+ </thead>+ <tbody>+ <tr>+ <td><a href="/admin/posthog/oauthrefreshtoken/{{ oauth_refresh_token_object.id }}/change/">OAuth Refresh Token</a></td>+ <td>+ {% if oauth_refresh_token_object.user %}+ <a href="/admin/posthog/user/{{ oauth_refresh_token_object.user.id }}/change/">{{ oauth_refresh_token_object.user.email }}</a>+ {% else %}+ -+ {% endif %}+ </td>+ <td>+ {% if oauth_refresh_token_object.application %}+ <a href="/admin/posthog/oauthapplication/{{ oauth_refresh_token_object.application.id }}/change/">{{ oauth_refresh_token_object.application.name }}</a>+ {% else %}+ -+ {% endif %}+ </td>+ <td>{{ oauth_refresh_token_object.revoked|yesno:"Yes,No" }}</td>+ <td>{{ oauth_refresh_token_object.created }}</td>+ </tr>+ </tbody>+ </table>+ {% elif query != "" %}+ <span>No results found</span>+ {% endif %}+ </div></div></div></div>-</div>{% endblock %}diff --git a/posthog/templates/authorize_and_link.html b/posthog/templates/authorize_and_link.htmlindex 3af72f40d16e..ae02e0616db2 100644--- a/posthog/templates/authorize_and_link.html+++ b/posthog/templates/authorize_and_link.html@@ -1,43 +1,28 @@{% extends 'layout.html' %}-{% block content %}-<div class="auth-frame">- <div class="logo-frame">- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 140">- <g fill-rule="nonzero" fill="none">- <path- d="M55.383 75.225c-1.874 3.748-7.222 3.748-9.096 0l-4.482-8.963a5.085 5.085 0 0 1 0-4.548l4.482-8.964c1.874-3.748 7.222-3.748 9.096 0l4.482 8.964a5.084 5.084 0 0 1 0 4.548l-4.482 8.963Zm0 50.836c-1.874 3.747-7.222 3.747-9.096 0l-4.482-8.964a5.085 5.085 0 0 1 0-4.548l4.482-8.964c1.874-3.748 7.222-3.748 9.096 0l4.482 8.964a5.084 5.084 0 0 1 0 4.548l-4.482 8.964Z"- fill="#1D4AFF" />- <path- d="M0 106.765c0-4.53 5.477-6.8 8.68-3.596l23.307 23.307c3.204 3.204.935 8.68-3.595 8.68H5.085A5.085 5.085 0 0 1 0 130.073v-23.307Zm0-24.55c0 1.35.536 2.643 1.49 3.596l47.856 47.856a5.086 5.086 0 0 0 3.595 1.49h26.286c4.53 0 6.799-5.477 3.595-8.681L8.681 52.334C5.477 49.131 0 51.4 0 55.93v26.286Zm0-50.834c0 1.348.536 2.642 1.49 3.595l98.69 98.691a5.086 5.086 0 0 0 3.596 1.49h26.285c4.53 0 6.8-5.477 3.596-8.681L8.681 1.5C5.477-1.704 0 .565 0 5.095v26.286Zm50.835 0c0 1.348.536 2.642 1.49 3.595l91.5 91.5c3.203 3.204 8.68.935 8.68-3.596V96.595a5.086 5.086 0 0 0-1.49-3.596l-91.5-91.5c-3.203-3.203-8.68-.934-8.68 3.596v26.286ZM110.35 1.5c-3.203-3.204-8.68-.935-8.68 3.595v26.286c0 1.348.536 2.642 1.49 3.595l40.664 40.665c3.204 3.204 8.68.935 8.68-3.596V45.76a5.086 5.086 0 0 0-1.489-3.596L110.35 1.5Z"- fill="#F9BD2B" />- <path- d="m216.24 107.388-47.864-47.863c-3.204-3.204-8.681-.935-8.681 3.595v66.952a5.085 5.085 0 0 0 5.085 5.085h74.142a5.085 5.085 0 0 0 5.085-5.085v-6.097c0-2.809-2.286-5.052-5.07-5.414a39.27 39.27 0 0 1-22.698-11.173Zm-32.145 11.502a8.137 8.137 0 0 1-8.133-8.134 8.137 8.137 0 0 1 8.133-8.134 8.137 8.137 0 0 1 8.134 8.134 8.137 8.137 0 0 1-8.134 8.134Z"- fill="#000" />- <path- d="M0 130.072a5.085 5.085 0 0 0 5.085 5.085h23.307c4.53 0 6.799-5.477 3.595-8.681L8.681 103.169C5.477 99.966 0 102.235 0 106.765v23.307Zm50.835-86.418L8.68 1.5C5.477-1.704 0 .565 0 5.095v26.286c0 1.348.536 2.642 1.49 3.595l49.345 49.346V43.654ZM8.68 52.334C5.477 49.131 0 51.4 0 55.93v26.286c0 1.348.536 2.642 1.49 3.595l49.345 49.346V94.489L8.68 52.334Z"- fill="#1D4AFF" />- <path- d="M101.67 45.76a5.083 5.083 0 0 0-1.49-3.596L59.516 1.5c-3.204-3.204-8.681-.935-8.681 3.595v26.286c0 1.348.536 2.642 1.49 3.595l49.345 49.346V45.76Zm-50.835 89.397h28.392c4.53 0 6.799-5.477 3.595-8.681L50.835 94.489v40.668Zm0-91.503v38.562c0 1.348.536 2.642 1.49 3.595l49.345 49.346V96.595a5.084 5.084 0 0 0-1.49-3.596L50.835 43.654Z"- fill="#F54E00" />- <path- d="M303.32 114.86h20.888V80.22h17.452c19.17 0 31.466-11.37 31.466-28.954 0-17.584-12.295-28.954-31.466-28.954h-38.34v92.547Zm20.888-52.488V40.16h15.337c7.932 0 12.692 4.23 12.692 11.105 0 6.876-4.76 11.106-12.692 11.106h-15.337Zm86.71 53.545c20.36 0 35.167-14.543 35.167-34.375 0-19.831-14.807-34.374-35.167-34.374-20.625 0-35.168 14.543-35.168 34.374 0 19.832 14.543 34.375 35.168 34.375Zm-15.866-34.375c0-10.577 6.346-17.848 15.866-17.848 9.386 0 15.733 7.271 15.733 17.848 0 10.577-6.347 17.849-15.733 17.849-9.52 0-15.866-7.272-15.866-17.849Zm84.462 34.375c15.601 0 26.178-9.784 26.178-21.286 0-26.97-35.829-18.245-35.829-28.822 0-2.908 3.04-4.759 7.404-4.759 4.495 0 9.916 2.776 11.634 8.858l15.601-6.479c-3.04-9.65-14.279-16.261-27.896-16.261-14.676 0-23.798 8.725-23.798 19.17 0 25.252 35.3 18.245 35.3 28.69 0 3.702-3.437 6.214-8.594 6.214-7.403 0-12.56-5.156-14.146-11.37l-15.601 6.081c3.438 10.048 13.486 19.964 29.747 19.964Zm76.43-1.718-1.321-16.791c-2.248 1.19-5.157 1.586-7.536 1.586-4.76 0-7.933-3.437-7.933-9.387V64.355h16.13v-16.13h-16.13V28.923h-19.435v19.302h-10.577v16.13h10.577v27.764c0 16.13 10.974 23.798 25.384 23.798 3.967 0 7.669-.66 10.842-1.718Zm67.764-91.887v35.961h-36.755v-35.96h-20.89v92.546h20.89V76.122h36.755v38.737h21.021V22.312h-21.021Zm67.386 93.605c20.36 0 35.168-14.543 35.168-34.375 0-19.831-14.807-34.374-35.168-34.374-20.625 0-35.168 14.543-35.168 34.374 0 19.832 14.543 34.375 35.168 34.375ZM675.23 81.542c0-10.577 6.346-17.848 15.865-17.848 9.387 0 15.733 7.271 15.733 17.848 0 10.577-6.346 17.849-15.733 17.849-9.519 0-15.865-7.272-15.865-17.849Zm88.545 31.202c7.272 0 13.75-2.512 17.188-6.875v6.346c0 7.404-5.95 12.56-15.072 12.56-6.479 0-12.164-3.173-13.09-8.594l-17.715 2.777c2.38 12.56 15.204 21.022 30.805 21.022 20.492 0 34.11-12.032 34.11-29.88V48.225h-19.17v5.685c-3.57-4.098-9.652-6.742-17.452-6.742-18.51 0-30.144 12.692-30.144 32.788 0 20.096 11.634 32.788 30.54 32.788ZM752.14 79.956c0-9.916 5.817-16.262 14.807-16.262 9.123 0 14.94 6.346 14.94 16.262s-5.817 16.262-14.94 16.262c-8.99 0-14.807-6.346-14.807-16.262Z"- fill="#000" />- </g>- </svg>+ <div class="auth-frame">+ <div class="logo-frame">+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 140">+ <g fill-rule="nonzero" fill="none">+ <path d="M55.383 75.225c-1.874 3.748-7.222 3.748-9.096 0l-4.482-8.963a5.085 5.085 0 0 1 0-4.548l4.482-8.964c1.874-3.748 7.222-3.748 9.096 0l4.482 8.964a5.084 5.084 0 0 1 0 4.548l-4.482 8.963Zm0 50.836c-1.874 3.747-7.222 3.747-9.096 0l-4.482-8.964a5.085 5.085 0 0 1 0-4.548l4.482-8.964c1.874-3.748 7.222-3.748 9.096 0l4.482 8.964a5.084 5.084 0 0 1 0 4.548l-4.482 8.964Z" fill="#1D4AFF" />+ <path d="M0 106.765c0-4.53 5.477-6.8 8.68-3.596l23.307 23.307c3.204 3.204.935 8.68-3.595 8.68H5.085A5.085 5.085 0 0 1 0 130.073v-23.307Zm0-24.55c0 1.35.536 2.643 1.49 3.596l47.856 47.856a5.086 5.086 0 0 0 3.595 1.49h26.286c4.53 0 6.799-5.477 3.595-8.681L8.681 52.334C5.477 49.131 0 51.4 0 55.93v26.286Zm0-50.834c0 1.348.536 2.642 1.49 3.595l98.69 98.691a5.086 5.086 0 0 0 3.596 1.49h26.285c4.53 0 6.8-5.477 3.596-8.681L8.681 1.5C5.477-1.704 0 .565 0 5.095v26.286Zm50.835 0c0 1.348.536 2.642 1.49 3.595l91.5 91.5c3.203 3.204 8.68.935 8.68-3.596V96.595a5.086 5.086 0 0 0-1.49-3.596l-91.5-91.5c-3.203-3.203-8.68-.934-8.68 3.596v26.286ZM110.35 1.5c-3.203-3.204-8.68-.935-8.68 3.595v26.286c0 1.348.536 2.642 1.49 3.595l40.664 40.665c3.204 3.204 8.68.935 8.68-3.596V45.76a5.086 5.086 0 0 0-1.489-3.596L110.35 1.5Z" fill="#F9BD2B" />+ <path d="m216.24 107.388-47.864-47.863c-3.204-3.204-8.681-.935-8.681 3.595v66.952a5.085 5.085 0 0 0 5.085 5.085h74.142a5.085 5.085 0 0 0 5.085-5.085v-6.097c0-2.809-2.286-5.052-5.07-5.414a39.27 39.27 0 0 1-22.698-11.173Zm-32.145 11.502a8.137 8.137 0 0 1-8.133-8.134 8.137 8.137 0 0 1 8.133-8.134 8.137 8.137 0 0 1 8.134 8.134 8.137 8.137 0 0 1-8.134 8.134Z" fill="#000" />+ <path d="M0 130.072a5.085 5.085 0 0 0 5.085 5.085h23.307c4.53 0 6.799-5.477 3.595-8.681L8.681 103.169C5.477 99.966 0 102.235 0 106.765v23.307Zm50.835-86.418L8.68 1.5C5.477-1.704 0 .565 0 5.095v26.286c0 1.348.536 2.642 1.49 3.595l49.345 49.346V43.654ZM8.68 52.334C5.477 49.131 0 51.4 0 55.93v26.286c0 1.348.536 2.642 1.49 3.595l49.345 49.346V94.489L8.68 52.334Z" fill="#1D4AFF" />+ <path d="M101.67 45.76a5.083 5.083 0 0 0-1.49-3.596L59.516 1.5c-3.204-3.204-8.681-.935-8.681 3.595v26.286c0 1.348.536 2.642 1.49 3.595l49.345 49.346V45.76Zm-50.835 89.397h28.392c4.53 0 6.799-5.477 3.595-8.681L50.835 94.489v40.668Zm0-91.503v38.562c0 1.348.536 2.642 1.49 3.595l49.345 49.346V96.595a5.084 5.084 0 0 0-1.49-3.596L50.835 43.654Z" fill="#F54E00" />+ <path d="M303.32 114.86h20.888V80.22h17.452c19.17 0 31.466-11.37 31.466-28.954 0-17.584-12.295-28.954-31.466-28.954h-38.34v92.547Zm20.888-52.488V40.16h15.337c7.932 0 12.692 4.23 12.692 11.105 0 6.876-4.76 11.106-12.692 11.106h-15.337Zm86.71 53.545c20.36 0 35.167-14.543 35.167-34.375 0-19.831-14.807-34.374-35.167-34.374-20.625 0-35.168 14.543-35.168 34.374 0 19.832 14.543 34.375 35.168 34.375Zm-15.866-34.375c0-10.577 6.346-17.848 15.866-17.848 9.386 0 15.733 7.271 15.733 17.848 0 10.577-6.347 17.849-15.733 17.849-9.52 0-15.866-7.272-15.866-17.849Zm84.462 34.375c15.601 0 26.178-9.784 26.178-21.286 0-26.97-35.829-18.245-35.829-28.822 0-2.908 3.04-4.759 7.404-4.759 4.495 0 9.916 2.776 11.634 8.858l15.601-6.479c-3.04-9.65-14.279-16.261-27.896-16.261-14.676 0-23.798 8.725-23.798 19.17 0 25.252 35.3 18.245 35.3 28.69 0 3.702-3.437 6.214-8.594 6.214-7.403 0-12.56-5.156-14.146-11.37l-15.601 6.081c3.438 10.048 13.486 19.964 29.747 19.964Zm76.43-1.718-1.321-16.791c-2.248 1.19-5.157 1.586-7.536 1.586-4.76 0-7.933-3.437-7.933-9.387V64.355h16.13v-16.13h-16.13V28.923h-19.435v19.302h-10.577v16.13h10.577v27.764c0 16.13 10.974 23.798 25.384 23.798 3.967 0 7.669-.66 10.842-1.718Zm67.764-91.887v35.961h-36.755v-35.96h-20.89v92.546h20.89V76.122h36.755v38.737h21.021V22.312h-21.021Zm67.386 93.605c20.36 0 35.168-14.543 35.168-34.375 0-19.831-14.807-34.374-35.168-34.374-20.625 0-35.168 14.543-35.168 34.374 0 19.832 14.543 34.375 35.168 34.375ZM675.23 81.542c0-10.577 6.346-17.848 15.865-17.848 9.387 0 15.733 7.271 15.733 17.848 0 10.577-6.346 17.849-15.733 17.849-9.519 0-15.865-7.272-15.865-17.849Zm88.545 31.202c7.272 0 13.75-2.512 17.188-6.875v6.346c0 7.404-5.95 12.56-15.072 12.56-6.479 0-12.164-3.173-13.09-8.594l-17.715 2.777c2.38 12.56 15.204 21.022 30.805 21.022 20.492 0 34.11-12.032 34.11-29.88V48.225h-19.17v5.685c-3.57-4.098-9.652-6.742-17.452-6.742-18.51 0-30.144 12.692-30.144 32.788 0 20.096 11.634 32.788 30.54 32.788ZM752.14 79.956c0-9.916 5.817-16.262 14.807-16.262 9.123 0 14.94 6.346 14.94 16.262s-5.817 16.262-14.94 16.262c-8.99 0-14.807-6.346-14.807-16.262Z" fill="#000" />+ </g>+ </svg>+ </div>+ <form class="form-signin" method="post" action="/login">+ <h2>Link accounts</h2>+ <p>Do you want to link <strong>{{ domain }}</strong> using your PostHog Cloud ({{ email }}) account?</p>+ <a href="/api/user/redirect_to_website/?appUrl={{ redirect_url }}"+ class="button">+ <span>+ Authorize+ <strong>{{ domain }}</strong>+ </span>+ </a>+ </form></div>-- <form class="form-signin" method="post" action="/login">-- <h2>Link accounts</h2>- <p>Do you want to link <strong>{{ domain }}</strong> using your PostHog Cloud ({{ email}}) account?</p>-- <a href="/api/user/redirect_to_website/?appUrl={{ redirect_url }}" class="button">- <span>- Authorize- <strong>{{ domain }}</strong>- </span>- </a>- </form>-</div>-{% endblock %}\ No newline at end of file+{% endblock %}diff --git a/posthog/templates/authorize_and_redirect.html b/posthog/templates/authorize_and_redirect.htmlindex 1d32b437ee74..1565fa52d998 100644--- a/posthog/templates/authorize_and_redirect.html+++ b/posthog/templates/authorize_and_redirect.html@@ -1,49 +1,35 @@{% extends 'layout.html' %}-{% block content %}-<div class="auth-frame">- <div class="logo-frame">- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 140">- <g fill-rule="nonzero" fill="none">- <path- d="M55.383 75.225c-1.874 3.748-7.222 3.748-9.096 0l-4.482-8.963a5.085 5.085 0 0 1 0-4.548l4.482-8.964c1.874-3.748 7.222-3.748 9.096 0l4.482 8.964a5.084 5.084 0 0 1 0 4.548l-4.482 8.963Zm0 50.836c-1.874 3.747-7.222 3.747-9.096 0l-4.482-8.964a5.085 5.085 0 0 1 0-4.548l4.482-8.964c1.874-3.748 7.222-3.748 9.096 0l4.482 8.964a5.084 5.084 0 0 1 0 4.548l-4.482 8.964Z"- fill="#1D4AFF" />- <path- d="M0 106.765c0-4.53 5.477-6.8 8.68-3.596l23.307 23.307c3.204 3.204.935 8.68-3.595 8.68H5.085A5.085 5.085 0 0 1 0 130.073v-23.307Zm0-24.55c0 1.35.536 2.643 1.49 3.596l47.856 47.856a5.086 5.086 0 0 0 3.595 1.49h26.286c4.53 0 6.799-5.477 3.595-8.681L8.681 52.334C5.477 49.131 0 51.4 0 55.93v26.286Zm0-50.834c0 1.348.536 2.642 1.49 3.595l98.69 98.691a5.086 5.086 0 0 0 3.596 1.49h26.285c4.53 0 6.8-5.477 3.596-8.681L8.681 1.5C5.477-1.704 0 .565 0 5.095v26.286Zm50.835 0c0 1.348.536 2.642 1.49 3.595l91.5 91.5c3.203 3.204 8.68.935 8.68-3.596V96.595a5.086 5.086 0 0 0-1.49-3.596l-91.5-91.5c-3.203-3.203-8.68-.934-8.68 3.596v26.286ZM110.35 1.5c-3.203-3.204-8.68-.935-8.68 3.595v26.286c0 1.348.536 2.642 1.49 3.595l40.664 40.665c3.204 3.204 8.68.935 8.68-3.596V45.76a5.086 5.086 0 0 0-1.489-3.596L110.35 1.5Z"- fill="#F9BD2B" />- <path- d="m216.24 107.388-47.864-47.863c-3.204-3.204-8.681-.935-8.681 3.595v66.952a5.085 5.085 0 0 0 5.085 5.085h74.142a5.085 5.085 0 0 0 5.085-5.085v-6.097c0-2.809-2.286-5.052-5.07-5.414a39.27 39.27 0 0 1-22.698-11.173Zm-32.145 11.502a8.137 8.137 0 0 1-8.133-8.134 8.137 8.137 0 0 1 8.133-8.134 8.137 8.137 0 0 1 8.134 8.134 8.137 8.137 0 0 1-8.134 8.134Z"- fill="#000" />- <path- d="M0 130.072a5.085 5.085 0 0 0 5.085 5.085h23.307c4.53 0 6.799-5.477 3.595-8.681L8.681 103.169C5.477 99.966 0 102.235 0 106.765v23.307Zm50.835-86.418L8.68 1.5C5.477-1.704 0 .565 0 5.095v26.286c0 1.348.536 2.642 1.49 3.595l49.345 49.346V43.654ZM8.68 52.334C5.477 49.131 0 51.4 0 55.93v26.286c0 1.348.536 2.642 1.49 3.595l49.345 49.346V94.489L8.68 52.334Z"- fill="#1D4AFF" />- <path- d="M101.67 45.76a5.083 5.083 0 0 0-1.49-3.596L59.516 1.5c-3.204-3.204-8.681-.935-8.681 3.595v26.286c0 1.348.536 2.642 1.49 3.595l49.345 49.346V45.76Zm-50.835 89.397h28.392c4.53 0 6.799-5.477 3.595-8.681L50.835 94.489v40.668Zm0-91.503v38.562c0 1.348.536 2.642 1.49 3.595l49.345 49.346V96.595a5.084 5.084 0 0 0-1.49-3.596L50.835 43.654Z"- fill="#F54E00" />- <path- d="M303.32 114.86h20.888V80.22h17.452c19.17 0 31.466-11.37 31.466-28.954 0-17.584-12.295-28.954-31.466-28.954h-38.34v92.547Zm20.888-52.488V40.16h15.337c7.932 0 12.692 4.23 12.692 11.105 0 6.876-4.76 11.106-12.692 11.106h-15.337Zm86.71 53.545c20.36 0 35.167-14.543 35.167-34.375 0-19.831-14.807-34.374-35.167-34.374-20.625 0-35.168 14.543-35.168 34.374 0 19.832 14.543 34.375 35.168 34.375Zm-15.866-34.375c0-10.577 6.346-17.848 15.866-17.848 9.386 0 15.733 7.271 15.733 17.848 0 10.577-6.347 17.849-15.733 17.849-9.52 0-15.866-7.272-15.866-17.849Zm84.462 34.375c15.601 0 26.178-9.784 26.178-21.286 0-26.97-35.829-18.245-35.829-28.822 0-2.908 3.04-4.759 7.404-4.759 4.495 0 9.916 2.776 11.634 8.858l15.601-6.479c-3.04-9.65-14.279-16.261-27.896-16.261-14.676 0-23.798 8.725-23.798 19.17 0 25.252 35.3 18.245 35.3 28.69 0 3.702-3.437 6.214-8.594 6.214-7.403 0-12.56-5.156-14.146-11.37l-15.601 6.081c3.438 10.048 13.486 19.964 29.747 19.964Zm76.43-1.718-1.321-16.791c-2.248 1.19-5.157 1.586-7.536 1.586-4.76 0-7.933-3.437-7.933-9.387V64.355h16.13v-16.13h-16.13V28.923h-19.435v19.302h-10.577v16.13h10.577v27.764c0 16.13 10.974 23.798 25.384 23.798 3.967 0 7.669-.66 10.842-1.718Zm67.764-91.887v35.961h-36.755v-35.96h-20.89v92.546h20.89V76.122h36.755v38.737h21.021V22.312h-21.021Zm67.386 93.605c20.36 0 35.168-14.543 35.168-34.375 0-19.831-14.807-34.374-35.168-34.374-20.625 0-35.168 14.543-35.168 34.374 0 19.832 14.543 34.375 35.168 34.375ZM675.23 81.542c0-10.577 6.346-17.848 15.865-17.848 9.387 0 15.733 7.271 15.733 17.848 0 10.577-6.346 17.849-15.733 17.849-9.519 0-15.865-7.272-15.865-17.849Zm88.545 31.202c7.272 0 13.75-2.512 17.188-6.875v6.346c0 7.404-5.95 12.56-15.072 12.56-6.479 0-12.164-3.173-13.09-8.594l-17.715 2.777c2.38 12.56 15.204 21.022 30.805 21.022 20.492 0 34.11-12.032 34.11-29.88V48.225h-19.17v5.685c-3.57-4.098-9.652-6.742-17.452-6.742-18.51 0-30.144 12.692-30.144 32.788 0 20.096 11.634 32.788 30.54 32.788ZM752.14 79.956c0-9.916 5.817-16.262 14.807-16.262 9.123 0 14.94 6.346 14.94 16.262s-5.817 16.262-14.94 16.262c-8.99 0-14.807-6.346-14.807-16.262Z"- fill="#000" />- </g>- </svg>+ <div class="auth-frame">+ <div class="logo-frame">+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 140">+ <g fill-rule="nonzero" fill="none">+ <path d="M55.383 75.225c-1.874 3.748-7.222 3.748-9.096 0l-4.482-8.963a5.085 5.085 0 0 1 0-4.548l4.482-8.964c1.874-3.748 7.222-3.748 9.096 0l4.482 8.964a5.084 5.084 0 0 1 0 4.548l-4.482 8.963Zm0 50.836c-1.874 3.747-7.222 3.747-9.096 0l-4.482-8.964a5.085 5.085 0 0 1 0-4.548l4.482-8.964c1.874-3.748 7.222-3.748 9.096 0l4.482 8.964a5.084 5.084 0 0 1 0 4.548l-4.482 8.964Z" fill="#1D4AFF" />+ <path d="M0 106.765c0-4.53 5.477-6.8 8.68-3.596l23.307 23.307c3.204 3.204.935 8.68-3.595 8.68H5.085A5.085 5.085 0 0 1 0 130.073v-23.307Zm0-24.55c0 1.35.536 2.643 1.49 3.596l47.856 47.856a5.086 5.086 0 0 0 3.595 1.49h26.286c4.53 0 6.799-5.477 3.595-8.681L8.681 52.334C5.477 49.131 0 51.4 0 55.93v26.286Zm0-50.834c0 1.348.536 2.642 1.49 3.595l98.69 98.691a5.086 5.086 0 0 0 3.596 1.49h26.285c4.53 0 6.8-5.477 3.596-8.681L8.681 1.5C5.477-1.704 0 .565 0 5.095v26.286Zm50.835 0c0 1.348.536 2.642 1.49 3.595l91.5 91.5c3.203 3.204 8.68.935 8.68-3.596V96.595a5.086 5.086 0 0 0-1.49-3.596l-91.5-91.5c-3.203-3.203-8.68-.934-8.68 3.596v26.286ZM110.35 1.5c-3.203-3.204-8.68-.935-8.68 3.595v26.286c0 1.348.536 2.642 1.49 3.595l40.664 40.665c3.204 3.204 8.68.935 8.68-3.596V45.76a5.086 5.086 0 0 0-1.489-3.596L110.35 1.5Z" fill="#F9BD2B" />+ <path d="m216.24 107.388-47.864-47.863c-3.204-3.204-8.681-.935-8.681 3.595v66.952a5.085 5.085 0 0 0 5.085 5.085h74.142a5.085 5.085 0 0 0 5.085-5.085v-6.097c0-2.809-2.286-5.052-5.07-5.414a39.27 39.27 0 0 1-22.698-11.173Zm-32.145 11.502a8.137 8.137 0 0 1-8.133-8.134 8.137 8.137 0 0 1 8.133-8.134 8.137 8.137 0 0 1 8.134 8.134 8.137 8.137 0 0 1-8.134 8.134Z" fill="#000" />+ <path d="M0 130.072a5.085 5.085 0 0 0 5.085 5.085h23.307c4.53 0 6.799-5.477 3.595-8.681L8.681 103.169C5.477 99.966 0 102.235 0 106.765v23.307Zm50.835-86.418L8.68 1.5C5.477-1.704 0 .565 0 5.095v26.286c0 1.348.536 2.642 1.49 3.595l49.345 49.346V43.654ZM8.68 52.334C5.477 49.131 0 51.4 0 55.93v26.286c0 1.348.536 2.642 1.49 3.595l49.345 49.346V94.489L8.68 52.334Z" fill="#1D4AFF" />+ <path d="M101.67 45.76a5.083 5.083 0 0 0-1.49-3.596L59.516 1.5c-3.204-3.204-8.681-.935-8.681 3.595v26.286c0 1.348.536 2.642 1.49 3.595l49.345 49.346V45.76Zm-50.835 89.397h28.392c4.53 0 6.799-5.477 3.595-8.681L50.835 94.489v40.668Zm0-91.503v38.562c0 1.348.536 2.642 1.49 3.595l49.345 49.346V96.595a5.084 5.084 0 0 0-1.49-3.596L50.835 43.654Z" fill="#F54E00" />+ <path d="M303.32 114.86h20.888V80.22h17.452c19.17 0 31.466-11.37 31.466-28.954 0-17.584-12.295-28.954-31.466-28.954h-38.34v92.547Zm20.888-52.488V40.16h15.337c7.932 0 12.692 4.23 12.692 11.105 0 6.876-4.76 11.106-12.692 11.106h-15.337Zm86.71 53.545c20.36 0 35.167-14.543 35.167-34.375 0-19.831-14.807-34.374-35.167-34.374-20.625 0-35.168 14.543-35.168 34.374 0 19.832 14.543 34.375 35.168 34.375Zm-15.866-34.375c0-10.577 6.346-17.848 15.866-17.848 9.386 0 15.733 7.271 15.733 17.848 0 10.577-6.347 17.849-15.733 17.849-9.52 0-15.866-7.272-15.866-17.849Zm84.462 34.375c15.601 0 26.178-9.784 26.178-21.286 0-26.97-35.829-18.245-35.829-28.822 0-2.908 3.04-4.759 7.404-4.759 4.495 0 9.916 2.776 11.634 8.858l15.601-6.479c-3.04-9.65-14.279-16.261-27.896-16.261-14.676 0-23.798 8.725-23.798 19.17 0 25.252 35.3 18.245 35.3 28.69 0 3.702-3.437 6.214-8.594 6.214-7.403 0-12.56-5.156-14.146-11.37l-15.601 6.081c3.438 10.048 13.486 19.964 29.747 19.964Zm76.43-1.718-1.321-16.791c-2.248 1.19-5.157 1.586-7.536 1.586-4.76 0-7.933-3.437-7.933-9.387V64.355h16.13v-16.13h-16.13V28.923h-19.435v19.302h-10.577v16.13h10.577v27.764c0 16.13 10.974 23.798 25.384 23.798 3.967 0 7.669-.66 10.842-1.718Zm67.764-91.887v35.961h-36.755v-35.96h-20.89v92.546h20.89V76.122h36.755v38.737h21.021V22.312h-21.021Zm67.386 93.605c20.36 0 35.168-14.543 35.168-34.375 0-19.831-14.807-34.374-35.168-34.374-20.625 0-35.168 14.543-35.168 34.374 0 19.832 14.543 34.375 35.168 34.375ZM675.23 81.542c0-10.577 6.346-17.848 15.865-17.848 9.387 0 15.733 7.271 15.733 17.848 0 10.577-6.346 17.849-15.733 17.849-9.519 0-15.865-7.272-15.865-17.849Zm88.545 31.202c7.272 0 13.75-2.512 17.188-6.875v6.346c0 7.404-5.95 12.56-15.072 12.56-6.479 0-12.164-3.173-13.09-8.594l-17.715 2.777c2.38 12.56 15.204 21.022 30.805 21.022 20.492 0 34.11-12.032 34.11-29.88V48.225h-19.17v5.685c-3.57-4.098-9.652-6.742-17.452-6.742-18.51 0-30.144 12.692-30.144 32.788 0 20.096 11.634 32.788 30.54 32.788ZM752.14 79.956c0-9.916 5.817-16.262 14.807-16.262 9.123 0 14.94 6.346 14.94 16.262s-5.817 16.262-14.94 16.262c-8.99 0-14.807-6.346-14.807-16.262Z" fill="#000" />+ </g>+ </svg>+ </div>+ <form class="form-signin" method="post" action="/login">+ <h2>Toolbar authorization</h2>+ <p>+ Do you want to give the PostHog Toolbar access to your PostHog data on <strong style="word-wrap: break-word;">{{ redirect_url }}</strong>?+ </p>+ <p>With the Toolbar, you can:</p>+ <ul>+ <li>See heatmaps</li>+ <li>Create and edit actions</li>+ <li>Toggle feature flags</li>+ </ul>+ <a href="{{ authorization_url }}" class="button">+ <span>+ Authorize+ <strong>{{ domain }}</strong>+ </span>+ </a>+ </form></div>-- <form class="form-signin" method="post" action="/login">- <h2>Toolbar authorization</h2>- <p>Do you want to give the PostHog Toolbar access to your PostHog data on <strong style="word-wrap: break-word;">{{ redirect_url }}</strong>?- </p>- <p>With the Toolbar, you can:</p>- <ul>- <li>See heatmaps</li>- <li>Create and edit actions</li>- <li>Toggle feature flags</li>- </ul>-- <a href="{{ authorization_url }}" class="button">- <span>- Authorize- <strong>{{ domain }}</strong>- </span>- </a>- </form>-</div>{% endblock %}diff --git a/posthog/templates/custom_tools/app.html b/posthog/templates/custom_tools/app.htmlindex 83c9e15b9fa8..91c3495c1002 100644--- a/posthog/templates/custom_tools/app.html+++ b/posthog/templates/custom_tools/app.html@@ -9,50 +9,50 @@}</style><div class="module">- <table summary="Custom admin tools" class="custom-tools-table">- <caption>- <a href="/admin/" class="section" title="Custom Tools">Custom Tools</a>- </caption>- <tr class="model-resavecohorts">- <td scope="row">- <a href="{% url 'resave-cohorts' %}">Resave Cohorts (Regenerate Bytecode & Type)</a>- </td>- <td>Regenerate compiled bytecode and cohort_type for cohorts, with batch processing</td>- </tr>- <tr class="model-radarbypass">- <td scope="row">- <a href="{% url 'radar-bypass' %}">Suspicious signup checks bypass</a>- </td>- <td>Manage email addresses that bypass suspicious signup checks (WorkOS Radar)</td>- </tr>- <tr class="model-codebasedverificationbypass">- <td scope="row">- <a href="{% url 'code-based-verification-bypass' %}">Email MFA bypass</a>- </td>- <td>Manage email addresses that bypass email MFA verification</td>- </tr>- <tr class="model-distinctidusage">- <td scope="row">- <a href="{% url 'distinct-id-usage' %}">Distinct ID usage</a>- </td>- <td>Monitor distinct ID usage patterns and create ingestion restrictions</td>- <tr class="model-tophog">- <td scope="row">- <a href="{% url 'tophog-dashboard' %}">TopHog Dashboard</a>- </td>- <td>Live top-N metrics dashboard (count, time, max) across pipelines</td>- </tr>- <tr class="model-healthchecks">- <td scope="row">- <a href="{% url 'health-checks' %}">Health checks</a>- </td>- <td>View and trigger Temporal health check workflows</td>- </tr>- <tr class="model-notebookmarkdownmigration">- <td scope="row">- <a href="{% url 'notebook-markdown-migration' %}">Markdown notebook migration</a>- </td>- <td>Convert legacy rich notebooks to markdown notebooks with dry-run support and history entries</td>- </tr>- </table>-</div>+ <table summary="Custom admin tools" class="custom-tools-table">+ <caption>+ <a href="/admin/" class="section" title="Custom Tools">Custom Tools</a>+ </caption>+ <tr class="model-resavecohorts">+ <td scope="row">+ <a href="{% url 'resave-cohorts' %}">Resave Cohorts (Regenerate Bytecode & Type)</a>+ </td>+ <td>Regenerate compiled bytecode and cohort_type for cohorts, with batch processing</td>+ </tr>+ <tr class="model-radarbypass">+ <td scope="row">+ <a href="{% url 'radar-bypass' %}">Suspicious signup checks bypass</a>+ </td>+ <td>Manage email addresses that bypass suspicious signup checks (WorkOS Radar)</td>+ </tr>+ <tr class="model-codebasedverificationbypass">+ <td scope="row">+ <a href="{% url 'code-based-verification-bypass' %}">Email MFA bypass</a>+ </td>+ <td>Manage email addresses that bypass email MFA verification</td>+ </tr>+ <tr class="model-distinctidusage">+ <td scope="row">+ <a href="{% url 'distinct-id-usage' %}">Distinct ID usage</a>+ </td>+ <td>Monitor distinct ID usage patterns and create ingestion restrictions</td>+ <tr class="model-tophog">+ <td scope="row">+ <a href="{% url 'tophog-dashboard' %}">TopHog Dashboard</a>+ </td>+ <td>Live top-N metrics dashboard (count, time, max) across pipelines</td>+ </tr>+ <tr class="model-healthchecks">+ <td scope="row">+ <a href="{% url 'health-checks' %}">Health checks</a>+ </td>+ <td>View and trigger Temporal health check workflows</td>+ </tr>+ <tr class="model-notebookmarkdownmigration">+ <td scope="row">+ <a href="{% url 'notebook-markdown-migration' %}">Markdown notebook migration</a>+ </td>+ <td>Convert legacy rich notebooks to markdown notebooks with dry-run support and history entries</td>+ </tr>+ </table>+ </div>diff --git a/posthog/templates/demo.html b/posthog/templates/demo.htmlindex 70393f28a19f..c310d4c4a016 100644--- a/posthog/templates/demo.html+++ b/posthog/templates/demo.html@@ -1,13 +1,12 @@<html lang="en">--<head>- <title>Hogflix</title>- <script src="/static/array.js"></script>- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/rrweb@latest/dist/rrweb.min.css" />- <script src="https://cdn.jsdelivr.net/npm/rrweb@latest/dist/rrweb.min.js"></script>- <link rel="stylesheet" href="https://unpkg.com/mvp.css">-- <style>+ <head>+ <title>Hogflix</title>+ <script src="/static/array.js"></script>+ <link rel="stylesheet"+ href="https://cdn.jsdelivr.net/npm/rrweb@latest/dist/rrweb.min.css" />+ <script src="https://cdn.jsdelivr.net/npm/rrweb@latest/dist/rrweb.min.js"></script>+ <link rel="stylesheet" href="https://unpkg.com/mvp.css">+ <style>:root {--color: #e9130c !important;--color-accent: #118bee15 !important;@@ -31,11 +30,10 @@border-color: rgb(54, 54, 54);color: #fff;}- </style>-</head>--<body>- <script nonce="{{ request.csp_nonce }}">+ </style>+ </head>+ <body>+ <script nonce="{{ request.csp_nonce }}">posthog.init('{{api_token}}', {api_host: window.location.origin,loaded: (posthog) => {@@ -46,161 +44,175 @@})},})- </script>- <main>- <header>- <article>- <aside>- <p>Welcome to the PostHog demo environment!</p>- <small>- By going through this demo you can simulate a user going through a signup funnel.- </small>- <p> </p>- </aside>- </article>- <nav>- <a href="/demo" style='color: rgb(197, 197, 197)'>- <h3>Hogflix</h3>- </a>- <ul>- <li><a href="/demo/1">Sign Up</a></li>- <li><a href="/demo/2">Payment</a></li>- <li><a href="/demo/3">Movies</a></li>- </ul>- </nav>- </header>-- {% if request.path == '/demo' %}- <header>- <h1>Welcome to Hogflix</h1>- <p>The one-stop shop for all your hedgehog movies.</p>- <br>-- <a href='/demo/1' id='sign-up'><button id='sign-up-cta' data-attr="sign-up-button">Sign up</button></a>- </header>- {% endif %}-- {% if request.path == '/demo/1' %}- <section>- <form action='/demo/2'>- <h1>Sign Up</h1>-- <label>Username</label>- <input class='form-control' type='text' name='username' />- <label>Password</label>- <input class='form-control' type='password' name='password' />- <button type='submit'>Sign up!</button>- </form>- </section>- {% endif %}-- {% if request.path == '/demo/2' %}- <section>- <form action='/demo/3'>- <h1>Pay for Hogflix</h1>- <label>Credit card number</label>- <input class='form-control' type='text' name='creditcard' placeholder='4000 0000 0000 0000' />- <button type='submit'>Pay $10!</button>- </section>- {% endif %}-- {% if request.path == '/demo/3' %}- <section style="margin-top: -100px">+ </script>+ <main><header>- <h1>Watch some Flix!</h1>+ <article>+ <aside>+ <p>Welcome to the PostHog demo environment!</p>+ <small>By going through this demo you can simulate a user going through a signup funnel.</small>+ <p></p>+ </aside>+ </article>+ <nav>+ <a href="/demo" style='color: rgb(197, 197, 197)'>+ <h3>Hogflix</h3>+ </a>+ <ul>+ <li><a href="/demo/1">Sign Up</a></li>+ <li><a href="/demo/2">Payment</a></li>+ <li><a href="/demo/3">Movies</a></li>+ </ul>+ </nav></header>- <aside>- <img src='https://m.media-amazon.com/images/M/MV5BNDc1ZTlmOWUtNDY2YS00OGU5LTg2MTYtYTk2MmQzMGE2NzUwXkEyXkFqcGdeQXVyODkzNTgxMDg@._V1_SY1000_CR0,0,675,1000_AL_.jpg'- class='card-img-top' />- <div class='card-body'>- <h5 class='card-title'>Sonic The Hedgehog (2020)</h5>- <p class='card-text'>Based on the global blockbuster videogame franchise from Sega, SONIC THE- HEDGEHOG tells the story of the world's speediest hedgehog as he embraces his new home on Earth.- </p>- <a href='https://netflix.com' target="_blank"><button>Watch now!</button></a>- </div>- </aside>- <aside>- <img src='https://m.media-amazon.com/images/M/MV5BMTc0Mzg3OTQyN15BMl5BanBnXkFtZTcwODA2OTc4NQ@@._V1_SY1000_CR0,0,677,1000_AL_.jpg'- class='card-img-top' />- <div class='card-body'>- <h5 class='card-title'>The Hedgehog (2009)</h5>- <p class='card-text'>While planning her suicide, a precocious 11-year-old (Garance Le Guillermic)- befriends a new neighbor (Togo Igawa) and a prickly recluse (Josiane Balasko).</p>- <a href='https://netflix.com' target="_blank"><button>Watch now!</button></a>- </div>- </aside>- <aside>- <img src='https://posthog-static-files.s3.us-east-2.amazonaws.com/Product-Assets/Big_buck_bunny_poster_big.jpg'- class='card-img-top' />- <div class='card-body'><br />- <h5 class='card-title'>Big Buck Bunny (2008)</h5>- <p class='card-text'>A large and lovable rabbit deals with three tiny bullies, led by a flying- squirrel, who are determined to squelch his happiness.</p>- <a href='/demo/4'><button>Watch now!</button></a>- </div>- </aside>- </section>- {% endif %}-- {% if request.path == '/demo/4' %}- <section style="margin-top: -100px">- <header>- <h1>Now Playing: Big Buck Bunny</h1>- </header>-- <figure>- <div>- <video id="my-video" class="video-js" controls preload="auto" data-setup="{}">- <source- src="https://posthog-static-files.s3.us-east-2.amazonaws.com/Product-Assets/BigBuckBunny.mp4"- type="video/mp4" />- <p class="vjs-no-js">To view this video please enable JavaScript, and consider upgrading to a- web- browser that supports HTML5 video</p>- </video>- </div>- </figure>- <br>- </section>-- <section>- <aside>- <div>- <h2>Reviews</h2>- </div>- <div class="row" style="width:100%;">- <p><em>This movie was so great.</em></p>- </div>- <div class="row" style="width:100%;">- <p><em>The best thing I have ever seen.</em></p>- </div>- <div class="row" style="width:100%;">- <p id="new-review"><em></em></p>- </div>- </aside>-- <aside>- <h2>Leave a review</h2>- <textarea class='form-control' type='text' name='review' id="review-text"- placeholder='What did you think?'></textarea><br />- <a id='submit-review' style="cursor: pointer;">Submit Review</a>- </aside>- </section>-- <section>- <div class="row"> </div>- <br />- <br />- </section>-- <section class="copyright" style="margin-top:400px; font-size:12px;">Big Buck Bunny - (c) copyright Blender- Foundation | peach.blender.org - [1], CC BY 3.0, https://commons.wikimedia.org/w/index.php?curid=3748497- </section>- {% endif %}- </main>-- <script nonce="{{ request.csp_nonce }}">+ {% if request.path == '/demo' %}+ <header>+ <h1>Welcome to Hogflix</h1>+ <p>The one-stop shop for all your hedgehog movies.</p>+ <br>+ <a href='/demo/1' id='sign-up'>+ <button id='sign-up-cta' data-attr="sign-up-button">Sign up</button>+ </a>+ </header>+ {% endif %}+ {% if request.path == '/demo/1' %}+ <section>+ <form action='/demo/2'>+ <h1>Sign Up</h1>+ <label>Username</label>+ <input class='form-control' type='text' name='username' />+ <label>Password</label>+ <input class='form-control' type='password' name='password' />+ <button type='submit'>Sign up!</button>+ </form>+ </section>+ {% endif %}+ {% if request.path == '/demo/2' %}+ <section>+ <form action='/demo/3'>+ <h1>Pay for Hogflix</h1>+ <label>Credit card number</label>+ <input class='form-control'+ type='text'+ name='creditcard'+ placeholder='4000 0000 0000 0000' />+ <button type='submit'>Pay $10!</button>+ </section>+ {% endif %}+ {% if request.path == '/demo/3' %}+ <section style="margin-top: -100px">+ <header>+ <h1>Watch some Flix!</h1>+ </header>+ <aside>+ <img src='https://m.media-amazon.com/images/M/MV5BNDc1ZTlmOWUtNDY2YS00OGU5LTg2MTYtYTk2MmQzMGE2NzUwXkEyXkFqcGdeQXVyODkzNTgxMDg@._V1_SY1000_CR0,0,675,1000_AL_.jpg'+ class='card-img-top' />+ <div class='card-body'>+ <h5 class='card-title'>Sonic The Hedgehog (2020)</h5>+ <p class='card-text'>+ Based on the global blockbuster videogame franchise from Sega, SONIC THE+ HEDGEHOG tells the story of the world's speediest hedgehog as he embraces his new home on Earth.+ </p>+ <a href='https://netflix.com' target="_blank">+ <button>Watch now!</button>+ </a>+ </div>+ </aside>+ <aside>+ <img src='https://m.media-amazon.com/images/M/MV5BMTc0Mzg3OTQyN15BMl5BanBnXkFtZTcwODA2OTc4NQ@@._V1_SY1000_CR0,0,677,1000_AL_.jpg'+ class='card-img-top' />+ <div class='card-body'>+ <h5 class='card-title'>The Hedgehog (2009)</h5>+ <p class='card-text'>+ While planning her suicide, a precocious 11-year-old (Garance Le Guillermic)+ befriends a new neighbor (Togo Igawa) and a prickly recluse (Josiane Balasko).+ </p>+ <a href='https://netflix.com' target="_blank">+ <button>Watch now!</button>+ </a>+ </div>+ </aside>+ <aside>+ <img src='https://posthog-static-files.s3.us-east-2.amazonaws.com/Product-Assets/Big_buck_bunny_poster_big.jpg'+ class='card-img-top' />+ <div class='card-body'>+ <br />+ <h5 class='card-title'>Big Buck Bunny (2008)</h5>+ <p class='card-text'>+ A large and lovable rabbit deals with three tiny bullies, led by a flying+ squirrel, who are determined to squelch his happiness.+ </p>+ <a href='/demo/4'>+ <button>Watch now!</button>+ </a>+ </div>+ </aside>+ </section>+ {% endif %}+ {% if request.path == '/demo/4' %}+ <section style="margin-top: -100px">+ <header>+ <h1>Now Playing: Big Buck Bunny</h1>+ </header>+ <figure>+ <div>+ <video id="my-video"+ class="video-js"+ controls+ preload="auto"+ data-setup="{}">+ <source src="https://posthog-static-files.s3.us-east-2.amazonaws.com/Product-Assets/BigBuckBunny.mp4"+ type="video/mp4" />+ <p class="vjs-no-js">+ To view this video please enable JavaScript, and consider upgrading to a+ web+ browser that supports HTML5 video+ </p>+ </video>+ </div>+ </figure>+ <br>+ </section>+ <section>+ <aside>+ <div>+ <h2>Reviews</h2>+ </div>+ <div class="row" style="width:100%;">+ <p><em>This movie was so great.</em></p>+ </div>+ <div class="row" style="width:100%;">+ <p><em>The best thing I have ever seen.</em></p>+ </div>+ <div class="row" style="width:100%;">+ <p id="new-review">+ <em></em>+ </p>+ </div>+ </aside>+ <aside>+ <h2>Leave a review</h2>+ <textarea class='form-control'+ type='text'+ name='review'+ id="review-text"+ placeholder='What did you think?'></textarea>+ <br />+ <a id='submit-review' style="cursor: pointer;">Submit Review</a>+ </aside>+ </section>+ <section>+ <div class="row"> </div>+ <br />+ <br />+ </section>+ <section class="copyright" style="margin-top:400px; font-size:12px;">+ Big Buck Bunny - (c) copyright Blender+ Foundation | peach.blender.org - [1], CC BY 3.0, https://commons.wikimedia.org/w/index.php?curid=3748497+ </section>+ {% endif %}+ </main>+ <script nonce="{{ request.csp_nonce }}">if (document.getElementById('submit-review')) {document.getElementById('submit-review').addEventListener('click', () => {@@ -213,7 +225,6 @@posthog.capture('played_movie', { title: "Big Buck Bunny" })})}- </script>-</body>--</html>\ No newline at end of file+ </script>+ </body>+</html>diff --git a/posthog/templates/email/2fa_backup_code_used.html b/posthog/templates/email/2fa_backup_code_used.htmlindex 23710c634f71..de1f878ecd78 100644--- a/posthog/templates/email/2fa_backup_code_used.html+++ b/posthog/templates/email/2fa_backup_code_used.html@@ -1,10 +1,6 @@{% extends "email/base.html" %}-{% block section %}-<p>Hey, {{ user_name }},</p>--<p>Someone used a backup code to bypass two-factor authentication and access {{ user_email }}.</p>--<p>Hopefully, that was you. If so, there's no need for alarm. If it wasn't you then you should let us know urgently, as someone may have accessed your account without your permission. And that would be bad. </p>-+ <p>Hey, {{ user_name }},</p>+ <p>Someone used a backup code to bypass two-factor authentication and access {{ user_email }}.</p>+ <p>Hopefully, that was you. If so, there's no need for alarm. If it wasn't you then you should let us know urgently, as someone may have accessed your account without your permission. And that would be bad. </p>{% endblock %}diff --git a/posthog/templates/email/2fa_disabled.html b/posthog/templates/email/2fa_disabled.htmlindex 24c7592f4f7f..53ba1287a65b 100644--- a/posthog/templates/email/2fa_disabled.html+++ b/posthog/templates/email/2fa_disabled.html@@ -1,9 +1,6 @@{% extends "email/base.html" %}-{% block section %}-<p>Hey, {{ user_name }},</p>--<p>You disabled two-factor authentication (2FA) for {{ user_email }}.</p>--<p>We advise turning it back on for your protection, but it's up to you. And if you didn't turn it off in the first place, you should let us know quickly so we can investigate.</p>+ <p>Hey, {{ user_name }},</p>+ <p>You disabled two-factor authentication (2FA) for {{ user_email }}.</p>+ <p>We advise turning it back on for your protection, but it's up to you. And if you didn't turn it off in the first place, you should let us know quickly so we can investigate.</p>{% endblock %}diff --git a/posthog/templates/email/2fa_enabled.html b/posthog/templates/email/2fa_enabled.htmlindex 225adbbed308..98d6230878eb 100644--- a/posthog/templates/email/2fa_enabled.html+++ b/posthog/templates/email/2fa_enabled.html@@ -1,10 +1,6 @@{% extends "email/base.html" %}-{% block section %}-<p>Hey, {{ user_name }},</p>--<p>You enabled two-factor authentication (2FA) for {{ user_email }}.</p>--<p>This is generally good news because it helps protect your account from evil-doers, but if you didn't do this or think it sounds suspicious then please let us know. </p>+ <p>Hey, {{ user_name }},</p>+ <p>You enabled two-factor authentication (2FA) for {{ user_email }}.</p>+ <p>This is generally good news because it helps protect your account from evil-doers, but if you didn't do this or think it sounds suspicious then please let us know. </p>{% endblock %}-diff --git a/posthog/templates/email/2fa_reset.html b/posthog/templates/email/2fa_reset.htmlindex 6a181cdf41bf..343eadcaad2d 100644--- a/posthog/templates/email/2fa_reset.html+++ b/posthog/templates/email/2fa_reset.html@@ -1,36 +1,25 @@{% extends "email/base.html" %}-{% block section %}-<p>Hey, {{ user_name }},</p>--<p>- We've received a request to reset two-factor authentication (2FA) for your account ({{ user_email }}).-</p>--<p>- If you no longer have access to your 2FA authenticator app, you can click the button below to reset your 2FA settings.- <b>This will disable 2FA on your account</b> so you can log in and set up a new authenticator.-</p>--<div class="mb mt text-center">- <a class="button" href="{{ url }}">Reset 2FA settings</a>-</div>--<div class="mt">+ <p>Hey, {{ user_name }},</p>+ <p>We've received a request to reset two-factor authentication (2FA) for your account ({{ user_email }}).</p><p>- If the button above doesn't work, paste this link into your browser:<br />- <a href="{{ url }}">{{ url }}</a>+ If you no longer have access to your 2FA authenticator app, you can click the button below to reset your 2FA settings.+ <b>This will disable 2FA on your account</b> so you can log in and set up a new authenticator.</p>-</div>--<p class="mt">- <b>Important:</b> This link will expire in {{ expiration_hours }} hour(s).-</p>--<p>- If you didn't request this reset, please let us know so we can keep your account secure.-</p>-+ <div class="mb mt text-center">+ <a class="button" href="{{ url }}">Reset 2FA settings</a>+ </div>+ <div class="mt">+ <p>+ If the button above doesn't work, paste this link into your browser:+ <br />+ <a href="{{ url }}">{{ url }}</a>+ </p>+ </div>+ <p class="mt">+ <b>Important:</b> This link will expire in {{ expiration_hours }} hour(s).+ </p>+ <p>If you didn't request this reset, please let us know so we can keep your account secure.</p>{% endblock %}{% block preheader %}{{ preheader }}{% endblock %}{% block heading %}Reset your two-factor authentication{% endblock %}diff --git a/posthog/templates/email/_weekly_digest_change_cell.html b/posthog/templates/email/_weekly_digest_change_cell.htmlindex ebfd1e95d3a4..d6075d13560d 100644--- a/posthog/templates/email/_weekly_digest_change_cell.html+++ b/posthog/templates/email/_weekly_digest_change_cell.html@@ -1 +1,5 @@-<td align="right" style="padding: 10px 0 10px 8px; vertical-align: middle; white-space: nowrap; width: 90px;">{% if change %}<span style="color: {{ change.color }};">{{ change.text }}</span>{% else %}<span style="color: #9ca3af;">—</span>{% endif %}</td>+<td align="right"+ style="padding: 10px 0 10px 8px;+ vertical-align: middle;+ white-space: nowrap;+ width: 90px">{% if change %}<span style="color: {{ change.color }};">{{ change.text }}</span>{% else %}<span style="color: #9ca3af;">—</span>{% endif %}</td>diff --git a/posthog/templates/email/ai_observability_evaluation_disabled.html b/posthog/templates/email/ai_observability_evaluation_disabled.htmlindex 8e5a656e40bf..7c6c94359537 100644--- a/posthog/templates/email/ai_observability_evaluation_disabled.html+++ b/posthog/templates/email/ai_observability_evaluation_disabled.html@@ -1,35 +1,34 @@{% extends "email/base.html" %}-{% block preheader %}Your evaluation "{{ evaluation_name }}" has been disabled{% endblock %}{% block heading %}Your evaluation has been disabled{% endblock %}{% block section %}-<p>- Your evaluation <strong>{{ evaluation_name }}</strong> has been automatically disabled:-</p>-<p style="padding: 12px; background-color: #f8f8f8; border-left: 4px solid #e5484d; border-radius: 4px;">- {{ disabled_reason }}-</p>-<p>- To resume the evaluation, open it in <a href="{% absolute_uri evaluation_url %}">AI observability</a> and update its- configuration (for example, choose a supported model or add a provider API key in- <a href="{% absolute_uri settings_url %}">settings</a>). Once fixed, re-enable the evaluation to start it again.-</p>-<div class="mb mt text-center">- <a class="button" href="{% absolute_uri evaluation_url %}">View evaluation</a>-</div>-<div class="mt"><p>- If the button above doesn't work, paste this link into your browser:<br />- <a href="{% absolute_uri evaluation_url %}">{% absolute_uri evaluation_url %}</a>+ Your evaluation <strong>{{ evaluation_name }}</strong> has been automatically disabled:</p>-</div>+ <p style="padding: 12px;+ background-color: #f8f8f8;+ border-left: 4px solid #e5484d;+ border-radius: 4px">{{ disabled_reason }}</p>+ <p>+ To resume the evaluation, open it in <a href="{% absolute_uri evaluation_url %}">AI observability</a> and update its+ configuration (for example, choose a supported model or add a provider API key in+ <a href="{% absolute_uri settings_url %}">settings</a>). Once fixed, re-enable the evaluation to start it again.+ </p>+ <div class="mb mt text-center">+ <a class="button" href="{% absolute_uri evaluation_url %}">View evaluation</a>+ </div>+ <div class="mt">+ <p>+ If the button above doesn't work, paste this link into your browser:+ <br />+ <a href="{% absolute_uri evaluation_url %}">{% absolute_uri evaluation_url %}</a>+ </p>+ </div>{% endblock %}-{% block footer %}-Need help?-<a href="https://posthog.com/questions?{{ utm_tags }}"- target="_blank"><b>Visit support</b></a>-or-<a href="https://posthog.com/docs/ai-engineering?{{ utm_tags }}"- target="_blank"><b>read our documentation</b></a>.+ Need help?+ <a href="https://posthog.com/questions?{{ utm_tags }}" target="_blank"><b>Visit support</b></a>+ or+ <a href="https://posthog.com/docs/ai-engineering?{{ utm_tags }}"+ target="_blank"><b>read our documentation</b></a>.{% endblock %}diff --git a/posthog/templates/email/ai_subscription_credit_limited.html b/posthog/templates/email/ai_subscription_credit_limited.htmlindex 56825fe0b56b..23cd7d5e47ab 100644--- a/posthog/templates/email/ai_subscription_credit_limited.html+++ b/posthog/templates/email/ai_subscription_credit_limited.html@@ -1,5 +1,4 @@{% extends "email/base.html" %}-{% block section %}<p>Your prompt subscription <strong>{{ title }}</strong> didn't run this cycle because yourdiff --git a/posthog/templates/email/ai_subscription_report.html b/posthog/templates/email/ai_subscription_report.htmlindex 5575f88e381b..a9199928d0df 100644--- a/posthog/templates/email/ai_subscription_report.html+++ b/posthog/templates/email/ai_subscription_report.html@@ -1,32 +1,26 @@{% extends "email/base.html" %}-{% block heading %}{{ title }}{% endblock %}-{% block section %}--{# nosemgrep: python.flask.security.xss.audit.template-unescaped-with-safe.template-unescaped-with-safe #}-{{ rendered_html|safe }}--{% if charts %}-<div class="report-charts">- {% for chart in charts %}- <img class="insight-image mb" src="{{ chart.image_url }}" alt="{{ chart.title|default:'Chart' }}" />- {% endfor %}-</div>-{% endif %}--<div class="mb mt text-center">- <a class="button primary" href="{{ subscription_url }}">Manage subscription</a>-</div>--<p class="text-center">- Was this report useful?- <a href="{{ feedback_positive_url }}">👍 Yes</a> ·- <a href="{{ feedback_negative_url }}">👎 No</a>-</p>--<p class="text-center text-muted">- <a href="{{ unsubscribe_url }}">Unsubscribe from this report</a>-</p>-+ {# nosemgrep: python.flask.security.xss.audit.template-unescaped-with-safe.template-unescaped-with-safe #}+ {{ rendered_html|safe }}+ {% if charts %}+ <div class="report-charts">+ {% for chart in charts %}+ <img class="insight-image mb"+ src="{{ chart.image_url }}"+ alt="{{ chart.title|default:'Chart' }}" />+ {% endfor %}+ </div>+ {% endif %}+ <div class="mb mt text-center">+ <a class="button primary" href="{{ subscription_url }}">Manage subscription</a>+ </div>+ <p class="text-center">+ Was this report useful?+ <a href="{{ feedback_positive_url }}">👍 Yes</a> ·+ <a href="{{ feedback_negative_url }}">👎 No</a>+ </p>+ <p class="text-center text-muted">+ <a href="{{ unsubscribe_url }}">Unsubscribe from this report</a>+ </p>{% endblock %}diff --git a/posthog/templates/email/alert_check_failed_to_evaluate.html b/posthog/templates/email/alert_check_failed_to_evaluate.htmlindex 1e9e562f2759..b6d2be29010a 100644--- a/posthog/templates/email/alert_check_failed_to_evaluate.html+++ b/posthog/templates/email/alert_check_failed_to_evaluate.html@@ -1,28 +1,29 @@{% extends "email/base.html" %}-{% block heading %}{{ alert_name }}{% endblock %} {% block section %}- <p>- PostHog could not evaluate this alert. This can happen when the insight or alert settings need attention, or- when PostHog has a temporary problem.- </p>- <p>- <strong>Insight</strong><br />- <a href="{% absolute_uri insight_url %}">{{ insight_name }}</a>- </p>- <p>- <strong>Error</strong><br />- <i>{{ alert_error }}</i>- </p>- <p>- Review the alert settings.- {% if next_check_at %}- PostHog will try again on {{ next_check_at|date:"F j, Y, g:i A T" }}.- {% else %}- PostHog will try again at the next scheduled check.- {% endif %}- If it fails again, contact support.- </p>- <div class="mb mt text-center">- <a class="button" href="{% absolute_uri alert_url %}">Review alert</a>- </div>+<p>+ PostHog could not evaluate this alert. This can happen when the insight or alert settings need attention, or+ when PostHog has a temporary problem.+</p>+<p>+ <strong>Insight</strong>+ <br />+ <a href="{% absolute_uri insight_url %}">{{ insight_name }}</a>+</p>+<p>+ <strong>Error</strong>+ <br />+ <i>{{ alert_error }}</i>+</p>+<p>+ Review the alert settings.+ {% if next_check_at %}+ PostHog will try again on {{ next_check_at|date:"F j, Y, g:i A T" }}.+ {% else %}+ PostHog will try again at the next scheduled check.+ {% endif %}+ If it fails again, contact support.+</p>+<div class="mb mt text-center">+ <a class="button" href="{% absolute_uri alert_url %}">Review alert</a>+</div>{% endblock %}diff --git a/posthog/templates/email/alert_check_firing.html b/posthog/templates/email/alert_check_firing.htmlindex 019b6df973fc..8d569b6fdefd 100644--- a/posthog/templates/email/alert_check_firing.html+++ b/posthog/templates/email/alert_check_firing.html@@ -1,13 +1,10 @@{% extends "email/base.html" %}-{% block section %}<p>{% if is_test %}- This is a test delivery for the <a href="{% absolute_uri alert_url %}">{{ alert_name }}</a> alert on <a- href="{% absolute_uri insight_url %}">{{ insight_name }}</a> in project <strong>{{ project_name }}</strong>:+ This is a test delivery for the <a href="{% absolute_uri alert_url %}">{{ alert_name }}</a> alert on <a href="{% absolute_uri insight_url %}">{{ insight_name }}</a> in project <strong>{{ project_name }}</strong>:{% else %}- The <a href="{% absolute_uri alert_url %}">{{ alert_name }}</a> alert is firing for <a- href="{% absolute_uri insight_url %}">{{ insight_name }}</a> in project <strong>{{ project_name }}</strong>:+ The <a href="{% absolute_uri alert_url %}">{{ alert_name }}</a> alert is firing for <a href="{% absolute_uri insight_url %}">{{ insight_name }}</a> in project <strong>{{ project_name }}</strong>:{% endif %}</p><ul>diff --git a/posthog/templates/email/alert_disabled.html b/posthog/templates/email/alert_disabled.htmlindex b1df663d280f..60ec6dc841e8 100644--- a/posthog/templates/email/alert_disabled.html+++ b/posthog/templates/email/alert_disabled.html@@ -1,14 +1,10 @@{% extends "email/base.html" %}-{% block section %}<p>- The <a href="{% absolute_uri alert_url %}">{{ alert_name }}</a> alert for insight <a- href="{% absolute_uri insight_url %}">{{ insight_name }}</a> in project <strong>{{ project_name }}</strong> has been <strong>automatically disabled</strong> because its configuration is no longer valid:+ The <a href="{% absolute_uri alert_url %}">{{ alert_name }}</a> alert for insight <a href="{% absolute_uri insight_url %}">{{ insight_name }}</a> in project <strong>{{ project_name }}</strong> has been <strong>automatically disabled</strong> because its configuration is no longer valid:</p><p><i>{{ alert_error }}</i></p>- <p>- To resume monitoring, fix the issue above and re-enable the alert.- </p>+ <p>To resume monitoring, fix the issue above and re-enable the alert.</p><div class="mb mt text-center"><a class="button" href="{% absolute_uri alert_url %}">Manage alert</a></div>diff --git a/posthog/templates/email/approval_applied.html b/posthog/templates/email/approval_applied.htmlindex c4c3b1e8be1e..57b9ff80c81c 100644--- a/posthog/templates/email/approval_applied.html+++ b/posthog/templates/email/approval_applied.html@@ -1,17 +1,17 @@{% extends "email/base.html" %}-{% block heading %}Your change is live! 🎉{% endblock %}{% block section %}-<p>- Your change in <b>{{ team_name }}</b> has been approved and applied. Ship it!-</p>-<div class="mb mt text-center">- <a class="button" href="{{ change_request_url }}">View details</a>-</div>-<div class="mt"><p>- If the button above doesn't work, paste this link into your browser:<br />- <a href="{{ change_request_url }}">{{ change_request_url }}</a>+ Your change in <b>{{ team_name }}</b> has been approved and applied. Ship it!</p>-</div>+ <div class="mb mt text-center">+ <a class="button" href="{{ change_request_url }}">View details</a>+ </div>+ <div class="mt">+ <p>+ If the button above doesn't work, paste this link into your browser:+ <br />+ <a href="{{ change_request_url }}">{{ change_request_url }}</a>+ </p>+ </div>{% endblock %}diff --git a/posthog/templates/email/approval_approved.html b/posthog/templates/email/approval_approved.htmlindex 97440711dde8..9e785c544d6a 100644--- a/posthog/templates/email/approval_approved.html+++ b/posthog/templates/email/approval_approved.html@@ -1,17 +1,17 @@{% extends "email/base.html" %}-{% block heading %}{{ approver_name }} approved your change{% endblock %}{% block section %}-<p>- Nice! Your change in <b>{{ team_name }}</b> got the green light from <b>{{ approver_name }}</b>. Once all required approvals are in, it'll be applied automatically.-</p>-<div class="mb mt text-center">- <a class="button" href="{{ change_request_url }}">View details</a>-</div>-<div class="mt"><p>- If the button above doesn't work, paste this link into your browser:<br />- <a href="{{ change_request_url }}">{{ change_request_url }}</a>+ Nice! Your change in <b>{{ team_name }}</b> got the green light from <b>{{ approver_name }}</b>. Once all required approvals are in, it'll be applied automatically.</p>-</div>+ <div class="mb mt text-center">+ <a class="button" href="{{ change_request_url }}">View details</a>+ </div>+ <div class="mt">+ <p>+ If the button above doesn't work, paste this link into your browser:+ <br />+ <a href="{{ change_request_url }}">{{ change_request_url }}</a>+ </p>+ </div>{% endblock %}diff --git a/posthog/templates/email/approval_expired.html b/posthog/templates/email/approval_expired.htmlindex d3035b268b62..934aaafcd941 100644--- a/posthog/templates/email/approval_expired.html+++ b/posthog/templates/email/approval_expired.html@@ -1,17 +1,17 @@{% extends "email/base.html" %}-{% block heading %}Your change request timed out{% endblock %}{% block section %}-<p>- Your change in <b>{{ team_name }}</b> expired before getting all the approvals it needed. No worries though – you can submit a new one whenever you're ready.-</p>-<div class="mb mt text-center">- <a class="button" href="{{ change_request_url }}">View expired request</a>-</div>-<div class="mt"><p>- If the button above doesn't work, paste this link into your browser:<br />- <a href="{{ change_request_url }}">{{ change_request_url }}</a>+ Your change in <b>{{ team_name }}</b> expired before getting all the approvals it needed. No worries though – you can submit a new one whenever you're ready.</p>-</div>+ <div class="mb mt text-center">+ <a class="button" href="{{ change_request_url }}">View expired request</a>+ </div>+ <div class="mt">+ <p>+ If the button above doesn't work, paste this link into your browser:+ <br />+ <a href="{{ change_request_url }}">{{ change_request_url }}</a>+ </p>+ </div>{% endblock %}diff --git a/posthog/templates/email/approval_rejected.html b/posthog/templates/email/approval_rejected.htmlindex 553f9e2619df..378a9ae5e63b 100644--- a/posthog/templates/email/approval_rejected.html+++ b/posthog/templates/email/approval_rejected.html@@ -1,17 +1,17 @@{% extends "email/base.html" %}-{% block heading %}Your change request was declined{% endblock %}{% block section %}-<p>- Your change request in <b>{{ team_name }}</b> wasn't approved this time. Check the feedback and feel free to submit a new request if needed.-</p>-<div class="mb mt text-center">- <a class="button" href="{{ change_request_url }}">See feedback</a>-</div>-<div class="mt"><p>- If the button above doesn't work, paste this link into your browser:<br />- <a href="{{ change_request_url }}">{{ change_request_url }}</a>+ Your change request in <b>{{ team_name }}</b> wasn't approved this time. Check the feedback and feel free to submit a new request if needed.</p>-</div>+ <div class="mb mt text-center">+ <a class="button" href="{{ change_request_url }}">See feedback</a>+ </div>+ <div class="mt">+ <p>+ If the button above doesn't work, paste this link into your browser:+ <br />+ <a href="{{ change_request_url }}">{{ change_request_url }}</a>+ </p>+ </div>{% endblock %}diff --git a/posthog/templates/email/approval_requested.html b/posthog/templates/email/approval_requested.htmlindex d724839e0f5d..868b1228c490 100644--- a/posthog/templates/email/approval_requested.html+++ b/posthog/templates/email/approval_requested.html@@ -1,17 +1,17 @@{% extends "email/base.html" %}-{% block heading %}{{ requester_name }} needs your sign-off{% endblock %}{% block section %}-<p>- <b>{{ requester_name }}</b> wants to make a change in <b>{{ team_name }}</b> and needs your approval before it goes live.-</p>-<div class="mb mt text-center">- <a class="button" href="{{ change_request_url }}">Review changes</a>-</div>-<div class="mt"><p>- If the button above doesn't work, paste this link into your browser:<br />- <a href="{{ change_request_url }}">{{ change_request_url }}</a>+ <b>{{ requester_name }}</b> wants to make a change in <b>{{ team_name }}</b> and needs your approval before it goes live.</p>-</div>+ <div class="mb mt text-center">+ <a class="button" href="{{ change_request_url }}">Review changes</a>+ </div>+ <div class="mt">+ <p>+ If the button above doesn't work, paste this link into your browser:+ <br />+ <a href="{{ change_request_url }}">{{ change_request_url }}</a>+ </p>+ </div>{% endblock %}diff --git a/posthog/templates/email/async_migration_error.html b/posthog/templates/email/async_migration_error.htmlindex 34d685937024..efc1fe711814 100644--- a/posthog/templates/email/async_migration_error.html+++ b/posthog/templates/email/async_migration_error.html@@ -1,12 +1,10 @@{% extends "email/base.html" %}-{% block section %}-<!-- prettier-ignore -->-<p>- Uh-oh. Async migration {{ migration_key }} experienced an error at {{ time }}. Here's what happened:-- <code>- {{ error }}- </code>-</p>+ <!-- prettier-ignore -->+ <p>+ Uh-oh. Async migration {{ migration_key }} experienced an error at {{ time }}. Here's what happened:+ <code>+ {{ error }}+ </code>+ </p>{% endblock %}diff --git a/posthog/templates/email/async_migration_status.html b/posthog/templates/email/async_migration_status.htmlindex f755e2d5ef1f..bf987ecaa39e 100644--- a/posthog/templates/email/async_migration_status.html+++ b/posthog/templates/email/async_migration_status.html@@ -1,8 +1,5 @@{% extends "email/base.html" %}-{% block section %}-<!-- prettier-ignore -->-<p>- {{ migration_status_update }}-</p>+ <!-- prettier-ignore -->+ <p>{{ migration_status_update }}</p>{% endblock %}diff --git a/posthog/templates/email/baa_signed_ai_disabled.html b/posthog/templates/email/baa_signed_ai_disabled.htmlindex ab317f72cc43..2ba45464387d 100644--- a/posthog/templates/email/baa_signed_ai_disabled.html+++ b/posthog/templates/email/baa_signed_ai_disabled.html@@ -1,21 +1,18 @@{% extends "email/base.html" %}-{% block section %}-<h1>AI features have been disabled for {{ organization_name }}</h1>-<p>- Thanks for signing the Business Associate Agreement ("BAA") with PostHog.-</p>-<p>- Heads up: the BAA does not cover the third-party AI services PostHog uses (currently Alphabet, Anthropic,- Microsoft, and OpenAI). To keep your organization's data out of those AI subprocessors by default, we've- automatically turned off AI features that use them for <strong>{{ organization_name }}</strong>.-</p>-<p>- If your team still wants to use these AI features for workflows that do <em>not</em> involve Protected Health- Information ("PHI"), an organization admin can re-enable them at any time. You remain responsible for ensuring- your use complies with applicable laws and regulations.-</p>-<div class="mb mt text-center">- <a class="button primary" href="{{ ai_settings_url }}">Open AI settings</a>-</div>+ <h1>AI features have been disabled for {{ organization_name }}</h1>+ <p>Thanks for signing the Business Associate Agreement ("BAA") with PostHog.</p>+ <p>+ Heads up: the BAA does not cover the third-party AI services PostHog uses (currently Alphabet, Anthropic,+ Microsoft, and OpenAI). To keep your organization's data out of those AI subprocessors by default, we've+ automatically turned off AI features that use them for <strong>{{ organization_name }}</strong>.+ </p>+ <p>+ If your team still wants to use these AI features for workflows that do <em>not</em> involve Protected Health+ Information ("PHI"), an organization admin can re-enable them at any time. You remain responsible for ensuring+ your use complies with applicable laws and regulations.+ </p>+ <div class="mb mt text-center">+ <a class="button primary" href="{{ ai_settings_url }}">Open AI settings</a>+ </div>{% endblock %}diff --git a/posthog/templates/email/base.html b/posthog/templates/email/base.htmlindex e5fcc874650b..707d4142799c 100644--- a/posthog/templates/email/base.html+++ b/posthog/templates/email/base.html@@ -1,55 +1,59 @@<!DOCTYPE html>-<html>--<head>- <meta charset="utf-8" />- <meta name="viewport" content="width=device-width, initial-scale=1" />-- {% include "email/styles.html" %} {% block head %} {% endblock %}-</head>--<body>- <div class="preheader">{% block preheader %}{% endblock %}</div>- <table class="main">- <tr>- <td>- <div class="header">- {% block header %}- <h1 class="text-center">- <a href="{% absolute_uri %}"><img src="{% absolute_asset_url 'posthog-logo.png' %}"- width="160px" height="28px" alt="PostHog" class="logo" /></a>- </h1>- {% endblock %}- </div>- </td>- </tr>- <tr>- <td>- {% block content %}- <div class="container">- <div class="inner">- {% block main %}- <h1 class="mb">{% block heading %}{% endblock %}</h1>- {% block section %}{% endblock %}+<html lang="en">+ <head>+ <meta charset="utf-8" />+ <meta name="viewport" content="width=device-width, initial-scale=1" />+ {% include "email/styles.html" %}+ {% block head %}{% endblock %}+ </head>+ <body>+ <div class="preheader">+ {% block preheader %}{% endblock %}+ </div>+ <table class="main">+ <tr>+ <td>+ <div class="header">+ {% block header %}+ <h1 class="text-center">+ <a href="{% absolute_uri %}">+ <img src="{% absolute_asset_url 'posthog-logo.png' %}"+ width="160px"+ height="28px"+ alt="PostHog"+ class="logo" />+ </a>+ </h1>{% endblock %}</div>- </div>- {% endblock %}- <div class="container">- <div class="footer">- {% block footer %}- Need help?- <a href="https://posthog.com/questions?{{ utm_tags }}"- target="_blank"><b>Visit support</b></a>- or- <a href="https://posthog.com/docs?{{ utm_tags }}"- target="_blank"><b>read our documentation</b></a>- {% endblock %}+ </td>+ </tr>+ <tr>+ <td>+ {% block content %}+ <div class="container">+ <div class="inner">+ {% block main %}+ <h1 class="mb">+ {% block heading %}{% endblock %}+ </h1>+ {% block section %}{% endblock %}+ {% endblock %}+ </div>+ </div>+ {% endblock %}+ <div class="container">+ <div class="footer">+ {% block footer %}+ Need help?+ <a href="https://posthog.com/questions?{{ utm_tags }}" target="_blank"><b>Visit support</b></a>+ or+ <a href="https://posthog.com/docs?{{ utm_tags }}" target="_blank"><b>read our documentation</b></a>+ {% endblock %}+ </div></div>- </div>- </td>- </tr>- </table>-</body>-+ </td>+ </tr>+ </table>+ </body></html>diff --git a/posthog/templates/email/batch_export_run_failure.html b/posthog/templates/email/batch_export_run_failure.htmlindex 6d6bdfe36a8e..1207118e0b86 100644--- a/posthog/templates/email/batch_export_run_failure.html+++ b/posthog/templates/email/batch_export_run_failure.html@@ -1,39 +1,29 @@{% extends "email/base.html" %}-{% block preheader %}Failing batch exports are automatically paused{% endblock %}{% block heading %}PostHog batch export {{ name }} has failed{% endblock %}{% block section %}-<p>- Your batch export {{ name }} failed with a fatal error at {{ time }}. We really tried to handle this by ourselves but, due to the nature of the error, we could not automatically recover from it and it requires your manual intervention.-- Please review the batch export for error details:-</p>--<div class="mb mt text-center">- <a href="{% absolute_uri '/project' %}/{{ team.id }}/batch_exports/{{ id }}"- target="_blank"><b>Go to the batch export</b></a>-</div>--<p>- In the logs you may find errors that need to be addressed by you, like invalid credentials, or an unreachable destination.-- If you can't diagnose the issue or if you think this issue could have been automatically resolved, please contact us.-</p>--<p class="mt">- Failing batch exports are <b>automatically paused</b> by PostHog-</p>-+ <p>+ Your batch export {{ name }} failed with a fatal error at {{ time }}. We really tried to handle this by ourselves but, due to the nature of the error, we could not automatically recover from it and it requires your manual intervention.+ Please review the batch export for error details:+ </p>+ <div class="mb mt text-center">+ <a href="{% absolute_uri '/project' %}/{{ team.id }}/batch_exports/{{ id }}"+ target="_blank"><b>Go to the batch export</b></a>+ </div>+ <p>+ In the logs you may find errors that need to be addressed by you, like invalid credentials, or an unreachable destination.+ If you can't diagnose the issue or if you think this issue could have been automatically resolved, please contact us.+ </p>+ <p class="mt">+ Failing batch exports are <b>automatically paused</b> by PostHog+ </p>{% endblock %}-{% block footer %}-Need help?-<a href="https://posthog.com/questions?{{ utm_tags }}"- target="_blank"><b>Visit support</b></a>-or-<a href="https://posthog.com/docs?{{ utm_tags }}"- target="_blank"><b>read our documentation</b></a>.<br /><br />--<a href="{% absolute_uri '/settings/user-notifications' %}">Manage these notifications in PostHog</a>-+ Need help?+ <a href="https://posthog.com/questions?{{ utm_tags }}" target="_blank"><b>Visit support</b></a>+ or+ <a href="https://posthog.com/docs?{{ utm_tags }}" target="_blank"><b>read our documentation</b></a>.+ <br />+ <br />+ <a href="{% absolute_uri '/settings/user-notifications' %}">Manage these notifications in PostHog</a>{% endblock %}diff --git a/posthog/templates/email/canary_email.html b/posthog/templates/email/canary_email.htmlindex cdb111b6f410..f8901345dbb0 100644--- a/posthog/templates/email/canary_email.html+++ b/posthog/templates/email/canary_email.html@@ -1,13 +1,10 @@{% extends "email/base.html" %}-{% block section %}-<p>- Good news!-- You have properly configured your email notifications for- <a href="{{ site_url }}" target="_blank">your PostHog instance</a>.-- Nothing else to do here, emails will now be sent when- applicable.-</p>+ <p>+ Good news!+ You have properly configured your email notifications for+ <a href="{{ site_url }}" target="_blank">your PostHog instance</a>.+ Nothing else to do here, emails will now be sent when+ applicable.+ </p>{% endblock %} {% block heading %}Email successfully set up!{% endblock %}diff --git a/posthog/templates/email/code_based_verification.html b/posthog/templates/email/code_based_verification.htmlindex 492c0da66d3b..ea15b15426a2 100644--- a/posthog/templates/email/code_based_verification.html+++ b/posthog/templates/email/code_based_verification.html@@ -1,19 +1,17 @@{% extends "email/base.html" %}-{% block section %}--<p>We received a login attempt to your PostHog account. To continue, enter this verification code:</p>--<div class="mb mt text-center">- <p style="font-size: 32px; font-weight: 700; letter-spacing: 8px; margin: 0;">{{code}}</p>-</div>--<p>This code expires in {{expiration_minutes}} minutes.</p>--<hr />--<p class="muted">- <strong>Didn't try to log in?</strong><br>- If you didn't attempt this login, someone may be trying to access your account. Please secure your account immediately by changing your password.-</p>-{% endblock %} {% block preheader %}{{preheader}}{% endblock %}{% block heading %}Your login code{% endblock %}+ <p>We received a login attempt to your PostHog account. To continue, enter this verification code:</p>+ <div class="mb mt text-center">+ <p style="font-size: 32px;+ font-weight: 700;+ letter-spacing: 8px;+ margin: 0">{{ code }}</p>+ </div>+ <p>This code expires in {{ expiration_minutes }} minutes.</p>+ <hr />+ <p class="muted">+ <strong>Didn't try to log in?</strong>+ <br>+ If you didn't attempt this login, someone may be trying to access your account. Please secure your account immediately by changing your password.+ </p>+{% endblock %} {% block preheader %}{{ preheader }}{% endblock %}{% block heading %}Your login code{% endblock %}diff --git a/posthog/templates/email/conversation_restore.html b/posthog/templates/email/conversation_restore.htmlindex aadafdd7044e..8987bed618ec 100644--- a/posthog/templates/email/conversation_restore.html+++ b/posthog/templates/email/conversation_restore.html@@ -1,37 +1,27 @@{% extends "email/base.html" %}-{% block heading %}Restore your conversations{% endblock %}{% block section %}-<!-- prettier-ignore -->-<p>- You requested a link to restore your previous conversations with <b>{{ team_name }}</b>.-</p>-<p>- Click the button below to access your conversation history on this device.-</p>-<div class="mb mt text-center">- <a class="button" href="{{ restore_url }}">Restore conversations</a>-</div>-<div class="mt">+ <!-- prettier-ignore --><p>- This link will expire in 60 minutes and can only be used once.+ You requested a link to restore your previous conversations with <b>{{ team_name }}</b>.</p>- <p>- If the button above doesn't work, paste this link into your browser:<br />- <a href="{{ restore_url }}">{{ restore_url }}</a>- </p>-</div>-<p>- If you didn't request this link, you can safely ignore this email.-</p>+ <p>Click the button below to access your conversation history on this device.</p>+ <div class="mb mt text-center">+ <a class="button" href="{{ restore_url }}">Restore conversations</a>+ </div>+ <div class="mt">+ <p>This link will expire in 60 minutes and can only be used once.</p>+ <p>+ If the button above doesn't work, paste this link into your browser:+ <br />+ <a href="{{ restore_url }}">{{ restore_url }}</a>+ </p>+ </div>+ <p>If you didn't request this link, you can safely ignore this email.</p>{% endblock %}-{% block footer %}-Need help?-<a href="https://posthog.com/questions?{{ utm_tags }}"- target="_blank"><b>Visit support</b></a>-or-<a href="https://posthog.com/docs?{{ utm_tags }}"- target="_blank"><b>Read our documentation</b></a>.-+ Need help?+ <a href="https://posthog.com/questions?{{ utm_tags }}" target="_blank"><b>Visit support</b></a>+ or+ <a href="https://posthog.com/docs?{{ utm_tags }}" target="_blank"><b>Read our documentation</b></a>.{% endblock %}diff --git a/posthog/templates/email/delegation_invite.html b/posthog/templates/email/delegation_invite.htmlindex 7088e9dc510d..20f3cb4ec44d 100644--- a/posthog/templates/email/delegation_invite.html+++ b/posthog/templates/email/delegation_invite.html@@ -1,30 +1,27 @@{% extends "email/base.html" %}-{% block section %}-<h1 class="invite-header">- <strong>{{ inviter_first_name }}</strong> asked you to finish setting up PostHog for- <strong>{{ org_name }}</strong>-</h1>-<p class="text-center">- <strong>{{ inviter_first_name }}</strong> ({{ inviter_email }}) started setting up PostHog for- <strong>{{ org_name }}</strong> and would like you to finish the setup. Accept the invitation below to get- started. You'll be taken through the full setup flow.-</p>-<p class="text-center">- PostHog is an all-in-one platform for product analytics, session replays, feature flags, experiments, surveys,- and more.-</p>-{% if invite_message %}-<div class="invite-message">- <div class="invite-message-divider"></div>- {{ invite_message }}-</div>-{% endif %}-<div class="mb mt text-center">- <a class="button primary" href="{{ invite }}">Accept and set up PostHog</a>-</div>-<p class="invite-bottom">This invitation will expire on {{ expiry_date }}.</p>--{% block footer %}-{% endblock %}+ <h1 class="invite-header">+ <strong>{{ inviter_first_name }}</strong> asked you to finish setting up PostHog for+ <strong>{{ org_name }}</strong>+ </h1>+ <p class="text-center">+ <strong>{{ inviter_first_name }}</strong> ({{ inviter_email }}) started setting up PostHog for+ <strong>{{ org_name }}</strong> and would like you to finish the setup. Accept the invitation below to get+ started. You'll be taken through the full setup flow.+ </p>+ <p class="text-center">+ PostHog is an all-in-one platform for product analytics, session replays, feature flags, experiments, surveys,+ and more.+ </p>+ {% if invite_message %}+ <div class="invite-message">+ <div class="invite-message-divider"></div>+ {{ invite_message }}+ </div>+ {% endif %}+ <div class="mb mt text-center">+ <a class="button primary" href="{{ invite }}">Accept and set up PostHog</a>+ </div>+ <p class="invite-bottom">This invitation will expire on {{ expiry_date }}.</p>+ {% block footer %}{% endblock %}{% endblock %}diff --git a/posthog/templates/email/discussions_mentioned.html b/posthog/templates/email/discussions_mentioned.htmlindex 64f533c3788d..854218dce640 100644--- a/posthog/templates/email/discussions_mentioned.html+++ b/posthog/templates/email/discussions_mentioned.html@@ -1,33 +1,28 @@{% extends "email/base.html" %}-{% block heading %}You were mentioned in a discussion{% endblock %}{% block section %}-<!-- prettier-ignore -->-<p>- <b>{{ commenter.first_name }}</b> mentioned you in a comment in the project <b>{{ team.name }}</b>.-</p>-<p>- {{ content }}-</p>-<div class="mb mt text-center">- <a class="button" href="{{ href }}">Reply to comment</a>-</div>-<div class="mt">+ <!-- prettier-ignore --><p>- If the button above doesn't work, paste this link into your browser:<br />- <a href="{{ href }}">{{ href }}</a>+ <b>{{ commenter.first_name }}</b> mentioned you in a comment in the project <b>{{ team.name }}</b>.</p>-</div>+ <p>{{ content }}</p>+ <div class="mb mt text-center">+ <a class="button" href="{{ href }}">Reply to comment</a>+ </div>+ <div class="mt">+ <p>+ If the button above doesn't work, paste this link into your browser:+ <br />+ <a href="{{ href }}">{{ href }}</a>+ </p>+ </div>{% endblock %}-{% block footer %}-Need help?-<a href="https://posthog.com/questions?{{ utm_tags }}"- target="_blank"><b>Visit support</b></a>-or-<a href="https://posthog.com/docs?{{ utm_tags }}"- target="_blank"><b>Read our documentation</b></a>.<br /><br />--<a href="{% absolute_uri '/settings/user-notifications' %}">Manage these notifications in PostHog</a>--{% endblock %}\ No newline at end of file+ Need help?+ <a href="https://posthog.com/questions?{{ utm_tags }}" target="_blank"><b>Visit support</b></a>+ or+ <a href="https://posthog.com/docs?{{ utm_tags }}" target="_blank"><b>Read our documentation</b></a>.+ <br />+ <br />+ <a href="{% absolute_uri '/settings/user-notifications' %}">Manage these notifications in PostHog</a>+{% endblock %}diff --git a/posthog/templates/email/email_change_new_address.html b/posthog/templates/email/email_change_new_address.htmlindex e5e6bc812d54..3c91c6bf64a4 100644--- a/posthog/templates/email/email_change_new_address.html+++ b/posthog/templates/email/email_change_new_address.html@@ -1,6 +1,5 @@{% extends "email/base.html" %}-{% block heading %}This is your new PostHog account email{% endblock %}{% block section %}-<p>Hey, {{ user_name }}! Just letting you know that your PostHog account email has been successfully changed from {{ old_address }} to {{ new_address }}.</p>+ <p>Hey, {{ user_name }}! Just letting you know that your PostHog account email has been successfully changed from {{ old_address }} to {{ new_address }}.</p>{% endblock %}diff --git a/posthog/templates/email/email_change_old_address.html b/posthog/templates/email/email_change_old_address.htmlindex c56deac46061..c5e1e779cd31 100644--- a/posthog/templates/email/email_change_old_address.html+++ b/posthog/templates/email/email_change_old_address.html@@ -1,6 +1,5 @@{% extends "email/base.html" %}-{% block heading %}This is no longer your PostHog account email{% endblock %}{% block section %}-<p>Hey, {{ user_name }}! Just letting you know that your PostHog account email has been successfully changed from {{ old_address }} to {{ new_address }}.</p>+ <p>Hey, {{ user_name }}! Just letting you know that your PostHog account email has been successfully changed from {{ old_address }} to {{ new_address }}.</p>{% endblock %}diff --git a/posthog/templates/email/email_sending_reputation_finding.html b/posthog/templates/email/email_sending_reputation_finding.htmlindex 41565ebdefeb..6912338c8f70 100644--- a/posthog/templates/email/email_sending_reputation_finding.html+++ b/posthog/templates/email/email_sending_reputation_finding.html@@ -1,47 +1,44 @@{% extends "email/base.html" %}-{% block heading %}{% if high_impact %}Email sending is at risk of being paused{% else %}Reputation warning for your email sending{% endif %}{% endblock %}{% block section %}-<!-- prettier-ignore -->-<p>- Our email provider has raised {% if high_impact %}<b>high-impact</b>{% else %}low-impact{% endif %} reputation findings against workflow email sending in project <b>{{ team }}</b>.-</p>-{% if high_impact %}-<p>- At this level, email sending for your project can be <b>paused automatically</b> to protect deliverability. Fix the findings below to avoid an interruption.-</p>-{% else %}-<p>- Sending still works, but if these findings are not fixed they can escalate and email sending for your project can be paused.-</p>-{% endif %}-{% if findings %}-<p><b>What the provider flagged</b></p>-<ul>- {% for finding in findings %}- <li>{{ finding.description }}</li>- {% endfor %}-</ul>-{% endif %}-<p>- Common fixes: remove old or purchased addresses from your lists, and stop sending to recipients who never engage. The Reputation tab shows which workflows have the highest bounce and spam complaint rates.-</p>-<div class="mb mt text-center">- <a class="button" href="{% absolute_uri reputation_path %}">View sending health</a>-</div>-<div class="mt">+ <!-- prettier-ignore --><p>- If the button above doesn't work, paste this link into your browser:<br />- <a href="{% absolute_uri reputation_path %}">{% absolute_uri reputation_path %}</a>+ Our email provider has raised {% if high_impact %}<b>high-impact</b>{% else %}low-impact{% endif %} reputation findings against workflow email sending in project <b>{{ team }}</b>.</p>-</div>+ {% if high_impact %}+ <p>+ At this level, email sending for your project can be <b>paused automatically</b> to protect deliverability. Fix the findings below to avoid an interruption.+ </p>+ {% else %}+ <p>+ Sending still works, but if these findings are not fixed they can escalate and email sending for your project can be paused.+ </p>+ {% endif %}+ {% if findings %}+ <p><b>What the provider flagged</b></p>+ <ul>+ {% for finding in findings %}+ <li>{{ finding.description }}</li>+ {% endfor %}+ </ul>+ {% endif %}+ <p>+ Common fixes: remove old or purchased addresses from your lists, and stop sending to recipients who never engage. The Reputation tab shows which workflows have the highest bounce and spam complaint rates.+ </p>+ <div class="mb mt text-center">+ <a class="button" href="{% absolute_uri reputation_path %}">View sending health</a>+ </div>+ <div class="mt">+ <p>+ If the button above doesn't work, paste this link into your browser:+ <br />+ <a href="{% absolute_uri reputation_path %}">{% absolute_uri reputation_path %}</a>+ </p>+ </div>{% endblock %}-{% block footer %}-Need help?-<a href="https://posthog.com/questions?{{ utm_tags }}"- target="_blank"><b>Contact support</b></a>-or-<a href="https://posthog.com/docs?{{ utm_tags }}"- target="_blank"><b>read our documentation</b></a>.+ Need help?+ <a href="https://posthog.com/questions?{{ utm_tags }}" target="_blank"><b>Contact support</b></a>+ or+ <a href="https://posthog.com/docs?{{ utm_tags }}" target="_blank"><b>read our documentation</b></a>.{% endblock %}diff --git a/posthog/templates/email/email_sending_suspended.html b/posthog/templates/email/email_sending_suspended.htmlindex 03e0344c1e9b..b58c23fc76ee 100644--- a/posthog/templates/email/email_sending_suspended.html+++ b/posthog/templates/email/email_sending_suspended.html@@ -1,33 +1,30 @@{% extends "email/base.html" %}-{% block heading %}Email sending has been suspended{% endblock %}{% block section %}-<!-- prettier-ignore -->-<p>- Workflow email sending for project <b>{{ team }}</b> has been suspended. Emails from your workflows are not being delivered while the suspension is active.-</p>-<p>- Reason: <b>{{ reason }}</b>-</p>-<p>- This happens when bounce or spam complaint rates cross critical thresholds and put email deliverability at risk. To get sending re-enabled: open the Reputation tab to find the workflow responsible, remove old or purchased addresses from your lists, stop sending to recipients who never engage, and then contact support.-</p>-<div class="mb mt text-center">- <a class="button" href="{% absolute_uri reputation_path %}">View reputation</a>-</div>-<div class="mt">+ <!-- prettier-ignore --><p>- If the button above doesn't work, paste this link into your browser:<br />- <a href="{% absolute_uri reputation_path %}">{% absolute_uri reputation_path %}</a>+ Workflow email sending for project <b>{{ team }}</b> has been suspended. Emails from your workflows are not being delivered while the suspension is active.</p>-</div>+ <p>+ Reason: <b>{{ reason }}</b>+ </p>+ <p>+ This happens when bounce or spam complaint rates cross critical thresholds and put email deliverability at risk. To get sending re-enabled: open the Reputation tab to find the workflow responsible, remove old or purchased addresses from your lists, stop sending to recipients who never engage, and then contact support.+ </p>+ <div class="mb mt text-center">+ <a class="button" href="{% absolute_uri reputation_path %}">View reputation</a>+ </div>+ <div class="mt">+ <p>+ If the button above doesn't work, paste this link into your browser:+ <br />+ <a href="{% absolute_uri reputation_path %}">{% absolute_uri reputation_path %}</a>+ </p>+ </div>{% endblock %}-{% block footer %}-Need help getting re-enabled?-<a href="https://posthog.com/questions?{{ utm_tags }}"- target="_blank"><b>Contact support</b></a>-or-<a href="https://posthog.com/docs?{{ utm_tags }}"- target="_blank"><b>read our documentation</b></a>.+ Need help getting re-enabled?+ <a href="https://posthog.com/questions?{{ utm_tags }}" target="_blank"><b>Contact support</b></a>+ or+ <a href="https://posthog.com/docs?{{ utm_tags }}" target="_blank"><b>read our documentation</b></a>.{% endblock %}diff --git a/posthog/templates/email/email_sending_unsuspended.html b/posthog/templates/email/email_sending_unsuspended.htmlindex cd6aeaee34e5..a1e850e701d3 100644--- a/posthog/templates/email/email_sending_unsuspended.html+++ b/posthog/templates/email/email_sending_unsuspended.html@@ -1,30 +1,27 @@{% extends "email/base.html" %}-{% block heading %}Email sending has been re-enabled{% endblock %}{% block section %}-<!-- prettier-ignore -->-<p>- Workflow email sending for project <b>{{ team }}</b> has been re-enabled. Your workflows can deliver email again.-</p>-<p>- Keep an eye on the Reputation tab: rates are recalculated daily, and keeping bounce and spam complaint rates low protects your deliverability going forward.-</p>-<div class="mb mt text-center">- <a class="button" href="{% absolute_uri reputation_path %}">View reputation</a>-</div>-<div class="mt">+ <!-- prettier-ignore --><p>- If the button above doesn't work, paste this link into your browser:<br />- <a href="{% absolute_uri reputation_path %}">{% absolute_uri reputation_path %}</a>+ Workflow email sending for project <b>{{ team }}</b> has been re-enabled. Your workflows can deliver email again.</p>-</div>+ <p>+ Keep an eye on the Reputation tab: rates are recalculated daily, and keeping bounce and spam complaint rates low protects your deliverability going forward.+ </p>+ <div class="mb mt text-center">+ <a class="button" href="{% absolute_uri reputation_path %}">View reputation</a>+ </div>+ <div class="mt">+ <p>+ If the button above doesn't work, paste this link into your browser:+ <br />+ <a href="{% absolute_uri reputation_path %}">{% absolute_uri reputation_path %}</a>+ </p>+ </div>{% endblock %}-{% block footer %}-Need help?-<a href="https://posthog.com/questions?{{ utm_tags }}"- target="_blank"><b>Visit support</b></a>-or-<a href="https://posthog.com/docs?{{ utm_tags }}"- target="_blank"><b>read our documentation</b></a>.+ Need help?+ <a href="https://posthog.com/questions?{{ utm_tags }}" target="_blank"><b>Visit support</b></a>+ or+ <a href="https://posthog.com/docs?{{ utm_tags }}" target="_blank"><b>read our documentation</b></a>.{% endblock %}diff --git a/posthog/templates/email/email_verification.html b/posthog/templates/email/email_verification.htmlindex d994c5f4532b..127a843f2fdc 100644--- a/posthog/templates/email/email_verification.html+++ b/posthog/templates/email/email_verification.html@@ -1,15 +1,14 @@{% extends "email/base.html" %}-{% block section %}-<p>Welcome to PostHog! Click on the following link to verify your email address.</p>-<div class="mb mt text-center">- <a class="button" href="{% absolute_uri link %}">Verify email address</a>-</div>--<div class="mt muted">- <p>- If the button above doesn't work, paste this link into your browser:<br />- <a href="{% absolute_uri link %}">{% absolute_uri link %}</a>- </p>-</div>-{% endblock %} {% block preheader %}{{preheader}}{% endblock %}{% block heading %}Verify your email address.{% endblock %}+ <p>Welcome to PostHog! Click on the following link to verify your email address.</p>+ <div class="mb mt text-center">+ <a class="button" href="{% absolute_uri link %}">Verify email address</a>+ </div>+ <div class="mt muted">+ <p>+ If the button above doesn't work, paste this link into your browser:+ <br />+ <a href="{% absolute_uri link %}">{% absolute_uri link %}</a>+ </p>+ </div>+{% endblock %} {% block preheader %}{{ preheader }}{% endblock %}{% block heading %}Verify your email address.{% endblock %}diff --git a/posthog/templates/email/email_verification_code.html b/posthog/templates/email/email_verification_code.htmlindex 058125f58894..664c395a72bd 100644--- a/posthog/templates/email/email_verification_code.html+++ b/posthog/templates/email/email_verification_code.html@@ -1,17 +1,15 @@{% extends "email/base.html" %}-{% block section %}-<p>Enter this code to verify your email address:</p>--<div class="mb mt text-center">- <p style="font-size: 32px; font-weight: 700; letter-spacing: 8px; margin: 0;">{{code}}</p>-</div>--<p>This code expires in {{expiration_minutes}} minutes.</p>--<hr />--<p class="muted">- If you didn't {% if action == "email_change" %}request to change your email{% else %}create a PostHog account{% endif %}, you can ignore this email.-</p>-{% endblock %} {% block preheader %}{{preheader}}{% endblock %}{% block heading %}Verify your email address.{% endblock %}+ <p>Enter this code to verify your email address:</p>+ <div class="mb mt text-center">+ <p style="font-size: 32px;+ font-weight: 700;+ letter-spacing: 8px;+ margin: 0">{{ code }}</p>+ </div>+ <p>This code expires in {{ expiration_minutes }} minutes.</p>+ <hr />+ <p class="muted">+ If you didn't {% if action == "email_change" %}request to change your email{% else %}create a PostHog account{% endif %}, you can ignore this email.+ </p>+{% endblock %} {% block preheader %}{{ preheader }}{% endblock %}{% block heading %}Verify your email address.{% endblock %}diff --git a/posthog/templates/email/error_tracking_issue_assigned.html b/posthog/templates/email/error_tracking_issue_assigned.htmlindex bb8b9ccf561f..840e951524ea 100644--- a/posthog/templates/email/error_tracking_issue_assigned.html+++ b/posthog/templates/email/error_tracking_issue_assigned.html@@ -1,41 +1,38 @@{% extends "email/base.html" %}-{% block heading %}An issue has been assigned to you{% endblock %}{% block section %}-<!-- prettier-ignore -->-<p>- <b>{{ assigner.first_name }}</b> has assigned you an error tracking issue in project <b>{{ team }}</b>.-</p>-<p>- <b>Issue:</b> {{ assignment.issue.name }}-</p>-{% if assignment.issue.description %}-<p>- <b>Description:</b> {{ assignment.issue.description }}-</p>-{% endif %}-<p>- <b>Status:</b> {{ assignment.issue.status }}-</p>-<div class="mb mt text-center">- <a class="button" href="{{ issue_url }}">View issue details</a>-</div>-<div class="mt">+ <!-- prettier-ignore --><p>- If the button above doesn't work, paste this link into your browser:<br />- <a href="{{ issue_url }}">{{ issue_url }}</a>+ <b>{{ assigner.first_name }}</b> has assigned you an error tracking issue in project <b>{{ team }}</b>.</p>-</div>+ <p>+ <b>Issue:</b> {{ assignment.issue.name }}+ </p>+ {% if assignment.issue.description %}+ <p>+ <b>Description:</b> {{ assignment.issue.description }}+ </p>+ {% endif %}+ <p>+ <b>Status:</b> {{ assignment.issue.status }}+ </p>+ <div class="mb mt text-center">+ <a class="button" href="{{ issue_url }}">View issue details</a>+ </div>+ <div class="mt">+ <p>+ If the button above doesn't work, paste this link into your browser:+ <br />+ <a href="{{ issue_url }}">{{ issue_url }}</a>+ </p>+ </div>{% endblock %}-{% block footer %}-Need help?-<a href="https://posthog.com/questions?{{ utm_tags }}"- target="_blank"><b>Visit support</b></a>-or-<a href="https://posthog.com/docs?{{ utm_tags }}"- target="_blank"><b>Read our documentation</b></a>.<br /><br />--<a href="{% absolute_uri '/settings/user-notifications' %}">Manage these notifications in PostHog</a>--{% endblock %}\ No newline at end of file+ Need help?+ <a href="https://posthog.com/questions?{{ utm_tags }}" target="_blank"><b>Visit support</b></a>+ or+ <a href="https://posthog.com/docs?{{ utm_tags }}" target="_blank"><b>Read our documentation</b></a>.+ <br />+ <br />+ <a href="{% absolute_uri '/settings/user-notifications' %}">Manage these notifications in PostHog</a>+{% endblock %}diff --git a/posthog/templates/email/evaluation_report.html b/posthog/templates/email/evaluation_report.htmlindex 16424875cf08..609f5f3756a6 100644--- a/posthog/templates/email/evaluation_report.html+++ b/posthog/templates/email/evaluation_report.html@@ -1,19 +1,14 @@{% extends "email/base.html" %}-{% block heading %}{% endblock %}-{% block section %}--{% comment %}+ {% comment %}report_body is markdown rendered by markdown-it-py with html=False, so raw HTML inthe markdown source is escaped. Content originates from our own LLM agent viastructured tool outputs (not user input), and is delivered via email only.-{% endcomment %}-{# nosemgrep: python.flask.security.xss.audit.template-unescaped-with-safe.template-unescaped-with-safe #}-{{ report_body|safe }}--<div class="mb mt text-center">- <a class="button primary" href="{{ evaluation_url }}">View evaluation in PostHog</a>-</div>-+ {% endcomment %}+ {# nosemgrep: python.flask.security.xss.audit.template-unescaped-with-safe.template-unescaped-with-safe #}+ {{ report_body|safe }}+ <div class="mb mt text-center">+ <a class="button primary" href="{{ evaluation_url }}">View evaluation in PostHog</a>+ </div>{% endblock %}diff --git a/posthog/templates/email/external_data_failure_digest.html b/posthog/templates/email/external_data_failure_digest.htmlindex e297476e76d1..e1c92ccbd8e3 100644--- a/posthog/templates/email/external_data_failure_digest.html+++ b/posthog/templates/email/external_data_failure_digest.html@@ -1,76 +1,125 @@{% extends "email/base.html" %}-{% block preheader %}Data warehouse sync failures in {{ team.name }}{% endblock %}-{% block heading %}Data warehouse sync failures{% endblock %}-{% block section %}-<p style="color: #374151;">- Some data warehouse syncs are failing in project <strong>{{ team.name }}</strong>.- {% if has_paused %}- Syncs marked <strong>paused</strong> hit an error we can't retry (for example invalid credentials or an- unreachable host) — each sync's error message says how to fix it and get syncing again. Other syncs- will be retried automatically on their next scheduled run.- {% else %}- They will be retried automatically on their next scheduled run, but the data in these tables may be out of- date until a sync succeeds.+ <p style="color: #374151;">+ Some data warehouse syncs are failing in project <strong>{{ team.name }}</strong>.+ {% if has_paused %}+ Syncs marked <strong>paused</strong> hit an error we can't retry (for example invalid credentials or an+ unreachable host) — each sync's error message says how to fix it and get syncing again. Other syncs+ will be retried automatically on their next scheduled run.+ {% else %}+ They will be retried automatically on their next scheduled run, but the data in these tables may be out of+ date until a sync succeeds.+ {% endif %}+ </p>+ {% regroup schemas by source_id as source_groups %}+ {% for group in source_groups %}+ <div style="background-color: #ffffff;+ border: 1px solid #e5e7eb;+ border-left: 4px solid {% if group.list.0.paused %}#dc3545{% else %}#fd7e14{% endif %};+ border-radius: 8px;+ padding: 16px 20px;+ margin-bottom: 12px">+ <table width="100%"+ cellpadding="0"+ cellspacing="0"+ border="0"+ style="border-collapse: collapse">+ <tr>+ <td align="left" style="text-align: left;">+ <a href="{{ group.list.0.source_url }}"+ target="_blank"+ style="text-decoration: none;+ color: #111827;+ font-weight: 700;+ font-size: 1em">{{ group.list.0.source_type }}</a>+ {% if group.list.0.source_prefix %}<span style="color: #9ca3af; font-size: 0.85em;"> {{ group.list.0.source_prefix }}</span>{% endif %}+ </td>+ <td align="right"+ style="text-align: right;+ color: #9ca3af;+ font-size: 0.8em;+ white-space: nowrap">+ {{ group.list|length }} sync{{ group.list|length|pluralize }} failing+ </td>+ </tr>+ </table>+ <table width="100%"+ cellpadding="0"+ cellspacing="0"+ border="0"+ style="border-collapse: collapse;+ margin-top: 10px">+ {% for schema in group.list %}+ <tr>+ <td align="left"+ style="padding: 9px 8px 9px 0;+ border-top: 1px solid #f3f4f6;+ vertical-align: top;+ text-align: left;+ white-space: nowrap">+ <a href="{{ schema.url }}"+ target="_blank"+ style="text-decoration: none;+ color: #111827;+ font-weight: 600;+ font-size: 0.9em">{{ schema.schema_name|truncatechars:32 }}</a>+ </td>+ <td align="left"+ style="padding: 9px 8px;+ border-top: 1px solid #f3f4f6;+ vertical-align: top;+ text-align: left;+ color: #6b7280;+ font-size: 0.85em;+ word-break: break-word">{{ schema.error|truncatechars:90 }}</td>+ <td align="right"+ style="padding: 9px 0 9px 8px;+ border-top: 1px solid #f3f4f6;+ vertical-align: top;+ text-align: right;+ white-space: nowrap">+ {% if schema.paused %}+ <span style="background-color: #fee2e2;+ color: #b91c1c;+ border-radius: 9999px;+ padding: 2px 10px;+ font-size: 0.75em;+ font-weight: 600">Paused — action required</span>+ {% else %}+ <span style="background-color: #f3f4f6;+ color: #6b7280;+ border-radius: 9999px;+ padding: 2px 10px;+ font-size: 0.75em">Will retry</span>+ {% endif %}+ </td>+ </tr>+ {% endfor %}+ </table>+ </div>+ {% endfor %}+ {% if omitted_count %}+ <p style="font-size: 0.9em; color: #374151; margin-top: 8px;">+ …and <strong>{{ omitted_count }}</strong> more failing syncs —+ <a href="{{ sources_url }}"+ target="_blank"+ style="color: #111827;+ font-weight: 600">view them all in PostHog</a>.+ </p>{% endif %}-</p>--{% regroup schemas by source_id as source_groups %}-{% for group in source_groups %}-<div style="background-color: #ffffff; border: 1px solid #e5e7eb; border-left: 4px solid {% if group.list.0.paused %}#dc3545{% else %}#fd7e14{% endif %}; border-radius: 8px; padding: 16px 20px; margin-bottom: 12px;">- <table width="100%" cellpadding="0" cellspacing="0" border="0" style="border-collapse: collapse;">- <tr>- <td align="left" style="text-align: left;">- <a href="{{ group.list.0.source_url }}" target="_blank" style="text-decoration: none; color: #111827; font-weight: 700; font-size: 1em;">{{ group.list.0.source_type }}</a>- {% if group.list.0.source_prefix %}<span style="color: #9ca3af; font-size: 0.85em;"> {{ group.list.0.source_prefix }}</span>{% endif %}- </td>- <td align="right" style="text-align: right; color: #9ca3af; font-size: 0.8em; white-space: nowrap;">- {{ group.list|length }} sync{{ group.list|length|pluralize }} failing- </td>- </tr>- </table>- <table width="100%" cellpadding="0" cellspacing="0" border="0" style="border-collapse: collapse; margin-top: 10px;">- {% for schema in group.list %}- <tr>- <td align="left" style="padding: 9px 8px 9px 0; border-top: 1px solid #f3f4f6; vertical-align: top; text-align: left; white-space: nowrap;">- <a href="{{ schema.url }}" target="_blank" style="text-decoration: none; color: #111827; font-weight: 600; font-size: 0.9em;">{{ schema.schema_name|truncatechars:32 }}</a>- </td>- <td align="left" style="padding: 9px 8px; border-top: 1px solid #f3f4f6; vertical-align: top; text-align: left; color: #6b7280; font-size: 0.85em; word-break: break-word;">- {{ schema.error|truncatechars:90 }}- </td>- <td align="right" style="padding: 9px 0 9px 8px; border-top: 1px solid #f3f4f6; vertical-align: top; text-align: right; white-space: nowrap;">- {% if schema.paused %}- <span style="background-color: #fee2e2; color: #b91c1c; border-radius: 9999px; padding: 2px 10px; font-size: 0.75em; font-weight: 600;">Paused — action required</span>- {% else %}- <span style="background-color: #f3f4f6; color: #6b7280; border-radius: 9999px; padding: 2px 10px; font-size: 0.75em;">Will retry</span>- {% endif %}- </td>- </tr>- {% endfor %}- </table>-</div>-{% endfor %}--{% if omitted_count %}-<p style="font-size: 0.9em; color: #374151; margin-top: 8px;">- …and <strong>{{ omitted_count }}</strong> more failing syncs —- <a href="{{ sources_url }}" target="_blank" style="color: #111827; font-weight: 600;">view them all in PostHog</a>.-</p>-{% endif %}--<p style="font-size: 0.85em; color: #6b7280; margin-top: 16px;">- Click a source to open it in PostHog, or a sync name to see its history and full error details.-</p>-+ <p style="font-size: 0.85em; color: #6b7280; margin-top: 16px;">+ Click a source to open it in PostHog, or a sync name to see its history and full error details.+ </p>{% endblock %}-{% block footer %}-Need help?-<a href="https://posthog.com/questions?{{ utm_tags }}" target="_blank"><b>Visit support</b></a>-or-<a href="https://posthog.com/docs/cdp/sources?{{ utm_tags }}" target="_blank"><b>read our documentation</b></a>.<br /><br />--<a href="{% absolute_uri '/settings/user-notifications' %}">Manage these notifications in PostHog</a>+ Need help?+ <a href="https://posthog.com/questions?{{ utm_tags }}" target="_blank"><b>Visit support</b></a>+ or+ <a href="https://posthog.com/docs/cdp/sources?{{ utm_tags }}"+ target="_blank"><b>read our documentation</b></a>.+ <br />+ <br />+ <a href="{% absolute_uri '/settings/user-notifications' %}">Manage these notifications in PostHog</a>{% endblock %}diff --git a/posthog/templates/email/fatal_plugin_error.html b/posthog/templates/email/fatal_plugin_error.htmlindex 51621c9f5427..a2860bde6caf 100644--- a/posthog/templates/email/fatal_plugin_error.html+++ b/posthog/templates/email/fatal_plugin_error.html@@ -1,39 +1,34 @@{% extends "email/base.html" %}-{% block heading %}A PostHog app has experienced a fatal error{% endblock %}{% block section %}-<!-- prettier-ignore -->-<p>- {% if is_system_error %}- Uh-oh. A system error prevented {{ plugin }}- {% else %}- Uh-oh. An unhandled error in the <code>setupPlugin</code> function of {{ plugin }} has prevented it- {% endif %} from loading in project {{ team }}. Here's what happened:-</p>-<pre><code>{{ error }}</code></pre>-<p>Don't worry, we've disabled the app for now. If this it the first time you've seen the error, we recommend checking the logs and re-enabling it from the Apps page.</p>-<div class="mb mt text-center">- <a class="button" href="{% absolute_uri '/project/apps' %}">Go to Apps</a>-</div>-<p>- If the issue persists, please contact the author of the app, or the PostHog team, for help.-</p>-<div class="mt">+ <!-- prettier-ignore --><p>- If the button above doesn't work, paste this link into your browser:<br />- <a href="{% absolute_uri '/project/apps' %}">{% absolute_uri '/project/apps' %}</a>+ {% if is_system_error %}+ Uh-oh. A system error prevented {{ plugin }}+ {% else %}+ Uh-oh. An unhandled error in the <code>setupPlugin</code> function of {{ plugin }} has prevented it+ {% endif %} from loading in project {{ team }}. Here's what happened:</p>-</div>+ <pre><code>{{ error }}</code></pre>+ <p>Don't worry, we've disabled the app for now. If this it the first time you've seen the error, we recommend checking the logs and re-enabling it from the Apps page.</p>+ <div class="mb mt text-center">+ <a class="button" href="{% absolute_uri '/project/apps' %}">Go to Apps</a>+ </div>+ <p>If the issue persists, please contact the author of the app, or the PostHog team, for help.</p>+ <div class="mt">+ <p>+ If the button above doesn't work, paste this link into your browser:+ <br />+ <a href="{% absolute_uri '/project/apps' %}">{% absolute_uri '/project/apps' %}</a>+ </p>+ </div>{% endblock %}-{% block footer %}-Need help?-<a href="https://posthog.com/questions?{{ utm_tags }}"- target="_blank"><b>Visit support</b></a>-or-<a href="https://posthog.com/docs?{{ utm_tags }}"- target="_blank"><b>read our documentation</b></a>.<br /><br />--<a href="{% absolute_uri '/settings/user-notifications' %}">Manage these notifications in PostHog</a>--{% endblock %}\ No newline at end of file+ Need help?+ <a href="https://posthog.com/questions?{{ utm_tags }}" target="_blank"><b>Visit support</b></a>+ or+ <a href="https://posthog.com/docs?{{ utm_tags }}" target="_blank"><b>read our documentation</b></a>.+ <br />+ <br />+ <a href="{% absolute_uri '/settings/user-notifications' %}">Manage these notifications in PostHog</a>+{% endblock %}diff --git a/posthog/templates/email/feature_flags_secure_api_key_exposed.html b/posthog/templates/email/feature_flags_secure_api_key_exposed.htmlindex 1191383ba6a1..e830b3c871b6 100644--- a/posthog/templates/email/feature_flags_secure_api_key_exposed.html+++ b/posthog/templates/email/feature_flags_secure_api_key_exposed.html@@ -1,27 +1,24 @@{% extends "email/base.html" %}-{% block heading %}Feature Flags Secure API key has been exposed{% endblock %}{% block section %}-<p>- The <strong>{{ project_name }}</strong> project's Feature Flags Secure API key <strong>{{ mask_value }}</strong> was publicly exposed.- {% if more_info %}{{ more_info }}{% endif %}-</p>-<p>- To protect your project, we recommend taking the following steps:-</p>-<ol>- <li><strong>Rotate the key</strong> to generate a new Feature Flags Secure API key</li>- <li><strong>Update your systems</strong> to use the new key</li>- <li><strong>Delete the backup key</strong> once all systems are updated</li>-</ol>-<div class="mb mt text-center">- <a class="button" href="{{ url }}">Go to project settings</a>-</div>--<div class="mt"><p>- If the button above doesn't work, paste this link into your browser:<br />- <a href="{{ url }}">{{ url }}</a>+ The <strong>{{ project_name }}</strong> project's Feature Flags Secure API key <strong>{{ mask_value }}</strong> was publicly exposed.+ {% if more_info %}{{ more_info }}{% endif %}</p>-</div>-{% endblock %} {% block preheader %}{{preheader}}{% endblock %}+ <p>To protect your project, we recommend taking the following steps:</p>+ <ol>+ <li><strong>Rotate the key</strong> to generate a new Feature Flags Secure API key</li>+ <li><strong>Update your systems</strong> to use the new key</li>+ <li><strong>Delete the backup key</strong> once all systems are updated</li>+ </ol>+ <div class="mb mt text-center">+ <a class="button" href="{{ url }}">Go to project settings</a>+ </div>+ <div class="mt">+ <p>+ If the button above doesn't work, paste this link into your browser:+ <br />+ <a href="{{ url }}">{{ url }}</a>+ </p>+ </div>+{% endblock %} {% block preheader %}{{ preheader }}{% endblock %}diff --git a/posthog/templates/email/hog_function_disabled.html b/posthog/templates/email/hog_function_disabled.htmlindex 9a66865965b4..4e1a3cfa4dca 100644--- a/posthog/templates/email/hog_function_disabled.html+++ b/posthog/templates/email/hog_function_disabled.html@@ -1,34 +1,29 @@{% extends "email/base.html" %}-{% block heading %}A PostHog app has experienced a fatal error{% endblock %}{% block section %}-<!-- prettier-ignore -->-<p>- The destination <b>{{ hog_function.name }}</b> has been disabled in project <b>{{ team }}</b> due to too many errors occurring.-</p>-<p>We've disabled the app for now. We recommend checking the logs, and re-enabling it when the issues have been addressed.</p>-<div class="mb mt text-center">- <a class="button" href="{{ hog_function.url }}">Go to destination</a>-</div>-<p>- If the issue persists, please contact the PostHog team for help.-</p>-<div class="mt">+ <!-- prettier-ignore --><p>- If the button above doesn't work, paste this link into your browser:<br />- <a href="{{ hog_function.url }}">{{ hog_function.url }}</a>+ The destination <b>{{ hog_function.name }}</b> has been disabled in project <b>{{ team }}</b> due to too many errors occurring.</p>-</div>+ <p>We've disabled the app for now. We recommend checking the logs, and re-enabling it when the issues have been addressed.</p>+ <div class="mb mt text-center">+ <a class="button" href="{{ hog_function.url }}">Go to destination</a>+ </div>+ <p>If the issue persists, please contact the PostHog team for help.</p>+ <div class="mt">+ <p>+ If the button above doesn't work, paste this link into your browser:+ <br />+ <a href="{{ hog_function.url }}">{{ hog_function.url }}</a>+ </p>+ </div>{% endblock %}-{% block footer %}-Need help?-<a href="https://posthog.com/questions?{{ utm_tags }}"- target="_blank"><b>Visit support</b></a>-or-<a href="https://posthog.com/docs?{{ utm_tags }}"- target="_blank"><b>read our documentation</b></a>.<br /><br />--<a href="{% absolute_uri '/settings/user-notifications' %}">Manage these notifications in PostHog</a>--{% endblock %}\ No newline at end of file+ Need help?+ <a href="https://posthog.com/questions?{{ utm_tags }}" target="_blank"><b>Visit support</b></a>+ or+ <a href="https://posthog.com/docs?{{ utm_tags }}" target="_blank"><b>read our documentation</b></a>.+ <br />+ <br />+ <a href="{% absolute_uri '/settings/user-notifications' %}">Manage these notifications in PostHog</a>+{% endblock %}diff --git a/posthog/templates/email/hog_functions_daily_digest.html b/posthog/templates/email/hog_functions_daily_digest.htmlindex d761b928606a..7e63e324ad94 100644--- a/posthog/templates/email/hog_functions_daily_digest.html+++ b/posthog/templates/email/hog_functions_daily_digest.html@@ -1,58 +1,65 @@{% extends "email/base.html" %}-{% block preheader %}Data Pipeline Failures Alert{% endblock %}-{% block heading %}Data Pipeline Failures Alert{% endblock %}-{% block section %}-<p>- Your data pipelines had significant failures (>1% failure rate) in the last 24 hours in project <strong>{{ team.name }}</strong>. Functions are sorted by criticality with highest failure rates at the top. You can <a href="{% absolute_uri '/settings/user-notifications' %}">manage these notifications in PostHog</a>.-</p>---<div class="mb mt">- {% for function in functions %}- {% if function.failure_rate >= 10 %}- <div class="mb" style="border: 1px solid #e1e5e9; padding: 16px; border-radius: 8px; border-left: 4px solid #dc3545;">- {% elif function.failure_rate >= 5 %}- <div class="mb" style="border: 1px solid #e1e5e9; padding: 16px; border-radius: 8px; border-left: 4px solid #fd7e14;">- {% else %}- <div class="mb" style="border: 1px solid #e1e5e9; padding: 16px; border-radius: 8px; border-left: 4px solid #ffc107;">- {% endif %}- <h3 style="margin: 0 0 4px 0;">- <a href="{{ function.url }}" target="_blank" style="text-decoration: none; color: #5375ff;">{{ function.name }}</a>- </h3>- <p style="margin: 4px 0; font-size: 0.95em;">Failure rate:+ <p>+ Your data pipelines had significant failures (>1% failure rate) in the last 24 hours in project <strong>{{ team.name }}</strong>. Functions are sorted by criticality with highest failure rates at the top. You can <a href="{% absolute_uri '/settings/user-notifications' %}">manage these notifications in PostHog</a>.+ </p>+ <div class="mb mt">+ {% for function in functions %}{% if function.failure_rate >= 10 %}- <span style="color: #dc3545;">{{ function.failure_rate }}%</span>+ <div class="mb"+ style="border: 1px solid #e1e5e9;+ padding: 16px;+ border-radius: 8px;+ border-left: 4px solid #dc3545">{% elif function.failure_rate >= 5 %}- <span style="color: #fd7e14;">{{ function.failure_rate }}%</span>+ <div class="mb"+ style="border: 1px solid #e1e5e9;+ padding: 16px;+ border-radius: 8px;+ border-left: 4px solid #fd7e14">{% else %}- <span style="color: #f59e0b;">{{ function.failure_rate }}%</span>+ <div class="mb"+ style="border: 1px solid #e1e5e9;+ padding: 16px;+ border-radius: 8px;+ border-left: 4px solid #ffc107">{% endif %}- </p>- <p class="muted" style="margin: 4px 0;">Type: {{ function.type|capfirst }}</p>- <p class="muted" style="margin: 4px 0;">Created by: {% if function.created_by_email %}{{ function.created_by_email }}{% else %}unknown{% endif %}</p>- <p class="muted" style="margin: 4px 0;">Last edited by: {% if function.last_edited_by_email %}{{ function.last_edited_by_email }}{% else %}unknown{% endif %}{% if function.last_edit_date %} on {{ function.last_edit_date }}{% endif %}</p>- <p style="margin: 8px 0 0 0;">✅ Successful runs: {{ function.succeeded|intcomma }} | ❌ Failed runs: {{ function.failed|intcomma }}</p>- </div>- {% endfor %}-</div>--<div class="mb mt text-center">- <a class="button" href="{{ site_url }}/project/{{ team.id }}/pipeline/destinations">- View Destinations- </a>-</div>+ <h3 style="margin: 0 0 4px 0;">+ <a href="{{ function.url }}"+ target="_blank"+ style="text-decoration: none;+ color: #5375ff">{{ function.name }}</a>+ </h3>+ <p style="margin: 4px 0; font-size: 0.95em;">+ Failure rate:+ {% if function.failure_rate >= 10 %}+ <span style="color: #dc3545;">{{ function.failure_rate }}%</span>+ {% elif function.failure_rate >= 5 %}+ <span style="color: #fd7e14;">{{ function.failure_rate }}%</span>+ {% else %}+ <span style="color: #f59e0b;">{{ function.failure_rate }}%</span>+ {% endif %}+ </p>+ <p class="muted" style="margin: 4px 0;">Type: {{ function.type|capfirst }}</p>+ <p class="muted" style="margin: 4px 0;">Created by: {% if function.created_by_email %}{{ function.created_by_email }}{% else %}unknown{% endif %}</p>+ <p class="muted" style="margin: 4px 0;">Last edited by: {% if function.last_edited_by_email %}{{ function.last_edited_by_email }}{% else %}unknown{% endif %}{% if function.last_edit_date %} on {{ function.last_edit_date }}{% endif %}</p>+ <p style="margin: 8px 0 0 0;">✅ Successful runs: {{ function.succeeded|intcomma }} | ❌ Failed runs: {{ function.failed|intcomma }}</p>+ </div>+ {% endfor %}+ </div>+ <div class="mb mt text-center">+ <a class="button"+ href="{{ site_url }}/project/{{ team.id }}/pipeline/destinations">View Destinations</a>+ </div>{% endblock %}-{% block footer %}-Need help?-<a href="https://posthog.com/questions?{{ utm_tags }}"- target="_blank"><b>Visit support</b></a>-or-<a href="https://posthog.com/docs?{{ utm_tags }}"- target="_blank"><b>read our documentation</b></a>.<br /><br />--<a href="{% absolute_uri '/settings/user-notifications' %}">Manage these notifications in PostHog</a>-{% endblock %}\ No newline at end of file+ Need help?+ <a href="https://posthog.com/questions?{{ utm_tags }}" target="_blank"><b>Visit support</b></a>+ or+ <a href="https://posthog.com/docs?{{ utm_tags }}" target="_blank"><b>read our documentation</b></a>.+ <br />+ <br />+ <a href="{% absolute_uri '/settings/user-notifications' %}">Manage these notifications in PostHog</a>+{% endblock %}diff --git a/posthog/templates/email/integration_access_requested.html b/posthog/templates/email/integration_access_requested.htmlindex 416d9eff0e01..43fe6e82609b 100644--- a/posthog/templates/email/integration_access_requested.html+++ b/posthog/templates/email/integration_access_requested.html@@ -1,27 +1,27 @@{% extends "email/base.html" %}-{% block heading %}{{ requester_name }} requested the {{ integration_name }} integration{% endblock %}{% block section %}-<!-- prettier-ignore -->-<p>- <strong>{{ requester_name }}</strong> (<a href="mailto:{{ requester_email }}">{{ requester_email }}</a>) wants the- <strong>{{ integration_name }}</strong> integration connected for <strong>{{ team_name }}</strong>. Connecting- integrations requires admin access, so they're asking you to set it up.-</p>-{% if reason %}-<div class="invite-message">- <div class="invite-message-divider"></div>- <p><strong>Why they need it</strong></p>- <p>{{ reason }}</p>-</div>-{% endif %}-<div class="mb mt text-center">- <a class="button primary" href="{{ connect_url }}">Connect {{ integration_name }}</a>-</div>-<div class="mt">+ <!-- prettier-ignore --><p>- If the button above doesn't work, paste this link into your browser:<br />- <a href="{{ connect_url }}">{{ connect_url }}</a>+ <strong>{{ requester_name }}</strong> (<a href="mailto:{{ requester_email }}">{{ requester_email }}</a>) wants the+ <strong>{{ integration_name }}</strong> integration connected for <strong>{{ team_name }}</strong>. Connecting+ integrations requires admin access, so they're asking you to set it up.</p>-</div>+ {% if reason %}+ <div class="invite-message">+ <div class="invite-message-divider"></div>+ <p><strong>Why they need it</strong></p>+ <p>{{ reason }}</p>+ </div>+ {% endif %}+ <div class="mb mt text-center">+ <a class="button primary" href="{{ connect_url }}">Connect {{ integration_name }}</a>+ </div>+ <div class="mt">+ <p>+ If the button above doesn't work, paste this link into your browser:+ <br />+ <a href="{{ connect_url }}">{{ connect_url }}</a>+ </p>+ </div>{% endblock %}diff --git a/posthog/templates/email/interview_invite.html b/posthog/templates/email/interview_invite.htmlindex 8c058d7b9d47..0c8be23fa0e2 100644--- a/posthog/templates/email/interview_invite.html+++ b/posthog/templates/email/interview_invite.html@@ -1,34 +1,33 @@{% extends "email/base.html" %}-{% block heading %}Got 5 minutes to chat?{% endblock %}-{% block section %}-<p>Hey {{ user_name }},</p>--{% if invite_message %}-<p>{{ invite_message|linebreaksbr }}</p>-{% else %}-<p>- We're researching <strong>{{ topic }}</strong> and your perspective would be really valuable. Got 5–10 minutes for a quick voice conversation?-</p>--<p>- It's a casual call with an AI interviewer — not a sales call, just research. You can do it whenever's convenient in the next few days.-</p>-{% endif %}--<p style="text-align: center; margin: 32px 0;">- <a href="{{ interview_url }}" target="_blank" style="background: #1d4aff; color: #ffffff; padding: 12px 24px; border-radius: 6px; text-decoration: none; font-weight: 600;">- Start the interview- </a>-</p>--<p style="font-size: 12px; color: #888;">- Or paste this link into your browser: <a href="{{ interview_url }}">{{ interview_url }}</a>-</p>--<p>- Thanks!<br />- The PostHog team-</p>+ <p>Hey {{ user_name }},</p>+ {% if invite_message %}+ <p>{{ invite_message|linebreaksbr }}</p>+ {% else %}+ <p>+ We're researching <strong>{{ topic }}</strong> and your perspective would be really valuable. Got 5–10 minutes for a quick voice conversation?+ </p>+ <p>+ It's a casual call with an AI interviewer — not a sales call, just research. You can do it whenever's convenient in the next few days.+ </p>+ {% endif %}+ <p style="text-align: center; margin: 32px 0;">+ <a href="{{ interview_url }}"+ target="_blank"+ style="background: #1d4aff;+ color: #ffffff;+ padding: 12px 24px;+ border-radius: 6px;+ text-decoration: none;+ font-weight: 600">Start the interview</a>+ </p>+ <p style="font-size: 12px; color: #888;">+ Or paste this link into your browser: <a href="{{ interview_url }}">{{ interview_url }}</a>+ </p>+ <p>+ Thanks!+ <br />+ The PostHog team+ </p>{% endblock %}diff --git a/posthog/templates/email/invite.html b/posthog/templates/email/invite.htmlindex 462803a4c415..5afeeaeb6479 100644--- a/posthog/templates/email/invite.html+++ b/posthog/templates/email/invite.html@@ -1,36 +1,34 @@{% extends "email/base.html" %}-{% block section %}-<h1 class="invite-header">- <strong>{{ inviter_first_name }}</strong> has invited you to join- <strong>{{ org_name }}</strong> on PostHog-</h1>-<p class="text-center">- <strong>{{ inviter_first_name }}</strong> ({{ inviter_email }}) has invited you to join- <strong>{{ org_name }}</strong> on PostHog. PostHog is a product analytics suite that helps you- better understand your users. Build the best product <i>together</i>.-</p>-{% if invite_message %}-<div class="invite-message">- <div class="invite-message-divider"></div>- {{ invite_message }}-</div>-{% endif %}-<div class="mb mt text-center">- <a class="button primary" href="{{ invite }}">Join now</a>-</div>-<div class="mt text-center dashed-border">- <p>Or paste this link into your browser:</p>- <a href="{{ invite }}" class="invite-link"><b>{{ invite }}</b></a>-</div>-<p class="invite-bottom">This invitation will expire on {{ expiry_date }}.</p>-<p class="text-center">- <a target="_blank" href="https://posthog.com"><b>https://posthog.com</b></a>-</p>-<div class="text-center">- <img src="{% absolute_asset_url 'email/invite-email-welcome.png' %}" />-</div>--{% block footer %}+ <h1 class="invite-header">+ <strong>{{ inviter_first_name }}</strong> has invited you to join+ <strong>{{ org_name }}</strong> on PostHog+ </h1>+ <p class="text-center">+ <strong>{{ inviter_first_name }}</strong> ({{ inviter_email }}) has invited you to join+ <strong>{{ org_name }}</strong> on PostHog. PostHog is a product analytics suite that helps you+ better understand your users. Build the best product <i>together</i>.+ </p>+ {% if invite_message %}+ <div class="invite-message">+ <div class="invite-message-divider"></div>+ {{ invite_message }}+ </div>+ {% endif %}+ <div class="mb mt text-center">+ <a class="button primary" href="{{ invite }}">Join now</a>+ </div>+ <div class="mt text-center dashed-border">+ <p>Or paste this link into your browser:</p>+ <a href="{{ invite }}" class="invite-link"><b>{{ invite }}</b></a>+ </div>+ <p class="invite-bottom">This invitation will expire on {{ expiry_date }}.</p>+ <p class="text-center">+ <a target="_blank" href="https://posthog.com"><b>https://posthog.com</b></a>+ </p>+ <div class="text-center">+ <img src="{% absolute_asset_url 'email/invite-email-welcome.png' %}"+ alt="Welcome to PostHog" />+ </div>+ {% block footer %}{% endblock %}{% endblock %}-{% endblock %}\ No newline at end of filediff --git a/posthog/templates/email/login_notification.html b/posthog/templates/email/login_notification.htmlindex 7b7e7ed5e442..78636a7cc920 100644--- a/posthog/templates/email/login_notification.html+++ b/posthog/templates/email/login_notification.html@@ -1,19 +1,16 @@{% extends "email/base.html" %}--{% block preheader %}{{preheader}}{% endblock %}+{% block preheader %}{{ preheader }}{% endblock %}{% block heading %}We spotted a login from a new device{% endblock %}{% block section %}-<p>- Someone (hopefully you) logged into your PostHog account from a new device. If this wasn't you, please reset your password.-</p>-<div class="mt mb">- <div><b>Time:</b> {{ login_time }}</div>- <div><b>Location:</b> {{ location|default:"Unknown" }}</div>- <div><b>Browser:</b> {{ browser|default:"Unknown" }}</div>- <div><b>Login method:</b> {{ login_method|default:"Unknown" }}</div>- <div><b>IP:</b> {{ ip_address }}</div>-</div>-<p>- If this was you though, you don't have to do anything except delete this email.-</p>+ <p>+ Someone (hopefully you) logged into your PostHog account from a new device. If this wasn't you, please reset your password.+ </p>+ <div class="mt mb">+ <div><b>Time:</b> {{ login_time }}</div>+ <div><b>Location:</b> {{ location|default:"Unknown" }}</div>+ <div><b>Browser:</b> {{ browser|default:"Unknown" }}</div>+ <div><b>Login method:</b> {{ login_method|default:"Unknown" }}</div>+ <div><b>IP:</b> {{ ip_address }}</div>+ </div>+ <p>If this was you though, you don't have to do anything except delete this email.</p>{% endblock %}diff --git a/posthog/templates/email/loop_run_summary.html b/posthog/templates/email/loop_run_summary.htmlindex b6f2573a3b2a..726f619976bf 100644--- a/posthog/templates/email/loop_run_summary.html+++ b/posthog/templates/email/loop_run_summary.html@@ -1,22 +1,25 @@{% extends "email/base.html" %}-{% block heading %}{{ event_title }}{% endblock %}{% block section %}-<p>- Your loop <b>{{ loop_name }}</b>: {{ event_body }}-</p>-{% if report %}-<div class="mt" style="white-space: pre-wrap; text-align: left; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;">{{ report }}</div>-{% endif %}-{% if run_url %}-<div class="mb mt text-center">- <a class="button" href="{{ run_url }}">View run</a>-</div>-<div class="mt"><p>- If the button above doesn't work, paste this link into your browser:<br />- <a href="{{ run_url }}">{{ run_url }}</a>+ Your loop <b>{{ loop_name }}</b>: {{ event_body }}</p>-</div>-{% endif %}+ {% if report %}+ <div class="mt"+ style="white-space: pre-wrap;+ text-align: left;+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif">{{ report }}</div>+ {% endif %}+ {% if run_url %}+ <div class="mb mt text-center">+ <a class="button" href="{{ run_url }}">View run</a>+ </div>+ <div class="mt">+ <p>+ If the button above doesn't work, paste this link into your browser:+ <br />+ <a href="{{ run_url }}">{{ run_url }}</a>+ </p>+ </div>+ {% endif %}{% endblock %}diff --git a/posthog/templates/email/matview_failure_digest.html b/posthog/templates/email/matview_failure_digest.htmlindex d05c182327d8..47902f73c107 100644--- a/posthog/templates/email/matview_failure_digest.html+++ b/posthog/templates/email/matview_failure_digest.html@@ -1,57 +1,113 @@{% extends "email/base.html" %}-{% block preheader %}Materialized view failures in {{ team.name }}{% endblock %}-{% block heading %}Materialized view failures{% endblock %}-{% block section %}-<p style="color: #374151;">- Here is your daily summary of materialized views that failed in project <strong>{{ team.name }}</strong>.- Views marked as paused have been disabled due to repeated failures and require manual intervention to resume.-</p>--<div style="background-color: #ffffff; border-radius: 8px; padding: 20px; margin-bottom: 12px; border-left: 4px solid #fd7e14;">- <table width="100%" cellpadding="0" cellspacing="0" border="0" style="border-collapse: collapse;">- <thead>- <tr style="border-bottom: 1px solid #e1e5e9;">- <th align="left" style="padding: 8px 8px 8px 0; font-size: 0.75em; color: #9ca3af; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; text-align: left;">View</th>- <th align="left" style="padding: 8px; font-size: 0.75em; color: #9ca3af; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; text-align: left;">Error</th>- <th align="right" style="padding: 8px; font-size: 0.75em; color: #9ca3af; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; text-align: right; white-space: nowrap;">Last run</th>- <th align="right" style="padding: 8px 0 8px 8px; font-size: 0.75em; color: #9ca3af; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; text-align: right; white-space: nowrap;">Paused</th>- </tr>- </thead>- <tbody>- {% for view in views %}- <tr>- <td align="left" style="padding: 10px 8px 10px 0; border-bottom: 1px solid #f3f4f6; vertical-align: top; text-align: left;">- <a href="{{ view.url }}" target="_blank" style="text-decoration: none; color: #111827; font-weight: 600; font-size: 0.9em;">{{ view.name|truncatechars:40 }}</a>- </td>- <td align="left" style="padding: 10px 8px; border-bottom: 1px solid #f3f4f6; vertical-align: top; text-align: left; color: #6b7280; font-size: 0.85em; word-break: break-word;">- {{ view.error|truncatechars:90 }}- </td>- <td align="right" style="padding: 10px 8px; border-bottom: 1px solid #f3f4f6; vertical-align: top; text-align: right; color: #6b7280; font-size: 0.85em; white-space: nowrap;">- {{ view.last_run_at }}- </td>- <td align="right" style="padding: 10px 0 10px 8px; border-bottom: 1px solid #f3f4f6; vertical-align: top; text-align: right; font-size: 0.9em; white-space: nowrap;">- {% if view.paused %}<span style="color: #dc3545; font-weight: 600;">✓</span>{% else %}<span style="color: #9ca3af;">—</span>{% endif %}- </td>- </tr>- {% endfor %}- </tbody>- </table>-</div>--<p style="font-size: 0.85em; color: #6b7280; margin-top: 16px;">- Click any view name to open it in the SQL editor.-</p>-+ <p style="color: #374151;">+ Here is your daily summary of materialized views that failed in project <strong>{{ team.name }}</strong>.+ Views marked as paused have been disabled due to repeated failures and require manual intervention to resume.+ </p>+ <div style="background-color: #ffffff;+ border-radius: 8px;+ padding: 20px;+ margin-bottom: 12px;+ border-left: 4px solid #fd7e14">+ <table width="100%"+ cellpadding="0"+ cellspacing="0"+ border="0"+ style="border-collapse: collapse">+ <thead>+ <tr style="border-bottom: 1px solid #e1e5e9;">+ <th align="left"+ style="padding: 8px 8px 8px 0;+ font-size: 0.75em;+ color: #9ca3af;+ font-weight: 500;+ text-transform: uppercase;+ letter-spacing: 0.05em;+ text-align: left">View</th>+ <th align="left"+ style="padding: 8px;+ font-size: 0.75em;+ color: #9ca3af;+ font-weight: 500;+ text-transform: uppercase;+ letter-spacing: 0.05em;+ text-align: left">Error</th>+ <th align="right"+ style="padding: 8px;+ font-size: 0.75em;+ color: #9ca3af;+ font-weight: 500;+ text-transform: uppercase;+ letter-spacing: 0.05em;+ text-align: right;+ white-space: nowrap">Last run</th>+ <th align="right"+ style="padding: 8px 0 8px 8px;+ font-size: 0.75em;+ color: #9ca3af;+ font-weight: 500;+ text-transform: uppercase;+ letter-spacing: 0.05em;+ text-align: right;+ white-space: nowrap">Paused</th>+ </tr>+ </thead>+ <tbody>+ {% for view in views %}+ <tr>+ <td align="left"+ style="padding: 10px 8px 10px 0;+ border-bottom: 1px solid #f3f4f6;+ vertical-align: top;+ text-align: left">+ <a href="{{ view.url }}"+ target="_blank"+ style="text-decoration: none;+ color: #111827;+ font-weight: 600;+ font-size: 0.9em">{{ view.name|truncatechars:40 }}</a>+ </td>+ <td align="left"+ style="padding: 10px 8px;+ border-bottom: 1px solid #f3f4f6;+ vertical-align: top;+ text-align: left;+ color: #6b7280;+ font-size: 0.85em;+ word-break: break-word">{{ view.error|truncatechars:90 }}</td>+ <td align="right"+ style="padding: 10px 8px;+ border-bottom: 1px solid #f3f4f6;+ vertical-align: top;+ text-align: right;+ color: #6b7280;+ font-size: 0.85em;+ white-space: nowrap">{{ view.last_run_at }}</td>+ <td align="right"+ style="padding: 10px 0 10px 8px;+ border-bottom: 1px solid #f3f4f6;+ vertical-align: top;+ text-align: right;+ font-size: 0.9em;+ white-space: nowrap">+ {% if view.paused %}<span style="color: #dc3545; font-weight: 600;">✓</span>{% else %}<span style="color: #9ca3af;">—</span>{% endif %}+ </td>+ </tr>+ {% endfor %}+ </tbody>+ </table>+ </div>+ <p style="font-size: 0.85em; color: #6b7280; margin-top: 16px;">Click any view name to open it in the SQL editor.</p>{% endblock %}-{% block footer %}-Need help?-<a href="https://posthog.com/questions?{{ utm_tags }}" target="_blank"><b>Visit support</b></a>-or-<a href="https://posthog.com/docs/data-warehouse/views?{{ utm_tags }}" target="_blank"><b>read our documentation</b></a>.<br /><br />--<a href="{% absolute_uri '/settings/user-notifications' %}">Manage these notifications in PostHog</a>+ Need help?+ <a href="https://posthog.com/questions?{{ utm_tags }}" target="_blank"><b>Visit support</b></a>+ or+ <a href="https://posthog.com/docs/data-warehouse/views?{{ utm_tags }}"+ target="_blank"><b>read our documentation</b></a>.+ <br />+ <br />+ <a href="{% absolute_uri '/settings/user-notifications' %}">Manage these notifications in PostHog</a>{% endblock %}diff --git a/posthog/templates/email/member_join.html b/posthog/templates/email/member_join.htmlindex 0261f3a890b3..061321273b07 100644--- a/posthog/templates/email/member_join.html+++ b/posthog/templates/email/member_join.html@@ -1,18 +1,18 @@{% extends "email/base.html" %}-{% block heading %}{{ invitee_first_name }}{% if invitee_last_name %} {{ invitee_last_name }}{% endif %} accepted their PostHog invitation{% endblock %}{% block section %}-<!-- prettier-ignore -->-<p>- {{ invitee_first_name }}{% if invitee_last_name %} {{ invitee_last_name }}{% endif %} (<a href="mailto:{{ invitee.email }}">{{ invitee.email }}</a>) just joined you at {{ organization_name }}.-</p>-<div class="mb mt text-center">- <a class="button" href="{% absolute_uri %}">View PostHog insights</a>-</div>-<div class="mt">+ <!-- prettier-ignore --><p>- If the button above doesn't work, paste this link into your browser:<br />- <a href="{% absolute_uri %}">{% absolute_uri %}</a>+ {{ invitee_first_name }}{% if invitee_last_name %} {{ invitee_last_name }}{% endif %} (<a href="mailto:{{ invitee.email }}">{{ invitee.email }}</a>) just joined you at {{ organization_name }}.</p>-</div>+ <div class="mb mt text-center">+ <a class="button" href="{% absolute_uri %}">View PostHog insights</a>+ </div>+ <div class="mt">+ <p>+ If the button above doesn't work, paste this link into your browser:+ <br />+ <a href="{% absolute_uri %}">{% absolute_uri %}</a>+ </p>+ </div>{% endblock %}diff --git a/posthog/templates/email/new_conversation_ticket.html b/posthog/templates/email/new_conversation_ticket.htmlindex 557a173f5214..efef4875e943 100644--- a/posthog/templates/email/new_conversation_ticket.html+++ b/posthog/templates/email/new_conversation_ticket.html@@ -1,40 +1,37 @@{% extends "email/base.html" %}-{% block heading %}New support ticket received{% endblock %}{% block section %}-<!-- prettier-ignore -->-<p>- A new support ticket has been created in project <b>{{ team_name }}</b>.-</p>-<p>- <b>Ticket #{{ ticket_number }}</b>-</p>-{% if customer_name %}-<p>- <b>From:</b> {{ customer_name }}{% if customer_email %} ({{ customer_email }}){% endif %}-</p>-{% endif %}-<p>- <b>Message:</b><br />- {{ first_message }}-</p>-<div class="mb mt text-center">- <a class="button" href="{{ ticket_url }}">View ticket</a>-</div>-<div class="mt">+ <!-- prettier-ignore --><p>- If the button above doesn't work, paste this link into your browser:<br />- <a href="{{ ticket_url }}">{{ ticket_url }}</a>+ A new support ticket has been created in project <b>{{ team_name }}</b>.</p>-</div>+ <p>+ <b>Ticket #{{ ticket_number }}</b>+ </p>+ {% if customer_name %}+ <p>+ <b>From:</b> {{ customer_name }}{% if customer_email %} ({{ customer_email }}){% endif %}+ </p>+ {% endif %}+ <p>+ <b>Message:</b>+ <br />+ {{ first_message }}+ </p>+ <div class="mb mt text-center">+ <a class="button" href="{{ ticket_url }}">View ticket</a>+ </div>+ <div class="mt">+ <p>+ If the button above doesn't work, paste this link into your browser:+ <br />+ <a href="{{ ticket_url }}">{{ ticket_url }}</a>+ </p>+ </div>{% endblock %}-{% block footer %}-Need help?-<a href="https://posthog.com/questions?{{ utm_tags }}"- target="_blank"><b>Visit support</b></a>-or-<a href="https://posthog.com/docs?{{ utm_tags }}"- target="_blank"><b>Read our documentation</b></a>.-+ Need help?+ <a href="https://posthog.com/questions?{{ utm_tags }}" target="_blank"><b>Visit support</b></a>+ or+ <a href="https://posthog.com/docs?{{ utm_tags }}" target="_blank"><b>Read our documentation</b></a>.{% endblock %}diff --git a/posthog/templates/email/oauth_token_exposed.html b/posthog/templates/email/oauth_token_exposed.htmlindex d5e11c0746b4..39167911a7cc 100644--- a/posthog/templates/email/oauth_token_exposed.html+++ b/posthog/templates/email/oauth_token_exposed.html@@ -1,13 +1,12 @@{% extends "email/base.html" %}-{% block heading %}{{ token_type }} has been revoked{% endblock %}{% block section %}-<p>- Your {{ token_type }} with value <strong>{{ mask_value }}</strong> was publicly exposed.- {% if more_info %}{{ more_info }}{% endif %}-</p>-<p>- To protect your account, this token and all related tokens for this application have been revoked.- Any application using these tokens will need to be reauthorized.-</p>-{% endblock %} {% block preheader %}{{preheader}}{% endblock %}+ <p>+ Your {{ token_type }} with value <strong>{{ mask_value }}</strong> was publicly exposed.+ {% if more_info %}{{ more_info }}{% endif %}+ </p>+ <p>+ To protect your account, this token and all related tokens for this application have been revoked.+ Any application using these tokens will need to be reauthorized.+ </p>+{% endblock %} {% block preheader %}{{ preheader }}{% endblock %}diff --git a/posthog/templates/email/organization_deleted.html b/posthog/templates/email/organization_deleted.htmlindex 48fca18e03d0..6af84dd694f5 100644--- a/posthog/templates/email/organization_deleted.html+++ b/posthog/templates/email/organization_deleted.html@@ -1,10 +1,7 @@{% extends "email/base.html" %}-{% block section %}-<p>- As requested, we've deleted your organization <strong>{{ organization_name }}</strong>{% if project_names %} and its project{{ project_names|length|pluralize }}: <strong>{{ project_names|join:", " }}</strong>{% endif %}.-</p>-<p>- This can't be undone, but hey, if you ever want to start fresh, we'll be here.-</p>+ <p>+ As requested, we've deleted your organization <strong>{{ organization_name }}</strong>{% if project_names %} and its project{{ project_names|length|pluralize }}: <strong>{{ project_names|join:", " }}</strong>{% endif %}.+ </p>+ <p>This can't be undone, but hey, if you ever want to start fresh, we'll be here.</p>{% endblock %} {% block heading %}Organization deleted{% endblock %}diff --git a/posthog/templates/email/passkey_added.html b/posthog/templates/email/passkey_added.htmlindex 25694f6b212a..a22d02ce3129 100644--- a/posthog/templates/email/passkey_added.html+++ b/posthog/templates/email/passkey_added.html@@ -1,9 +1,6 @@{% extends "email/base.html" %}-{% block section %}-<p>Hey, {{ user_name }},</p>--<p>You added a passkey to {{ user_email }}.</p>--<p>This is generally good news because it helps protect your account, but if you didn't do this or think it sounds suspicious then please let us know.</p>+ <p>Hey, {{ user_name }},</p>+ <p>You added a passkey to {{ user_email }}.</p>+ <p>This is generally good news because it helps protect your account, but if you didn't do this or think it sounds suspicious then please let us know.</p>{% endblock %}diff --git a/posthog/templates/email/passkey_removed.html b/posthog/templates/email/passkey_removed.htmlindex cdaddc4cb600..8ef5def3e062 100644--- a/posthog/templates/email/passkey_removed.html+++ b/posthog/templates/email/passkey_removed.html@@ -1,9 +1,6 @@{% extends "email/base.html" %}-{% block section %}-<p>Hey, {{ user_name }},</p>--<p>You removed a passkey from {{ user_email }}.</p>--<p>If you didn't do this or think it sounds suspicious then please let us know.</p>+ <p>Hey, {{ user_name }},</p>+ <p>You removed a passkey from {{ user_email }}.</p>+ <p>If you didn't do this or think it sounds suspicious then please let us know.</p>{% endblock %}diff --git a/posthog/templates/email/password_changed.html b/posthog/templates/email/password_changed.htmlindex c3a5a50b13b8..a22b69c50653 100644--- a/posthog/templates/email/password_changed.html+++ b/posthog/templates/email/password_changed.html@@ -1,8 +1,7 @@{% extends "email/base.html" %}-{% block section %}-<p>- Someone (hopefully you) changed the password on your PostHog account{% if cloud %} on PostHog Cloud.{%else%}- hosted on {% strip_protocol site_url %}{% endif %}.+ <p>+ Someone (hopefully you) changed the password on your PostHog account{% if cloud %} on PostHog Cloud.{% else %}+ hosted on {% strip_protocol site_url %}{% endif %}.</p>-{% endblock %}\ No newline at end of file+{% endblock %}diff --git a/posthog/templates/email/password_reset.html b/posthog/templates/email/password_reset.htmlindex 2acc99288a86..aaa0094fca25 100644--- a/posthog/templates/email/password_reset.html+++ b/posthog/templates/email/password_reset.html@@ -1,25 +1,23 @@{% extends "email/base.html" %}-{% block section %}-<p>- Someone (hopefully you) requested a password reset for your PostHog account{% if cloud %} on PostHog Cloud.{%else%}- hosted on {% strip_protocol site_url %}{% endif %}.+ <p>+ Someone (hopefully you) requested a password reset for your PostHog account{% if cloud %} on PostHog Cloud.{% else %}+ hosted on {% strip_protocol site_url %}{% endif %}.</p>{% if social_providers|length > 0 %}-<div class="mt mb">- Our records show you have <b>linked your account</b> to the following social/SSO provider(s):- <a href="{% absolute_uri '/login' %}"><b style="color: #c277cf">{% human_social_providers social_providers %}</b></a- >. You can try logging in with a social provider, or alternatively click below to create a new password.-</div>+ <div class="mt mb">+ Our records show you have <b>linked your account</b> to the following social/SSO provider(s):+ <a href="{% absolute_uri '/login' %}"><b style="color: #c277cf">{% human_social_providers social_providers %}</b></a>. You can try logging in with a social provider, or alternatively click below to create a new password.+ </div>{% endif %}<div class="mb mt text-center"><a class="button" href="{% absolute_uri link %}">Reset your password</a></div>-<div class="mt"><p>- If the button above doesn't work, paste this link into your browser:<br />+ If the button above doesn't work, paste this link into your browser:+ <br /><a href="{% absolute_uri link %}">{% absolute_uri link %}</a></p></div>-{% endblock %} {% block preheader %}{{preheader}}{% endblock %}{% block heading %}Password reset request{% endblock %}+{% endblock %} {% block preheader %}{{ preheader }}{% endblock %}{% block heading %}Password reset request{% endblock %}diff --git a/posthog/templates/email/personal_api_key_exposed.html b/posthog/templates/email/personal_api_key_exposed.htmlindex 060261b01da7..9675f5c8231d 100644--- a/posthog/templates/email/personal_api_key_exposed.html+++ b/posthog/templates/email/personal_api_key_exposed.html@@ -1,22 +1,19 @@{% extends "email/base.html" %}-{% block heading %}Personal API key has been deactivated{% endblock %}{% block section %}-<p>- Your personal API key <strong>{{ label }}</strong> with value <strong>{{ mask_value }}</strong> was publicly exposed.- {% if more_info %}{{ more_info }}{% endif %}-</p>-<p>- To protect your account, this key is no longer valid. You can reactivate this key by rolling it.-</p>-<div class="mb mt text-center">- <a class="button" href="{{ url }}">Roll your key</a>-</div>--<div class="mt"><p>- If the button above doesn't work, paste this link into your browser:<br />- <a href="{{ url }}">{{ url }}</a>+ Your personal API key <strong>{{ label }}</strong> with value <strong>{{ mask_value }}</strong> was publicly exposed.+ {% if more_info %}{{ more_info }}{% endif %}</p>-</div>-{% endblock %} {% block preheader %}{{preheader}}{% endblock %}+ <p>To protect your account, this key is no longer valid. You can reactivate this key by rolling it.</p>+ <div class="mb mt text-center">+ <a class="button" href="{{ url }}">Roll your key</a>+ </div>+ <div class="mt">+ <p>+ If the button above doesn't work, paste this link into your browser:+ <br />+ <a href="{{ url }}">{{ url }}</a>+ </p>+ </div>+{% endblock %} {% block preheader %}{{ preheader }}{% endblock %}diff --git a/posthog/templates/email/posthog_ai_access_requested.html b/posthog/templates/email/posthog_ai_access_requested.htmlindex 62a3ec8bbdf8..198084c0a281 100644--- a/posthog/templates/email/posthog_ai_access_requested.html+++ b/posthog/templates/email/posthog_ai_access_requested.html@@ -1,20 +1,20 @@{% extends "email/base.html" %}-{% block heading %}{{ requester_name }} requested access to PostHog AI{% endblock %}{% block section %}-<!-- prettier-ignore -->-<p>- <strong>{{ requester_name }}</strong> (<a href="mailto:{{ requester_email }}">{{ requester_email }}</a>) wants to- use PostHog AI in <strong>{{ organization_name }}</strong>. Enabling PostHog AI requires admin access, so they're- asking you to turn it on.-</p>-<div class="mb mt text-center">- <a class="button primary" href="{{ posthog_ai_url }}">Enable PostHog AI</a>-</div>-<div class="mt">+ <!-- prettier-ignore --><p>- If the button above doesn't work, paste this link into your browser:<br />- <a href="{{ posthog_ai_url }}">{{ posthog_ai_url }}</a>+ <strong>{{ requester_name }}</strong> (<a href="mailto:{{ requester_email }}">{{ requester_email }}</a>) wants to+ use PostHog AI in <strong>{{ organization_name }}</strong>. Enabling PostHog AI requires admin access, so they're+ asking you to turn it on.</p>-</div>+ <div class="mb mt text-center">+ <a class="button primary" href="{{ posthog_ai_url }}">Enable PostHog AI</a>+ </div>+ <div class="mt">+ <p>+ If the button above doesn't work, paste this link into your browser:+ <br />+ <a href="{{ posthog_ai_url }}">{{ posthog_ai_url }}</a>+ </p>+ </div>{% endblock %}diff --git a/posthog/templates/email/project_deleted.html b/posthog/templates/email/project_deleted.htmlindex fbc5ae367906..156f314abf7b 100644--- a/posthog/templates/email/project_deleted.html+++ b/posthog/templates/email/project_deleted.html@@ -1,10 +1,7 @@{% extends "email/base.html" %}-{% block section %}-<p>- As requested, we've deleted <strong>{{ project_name }}</strong> and all its data.-</p>-<p>- This can't be undone, but hey, if you ever want to start fresh, we'll be here.-</p>+ <p>+ As requested, we've deleted <strong>{{ project_name }}</strong> and all its data.+ </p>+ <p>This can't be undone, but hey, if you ever want to start fresh, we'll be here.</p>{% endblock %} {% block heading %}Project deleted{% endblock %}diff --git a/posthog/templates/email/project_secret_api_key_exposed.html b/posthog/templates/email/project_secret_api_key_exposed.htmlindex ace3d0c04de9..3108250ae0eb 100644--- a/posthog/templates/email/project_secret_api_key_exposed.html+++ b/posthog/templates/email/project_secret_api_key_exposed.html@@ -1,22 +1,21 @@{% extends "email/base.html" %}-{% block heading %}Project secret API key has been deactivated{% endblock %}{% block section %}-<p>- The <strong>{{ project_name }}</strong> project's secret API key <strong>{{ label }}</strong> with value <strong>{{ mask_value }}</strong> was publicly exposed.- {% if more_info %}{{ more_info }}{% endif %}-</p>-<p>- To protect your project, this key is no longer valid. Roll the key in project settings to get a new value, then update your systems to use it.-</p>-<div class="mb mt text-center">- <a class="button" href="{{ url }}">Go to project settings</a>-</div>--<div class="mt"><p>- If the button above doesn't work, paste this link into your browser:<br />- <a href="{{ url }}">{{ url }}</a>+ The <strong>{{ project_name }}</strong> project's secret API key <strong>{{ label }}</strong> with value <strong>{{ mask_value }}</strong> was publicly exposed.+ {% if more_info %}{{ more_info }}{% endif %}</p>-</div>-{% endblock %} {% block preheader %}{{preheader}}{% endblock %}+ <p>+ To protect your project, this key is no longer valid. Roll the key in project settings to get a new value, then update your systems to use it.+ </p>+ <div class="mb mt text-center">+ <a class="button" href="{{ url }}">Go to project settings</a>+ </div>+ <div class="mt">+ <p>+ If the button above doesn't work, paste this link into your browser:+ <br />+ <a href="{{ url }}">{{ url }}</a>+ </p>+ </div>+{% endblock %} {% block preheader %}{{ preheader }}{% endblock %}diff --git a/posthog/templates/email/provisioning_welcome.html b/posthog/templates/email/provisioning_welcome.htmlindex 7db8ad089df0..4154bbcf1b36 100644--- a/posthog/templates/email/provisioning_welcome.html+++ b/posthog/templates/email/provisioning_welcome.html@@ -1,25 +1,20 @@{% extends "email/base.html" %}-{% block section %}-<p>- Welcome to PostHog! Your account was created{% if partner_name %} via {{ partner_name }}{% endif %}.-</p>-{% if repository %}-<p>- We're setting up PostHog in <strong>{{ repository }}</strong> in the background — a pull request will appear on the repository shortly.-</p>-{% endif %}-<p>- Set a password to log in to PostHog directly.-</p>-<div class="mb mt text-center">- <a class="button" href="{% absolute_uri link %}">Set your password</a>-</div>--<div class="mt muted">- <p>- If the button above doesn't work, paste this link into your browser:<br />- <a href="{% absolute_uri link %}">{% absolute_uri link %}</a>- </p>-</div>-{% endblock %} {% block preheader %}{{preheader}}{% endblock %}{% block heading %}Welcome to PostHog{% endblock %}+ <p>Welcome to PostHog! Your account was created{% if partner_name %} via {{ partner_name }}{% endif %}.</p>+ {% if repository %}+ <p>+ We're setting up PostHog in <strong>{{ repository }}</strong> in the background — a pull request will appear on the repository shortly.+ </p>+ {% endif %}+ <p>Set a password to log in to PostHog directly.</p>+ <div class="mb mt text-center">+ <a class="button" href="{% absolute_uri link %}">Set your password</a>+ </div>+ <div class="mt muted">+ <p>+ If the button above doesn't work, paste this link into your browser:+ <br />+ <a href="{% absolute_uri link %}">{% absolute_uri link %}</a>+ </p>+ </div>+{% endblock %} {% block preheader %}{{ preheader }}{% endblock %}{% block heading %}Welcome to PostHog{% endblock %}diff --git a/posthog/templates/email/proxy_provisioned.html b/posthog/templates/email/proxy_provisioned.htmlindex 9bc441222ab6..e3deb694ce71 100644--- a/posthog/templates/email/proxy_provisioned.html+++ b/posthog/templates/email/proxy_provisioned.html@@ -1,26 +1,24 @@{% extends "email/base.html" %}-{% block preheader %}Your reverse proxy for {{ domain }} is ready to use{% endblock %}{% block heading %}Your reverse proxy is ready{% endblock %}{% block section %}-<!-- prettier-ignore -->-<p>- Hey{% if user_name %} {{ user_name }}{% endif %},-</p>-<p>- Great news! Your reverse proxy for <strong>{{ domain }}</strong> has been successfully provisioned and is ready to use.-</p>-<p>- You can now update your PostHog SDK configuration to send events through <strong>{{ domain }}</strong> instead of- directly to PostHog. This helps improve data collection reliability by routing traffic through your own domain.-</p>-<div class="mb mt text-center">- <a class="button" href="{{ settings_url }}">View proxy settings</a>-</div>-<div class="mt">+ <!-- prettier-ignore -->+ <p>Hey{% if user_name %} {{ user_name }}{% endif %},</p><p>- If the button above doesn't work, paste this link into your browser:<br />- <a href="{{ settings_url }}">{{ settings_url }}</a>+ Great news! Your reverse proxy for <strong>{{ domain }}</strong> has been successfully provisioned and is ready to use.</p>-</div>+ <p>+ You can now update your PostHog SDK configuration to send events through <strong>{{ domain }}</strong> instead of+ directly to PostHog. This helps improve data collection reliability by routing traffic through your own domain.+ </p>+ <div class="mb mt text-center">+ <a class="button" href="{{ settings_url }}">View proxy settings</a>+ </div>+ <div class="mt">+ <p>+ If the button above doesn't work, paste this link into your browser:+ <br />+ <a href="{{ settings_url }}">{{ settings_url }}</a>+ </p>+ </div>{% endblock %}diff --git a/posthog/templates/email/saved_query_materialization_failure.html b/posthog/templates/email/saved_query_materialization_failure.htmlindex ecc0f55d75ba..bc9962460d9e 100644--- a/posthog/templates/email/saved_query_materialization_failure.html+++ b/posthog/templates/email/saved_query_materialization_failure.html@@ -1,37 +1,30 @@{% extends "email/base.html" %}-{% block preheader %}Your materialized view failed to sync{% endblock %}{% block heading %}Materialized view '{{ saved_query_name }}' sync failed{% endblock %}{% block section %}-<p>- Your materialized view <b>{{ saved_query_name }}</b> failed to sync. Please review the view in the SQL editor to see the error details and take any necessary action.-</p>--<div class="mb mt text-center">- <a href="{% absolute_uri '/project' %}/{{ team.id }}/sql?open_view={{ saved_query_id }}"- target="_blank"><b>Open the view</b></a>-</div>--<div class="mt">- <p>- If the button above doesn't work, paste this link into your browser:<br />- <a href="{% absolute_uri '/project' %}/{{ team.id }}/sql?open_view={{ saved_query_id }}">{% absolute_uri '/project' %}/{{ team.id }}/sql?open_view={{ saved_query_id }}</a>- </p>-</div>--<p>- If you can't diagnose the issue, please contact us for help.-</p>+ <p>+ Your materialized view <b>{{ saved_query_name }}</b> failed to sync. Please review the view in the SQL editor to see the error details and take any necessary action.+ </p>+ <div class="mb mt text-center">+ <a href="{% absolute_uri '/project' %}/{{ team.id }}/sql?open_view={{ saved_query_id }}"+ target="_blank"><b>Open the view</b></a>+ </div>+ <div class="mt">+ <p>+ If the button above doesn't work, paste this link into your browser:+ <br />+ <a href="{% absolute_uri '/project' %}/{{ team.id }}/sql?open_view={{ saved_query_id }}">{% absolute_uri '/project' %}/{{ team.id }}/sql?open_view={{ saved_query_id }}</a>+ </p>+ </div>+ <p>If you can't diagnose the issue, please contact us for help.</p>{% endblock %}-{% block footer %}-Need help?-<a href="https://posthog.com/questions?{{ utm_tags }}"- target="_blank"><b>Visit support</b></a>-or-<a href="https://posthog.com/docs/data-warehouse/views?{{ utm_tags }}"- target="_blank"><b>read our documentation</b></a>.<br /><br />--<a href="{% absolute_uri '/settings/user-notifications' %}">Manage these notifications in PostHog</a>-+ Need help?+ <a href="https://posthog.com/questions?{{ utm_tags }}" target="_blank"><b>Visit support</b></a>+ or+ <a href="https://posthog.com/docs/data-warehouse/views?{{ utm_tags }}"+ target="_blank"><b>read our documentation</b></a>.+ <br />+ <br />+ <a href="{% absolute_uri '/settings/user-notifications' %}">Manage these notifications in PostHog</a>{% endblock %}diff --git a/posthog/templates/email/styles.html b/posthog/templates/email/styles.htmlindex 431440a66891..4be5b3ffb5f1 100644--- a/posthog/templates/email/styles.html+++ b/posthog/templates/email/styles.html@@ -226,7 +226,6 @@}</style>-<style type="text/css" inline="false">@media only screen and (max-width: 480px) {diff --git a/posthog/templates/email/subscription_delivery_failed.html b/posthog/templates/email/subscription_delivery_failed.htmlindex d8f2e6b3baa2..52d4c67632ec 100644--- a/posthog/templates/email/subscription_delivery_failed.html+++ b/posthog/templates/email/subscription_delivery_failed.html@@ -1,17 +1,16 @@{% extends "email/base.html" %}-{% block section %}-<p>- PostHog could not deliver your subscription <strong>{{ subscription_title }}</strong>.-</p>-<p>- It was scheduled for <strong>{{ scheduled_at|date:"F j, Y, g:i A T" }}</strong>.-</p>-<p>- We have been notified and are investigating. You do not need to take any action. We will try again at its next- scheduled delivery.-</p>-<div class="mb mt text-center">- <a class="button" href="{{ subscription_url }}">Manage subscription</a>-</div>+ <p>+ PostHog could not deliver your subscription <strong>{{ subscription_title }}</strong>.+ </p>+ <p>+ It was scheduled for <strong>{{ scheduled_at|date:"F j, Y, g:i A T" }}</strong>.+ </p>+ <p>+ We have been notified and are investigating. You do not need to take any action. We will try again at its next+ scheduled delivery.+ </p>+ <div class="mb mt text-center">+ <a class="button" href="{{ subscription_url }}">Manage subscription</a>+ </div>{% endblock %}diff --git a/posthog/templates/email/subscription_disabled.html b/posthog/templates/email/subscription_disabled.htmlindex 3dba60bd59b1..f14384ed15ab 100644--- a/posthog/templates/email/subscription_disabled.html+++ b/posthog/templates/email/subscription_disabled.html@@ -1,5 +1,4 @@{% extends "email/base.html" %}-{% block section %}<p>Your subscription <strong>{{ subscription_title }}</strong> has been@@ -7,13 +6,13 @@</p><p><i>{{ reason }}</i></p>{% if action_message %}- <p>{{ action_message }}</p>+ <p>{{ action_message }}</p>{% else %}- <p>To resume delivery, fix the issue above and re-enable the subscription.</p>+ <p>To resume delivery, fix the issue above and re-enable the subscription.</p>{% endif %}{% if subscription_url %}- <div class="mb mt text-center">- <a class="button" href="{% absolute_uri subscription_url %}">Manage subscription</a>- </div>+ <div class="mb mt text-center">+ <a class="button" href="{% absolute_uri subscription_url %}">Manage subscription</a>+ </div>{% endif %}{% endblock %}diff --git a/posthog/templates/email/subscription_report.html b/posthog/templates/email/subscription_report.htmlindex 31c99d16be7f..fa1320af8e69 100644--- a/posthog/templates/email/subscription_report.html+++ b/posthog/templates/email/subscription_report.html@@ -1,82 +1,80 @@{% extends "email/base.html" %}-{% block section %}--{% if inviter %}-<h1 class="invite-header">- {% if self_invite %}- You have been subscribed+ {% if inviter %}+ <h1 class="invite-header">+ {% if self_invite %}+ You have been subscribed+ {% else %}+ <strong>{{ inviter.first_name }}</strong> has subscribed you+ {% endif %}+ to the {{ resource_noun }} <strong>{{ resource_name }}</strong> on PostHog.+ </h1>+ <p>{{ invite_summary }}</p>+ {% if invite_message %}+ <div class="invite-message">+ <div class="invite-message-divider"></div>+ "{{ invite_message }}"+ </div>+ {% endif %}{% else %}- <strong>{{ inviter.first_name }}</strong> has subscribed you+ <p><strong>Hello,</strong></p>+ <p>+ Your subscription to the {{ resource_noun }}+ <strong>{{ resource_name }}</strong> is ready!+ {% if resource_noun == "Dashboard" %}+ Email subscriptions are limited to at most 6 insights.+ {% endif %}+ </p>{% endif %}-- to the {{ resource_noun }} <strong>{{ resource_name }}</strong> on PostHog.-</h1>--<p>-{{ invite_summary }}-</p>--{% if invite_message %}--<div class="invite-message">- <div class="invite-message-divider"></div>- "{{ invite_message }}"-</div>-{% endif %}--{% else %}--<p><strong>Hello,</strong></p>-<p>- Your subscription to the {{ resource_noun }}- <strong>{{ resource_name }}</strong> is ready!-- {% if resource_noun == "Dashboard" %}- Email subscriptions are limited to at most 6 insights.+ {% if asset_data|length < total_asset_count %}+ <p class="text-center muted font-bold">+ SHOWING {{ asset_data|length }} OF {{ total_asset_count }} DASHBOARD INSIGHTS+ </p>{% endif %}-</p>-{% endif %}--{% if asset_data|length < total_asset_count %}-<p class="text-center muted font-bold">- SHOWING {{ asset_data|length }} OF {{ total_asset_count }} DASHBOARD INSIGHTS-</p>-{% endif %}--{% if change_summary %}-<div style="padding: 16px; background-color: #f0f4ff; border: 1px solid #d0d8f0; border-radius: 4px; margin-bottom: 16px;">- <p style="margin: 0 0 8px 0; font-weight: bold;">AI summary:</p>- <div style="margin: 0;">{{ change_summary|linebreaksbr }}</div>-</div>-{% elif summary_skipped_over_budget %}-<div style="padding: 16px; background-color: #fff8e6; border: 1px solid #f0e0b0; border-radius: 4px; margin-bottom: 16px;">- <p style="margin: 0; font-weight: bold;">AI summary skipped</p>- <p style="margin: 8px 0 0 0;">Your organization has reached its AI credit usage limit, so the AI summary wasn't generated for this report. <a href="{{ billing_url }}">Increase the limit in Billing settings</a> to resume summaries.</p>-</div>-{% endif %}--{% for asset in asset_data %}- {% if asset.error %}- <div class="insight-error mb" style="padding: 16px; background-color: #fee; border: 1px solid #fcc; border-radius: 4px; margin-bottom: 16px;">- <p style="margin: 0; font-weight: bold;">❌ {{ asset.insight_name }}</p>- <p style="margin: 8px 0 0 0;">There was an error generating your asset: {{ asset.error_message }}</p>- <p style="margin: 8px 0 0 0; font-style: italic; font-size: 0.9em;">If this issue persists, please contact support.</p>+ {% if change_summary %}+ <div style="padding: 16px;+ background-color: #f0f4ff;+ border: 1px solid #d0d8f0;+ border-radius: 4px;+ margin-bottom: 16px">+ <p style="margin: 0 0 8px 0; font-weight: bold;">AI summary:</p>+ <div style="margin: 0;">{{ change_summary|linebreaksbr }}</div>+ </div>+ {% elif summary_skipped_over_budget %}+ <div style="padding: 16px;+ background-color: #fff8e6;+ border: 1px solid #f0e0b0;+ border-radius: 4px;+ margin-bottom: 16px">+ <p style="margin: 0; font-weight: bold;">AI summary skipped</p>+ <p style="margin: 8px 0 0 0;">Your organization has reached its AI credit usage limit, so the AI summary wasn't generated for this report. <a href="{{ billing_url }}">Increase the limit in Billing settings</a> to resume summaries.</p></div>- {% else %}- <img class="insight-image mb" src="{{ asset.image_url }}" />{% endif %}-{% endfor %}--<div class="mb mt text-center">- <a class="button primary" href="{{ resource_url }}">View in PostHog</a>-</div>--<div class="divider"></div>--<p class="text-center">- <a target="_blank" href="{{ subscription_url }}"><b>Manage this subscription in PostHog</b></a>- or- <a target="_blank" href="{{ unsubscribe_url }}"><b>unsubscribe now.</b></a>-</p>+ {% for asset in asset_data %}+ {% if asset.error %}+ <div class="insight-error mb"+ style="padding: 16px;+ background-color: #fee;+ border: 1px solid #fcc;+ border-radius: 4px;+ margin-bottom: 16px">+ <p style="margin: 0; font-weight: bold;">❌ {{ asset.insight_name }}</p>+ <p style="margin: 8px 0 0 0;">There was an error generating your asset: {{ asset.error_message }}</p>+ <p style="margin: 8px 0 0 0; font-style: italic; font-size: 0.9em;">If this issue persists, please contact support.</p>+ </div>+ {% else %}+ <img class="insight-image mb"+ src="{{ asset.image_url }}"+ alt="{{ asset.insight_name|default:'Insight' }}" />+ {% endif %}+ {% endfor %}+ <div class="mb mt text-center">+ <a class="button primary" href="{{ resource_url }}">View in PostHog</a>+ </div>+ <div class="divider"></div>+ <p class="text-center">+ <a target="_blank" href="{{ subscription_url }}"><b>Manage this subscription in PostHog</b></a>+ or+ <a target="_blank" href="{{ unsubscribe_url }}"><b>unsubscribe now.</b></a>+ </p>{% endblock %}diff --git a/posthog/templates/email/web_analytics_weekly_digest.html b/posthog/templates/email/web_analytics_weekly_digest.htmlindex 472052e25230..3cc28b9de370 100644--- a/posthog/templates/email/web_analytics_weekly_digest.html+++ b/posthog/templates/email/web_analytics_weekly_digest.html@@ -1,188 +1,355 @@{% extends "email/base.html" %}-{% block head %}-<style type="text/css">- body, .main { background-color: #f3f4f0 !important; }-</style>+ <style type="text/css">body, .main { background-color: #f3f4f0 !important; }</style>{% endblock %}-{% block preheader %}Web analytics weekly digest for {{ organization.name }} organization{% endblock %}-{% block main %}-<p style="font-size: 1.1em; color: #374151; margin: 0 0 24px 0;">Web analytics weekly digest for <strong>{{ organization.name }}</strong> organization</p>--{% for section in project_sections %}-<!-- Project section: {{ section.team.name }} -->-<div style="margin-bottom: 40px;">- <table width="100%" cellpadding="0" cellspacing="0" border="0" style="margin-bottom: 12px;">- <tr>- <td style="width: 50%; vertical-align: middle;"><div style="height: 1px; background-color: #d1d5db;"></div></td>- <td style="white-space: nowrap; padding: 0 16px; vertical-align: middle;">- <a href="{{ section.dashboard_url }}" target="_blank" style="font-size: 1.15em; font-weight: 600; color: #111827; text-decoration: none;">{{ section.team.name }}</a>- </td>- <td style="width: 50%; vertical-align: middle;"><div style="height: 1px; background-color: #d1d5db;"></div></td>- </tr>- </table>-- <!-- Overview metrics -->- <div style="background-color: #ffffff; border-radius: 8px; padding: 20px; margin-bottom: 8px;">- <table width="100%" cellpadding="0" cellspacing="0" border="0">+ <p style="font-size: 1.1em; color: #374151; margin: 0 0 24px 0;">Web analytics weekly digest for <strong>{{ organization.name }}</strong> organization</p>+ {% for section in project_sections %}+ <!-- Project section: {{ section.team.name }} -->+ <div style="margin-bottom: 40px;">+ <table width="100%"+ cellpadding="0"+ cellspacing="0"+ border="0"+ style="margin-bottom: 12px">+ <tr>+ <td style="width: 50%; vertical-align: middle;">+ <div style="height: 1px; background-color: #d1d5db;"></div>+ </td>+ <td style="white-space: nowrap; padding: 0 16px; vertical-align: middle;">+ <a href="{{ section.dashboard_url }}"+ target="_blank"+ style="font-size: 1.15em;+ font-weight: 600;+ color: #111827;+ text-decoration: none">{{ section.team.name }}</a>+ </td>+ <td style="width: 50%; vertical-align: middle;">+ <div style="height: 1px; background-color: #d1d5db;"></div>+ </td>+ </tr>+ </table>+ <!-- Overview metrics -->+ <div style="background-color: #ffffff;+ border-radius: 8px;+ padding: 20px;+ margin-bottom: 8px">+ <table width="100%" cellpadding="0" cellspacing="0" border="0">+ <tr>+ <td align="center" style="text-align: center; padding: 8px; width: 20%;">+ <div style="font-size: 0.8em; color: #6b7280; margin-bottom: 4px;">Visitors</div>+ <div style="font-size: 1.5em; font-weight: bold;">{{ section.visitors.current|compact_number }}</div>+ {% if section.visitors.change %}+ <div style="font-size: 0.75em; color: {{ section.visitors.change.color }}">{{ section.visitors.change.text }}</div>+ {% endif %}+ </td>+ <td align="center" style="text-align: center; padding: 8px; width: 20%;">+ <div style="font-size: 0.8em; color: #6b7280; margin-bottom: 4px;">Pageviews</div>+ <div style="font-size: 1.5em; font-weight: bold;">{{ section.pageviews.current|compact_number }}</div>+ {% if section.pageviews.change %}+ <div style="font-size: 0.75em;+ color: {{ section.pageviews.change.color }}">{{ section.pageviews.change.text }}</div>+ {% endif %}+ </td>+ <td align="center" style="text-align: center; padding: 8px; width: 20%;">+ <div style="font-size: 0.8em; color: #6b7280; margin-bottom: 4px;">Sessions</div>+ <div style="font-size: 1.5em; font-weight: bold;">{{ section.sessions.current|compact_number }}</div>+ {% if section.sessions.change %}+ <div style="font-size: 0.75em; color: {{ section.sessions.change.color }}">{{ section.sessions.change.text }}</div>+ {% endif %}+ </td>+ <td align="center" style="text-align: center; padding: 8px; width: 20%;">+ <div style="font-size: 0.8em; color: #6b7280; margin-bottom: 4px;">Bounce rate</div>+ <div style="font-size: 1.5em; font-weight: bold;">{{ section.bounce_rate.current }}%</div>+ {% if section.bounce_rate.change %}+ <div style="font-size: 0.75em;+ color: {{ section.bounce_rate.change.color }}">{{ section.bounce_rate.change.text }}</div>+ {% endif %}+ </td>+ <td align="center" style="text-align: center; padding: 8px; width: 20%;">+ <div style="font-size: 0.8em; color: #6b7280; margin-bottom: 4px;">Avg. duration</div>+ <div style="font-size: 1.5em; font-weight: bold;">{{ section.avg_session_duration.current }}</div>+ {% if section.avg_session_duration.change %}+ <div style="font-size: 0.75em;+ color: {{ section.avg_session_duration.change.color }}">{{ section.avg_session_duration.change.text }}</div>+ {% endif %}+ </td>+ </tr>+ </table>+ </div>+ <!-- Top pages -->+ {% if section.top_pages %}+ <div style="background-color: #ffffff;+ border-radius: 8px;+ padding: 20px;+ margin-bottom: 8px">+ <h3 style="margin: 0 0 4px 0; text-align: left;">Top pages</h3>+ <p style="margin: 0 0 12px 0;+ font-size: 0.85em;+ color: #6b7280;+ text-align: left">Pages with the most unique visitors this week</p>+ <table width="100%"+ cellpadding="0"+ cellspacing="0"+ border="0"+ style="border-collapse: collapse">+ <thead>+ <tr style="border-bottom: 1px solid #e1e5e9;">+ <th align="left"+ style="padding: 8px 8px 8px 0;+ font-size: 0.75em;+ color: #9ca3af;+ font-weight: 500;+ text-transform: uppercase;+ letter-spacing: 0.05em;+ text-align: left">Page</th>+ <th align="right"+ style="padding: 8px 0 8px 8px;+ font-size: 0.75em;+ color: #9ca3af;+ font-weight: 500;+ text-transform: uppercase;+ letter-spacing: 0.05em;+ width: 90px">Visitors</th>+ <th align="right"+ style="padding: 8px 0 8px 8px;+ font-size: 0.75em;+ color: #9ca3af;+ font-weight: 500;+ text-transform: uppercase;+ letter-spacing: 0.05em;+ width: 90px">vs prev week</th>+ </tr>+ </thead>+ <tbody>+ {% for page in section.top_pages %}+ <tr style="border-bottom: 1px solid #f3f4f6;">+ <td align="left"+ style="padding: 10px 8px 10px 0;+ vertical-align: middle;+ text-align: left;+ font-size: 0.9em;+ color: #111827">{% if page.host %}<span style="color: #6b7280;">{{ page.host }}</span>{% endif %}{{ page.path|truncatechars:50 }}</td>+ <td align="right"+ style="padding: 10px 0 10px 8px;+ vertical-align: middle;+ color: #111827;+ white-space: nowrap;+ width: 90px">{{ page.visitors|compact_number }}</td>+ {% include "email/_weekly_digest_change_cell.html" with change=page.change %}+ </tr>+ {% endfor %}+ </tbody>+ </table>+ </div>+ {% endif %}+ <!-- Top sources -->+ {% if section.top_sources %}+ <div style="background-color: #ffffff;+ border-radius: 8px;+ padding: 20px;+ margin-bottom: 8px">+ <h3 style="margin: 0 0 4px 0; text-align: left;">Top sources</h3>+ <p style="margin: 0 0 12px 0;+ font-size: 0.85em;+ color: #6b7280;+ text-align: left">Referring domains that brought the most visitors this week</p>+ <table width="100%"+ cellpadding="0"+ cellspacing="0"+ border="0"+ style="border-collapse: collapse">+ <thead>+ <tr style="border-bottom: 1px solid #e1e5e9;">+ <th align="left"+ style="padding: 8px 8px 8px 0;+ font-size: 0.75em;+ color: #9ca3af;+ font-weight: 500;+ text-transform: uppercase;+ letter-spacing: 0.05em;+ text-align: left">Source</th>+ <th align="right"+ style="padding: 8px 0 8px 8px;+ font-size: 0.75em;+ color: #9ca3af;+ font-weight: 500;+ text-transform: uppercase;+ letter-spacing: 0.05em;+ width: 90px">Visitors</th>+ <th align="right"+ style="padding: 8px 0 8px 8px;+ font-size: 0.75em;+ color: #9ca3af;+ font-weight: 500;+ text-transform: uppercase;+ letter-spacing: 0.05em;+ width: 90px">vs prev week</th>+ </tr>+ </thead>+ <tbody>+ {% for source in section.top_sources %}+ <tr style="border-bottom: 1px solid #f3f4f6;">+ <td align="left"+ style="padding: 10px 8px 10px 0;+ vertical-align: middle;+ text-align: left;+ font-size: 0.9em;+ color: #111827">{{ source.name|truncatechars:60 }}</td>+ <td align="right"+ style="padding: 10px 0 10px 8px;+ vertical-align: middle;+ color: #111827;+ white-space: nowrap;+ width: 90px">{{ source.visitors|compact_number }}</td>+ {% include "email/_weekly_digest_change_cell.html" with change=source.change %}+ </tr>+ {% endfor %}+ </tbody>+ </table>+ </div>+ {% endif %}+ <!-- Goals -->+ {% if section.goals %}+ <div style="background-color: #ffffff;+ border-radius: 8px;+ padding: 20px;+ margin-bottom: 8px">+ <h3 style="margin: 0 0 4px 0; text-align: left;">Goals</h3>+ <p style="margin: 0 0 12px 0;+ font-size: 0.85em;+ color: #6b7280;+ text-align: left">Conversion goals for this week</p>+ <table width="100%"+ cellpadding="0"+ cellspacing="0"+ border="0"+ style="border-collapse: collapse">+ <thead>+ <tr style="border-bottom: 1px solid #e1e5e9;">+ <th align="left"+ style="padding: 8px 8px 8px 0;+ font-size: 0.75em;+ color: #9ca3af;+ font-weight: 500;+ text-transform: uppercase;+ letter-spacing: 0.05em;+ text-align: left">Goal</th>+ <th align="right"+ style="padding: 8px 0 8px 8px;+ font-size: 0.75em;+ color: #9ca3af;+ font-weight: 500;+ text-transform: uppercase;+ letter-spacing: 0.05em;+ width: 90px">Conversions</th>+ <th align="right"+ style="padding: 8px 0 8px 8px;+ font-size: 0.75em;+ color: #9ca3af;+ font-weight: 500;+ text-transform: uppercase;+ letter-spacing: 0.05em;+ width: 90px">vs prev week</th>+ </tr>+ </thead>+ <tbody>+ {% for goal in section.goals %}+ <tr style="border-bottom: 1px solid #f3f4f6;">+ <td align="left"+ style="padding: 10px 8px 10px 0;+ vertical-align: middle;+ text-align: left;+ font-size: 0.9em;+ color: #111827">{{ goal.name|truncatechars:40 }}</td>+ <td align="right"+ style="padding: 10px 0 10px 8px;+ vertical-align: middle;+ color: #111827;+ white-space: nowrap;+ width: 90px">{{ goal.conversions|compact_number }}</td>+ {% include "email/_weekly_digest_change_cell.html" with change=goal.change %}+ </tr>+ {% endfor %}+ </tbody>+ </table>+ </div>+ {% endif %}+ <!-- CTA -->+ <table cellpadding="0"+ cellspacing="0"+ border="0"+ width="100%"+ style="margin-top: 4px">+ <tr>+ <td align="center">+ {% if recap_enabled %}+ <a href="{{ section.recap_url }}"+ target="_blank"+ style="display: inline-block;+ padding: 12px 24px;+ background-color: #1d4aff;+ color: #ffffff;+ text-decoration: none;+ border-radius: 6px;+ font-size: 0.95em;+ font-weight: 500">View your weekly recap</a>+ {% else %}+ <a href="{{ section.dashboard_url }}"+ target="_blank"+ style="display: inline-block;+ padding: 12px 24px;+ background-color: #1d4aff;+ color: #ffffff;+ text-decoration: none;+ border-radius: 6px;+ font-size: 0.95em;+ font-weight: 500">View Web analytics dashboard</a>+ {% endif %}+ </td>+ </tr>+ </table>+ </div>+ {% endfor %}+ {% if disabled_project_names %}+ <table width="100%"+ cellpadding="0"+ cellspacing="0"+ border="0"+ style="margin-bottom: 12px"><tr>- <td align="center" style="text-align: center; padding: 8px; width: 20%;">- <div style="font-size: 0.8em; color: #6b7280; margin-bottom: 4px;">Visitors</div>- <div style="font-size: 1.5em; font-weight: bold;">{{ section.visitors.current|compact_number }}</div>- {% if section.visitors.change %}- <div style="font-size: 0.75em; color: {{ section.visitors.change.color }};">{{ section.visitors.change.text }}</div>- {% endif %}- </td>- <td align="center" style="text-align: center; padding: 8px; width: 20%;">- <div style="font-size: 0.8em; color: #6b7280; margin-bottom: 4px;">Pageviews</div>- <div style="font-size: 1.5em; font-weight: bold;">{{ section.pageviews.current|compact_number }}</div>- {% if section.pageviews.change %}- <div style="font-size: 0.75em; color: {{ section.pageviews.change.color }};">{{ section.pageviews.change.text }}</div>- {% endif %}+ <td style="width: 50%; vertical-align: middle;">+ <div style="height: 1px; background-color: #d1d5db;"></div></td>- <td align="center" style="text-align: center; padding: 8px; width: 20%;">- <div style="font-size: 0.8em; color: #6b7280; margin-bottom: 4px;">Sessions</div>- <div style="font-size: 1.5em; font-weight: bold;">{{ section.sessions.current|compact_number }}</div>- {% if section.sessions.change %}- <div style="font-size: 0.75em; color: {{ section.sessions.change.color }};">{{ section.sessions.change.text }}</div>- {% endif %}+ <td style="white-space: nowrap; padding: 0 16px; vertical-align: middle;">+ <span style="font-size: 0.9em; font-weight: 600; color: #6b7280;">Note</span></td>- <td align="center" style="text-align: center; padding: 8px; width: 20%;">- <div style="font-size: 0.8em; color: #6b7280; margin-bottom: 4px;">Bounce rate</div>- <div style="font-size: 1.5em; font-weight: bold;">{{ section.bounce_rate.current }}%</div>- {% if section.bounce_rate.change %}- <div style="font-size: 0.75em; color: {{ section.bounce_rate.change.color }};">{{ section.bounce_rate.change.text }}</div>- {% endif %}- </td>- <td align="center" style="text-align: center; padding: 8px; width: 20%;">- <div style="font-size: 0.8em; color: #6b7280; margin-bottom: 4px;">Avg. duration</div>- <div style="font-size: 1.5em; font-weight: bold;">{{ section.avg_session_duration.current }}</div>- {% if section.avg_session_duration.change %}- <div style="font-size: 0.75em; color: {{ section.avg_session_duration.change.color }};">{{ section.avg_session_duration.change.text }}</div>- {% endif %}+ <td style="width: 50%; vertical-align: middle;">+ <div style="height: 1px; background-color: #d1d5db;"></div></td></tr></table>- </div>-- <!-- Top pages -->- {% if section.top_pages %}- <div style="background-color: #ffffff; border-radius: 8px; padding: 20px; margin-bottom: 8px;">- <h3 style="margin: 0 0 4px 0; text-align: left;">Top pages</h3>- <p style="margin: 0 0 12px 0; font-size: 0.85em; color: #6b7280; text-align: left;">Pages with the most unique visitors this week</p>- <table width="100%" cellpadding="0" cellspacing="0" border="0" style="border-collapse: collapse;">- <thead>- <tr style="border-bottom: 1px solid #e1e5e9;">- <th align="left" style="padding: 8px 8px 8px 0; font-size: 0.75em; color: #9ca3af; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; text-align: left;">Page</th>- <th align="right" style="padding: 8px 0 8px 8px; font-size: 0.75em; color: #9ca3af; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; width: 90px;">Visitors</th>- <th align="right" style="padding: 8px 0 8px 8px; font-size: 0.75em; color: #9ca3af; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; width: 90px;">vs prev week</th>- </tr>- </thead>- <tbody>- {% for page in section.top_pages %}- <tr style="border-bottom: 1px solid #f3f4f6;">- <td align="left" style="padding: 10px 8px 10px 0; vertical-align: middle; text-align: left; font-size: 0.9em; color: #111827;">{% if page.host %}<span style="color: #6b7280;">{{ page.host }}</span>{% endif %}{{ page.path|truncatechars:50 }}</td>- <td align="right" style="padding: 10px 0 10px 8px; vertical-align: middle; color: #111827; white-space: nowrap; width: 90px;">{{ page.visitors|compact_number }}</td>- {% include "email/_weekly_digest_change_cell.html" with change=page.change %}- </tr>- {% endfor %}- </tbody>- </table>- </div>- {% endif %}-- <!-- Top sources -->- {% if section.top_sources %}- <div style="background-color: #ffffff; border-radius: 8px; padding: 20px; margin-bottom: 8px;">- <h3 style="margin: 0 0 4px 0; text-align: left;">Top sources</h3>- <p style="margin: 0 0 12px 0; font-size: 0.85em; color: #6b7280; text-align: left;">Referring domains that brought the most visitors this week</p>- <table width="100%" cellpadding="0" cellspacing="0" border="0" style="border-collapse: collapse;">- <thead>- <tr style="border-bottom: 1px solid #e1e5e9;">- <th align="left" style="padding: 8px 8px 8px 0; font-size: 0.75em; color: #9ca3af; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; text-align: left;">Source</th>- <th align="right" style="padding: 8px 0 8px 8px; font-size: 0.75em; color: #9ca3af; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; width: 90px;">Visitors</th>- <th align="right" style="padding: 8px 0 8px 8px; font-size: 0.75em; color: #9ca3af; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; width: 90px;">vs prev week</th>- </tr>- </thead>- <tbody>- {% for source in section.top_sources %}- <tr style="border-bottom: 1px solid #f3f4f6;">- <td align="left" style="padding: 10px 8px 10px 0; vertical-align: middle; text-align: left; font-size: 0.9em; color: #111827;">{{ source.name|truncatechars:60 }}</td>- <td align="right" style="padding: 10px 0 10px 8px; vertical-align: middle; color: #111827; white-space: nowrap; width: 90px;">{{ source.visitors|compact_number }}</td>- {% include "email/_weekly_digest_change_cell.html" with change=source.change %}- </tr>+ <div style="background-color: #ffffff;+ border-radius: 8px;+ padding: 20px;+ margin-bottom: 16px">+ <p style="margin: 0 0 8px 0; font-size: 0.9em; color: #6b7280;">This report did not include the following projects because they are disabled in your settings:</p>+ <ul style="margin: 0;+ padding-left: 20px;+ color: #6b7280;+ font-size: 0.9em">+ {% for name in disabled_project_names %}+ <li>{{ name }}</li>{% endfor %}- </tbody>- </table>- </div>+ </ul>+ </div>{% endif %}-- <!-- Goals -->- {% if section.goals %}- <div style="background-color: #ffffff; border-radius: 8px; padding: 20px; margin-bottom: 8px;">- <h3 style="margin: 0 0 4px 0; text-align: left;">Goals</h3>- <p style="margin: 0 0 12px 0; font-size: 0.85em; color: #6b7280; text-align: left;">Conversion goals for this week</p>- <table width="100%" cellpadding="0" cellspacing="0" border="0" style="border-collapse: collapse;">- <thead>- <tr style="border-bottom: 1px solid #e1e5e9;">- <th align="left" style="padding: 8px 8px 8px 0; font-size: 0.75em; color: #9ca3af; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; text-align: left;">Goal</th>- <th align="right" style="padding: 8px 0 8px 8px; font-size: 0.75em; color: #9ca3af; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; width: 90px;">Conversions</th>- <th align="right" style="padding: 8px 0 8px 8px; font-size: 0.75em; color: #9ca3af; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; width: 90px;">vs prev week</th>- </tr>- </thead>- <tbody>- {% for goal in section.goals %}- <tr style="border-bottom: 1px solid #f3f4f6;">- <td align="left" style="padding: 10px 8px 10px 0; vertical-align: middle; text-align: left; font-size: 0.9em; color: #111827;">{{ goal.name|truncatechars:40 }}</td>- <td align="right" style="padding: 10px 0 10px 8px; vertical-align: middle; color: #111827; white-space: nowrap; width: 90px;">{{ goal.conversions|compact_number }}</td>- {% include "email/_weekly_digest_change_cell.html" with change=goal.change %}- </tr>- {% endfor %}- </tbody>- </table>+ <div style="margin-bottom: 16px; text-align: center;">+ <a href="{{ settings_url }}"+ style="color: #6b7280;+ font-size: 0.85em;+ text-decoration: underline">Change notification settings</a></div>- {% endif %}-- <!-- CTA -->- <table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top: 4px;">- <tr>- <td align="center">- {% if recap_enabled %}- <a href="{{ section.recap_url }}" target="_blank" style="display: inline-block; padding: 12px 24px; background-color: #1d4aff; color: #ffffff; text-decoration: none; border-radius: 6px; font-size: 0.95em; font-weight: 500;">View your weekly recap</a>- {% else %}- <a href="{{ section.dashboard_url }}" target="_blank" style="display: inline-block; padding: 12px 24px; background-color: #1d4aff; color: #ffffff; text-decoration: none; border-radius: 6px; font-size: 0.95em; font-weight: 500;">View Web analytics dashboard</a>- {% endif %}- </td>- </tr>- </table>-</div>-{% endfor %}--{% if disabled_project_names %}-<table width="100%" cellpadding="0" cellspacing="0" border="0" style="margin-bottom: 12px;">- <tr>- <td style="width: 50%; vertical-align: middle;"><div style="height: 1px; background-color: #d1d5db;"></div></td>- <td style="white-space: nowrap; padding: 0 16px; vertical-align: middle;">- <span style="font-size: 0.9em; font-weight: 600; color: #6b7280;">Note</span>- </td>- <td style="width: 50%; vertical-align: middle;"><div style="height: 1px; background-color: #d1d5db;"></div></td>- </tr>-</table>-<div style="background-color: #ffffff; border-radius: 8px; padding: 20px; margin-bottom: 16px;">- <p style="margin: 0 0 8px 0; font-size: 0.9em; color: #6b7280;">This report did not include the following projects because they are disabled in your settings:</p>- <ul style="margin: 0; padding-left: 20px; color: #6b7280; font-size: 0.9em;">- {% for name in disabled_project_names %}- <li>{{ name }}</li>- {% endfor %}- </ul>-</div>-{% endif %}--<div style="margin-bottom: 16px; text-align: center;">- <a href="{{ settings_url }}" style="color: #6b7280; font-size: 0.85em; text-decoration: underline;">Change notification settings</a>-</div>{% endblock %}-{% block footer %}{% endblock %}diff --git a/posthog/templates/email/wizard_pr_ready.html b/posthog/templates/email/wizard_pr_ready.htmlindex f0caa5163c52..d8d75c0a1d50 100644--- a/posthog/templates/email/wizard_pr_ready.html+++ b/posthog/templates/email/wizard_pr_ready.html@@ -1,28 +1,26 @@{% extends "email/base.html" %}-{% block preheader %}Your pull request is ready{% endblock %}{% block heading %}Your pull request is ready{% endblock %}{% block section %}-<!-- prettier-ignore -->-<p>- Hey{% if first_name %} {{ first_name }}{% endif %},-</p>-<p>- The wizard set up PostHog in <strong>{{ repository }}</strong> and opened a pull request for- <strong>{{ project_name }}</strong>{% if organization_name %} in <strong>{{ organization_name }}</strong>{% endif %}.-</p>-{% if branch_name %}-<p>- Branch: <strong>{{ branch_name }}</strong>-</p>-{% endif %}-<div class="mb mt text-center">- <a class="button primary" href="{{ pr_url }}">Review the pull request</a>-</div>-<div class="mt">+ <!-- prettier-ignore -->+ <p>Hey{% if first_name %} {{ first_name }}{% endif %},</p><p>- If the button above doesn't work, paste this link into your browser:<br />- <a href="{{ pr_url }}">{{ pr_url }}</a>+ The wizard set up PostHog in <strong>{{ repository }}</strong> and opened a pull request for+ <strong>{{ project_name }}</strong>{% if organization_name %} in <strong>{{ organization_name }}</strong>{% endif %}.</p>-</div>+ {% if branch_name %}+ <p>+ Branch: <strong>{{ branch_name }}</strong>+ </p>+ {% endif %}+ <div class="mb mt text-center">+ <a class="button primary" href="{{ pr_url }}">Review the pull request</a>+ </div>+ <div class="mt">+ <p>+ If the button above doesn't work, paste this link into your browser:+ <br />+ <a href="{{ pr_url }}">{{ pr_url }}</a>+ </p>+ </div>{% endblock %}diff --git a/posthog/templates/head.html b/posthog/templates/head.htmlindex d459706a9dc7..41cb1d084b1e 100644--- a/posthog/templates/head.html+++ b/posthog/templates/head.html@@ -1,22 +1,29 @@<title>PostHog</title><meta name="viewport" content="width=device-width, initial-scale=1"><meta charset="utf-8">--<!-- Favicons & OS-theme configurations -->-<link rel="apple-touch-icon" sizes="180x180" href="/static/icons/apple-touch-icon.png?v=2026-07-07">-<link rel="icon" type="image/png" sizes="32x32" href="/static/icons/favicon-32x32.png?v=2026-07-07">-<link rel="icon" type="image/png" sizes="16x16" href="/static/icons/favicon-16x16.png?v=2026-07-07">+<link rel="apple-touch-icon"+ sizes="180x180"+ href="/static/icons/apple-touch-icon.png?v=2026-07-07">+<link rel="icon"+ type="image/png"+ sizes="32x32"+ href="/static/icons/favicon-32x32.png?v=2026-07-07">+<link rel="icon"+ type="image/png"+ sizes="16x16"+ href="/static/icons/favicon-16x16.png?v=2026-07-07">{% if not debug %}<link rel="shortcut icon" href="/static/icons/favicon.ico?v=2026-07-07">{% else %}<link rel="shortcut icon" href="/static/icons/favicon-dev.ico?v=2026-07-07">{% endif %}-<link rel="mask-icon" href="/static/icons/safari-pinned-tab.svg?v=2026-07-07" color="#F54E00">+<link rel="mask-icon"+ href="/static/icons/safari-pinned-tab.svg?v=2026-07-07"+ color="#F54E00"><link rel="manifest" href="/static/site.webmanifest?v=2026-07-07"><meta name="apple-mobile-web-app-title" content="PostHog"><meta name="application-name" content="PostHog">-{% if not opt_out_capture and js_posthog_api_key %}<script nonce="{{ request.csp_nonce }}">window.JS_POSTHOG_API_KEY = "{{ js_posthog_api_key|escapejs }}";@@ -36,9 +43,7 @@</script>{% endif %}{% if stripe_public_key %}- <script nonce="{{ request.csp_nonce }}">- window.STRIPE_PUBLIC_KEY = '{{ stripe_public_key | escapejs }}';- </script>+ <script nonce="{{ request.csp_nonce }}">window.STRIPE_PUBLIC_KEY = '{{ stripe_public_key | escapejs }}';</script>{% endif %}<script nonce="{{ request.csp_nonce }}" id='posthog-app-user-preload'>{# nosemgrep: generic.html-templates.security.var-in-script-tag.var-in-script-tag #}@@ -51,7 +56,6 @@{# nosemgrep: generic.html-templates.security.var-in-script-tag.var-in-script-tag (yesno filter produces literal strings) #}window.JS_CAPTURE_TIME_TO_SEE_DATA = {{js_capture_time_to_see_data | yesno:"true,false"}};</script>-{% if debug %}{# nosemgrep: python.flask.security.xss.audit.template-unescaped-with-safe.template-unescaped-with-safe (dev-only, trusted Vite output) #}{{ vite_dev_scripts|safe }}diff --git a/posthog/templates/message_preferences/error.html b/posthog/templates/message_preferences/error.htmlindex 869e344363b7..df96ae819b07 100644--- a/posthog/templates/message_preferences/error.html+++ b/posthog/templates/message_preferences/error.html@@ -1,19 +1,13 @@{% block content %}-<div class="min-h-screen flex items-center justify-center bg-gray-50 py-12 px-4 sm:px-6 lg:px-8">- <div class="max-w-md w-full space-y-8">- <div>- <h2 class="mt-6 text-center text-3xl font-extrabold text-gray-900">- Oops!- </h2>- <p class="mt-2 text-center text-sm text-gray-600">- {{ error }}- </p>- </div>- <div class="mt-8 text-center">- <a href="/" class="text-blue-600 hover:text-blue-500">- Return to homepage- </a>+ <div class="min-h-screen flex items-center justify-center bg-gray-50 py-12 px-4 sm:px-6 lg:px-8">+ <div class="max-w-md w-full space-y-8">+ <div>+ <h2 class="mt-6 text-center text-3xl font-extrabold text-gray-900">Oops!</h2>+ <p class="mt-2 text-center text-sm text-gray-600">{{ error }}</p>+ </div>+ <div class="mt-8 text-center">+ <a href="/" class="text-blue-600 hover:text-blue-500">Return to homepage</a>+ </div></div></div>-</div>-{% endblock %}\ No newline at end of file+{% endblock %}diff --git a/posthog/templates/message_preferences/one_click_unsubscribe_success.html b/posthog/templates/message_preferences/one_click_unsubscribe_success.htmlindex 783125aedd79..1d1fef64664e 100644--- a/posthog/templates/message_preferences/one_click_unsubscribe_success.html+++ b/posthog/templates/message_preferences/one_click_unsubscribe_success.html@@ -8,17 +8,17 @@</head><body>{% block content %}- <div class="min-h-screen bg-gray-50">- <div class="max-w-2xl mx-auto py-12 px-4 sm:px-6 lg:px-8">- <div class="bg-white shadow-xl rounded-xl p-8">- <h1 class="text-2xl font-bold text-gray-900 mb-2">Successfully unsubscribed</h1>- <p class="text-gray-600 text-base mb-8"><span class="font-semibold">{{ recipient.identifier|escape }}</span> has been unsubscribed from all marketing emails.</p>- <p class="text-gray-600 text-base">- Want to stay subscribed to some emails? <a class="text-blue-600 hover:underline" href="{{ request.path }}">Manage your preferences</a>.- </p>+ <div class="min-h-screen bg-gray-50">+ <div class="max-w-2xl mx-auto py-12 px-4 sm:px-6 lg:px-8">+ <div class="bg-white shadow-xl rounded-xl p-8">+ <h1 class="text-2xl font-bold text-gray-900 mb-2">Successfully unsubscribed</h1>+ <p class="text-gray-600 text-base mb-8"><span class="font-semibold">{{ recipient.identifier|escape }}</span> has been unsubscribed from all marketing emails.</p>+ <p class="text-gray-600 text-base">+ Want to stay subscribed to some emails? <a class="text-blue-600 hover:underline" href="{{ request.path }}">Manage your preferences</a>.+ </p>+ </div></div></div>- </div>{% endblock %}</body></html>diff --git a/posthog/templates/message_preferences/preferences.html b/posthog/templates/message_preferences/preferences.htmlindex 9e29562818de..964df2048a7d 100644--- a/posthog/templates/message_preferences/preferences.html+++ b/posthog/templates/message_preferences/preferences.html@@ -8,87 +8,77 @@</head><body>{% block content %}- <div class="min-h-screen bg-gray-50">- <div class="max-w-2xl mx-auto py-12 px-4 sm:px-6 lg:px-8">- <div class="bg-white shadow-xl rounded-xl p-8 mb-12">- <h1 class="text-2xl font-bold text-gray-900 mb-2">Message preferences for {{ recipient.identifier|escape }}</h1>- <p class="text-gray-600 text-base mb-8">Choose which emails you'd like to receive. Changes are saved automatically.</p>-- <form id="preferences-form" class="space-y-6">- {% csrf_token %}- <input type="hidden" name="token" value="{{ token }}" />-- {% for category in categories %}- {% if forloop.last %}- <hr class="border-gray-200" />- {% endif %}- <div class="bg-gray-50 rounded-lg p-6 transition-all duration-200 hover:shadow-md">- <div class="flex items-start justify-between gap-4">- <div class="flex-1 min-w-0">- <h3 class="text-lg font-medium text-gray-900">{{ category.name }}</h3>- <p class="text-sm text-gray-500 mt-1">{{ category.description }}</p>- </div>- <div class="flex flex-col items-end flex-shrink-0 w-40">- <div class="relative inline-block w-12 select-none">- <input- type="checkbox"- name="{{ category.id }}"- id="{{ category.id }}"- {% if category.status != "OPTED_OUT" %}checked{% endif %}- class="toggle-checkbox absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-full checked:bg-blue-500"- />- <label- for="{{ category.id }}"- class="toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 cursor-pointer"- ></label>+ <div class="min-h-screen bg-gray-50">+ <div class="max-w-2xl mx-auto py-12 px-4 sm:px-6 lg:px-8">+ <div class="bg-white shadow-xl rounded-xl p-8 mb-12">+ <h1 class="text-2xl font-bold text-gray-900 mb-2">Message preferences for {{ recipient.identifier|escape }}</h1>+ <p class="text-gray-600 text-base mb-8">Choose which emails you'd like to receive. Changes are saved automatically.</p>+ <form id="preferences-form" class="space-y-6">+ {% csrf_token %}+ <input type="hidden" name="token" value="{{ token }}" />+ {% for category in categories %}+ {% if forloop.last %}+ <hr class="border-gray-200" />+ {% endif %}+ <div class="bg-gray-50 rounded-lg p-6 transition-all duration-200 hover:shadow-md">+ <div class="flex items-start justify-between gap-4">+ <div class="flex-1 min-w-0">+ <h3 class="text-lg font-medium text-gray-900">{{ category.name }}</h3>+ <p class="text-sm text-gray-500 mt-1">{{ category.description }}</p>+ </div>+ <div class="flex flex-col items-end flex-shrink-0 w-40">+ <div class="relative inline-block w-12 select-none">+ <input type="checkbox"+ name="{{ category.id }}"+ id="{{ category.id }}"+ {% if category.status != "OPTED_OUT" %}checked{% endif %}+ class="toggle-checkbox absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-full checked:bg-blue-500" />+ <label for="{{ category.id }}"+ class="toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 cursor-pointer">+ </label>+ </div>+ <span class="text-xs font-medium mt-1 text-right {% if category.status != 'OPTED_OUT' %}text-green-700{% else %}text-gray-500{% endif %}"+ data-status-for="{{ category.id }}">+ {% if category.status != "OPTED_OUT" %}Subscribed{% else %}Not subscribed{% endif %}+ </span>+ </div></div>- <span class="text-xs font-medium mt-1 text-right {% if category.status != 'OPTED_OUT' %}text-green-700{% else %}text-gray-500{% endif %}" data-status-for="{{ category.id }}">- {% if category.status != "OPTED_OUT" %}Subscribed{% else %}Not subscribed{% endif %}- </span>- </div>- </div>- </div>- {% endfor %}-- {% if email_tracking_consent_enabled %}- <hr class="border-gray-200" />- <div class="bg-gray-50 rounded-lg p-6 transition-all duration-200 hover:shadow-md">- <div class="flex items-start justify-between gap-4">- <div class="flex-1 min-w-0">- <h3 class="text-lg font-medium text-gray-900">Open and click tracking</h3>- <p class="text-sm text-gray-500 mt-1">We use an invisible image and measured links to see whether marketing emails are opened and clicked. This never affects which emails you receive.</p></div>- <div class="flex flex-col items-end flex-shrink-0 w-40">- <div class="relative inline-block w-12 select-none">- <input- type="checkbox"- name="$email_tracking"- id="email-tracking-toggle"- data-on-label="Tracking allowed"- data-off-label="Tracking off"- {% if email_tracking_allowed %}checked{% endif %}- class="toggle-checkbox absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-full checked:bg-blue-500"- />- <label- for="email-tracking-toggle"- class="toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 cursor-pointer"- ></label>+ {% endfor %}+ {% if email_tracking_consent_enabled %}+ <hr class="border-gray-200" />+ <div class="bg-gray-50 rounded-lg p-6 transition-all duration-200 hover:shadow-md">+ <div class="flex items-start justify-between gap-4">+ <div class="flex-1 min-w-0">+ <h3 class="text-lg font-medium text-gray-900">Open and click tracking</h3>+ <p class="text-sm text-gray-500 mt-1">We use an invisible image and measured links to see whether marketing emails are opened and clicked. This never affects which emails you receive.</p>+ </div>+ <div class="flex flex-col items-end flex-shrink-0 w-40">+ <div class="relative inline-block w-12 select-none">+ <input type="checkbox"+ name="$email_tracking"+ id="email-tracking-toggle"+ data-on-label="Tracking allowed"+ data-off-label="Tracking off"+ {% if email_tracking_allowed %}checked{% endif %}+ class="toggle-checkbox absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-full checked:bg-blue-500" />+ <label for="email-tracking-toggle"+ class="toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 cursor-pointer">+ </label>+ </div>+ <span class="text-xs font-medium mt-1 text-right {% if email_tracking_allowed %}text-green-700{% else %}text-gray-500{% endif %}"+ data-status-for="$email_tracking">+ {% if email_tracking_allowed %}Tracking allowed{% else %}Tracking off{% endif %}+ </span>+ </div></div>- <span class="text-xs font-medium mt-1 text-right {% if email_tracking_allowed %}text-green-700{% else %}text-gray-500{% endif %}" data-status-for="$email_tracking">- {% if email_tracking_allowed %}Tracking allowed{% else %}Tracking off{% endif %}- </span></div>- </div>- </div>- {% endif %}-- </form>-+ {% endif %}+ </form>+ </div></div></div>- </div>-- <script nonce="{{ request.csp_nonce }}">+ <script nonce="{{ request.csp_nonce }}">document.addEventListener('DOMContentLoaded', function () {const toggles = document.querySelectorAll('.toggle-checkbox')@@ -113,7 +103,7 @@const iconPath = isError? 'M6 18L18 6M6 6l12 12': 'M5 13l4 4L19 7'- toast.innerHTML = '<div class="flex items-center space-x-2"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="' + iconPath + '"/></svg><span class="font-medium">' + message + '</span></div>'+ toast.innerHTML = '<div class="flex items-center space-x-2"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="' + iconPath + '" /></svg><span class="font-medium">' + message + '</span></div>'document.body.appendChild(toast)toast.style.transform = 'translateX(100%)'requestAnimationFrame(() => { toast.style.transform = 'translateX(0)' })@@ -173,7 +163,7 @@})})})- </script>+ </script>{% endblock %}</body></html>diff --git a/posthog/templates/organization_tools/app.html b/posthog/templates/organization_tools/app.htmlindex 60fb5497932a..5177ed076cf5 100644--- a/posthog/templates/organization_tools/app.html+++ b/posthog/templates/organization_tools/app.html@@ -1,29 +1,31 @@{% if perms.posthog.view_organization %}-<div id="organization-tools" class="module">- <table summary="Organization admin tools">- <caption>- <a href="{% url 'admin:posthog_organization_changelist' %}" class="section" title="Organization Tools">Organization tools</a>- </caption>- <tr class="model-sendusagereport">- <th scope="row">- <a href="{% url 'admin:send-usage-report' %}">Send usage report</a>- </th>- <td>Queue a usage report for a selected report date</td>- </tr>- <tr class="model-sendaioobservabilityusagereport">- <th scope="row">- <a href="{% url 'admin:send-ai-observability-usage-report' %}">Send AI observability usage report</a>- </th>- <td>Queue an AI observability usage report for a selected report date</td>- </tr>- {% if perms.posthog.change_organization %}- <tr class="model-bulkdeactivateorganizations">- <th scope="row">- <a href="{% url 'admin:organization_bulk_deactivate' %}">Bulk deactivate organizations</a>- </th>- <td>Deactivate organizations from pasted IDs after a preview step</td>- </tr>- {% endif %}- </table>-</div>+ <div id="organization-tools" class="module">+ <table summary="Organization admin tools">+ <caption>+ <a href="{% url 'admin:posthog_organization_changelist' %}"+ class="section"+ title="Organization Tools">Organization tools</a>+ </caption>+ <tr class="model-sendusagereport">+ <th scope="row">+ <a href="{% url 'admin:send-usage-report' %}">Send usage report</a>+ </th>+ <td>Queue a usage report for a selected report date</td>+ </tr>+ <tr class="model-sendaioobservabilityusagereport">+ <th scope="row">+ <a href="{% url 'admin:send-ai-observability-usage-report' %}">Send AI observability usage report</a>+ </th>+ <td>Queue an AI observability usage report for a selected report date</td>+ </tr>+ {% if perms.posthog.change_organization %}+ <tr class="model-bulkdeactivateorganizations">+ <th scope="row">+ <a href="{% url 'admin:organization_bulk_deactivate' %}">Bulk deactivate organizations</a>+ </th>+ <td>Deactivate organizations from pasted IDs after a preview step</td>+ </tr>+ {% endif %}+ </table>+ </div>{% endif %}diff --git a/posthog/templates/overlays.html b/posthog/templates/overlays.htmlindex fa8e8c956d7d..fb0a5f0a2a0d 100644--- a/posthog/templates/overlays.html+++ b/posthog/templates/overlays.html@@ -1,37 +1,29 @@{% if debug %}-<div id="bottom-notice" class="tricolor click-close" style="display: none">- <div>- <span- ><span>PostHog running in </span><b><code style="background: 0; color: white">DEBUG</code></b> mode!</span- >+ <div id="bottom-notice" class="tricolor click-close" style="display: none">+ <div>+ <span><span>PostHog running in </span><b><code style="background: 0; color: white">DEBUG</code></b> mode!</span>+ </div>+ <div>+ <span>+ <span>Current branch: </span><b><code id="bottom-notice-branch" style="background: 0; color: white">{{ git_branch|default:"unknown" }}</code></b><span></span>+ </span>+ </div>+ <div>+ <span><span>Current revision: </span><b><code id="bottom-notice-revision" style="background: 0; color: white">{{ git_rev|default:"unknown" }}</code></b><span></span></span>+ </div>+ <button title="Close debug bar">+ <code style="background: 0; color: white">×</code>+ </button></div>- <div>- <span>- <span>Current branch: </span- ><b><code id="bottom-notice-branch" style="background: 0; color: white">{{ git_branch|default:"unknown" }}</code></b- ><span></span>- </span>- </div>- <div>- <span- ><span>Current revision: </span- ><b><code id="bottom-notice-revision" style="background: 0; color: white">{{ git_rev|default:"unknown" }}</code></b- ><span></span></span- >- </div>- <button title="Close debug bar">- <code style="background: 0; color: white">×</code>- </button>-</div>-<script nonce="{{ request.csp_nonce }}">+ <script nonce="{{ request.csp_nonce }}">document.getElementById('bottom-notice').addEventListener('click', function (e) {if (e.target.tagName !== 'SPAN') {document.getElementById('bottom-notice').remove()}})-</script>+ </script>{% elif not e2e_testing %}-<script nonce="{{ request.csp_nonce }}">+ <script nonce="{{ request.csp_nonce }}">if (location.protocol !== 'https:') {const element = document.createElement('div')element.id = 'bottom-notice'@@ -41,5 +33,5 @@'Use a valid TLS certificate and route to <code style="background: 0; color: white">https://</code>.</div>'document.body.prepend(element)}-</script>+ </script>{% endif %}diff --git a/posthog/templates/redis/app.html b/posthog/templates/redis/app.htmlindex 6c61dfe3f876..24289a600591 100644--- a/posthog/templates/redis/app.html+++ b/posthog/templates/redis/app.html@@ -1,20 +1,19 @@{% load i18n %}<!-- In case there are no apps, we also don't want to appear -->{% if app_list %}-<div class="app-redis module">- <table>- <caption>- Redis- </caption>- <tr class="model-values">- <th scope="row">- <a href="{% url 'redis_values' %}" aria-current="page">Values</a>- </th>-- <td>- <a href="{% url 'redis_values' %}" class="viewlink">{% translate 'View' %}</a>- </td>- </tr>- </table>-</div>+ <div class="app-redis module">+ <table>+ <caption>+ Redis+ </caption>+ <tr class="model-values">+ <th scope="row">+ <a href="{% url 'redis_values' %}" aria-current="page">Values</a>+ </th>+ <td>+ <a href="{% url 'redis_values' %}" class="viewlink">{% translate 'View' %}</a>+ </td>+ </tr>+ </table>+ </div>{% endif %}diff --git a/posthog/templates/redis/edit_ttl.html b/posthog/templates/redis/edit_ttl.htmlindex 3c0acb637687..cf98d32e1cf6 100644--- a/posthog/templates/redis/edit_ttl.html+++ b/posthog/templates/redis/edit_ttl.html@@ -1,10 +1,9 @@{% extends "admin/base_site.html" %}{% load i18n admin_urls static %}-{% block extrastyle %}-{{ block.super }}-<link rel="stylesheet" href="{% static 'admin/css/forms.css' %}" />-<style>+ {{ block.super }}+ <link rel="stylesheet" href="{% static 'admin/css/forms.css' %}" />+ <style>.ttl-form {max-width: 600px;margin: 20px 0;@@ -97,59 +96,57 @@border-color: #ffd966;}}-</style>+ </style>{% endblock %}-{% block breadcrumbs %}-<div class="breadcrumbs">- <a href="{% url 'admin:index' %}">{% translate 'Home' %}</a>- › <a href="/admin/redisvalues?c={{ cursor }}{% if query %}&q={{ query|urlencode }}{% endif %}">Redis values</a>- › Edit TTL-</div>+ <div class="breadcrumbs">+ <a href="{% url 'admin:index' %}">{% translate 'Home' %}</a>+ › <a href="/admin/redisvalues?c={{ cursor }}{% if query %}&q={{ query|urlencode }}{% endif %}">Redis values</a>+ › Edit TTL+ </div>{% endblock %}-{% block content %}-<div id="content-main">- <div class="ttl-form">- <form method="post" action="">- {% csrf_token %}- <input type="hidden" name="key" value="{{ redis_key }}" />- <input type="hidden" name="c" value="{{ cursor }}" />- <input type="hidden" name="q" value="{{ query }}" />-- <div class="form-row">- <label>{% trans "Redis key" %}</label>- <div class="key-display">{{ redis_key }}</div>- </div>-- <div class="current-ttl">- {% if current_ttl %}- {% trans "Current TTL:" %} {{ current_ttl }} {% trans "seconds" %}- {% else %}- {% trans "No TTL set (key does not expire)" %}- {% endif %}- </div>-- <div class="form-row">- <label for="ttl_seconds">{% trans "New TTL (seconds)" %}</label>- <input type="number"- name="ttl_seconds"- id="ttl_seconds"- min="0"- placeholder="Leave empty to remove TTL"- value="{{ current_ttl|default:'' }}" />- <div id="ttl-preview" class="ttl-preview" role="status" aria-live="polite" style="display: none;"></div>- </div>-- <div class="button-row">- <input type="submit" value="{% trans 'Save' %}" class="default" />- <a href="/admin/redisvalues?c={{ cursor }}{% if query %}&q={{ query|urlencode }}{% endif %}" class="cancel-button">{% trans "Cancel" %}</a>- </div>- </form>+ <div id="content-main">+ <div class="ttl-form">+ <form method="post" action="">+ {% csrf_token %}+ <input type="hidden" name="key" value="{{ redis_key }}" />+ <input type="hidden" name="c" value="{{ cursor }}" />+ <input type="hidden" name="q" value="{{ query }}" />+ <div class="form-row">+ <label>{% trans "Redis key" %}</label>+ <div class="key-display">{{ redis_key }}</div>+ </div>+ <div class="current-ttl">+ {% if current_ttl %}+ {% trans "Current TTL:" %} {{ current_ttl }} {% trans "seconds" %}+ {% else %}+ {% trans "No TTL set (key does not expire)" %}+ {% endif %}+ </div>+ <div class="form-row">+ <label for="ttl_seconds">{% trans "New TTL (seconds)" %}</label>+ <input type="number"+ name="ttl_seconds"+ id="ttl_seconds"+ min="0"+ placeholder="Leave empty to remove TTL"+ value="{{ current_ttl|default:'' }}" />+ <div id="ttl-preview"+ class="ttl-preview"+ role="status"+ aria-live="polite"+ style="display: none"></div>+ </div>+ <div class="button-row">+ <input type="submit" value="{% trans 'Save' %}" class="default" />+ <a href="/admin/redisvalues?c={{ cursor }}{% if query %}&q={{ query|urlencode }}{% endif %}"+ class="cancel-button">{% trans "Cancel" %}</a>+ </div>+ </form>+ </div></div>-</div>--<script nonce="{{ request.csp_nonce }}">+ <script nonce="{{ request.csp_nonce }}">(function() {const input = document.getElementById('ttl_seconds');const preview = document.getElementById('ttl-preview');@@ -210,5 +207,5 @@input.addEventListener('input', updatePreview);updatePreview();})();-</script>-{% endblock %}\ No newline at end of file+ </script>+{% endblock %}diff --git a/posthog/templates/redis/values.html b/posthog/templates/redis/values.htmlindex 2de87394fe07..f8c53a5603ae 100644--- a/posthog/templates/redis/values.html+++ b/posthog/templates/redis/values.html@@ -1,95 +1,99 @@{% extends "admin/base_site.html" %}{% load i18n admin_urls static admin_list %}-{% block extrastyle %}-{{ block.super }}-<link rel="stylesheet" href="{% static 'admin/css/changelists.css' %}" />-<link rel="stylesheet" href="{% static 'admin/css/forms.css' %}" />-{{ media.css }}+ {{ block.super }}+ <link rel="stylesheet" href="{% static 'admin/css/changelists.css' %}" />+ <link rel="stylesheet" href="{% static 'admin/css/forms.css' %}" />+ {{ media.css }}{% endblock %}-{% if not is_popup %}-{% block breadcrumbs %}-<div class="breadcrumbs">- <a href="{% url 'admin:index' %}">{% translate 'Home' %}</a>- › Redis values-</div>-{% endblock %}+ {% block breadcrumbs %}+ <div class="breadcrumbs">+ <a href="{% url 'admin:index' %}">{% translate 'Home' %}</a>+ › Redis values+ </div>+ {% endblock %}{% endif %}-{% block content %}-<div id="content-main">- <div id="changelist" class="module filtered">- <div class="changelist-form-container">- {% block search %} {% load i18n static %}- <div id="toolbar">- <form id="changelist-search" method="get" role="search">- <div>- <!-- DIV needed for valid HTML -->- <label for="searchbar"><img src="{% static 'admin/img/search.svg' %}" alt="Search" /></label>- <input type="text" size="40" name="q" value="{{ query }}" id="searchbar" />- <input type="submit" value="{% translate 'Search' %}" />+ <div id="content-main">+ <div id="changelist" class="module filtered">+ <div class="changelist-form-container">+ {% block search %}+ {% load i18n static %}+ <div id="toolbar">+ <form id="changelist-search" method="get" role="search">+ <div>+ <!-- DIV needed for valid HTML -->+ <label for="searchbar">+ <img src="{% static 'admin/img/search.svg' %}" alt="Search" />+ </label>+ <input type="text" size="40" name="q" value="{{ query }}" id="searchbar" />+ <input type="submit" value="{% translate 'Search' %}" />+ </div>+ </form></div>- </form>- </div>- {% endblock %}- <div class="results">- {% if redis_keys %}-- <table id="results_list">- <thead>- <tr>- <th scope="col">- <div class="text"><span>{% trans "Key" %}</span></div>- </th>- <th scope="col">- <div class="text"><span>{% trans "Type" %}</span></div>- </th>- <th scope="col">- <div class="text"><span>{% trans "TTL" %}</span></div>- </th>- <th scope="col">- <div class="text"><span>{% trans "Size" %}</span></div>- </th>- <th scope="col">- <div class="text"><span>{% trans "Value" %}</span></div>- </th>- </tr>- </thead>- <tbody>- {% for key_info in redis_keys %}- <tr>- <td class="field-key">{{ key_info.key }}</td>- <td>{{ key_info.type }}</td>- <td><a href="/admin/redis/edit-ttl?key={{ key_info.key|urlencode }}&c={{ cursor }}&q={{ query|urlencode }}">{{ key_info.ttl }}</a></td>- <td>{{ key_info.size }}</td>- <td>- {% if key_info.is_truncated %}- <details>- <summary>{{ key_info.value }}</summary>- <pre style="white-space: pre-wrap; word-break: break-all; margin-top: 8px; padding: 8px; background: var(--darkened-bg, #f5f5f5); border-radius: 4px; max-height: 400px; overflow: auto;">{{ key_info.full_value }}</pre>- </details>- {% else %}- {{ key_info.value }}- {% endif %}- </td>- </tr>- {% endfor %}- </tbody>- </table>- {% endif %}- <p class="paginator">- <a href="?c=0">Start</a>-- <span class="this-page">{{ cursor }}</span>-- {% if next_cursor != 0 %}- <a href="?c={{ next_cursor }}">Next</a>+ {% endblock %}+ <div class="results">+ {% if redis_keys %}+ <table id="results_list">+ <thead>+ <tr>+ <th scope="col">+ <div class="text"><span>{% trans "Key" %}</span></div>+ </th>+ <th scope="col">+ <div class="text"><span>{% trans "Type" %}</span></div>+ </th>+ <th scope="col">+ <div class="text"><span>{% trans "TTL" %}</span></div>+ </th>+ <th scope="col">+ <div class="text"><span>{% trans "Size" %}</span></div>+ </th>+ <th scope="col">+ <div class="text"><span>{% trans "Value" %}</span></div>+ </th>+ </tr>+ </thead>+ <tbody>+ {% for key_info in redis_keys %}+ <tr>+ <td class="field-key">{{ key_info.key }}</td>+ <td>{{ key_info.type }}</td>+ <td><a href="/admin/redis/edit-ttl?key={{ key_info.key|urlencode }}&c={{ cursor }}&q={{ query|urlencode }}">{{ key_info.ttl }}</a></td>+ <td>{{ key_info.size }}</td>+ <td>+ {% if key_info.is_truncated %}+ <details>+ <summary>{{ key_info.value }}</summary>+ <pre style="white-space: pre-wrap;+ word-break: break-all;+ margin-top: 8px;+ padding: 8px;+ background: var(--darkened-bg, #f5f5f5);+ border-radius: 4px;+ max-height: 400px;+ overflow: auto">{{ key_info.full_value }}</pre>+ </details>+ {% else %}+ {{ key_info.value }}+ {% endif %}+ </td>+ </tr>+ {% endfor %}+ </tbody>+ </table>{% endif %}- {{ redis_keys|length }} {% if redis_keys|length == 1 %}Redis key{% else %}Redis keys{%endif %}- </p>+ <p class="paginator">+ <a href="?c=0">Start</a>+ <span class="this-page">{{ cursor }}</span>+ {% if next_cursor != 0 %}+ <a href="?c={{ next_cursor }}">Next</a>+ {% endif %}+ {{ redis_keys|length }} {% if redis_keys|length == 1 %}Redis key{% else %}Redis keys{% endif %}+ </p>+ </div></div></div></div>-</div>{% endblock %}diff --git a/posthog/templates/shared_resource_404.html b/posthog/templates/shared_resource_404.htmlindex a96afd59effe..96053ce281b7 100644--- a/posthog/templates/shared_resource_404.html+++ b/posthog/templates/shared_resource_404.html@@ -1,8 +1,8 @@<!DOCTYPE html><html lang="en">-<head>- {% include "head.html" %}- <style>+ <head>+ {% include "head.html" %}+ <style>html, body, iframe {font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica, sans-serif;width: 100%;@@ -25,13 +25,11 @@margin: 0;text-align: center;}- </style>-</head>-<body>-<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQ4AAAEOCAYAAAB4sfmlAAC9JElEQVR42uxdC2wcZxFepwEq8RJtnNi+27PjnPeR8/lxt487O3Ycp3XtGOdB4shN86pLCemLVKmq0lYkQKAIIQStQNCiIqESCRUkhFohRSCCBBVUqAIhtVWJRJWqCJWWEoHUpvZ5mFnv1OfFcZXgu927nU8a3d4mt3u+3fn+mW/++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gJ4ffApF1sAp9ZFJNiitGYCSmquQUYgSrybgRtUl6yDfbJW9Iuf67/hT9XJwCSg32vrdVGhVJOAHyDdJ+zLX0jMt6D/phOa2EZp0TgY0aHOPo2pzX1aFnKfG4EjLAOzPKAKlE3guIiKqEFcBtnQzGH/dQfsbmrtvRuNiRZYhD4b4ZxPfcbul6wbVRSSsmdAqezGGx5ewXb0HhKqizTiKTtULYK7wQFZpL/pG2vGMVis6UnfS83cGg337epmN3e6l35CqBLlrygzWD8rQom/IFbpW7s0j3UZjtRZXAR7cy2BsRgu+mPMRomLjwi0PtdmvUn2EiqvkBiWJl+om5LegAUJFh+TtSIDhJbiNcaHZbETS5xyje09EoFJJvesGrjJHjyYvryqhuNgeZzAc3msyle9xOEY06sItZxkMxqZMFRMMXbHxeoHeX6isP03HFaxixuFD1QaE5CskXspC6IyXfixwNp8YAr0hHzMOnaSJSaHA0SKCUZBhRcSwIMGQ+0EYjK1QdK11Dkfh8io6NhGl1Wm4NfPejzKv9JCCyAsKGpIYrEOOVdFf4nN0jFLQeKsKEqEGLcEwdm8yGFsMqgzlOBnBAk5RJ3SemYIJ70eJshDyjeD2xY/ZiB/7ZvyTs19WtTojBQ4ny6QMxn8u9xKSUrJzcXEjl5DQgQHkytgiNpi9Jv+IbB/PzK2ioPGM3udsgcFguVddX2hHLiA/I5eRXxXetdi7IukFrkkwGAxCuNpsZW8f2kUzPWxNfbF0Tfc4aDAYjD9lIbSqwXMrGAxG8CDC3aiMfx2/AIgaznDBiQPoAAAAAElFTkSuQmCC"/>-<h1>Page not found</h1>-<p>- It might be lost in space.-</p>-</body>+ </style>+ </head>+ <body>+ <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQ4AAAEOCAYAAAB4sfmlAAC9JElEQVR42uxdC2wcZxFepwEq8RJtnNi+27PjnPeR8/lxt487O3Ycp3XtGOdB4shN86pLCemLVKmq0lYkQKAIIQStQNCiIqESCRUkhFohRSCCBBVUqAIhtVWJRJWqCJWWEoHU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PlEPOeZ62LEzBvDzS5vtZKwIEEGyjVazpYlkVIlmgJ4ffApF1sAp9ZFJNiitGYCSmquQUYgSrybgRtUl6yDfbJW9Iuf67/hT9XJwCSg32vrdVGhVJOAHyDdJ+zLX0jMt6D/phOa2EZp0TgY0aHOPo2pzX1aFnKfG4EjLAOzPKAKlE3guIiKqEFcBtnQzGH/dQfsbmrtvRuNiRZYhD4b4ZxPfcbul6wbVRSSsmdAqezGGx5ewXb0HhKqizTiKTtULYK7wQFZpL/pG2vGMVis6UnfS83cGg337epmN3e6l35CqBLlrygzWD8rQom/IFbpW7s0j3UZjtRZXAR7cy2BsRgu+mPMRomLjwi0PtdmvUn2EiqvkBiWJl+om5LegAUJFh+TtSIDhJbiNcaHZbETS5xyje09EoFJJvesGrjJHjyYvryqhuNgeZzAc3msyle9xOEY06sItZxkMxqZMFRMMXbHxeoHeX6isP03HFaxixuFD1QaE5CskXspC6IyXfixwNp8YAr0hHzMOnaSJSaHA0SKCUZBhRcSwIMGQ+0EYjK1QdK11Dkfh8io6NhGl1Wm4NfPejzKv9JCCyAsKGpIYrEOOVdFf4nN0jFLQeKsKEqEGLcEwdm8yGFsMqgzlOBnBAk5RJ3SemYIJ70eJshDyjeD2xY/ZiB/7ZvyTs19WtTojBQ4ny6QMxn8u9xKSUrJzcXEjl5DQgQHkytgiNpi9Jv+IbB/PzK2ioPGM3udsgcFguVddX2hHLiA/I5eRXxXetdi7IukFrkkwGAxCuNpsZW8f2kUzPWxNfbF0Tfc4aDAYjD9lIbSqwXMrGAxG8CDC3aiMfx2/AIgaznDBiQPoAAAAAElFTkSuQmCC" />+ <h1>Page not found</h1>+ <p>It might be lost in space.</p>+ </body></html>diff --git a/posthog/templates/surveys/error.html b/posthog/templates/surveys/error.htmlindex f51adfbd6bd2..c117d5e887ad 100644--- a/posthog/templates/surveys/error.html+++ b/posthog/templates/surveys/error.html@@ -1,15 +1,22 @@<!DOCTYPE html><html lang="en">--<head>- <meta charset="UTF-8">- <meta name="viewport" content="width=device-width, initial-scale=1.0">- {# Absolute app-origin URLs: reverse-proxy domains don't serve Django staticfiles. #}- <link rel="apple-touch-icon" sizes="180x180" href="{{ site_url }}/static/icons/apple-touch-icon.png?v=2023-07-07">- <link rel="icon" type="image/png" sizes="32x32" href="{{ site_url }}/static/icons/favicon-32x32.png?v=2023-07-07">- <link rel="icon" type="image/png" sizes="16x16" href="{{ site_url }}/static/icons/favicon-16x16.png?v=2023-07-07">- <title>{{ error_title }}</title>- <style>+ <head>+ <meta charset="UTF-8">+ <meta name="viewport" content="width=device-width, initial-scale=1.0">+ {# Absolute app-origin URLs: reverse-proxy domains don't serve Django staticfiles. #}+ <link rel="apple-touch-icon"+ sizes="180x180"+ href="{{ site_url }}/static/icons/apple-touch-icon.png?v=2023-07-07">+ <link rel="icon"+ type="image/png"+ sizes="32x32"+ href="{{ site_url }}/static/icons/favicon-32x32.png?v=2023-07-07">+ <link rel="icon"+ type="image/png"+ sizes="16x16"+ href="{{ site_url }}/static/icons/favicon-16x16.png?v=2023-07-07">+ <title>{{ error_title }}</title>+ <style>:root {--ph-survey-page-background: #ffffff;--ph-survey-page-text: #111111;@@ -109,24 +116,23 @@right: 0.75rem;}}- </style>-</head>--<body>- <div class="main-container">- <div class="error-stage">- <h1 class="error-title">{{ error_title }}</h1>- <p class="error-message">{{ error_message }}</p>+ </style>+ </head>+ <body>+ <div class="main-container">+ <div class="error-stage">+ <h1 class="error-title">{{ error_title }}</h1>+ <p class="error-message">{{ error_message }}</p>+ </div></div>- </div>- <a class="footer-branding" href="https://posthog.com/surveys?utm_source=survey-error" target="_blank" rel="noopener">- Survey by PostHog- </a>-- {% if appearance %}- {{ appearance|json_script:"survey-appearance" }}- {% include "surveys/_appearance_helpers.html" %}- <script nonce="{{ request.csp_nonce }}">+ <a class="footer-branding"+ href="https://posthog.com/surveys?utm_source=survey-error"+ target="_blank"+ rel="noopener">Survey by PostHog</a>+ {% if appearance %}+ {{ appearance|json_script:"survey-appearance" }}+ {% include "surveys/_appearance_helpers.html" %}+ <script nonce="{{ request.csp_nonce }}">(function () {var appearance = JSON.parse(document.getElementById('survey-appearance').textContent) || {}var root = document.documentElement@@ -153,8 +159,7 @@root.style.setProperty('--ph-survey-page-font', appearance.fontFamily)}})()- </script>- {% endif %}-</body>-+ </script>+ {% endif %}+ </body></html>diff --git a/posthog/templates/surveys/public_survey.html b/posthog/templates/surveys/public_survey.htmlindex 5f13dc43e9b3..e039086e266a 100644--- a/posthog/templates/surveys/public_survey.html+++ b/posthog/templates/surveys/public_survey.html@@ -1,31 +1,40 @@<!DOCTYPE html>-<html lang="{{ display_language|default:'en' }}"{% if embed_mode %} class="embed-mode"{% endif %}>--<head>- <meta charset="UTF-8">- <meta name="viewport" content="width=device-width, initial-scale=1.0">- {% comment %}+<html lang="{{ display_language|default:'en' }}"+ {% if embed_mode %} class="embed-mode"{% endif %}>+ <head>+ <meta charset="UTF-8">+ <meta name="viewport" content="width=device-width, initial-scale=1.0">+ {% comment %}Asset URLs are absolute to the app origin (site_url): this page is also served throughreverse-proxy domains, which route /static/* to the SDK asset CDN — Django staticfiles 404there. site_url is empty when SITE_URL isn't externally reachable, degrading to relativepaths. Raw paths, not the static tag: frontend/public/ ships unhashed, so a manifest-hashedURL 404s. No webmanifest/mask-icon links: cross-origin manifest fetches need CORS headerswe don't guarantee, and they add nothing to a hosted survey page.- {% endcomment %}- {% if site_url %}- <link rel="preconnect" href="{{ site_url }}">- <link rel="dns-prefetch" href="{{ site_url }}">- {% endif %}- <link rel="apple-touch-icon" sizes="180x180" href="{{ site_url }}/static/icons/apple-touch-icon.png?v=2023-07-07">- <link rel="icon" type="image/png" sizes="32x32" href="{{ site_url }}/static/icons/favicon-32x32.png?v=2023-07-07">- <link rel="icon" type="image/png" sizes="16x16" href="{{ site_url }}/static/icons/favicon-16x16.png?v=2023-07-07">- <link rel="stylesheet" href="{{ site_url }}/static/surveys/hosted-survey.css?v=1">- <meta name="apple-mobile-web-app-title" content="{{ name }}">- <meta name="application-name" content="{{ name }}">- <title>{{ name }}</title>- <meta name="description" content="{{ name }}">- {% if embed_mode %}- <script nonce="{{ request.csp_nonce }}">+ {% endcomment %}+ {% if site_url %}+ <link rel="preconnect" href="{{ site_url }}">+ <link rel="dns-prefetch" href="{{ site_url }}">+ {% endif %}+ <link rel="apple-touch-icon"+ sizes="180x180"+ href="{{ site_url }}/static/icons/apple-touch-icon.png?v=2023-07-07">+ <link rel="icon"+ type="image/png"+ sizes="32x32"+ href="{{ site_url }}/static/icons/favicon-32x32.png?v=2023-07-07">+ <link rel="icon"+ type="image/png"+ sizes="16x16"+ href="{{ site_url }}/static/icons/favicon-16x16.png?v=2023-07-07">+ <link rel="stylesheet"+ href="{{ site_url }}/static/surveys/hosted-survey.css?v=1">+ <meta name="apple-mobile-web-app-title" content="{{ name }}">+ <meta name="application-name" content="{{ name }}">+ <title>{{ name }}</title>+ <meta name="description" content="{{ name }}">+ {% if embed_mode %}+ <script nonce="{{ request.csp_nonce }}">document.addEventListener('DOMContentLoaded', function() {var container = document.querySelector('.main-container');if (!container) return;@@ -37,41 +46,36 @@}, '*');}).observe(container);});- </script>- {% endif %}-</head>--<body class="PostHogHostedSurvey">- <div class="main-container">- <div class="survey-progress-wrap">- <div- class="survey-progress-track"- id="survey-progress-track"- role="progressbar"- aria-label="Survey progress"- aria-valuemin="0"- aria-valuemax="100"- aria-valuenow="0"- >- <span class="survey-progress-bar" id="survey-progress-bar"></span>+ </script>+ {% endif %}+ </head>+ <body class="PostHogHostedSurvey">+ <div class="main-container">+ <div class="survey-progress-wrap">+ <div class="survey-progress-track"+ id="survey-progress-track"+ role="progressbar"+ aria-label="Survey progress"+ aria-valuemin="0"+ aria-valuemax="100"+ aria-valuenow="0">+ <span class="survey-progress-bar" id="survey-progress-bar"></span>+ </div></div>- </div>-- <div class="survey-stage">- <div id="posthog-survey-container">- <div class="loading">- <div class="loading-spinner"></div>- <p class="loading-text">Loading…</p>+ <div class="survey-stage">+ <div id="posthog-survey-container">+ <div class="loading">+ <div class="loading-spinner"></div>+ <p class="loading-text">Loading…</p>+ </div></div></div></div>- </div>-- {{ survey_data|json_script:"survey-data" }}- {{ project_config|json_script:"project-config" }}- {{ display_language|json_script:"display-language" }}- {% include "surveys/_appearance_helpers.html" %}- <script nonce="{{ request.csp_nonce }}">+ {{ survey_data|json_script:"survey-data" }}+ {{ project_config|json_script:"project-config" }}+ {{ display_language|json_script:"display-language" }}+ {% include "surveys/_appearance_helpers.html" %}+ <script nonce="{{ request.csp_nonce }}">const survey = JSON.parse(document.getElementById("survey-data").textContent);const projectConfig = JSON.parse(document.getElementById("project-config").textContent);const displayLanguage = JSON.parse(document.getElementById("display-language").textContent);@@ -407,8 +411,8 @@applyPageAppearance(survey.appearance);document.addEventListener('DOMContentLoaded', setupSurveyShell)- </script>- <script nonce="{{ request.csp_nonce }}">+ </script>+ <script nonce="{{ request.csp_nonce }}">!function (t, e) { var o, n, p, r; e.__SV || (window.posthog = e, e._i = [], e.init = function (i, s, a) { function g(t, e) { var o = e.split("."); 2 == o.length && (t = t[o[0]], e = o[1]), t[e] = function () { t.push([e].concat(Array.prototype.slice.call(arguments, 0))) } } (p = t.createElement("script")).type = "text/javascript", p.crossOrigin = "anonymous", p.async = !0, p.src = s.api_host.replace(".i.posthog.com", "-assets.i.posthog.com") + "/static/array.full.js", (r = t.getElementsByTagName("script")[0]).parentNode.insertBefore(p, r); var u = e; for (void 0 !== a ? u = e[a] = [] : a = "posthog", u.people = u.people || [], u.toString = function (t) { var e = "posthog"; return "posthog" !== a && (e += "." + a), t || (e += " (stub)"), e }, u.people.toString = function () { return u.toString(1) + ".people (stub)" }, o = "init Ie Ts Ms Ee Es Rs capture Ge calculateEventProperties Os register register_once register_for_session unregister unregister_for_session js getFeatureFlag getFeatureFlagPayload isFeatureEnabled reloadFeatureFlags updateEarlyAccessFeatureEnrollment getEarlyAccessFeatures on onFeatureFlags onSurveysLoaded onSessionId getSurveys getActiveMatchingSurveys renderSurvey canRenderSurvey canRenderSurveyAsync identify setPersonProperties group resetGroups setPersonPropertiesForFlags resetPersonPropertiesForFlags setGroupPropertiesForFlags resetGroupPropertiesForFlags reset get_distinct_id getGroups get_session_id get_session_replay_url alias set_config startSessionRecording stopSessionRecording sessionRecordingStarted captureException loadToolbar get_property getSessionProperty Ds Fs createPersonProfile Ls Ps opt_in_capturing opt_out_capturing has_opted_in_capturing has_opted_out_capturing clear_opt_in_out_capturing Cs debug I As getPageViewId captureTraceFeedback captureTraceMetric".split(" "), n = 0; n < o.length; n++)g(u, o[n]); e._i.push([i, s, a]) }, e.__SV = 1) }(document, window.posthog || []);const searchParams = new URLSearchParams(window.location.search);@@ -486,7 +490,6 @@}});- </script>-</body>-+ </script>+ </body></html>diff --git a/posthog/templates/toolbar_oauth_error.html b/posthog/templates/toolbar_oauth_error.htmlindex c18deafd5f09..4f65750f29fc 100644--- a/posthog/templates/toolbar_oauth_error.html+++ b/posthog/templates/toolbar_oauth_error.html@@ -1,11 +1,10 @@<!DOCTYPE html><html lang="en">--<head>- <meta charset="UTF-8">- <meta name="viewport" content="width=device-width, initial-scale=1.0">- <title>{{ error_title }}</title>- <style>+ <head>+ <meta charset="UTF-8">+ <meta name="viewport" content="width=device-width, initial-scale=1.0">+ <title>{{ error_title }}</title>+ <style>:root {--ph-brand-blue: #1D4AFF;--ph-brand-orange: #F54E00;@@ -239,55 +238,36 @@font-size: 1.5rem;}}- </style>-</head>--<body>- <div class="error-container">- <div class="error-code">{{ error_code }}</div>- <div class="decorative-dots"></div>-- <div class="logo-container">- <svg class="logo" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 140">- <g fill-rule="nonzero" fill="none">- <path- d="M55.383 75.225c-1.874 3.748-7.222 3.748-9.096 0l-4.482-8.963a5.085 5.085 0 0 1 0-4.548l4.482-8.964c1.874-3.748 7.222-3.748 9.096 0l4.482 8.964a5.084 5.084 0 0 1 0 4.548l-4.482 8.963Zm0 50.836c-1.874 3.747-7.222 3.747-9.096 0l-4.482-8.964a5.085 5.085 0 0 1 0-4.548l4.482-8.964c1.874-3.748 7.222-3.748 9.096 0l4.482 8.964a5.084 5.084 0 0 1 0 4.548l-4.482 8.964Z"- fill="var(--ph-brand-blue)" />- <path- d="M0 106.765c0-4.53 5.477-6.8 8.68-3.596l23.307 23.307c3.204 3.204.935 8.68-3.595 8.68H5.085A5.085 5.085 0 0 1 0 130.073v-23.307Zm0-24.55c0 1.35.536 2.643 1.49 3.596l47.856 47.856a5.086 5.086 0 0 0 3.595 1.49h26.286c4.53 0 6.799-5.477 3.595-8.681L8.681 52.334C5.477 49.131 0 51.4 0 55.93v26.286Zm0-50.834c0 1.348.536 2.642 1.49 3.595l98.69 98.691a5.086 5.086 0 0 0 3.596 1.49h26.285c4.53 0 6.8-5.477 3.596-8.681L8.681 1.5C5.477-1.704 0 .565 0 5.095v26.286Zm50.835 0c0 1.348.536 2.642 1.49 3.595l91.5 91.5c3.203 3.204 8.68.935 8.68-3.596V96.595a5.086 5.086 0 0 0-1.49-3.596l-91.5-91.5c-3.203-3.203-8.68-.934-8.68 3.596v26.286ZM110.35 1.5c-3.203-3.204-8.68-.935-8.68 3.595v26.286c0 1.348.536 2.642 1.49 3.595l40.664 40.665c3.204 3.204 8.68.935 8.68-3.596V45.76a5.086 5.086 0 0 0-1.489-3.596L110.35 1.5Z"- fill="var(--ph-brand-yellow)" />- <path- d="m216.24 107.388-47.864-47.863c-3.204-3.204-8.681-.935-8.681 3.595v66.952a5.085 5.085 0 0 0 5.085 5.085h74.142a5.085 5.085 0 0 0 5.085-5.085v-6.097c0-2.809-2.286-5.052-5.07-5.414a39.27 39.27 0 0 1-22.698-11.173Zm-32.145 11.502a8.137 8.137 0 0 1-8.133-8.134 8.137 8.137 0 0 1 8.133-8.134 8.137 8.137 0 0 1 8.134 8.134 8.137 8.137 0 0 1-8.134 8.134Z"- fill="var(--ph-brand-black)" />- <path- d="M0 130.072a5.085 5.085 0 0 0 5.085 5.085h23.307c4.53 0 6.799-5.477 3.595-8.681L8.681 103.169C5.477 99.966 0 102.235 0 106.765v23.307Zm50.835-86.418L8.68 1.5C5.477-1.704 0 .565 0 5.095v26.286c0 1.348.536 2.642 1.49 3.595l49.345 49.346V43.654ZM8.68 52.334C5.477 49.131 0 51.4 0 55.93v26.286c0 1.348.536 2.642 1.49 3.595l49.345 49.346V94.489L8.68 52.334Z"- fill="var(--ph-brand-blue)" />- <path- d="M101.67 45.76a5.083 5.083 0 0 0-1.49-3.596L59.516 1.5c-3.204-3.204-8.681-.935-8.681 3.595v26.286c0 1.348.536 2.642 1.49 3.595l49.345 49.346V45.76Zm-50.835 89.397h28.392c4.53 0 6.799-5.477 3.595-8.681L50.835 94.489v40.668Zm0-91.503v38.562c0 1.348.536 2.642 1.49 3.595l49.345 49.346V96.595a5.084 5.084 0 0 0-1.49-3.596L50.835 43.654Z"- fill="var(--ph-brand-orange)" />- <path- d="M303.32 114.86h20.888V80.22h17.452c19.17 0 31.466-11.37 31.466-28.954 0-17.584-12.295-28.954-31.466-28.954h-38.34v92.547Zm20.888-52.488V40.16h15.337c7.932 0 12.692 4.23 12.692 11.105 0 6.876-4.76 11.106-12.692 11.106h-15.337Zm86.71 53.545c20.36 0 35.167-14.543 35.167-34.375 0-19.831-14.807-34.374-35.167-34.374-20.625 0-35.168 14.543-35.168 34.374 0 19.832 14.543 34.375 35.168 34.375Zm-15.866-34.375c0-10.577 6.346-17.848 15.866-17.848 9.386 0 15.733 7.271 15.733 17.848 0 10.577-6.347 17.849-15.733 17.849-9.52 0-15.866-7.272-15.866-17.849Zm84.462 34.375c15.601 0 26.178-9.784 26.178-21.286 0-26.97-35.829-18.245-35.829-28.822 0-2.908 3.04-4.759 7.404-4.759 4.495 0 9.916 2.776 11.634 8.858l15.601-6.479c-3.04-9.65-14.279-16.261-27.896-16.261-14.676 0-23.798 8.725-23.798 19.17 0 25.252 35.3 18.245 35.3 28.69 0 3.702-3.437 6.214-8.594 6.214-7.403 0-12.56-5.156-14.146-11.37l-15.601 6.081c3.438 10.048 13.486 19.964 29.747 19.964Zm76.43-1.718-1.321-16.791c-2.248 1.19-5.157 1.586-7.536 1.586-4.76 0-7.933-3.437-7.933-9.387V64.355h16.13v-16.13h-16.13V28.923h-19.435v19.302h-10.577v16.13h10.577v27.764c0 16.13 10.974 23.798 25.384 23.798 3.967 0 7.669-.66 10.842-1.718Zm67.764-91.887v35.961h-36.755v-35.96h-20.89v92.546h20.89V76.122h36.755v38.737h21.021V22.312h-21.021Zm67.386 93.605c20.36 0 35.168-14.543 35.168-34.375 0-19.831-14.807-34.374-35.168-34.374-20.625 0-35.168 14.543-35.168 34.374 0 19.832 14.543 34.375 35.168 34.375ZM675.23 81.542c0-10.577 6.346-17.848 15.865-17.848 9.387 0 15.733 7.271 15.733 17.848 0 10.577-6.346 17.849-15.733 17.849-9.519 0-15.865-7.272-15.865-17.849Zm88.545 31.202c7.272 0 13.75-2.512 17.188-6.875v6.346c0 7.404-5.95 12.56-15.072 12.56-6.479 0-12.164-3.173-13.09-8.594l-17.715 2.777c2.38 12.56 15.204 21.022 30.805 21.022 20.492 0 34.11-12.032 34.11-29.88V48.225h-19.17v5.685c-3.57-4.098-9.652-6.742-17.452-6.742-18.51 0-30.144 12.692-30.144 32.788 0 20.096 11.634 32.788 30.54 32.788ZM752.14 79.956c0-9.916 5.817-16.262 14.807-16.262 9.123 0 14.94 6.346 14.94 16.262s-5.817 16.262-14.94 16.262c-8.99 0-14.807-6.346-14.807-16.262Z"- fill="var(--ph-brand-black)" />- </g>- </svg>- </div>-- <div class="error-icon"></div>-- <h1 class="error-title">{{ error_title }}</h1>- <p class="error-message">{{ error_message }}</p>-- {% if error_detail %}- <div class="error-detail">{{ error_detail }}</div>- {% endif %}-- <div class="error-actions">- {% if settings_url %}- <a href="{{ settings_url }}" class="btn btn-primary">Go to project settings</a>+ </style>+ </head>+ <body>+ <div class="error-container">+ <div class="error-code">{{ error_code }}</div>+ <div class="decorative-dots"></div>+ <div class="logo-container">+ <svg class="logo" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 140">+ <g fill-rule="nonzero" fill="none">+ <path d="M55.383 75.225c-1.874 3.748-7.222 3.748-9.096 0l-4.482-8.963a5.085 5.085 0 0 1 0-4.548l4.482-8.964c1.874-3.748 7.222-3.748 9.096 0l4.482 8.964a5.084 5.084 0 0 1 0 4.548l-4.482 8.963Zm0 50.836c-1.874 3.747-7.222 3.747-9.096 0l-4.482-8.964a5.085 5.085 0 0 1 0-4.548l4.482-8.964c1.874-3.748 7.222-3.748 9.096 0l4.482 8.964a5.084 5.084 0 0 1 0 4.548l-4.482 8.964Z" fill="var(--ph-brand-blue)" />+ <path d="M0 106.765c0-4.53 5.477-6.8 8.68-3.596l23.307 23.307c3.204 3.204.935 8.68-3.595 8.68H5.085A5.085 5.085 0 0 1 0 130.073v-23.307Zm0-24.55c0 1.35.536 2.643 1.49 3.596l47.856 47.856a5.086 5.086 0 0 0 3.595 1.49h26.286c4.53 0 6.799-5.477 3.595-8.681L8.681 52.334C5.477 49.131 0 51.4 0 55.93v26.286Zm0-50.834c0 1.348.536 2.642 1.49 3.595l98.69 98.691a5.086 5.086 0 0 0 3.596 1.49h26.285c4.53 0 6.8-5.477 3.596-8.681L8.681 1.5C5.477-1.704 0 .565 0 5.095v26.286Zm50.835 0c0 1.348.536 2.642 1.49 3.595l91.5 91.5c3.203 3.204 8.68.935 8.68-3.596V96.595a5.086 5.086 0 0 0-1.49-3.596l-91.5-91.5c-3.203-3.203-8.68-.934-8.68 3.596v26.286ZM110.35 1.5c-3.203-3.204-8.68-.935-8.68 3.595v26.286c0 1.348.536 2.642 1.49 3.595l40.664 40.665c3.204 3.204 8.68.935 8.68-3.596V45.76a5.086 5.086 0 0 0-1.489-3.596L110.35 1.5Z" fill="var(--ph-brand-yellow)" />+ <path d="m216.24 107.388-47.864-47.863c-3.204-3.204-8.681-.935-8.681 3.595v66.952a5.085 5.085 0 0 0 5.085 5.085h74.142a5.085 5.085 0 0 0 5.085-5.085v-6.097c0-2.809-2.286-5.052-5.07-5.414a39.27 39.27 0 0 1-22.698-11.173Zm-32.145 11.502a8.137 8.137 0 0 1-8.133-8.134 8.137 8.137 0 0 1 8.133-8.134 8.137 8.137 0 0 1 8.134 8.134 8.137 8.137 0 0 1-8.134 8.134Z" fill="var(--ph-brand-black)" />+ <path d="M0 130.072a5.085 5.085 0 0 0 5.085 5.085h23.307c4.53 0 6.799-5.477 3.595-8.681L8.681 103.169C5.477 99.966 0 102.235 0 106.765v23.307Zm50.835-86.418L8.68 1.5C5.477-1.704 0 .565 0 5.095v26.286c0 1.348.536 2.642 1.49 3.595l49.345 49.346V43.654ZM8.68 52.334C5.477 49.131 0 51.4 0 55.93v26.286c0 1.348.536 2.642 1.49 3.595l49.345 49.346V94.489L8.68 52.334Z" fill="var(--ph-brand-blue)" />+ <path d="M101.67 45.76a5.083 5.083 0 0 0-1.49-3.596L59.516 1.5c-3.204-3.204-8.681-.935-8.681 3.595v26.286c0 1.348.536 2.642 1.49 3.595l49.345 49.346V45.76Zm-50.835 89.397h28.392c4.53 0 6.799-5.477 3.595-8.681L50.835 94.489v40.668Zm0-91.503v38.562c0 1.348.536 2.642 1.49 3.595l49.345 49.346V96.595a5.084 5.084 0 0 0-1.49-3.596L50.835 43.654Z" fill="var(--ph-brand-orange)" />+ <path d="M303.32 114.86h20.888V80.22h17.452c19.17 0 31.466-11.37 31.466-28.954 0-17.584-12.295-28.954-31.466-28.954h-38.34v92.547Zm20.888-52.488V40.16h15.337c7.932 0 12.692 4.23 12.692 11.105 0 6.876-4.76 11.106-12.692 11.106h-15.337Zm86.71 53.545c20.36 0 35.167-14.543 35.167-34.375 0-19.831-14.807-34.374-35.167-34.374-20.625 0-35.168 14.543-35.168 34.374 0 19.832 14.543 34.375 35.168 34.375Zm-15.866-34.375c0-10.577 6.346-17.848 15.866-17.848 9.386 0 15.733 7.271 15.733 17.848 0 10.577-6.347 17.849-15.733 17.849-9.52 0-15.866-7.272-15.866-17.849Zm84.462 34.375c15.601 0 26.178-9.784 26.178-21.286 0-26.97-35.829-18.245-35.829-28.822 0-2.908 3.04-4.759 7.404-4.759 4.495 0 9.916 2.776 11.634 8.858l15.601-6.479c-3.04-9.65-14.279-16.261-27.896-16.261-14.676 0-23.798 8.725-23.798 19.17 0 25.252 35.3 18.245 35.3 28.69 0 3.702-3.437 6.214-8.594 6.214-7.403 0-12.56-5.156-14.146-11.37l-15.601 6.081c3.438 10.048 13.486 19.964 29.747 19.964Zm76.43-1.718-1.321-16.791c-2.248 1.19-5.157 1.586-7.536 1.586-4.76 0-7.933-3.437-7.933-9.387V64.355h16.13v-16.13h-16.13V28.923h-19.435v19.302h-10.577v16.13h10.577v27.764c0 16.13 10.974 23.798 25.384 23.798 3.967 0 7.669-.66 10.842-1.718Zm67.764-91.887v35.961h-36.755v-35.96h-20.89v92.546h20.89V76.122h36.755v38.737h21.021V22.312h-21.021Zm67.386 93.605c20.36 0 35.168-14.543 35.168-34.375 0-19.831-14.807-34.374-35.168-34.374-20.625 0-35.168 14.543-35.168 34.374 0 19.832 14.543 34.375 35.168 34.375ZM675.23 81.542c0-10.577 6.346-17.848 15.865-17.848 9.387 0 15.733 7.271 15.733 17.848 0 10.577-6.346 17.849-15.733 17.849-9.519 0-15.865-7.272-15.865-17.849Zm88.545 31.202c7.272 0 13.75-2.512 17.188-6.875v6.346c0 7.404-5.95 12.56-15.072 12.56-6.479 0-12.164-3.173-13.09-8.594l-17.715 2.777c2.38 12.56 15.204 21.022 30.805 21.022 20.492 0 34.11-12.032 34.11-29.88V48.225h-19.17v5.685c-3.57-4.098-9.652-6.742-17.452-6.742-18.51 0-30.144 12.692-30.144 32.788 0 20.096 11.634 32.788 30.54 32.788ZM752.14 79.956c0-9.916 5.817-16.262 14.807-16.262 9.123 0 14.94 6.346 14.94 16.262s-5.817 16.262-14.94 16.262c-8.99 0-14.807-6.346-14.807-16.262Z" fill="var(--ph-brand-black)" />+ </g>+ </svg>+ </div>+ <div class="error-icon"></div>+ <h1 class="error-title">{{ error_title }}</h1>+ <p class="error-message">{{ error_message }}</p>+ {% if error_detail %}+ <div class="error-detail">{{ error_detail }}</div>{% endif %}- <a href="javascript:history.back()" class="btn btn-secondary">Go back</a>+ <div class="error-actions">+ {% if settings_url %}+ <a href="{{ settings_url }}" class="btn btn-primary">Go to project settings</a>+ {% endif %}+ <a href="javascript:history.back()" class="btn btn-secondary">Go back</a>+ </div></div>- </div>-</body>-+ </body></html>diff --git a/posthog/templates/two_factor/_base.html b/posthog/templates/two_factor/_base.htmlindex a60b910868b7..43aa635d6c14 100644--- a/posthog/templates/two_factor/_base.html+++ b/posthog/templates/two_factor/_base.html@@ -1,11 +1,7 @@{% include "head.html" %}--<link- href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"- rel="stylesheet"- crossorigin="anonymous"-/>-+<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"+ rel="stylesheet"+ crossorigin="anonymous" /><style>html,body {@@ -77,74 +73,52 @@}</style><div class="container">- <svg- fill="none"- width="200px"- viewBox="0 0 130 32"- xmlns="http://www.w3.org/2000/svg"- xmlns:xlink="http://www.w3.org/1999/xlink"- >+ <svg fill="none"+ width="200px"+ viewBox="0 0 130 32"+ xmlns="http://www.w3.org/2000/svg"+ xmlns:xlink="http://www.w3.org/1999/xlink"><g>- <path- d="m12.3708 17.2868c-.2868.5737-1.1056.5737-1.3925 0l-.6861-1.3722c-.1095-.2192-.1095-.4771 0-.6963l.6861-1.3722c.2869-.5737 1.1057-.5737 1.3925 0l.6861 1.3722c.1096.2192.1096.4771 0 .6963z"- fill="#1d4aff"- ></path>- <path- d="m12.3708 25.069c-.2868.5737-1.1056.5737-1.3925 0l-.6861-1.3722c-.1095-.2191-.1095-.4771 0-.6963l.6861-1.3721c.2869-.5738 1.1057-.5738 1.3925 0l.6861 1.3721c.1096.2192.1096.4772 0 .6963z"- fill="#1d4aff"- ></path>- <path- d="m3.89258 22.1149c0-.6935.83849-1.0408 1.32888-.5504l3.56791 3.5679c.49039.4904.14308 1.3289-.55044 1.3289h-3.56791c-.42992 0-.77844-.3486-.77844-.7785zm0-3.7582c0 .2065.08201.4045.228.5505l7.32612 7.3261c.146.1459.344.228.5504.228h4.0239c.6935 0 1.0409-.8385.5505-1.3289l-11.35004-11.35c-.49039-.4904-1.32888-.1431-1.32888.5504zm0-7.7821c0 .2065.08201.4045.228.5505l15.10822 15.1082c.146.1459.344.228.5504.228h4.0239c.6935 0 1.0409-.8385.5505-1.3289l-19.13214-19.13213c-.49039-.49039-1.32888-.14307-1.32888.55044zm7.78212 0c0 .2065.082.4045.228.5505l14.0073 14.0073c.4904.4904 1.3289.143 1.3289-.5505v-4.0239c0-.2064-.082-.4044-.228-.5504l-14.0073-14.00733c-.4904-.49039-1.3289-.14307-1.3289.55044zm9.111-4.57433c-.4904-.49039-1.3289-.14307-1.3289.55044v4.02389c0 .2065.082.4045.228.5505l6.2252 6.2252c.4904.4904 1.3289.1431 1.3289-.5505v-4.0239c0-.2064-.082-.4044-.228-.5504z"- fill="#f9bd2b"- ></path>- <path- d="m36.9955 22.2104-7.3273-7.3273c-.4904-.4904-1.3288-.1431-1.3288.5504v10.2493c0 .43.3485.7785.7784.7785h11.3502c.4299 0 .7784-.3485.7784-.7785v-.9334c0-.4299-.35-.7732-.7763-.8287-1.3084-.1703-2.5321-.7679-3.4746-1.7103zm-4.9207 1.7606c-.6874 0-1.2452-.5578-1.2452-1.2451s.5578-1.2452 1.2452-1.2452c.6873 0 1.2451.5579 1.2451 1.2452s-.5578 1.2451-1.2451 1.2451z"- fill="#000"- ></path>- <g fill="#1d4aff">- <path- d="m3.89258 25.6831c0 .4299.34852.7784.77844.7784h3.56791c.69352 0 1.04083-.8385.55044-1.3289l-3.56791-3.5679c-.49039-.4904-1.32888-.1431-1.32888.5505z"- ></path>- <path- d="m11.6747 12.4535-6.45324-6.45323c-.49039-.49039-1.32888-.14307-1.32888.55044v4.02389c0 .2065.08201.4045.228.5505l7.55412 7.5541z"- ></path>- <path- d="m5.22146 13.7825c-.49039-.4904-1.32888-.1431-1.32888.5504v4.0239c0 .2065.08201.4045.228.5505l7.55412 7.5541v-6.2257z"- ></path>- </g>- <path- d="m19.4569 12.7759c0-.2064-.082-.4044-.228-.5504l-6.2252-6.22523c-.4904-.49039-1.3289-.14307-1.3289.55044v4.02389c0 .2065.082.4045.228.5505l7.5541 7.5541z"- fill="#f54e00"- ></path>- <path d="m11.6748 26.4615h4.3464c.6935 0 1.0408-.8385.5504-1.3289l-4.8968-4.8968z" fill="#f54e00"></path>- <path- d="m11.6748 12.4536v5.9032c0 .2065.082.4045.228.5505l7.5541 7.5541v-5.9032c0-.2065-.082-.4045-.228-.5505z"- fill="#f54e00"- ></path>+ <path d="m12.3708 17.2868c-.2868.5737-1.1056.5737-1.3925 0l-.6861-1.3722c-.1095-.2192-.1095-.4771 0-.6963l.6861-1.3722c.2869-.5737 1.1057-.5737 1.3925 0l.6861 1.3722c.1096.2192.1096.4771 0 .6963z" fill="#1d4aff">+ </path>+ <path d="m12.3708 25.069c-.2868.5737-1.1056.5737-1.3925 0l-.6861-1.3722c-.1095-.2191-.1095-.4771 0-.6963l.6861-1.3721c.2869-.5738 1.1057-.5738 1.3925 0l.6861 1.3721c.1096.2192.1096.4772 0 .6963z" fill="#1d4aff">+ </path>+ <path d="m3.89258 22.1149c0-.6935.83849-1.0408 1.32888-.5504l3.56791 3.5679c.49039.4904.14308 1.3289-.55044 1.3289h-3.56791c-.42992 0-.77844-.3486-.77844-.7785zm0-3.7582c0 .2065.08201.4045.228.5505l7.32612 7.3261c.146.1459.344.228.5504.228h4.0239c.6935 0 1.0409-.8385.5505-1.3289l-11.35004-11.35c-.49039-.4904-1.32888-.1431-1.32888.5504zm0-7.7821c0 .2065.08201.4045.228.5505l15.10822 15.1082c.146.1459.344.228.5504.228h4.0239c.6935 0 1.0409-.8385.5505-1.3289l-19.13214-19.13213c-.49039-.49039-1.32888-.14307-1.32888.55044zm7.78212 0c0 .2065.082.4045.228.5505l14.0073 14.0073c.4904.4904 1.3289.143 1.3289-.5505v-4.0239c0-.2064-.082-.4044-.228-.5504l-14.0073-14.00733c-.4904-.49039-1.3289-.14307-1.3289.55044zm9.111-4.57433c-.4904-.49039-1.3289-.14307-1.3289.55044v4.02389c0 .2065.082.4045.228.5505l6.2252 6.2252c.4904.4904 1.3289.1431 1.3289-.5505v-4.0239c0-.2064-.082-.4044-.228-.5504z" fill="#f9bd2b">+ </path>+ <path d="m36.9955 22.2104-7.3273-7.3273c-.4904-.4904-1.3288-.1431-1.3288.5504v10.2493c0 .43.3485.7785.7784.7785h11.3502c.4299 0 .7784-.3485.7784-.7785v-.9334c0-.4299-.35-.7732-.7763-.8287-1.3084-.1703-2.5321-.7679-3.4746-1.7103zm-4.9207 1.7606c-.6874 0-1.2452-.5578-1.2452-1.2451s.5578-1.2452 1.2452-1.2452c.6873 0 1.2451.5579 1.2451 1.2452s-.5578 1.2451-1.2451 1.2451z" fill="#000">+ </path>+ <g fill="#1d4aff">+ <path d="m3.89258 25.6831c0 .4299.34852.7784.77844.7784h3.56791c.69352 0 1.04083-.8385.55044-1.3289l-3.56791-3.5679c-.49039-.4904-1.32888-.1431-1.32888.5505z">+ </path>+ <path d="m11.6747 12.4535-6.45324-6.45323c-.49039-.49039-1.32888-.14307-1.32888.55044v4.02389c0 .2065.08201.4045.228.5505l7.55412 7.5541z">+ </path>+ <path d="m5.22146 13.7825c-.49039-.4904-1.32888-.1431-1.32888.5504v4.0239c0 .2065.08201.4045.228.5505l7.55412 7.5541v-6.2257z">+ </path>+ </g>+ <path d="m19.4569 12.7759c0-.2064-.082-.4044-.228-.5504l-6.2252-6.22523c-.4904-.49039-1.3289-.14307-1.3289.55044v4.02389c0 .2065.082.4045.228.5505l7.5541 7.5541z" fill="#f54e00">+ </path>+ <path d="m11.6748 26.4615h4.3464c.6935 0 1.0408-.8385.5504-1.3289l-4.8968-4.8968z" fill="#f54e00"></path>+ <path d="m11.6748 12.4536v5.9032c0 .2065.082.4045.228.5505l7.5541 7.5541v-5.9032c0-.2065-.082-.4045-.228-.5505z" fill="#f54e00">+ </path></g><g fill="#000">- <path- d="m50.3259 23.3537h3.1979v-5.3028h2.6716c2.9347 0 4.817-1.7406 4.817-4.4324 0-2.6919-1.8823-4.43246-4.817-4.43246h-5.8695zm3.1979-8.0351v-3.4002h2.3478c1.2143 0 1.943.6476 1.943 1.7001 0 1.0524-.7287 1.7001-1.943 1.7001z"- ></path>- <path- d="m66.7977 23.5156c3.1169 0 5.3837-2.2263 5.3837-5.2623 0-3.0359-2.2668-5.2622-5.3837-5.2622-3.1573 0-5.3837 2.2263-5.3837 5.2622 0 3.036 2.2264 5.2623 5.3837 5.2623zm-2.4287-5.2623c0-1.6191.9715-2.7323 2.4287-2.7323 1.437 0 2.4085 1.1132 2.4085 2.7323 0 1.6192-.9715 2.7324-2.4085 2.7324-1.4572 0-2.4287-1.1132-2.4287-2.7324z"- ></path>- <path- d="m77.2989 23.5156c2.3882 0 4.0074-1.4977 4.0074-3.2585 0-4.1289-5.4849-2.7931-5.4849-4.4123 0-.4452.4655-.7286 1.1334-.7286.6882 0 1.518.425 1.7811 1.3561l2.3883-.9918c-.4656-1.4775-2.1859-2.4894-4.2706-2.4894-2.2466 0-3.6431 1.3358-3.6431 2.9347 0 3.8657 5.404 2.7931 5.404 4.392 0 .5667-.5263.9512-1.3156.9512-1.1334 0-1.9228-.7893-2.1656-1.7406l-2.3883.931c.5262 1.5383 2.0644 3.0562 4.5539 3.0562z"- ></path>- <path- d="m88.9994 23.2525-.2024-2.5704c-.3441.1821-.7894.2429-1.1537.2429-.7286 0-1.2143-.5263-1.2143-1.437v-3.8658h2.4692v-2.4692h-2.4692v-2.955h-2.9752v2.955h-1.6192v2.4692h1.6192v4.2503c0 2.4692 1.6798 3.6431 3.8859 3.6431.6072 0 1.1739-.1012 1.6597-.2631z"- ></path>- <path- d="m99.3728 9.18604v5.50516h-5.6266v-5.50516h-3.1979v14.16766h3.1979v-5.9302h5.6266v5.9302h3.2182v-14.16766z"- ></path>- <path- d="m109.689 23.5156c3.117 0 5.384-2.2263 5.384-5.2623 0-3.0359-2.267-5.2622-5.384-5.2622-3.157 0-5.384 2.2263-5.384 5.2622 0 3.036 2.227 5.2623 5.384 5.2623zm-2.429-5.2623c0-1.6191.972-2.7323 2.429-2.7323 1.437 0 2.408 1.1132 2.408 2.7323 0 1.6192-.971 2.7324-2.408 2.7324-1.457 0-2.429-1.1132-2.429-2.7324z"- ></path>- <path- d="m120.815 23.0299c1.113 0 2.105-.3846 2.631-1.0525v.9715c0 1.1334-.911 1.9228-2.307 1.9228-.992 0-1.862-.4858-2.004-1.3156l-2.712.425c.364 1.9228 2.328 3.2181 4.716 3.2181 3.137 0 5.222-1.8418 5.222-4.5741v-9.4721h-2.935v.8703c-.546-.6274-1.477-1.0322-2.672-1.0322-2.833 0-4.614 1.943-4.614 5.0194s1.781 5.0194 4.675 5.0194zm-1.781-5.0194c0-1.518.891-2.4895 2.267-2.4895 1.396 0 2.287.9715 2.287 2.4895 0 1.5179-.891 2.4894-2.287 2.4894-1.376 0-2.267-.9715-2.267-2.4894z"- ></path>- </g></svg- ><br /><br />- {% block content %} {% endblock %}+ <path d="m50.3259 23.3537h3.1979v-5.3028h2.6716c2.9347 0 4.817-1.7406 4.817-4.4324 0-2.6919-1.8823-4.43246-4.817-4.43246h-5.8695zm3.1979-8.0351v-3.4002h2.3478c1.2143 0 1.943.6476 1.943 1.7001 0 1.0524-.7287 1.7001-1.943 1.7001z">+ </path>+ <path d="m66.7977 23.5156c3.1169 0 5.3837-2.2263 5.3837-5.2623 0-3.0359-2.2668-5.2622-5.3837-5.2622-3.1573 0-5.3837 2.2263-5.3837 5.2622 0 3.036 2.2264 5.2623 5.3837 5.2623zm-2.4287-5.2623c0-1.6191.9715-2.7323 2.4287-2.7323 1.437 0 2.4085 1.1132 2.4085 2.7323 0 1.6192-.9715 2.7324-2.4085 2.7324-1.4572 0-2.4287-1.1132-2.4287-2.7324z">+ </path>+ <path d="m77.2989 23.5156c2.3882 0 4.0074-1.4977 4.0074-3.2585 0-4.1289-5.4849-2.7931-5.4849-4.4123 0-.4452.4655-.7286 1.1334-.7286.6882 0 1.518.425 1.7811 1.3561l2.3883-.9918c-.4656-1.4775-2.1859-2.4894-4.2706-2.4894-2.2466 0-3.6431 1.3358-3.6431 2.9347 0 3.8657 5.404 2.7931 5.404 4.392 0 .5667-.5263.9512-1.3156.9512-1.1334 0-1.9228-.7893-2.1656-1.7406l-2.3883.931c.5262 1.5383 2.0644 3.0562 4.5539 3.0562z">+ </path>+ <path d="m88.9994 23.2525-.2024-2.5704c-.3441.1821-.7894.2429-1.1537.2429-.7286 0-1.2143-.5263-1.2143-1.437v-3.8658h2.4692v-2.4692h-2.4692v-2.955h-2.9752v2.955h-1.6192v2.4692h1.6192v4.2503c0 2.4692 1.6798 3.6431 3.8859 3.6431.6072 0 1.1739-.1012 1.6597-.2631z">+ </path>+ <path d="m99.3728 9.18604v5.50516h-5.6266v-5.50516h-3.1979v14.16766h3.1979v-5.9302h5.6266v5.9302h3.2182v-14.16766z">+ </path>+ <path d="m109.689 23.5156c3.117 0 5.384-2.2263 5.384-5.2623 0-3.0359-2.267-5.2622-5.384-5.2622-3.157 0-5.384 2.2263-5.384 5.2622 0 3.036 2.227 5.2623 5.384 5.2623zm-2.429-5.2623c0-1.6191.972-2.7323 2.429-2.7323 1.437 0 2.408 1.1132 2.408 2.7323 0 1.6192-.971 2.7324-2.408 2.7324-1.457 0-2.429-1.1132-2.429-2.7324z">+ </path>+ <path d="m120.815 23.0299c1.113 0 2.105-.3846 2.631-1.0525v.9715c0 1.1334-.911 1.9228-2.307 1.9228-.992 0-1.862-.4858-2.004-1.3156l-2.712.425c.364 1.9228 2.328 3.2181 4.716 3.2181 3.137 0 5.222-1.8418 5.222-4.5741v-9.4721h-2.935v.8703c-.546-.6274-1.477-1.0322-2.672-1.0322-2.833 0-4.614 1.943-4.614 5.0194s1.781 5.0194 4.675 5.0194zm-1.781-5.0194c0-1.518.891-2.4895 2.267-2.4895 1.396 0 2.287.9715 2.287 2.4895 0 1.5179-.891 2.4894-2.287 2.4894-1.376 0-2.267-.9715-2.267-2.4894z">+ </path>+ </g>+ </svg>+ <br />+ <br />+ {% block content %}{% endblock %}</div>diff --git a/products/conversations/backend/templates/email/customer_email_forwarding_verification.html b/products/conversations/backend/templates/email/customer_email_forwarding_verification.htmlindex 9f6285b46395..9677de89f77e 100644--- a/products/conversations/backend/templates/email/customer_email_forwarding_verification.html+++ b/products/conversations/backend/templates/email/customer_email_forwarding_verification.html@@ -2,10 +2,10 @@{% block preheader %}PostHog is checking that Gmail forwards messages from this mailbox.{% endblock %}{% block heading %}Verify email forwarding{% endblock %}{% block section %}-<p>PostHog sent this email to check that forwarding from this mailbox is working.</p>-<p>You do not need to do anything. PostHog will connect this email when Gmail forwards the message.</p>-<p>If you did not request this, you can ignore it.</p>-<div class="mt muted">- <p>Verification reference: posthog-forwarding-challenge:{{ forwarding_challenge }}</p>-</div>+ <p>PostHog sent this email to check that forwarding from this mailbox is working.</p>+ <p>You do not need to do anything. PostHog will connect this email when Gmail forwards the message.</p>+ <p>If you did not request this, you can ignore it.</p>+ <div class="mt muted">+ <p>Verification reference: posthog-forwarding-challenge:{{ forwarding_challenge }}</p>+ </div>{% endblock %}diff --git a/products/data_modeling/backend/templates/admin/data_modeling/dag_tiers.html b/products/data_modeling/backend/templates/admin/data_modeling/dag_tiers.htmlindex 2d2d3ea4645d..448c779bcc98 100644--- a/products/data_modeling/backend/templates/admin/data_modeling/dag_tiers.html+++ b/products/data_modeling/backend/templates/admin/data_modeling/dag_tiers.html@@ -1,7 +1,6 @@{% extends "admin/base_site.html" %}-{% block content %}-<style>+ <style>.tier-summary { border-collapse: collapse; margin-bottom: 24px; }.tier-summary th, .tier-summary td { padding: 6px 12px; border-bottom: 1px solid #ddd; text-align: left; }.tier-nodes { border-collapse: collapse; width: 100%; margin-bottom: 32px; font-size: 12px; }@@ -18,91 +17,117 @@.pill-not_materializing { background: #f5f5f5; color: #888; }.tier-heading { margin-bottom: 4px; }.tier-meta { color: #666; margin: 0 0 10px; }-</style>--<p class="tier-meta">- DAG <code>{{ dag.id }}</code> ·- team <a href="{% url 'admin:posthog_team_change' dag.team_id %}">{{ dag.team.name }} ({{ dag.team_id }})</a> ·- DAG interval {{ dag.sync_frequency_interval|default:"—" }}-</p>--<table class="tier-summary">- <tr>- <th>Tier</th><th>Schedule</th><th>Declared</th><th>Ran</th>- <th>OK</th><th>Failed</th><th>Running</th><th>Cancelled</th><th>Suspended</th><th>Blocked</th><th>No job</th>- <th>Non-materializing</th><th>Last run</th>- </tr>- {% for tier in tiers %}- <tr>- <td><a href="#tier-{{ tier.slug }}"><strong>{{ tier.label }}</strong></a></td>- <td>- {% if temporal_ui_host %}- <a href="{{ temporal_ui_host }}/namespaces/{{ temporal_namespace }}/schedules/execute-dag-{{ tier.schedule_id }}" target="_blank" rel="noreferrer">schedule ↗</a>- {% else %}—{% endif %}- </td>- <td>{{ tier.declared }}</td>- <td>{{ tier.ran }}</td>- <td>{{ tier.counts.ok }}</td>- <td>{{ tier.counts.failed }}</td>- <td>{{ tier.counts.running }}</td>- <td>{{ tier.counts.cancelled }}</td>- <td>{{ tier.counts.suspended }}</td>- <td>{{ tier.counts.blocked }}</td>- <td>{{ tier.counts.missing }}</td>- <td>{{ tier.counts.not_materializing }}</td>- <td>- {% if tier.parent_workflow_id %}- {% if tier.run_is_legacy %}<strong>legacy</strong> {% endif %}{{ tier.started_at }}- {% if temporal_ui_host %}- <a href="{{ temporal_ui_host }}/namespaces/{{ temporal_namespace }}/workflows/{{ tier.parent_workflow_id }}" target="_blank" rel="noreferrer">↗</a>- {% endif %}- {% else %}never ran{% endif %}- </td>- </tr>- {% empty %}- <tr><td colspan="13">No node on this DAG declares a freshness target, so it has no tiers.</td></tr>- {% endfor %}-</table>--{% for tier in tiers %}-<h2 class="tier-heading" id="tier-{{ tier.slug }}">{{ tier.label }} — {{ tier.declared }} materializing node{{ tier.declared|pluralize }}</h2>-<p class="tier-meta">- {% if tier.run_is_legacy %}- This DAG has no schedule for this tier. The statuses below come from its pre-tier- <strong>single DAG-wide schedule</strong>, <code>{{ tier.parent_workflow_id }}</code>, started- {{ tier.started_at }} — so the nodes may well be materializing, just not on a per-tier schedule.- {% elif tier.parent_workflow_id %}- Last run <code>{{ tier.parent_workflow_id }}</code> started {{ tier.started_at }}.- {% else %}- This tier has never produced a job. Either its schedule does not exist or it has not fired yet.- {% endif %}-</p>-<table class="tier-nodes">- <tr><th>Node</th><th>Type</th><th>Status</th><th>Detail</th><th>Run</th></tr>- {% for node in tier.nodes %}- <tr>- <td>{{ node.name }}</td>- <td>{{ node.node_type }}</td>- <td><span class="pill pill-{{ node.status }}">{{ node.status }}</span></td>- <td class="detail">{{ node.detail }}</td>- <td>- {% if node.workflow_id and temporal_ui_host %}- <a href="{{ temporal_ui_host }}/namespaces/{{ temporal_namespace }}/workflows/{{ node.workflow_id }}/{{ node.workflow_run_id }}" target="_blank" rel="noreferrer">workflow ↗</a>- {% else %}—{% endif %}- </td>- </tr>- {% endfor %}-</table>-{% endfor %}--{% if untargeted %}-<h2>No declared target ({{ untargeted|length }})</h2>-<p class="tier-meta">These nodes belong to no tier, so no schedule fires them. Source tables are expected here; a matview or endpoint is not.</p>-<table class="tier-nodes">- <tr><th>Node</th><th>Type</th></tr>- {% for node in untargeted %}- <tr><td>{{ node.name }}</td><td>{{ node.type }}</td></tr>- {% endfor %}-</table>-{% endif %}+ </style>+ <p class="tier-meta">+ DAG <code>{{ dag.id }}</code> ·+ team <a href="{% url 'admin:posthog_team_change' dag.team_id %}">{{ dag.team.name }} ({{ dag.team_id }})</a> ·+ DAG interval {{ dag.sync_frequency_interval|default:"—" }}+ </p>+ <table class="tier-summary">+ <tr>+ <th>Tier</th>+ <th>Schedule</th>+ <th>Declared</th>+ <th>Ran</th>+ <th>OK</th>+ <th>Failed</th>+ <th>Running</th>+ <th>Cancelled</th>+ <th>Suspended</th>+ <th>Blocked</th>+ <th>No job</th>+ <th>Non-materializing</th>+ <th>Last run</th>+ </tr>+ {% for tier in tiers %}+ <tr>+ <td><a href="#tier-{{ tier.slug }}"><strong>{{ tier.label }}</strong></a></td>+ <td>+ {% if temporal_ui_host %}+ <a href="{{ temporal_ui_host }}/namespaces/{{ temporal_namespace }}/schedules/execute-dag-{{ tier.schedule_id }}"+ target="_blank"+ rel="noreferrer">schedule ↗</a>+ {% else %}—{% endif %}+ </td>+ <td>{{ tier.declared }}</td>+ <td>{{ tier.ran }}</td>+ <td>{{ tier.counts.ok }}</td>+ <td>{{ tier.counts.failed }}</td>+ <td>{{ tier.counts.running }}</td>+ <td>{{ tier.counts.cancelled }}</td>+ <td>{{ tier.counts.suspended }}</td>+ <td>{{ tier.counts.blocked }}</td>+ <td>{{ tier.counts.missing }}</td>+ <td>{{ tier.counts.not_materializing }}</td>+ <td>+ {% if tier.parent_workflow_id %}+ {% if tier.run_is_legacy %}<strong>legacy</strong> {% endif %}{{ tier.started_at }}+ {% if temporal_ui_host %}+ <a href="{{ temporal_ui_host }}/namespaces/{{ temporal_namespace }}/workflows/{{ tier.parent_workflow_id }}"+ target="_blank"+ rel="noreferrer">↗</a>+ {% endif %}+ {% else %}never ran{% endif %}+ </td>+ </tr>+ {% empty %}+ <tr>+ <td colspan="13">No node on this DAG declares a freshness target, so it has no tiers.</td>+ </tr>+ {% endfor %}+ </table>+ {% for tier in tiers %}+ <h2 class="tier-heading" id="tier-{{ tier.slug }}">{{ tier.label }} — {{ tier.declared }} materializing node{{ tier.declared|pluralize }}</h2>+ <p class="tier-meta">+ {% if tier.run_is_legacy %}+ This DAG has no schedule for this tier. The statuses below come from its pre-tier+ <strong>single DAG-wide schedule</strong>, <code>{{ tier.parent_workflow_id }}</code>, started+ {{ tier.started_at }} — so the nodes may well be materializing, just not on a per-tier schedule.+ {% elif tier.parent_workflow_id %}+ Last run <code>{{ tier.parent_workflow_id }}</code> started {{ tier.started_at }}.+ {% else %}+ This tier has never produced a job. Either its schedule does not exist or it has not fired yet.+ {% endif %}+ </p>+ <table class="tier-nodes">+ <tr>+ <th>Node</th>+ <th>Type</th>+ <th>Status</th>+ <th>Detail</th>+ <th>Run</th>+ </tr>+ {% for node in tier.nodes %}+ <tr>+ <td>{{ node.name }}</td>+ <td>{{ node.node_type }}</td>+ <td><span class="pill pill-{{ node.status }}">{{ node.status }}</span></td>+ <td class="detail">{{ node.detail }}</td>+ <td>+ {% if node.workflow_id and temporal_ui_host %}+ <a href="{{ temporal_ui_host }}/namespaces/{{ temporal_namespace }}/workflows/{{ node.workflow_id }}/{{ node.workflow_run_id }}"+ target="_blank"+ rel="noreferrer">workflow ↗</a>+ {% else %}—{% endif %}+ </td>+ </tr>+ {% endfor %}+ </table>+ {% endfor %}+ {% if untargeted %}+ <h2>No declared target ({{ untargeted|length }})</h2>+ <p class="tier-meta">These nodes belong to no tier, so no schedule fires them. Source tables are expected here; a matview or endpoint is not.</p>+ <table class="tier-nodes">+ <tr>+ <th>Node</th>+ <th>Type</th>+ </tr>+ {% for node in untargeted %}+ <tr>+ <td>{{ node.name }}</td>+ <td>{{ node.type }}</td>+ </tr>+ {% endfor %}+ </table>+ {% endif %}{% endblock %}diff --git a/products/experiments/backend/templates/admin/experiments/experimentmetricsrecalculation/change_form.html b/products/experiments/backend/templates/admin/experiments/experimentmetricsrecalculation/change_form.htmlindex 51383cc3bd5d..2b345d0d1e2c 100644--- a/products/experiments/backend/templates/admin/experiments/experimentmetricsrecalculation/change_form.html+++ b/products/experiments/backend/templates/admin/experiments/experimentmetricsrecalculation/change_form.html@@ -1,21 +1,43 @@{% extends "admin/change_form.html" %}{% load i18n %}-{% block after_field_sets %}{{ block.super }}-{% if original and can_start_recalculation %}- <fieldset style="margin: 20px 0; padding: 16px; border: 1px solid #ccc; border-radius: 4px;">- <h2>Recalculation actions</h2>- <div style="margin-top: 12px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap;">- {% if can_mark_terminal %}- <button type="submit" formaction="{{ mark_failed_url }}" formmethod="post" formnovalidate class="button" style="padding: 8px 14px; background: #ba2121;">Mark as failed (and cancel workflow)</button>- <button type="submit" formaction="{{ mark_completed_url }}" formmethod="post" formnovalidate class="button" style="padding: 8px 14px;">Mark as completed</button>- {% else %}- <p style="color: #666; margin: 4px 0;">This recalculation is already terminal.</p>- {% endif %}- <button type="submit" formaction="{{ start_recalculation_url }}" formmethod="post" formnovalidate class="button" style="padding: 8px 14px; background: #417690;">Start new recalculation</button>- </div>- </fieldset>+ <fieldset style="margin: 20px 0;+ padding: 16px;+ border: 1px solid #ccc;+ border-radius: 4px">+ <h2>Recalculation actions</h2>+ <div style="margin-top: 12px;+ display: flex;+ gap: 8px;+ align-items: center;+ flex-wrap: wrap">+ {% if can_mark_terminal %}+ <button type="submit"+ formaction="{{ mark_failed_url }}"+ formmethod="post"+ formnovalidate+ class="button"+ style="padding: 8px 14px;+ background: #ba2121">Mark as failed (and cancel workflow)</button>+ <button type="submit"+ formaction="{{ mark_completed_url }}"+ formmethod="post"+ formnovalidate+ class="button"+ style="padding: 8px 14px">Mark as completed</button>+ {% else %}+ <p style="color: #666; margin: 4px 0;">This recalculation is already terminal.</p>+ {% endif %}+ <button type="submit"+ formaction="{{ start_recalculation_url }}"+ formmethod="post"+ formnovalidate+ class="button"+ style="padding: 8px 14px;+ background: #417690">Start new recalculation</button>+ </div>+ </fieldset>{% endif %}{% endblock %}diff --git a/products/growth/backend/templates/admin/growth/edit_inline/campaign_tabular.html b/products/growth/backend/templates/admin/growth/edit_inline/campaign_tabular.htmlindex e323ced50345..b62918c3fdce 100644--- a/products/growth/backend/templates/admin/growth/edit_inline/campaign_tabular.html+++ b/products/growth/backend/templates/admin/growth/edit_inline/campaign_tabular.html@@ -1,7 +1,4 @@{% include "admin/edit_inline/tabular.html" %}-{% if inline_admin_formset.formset.next_up_preview %}-<p style="margin: 8px 0 24px;">- {{ inline_admin_formset.formset.next_up_preview }}-</p>+ <p style="margin: 8px 0 24px;">{{ inline_admin_formset.formset.next_up_preview }}</p>{% endif %}diff --git a/products/legal_documents/backend/templates/admin/legal_documents/edit_inline/tabular.html b/products/legal_documents/backend/templates/admin/legal_documents/edit_inline/tabular.htmlindex 78135b25f184..52dccea2afe4 100644--- a/products/legal_documents/backend/templates/admin/legal_documents/edit_inline/tabular.html+++ b/products/legal_documents/backend/templates/admin/legal_documents/edit_inline/tabular.html@@ -1,12 +1,11 @@{% load i18n %}{% include "admin/edit_inline/tabular.html" %}-{% if inline_admin_formset.formset.instance.pk %}-<p style="margin: 8px 0 24px;">- <a class="button" href="{% url 'admin:legal_documents_legaldocument_add' %}?organization={{ inline_admin_formset.formset.instance.pk }}">- {% translate "Upload signed document" %}- </a>-</p>+ <p style="margin: 8px 0 24px;">+ <a class="button"+ href="{% url 'admin:legal_documents_legaldocument_add' %}?organization={{ inline_admin_formset.formset.instance.pk }}">+ {% translate "Upload signed document" %}+ </a>+ </p>{% endif %}-<style>#{{ inline_admin_formset.formset.prefix }}-group .add-row { display: none; }</style>diff --git a/products/managed_warehouse/backend/templates/admin/managed_warehouse/duckgres_server/change_form.html b/products/managed_warehouse/backend/templates/admin/managed_warehouse/duckgres_server/change_form.htmlindex d87525d9d719..877a8ec66615 100644--- a/products/managed_warehouse/backend/templates/admin/managed_warehouse/duckgres_server/change_form.html+++ b/products/managed_warehouse/backend/templates/admin/managed_warehouse/duckgres_server/change_form.html@@ -1,6 +1,5 @@{% extends "admin/change_form.html" %}{% load i18n %}-{% block object-tools-items %}{{ block.super }}{% if original.pk %}@@ -8,7 +7,8 @@<a href="{% url 'admin:managed_warehouse_duckgresserver_enable_backfill' original.pk %}">Enable backfill for a team</a></li><li>- <a href="{% url 'admin:managed_warehouse_duckgresserver_deprovision' original.pk %}" class="deletelink">Deprovision warehouse</a>+ <a href="{% url 'admin:managed_warehouse_duckgresserver_deprovision' original.pk %}"+ class="deletelink">Deprovision warehouse</a></li>{% endif %}{% endblock %}diff --git a/products/managed_warehouse/backend/templates/admin/managed_warehouse/duckgres_server/change_list.html b/products/managed_warehouse/backend/templates/admin/managed_warehouse/duckgres_server/change_list.htmlindex eb08c824753b..752dcc7e09ee 100644--- a/products/managed_warehouse/backend/templates/admin/managed_warehouse/duckgres_server/change_list.html+++ b/products/managed_warehouse/backend/templates/admin/managed_warehouse/duckgres_server/change_list.html@@ -1,9 +1,9 @@{% extends "admin/change_list.html" %}{% load i18n %}-{% block object-tools-items %}<li>- <a href="{% url 'admin:managed_warehouse_duckgresserver_provision' %}" class="addlink">Provision managed warehouse</a>+ <a href="{% url 'admin:managed_warehouse_duckgresserver_provision' %}"+ class="addlink">Provision managed warehouse</a></li>{{ block.super }}{% endblock %}diff --git a/products/managed_warehouse/backend/templates/admin/managed_warehouse/duckgres_server/deprovision_confirm.html b/products/managed_warehouse/backend/templates/admin/managed_warehouse/duckgres_server/deprovision_confirm.htmlindex 2dfa6c2e0520..e3db20381f5f 100644--- a/products/managed_warehouse/backend/templates/admin/managed_warehouse/duckgres_server/deprovision_confirm.html+++ b/products/managed_warehouse/backend/templates/admin/managed_warehouse/duckgres_server/deprovision_confirm.html@@ -1,18 +1,23 @@{% extends "admin/base_site.html" %}{% load i18n %}-{% block content %}-<p><strong>Deprovision the managed warehouse for organization <code>{{ server.organization_id }}</code>?</strong></p>-<p>This makes a real control-plane <code>/deprovision</code> call for server <code>{{ server.host }}</code>-and tears down the org's managed warehouse. <strong>This cannot be undone.</strong> The-control-plane team rows are removed. The local <code>DuckgresServer</code> connection record is-left in place for the record; delete it separately if needed.</p>--<form method="post">- {% csrf_token %}- <div style="margin-top: 20px;">- <input type="submit" class="default" value="Yes, deprovision" style="padding: 10px 20px; background: #ba2121;" />- <a href="{% url 'admin:managed_warehouse_duckgresserver_change' server.pk %}" style="margin-left: 10px;">Cancel</a>- </div>-</form>+ <p><strong>Deprovision the managed warehouse for organization <code>{{ server.organization_id }}</code>?</strong></p>+ <p>+ This makes a real control-plane <code>/deprovision</code> call for server <code>{{ server.host }}</code>+ and tears down the org's managed warehouse. <strong>This cannot be undone.</strong> The+ control-plane team rows are removed. The local <code>DuckgresServer</code> connection record is+ left in place for the record; delete it separately if needed.+ </p>+ <form method="post">+ {% csrf_token %}+ <div style="margin-top: 20px;">+ <input type="submit"+ class="default"+ value="Yes, deprovision"+ style="padding: 10px 20px;+ background: #ba2121" />+ <a href="{% url 'admin:managed_warehouse_duckgresserver_change' server.pk %}"+ style="margin-left: 10px">Cancel</a>+ </div>+ </form>{% endblock %}diff --git a/products/managed_warehouse/backend/templates/admin/managed_warehouse/duckgres_server/enable_backfill_form.html b/products/managed_warehouse/backend/templates/admin/managed_warehouse/duckgres_server/enable_backfill_form.htmlindex a9985de4817d..57589e650bf1 100644--- a/products/managed_warehouse/backend/templates/admin/managed_warehouse/duckgres_server/enable_backfill_form.html+++ b/products/managed_warehouse/backend/templates/admin/managed_warehouse/duckgres_server/enable_backfill_form.html@@ -1,28 +1,49 @@{% extends "admin/base_site.html" %}{% load i18n %}-{% block content %}-<p>Onboard another team onto this organization's existing managed warehouse. Runs the same flow as the-in-product onboarding API: creates the control-plane team row with its schema name and enables-backfill for that team. The organization's feature flag is not required here.</p>--<p>Organization: <code>{{ server.organization_id }}</code> — server <code>{{ server.host }}</code></p>--<form method="post">- {% csrf_token %}- <div style="margin: 20px 0;">- <label for="team_id" style="display: block; margin-bottom: 5px; font-weight: bold;">Team ID (must belong to the org above):</label>- <input type="text" id="team_id" name="team_id" style="width: 400px; padding: 8px;" required />- </div>- <div style="margin: 20px 0;">- <label for="schema_name" style="display: block; margin-bottom: 5px; font-weight: bold;">Schema name:</label>- <input type="text" id="schema_name" name="schema_name" style="width: 400px; padding: 8px;" required />- <p class="help">Lowercase letters, numbers and underscores. Must be unique within the org's warehouse.- The schema name cannot be changed later.</p>- </div>- <div style="margin-top: 20px;">- <input type="submit" class="default" value="Onboard team" style="padding: 10px 20px;" />- <a href="{% url 'admin:managed_warehouse_duckgresserver_change' server.pk %}" style="margin-left: 10px;">Cancel</a>- </div>-</form>+ <p>+ Onboard another team onto this organization's existing managed warehouse. Runs the same flow as the+ in-product onboarding API: creates the control-plane team row with its schema name and enables+ backfill for that team. The organization's feature flag is not required here.+ </p>+ <p>Organization: <code>{{ server.organization_id }}</code> — server <code>{{ server.host }}</code></p>+ <form method="post">+ {% csrf_token %}+ <div style="margin: 20px 0;">+ <label for="team_id"+ style="display: block;+ margin-bottom: 5px;+ font-weight: bold">Team ID (must belong to the org above):</label>+ <input type="text"+ id="team_id"+ name="team_id"+ style="width: 400px;+ padding: 8px"+ required />+ </div>+ <div style="margin: 20px 0;">+ <label for="schema_name"+ style="display: block;+ margin-bottom: 5px;+ font-weight: bold">Schema name:</label>+ <input type="text"+ id="schema_name"+ name="schema_name"+ style="width: 400px;+ padding: 8px"+ required />+ <p class="help">+ Lowercase letters, numbers and underscores. Must be unique within the org's warehouse.+ The schema name cannot be changed later.+ </p>+ </div>+ <div style="margin-top: 20px;">+ <input type="submit"+ class="default"+ value="Onboard team"+ style="padding: 10px 20px" />+ <a href="{% url 'admin:managed_warehouse_duckgresserver_change' server.pk %}"+ style="margin-left: 10px">Cancel</a>+ </div>+ </form>{% endblock %}diff --git a/products/managed_warehouse/backend/templates/admin/managed_warehouse/duckgres_server/provision_form.html b/products/managed_warehouse/backend/templates/admin/managed_warehouse/duckgres_server/provision_form.htmlindex bf4024426300..74c9f624a8ef 100644--- a/products/managed_warehouse/backend/templates/admin/managed_warehouse/duckgres_server/provision_form.html+++ b/products/managed_warehouse/backend/templates/admin/managed_warehouse/duckgres_server/provision_form.html@@ -1,38 +1,76 @@{% extends "admin/base_site.html" %}{% load i18n %}-{% block content %}-<p>Provision a new managed warehouse for an organization and its first team. This runs the same-flow as the in-product provision API: the duckgres control-plane <code>/provision</code> call, then-the local <code>DuckgresServer</code> connection record and the control-plane team row.-The organization's <code>data-warehouse-scene</code> feature flag is-<strong>not</strong> required here.</p>-<p><strong>This makes a real control-plane call.</strong> In environments where-<code>DUCKGRES_API_URL</code> is unset, it returns "not configured" and persists nothing.</p>--<form method="post">- {% csrf_token %}- <div style="margin: 20px 0;">- <label for="organization_id" style="display: block; margin-bottom: 5px; font-weight: bold;">Organization ID (UUID):</label>- <input type="text" id="organization_id" name="organization_id" style="width: 400px; padding: 8px;" required />- </div>- <div style="margin: 20px 0;">- <label for="team_id" style="display: block; margin-bottom: 5px; font-weight: bold;">Team ID (the first/provisioning team in the org):</label>- <input type="text" id="team_id" name="team_id" style="width: 400px; padding: 8px;" required />- </div>- <div style="margin: 20px 0;">- <label for="database_name" style="display: block; margin-bottom: 5px; font-weight: bold;">Database name:</label>- <input type="text" id="database_name" name="database_name" style="width: 400px; padding: 8px;" required />- <p class="help">Becomes the connection's SNI subdomain — 3-63 chars, lowercase letters, numbers and hyphens, starting with a letter.</p>- </div>- <div style="margin: 20px 0;">- <label for="schema_name" style="display: block; margin-bottom: 5px; font-weight: bold;">Schema name:</label>- <input type="text" id="schema_name" name="schema_name" style="width: 400px; padding: 8px;" required />- <p class="help">The team's schema in the warehouse (lowercase letters, numbers and underscores). The schema name cannot be changed later.</p>- </div>- <div style="margin-top: 20px;">- <input type="submit" class="default" value="Provision" style="padding: 10px 20px;" />- <a href="{% url 'admin:managed_warehouse_duckgresserver_changelist' %}" style="margin-left: 10px;">Cancel</a>- </div>-</form>+ <p>+ Provision a new managed warehouse for an organization and its first team. This runs the same+ flow as the in-product provision API: the duckgres control-plane <code>/provision</code> call, then+ the local <code>DuckgresServer</code> connection record and the control-plane team row.+ The organization's <code>data-warehouse-scene</code> feature flag is+ <strong>not</strong> required here.+ </p>+ <p>+ <strong>This makes a real control-plane call.</strong> In environments where+ <code>DUCKGRES_API_URL</code> is unset, it returns "not configured" and persists nothing.+ </p>+ <form method="post">+ {% csrf_token %}+ <div style="margin: 20px 0;">+ <label for="organization_id"+ style="display: block;+ margin-bottom: 5px;+ font-weight: bold">Organization ID (UUID):</label>+ <input type="text"+ id="organization_id"+ name="organization_id"+ style="width: 400px;+ padding: 8px"+ required />+ </div>+ <div style="margin: 20px 0;">+ <label for="team_id"+ style="display: block;+ margin-bottom: 5px;+ font-weight: bold">Team ID (the first/provisioning team in the org):</label>+ <input type="text"+ id="team_id"+ name="team_id"+ style="width: 400px;+ padding: 8px"+ required />+ </div>+ <div style="margin: 20px 0;">+ <label for="database_name"+ style="display: block;+ margin-bottom: 5px;+ font-weight: bold">Database name:</label>+ <input type="text"+ id="database_name"+ name="database_name"+ style="width: 400px;+ padding: 8px"+ required />+ <p class="help">Becomes the connection's SNI subdomain — 3-63 chars, lowercase letters, numbers and hyphens, starting with a letter.</p>+ </div>+ <div style="margin: 20px 0;">+ <label for="schema_name"+ style="display: block;+ margin-bottom: 5px;+ font-weight: bold">Schema name:</label>+ <input type="text"+ id="schema_name"+ name="schema_name"+ style="width: 400px;+ padding: 8px"+ required />+ <p class="help">The team's schema in the warehouse (lowercase letters, numbers and underscores). The schema name cannot be changed later.</p>+ </div>+ <div style="margin-top: 20px;">+ <input type="submit"+ class="default"+ value="Provision"+ style="padding: 10px 20px" />+ <a href="{% url 'admin:managed_warehouse_duckgresserver_changelist' %}"+ style="margin-left: 10px">Cancel</a>+ </div>+ </form>{% endblock %}diff --git a/products/managed_warehouse/backend/templates/admin/managed_warehouse/duckgres_server/provision_result.html b/products/managed_warehouse/backend/templates/admin/managed_warehouse/duckgres_server/provision_result.htmlindex bccb6046c9b1..e8e838704eef 100644--- a/products/managed_warehouse/backend/templates/admin/managed_warehouse/duckgres_server/provision_result.html+++ b/products/managed_warehouse/backend/templates/admin/managed_warehouse/duckgres_server/provision_result.html@@ -1,37 +1,60 @@{% extends "admin/base_site.html" %}{% load i18n %}-{% block content %}-<div style="max-width: 640px;">- <p>Provisioned a managed warehouse for organization <code>{{ organization_id }}</code>- (first team <code>{{ team_id }}</code>).</p>-- <p style="background: #fff3cd; border: 1px solid #ffe69c; border-radius: 4px; padding: 12px 16px; color: #664d03;">- <strong>Save the password now.</strong> The root password is returned by the control plane- only once and is stored encrypted afterwards — it <strong>cannot be retrieved later</strong>.- If you lose it, the warehouse must be re-provisioned or its credentials rotated.- </p>-- <h2>Connection</h2>- <table style="border-collapse: collapse; margin-bottom: 20px;">- <tr><th style="text-align: left; padding: 4px 16px 4px 0;">Host</th><td><code>{{ connection.host }}</code></td></tr>- <tr><th style="text-align: left; padding: 4px 16px 4px 0;">Port</th><td><code>{{ connection.port }}</code></td></tr>- <tr><th style="text-align: left; padding: 4px 16px 4px 0;">Database</th><td><code>{{ connection.database }}</code></td></tr>- <tr><th style="text-align: left; padding: 4px 16px 4px 0;">Username</th><td><code>{{ connection.username }}</code></td></tr>- </table>-- <h2>Password</h2>- {% if password %}- <p>Copy this now:</p>- <input type="text" readonly value="{{ password }}" onclick="this.select()"- style="width: 100%; padding: 8px; font-family: monospace; font-size: 14px;" />- {% else %}- <p><em>The control plane did not return a password in this response. Retrieve the credentials- via the duckgres control plane / 1Password onboarding flow.</em></p>- {% endif %}-- <p style="margin-top: 24px;">- <a href="{% url 'admin:managed_warehouse_duckgresserver_changelist' %}" class="default" style="padding: 8px 16px;">Done</a>- </p>-</div>+ <div style="max-width: 640px;">+ <p>+ Provisioned a managed warehouse for organization <code>{{ organization_id }}</code>+ (first team <code>{{ team_id }}</code>).+ </p>+ <p style="background: #fff3cd;+ border: 1px solid #ffe69c;+ border-radius: 4px;+ padding: 12px 16px;+ color: #664d03">+ <strong>Save the password now.</strong> The root password is returned by the control plane+ only once and is stored encrypted afterwards — it <strong>cannot be retrieved later</strong>.+ If you lose it, the warehouse must be re-provisioned or its credentials rotated.+ </p>+ <h2>Connection</h2>+ <table style="border-collapse: collapse; margin-bottom: 20px;">+ <tr>+ <th style="text-align: left; padding: 4px 16px 4px 0;">Host</th>+ <td><code>{{ connection.host }}</code></td>+ </tr>+ <tr>+ <th style="text-align: left; padding: 4px 16px 4px 0;">Port</th>+ <td><code>{{ connection.port }}</code></td>+ </tr>+ <tr>+ <th style="text-align: left; padding: 4px 16px 4px 0;">Database</th>+ <td><code>{{ connection.database }}</code></td>+ </tr>+ <tr>+ <th style="text-align: left; padding: 4px 16px 4px 0;">Username</th>+ <td><code>{{ connection.username }}</code></td>+ </tr>+ </table>+ <h2>Password</h2>+ {% if password %}+ <p>Copy this now:</p>+ <input type="text"+ readonly+ value="{{ password }}"+ onclick="this.select()"+ style="width: 100%;+ padding: 8px;+ font-family: monospace;+ font-size: 14px" />+ {% else %}+ <p>+ <em>The control plane did not return a password in this response. Retrieve the credentials+ via the duckgres control plane / 1Password onboarding flow.</em>+ </p>+ {% endif %}+ <p style="margin-top: 24px;">+ <a href="{% url 'admin:managed_warehouse_duckgresserver_changelist' %}"+ class="default"+ style="padding: 8px 16px">Done</a>+ </p>+ </div>{% endblock %}diff --git a/products/surveys/backend/api/test/test_external_surveys.py b/products/surveys/backend/api/test/test_external_surveys.pyindex b822ea331465..495991a57fe1 100644--- a/products/surveys/backend/api/test/test_external_surveys.py+++ b/products/surveys/backend/api/test/test_external_surveys.py@@ -33,6 +33,23 @@ class TestExternalSurveys(APIBaseTest):return json.loads(script_match.group(1))+ def get_html_lang(self, content: str) -> str | None:+ html_tag = re.search(r"<html\b[^>]*>", content, re.DOTALL)+ assert html_tag is not None++ lang = re.search(r'\blang="([^"]*)"', html_tag.group(0))+ return lang.group(1) if lang else None++ def get_stylesheet_hrefs(self, content: str) -> list[str]:+ hrefs = []+ for tag in re.findall(r"<link\b[^>]*>", content, re.DOTALL):+ if 'rel="stylesheet"' not in tag:+ continue+ href = re.search(r'\bhref="([^"]*)"', tag)+ if href:+ hrefs.append(href.group(1))+ return hrefs+def create_external_survey(self, **kwargs):"""Helper method to create external surveys for testing"""# Generate unique name to avoid constraint violations@@ -308,7 +325,10 @@ class TestExternalSurveys(APIBaseTest):content = response.content.decode()# Proxy domains route /static/* to the SDK asset CDN, which doesn't serve Django# staticfiles — asset URLs must point at the app origin, not the serving host.- assert f'<link rel="stylesheet" href="{EXTERNAL_SITE_URL}/static/surveys/hosted-survey.css' in content+ assert any(+ href.startswith(f"{EXTERNAL_SITE_URL}/static/surveys/hosted-survey.css")+ for href in self.get_stylesheet_hrefs(content)+ )assert 'href="/static/' not in content# Capture must keep following the request host so events route through the proxyproject_config = self.get_json_script_value(content, "project-config")@@ -332,7 +352,7 @@ class TestExternalSurveys(APIBaseTest):assert response.status_code == 200content = response.content.decode()- assert '<link rel="stylesheet" href="/static/surveys/hosted-survey.css' in content+ assert any(href.startswith("/static/surveys/hosted-survey.css") for href in self.get_stylesheet_hrefs(content))assert "http://localhost:8010" not in content@parameterized.expand(@@ -351,7 +371,7 @@ class TestExternalSurveys(APIBaseTest):assert response.status_code == 200content = response.content.decode()- assert f'<html lang="{expected_display_language}">' in content+ assert self.get_html_lang(content) == expected_display_languageassert self.get_json_script_value(content, "display-language") == expected_display_languageassert "config.override_display_language = displayLanguage" in content@@ -371,7 +391,7 @@ class TestExternalSurveys(APIBaseTest):assert response.status_code == 200content = response.content.decode()- assert '<html lang="en">' in content+ assert self.get_html_lang(content) == "en"assert self.get_json_script_value(content, "display-language") is Nonedef test_display_language_query_param_is_not_added_to_survey_event_properties(self):diff --git a/pyproject.toml b/pyproject.tomlindex e0e3f0285a71..26d0e451c937 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -449,6 +449,17 @@ section-order = ["posthog" = ["posthog"]"products" = ["products"]+[tool.djlint]+profile = "django"+extension = "html"+indent = 4+# Formatting covers every Django template; linting is scoped to the email ones, so these+# exclusions are read against those. H021 inline styles and H023 entity references are how+# HTML email has to be written, since mail clients strip stylesheets and render bare+# characters inconsistently. H016 title and H030 meta description are page rules that mean+# nothing in an email.+ignore = "H021,H023,H016,H030"+[tool.dagster]python_version = "3.13"diff --git a/tools/hogli-commands/hogli_commands/ci_preflight.py b/tools/hogli-commands/hogli_commands/ci_preflight.pyindex a443b976d5dc..3cdeab390a6b 100644--- a/tools/hogli-commands/hogli_commands/ci_preflight.py+++ b/tools/hogli-commands/hogli_commands/ci_preflight.py@@ -147,6 +147,26 @@ DIFF_CHECKS: list[DiffCheck] = [verify=None,advice="a type error costs a full CI re-run — consider `uv run mypy --cache-fine-grained .` (what CI runs)",),+ DiffCheck(+ key="django-template-format",+ label="Django template formatting (djlint)",+ # `*` spans `/`, so these cover the nested template directories too.+ triggers=["posthog/templates/*.html", "products/*/backend/templates/*.html"],+ # Mirrors lint-staged's `format:html`, which agents bypass via --no-verify.+ verify=["hogli", "format:html:check"],+ fix=["hogli", "format:html"],+ takes_files=True,+ ),+ DiffCheck(+ key="django-template-lint",+ label="Django template lint (djlint)",+ # Only the email templates are clean against the rule set, so only they are linted.+ # lint-staged formats templates but does not lint them: a second glob over the same+ # files would let it run the linter against a file the formatter is still rewriting.+ triggers=["posthog/templates/email/*.html"],+ verify=["hogli", "lint:html"],+ takes_files=True,+ ),DiffCheck(key="markdown-format",label="markdown formatting (oxfmt)",