peppa/packages/core/src
Асель 414e4500e4 PEP-68: local users without Gitea — password login, superadmin management
- users.password_hash/password_set_at/disabled_at (migration 0002_local_users)
- core/local-users.ts: scrypt, passwordLogin with attempt limits, create/reset/disable
- isSuperadmin(db, user) = platform.admins; isUserAllowed honours disabled_at
- web: /auth/password + login form, /users for superadmins, Settings → password
- Gitea login with a local user's login is refused (giteaLoginRefusal)
- local users: projects in peppa-bot namespace, members without Gitea collaboration
- CLI: peppa user add|passwd|disable|enable; tests in testkit

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 03:20:21 +05:00
..
access.ts PEP-68: local users without Gitea — password login, superadmin management 2026-11-14 03:20:21 +05:00
backup.ts PEP-18: separate Peppa prod — release dir, PM button, DB backup, auto-rollback 2026-11-13 17:58:34 +05:00
ci.ts PEP-57: gate — Gitea client only for tasks with a PR 2026-11-13 14:37:10 +05:00
crypto.ts PEP-57: CI for factory projects — act_runner, template workflow, connect CI 2026-11-13 14:19:11 +05:00
egov.ts PEP-65: eGov QR login through the KazEDS relay (sign.aitu.uz) 2026-11-14 01:14:10 +05:00
errors.ts Add Peppa MCP server, core domain package and peppa CLI 2026-11-12 19:18:35 +05:00
gitea.ts PEP-36 stage 1: run Peppa with Node 26 type stripping instead of tsx 2026-11-13 16:51:22 +05:00
incidents.ts PEP-36 stage 2: SQLite (node:sqlite, WAL) instead of Postgres 2026-11-13 17:23:24 +05:00
index.ts PEP-68: local users without Gitea — password login, superadmin management 2026-11-14 03:20:21 +05:00
local-users.ts PEP-68: local users without Gitea — password login, superadmin management 2026-11-14 03:20:21 +05:00
monitor.ts PEP-68: local users without Gitea — password login, superadmin management 2026-11-14 03:20:21 +05:00
notify.ts PEP-36 stage 2: SQLite (node:sqlite, WAL) instead of Postgres 2026-11-13 17:23:24 +05:00
oauth.ts PEP-36 stage 1: run Peppa with Node 26 type stripping instead of tsx 2026-11-13 16:51:22 +05:00
project-file.ts Add Peppa MCP server, core domain package and peppa CLI 2026-11-12 19:18:35 +05:00
projects.ts PEP-14: full PM toolkit over MCP and a Help page 2026-11-12 22:24:05 +05:00
repo-info.ts PEP-15: where the project's repo is in Gitea — link, visibility, namespace 2026-11-13 14:12:07 +05:00
rules.ts PEP-1: web platform with Gitea login, projects, goals, tasks, sessions 2026-11-12 20:55:02 +05:00
sessions.ts PEP-36 stage 1: run Peppa with Node 26 type stripping instead of tsx 2026-11-13 16:51:22 +05:00
settings.ts Add Telegram bot: pairing, durable outbox, answers from buttons and replies 2026-11-12 20:26:58 +05:00
tasks.ts PEP-36 stage 2: SQLite (node:sqlite, WAL) instead of Postgres 2026-11-13 17:23:24 +05:00
telegram.ts PEP-36 stage 2: SQLite (node:sqlite, WAL) instead of Postgres 2026-11-13 17:23:24 +05:00
users.ts PEP-2: Telegram per user — pairing from Settings, delivery by project access 2026-11-13 03:44:30 +05:00