- POST /servers/<id>/console runs a command via rcon.execute_command and persists every outcome (success / empty / error) to command_history. - GET /servers/<id>/console/history returns paginated newest-first JSON for client-side up-arrow recall. - server_detail() now passes the last 50 history rows as console_history for server-side replay on page load. - 404 on ownership mismatch — no admin override. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| auth_routes.py | ||
| blueprint_routes.py | ||
| console_routes.py | ||
| files_routes.py | ||
| job_routes.py | ||
| log_routes.py | ||
| overlay_routes.py | ||
| page_routes.py | ||
| profile_routes.py | ||
| server_routes.py | ||
| workshop_routes.py | ||