Open Issues Need Help
View All on GitHubAI Summary: This task requires creating and testing a new `/admin/me` endpoint in a Python backend API (likely using a framework like FastAPI or Flask). The endpoint should securely return the authenticated admin user's data (ID, email, super admin status), excluding sensitive information like passwords. This involves updating endpoint behavior, ensuring secure access (authentication), defining a response schema, writing unit tests for various scenarios (authenticated/unauthenticated access, data structure), and verifying the CI/CD pipeline.
AI Summary: Create a new Telegram bot admin filter in Python, checking user IDs against a predefined list in settings. Then, create a handler to respond with an appropriate message indicating admin status.
AI Summary: Add a new 'notification_bot' service to the existing docker-compose file for the Margin app, using a provided Dockerfile. This involves configuring the new service within the `docker-compose.margin.yml` file and then building and running the updated compose stack. A screenshot verifying successful completion is required.
AI Summary: The task involves reviewing and updating the password reset logic in a Python application's admin API. This includes simplifying the input schema to only accept a new password, verifying the reset token, retrieving the user's email, updating their password with proper hashing, and writing or updating associated unit tests. Finally, the updated functionality must be confirmed to work correctly.
AI Summary: Duplicate the `docker-compose.margin.back.yml` file to create `docker-compose.margin.yml` within the `devops` directory, then remove the `frontend` service definition from the newly created file.
AI Summary: Implement a `get_current_price` method within a new `contract_tools` package for the margin app, mirroring functionality from the `spotnet` project but with improvements. This involves creating a base API connector class, writing the method itself in `contract_tools/mixins/admin.py`, and creating comprehensive tests. The solution should integrate seamlessly with existing workflows.
AI Summary: Implement CRUD operations for asset statistics, create an admin API endpoint `/admin/statistic/assets` to expose this data, write comprehensive tests, and ensure CI/CD pipeline success.
AI Summary: This task involves setting up a Telegram bot for the Margin app. This includes creating a package structure, adding dependencies, configuring bot settings using pydantic, implementing a basic `/start` command handler, creating a Dockerfile for the bot, and writing a main script to run the bot. The bot will use the aiogram library.
AI Summary: Debug and fix failing tests within the `test_google_auth.py` file of a Google authentication API for a margin trading application. This involves reviewing existing tests, identifying the root causes of failures, implementing fixes, and verifying the functionality of the related API endpoints.
AI Summary: Debug and fix failing tests in the `test_auth_admin_user_middleware.py` file within the Margin app, ensuring all tests pass and related endpoints function correctly. This involves reviewing existing tests, identifying the root causes of failures, implementing necessary corrections, and verifying functionality.
AI Summary: Debug and fix failing tests in the `test_user_auth_api` file within the Margin app's test suite. This involves reviewing existing tests, identifying the root causes of failures, implementing necessary corrections, and verifying that all tests pass successfully, ensuring the corresponding user authentication API endpoints function correctly.
AI Summary: Implement CRUD operations for account statistics, create an admin API endpoint (`/admin/statistic/account`) to expose this data, write comprehensive tests, and ensure CI/CD pipeline success.