docs: session close 2026-10-22 — Docker, metrics, auth-log, Task 6 (VTODO-create). feat: webui/radicale.py create/toggle_task, CalDAV REPORT, api endpoints. fix: login cookie (HTMX, method=post, stale cleanup). fix: SQLite WAL read-only mount.

This commit is contained in:
2026-10-23 18:49:13 +00:00
parent b34993402f
commit d52cb89098
47 changed files with 3992 additions and 5 deletions
+51
View File
@@ -0,0 +1,51 @@
{% extends "base.html" %}
{% block title %}Email Assistant — Поиск{% endblock %}
{% block content %}
<div class="hd">
<div>
<h1>🔍 Поиск по архиву</h1>
<div class="sub">Полнотекстовый поиск в mail_index.db (FTS5)</div>
</div>
</div>
<div class="page">
<div class="searchbox">
<form method="get" action="/search" id="search-form">
<div class="qrow">
<div class="bigq">
<span class="si">🔍</span>
<input type="text" name="q" placeholder="Поиск: текст, отправитель, тема…" value="{{ q }}">
</div>
<button class="go" type="submit">Найти</button>
</div>
<div class="filters">
<label class="flt">Папка
<select name="folder">
<option value="">—</option>
{% for f in folders or [] %}
<option value="{{ f.path }}" {{ 'selected' if folder == f.path }}>{{ f.path }}</option>
{% endfor %}
</select>
</label>
<label class="flt">Тэг
<select name="tag">
<option value="">—</option>
{% for t in ['urgent','task','meeting','info'] %}
<option value="{{ t }}" {{ 'selected' if tag == t }}>{{ t }}</option>
{% endfor %}
</select>
</label>
<span class="flt">От <input type="date" name="df" value="{{ df }}"></span>
<span class="flt">по <input type="date" name="dt" value="{{ dt }}"></span>
<label class="flt"><input type="checkbox" name="att" value="1" {{ 'checked' if att }}> 📎 с вложениями</label>
<label class="flt"><input type="checkbox" name="body" value="1" {{ 'checked' if body }}> искать в теле</label>
</div>
<div class="hint">Подсказка: «Эвотор» — по всем полям · «from:Полякович» — отправитель · «2026-10» — месяц</div>
</form>
</div>
<div id="search-results">
{% include "partials/search_results.html" %}
</div>
</div>
{% endblock %}