Merged
Conversation
- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.