Add web auth, infinite-scroll, agent admission and review fixes across agent/server/web
This commit is contained in:
@@ -36,11 +36,17 @@ Do not install Node packages globally. Project dependencies live in `web/node_mo
|
||||
| `MONLET_API_BASE_URL` | `http://127.0.0.1:8000` | Server base URL (server-side fetch) |
|
||||
| `MONLET_API_TOKEN` | _(none)_ | Bearer token sent to server |
|
||||
| `MONLET_WEB_TIME_ZONE` | `UTC` | IANA timezone used to render timestamps |
|
||||
| `MONLET_WEB_AUTH_USERNAME` | _(none)_ | Optional Basic Auth username for the web UI |
|
||||
| `MONLET_WEB_AUTH_PASSWORD` | _(none)_ | Optional Basic Auth password for the web UI |
|
||||
| `MONLET_WEB_AUTH_USERNAME` | _(none)_ | Optional local web login username |
|
||||
| `MONLET_WEB_AUTH_PASSWORD` | _(none)_ | Optional local web login password |
|
||||
| `MONLET_WEB_SESSION_SECRET` | _(none)_ | Secret used to sign the web session cookie; required with local web login; at least 32 bytes |
|
||||
| `MONLET_WEB_SESSION_TTL_SEC` | `604800` | Local web session lifetime |
|
||||
| `MONLET_WEB_TRUST_PROXY_AUTH` | `false` | Trust `X-Forwarded-User` from an upstream auth proxy |
|
||||
|
||||
The API token never reaches the browser — all server calls happen in Server Components / route handlers. Agent admission actions are blocked unless Basic Auth is configured or trusted proxy auth is enabled.
|
||||
The API token never reaches the browser — all server calls happen in Server Components / route handlers. Agent admission actions are blocked unless local web login is configured or trusted proxy auth is enabled.
|
||||
|
||||
Production deployments should rate-limit `/login` at the reverse proxy. The app applies constant-time credential checks and a small fixed delay on failed login attempts, but it is not a full auth gateway.
|
||||
|
||||
The timezone switcher stores the selected mode in browser cookies, so each operator keeps their own default/browser/UTC preference.
|
||||
|
||||
## Pages
|
||||
|
||||
|
||||
Reference in New Issue
Block a user