mirror of
https://github.com/BetterCorp/BetterFrame.git
synced 2026-05-26 21:26:33 +00:00
Smart URL actions: multi-step browser automation for web cells behind login pages. Steps: navigate, fill (form fields), click, wait, wait_for (element selector), javascript (raw eval). Passwords in fill steps encrypted with per-kiosk key for transport. Schema: server/src/schemas/wire/smart-url.ts defines step types. Stored in layout_cells.options.smart_url (no migration needed). Bundle: includes smart_url config per cell. Fill step values encrypted at bundle generation time with per-kiosk key (or cluster key fallback). Kiosk: execute_smart_url_steps() builds an async JS sequence from the steps and injects via WebKit evaluate_javascript on LoadEvent::Finished. Supports session expiry detection via login_detect_url. Admin UI: step builder TODO (currently configure via cell options JSON). Data model + kiosk execution + bundle transport are complete. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.lock | ||
| Cargo.toml | ||
| prototype.sh | ||