- Added new API endpoints for admin features: `GET /api/admin/me`, `GET /api/admin/users`, and `PATCH /api/admin/duties/:id` to manage user duties. - Introduced `UserForAdmin` and `AdminDutyReassignBody` schemas for handling admin-related data. - Updated documentation to include Mini App design guidelines and admin panel functionalities. - Enhanced tests for admin API to ensure proper access control and functionality. - Improved error handling and localization for admin actions.
1.0 KiB
1.0 KiB
Duty Teller
Telegram bot for team duty shift calendar and group reminder. The bot and web UI support Russian and English.
Documentation
- Configuration — Environment variables (types, defaults, examples).
- Architecture — Components, data flow, package relationships.
- Mini App design — Design guideline for the Telegram Mini App (webapp-next): theme, layout, components, accessibility.
- Import format — Duty-schedule JSON format and example.
- Runbook — Running the app, logs, common errors, DB and migrations.
- API Reference — Generated from code (api, db, services, handlers, importers, config).
For quick start, setup, and API overview see the main README.
For maintainers and AI: Project documentation and docstrings must be in English; see CONTRIBUTING.md. AGENTS.md in the repo root provides entry points, conventions, and where to change what.