Initial scaffold: Flask webui + APScheduler + Playwright automation for MassPrice rule scheduling
Some checks failed
Deploy / deploy (push) Failing after 51s
Some checks failed
Deploy / deploy (push) Failing after 51s
Drives massprice.tcgplayer.com's Run Rule action per-rule on a user-configured schedule (multiple times/day, day-of-week toggles), replacing MassPrice's native scheduler (capped at 15 schedules account-wide, one run/day, with observed clock drift). Deployed via Forgejo push-to-deploy on Unraid, matching arr-summary/card-grader. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01H6TgffxTvYhqxykAbVQg2v
This commit is contained in:
commit
2fdb9be9b9
19 changed files with 1197 additions and 0 deletions
24
templates/activity.html
Normal file
24
templates/activity.html
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{% extends "_shell.html" %}
|
||||
{% block title %}Activity · MassPrice Scheduler{% endblock %}
|
||||
{% block content %}
|
||||
<h1>Activity</h1>
|
||||
{% if not history %}
|
||||
<p class="empty-state">No runs recorded yet.</p>
|
||||
{% else %}
|
||||
<table class="activity-table">
|
||||
<thead>
|
||||
<tr><th>Time</th><th>Rule</th><th>Status</th><th>Message</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for entry in history %}
|
||||
<tr class="status-row-{{ entry.status }}">
|
||||
<td>{{ entry.timestamp }}</td>
|
||||
<td>{{ entry.rule_name or entry.rule_id }}</td>
|
||||
<td><span class="status-dot status-{{ entry.status }}"></span>{{ entry.status }}</td>
|
||||
<td class="muted">{{ entry.message }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue