aeae8981c7
Refactor [callback_data]: add docs for the new callback features
2025-11-11 16:06:33 +05:00
dbdfb5979e
Fix [callback_data]: fix callback data enums
2025-11-10 20:06:21 +05:00
85b62c722e
Add [callback_data]: add integration callback_data classes for handlers
2025-11-10 19:46:47 +05:00
6c816cc460
Add [callback_data]: add callback_data classes
2025-11-10 19:45:48 +05:00
203bf36fda
Format: add & refactor all __all__ in python modules
2025-11-09 12:22:49 +05:00
7dc0861ab0
Merge pull request 'feature/localization' ( #13 ) from feature/localization into develop
...
Reviewed-on: #13
2025-11-09 12:09:04 +05:00
a62e7d20b2
Add [localization]: add autogenerated locale keyboard
2025-11-09 12:03:00 +05:00
30715bbafb
Update [localization]: update locales & add new ru phrases
2025-11-08 18:58:33 +05:00
77d65b9d73
Add [localization]: add menu to choose language
2025-11-08 18:58:33 +05:00
94ef0845f7
Add [localization]: add ru locale
2025-11-08 18:58:33 +05:00
b63f60ea41
Add [localization]: add localization to the bot messages
2025-11-08 18:58:33 +05:00
8320ab805e
Add [localization]: connect i18n middleware to the bot
2025-11-08 18:58:33 +05:00
6b980d8017
Add [localization]: add i18n middleware
2025-11-08 18:58:33 +05:00
7491c7df5d
Fix [verification]: rename verify function
2025-11-08 16:01:04 +05:00
680e19b3e7
Fix [verification]: fix verification status & refactor code
2025-11-08 15:38:12 +05:00
a511f7df3f
Merge pull request 'feature/verification' ( #12 ) from feature/verification into develop
...
Reviewed-on: #12
2025-11-07 17:37:10 +05:00
74af231e3b
Add [verification]: add full verification dialog system
2025-11-07 17:35:02 +05:00
0fb8c2ba6a
Add [verification]: add dialog without checking verification
2025-11-07 15:45:15 +05:00
00d87119d2
Fix [verification]: fix type & session errors
2025-11-07 15:44:08 +05:00
7f2d57b1d1
Fix [refactor]: fix bugs & refactor code
2025-11-07 13:53:51 +05:00
Vladimir
8a3b99a4f1
Revert "feat(verification): add infrastructure for user verification"
...
This reverts commit 5070cf8191 .
2025-11-07 12:01:01 +05:00
Vladimir
5070cf8191
feat(verification): add infrastructure for user verification
...
- **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.
2025-11-04 19:26:33 +05:00
Vladimir
305c31d4b0
feat(verification): add infrastructure for user verification
...
- **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.
2025-11-04 19:26:22 +05:00
Vladimir
1023547cfc
Merge remote-tracking branch 'origin/develop' into feature/verification
...
# 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
2025-11-04 16:30:44 +05:00
27b423e091
Hotfix: fix pyrefly incorrect errors
2025-11-04 16:04:10 +05:00
ede1124d8a
Add [trigger]: add triggers for router registry class
2025-11-04 15:59:56 +05:00
b1d0284cfa
Merge pull request 'feature/handlers' ( #11 ) from feature/handlers into develop
...
Reviewed-on: #11
2025-11-04 14:20:18 +05:00
91856f791d
Add [(un)verified]: add handlers for verified/unverified users
2025-11-04 14:17:44 +05:00
b14caeef84
Add [(un)verified]: add verification status filter
2025-11-04 14:16:57 +05:00
d861451e25
Add [logging]: add logging for the program args & config settings
2025-11-04 13:06:54 +05:00
78fa3d5d34
Add [docs]: provide docs for new funcs, add additional comments & tags info
2025-11-04 12:52:51 +05:00
806df6aab0
Update CONTIBUTE.md
2025-11-03 15:21:25 +05:00
22e87e8110
Update the daddy docker configurations
2025-11-03 15:18:57 +05:00
9a21373281
add [bot image]: add the bot docker image
2025-11-03 03:27:53 +05:00
5e84cdfebf
Add: add the docker deploy script
2025-11-03 02:35:53 +05:00
47e993ae2a
Fix: fix bot image requires .env file
2025-11-03 02:29:42 +05:00
b4ee51ee68
Update [ignores]: update all ignore files
2025-11-03 02:21:08 +05:00
a90c8652a0
Change: [flags]: add database flag for the project
2025-11-03 02:04:29 +05:00
1c5edbaa60
Change [scripts]: The logic of the scripts is completely separated from the main code
2025-11-03 02:00:53 +05:00
0ded0fa64e
Update [docker]: move the locales compile process to the Dockerfile
2025-11-01 17:08:25 +05:00
83e91c58c4
Add [docker]: add logs volume & update commands
2025-11-01 16:03:32 +05:00
8e35f456f9
Merge pull request 'Add [database]: add telegram user middleware' ( #10 ) from feature/database into develop
...
Reviewed-on: #10
2025-11-01 16:02:43 +05:00
11a48cd629
Add [database]: add telegram user middleware
2025-11-01 16:00:35 +05:00
af1322d9ba
Merge pull request 'feature/database' ( #9 ) from feature/database into develop
...
Reviewed-on: #9
2025-11-01 15:22:49 +05:00
37b8eb29a4
Hoxfix: fix all bugs with imports
2025-11-01 15:10:05 +05:00
99e0966a0c
Hotfix: change module path
2025-11-01 15:04:24 +05:00
3ae9b3cd72
Update [db]: finally update bot struct
2025-11-01 15:01:36 +05:00
05486d6f4b
Add [redis]: move redis to database package
2025-11-01 14:48:35 +05:00
563668dabe
Add [db middleware]: add db dispatcher middleware & update code struct
2025-11-01 14:43:29 +05:00
Vladimir
475d6ee699
feat(verification): add filters, states and services for user verification
2025-10-31 21:06:19 +05:00