Sync project structure and apply feature updates

- Move files from remote_copy/ to root (proper project structure)
- Add Docker setup: Dockerfile, docker-compose.yml with volume mounts
- Auto-reply: fix skip logic (only text field, not pros/cons)
- Auto-reply: fix _paginate to handle cooldown gracefully mid-pagination
- Auto-reply: fix fetch timestamp not saved on API error (infinite retry loop)
- Auto-reply: reduce EMPTY_REMAINING_FALLBACK from 600s to 150s default
- UI: add auto-reply queue display with article number (nm_id)
- UI: replace button with CSS tumbler toggle for auto-reply
- UI: add review_created_at and review_id columns to journal
- UI: add skipped/sent/error status colors to journal

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-15 17:46:35 +03:00
parent 79768a4fac
commit 53f1bb2e71
21 changed files with 7037 additions and 783 deletions
+39
View File
@@ -0,0 +1,39 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Вход — WB Feedback</title>
<link rel="stylesheet" href="{{ url_for('static', filename='styles.css') }}" />
</head>
<body>
<div class="auth-shell">
<section class="auth-card">
<div class="auth-kicker">
<span class="auth-kicker-logo">WB</span>
<span class="auth-kicker-text">Wildberries Feedback</span>
</div>
<h1>Добро пожаловать</h1>
<p class="auth-subtitle">Управляйте отзывами, ответами и автоответом в одном кабинете.</p>
{% if error_message %}
<div class="alert alert-error">{{ error_message }}</div>
{% endif %}
<form method="post" class="auth-form">
<label>
Логин
<input type="text" name="username" placeholder="Введите логин" required autofocus />
</label>
<label>
Пароль
<input type="password" name="password" placeholder="••••••••" required />
</label>
<button type="submit">Войти</button>
</form>
<p class="auth-footer">Нет аккаунта? <a href="{{ url_for('register') }}">Запросить доступ</a></p>
</section>
</div>
</body>
</html>