naeel
|
58b823a260
|
v1.2.19: fixes from Codex audit — XSS in params, JS injection in onclick, scenario polling timeout, has_target validation, tracker atomic update
|
2026-07-31 17:58:57 +04:00 |
|
naeel
|
c50aaf59d8
|
Подробные комментарии ко всем JS-файлам фронтенда
|
2026-07-31 17:25:44 +04:00 |
|
naeel
|
beaff3f1cf
|
v1.2.12: scenario list — clean header row + action buttons in expanded view
- Header: name | step count | seed badge (no CRUD buttons)
- Expanded view: ▶ Запустить ✏ Редактировать 📋 Копировать 🗑 Удалить
(same size, aligned, with labels)
- Delete hidden for seed scenarios
|
2026-07-31 14:02:50 +04:00 |
|
naeel
|
bfa21accf5
|
v1.2.11: scenario list — expandable steps + run confirmation
- Click on scenario name → expands to show step details:
operation → service_id (output/ref/uid) (params)
- ▶ Запустить button inside expanded view
- confirm('Запустить сценарий?') before running
- CRUD buttons (✏📋🗑) with event.stopPropagation()
- toggleScenarioSteps(defId): single-expand (closes others)
|
2026-07-31 13:55:11 +04:00 |
|
naeel
|
cc60f9401a
|
v1.2.6: instance dropdown: outputs only + cloud button + RUNNING highlight
scenario-form.js:
- renderStepRow: non-create dropdown shows only 🆕 outputs by default
- «📥 Из облака» button toggles cloud autotest-* instances in same select
- toggleCloudInstances(idx): snapshot, flip _showCloud flag, re-render
- Button label: 📥 Из облака ↔ ➖ Скрыть облако
scenario-list.js:
- RUNNING status: yellow background #fef3c7 on both loadScenarios() and runScenario() polling
|
2026-07-31 12:29:43 +04:00 |
|
naeel
|
622a7c7023
|
v1.2.3: instance_ref shows cloud instances + bigger CRUD buttons
scenario-form.js:
- showScenarioEditor loads /api/instances/list alongside services
- renderStepRow: non-create instance_ref dropdown shows:
🆕 outputs from previous create steps
☁ existing cloud instances filtered by service_id
- Removed separate instance_uid text field (now in dropdown)
scenario-list.js:
- CRUD buttons: ✏📋🗑 bigger (13px, padding), vertical layout
- Run button: full-width, left-aligned
|
2026-07-31 11:40:29 +04:00 |
|
naeel
|
a96658b9b5
|
v1.1.55: split large files + CRUD scenario editor
Backend (5→7 files):
- api_test.py: 622→479, terraform functions → operations/terraform.py (142)
- api_scenario.py: 241→split into run (153) + defs (108) with _validate_steps()
- db/scenario_defs.py: +client_id, stand, is_seed in list_definitions
Frontend (1→10 files):
- app.js: 554→16 (loader), split into:
utils.js (45), instances.js (89), operations.js (249),
history.js (35), scenario-list.js (90)
- New CRUD: scenario-form.js (128), create (25), edit (12), delete (13)
Max file size: JS 249, PY 479
|
2026-07-30 22:02:22 +04:00 |
|