- 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.
17 lines
1.0 KiB
Markdown
17 lines
1.0 KiB
Markdown
# Duty Teller
|
|
|
|
Telegram bot for team duty shift calendar and group reminder. The bot and web UI support **Russian and English**.
|
|
|
|
## Documentation
|
|
|
|
- [Configuration](configuration.md) — Environment variables (types, defaults, examples).
|
|
- [Architecture](architecture.md) — Components, data flow, package relationships.
|
|
- [Mini App design](miniapp-design.md) — Design guideline for the Telegram Mini App (webapp-next): theme, layout, components, accessibility.
|
|
- [Import format](import-format.md) — Duty-schedule JSON format and example.
|
|
- [Runbook](runbook.md) — Running the app, logs, common errors, DB and migrations.
|
|
- [API Reference](api-reference.md) — Generated from code (api, db, services, handlers, importers, config).
|
|
|
|
For quick start, setup, and API overview see the main [README](../README.md).
|
|
|
|
**For maintainers and AI:** Project documentation and docstrings must be in English; see [CONTRIBUTING.md](../CONTRIBUTING.md#documentation). [AGENTS.md](../AGENTS.md) in the repo root provides entry points, conventions, and where to change what.
|