feature/verification #12

Merged
geekiot merged 9 commits from feature/verification into develop 2025-11-07 17:37:11 +05:00
Owner
https://github.com/orgs/dibuildo/projects/2/views/1?pane=issue&itemId=135552172
geekiot added 9 commits 2025-11-07 17:37:02 +05:00
# Conflicts:
#	src/bot/services/__init__.py
#	src/bot/utils/filters/chat_type.py
#	src/bot/utils/states/verification.py
#	src/database/__init__.py
#	src/database/models.py
- **FSM States:** Added `VerificationStates` to manage the dialog flow.
- **Services:** Implemented `get_or_create_user` and `verify_student` to encapsulate business logic.
- **Middleware Chain:** Refactored the middleware to a clean, sequential chain (`Database`, `TelegramUser`, `Registration`) where each has a single responsibility.
- **Verification Status:** Introduced a `VerificationStatus` enum for clear and type-safe results from the verification service.
- **FSM States:** Added `VerificationStates` to manage the dialog flow.
- **Services:** Implemented `get_or_create_user` and `verify_student` to encapsulate business logic.
- **Middleware Chain:** Refactored the middleware to a clean, sequential chain (`Database`, `TelegramUser`, `Registration`) where each has a single responsibility.
- **Verification Status:** Introduced a `VerificationStatus` enum for clear and type-safe results from the verification service.
This reverts commit 5070cf8191.
geekiot merged commit a511f7df3f into develop 2025-11-07 17:37:11 +05:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: geekiot/urfu-daddy#12
No description provided.