Commit Graph
108 Commits
Author SHA1 Message Date
ars9 6f23c0f736 chore(docker): add Dockerfile, docker-compose.yaml, and .dockerignore 2026-04-07 13:06:33 +03:00
ars9 de48a912d4 feat(environment): add environment CRUD module and wire into auth login 2026-04-07 13:00:54 +03:00
ars9 49dd1aa14c feat(sessions): add GET /sessions and DELETE /sessions/:id endpoints 2026-04-07 12:44:08 +03:00
ars9 238ce0289c feat(auth): add GET /keys to list available key identifiers 2026-04-07 12:40:03 +03:00
ars9 9898fb6472 feat(browser): add POST /exec for custom Playwright code execution
- accepts sessionName, optional url, and arbitrary JS code string
- restores cookies and localStorage from session before execution
- exposes page and context to user code as async function arguments
- session not found now returns 404 instead of 400
2026-04-07 12:36:27 +03:00
ars9 9e5a813e9d feat(browser): add POST /open with session restore and reader mode
- restores cookies and localStorage from DB before page navigation
- readerMode flag extracts plain text via @mozilla/readability (Firefox reader engine)
- add localStorage default '{}' on session entity for clean schema migrations
2026-04-07 12:27:34 +03:00
ars9 41dbddd2a1 feat(auth): add POST /login with Playwright automation and SQLite session storage
- automates file-key login on the ID portal using Playwright/Chromium
- captures token, cookies, and localStorage after successful redirect
- stores session data in SQLite via TypeORM (better-sqlite3)
- sessions are keyed by sessionName (auto-generated UUID if not provided)
- login URL, cabinet redirect URL, keys dir, and DB path are all configurable via env
2026-04-07 12:07:13 +03:00
ars9 70f016d113 Initial commit 2026-04-07 11:36:33 +03:00