Skip to content

Changes from upstream#142

Merged
Vladless merged 19 commits intofix/admin-actionsfrom
main
Feb 1, 2025
Merged

Changes from upstream#142
Vladless merged 19 commits intofix/admin-actionsfrom
main

Conversation

@hteppl
Copy link
Collaborator

@hteppl hteppl commented Jan 31, 2025

No description provided.

Zakhar Izmaylov and others added 19 commits January 31, 2025 00:14
- Deleted handlers/user.py file
- Removed user_router from main handlers router
- Eliminated user blocking/unblocking event handlers
- Modify get_keys function to return all columns in keys table
- Update admin user editor to handle full key record instead of just email
- Cast tg_id to integer in user record processing
- Adjust key display and callback data generation to use full key record
- Minor formatting adjustment in router configuration
- Ensure consistent code style with trailing comma
- Replace types.Message and types.CallbackQuery with explicit Message and CallbackQuery imports
- Improve type annotations in multiple handler files
- Ensure consistent type hinting across admin and handler modules
- Reorder imports in multiple handler files to follow a consistent pattern
- Move type-specific imports like Message and CallbackQuery to be more organized
- Ensure clean and uniform import statements across admin and handler modules
- Update `change_expiry_time` to pass session to `update_key_expiry`
- Adjust `complete_key_renewal` connection closing order
- Minor code structure improvements in key handling functions
- Add session parameter to server name input handler
- Modify server name uniqueness check to use session and cluster name
- Improve data retrieval and validation in server creation flow
- Reorder SELECT columns in database query for get_key_details
- Add server_id to the returned key details dictionary
- Ensure consistent and complete key information retrieval
Update get_key_details query and return value
- Add fallback mechanism to display start menu after error occurs
- Attempt to show start command or start callback query in error handler
- Log any additional errors during start menu display
Enhance error handling with start menu fallback
@Vladless Vladless merged commit e86fd38 into fix/admin-actions Feb 1, 2025
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants